|
|
!(function(){var rd=Object.defineProperty,ad=Object.defineProperties;var id=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols;var qc=Object.prototype.hasOwnProperty,Jc=Object.prototype.propertyIsEnumerable;var ed=Math.pow,Qc=(Ce,ae,y)=>ae in Ce?rd(Ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:y}):Ce[ae]=y,qa=(Ce,ae)=>{for(var y in ae||(ae={}))qc.call(ae,y)&&Qc(Ce,y,ae[y]);if(lc)for(var y of lc(ae))Jc.call(ae,y)&&Qc(Ce,y,ae[y]);return Ce},Ol=(Ce,ae)=>ad(Ce,id(ae));var td=(Ce,ae)=>{var y={};for(var b in Ce)qc.call(Ce,b)&&ae.indexOf(b)<0&&(y[b]=Ce[b]);if(Ce!=null&&lc)for(var b of lc(Ce))ae.indexOf(b)<0&&Jc.call(Ce,b)&&(y[b]=Ce[b]);return y};var Uc=(Ce,ae,y)=>new Promise((b,me)=>{var le=fe=>{try{be(y.next(fe))}catch(we){me(we)}},pe=fe=>{try{be(y.throw(fe))}catch(we){me(we)}},be=fe=>fe.done?b(fe.value):Promise.resolve(fe.value).then(le,pe);be((y=y.apply(Ce,ae)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[8821],{40001:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},26227:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},41464:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},73331:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},15277:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},52671:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},8657:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},56082:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},33853:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},15075:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},43531:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},61485:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},47472:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},87395:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},32050:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Ce,ae){"use strict";ae.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84915: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 Ce={},ae="5.0",y={},b=null,me=!1,le=!1,pe=null,be=!1,fe=null,we=null,Oe=0;Oe<arguments.length;Oe++){var Re=arguments[Oe];if(Re!==null)switch(typeof Re){case"number":ae=Re.toFixed(1);break;case"string":Re.match(new RegExp("^[0-9]\\.[0-9]+$"))?ae=Re:pe=Re;break;case"object":typeof Re.is3D!="undefined"?b=Re:y=Re;break;case"boolean":me=Re,le=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},y.material_id!==void 0&&!le&&(me=!0)),pe!==null&&y.id===void 0&&(y.id=pe);var xe="",Ge="",Fe=!1,At=null,at=null,tt=null,Je=!1,We=null,Ve=null,Ze=null,Qe=null,ze=null;y.height!==void 0&&(y.height=Math.round(y.height)),y.width!==void 0&&(y.width=Math.round(y.width));var _e=function(st){return parseFloat(st)>4?parseFloat(st):5};Ce.setHTML5Codebase=function(st,Ut){we=st,Se(st,Ut)},Ce.setJavaCodebase=Ce.setJavaCodebaseVersion=Ce.isCompiledInstalled=Ce.setPreCompiledScriptPath=Ce.setPreCompiledResourcePath=function(){},Ce.setHTML5CodebaseVersion=function(st,Ut){var Gt=parseFloat(st);if(Gt!==NaN&&Gt<5){console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead.");return}fe=st,Ye(st,Ut)},Ce.getHTML5CodebaseVersion=function(){return at},Ce.getParameters=function(){return y},Ce.setFontsCSSURL=function(st){Qe=st},Ce.setGiacJSURL=function(st){},Ce.setJNLPFile=function(st){xe=st},Ce.setJNLPBaseDir=function(st){},Ce.inject=function(){function st(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ut="auto",Gt=y.id,On,ft=!1,En=0;En<arguments.length;En++){var Ht=arguments[En];typeof Ht=="string"?(Ht=Ht.toLowerCase(),Ht.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ut=Ht:Gt=arguments[En]):typeof Ht=="boolean"?ft=Ht:Ht instanceof HTMLElement&&(On=Ht)}gn();function gn(){if(!be){setTimeout(gn,200);return}Ut=Tn(Ut);var un=On||document.getElementById(Gt);if(!un){console.log("possibly bug on ajax loading? ");return}if(Ce.removeExistingApplet(un,!1),y.width===void 0&&un.clientWidth&&(y.width=un.clientWidth),y.height===void 0&&un.clientHeight&&(y.height=un.clientHeight),!(y.width&&y.height)&&Ut==="html5"&&(delete y.width,delete y.height),At=Ut,Ut==="screenshot")St(un,y);else{var De=!1;y.hasOwnProperty("playButton")&&y.playButton||y.hasOwnProperty("clickToLoad")&&y.clickToLoad?De=!0:y.hasOwnProperty("playButtonAutoDecide")&&y.playButtonAutoDecide&&(De=(!$e()||st())&&nt()),De?(At="screenshot",Jt(un,y,ft,Ut)):It(un,y,ft)}}};function $e(){try{return window.self!==window.top}catch(st){return!0}}function nt(){return y.hasOwnProperty("screenshotGenerator")&&y.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ce.getViews=function(){return b},Ce.isJavaInstalled=function(){return!1};var bt=function(st){var Ut=function(En){var Ht=JSON.parse(En),gn=function(he){return he.type=="G"||he.type=="E"},un=Ht.elements?Ht.elements.filter(gn)[0]:Ht;if(!un||!un.url){Gt();return}y.fileName=un.url,it(un.settings||{}),b.is3D=!0;var De="https://www.geogebra.org/images/";Ce.setPreviewImage(We||un.previewUrl,De+"GeoGebra_loading.png",De+"applet_play.png"),st()},Gt=function(){y.onError&&y.onError(),Qt("Error: Fetching material (id "+y.material_id+") failed.",y)},On=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",ft="/materials/"+y.material_id+"?scope=basic";Nt("https://"+On+"/api/proxy.php?path="+encodeURIComponent(ft),Ut,Gt)};function it(st){var Ut=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Gt){st[Gt]=!!st[Gt]}),Ut.forEach(function(Gt){y[Gt]===void 0&&st[Gt]!==void 0&&(y[Gt]=st[Gt])}),y.showToolBarHelp===void 0&&(y.showToolBarHelp=y.showToolBar)}function Nt(st,Ut,Gt){var On=new XMLHttpRequest;On.open("GET",st),On.onload=function(){Ut(On.responseText)},On.onerror=Gt,On.send()}Ce.isHTML5Installed=function(){return!0},Ce.getLoadedAppletType=function(){return At},Ce.setPreviewImage=function(st,Ut,Gt){We=st,Ve=Ut,Ze=Gt},Ce.removeExistingApplet=function(st,Ut){var Gt;typeof st=="string"&&(st=document.getElementById(st)),At=null;var On=null;for(Gt=0;Gt<st.childNodes.length;Gt++){var ft=st.childNodes[Gt],En=ft.className;En==="applet_screenshot"?Ut?(ft.style.display="block",At="screenshot"):ft.style.display="none":En!=="applet_scaler prerender"&&(st.removeChild(ft),On=En&&En.indexOf("appletParameters")!=-1?ft.id:null,Gt--)}var Ht=y.id!==void 0?y.id:On,gn=window[Ht];gn&&typeof gn.getBase64=="function"&&(gn.remove(),window[Ht]=null)},Ce.refreshHitPoints=function(){if(_e(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var st=Ce.getAppletObject();return st&&typeof st.recalculateEnvironments=="function"?(st.recalculateEnvironments(),!0):!1},Ce.startAnimation=function(){var st=Ce.getAppletObject();return st&&typeof st.startAnimation=="function"?(st.startAnimation(),!0):!1},Ce.stopAnimation=function(){var st=Ce.getAppletObject();return st&&typeof st.stopAnimation=="function"?(st.stopAnimation(),!0):!1},Ce.getAppletObject=function(){var st=y.id!==void 0?y.id:"ggbApplet";return window[st]},Ce.resize=function(){};var vt=function(st,Ut,Gt){var On=document.createElement("param");On.setAttribute("name",Ut),On.setAttribute("value",Gt),st.appendChild(On)},dt=function(st){return st&&st!=="false"},It=function(st,Ut,Gt){_e(at)<=4.2&&(Gt=!0);var On=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==at||ggbHTML5LoadedCodebaseIsWebSimple&&!Je)&&(On=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var En=Ut.width,Ht=Ut.height;if(Ut.disableAutoScale=Ut.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ut.disableAutoScale,Ut.width!==void 0)if(_e(at)<=4.4)dt(Ut.showToolBar)&&(Ut.height-=7),dt(Ut.showAlgebraInput)&&(Ut.height-=37),Ut.width<605&&dt(Ut.showToolBar)&&(Ut.width=605,En=605);else{var gn=100;(dt(Ut.showToolBar)||dt(Ut.showMenuBar))&&(Ut.hasOwnProperty("customToolBar")&&(Ut.customToolbar=Ut.customToolBar),gn=dt(Ut.showMenuBar)?245:155),En<gn&&(Ut.width=gn,En=gn)}ft.style.border="none",ft.style.display="inline-block";for(var un in Ut)Ut.hasOwnProperty(un)&&un!=="appletOnLoad"&&ft.setAttribute("data-param-"+un,Ut[un]);Qe&&ft.setAttribute("data-param-fontscssurl",Qe),Ce.resize=function(){GGBAppletUtils.responsiveResize(st,Ut)},window.addEventListener("resize",function(Pt){Ce.resize()});var De=typeof Ut.appletOnLoad=="function"?Ut.appletOnLoad:function(){};if(!Gt&&Ut.width!==void 0){Ut.hasOwnProperty("showSplash")||ft.setAttribute("data-param-showSplash","false");var he=st.querySelector(".applet_scaler.prerender"),ce=he!==null;if(ce)var Te=he.querySelector(".ggb_preview");else{var Te=Zt(En,Ht,Ut.borderColor,!1);he=document.createElement("div"),he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.style.width=En+"px",he.style.height=Ht+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(he,"66%"),_e(at)>=5?(Ut.appletOnLoad=function(Pt){var Wt=st.querySelector(".ggb_preview");Wt&&Wt.parentNode.removeChild(Wt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(he),window.GGBT_wsf_view&&$(window).trigger("resize"),De(Pt)},ce||he.appendChild(Te)):ft.appendChild(Te),he.appendChild(ft),ce||st.appendChild(he),setTimeout(function(){Ce.resize()},1)}else{var je=document.createElement("div");je.className="applet_scaler",je.style.position="relative",je.style.display="block",je.appendChild(ft),st.appendChild(je),Ut.appletOnLoad=function(Pt){Ce.resize(),De(Pt)}}function ge(Pt,Wt){Wt&&typeof Wt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pt,Wt.appletOnLoad):renderGGBElement(Pt),Qt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Wt)}function Pe(Pt,Wt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pt,params:Wt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(pn){ge(pn.article,pn.params)}),html5AppletsToProcess=null)},_e(at)<5&&(Pt.className+=" geogebraweb")):ge(Pt,Wt)}if(On){scriptLoadStarted=!0;for(var ct=0;ct<ft.childNodes.length;ct++){var $t=ft.childNodes[ct].tagName;$t==="TABLE"&&(ft.removeChild(ft.childNodes[ct]),ct--)}if(ggbHTML5LoadedScript!==null){var gt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');gt!=null&>.parentNode.removeChild(gt)}var yt=document.createElement("script"),Dt=function(){Pe(ft,Ut)};yt.src=Ge+tt,ggbHTML5LoadedCodebaseIsWebSimple=Je,ggbHTML5LoadedCodebaseVersion=at,ggbHTML5LoadedScript=yt.src,Qt("GeoGebra HTML5 codebase loaded: '"+Ge+"'.",Ut),!we&&(!fe||fe=="5.0")?(Je?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Dt()):Ge.requirejs?__webpack_require__.e(4510).then(function(){var Pt=[__webpack_require__(4510)];Dt.apply(null,Pt)}.bind(this)).catch(__webpack_require__.oe):(yt.onload=Dt,st.appendChild(yt))}else Pe(ft,Ut);Ut.height=Ht,Ut.width=En},St=function(st,Ut,Gt){var On=Zt(Ut.width,Ut.height,Ut.borderColor,Gt),ft=document.createElement("div");ft.style.position="relative",ft.style.display="block",ft.style.width=Ut.width+"px",ft.style.height=Ut.height+"px",ft.className="applet_screenshot applet_scaler"+(Gt?" applet_screenshot_play":""),ft.appendChild(On);var En=GGBAppletUtils.getScale(Ut,st,Gt);Gt?(st.appendChild(Rt()),window.GGBT_wsf_view||(st.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),st.appendChild(ft),En!==1&&!isNaN(En)&&(GGBAppletUtils.scaleElement(ft,En),ft.style.width=Ut.width+"px",ft.style.height=Ut.height+"px",ft.parentNode.style.width=Ut.width*En+"px",ft.parentNode.style.height=Ut.height*En+"px"),Ce.resize=function(){qe(st,On,ft,Gt)},window.addEventListener("resize",function(Ht){Ce.resize()}),Ce.resize()};function qe(st,Ut,Gt,On){if(st.contains(Ut)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(st.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(st)}var ft=GGBAppletUtils.getScale(y,st,On);Gt.parentNode!==null&&(!isNaN(ft)&&ft!==1?(GGBAppletUtils.scaleElement(Gt,ft),Gt.parentNode.style.width=y.width*ft+"px",Gt.parentNode.style.height=y.height*ft+"px"):(GGBAppletUtils.scaleElement(Gt,1),Gt.parentNode.style.width=y.width+"px",Gt.parentNode.style.height=y.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(st),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ce.onExitFullscreen=function(st,Ut){Ut.appendChild(st)};var Jt=function(st,Ut,Gt,On){St(st,Ut,!0);for(var ft=function(){var gn=[];for(Ht=0;Ht<st.childNodes.length;Ht++)gn.push(st.childNodes[Ht]);if(window.GGBT_wsf_view){var un=window.GGBT_wsf_view.renderFullScreen(st,Ut.id),De=document.getElementById("fullscreencontainer"),he=jQuery(st).find(".fullscreencontent");he.length>0?(un.remove(),he.attr("id","fullscreencontent").show(),jQuery(De).append(he),window.dispatchEvent(new Event("resize"))):It(un,Ut,!1),window.GGBT_wsf_view.launchFullScreen(De)}else At=On,It(st,Ut,!1);if(!window.GGBT_wsf_view)for(Ht=0;Ht<gn.length;Ht++)st.removeChild(gn[Ht])},En=st.getElementsByClassName("ggb_preview_play"),Ht=0;Ht<En.length;Ht++)En[Ht].addEventListener("click",ft,!1),En[Ht].addEventListener("ontouchstart",ft,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(st),nt()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Rt=function(){var st=document.createElement("div");if(st.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ut='.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");}',Gt=document.createElement("style");Gt.styleSheet?Gt.styleSheet.cssText=Ut:Gt.appendChild(document.createTextNode(Ut)),document.getElementsByTagName("head")[0].appendChild(Gt)}return st},Zt=function(st,Ut,Gt,On){var ft=document.createElement("div");ft.className="ggb_preview",ft.style.position="absolute",ft.style.zIndex="90",ft.style.width=st-2+"px",ft.style.height=Ut-2+"px",ft.style.top="0px",ft.style.left="0px",ft.style.overflow="hidden",ft.style.backgroundColor="white";var En="lightgrey";Gt!==void 0&&(Gt==="none"?En="transparent":En=Gt),ft.style.border="1px solid "+En;var Ht=document.createElement("img");if(Ht.style.position="relative",Ht.style.zIndex="1000",Ht.style.top="-1px",Ht.style.left="-1px",We!==null&&Ht.setAttribute("src",We),Ht.style.opacity=.7,Ve!==null){var gn,un,De;if(!On){gn=document.createElement("img"),gn.style.position="absolute",gn.style.zIndex="1001",gn.style.opacity=1,Ht.style.opacity=.3,un=360,un>st/4*3&&(un=st/4*3),De=un/5.8,gn.setAttribute("src",Ve),gn.setAttribute("width",un),gn.setAttribute("height",De);var he=(st-un)/2,ce=(Ut-De)/2;gn.style.left=he+"px",gn.style.top=ce+"px",ft.appendChild(gn)}}return ft.appendChild(Ht),ft},Tn=function(st){return st=st.toLowerCase(),st==="html5"||st==="screenshot"?st:"html5"},Tt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(st,Ut){if(at=st,Ut){Se(at,!0);return}var Gt=!me;if(Gt){var On=_e(at);!isNaN(On)&&On<4.4&&(Gt=!1)}var ft,En;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var Ht=at.indexOf("//");Ht>0?En=at:Ht===0?En=ft+at:En="https://www.geogebra.org/apps/5.2.814.0/";for(var gn in Tt)if(at.slice(Tt[gn].length*-1)===Tt[gn]||at.slice((Tt[gn].length+1)*-1)===Tt[gn]+"/"){Se(En,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Gt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!dt(y.showToolBar)&&!dt(y.showMenuBar)&&!dt(y.showAlgebraInput)&&!dt(y.enableRightClick)&&(!y.appName||y.appName=="classic")?En+="webSimple/":En+="web3d/",Se(En,!1)},Se=function(st,Ut){if(st.requirejs){Ge=st;return}st.slice(-1)!=="/"&&(st+="/"),Ge=st,Ut===null&&(Ut=st.indexOf("http")===-1),Fe=Ut,tt="web.nocache.js",Je=!1;var Gt=Ge.split("/");Gt.length>1&&(!Ut&&Gt[Gt.length-2]==="webSimple"?(tt="webSimple.nocache.js",Je=!0):Tt.indexOf(Gt[Gt.length-2])>=0&&(tt=Gt[Gt.length-2]+".nocache.js")),Gt=st.split("/"),at=Gt[Gt.length-3],at.substr(0,4)==="test"?at=at.substr(4,1)+"."+at.substr(5,1):(at.substr(0,3)==="war"||at.substr(0,4)==="beta")&&(at="5.0");var On=parseFloat(at);On!==NaN&&On<5&&st.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+On+" is deprecated. Using version latest instead."),Ye("5.0",Ut))},Qt=function(st,Ut){window.console&&window.console.log&&(!Ut||typeof Ut.showLogging=="undefined"||Ut.showLogging&&Ut.showLogging!=="false")&&console.log(st)};y.material_id!==void 0?bt(on):on();function on(){var st=ae;fe!==null?st=fe:parseFloat(st)<5&&(st="5.0"),Ye(st,!1),we!==null&&Se(we,Fe),be=!0}return Ce},GGBAppletUtils=function(){"use strict";function Ce(){return window.GGBT_wsf_edit!==void 0}function ae(be,fe){fe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+fe+","+fe+")",be.style.webkitTransform="scale("+fe+","+fe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function y(be,fe,we,Oe,Re,xe){var Ge=null;if(xe!=null&&xe!="")for(var Fe=be.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+xe+" ")>-1){Ge=Fe;break}else Fe=Fe.parentNode;var At=0,at=0,tt=0,Je=0,We=0,Ve=0,Ze=0;if(Ge)At=Ge.offsetWidth,at=Math.max(Oe?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(At=Math.min(window.innerWidth,document.documentElement.clientWidth),at=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=At):(At=window.innerWidth,at=window.innerHeight,tt=window.innerWidth),be){var Qe=be.getBoundingClientRect();Qe.left>0&&Qe.left<=At&&(Re===void 0||!Re)&&(document.dir==="rtl"?(We=At-Qe.width-Qe.left,Ve=tt<=480?10:30):(Ve=Qe.left,We=tt<=480?10:30),Je=Ve+We)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ze=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Je=40,Ze=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Je=0,Ze=40)}}return be&&((we===void 0||!we)&&fe>0&&fe+Je<At?At=fe:At-=Je,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(we===void 0||!we)&&(at-=Ze)),{width:At,height:at}}function b(be,fe,we,Oe,Re){if(be.isScreenshoGenerator)return 1;var xe=Oe!==void 0&&Oe,Ge=be.noScaleMargin!=null&&be.noScaleMargin,Fe=function(ze){return ze&&ze!=="false"},At=Fe(be.autoHeight),at=y(fe,be.width,we,At,xe&&window.GGBT_wsf_view||Ge,Re),tt=parseInt(at.width),Je=be.width,We=be.height;if(Je===void 0){var Ve=fe.querySelector(".appletParameters");Ve&&(Je=Ve.offsetWidth,We=Ve.offsetHeight)}var Ze=tt/Je,Qe=xe?1:at.height/We;return we!==void 0&&!we&&(Ze=Math.min(1,Ze),Qe=Math.min(1,Qe)),Math.min(Ze,Qe)}function me(be,fe,we){var Oe=1,Re,xe=!1;if(be.hasOwnProperty("allowUpscale")&&(xe=be.allowUpscale),be.hasOwnProperty("scale")&&(Oe=parseFloat(be.scale),(isNaN(Oe)||Oe===null||Oe===0)&&(Oe=1),Oe>1&&(xe=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))Re=b(be,fe,xe,we,be.scaleContainerClass);else return Oe;return xe&&(!be.hasOwnProperty("scale")||Oe===1)?Re:Math.min(Oe,Re)}function le(be){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=be.getBoundingClientRect(),Re=(fe-Oe.width)/2,xe=(we-Oe.height)/2;xe<0&&(xe=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Re<40?be.style.left="40px":be.style.left=Re+"px",be.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?be.style.top="40px":be.style.top=xe+"px",be.style.left=Re+"px")}function pe(be,fe){var we=be.querySelector(".appletParameters");if(we){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==we.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(we.parentElement&&/fullscreen/.test(we.parentElement.className))return;var Oe=me(fe,be);Ce()&&we.setAttribute("data-param-scale",Oe);for(var Re=null,xe=0;xe<be.childNodes.length;xe++)if(be.childNodes[xe].className!==void 0&&be.childNodes[xe].className.match(/^applet_scaler/)){Re=be.childNodes[xe];break}if(Re!==null&&Re.querySelector(".noscale")!==null)return;var Ge=fe.id!==void 0?fe.id:"ggbApplet",Fe=window[Ge];(Fe==null||!Fe.recalculateEnvironments)&&Re!==null&&!Re.className.match(/fullscreen/)&&(Re.parentNode.style.transform="",!isNaN(Oe)&&Oe!==1?(Re.parentNode.style.width=fe.width*Oe+"px",Re.parentNode.style.height=fe.height*Oe+"px",ae(Re,Oe)):(ae(Re,1),Re.parentNode.style.width=fe.width+"px",Re.parentNode.style.height=fe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&le(be),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(we).parents(".content-added-content"))}}return{responsiveResize:pe,isFlexibleWorksheetEditor:Ce,positionCenter:le,getScale:me,scaleElement:ae}}();__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 Ce=n.location.search;return Ce.indexOf(J)!=-1||Ce.indexOf(K)!=-1}function q(Ce,ae){}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(Ce){var ae=s[L].bindings;s[L].bindings=function(){for(var y=ae?ae():{},b=Ce[webModule.__softPermutationId],me=O;me<b.length;me++){var le=b[me];y[le[O]]=le[P]}return y}};var t;function u(){return v(),t}function v(){if(!t){var Ce=o.createElement(Q);if(Ce.id=L,Ce.style.cssText=R+S,Ce.tabIndex=-1,o.body.appendChild(Ce),t=Ce.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ae=document.compatMode==U?V:W;t.write(ae+X),t.close()}}}function w(Ce){function ae(b){function me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var le=me();if(le){b();return}function pe(){if(!le){if(!me())return;le=!0,b(),o.removeEventListener&&o.removeEventListener(Z,pe,!1),be&&clearInterval(be)}}o.addEventListener&&o.addEventListener(Z,pe,!1);var be=setInterval(function(){pe()},$)}function y(b){var me=u(),le=me.body,pe=me.createElement(_);pe.language=ab,pe.crossOrigin=W,pe.src=b,webModule.__errFn&&(pe.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),le.appendChild(pe)}ae(function(){y(Ce)})}webModule.__startLoadingFragment=function(Ce){return C(Ce)},webModule.__installRunAsyncCode=function(Ce){var ae=u(),y=ae.body,b=ae.createElement(_);b.language=ab,b.text=Ce,y.appendChild(b),y.removeChild(b)};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(Ce){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ce){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ce){var ae=c[Ce];return ae==null?null:ae},r=d,webModule.__errFn=e}function B(){function Ce(be){var fe=be.lastIndexOf(rb);fe==-1&&(fe=be.length);var we=be.indexOf(sb);we==-1&&(we=be.length);var Oe=be.lastIndexOf(tb,Math.min(we,fe));return Oe>=O?be.substring(O,Oe+P):W}function ae(be){if(!be.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=be+vb,be=Ce(fe.src)}return be}function y(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function b(){for(var be=o.getElementsByTagName(_),fe=O;fe<be.length;++fe)if(be[fe].src.indexOf(xb)!=-1)return Ce(be[fe].src);return W}function me(){var be=o.getElementsByTagName(yb);return be.length>O?be[be.length-P].href:W}function le(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var pe=y();return pe==W&&(pe=b()),pe==W&&(pe=me()),pe==W&&le()&&(pe=Ce(o.location.href)),pe=ae(pe),pe}function C(Ce){return Ce.match(/^\//)||Ce.match(/^[a-zA-Z]+:\/\//)?Ce:webModule.__moduleBase+Ce}function D(){var Ce=[],ae=O,y=[],b=[];function me(be){var fe=b[be](),we=y[be];if(fe in we)return fe;var Oe=[];for(var Re in we)Oe[we[Re]]=Re;throw r&&r(be,Oe,fe),null}if(__gwt_isKnownPropertyValue=function(be,fe){return fe in y[be]},webModule.__getPropMap=function(){var be={};for(var fe in y)y.hasOwnProperty(fe)&&(be[fe]=me(fe));return be},webModule.__computePropValue=me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var le;try{le=Cb;var pe=le.indexOf(Db);pe!=-1&&(ae=parseInt(le.substring(pe+P),$),le=le.substring(O,pe))}catch(be){}return webModule.__softPermutationId=ae,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})()},23216:function(Ce,ae,y){"use strict";y.d(ae,{Ax:function(){return pe},Ds:function(){return be},KI:function(){return we},SI:function(){return le},f1:function(){return me}});var b=y(14185);function me(Oe){let Re=!0;if(Oe.length>0){for(let xe=0;xe<Oe.length;xe++)if(Oe[xe].compile_success==0||!Oe[xe].compile_success){Re=!1;break}}else Re=!1;return Re}function le(Oe,Re=""){let xe=[];for(let Ge=0;Ge<Oe.length;Ge++){let Fe=Oe[Ge],At=Re?`${Re}/${Fe.name}`:`${Fe.name}`;xe.push({title:Fe.name,type:Fe.type,isLeaf:Fe.type!=="tree",key:At})}return xe}function pe(Oe,Re,xe){for(let Ge=0;Ge<Oe.length;Ge++){let Fe=Oe[Ge];if(Fe.key===Re){Fe.children=xe;break}Fe.children&&pe(Fe.children,Re,xe)}return Oe}function be(Oe,Re,xe){let Ge;return function(){let Fe=this,At=arguments,at=function(){Ge=null,xe||Oe.apply(Fe,At)},tt=xe&&!Ge;clearTimeout(Ge),Ge=setTimeout(at,Re),tt&&Oe.apply(Fe,At)}}const fe=!0,we=b.Z.API_SERVER},40254:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ge}});var b=y(59301),me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},le=y(92310),pe=y.n(le),be=y(29787),fe=y(2859),we=y(49317),Oe=y(76406),Re=(Fe,At,at)=>new Promise((tt,Je)=>{var We=Qe=>{try{Ze(at.next(Qe))}catch(ze){Je(ze)}},Ve=Qe=>{try{Ze(at.throw(Qe))}catch(ze){Je(ze)}},Ze=Qe=>Qe.done?tt(Qe.value):Promise.resolve(Qe.value).then(We,Ve);Ze((at=at.apply(Fe,At)).next())}),Ge=({data:Fe,className:At,fullWidth:at,style:tt={},onClose:Je,onOk:We,showFullTools:Ve,noAssociationId:Ze})=>{const Qe=(0,b.useRef)(null),ze=(0,b.useRef)(null),_e=(0,b.useRef)(null),$e=(0,b.useRef)(null),[nt,bt]=(0,b.useState)(!1),[it,Nt]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&vt()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[Fe==null?void 0:Fe.visible]);const vt=()=>Re(void 0,null,function*(){bt(!0),Nt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const qe=yield(0,Oe.ZJ)(Fe==null?void 0:Fe.src);Qe.current.src="",Qe.current.src=qe,Qe.current.onload=function(){St()},bt(!1),Nt("")}),dt=qe=>Re(void 0,null,function*(){bt(!0),Nt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Jt=yield(0,we.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:qe.dataUrl}});Jt!=null&&Jt.id&&!Ze?(yield(0,we.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Jt==null?void 0:Jt.id,settings:JSON.stringify(qe.state)}})).status===0&&We():Jt!=null&&Jt.id&&We(Jt),bt(!1),Nt("")}),It=()=>{const qe=document.querySelector('a[href="https://markerjs.com/"]');qe&&qe.parentNode&&(qe.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(Rt=>{const Zt=document.querySelector(Rt.name);Zt&&Zt.setAttribute("title",Rt.title)})},St=()=>{ze.current=new fe.hP(Qe.current),ze.current.targetRoot=$e.current,ze.current.addEventListener("render",dt),ze.current.addEventListener("beforeclose",Je),Ve&&(ze.current.availableMarkerTypes=ze.current.ALL_MARKER_TYPES,ze.current.uiStyleSettings.redoButtonVisible=!0,ze.current.uiStyleSettings.notesButtonVisible=!0,ze.current.uiStyleSettings.zoomButtonVisible=!0,ze.current.uiStyleSettings.zoomOutButtonVisible=!0,ze.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ze.current.uiStyleSettings,ze.current.show(),Fe!=null&&Fe.snapshotData&&ze.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),It()},300)};return b.createElement(b.Fragment,null,(Fe==null?void 0:Fe.visible)&&b.createElement(be.Z,{spinning:nt,tip:it,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:$e,className:pe()(me.imageDimensions,At,at?me.fullWidth:""),style:tt},b.createElement("img",{className:me.img,ref:Qe}))))}},9057:function(Ce,ae,y){"use strict";var b=y(59301),me=y(77019),le=y(5269),pe=y(31691),be=y(7939),fe=y(35883),we=y(74501),Oe=y(48136),Re=y(59301);const xe=(0,b.forwardRef)(({callback:Ge,showSaveButton:Fe,value:At=""},at)=>{const tt=(0,b.useRef)(),Je=[{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 "}]}]}],We=[{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}`}]}]}],Ve=ze=>{tt.current.setValue(tt.current.getValue()+" "+ze.value+" ")},Ze=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Re.createElement(me.Z,{className:we.Z.lists,gutter:[10,10]},Je.map((ze,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:`$$${ze.value}$$`}),ze.name),Re.createElement("div",{className:we.Z.children},ze.children.map(($e,nt)=>Re.createElement("div",{key:nt},Re.createElement("h1",null,$e.name),Re.createElement(me.Z,{gutter:[10,10]},$e.data.map((bt,it)=>Re.createElement(le.Z,{key:it,onClick:()=>Ve(bt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Re.createElement(me.Z,{className:we.Z.lists,gutter:[10,10]},We.map((ze,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:"`$$"+ze.value+"$$`"}),ze.name),Re.createElement("div",{className:we.Z.children},ze.children.map(($e,nt)=>Re.createElement("div",{key:nt},$e.name&&Re.createElement("h1",null,$e.name),Re.createElement(me.Z,{gutter:[10,10]},$e.data.map((bt,it)=>Re.createElement(le.Z,{key:it,onClick:()=>Ve(bt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))}],Qe=()=>{var ze=document.createElement("div");ze.innerHTML=tt.current.getValue();var _e=ze.innerText;return Ge&&Ge(_e),_e};return(0,b.useImperativeHandle)(at,()=>({getData:Qe})),Re.createElement("div",{className:we.Z.mathWrap},Re.createElement(pe.default,{defaultActiveKey:"1",items:Ze}),Re.createElement("math-field",{locale:"zh_cn",className:we.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:tt,style:{width:800,marginTop:30,fontSize:18}},At||""),Fe&&Re.createElement("div",{className:we.Z.button},Re.createElement(be.ZP,{size:"large",onClick:Qe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ae.Z=xe},90736:function(Ce,ae,y){"use strict";var b=y(59301),me=y(4977),le=y(7939),pe=Object.defineProperty,be=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,xe=(at,tt,Je)=>tt in at?pe(at,tt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):at[tt]=Je,Ge=(at,tt)=>{for(var Je in tt||(tt={}))Oe.call(tt,Je)&&xe(at,Je,tt[Je]);if(we)for(var Je of we(tt))Re.call(tt,Je)&&xe(at,Je,tt[Je]);return at},Fe=(at,tt)=>be(at,fe(tt));const At=({img:at,buttonProps:tt={},styles:Je={},customText:We,ButtonText:Ve,ButtonClick:Ze,Buttonclass:Qe,ButtonTwo:ze,imgStyles:_e,loading:$e=!1,className:nt=""})=>b.createElement("section",{className:`tc animated fadeIn ${nt}`,style:Ge({color:"#999",margin:"100px auto",visibility:$e?"hidden":"visible"},Je)},b.createElement("img",{src:at||me,style:Fe(Ge({},_e),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},We||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ve&&b.createElement(le.ZP,Ge({className:Qe,onClick:Ze},tt),Ve),ze&&ze);ae.Z=At},86974:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),me={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},le=y(7939),pe=y(70557),be=y(34728),fe=y(25399),we=y(76406),Oe=y(84849),Re=y(90736),xe=y(14185),Ge=y(52078),Fe=y(59301),At=Object.defineProperty,at=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,We=(ze,_e,$e)=>_e in ze?At(ze,_e,{enumerable:!0,configurable:!0,writable:!0,value:$e}):ze[_e]=$e,Ve=(ze,_e)=>{for(var $e in _e||(_e={}))tt.call(_e,$e)&&We(ze,$e,_e[$e]);if(at)for(var $e of at(_e))Je.call(_e,$e)&&We(ze,$e,_e[$e]);return ze},Ze=(ze,_e,$e)=>new Promise((nt,bt)=>{var it=dt=>{try{vt($e.next(dt))}catch(It){bt(It)}},Nt=dt=>{try{vt($e.throw(dt))}catch(It){bt(It)}},vt=dt=>dt.done?nt(dt.value):Promise.resolve(dt.value).then(it,Nt);vt(($e=$e.apply(ze,_e)).next())}),Qe=({editOffice:ze="view",data:_e,issaver:$e,onSaver:nt,theme:bt,type:it,filename:Nt,monacoEditor:vt,className:dt,style:It,close:St,onClose:qe,hasMask:Jt,disabledDownload:Rt,onImgDimensions:Zt,showNodata:Tn,recordInfo:Tt})=>{const[Ye,Se]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Qt,on]=(0,b.useState)(""),[st,Ut]=(0,b.useState)(),Gt=window.ENV==="build"?"/react/build":"",On=location.host.startsWith("localhost")?xe.Z.PROXY_SERVER:xe.Z.API_SERVER,En=10*(1024*1024),Ht=(0,b.useRef)();_e!=null&&_e.startsWith("/api")&&it!=="txt"&&(_e=xe.Z.API_SERVER+_e);const gn=je=>je.substring(je.lastIndexOf("/")+1).split(".").pop();Nt&&vt&&(vt.filename=Nt),(0,b.useEffect)(()=>{var je,ge;const Pe=(ge=(je=document.cookie)==null?void 0:je.replace(/\s/g,""))==null?void 0:ge.split(";");Pe==null||Pe.map(ct=>{let $t=ct.split("=");$t[0]==="_educoder_session"&&on($t[1])})},[]),(0,b.useEffect)(()=>{it==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Ut({url:_e,fileType:gn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Ut({url:_e,fileType:"doc",model:"view"}):De())},[it,_e]);function un(je){return Ze(this,null,function*(){je.data.type==="pdfdata"&&(nt(je.data.data),window.removeEventListener("message",un,!1)),console.log("mess---:",je.data)})}const De=()=>Ze(void 0,null,function*(){console.log("data:",_e);let je=_e;_e.startsWith("http")||(je=location.origin+je);let ge=new URL(je).pathname.split("/").pop();const Pe=yield(0,Oe.gJ)({attachment_id:ge});Pe.url=On+Pe.url,Ut(Pe)}),he=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ce();return}(0,we.Sv)(Nt||"educoder",_e,Nt)},ce=()=>{Tt&&(0,Ge.fc)({id:Tt==null?void 0:Tt.id,watch_type:1,course_id:Tt==null?void 0:Tt.course_id}),(0,we.Nd)(Nt||"educoder",decodeURIComponent(_e))};(0,b.useEffect)(()=>(window.addEventListener("message",Te),()=>{window.removeEventListener("message",Te)}),[]);const Te=je=>{var ge;((ge=je==null?void 0:je.data)==null?void 0:ge.type)==="closePop"&&qe()};return Fe.createElement("div",{style:Ve({},It||{}),className:`${Jt&&me.bgBlack} ${it?me.wrp:"hide"}`},!!it&&St&&Fe.createElement("div",{id:"closePop",className:me.close,ref:Ht},!!Zt&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ht.current},Fe.createElement("span",{onClick:()=>{qe(),Zt()}},Fe.createElement("i",{className:"icon-yulanpizhu"}))),!Rt&&window.parent===window&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ht.current},Fe.createElement("span",{onClick:ce},Fe.createElement("i",{className:"icon-quxiaozhiding"}))),$e&&Fe.createElement(fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ht.current},Fe.createElement("span",{className:"",onClick:()=>{const je=document.getElementById("pdfiframe");window.addEventListener("message",un,!1),setTimeout(()=>{je.contentWindow.postMessage("getData","*")},300)}},Fe.createElement("i",{className:"icon-baocun"}))),Fe.createElement(fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ht.current},Fe.createElement("span",{className:"",onClick:()=>{qe()}},Fe.createElement("i",{className:"icon-guanbi1"})))),Fe.createElement("div",{className:`${me[dt]} ${dt} ${me.monaco} ${it==="txt"?"show":"hide"}`},it==="txt"&&Fe.createElement(Fe.Fragment,null,Fe.createElement(be.ZP,Ve({},vt)))),it==="audio"&&Fe.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),it==="video"&&Fe.createElement(Fe.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?Fe.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):Fe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),it==="office"&&st&&Fe.createElement("iframe",{src:`${Gt}/office.html?key=${st.key}&url=${btoa(st.url)}&callbackUrl=${On+(st.callbackUrl||"")}&fileType=${st.fileType}&title=${st.title||""}&model=${ze}&officeServer=${xe.Z.ONLYOFFICE}&disabledDownload=${!!Rt}`}),it==="html"&&Fe.createElement("iframe",{src:_e+"&disposition=inline"}),it==="pdf"&&Fe.createElement("iframe",{id:"pdfiframe",src:`${Gt}/js/pdf/index.html?filename=${Nt||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!Rt}&model=${ze}`}),it==="image"&&Fe.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(it==="other"||it==="download")&&Fe.createElement(Fe.Fragment,null,Tn?Fe.createElement(Re.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:he,disabled:Rt},"\u4E0B\u8F7D")}):Fe.createElement(le.ZP,{type:"primary",size:"middle",onClick:he,disabled:Rt},Fe.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),it==="flowChart"&&Fe.createElement("div",{className:"embed"},Fe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Ce,ae,y){"use strict";y.d(ae,{z:function(){return vt},Z:function(){return dt}});var b=y(59301),me=y(46214),le=y(20047),pe=y(64018),be=y(16471),fe=y(14185),we=y(76406),Oe=y(15342),Re=y(44104),xe=y(7939),Ge=y(1012),Fe=y(86974),At=y(59301),tt=({html:It})=>{const St=(0,b.useRef)(null),qe=(0,b.useRef)(null),Jt=`.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,b.useEffect)(()=>{const Rt=St.current.attachShadow({mode:"open"});qe.current=document.createElement("div"),qe.current.className="markdown-body",qe.current.innerHTML=It,Rt.appendChild(qe.current);const Zt=document.createElement("style");return Zt.textContent=Jt,Rt.appendChild(Zt),()=>{Rt.innerHTML=""}},[]),(0,b.useEffect)(()=>{qe.current&&(qe.current.innerHTML=It)},[It]),At.createElement("div",{ref:St})};function Je(It){const St=["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"],qe=new RegExp(`\\b(${St.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Jt=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return It.replace(qe,"").replace(Jt,"").trim()}var We={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ve=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,_e=(It,St,qe)=>St in It?Ve(It,St,{enumerable:!0,configurable:!0,writable:!0,value:qe}):It[St]=qe,$e=(It,St)=>{for(var qe in St||(St={}))Qe.call(St,qe)&&_e(It,qe,St[qe]);if(Ze)for(var qe of Ze(St))ze.call(St,qe)&&_e(It,qe,St[qe]);return It};const nt="@\u2581\u2581@",bt="@\u2581@",it=/<pre[^>]*>/g;function Nt(It){let St=document.createElement("div");return St.innerHTML=It,St.childNodes.length===0?"":St.childNodes[0].nodeValue}const vt=(It,St)=>{It=It||"";const qe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Jt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Rt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Zt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return St?It.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(qe,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(It=It.replace(Zt,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/attachments/download/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replace(qe,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replace(Jt,(Tn,Tt,Ye,Se,Qt)=>{const on=Tt||Se,st=Ye||Qt||"";return'"'+fe.Z.API_SERVER+"/api/attachments/"+on+st+on+st+"&t="+(0,we.Jn)(on,Date.now())}).replace(Rt,(Tn,Tt,Ye,Se,Qt)=>{const on=Tt||Se,st=Ye||Qt||"";return"("+fe.Z.API_SERVER+"/files/uploads/"+on+st+on+st+"&t="+(0,we.Jn)(on,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,`
|
|
|
`),It)};var dt=({value:It="",edit:St=!1,className:qe,showTextOnly:Jt,showLines:Rt,style:Zt={},stylesPrev:Tn={},highlightKeywords:Tt,showProgramFill:Ye,isProgramFill:Se,disabledFill:Qt=!1,programFillValue:on,openEditor:st=()=>{},onFillChange:Ut=ft=>{},onFillBlur:Gt=()=>{},onFillFocus:On=()=>{}})=>{let ft=Je(String(It||""));const En=(0,b.useRef)(),Ht=(0,b.useRef)(),[gn,un]=(0,b.useState)(""),[De,he]=(0,b.useState)("office"),[ce,Te]=(0,b.useState)([]),je=(0,b.useRef)("a"+(0,Ge.Z)()),ge={},Pe=ln=>/<style[\s\S]*?>/i.test(ln||""),ct=(ln,In,xn)=>{const kt=document.createElement(ln===bt?"input":"textarea");kt.style.width="100%",kt.style.height=ln===bt?"40px":"151px",kt.rows=5,kt.spellcheck=!1,kt.name="edu-program-fill",kt.placeholder="\u8BF7\u8F93\u5165",kt.dataset.id=In;const Yt=Object.keys(ge).length;return ge[Yt]=kt,`<span class="edu-program-fill-wrap ${ln===bt?"":"show"}" style="width:${ln===bt?"600px":"100%"}" title=${xn||""}><span>${kt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function $t(ln){return ln=ln.replace(/!\[.*?\]\(.*?\)/g,""),ln=ln.replace(/\[.*?\]\(.*?\)/g,""),ln=ln.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ln=ln.replace(/<embed.*?>/g,""),ln=ln.replace(/<img.*?>/g,""),ln=ln.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ln=ln.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ln=ln.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ln=ln.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ln}const gt=ln=>!Jt&&Pe(ft)?ln:ln.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(In,xn){let kt=xn.replace(/(\n|\r)/g,"").split("}"),Yt=[];return kt.map(Ft=>{Ft!=""&&Yt.push(`.${je.current} ${Ft}`)}),`<style>${Yt.join("}")}</style>`}),yt=(0,b.useMemo)(()=>{(0,le.Iy)();try{const kt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Yt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ft=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,vn=/\(\/attachments\/download\//g;ft=ft.replace(vn,"("+fe.Z.API_SERVER+"/attachments/download/").replace(kt,"("+fe.Z.API_SERVER+"/api/attachments/").replace(Yt,'"'+fe.Z.API_SERVER+"/api/attachments/").replace(Ft,'"'+fe.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,`
|
|
|
`),En.current.style.display="none"}catch(kt){}if(Ye){let kt=-1;return ft=ft.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Yt,Ft,vn){var Ct;return++kt,ct(Yt,kt,(Ct=on==null?void 0:on[kt])==null?void 0:Ct.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${gt(ft||"")}</pre>`}let ln=gt(ft);ln=(0,le.ZP)(ln);const In=(0,le.ez)();ft.match(/\[TOC\]/)&&(ln=ln.replace("<p>[TOC]</p>",(0,le.Qv)()),(0,le.Iy)()),ln=ln.replace(/(__special_katext_id_\d+__)/g,(kt,Yt)=>{const{type:Ft,expression:vn}=In[Yt];return(0,Oe.renderToString)(Nt(vn)||"",{displayMode:Ft==="block",throwOnError:!1,output:"html"})}),ln=ln.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,le.AL)();const xn=document.createElement("div");if(xn.innerHTML=ln,Jt)return xn.innerText;if(Tt){const kt=Tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return pn(xn,kt),xn.innerHTML}return setTimeout(()=>Ln(),500),xn.innerHTML},[ft,Tt]);(0,b.useEffect)(()=>{fn.current&&fn.current.querySelectorAll(["input","textarea"]).forEach(In=>{In.oninput=Dt,In.onblur=Pt,In.onfocus=Wt})},[ce]),(0,b.useEffect)(()=>{var ln,In,xn,kt,Yt;if(on!=null&&on.length)try{const Ft=fn.current.querySelectorAll(".edu-program-fill-score"),vn=fn.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ct,pt]of vn.entries())pt.value=((ln=on==null?void 0:on[Ct])==null?void 0:ln.value)||"",((In=on==null?void 0:on[Ct])==null?void 0:In.type)==="warning"?pt.className="program-fill-warning":((xn=on==null?void 0:on[Ct])==null?void 0:xn.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[Ct,pt]of Ft.entries())pt.innerHTML=(kt=on==null?void 0:on[Ct])!=null&&kt.score?`${(Yt=on==null?void 0:on[Ct])==null?void 0:Yt.score}\u5206`:"";Te(on)}catch(Ft){console.log(Ft,"error")}},[on]);const Dt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),Ut(ce,ln.target.dataset.id)},Pt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),Gt(ce,ln.target.dataset.id)},Wt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),On(ce,ln.target.dataset.id)};function pn(ln,In){return ln.childNodes.forEach(xn=>{var kt;if(xn.childNodes.length>0)pn(xn,In);else if(xn.nodeName!=="IMG")if(xn.innerHTML)xn.innerHTML=(kt=xn.innerHTML)==null?void 0:kt.replace(new RegExp(In,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Yt=document.createElement("span");Yt.innerHTML=xn.textContent.replace(new RegExp(In,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),xn.replaceWith(Yt)}})}const fn=(0,b.useRef)();le.jb.WebkitLineClamp=Rt,Rt&&(Zt=$e($e({},Zt),le.jb));function Mt(ln){let In=ln.target;if(In.tagName.toUpperCase()==="A"){let xn=In.getAttribute("href");if(xn.indexOf("office")>-1)ln.preventDefault(),un(xn),he("office");else if(xn.indexOf("application/pdf")>-1)ln.preventDefault(),un(xn),he("pdf");else if(xn.indexOf("text/html")>-1)ln.preventDefault(),un(xn),he("html");else if(xn.startsWith("#")){ln.preventDefault();let kt=document.getElementById(xn.replace("#",""));kt&&kt.scrollIntoView(!0)}}}const Ln=()=>{var ln;const In=(ln=fn.current)==null?void 0:ln.querySelectorAll("video");In==null||In.forEach(xn=>{if(xn.oncontextmenu=()=>!1,xn.src.indexOf(".m3u8")>-1&&!xn.canPlayType("application/vnd.apple.mpegurl")){if(be.ZP.isSupported()){var kt=new be.ZP;kt.loadSource(xn.src),kt.attachMedia(xn)}}})};(0,b.useEffect)(()=>{if(fn.current&&yt&&yt.match(it)&&window.PR.prettyPrint(),fn.current)return fn.current.addEventListener("click",Mt),()=>{var ln;(ln=fn.current)==null||ln.removeEventListener("click",Mt),(0,le.AL)(),(0,le.Iy)()}},[yt,fn.current,Mt]);const kn=ln=>{ln.target.nodeName==="IMG"&&ln.target.className.indexOf("draw-flowchart")>-1?(En.current.style.zIndex=1,En.current.style.display="flex",En.current.style.width=ln.target.clientWidth+"px",En.current.style.height=ln.target.clientHeight+"px",En.current.style.top=ln.target.offsetTop+"px",En.current.style.left=ln.target.offsetLeft+"px",ln.target.id&&(Ht.current=ln.target.id)):En.current.style.display="none"},wn=()=>{En.current.style.display="none"};return(0,b.useEffect)(()=>{var ln;const In=xn=>{xn.preventDefault(),xn.clipboardData.setData("text",window.getSelection().toString())};return(ln=fn.current)==null||ln.addEventListener("copy",In),()=>{var xn;(xn=fn.current)==null||xn.removeEventListener("copy",In)}},[fn.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:wn},Jt&&b.createElement("div",{ref:fn,className:`${We.mdBody} `},yt),!Jt&&!Pe(yt)&&b.createElement("div",{ref:fn,style:$e({},Zt),onMouseOver:kn,className:`${qe||""} ${Qt?"disabled-fill":""} markdown-body ${We.mdBody} ${je.current}`,dangerouslySetInnerHTML:{__html:yt}}),!Jt&&Pe(yt)&&b.createElement(tt,{html:yt}),b.createElement("div",{ref:En,className:`${We.button} ${St?"":We.previewFlowChart}`},b.createElement(Re.Z,null,b.createElement(xe.ZP,{onClick:()=>{St?st(Ht.current):(un(Ht.current),he("flowChart"))}},St?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Fe.Z,{close:!0,data:gn,type:gn!=null&&gn.length?De:"",style:$e({},Tn),onClose:()=>un("")}))}},28267:function(Ce,ae,y){"use strict";y.d(ae,{h:function(){return ze}});var b=y(59301),me=y(82326),le=y(28284),pe=y(7939),be=y(89780),fe=y.n(be),we=y(88319),Oe=y(94896),Re=Object.defineProperty,xe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,tt=(_e,$e,nt)=>$e in _e?Re(_e,$e,{enumerable:!0,configurable:!0,writable:!0,value:nt}):_e[$e]=nt,Je=(_e,$e)=>{for(var nt in $e||($e={}))At.call($e,nt)&&tt(_e,nt,$e[nt]);if(Fe)for(var nt of Fe($e))at.call($e,nt)&&tt(_e,nt,$e[nt]);return _e},We=(_e,$e)=>xe(_e,Ge($e));const Ve=me.default.Option,Ze={labelCol:{span:4},wrapperCol:{span:20}},Qe={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"]};ae.Z=({callback:_e,onCancel:$e})=>{const[nt,bt]=(0,b.useState)("python");function it(vt){bt(Qe[vt][1])}function Nt(vt){_e(vt)}return b.createElement(le.default,We(Je({},Ze),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Nt,style:{width:500}}),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(me.default,{getPopupContainer:vt=>vt.parentNode,onChange:it},Object.keys(Qe).map(vt=>b.createElement(Ve,{key:vt,value:vt},Qe[vt][0])))),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ze,{mode:nt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(pe.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))};function ze({value:_e,onChange:$e,mode:nt,options:bt={}}){const it=(0,b.useRef)(),[Nt,vt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Nt){let dt=function(It){const St=It.getValue();$e&&$e(St)};return Nt.on("change",dt),()=>{Nt.off("change",dt)}}},[Nt,$e]),(0,b.useEffect)(()=>{Nt&&Nt.setOption("mode",nt)},[Nt,nt]),(0,b.useEffect)(()=>{Nt&&(_e!==Nt.getValue()||_e==="")&&setTimeout(()=>{Nt.setValue(_e||"")},300)},[Nt,_e]),(0,b.useEffect)(()=>{if(it.current&&!Nt){const dt=fe().fromTextArea(it.current,Je({mode:nt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},bt));vt(dt)}},[it.current,Nt]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:it}))}},39116:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return cr}});var b=y(59301),me=y(44283),le=y(89780),pe=y.n(le),be=y(76374),fe=y(88319),we=y(6313),Oe=y(25717),Re=y(99498),xe=y(25419),Ge=y(67549),Fe=y(35883),At=({value:Yn="",className:Sr,showTextOnly:br,showLines:Nr,style:Jr={}})=>{const $r=(0,b.useMemo)(()=>"",[Yn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:$r}}))},at=Object.defineProperty,tt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Qe=(Yn,Sr,br)=>Sr in Yn?at(Yn,Sr,{enumerable:!0,configurable:!0,writable:!0,value:br}):Yn[Sr]=br,ze=(Yn,Sr)=>{for(var br in Sr||(Sr={}))Ve.call(Sr,br)&&Qe(Yn,br,Sr[br]);if(We)for(var br of We(Sr))Ze.call(Sr,br)&&Qe(Yn,br,Sr[br]);return Yn},_e=(Yn,Sr)=>tt(Yn,Je(Sr));let $e=[{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 nt({onActionCallback:Yn,title:Sr,icon:br,actionName:Nr,className:Jr="",children:$r}){function Ur(){Yn(Nr)}return b.createElement("a",{title:Sr,className:Jr,onClick:Ur},b.createElement("i",{className:`${br}`}),$r)}var bt=({watch:Yn,showNullButton:Sr,showNullProgramButton:br,onActionCallback:Nr,fullScreen:Jr,insertTemp:$r,hidetoolBar:Ur,extraUse:aa})=>{const Hr=[...$e,{title:`${Yn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Yn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Ur&&Hr.map((pa,ea)=>b.createElement("li",{key:ea},pa.actionName?b.createElement(nt,_e(ze({},pa),{onActionCallback:Nr})):b.createElement("span",{className:"v-line"}))),Sr?b.createElement("li",null,b.createElement(nt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,br?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,$r&&b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$r}`,onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),aa&&b.createElement("li",null,aa),b.createElement("li",{className:"btn-full-screen"},b.createElement(nt,{icon:`${Jr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Jr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nr})))},it=y(88487),Nt=y(28284),vt=y(37568),dt=y(7939),It=Object.defineProperty,St=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Tn=(Yn,Sr,br)=>Sr in Yn?It(Yn,Sr,{enumerable:!0,configurable:!0,writable:!0,value:br}):Yn[Sr]=br,Tt=(Yn,Sr)=>{for(var br in Sr||(Sr={}))Rt.call(Sr,br)&&Tn(Yn,br,Sr[br]);if(Jt)for(var br of Jt(Sr))Zt.call(Sr,br)&&Tn(Yn,br,Sr[br]);return Yn},Ye=(Yn,Sr)=>St(Yn,qe(Sr));const Se={labelCol:{span:4},wrapperCol:{span:20}};var Qt=({callback:Yn,onCancel:Sr})=>{function br(Nr){Yn(Nr)}return b.createElement(Nt.default,Ye(Tt({},Se),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:br,style:{width:500}}),b.createElement(Nt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(vt.default,null)),b.createElement(Nt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(vt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(dt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(dt.ZP,{type:"ghost",onClick:Sr},"\u53D6\u6D88")))},on=y(28267),st=y(53332),Ut=y(62957),Gt=y(77019),On=y(40254),ft=y(59301),En=({callback:Yn,onCancel:Sr})=>{const br=document.createElement("canvas"),Nr=br.getContext("2d");br.width=1e3,br.height=800,Nr.fillStyle="#ffffff",Nr.fillRect(0,0,br.width,br.height);const Jr=br.toDataURL("image/png");return ft.createElement(Ut.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ft.createElement(Gt.Z,{style:{height:"100vh"}},ft.createElement(On.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Jr,visible:!0,title:String(Date.now())},onOk:$r=>{Yn({src:$r.url})},onClose:Sr})))},Ht=y(36207),gn=y(5269),un=y(6767),De={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},he=y(59301),Te=(0,b.forwardRef)(({onCancel:Yn,editImgId:Sr,callback:br},Nr)=>{let Jr=(0,b.useRef)(),$r=(0,b.useRef)(),Ur=(0,b.useRef)(),aa=(0,b.useRef)(!1);const Hr=(0,b.useRef)(!1);console.log("ref:",Nr);const[pa,ea]=(0,b.useState)(0),[jn,sr]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{ea(1)},[]),(0,b.useImperativeHandle)(Nr,()=>({setHeight:sr})),he.createElement("div",{ref:Hr,className:"body-overflow-initial"},he.createElement(Ht.Z,{width:"100vw",height:jn,footer:null,closable:!0,placement:"bottom",open:!!pa,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${De.drawerWrap}`,onClose:()=>{window.saveDrawData(Kr=>{br({src:`/api/attachments/${Kr}`,id:Kr})})},title:he.createElement(Gt.Z,{align:"middle"},he.createElement(gn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(gn.Z,{onClick:()=>{sr(jn==="60px"?"100vh":"60px")}},he.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),he.createElement(gn.Z,{onClick:()=>{window.saveDrawData(Kr=>{if(Kr===null){un.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}un.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),br({src:`/api/attachments/${Kr}`,id:Kr,disabledClose:!0})})}},he.createElement(dt.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},he.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Sr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:$r})))}),je=y(14185),ge=y(47889),Pe=y(4875);const ct=ge.ZP.Group,$t={margin:"0 8px"};var gt=({callback:Yn,onCancel:Sr})=>{function br(Nr){Yn(Nr)}return b.createElement(Nt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:br},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:$t},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:$t},"\u884C\u6570"),b.createElement(Nt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Pe.Z,null)),b.createElement("span",{style:$t},"\u5217\u6570"),b.createElement(Nt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Pe.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:$t},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Nt.default.Item,{name:"align"},b.createElement(ct,null,b.createElement(ge.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(ge.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(ge.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(ge.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(dt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(dt.ZP,{type:"ghost",onClick:Sr},"\u53D6\u6D88")))},yt=y(58755),Dt=y(84915),Pt=y.n(Dt),pn=(0,b.forwardRef)(({use3d:Yn,width:Sr,height:br,callback:Nr,showSaveButton:Jr},$r)=>{const Ur=(0,b.useRef)(),aa=(0,b.useRef)(),[Hr,pa]=(0,b.useState)(!1),ea=(0,b.useRef)({id:Ur,appName:"graphing",width:Sr||1e3,height:br||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{aa.current=new(Pt())(ea.current,!0),window.onload=function(){aa.current.inject("applet_container")}},[]);const jn=()=>{var sr=window.ggbApplet.getPNGBase64(1,!0,72);return Nr&&Nr(sr),sr};return(0,b.useEffect)(()=>{ea.current.appName=Hr?"3D":"graphing",aa.current.inject("applet_container")},[Hr]),(0,b.useEffect)(()=>{pa(Yn)},[Yn]),(0,b.useImperativeHandle)($r,()=>({getImgData:jn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ur}),b.createElement(Gt.Z,{align:"middle"},b.createElement(gn.Z,{flex:1},b.createElement(yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Hr,onChange:sr=>pa(sr)})),b.createElement(gn.Z,null,b.createElement(dt.ZP,{size:"large",onClick:jn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),fn=y(9057);const Mt="link",Ln="upload-image",kn="add-flowchart",wn="draw-image",ln="add-flowchart",In="code-block",xn="add-table",kt="------------",Yt={default:kt,left:`:${kt}`,center:`:${kt}:`,right:`${kt}:`};var Ft=y(79006),vn=y(76406);function Ct(){}let pt=0;const de=1e4,qt="\u2581",Dn="@\u2581\u2581@",mn="@\u2581@",vr=`
|
|
|
**\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`,yr=["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 ar(Yn){return/^\d+$/.test(Yn)?`${Yn}px`:Yn}const wt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Qn={[wt+"-B"]:"bold",[wt+"-I"]:"italic"},lr={[Mt]:"\u6DFB\u52A0\u94FE\u63A5",[In]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ln]:"\u6DFB\u52A0\u56FE\u7247",[wn]:"\u6DFB\u52A0\u753B\u56FE",[kn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cr=({defaultValue:Yn="",onChange:Sr,width:br="100%",height:Nr=400,miniToolbar:Jr=!1,isFocus:$r=!1,watch:Ur,insertTemp:aa,mode:Hr="markdown",id:pa="markdown-editor-id",showResizeBar:ea=!1,noStorage:jn=!1,showNullButton:sr=!1,showNullProgramButton:Kr=!1,hidetoolBar:zr=!1,fullScreen:ve=!1,onBlur:Ie,onCMBeforeChange:ut,onFullScreen:Le,className:He="",disablePaste:Vt=!1,disabled:et=!1,disabledFill:en=!1,placeholder:cn="",values:Xt="",extraUse:an,onAddBlank:Kt})=>{const[nn,rt]=(0,b.useState)(null),[Jn,Bt]=(0,b.useState)(Yn),[rr,Pr]=(0,b.useState)(Ur),[Sn,rn]=(0,b.useState)(ve),[Cn,Pn]=(0,b.useState)(""),[zn,tr]=(0,b.useState)(0),[wr,pr]=(0,b.useState)(Nr),[Zn,Kn]=(0,b.useState)(!1),[gr,dr]=(0,b.useState)(0),[Yr,Wr]=(0,b.useState)(0),Zr=(0,b.useRef)(),Qr=(0,b.useRef)(),ca=(0,b.useRef)(),Xr=(0,b.useRef)(),la=(0,b.useRef)(),_r=(0,b.useRef)(),oa=(0,me.useDispatch)();(0,b.useEffect)(()=>{const ur=window.scrollY||window.pageYOffset;Bt(Xt),nn==null||nn.setValue(Xt),window.scrollTo(0,ur)},[Xt]),(0,b.useEffect)(()=>{Le==null||Le(Sn)},[Sn]),(0,b.useEffect)(()=>{if(Zr.current){let ur=function(xr,Or){var ba;if(Vt){Or.preventDefault();return}const da=Or.clipboardData;if(da){const ya=da.types.toString(),Ma=da.items;if(ya==="Files"||da.types.indexOf("Files")>-1){if(Or.preventDefault(),Hr=="stex")return;try{let _a=Ma[1];((ba=Ma[0])==null?void 0:ba.kind)==="file"&&(_a=Ma[0]);const Na=_a.getAsFile(),Ha=Na.name.split(".").pop();(0,st.I)(Na,Da=>{var ja,Gr,bi;Da.id?((ja=Na==null?void 0:Na.type)==null?void 0:ja.indexOf("image"))>-1?nr.replaceSelection(`<img width="100%" src="/api/attachments/${Da.id}?type=${Da.content_type})" alt="" />`):((Gr=Na==null?void 0:Na.type)==null?void 0:Gr.indexOf("video"))>-1?nr.replaceSelection(`<video width="100%" controls src="/api/attachments/${Da.id}"></video>`):((bi=Na==null?void 0:Na.type)==null?void 0:bi.indexOf("pdf"))>-1?nr.replaceSelection(`<a href="/api/attachments/${Da.id}?type=${Na.type}&disposition=inline" target="_blank">${Na.name}</a>`):yr.includes(Ha)?nr.replaceSelection(`<a href="/api/attachments/${Da.id}?type=office&disposition=inline" target="_blank">${Na.name}</a>`):nr.replaceSelection(`[${Na.name}](/api/attachments/${Da.id}?type=${Da.content_type})`):(Da==null?void 0:Da.status)===401&&(document.location.href="/user/login")})}catch(_a){un.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const nr=pe().fromTextArea(Zr.current,{mode:Hr,lineNumbers:!Jr,lineWrapping:!0,value:Yn,autoCloseTags:!0,autoCloseBrackets:!0});return nr.on("keyup",function(xr,Or){Or.keyCode===8&&(xr.getValue()==""?nr.setOption("placeholder",cn):nr.setOption("placeholder",null))}),nr.on("keydown",function(xr,Or){if(Or.keyCode===8){var ba=Ea(xr);ba&&Or.preventDefault()}}),$r&&nr.focus(),nr.on("paste",ur),et&&nr.on("beforeChange",function(xr,Or){(Or.origin==="paste"||Or.origin==="+input")&&Or.cancel()}),rt(nr),()=>{nr.off("paste",ur)}}},[]);const _t=(0,b.useCallback)(()=>{if(Qr.current)try{}catch(ur){console.log(ur,"---- to set md editor body height")}},[wr,Qr,Sn]);(0,b.useEffect)(()=>{function ur(){let nr=new be.Z(xr=>{for(let Or of xr)(Or.target.offsetHeight>0||Or.target.offsetWidth>0)&&(_t(),nn.setSize("100%","100%"),nn.refresh())});return nr.observe(Zr.current.parentElement),nr}if(nn){const nr=ur();return()=>{var xr,Or;(xr=Zr.current)!=null&&xr.parentElement&&nr.unobserve((Or=Zr.current)==null?void 0:Or.parentElement)}}},[nn,_t]),(0,b.useEffect)(()=>{if(nn){let ur=[];for(const[nr,xr]of Object.entries(Qn)){let Or={[nr]:()=>{ia(xr)}};ur.push(Or),nn.addKeyMap(Or)}return()=>{for(let nr of ur)nn.removeKeyMap(nr)}}},[nn]),(0,b.useEffect)(()=>{ve!==Sn&&rn(ve)},[ve]),(0,Ft.Z)(()=>{if(!jn&&zn>0){let ur=new Date().getTime(),nr=window.sessionStorage.getItem(pa);ur>=zn+de&&(!nr||nr!==Jn)&&(window.sessionStorage.setItem(pa,Jn),Kn(!0))}},de),(0,b.useEffect)(()=>{Pr(Ur)},[nn,Ur]),(0,b.useEffect)(()=>{nn&&$r&&nn.focus()},[nn,$r]),(0,b.useEffect)(()=>{if(rr&&nn){let ur=function(xr){let Or=xr.target;if(Xr.current){let ba=Or.scrollTop/Or.scrollHeight;Xr.current.scrollTop=Xr.current.scrollHeight*ba}};const nr=nn.getScrollerElement();return nr.addEventListener("scroll",ur),()=>{nr.removeEventListener("scroll",ur)}}},[nn,rr]),(0,b.useEffect)(()=>{if(nn&&ut){let ur=function(nr,xr){ut(nr,xr)};return nn.on("beforeChange",ur),()=>{nn.off("beforeChange",ur)}}},[nn,ut]),(0,b.useEffect)(()=>{if(nn&&Ie){let ur=function(){Ie(nn.getValue())};return nn.on("blur",ur),()=>{nn.off("blur",ur)}}},[nn,Ie]);function Ea(ur,nr){var xr=ur.getDoc(),Or=xr.getCursor(),ba=xr.getLine(Or.line),da=ba.charAt(Or.ch-1),ya=ba.lastIndexOf("@\u2581@",Or.ch),Ma=ba.lastIndexOf("@\u2581\u2581@",Or.ch),_a=ya>Ma?ya:Ma,Na=ya>Ma?3:4;if(Dn.indexOf(da)===-1)return null;if(console.log("change1:",nr,ur,ba,Or,_a,ya,Ma,da),_a>=0&&Or.ch-_a<5){var Ha=_a+Na;return xr.replaceRange("",{line:Or.line,ch:_a},{line:Or.line,ch:Ha}),{line:Or.line,ch:Ha}}return null}(0,b.useEffect)(()=>{if(nn){let ur=function(nr,xr){const Or=nr.getValue();Bt(Or),tr(new Date().getTime()),nr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Sr&&(Kr?Sr(Or,hr(Or)):Sr(Or))};return nn.on("change",ur),()=>{nn.off("change",ur)}}},[nn,Sr]),(0,b.useEffect)(()=>{if(nn)if(Yn==null)nn.setValue(""),Bt("");else{const ur=window.scrollY||window.pageYOffset;Yn!==nn.getValue()&&(nn.setValue(Yn),Bt(Yn),nn.setCursor(et?1:nn.lineCount(),0),window.scrollTo(0,ur))}},[nn,Yn]);const ia=(0,b.useCallback)(ur=>{const nr=nn.getCursor(),xr=nn.getSelection();let Or=xr.split(`
|
|
|
`);switch(ur){case"bold":return nn.replaceSelection("**"+xr+"**"),xr===""&&nn.setCursor(nr.line,nr.ch+2),nn.focus();case"italic":return nn.replaceSelection("*"+xr+"*"),xr===""&&nn.setCursor(nr.line,nr.ch+1),nn.focus();case"code":return nn.replaceSelection("`"+xr+"`"),xr===""&&nn.setCursor(nr.line,nr.ch+1),nn.focus();case"inline-latex":return(0,vn.Ye)(oa)?void 0:(Pn("inline-latex"),nn.focus());case"latex":return nn.replaceSelection("```latex\n"+xr+"\n```"),nn.setCursor(nr.line+1,xr.length+1),nn.focus();case"line-break":return nn.replaceSelection(`<br/>
|
|
|
`),nn.focus();case"list-ul":return xr===""?nn.replaceSelection("- "+xr):nn.replaceSelection(Or.map(ba=>ba===""?"":`- ${ba}`).join(`
|
|
|
`)),nn.focus();case"list-ol":return xr===""?nn.replaceSelection("1. "+xr):nn.replaceSelection(Or.map((ba,da)=>ba===""?"":`${da+1}. ${ba}`).join(`
|
|
|
`)),nn.focus();case"add-null-ch":Kt==null||Kt();return;case"add-signal":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(mn),nn.focus();case"add-multiple":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(Dn),nn.focus();case"inster-template-1":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(vr),nn.focus();case"eraser":return nn.setValue(""),nn.focus();case"trigger-watch":return Pr(!rr),nn.focus();case"trigger-full-screen":return rn(!Sn),nn.focus();case Mt:Pn(Mt);return;case In:Pn(In);return;case Ln:Pn(Ln);return;case wn:Pn(wn);return;case"maths-latex":if((0,vn.Ye)(oa))return;Pn("maths-latex");return;case kn:la.current="",sessionStorage.removeItem("file_id"),Pn(kn);return;case xn:Pn(xn);return;default:throw new Error}},[nn,rr,Sn]),ra=(0,b.useCallback)((ur,nr)=>{var xr,Or,ba,da,ya,Ma;ur!=null&&ur.disabledClose||Pn("");const{src:_a,alt:Na,id:Ha}=ur||{};switch(Cn){case Mt:const{title:wi,link:Pa}=ur;return nn.replaceSelection(`[${wi}](${Pa})`),nn.focus();case In:const{language:li,content:fi}=ur;return nn.replaceSelection(["```"+li,fi,"```"].join(`
|
|
|
`)),nn.focus();case"maths-latex":for(var Da=atob(ur),ja=new Uint8Array(Da.length),Gr=0;Gr<Da.length;Gr++)ja[Gr]=Da.charCodeAt(Gr);var bi=new Blob([ja],{type:"image/png"});return(0,st.I)(bi,Ba=>{Ba.id?nn.replaceSelection(``):(Ba==null?void 0:Ba.status)===401&&(document.location.href="/user/login")}),nn.focus();case"inline-latex":return(0,vn.Ye)(oa)?void 0:(nn.replaceSelection("`$$"+ur+"$$`"),nn.focus());case ln:return Ha?(nn.getValue().indexOf(_a)===-1?nn.replaceSelection(`<center><img id="${Ha}" width="80%" src="${_a}" class="draw-flowchart" alt="${Na||""}" /></center>`):document.getElementById(Ha).src=je.Z.API_SERVER+_a+"?t="+Date.now(),nn.focus()):void 0;case Ln:case wn:const Ua=nr,Ni=(ba=(Or=(xr=Ua==null?void 0:Ua.name)==null?void 0:xr.split("."))==null?void 0:Or.pop)==null?void 0:ba.call(Or);return((da=Ua==null?void 0:Ua.type)==null?void 0:da.indexOf("image"))>-1||!(Ua!=null&&Ua.type)?Ua!=null&&Ua.align||Ua!=null&&Ua.width?nn.replaceSelection(`<p style="text-align:${Ua.align||"initial"}"><img width="${Ua.width?Ua.width+"%":"initial"}" src="${_a}" alt="${Na||""}" /></p>`):nn.replaceSelection(`<img width="100%" src="${_a}" alt="${Na||""}" />`):((ya=Ua==null?void 0:Ua.type)==null?void 0:ya.indexOf("video"))>-1?nn.replaceSelection(`<video width="100%" controls src="${_a}"></video>`):((Ma=Ua==null?void 0:Ua.type)==null?void 0:Ma.indexOf("pdf"))>-1?nn.replaceSelection(`<a href="${_a}?type=${Ua.type}&disposition=inline" target="_blank">${Ua.name}</a>`):yr.includes(Ni)?nn.replaceSelection(`<a href="${_a}?type=office&disposition=inline" target="_blank">${Ua.name}</a>`):nn.replaceSelection(`[${Ua.name}](${_a})`),nn.focus();case xn:const{row:Va,col:Aa,align:$a}=ur;let Ja=`
|
|
|
`;for(let Ba=0;Ba<Va;Ba++){let Xa=[],ma=[];for(let xi=0;xi<Aa;xi++)Ba===1&&ma.push(Yt[$a]),Xa.push(" ");Ba===1&&(Ja+=`| ${ma.join(" | ")} |
|
|
|
`),Ja+=`| ${Xa.join(Aa===1?"":" | ")} |
|
|
|
`}return nn.replaceSelection(Ja+`
|
|
|
`),nn.focus();default:throw new Error}},[nn,Cn]),fa=(0,b.useMemo)(()=>{switch(Cn){case Mt:return b.createElement(Qt,{callback:ra,onCancel:ha});case In:return b.createElement(on.Z,{callback:ra,onCancel:ha});case Ln:return b.createElement(st.Z,{callback:ra,onCancel:ha});case kn:return b.createElement(Te,{editImgId:la.current,callback:ra,onCancel:ha});case xn:return b.createElement(gt,{callback:ra,onCancel:ha});case"maths-latex":return b.createElement(pn,{showSaveButton:!0,callback:ra});case"inline-latex":return b.createElement(fn.Z,{showSaveButton:!0,callback:ra});default:return null}},[Cn]);function ha(){Pn("")}(0,b.useEffect)(()=>{if(ca.current){let ur=function(ya){ba=!0,da=ya.pageY},nr=function(){ba=!1},xr=function(ya){if(ba){let Ma=ya.pageY-da;Ma<0&&(Ma=0),Ma>300&&(Ma=300);let _a=Nr+Ma+"px";pr(_a)}},Or=ca.current,ba=!1,da=0;return Or.addEventListener("mousedown",ur),document.addEventListener("mousemove",xr),document.addEventListener("mouseup",nr),()=>{Or.removeEventListener("mousedown",ur),document.removeEventListener("mousemove",xr),document.removeEventListener("mouseup",nr)}}},[nn,ca]),(0,b.useEffect)(()=>{pr(Nr)},[Nr]);const Br=ar(br),Gn=ar(wr),Vr={width:Br,height:Gn},qn=(0,b.useMemo)(()=>{if(zn){let ur=new Date(zn),nr=ur.getHours(),xr=ur.getMinutes(),Or=ur.getSeconds();return nr=nr<10?"0"+nr:nr,xr=xr<10?"0"+xr:xr,Or=Or<10?"0"+Or:Or,`${nr}:${xr}:${Or}`}return 0},[zn]),hr=ur=>{const nr=[];if(Kr){let xr=-1;ur=ur.replace(/(@▁▁@|@▁@)/g,function(Or,ba,da){nr.push({multiLine:Or!==mn})})}return nr};function or(){window.sessionStorage.removeItem(pa),Kn(!1),tr(0)}function er(){Kn(!1),tr(0),nn.setValue(window.sessionStorage.getItem(pa))}(0,b.useEffect)(()=>{lr[Cn]&&Cn!==wn&&Cn!==kn&&setTimeout(()=>{const ur=document.getElementsByClassName("markdown-popup-form")[0],nr=window.innerWidth/2-ur.offsetWidth/2,xr=window.innerHeight/2-ur.offsetHeight/2;dr(nr),Wr(xr)},0)},[Cn]);const Dr=ur=>{ur.preventDefault();const nr=ur.clientX-gr,xr=ur.clientY-Yr;document.body.onmousemove=Or=>{let ba=Or.clientX-nr,da=Or.clientY-xr;const ya=document.getElementsByClassName("markdown-popup-form")[0],Ma=window.innerWidth-ya.offsetWidth,_a=window.innerHeight-ya.offsetHeight;ba=Math.max(0,Math.min(ba,Ma)),da=Math.max(0,Math.min(da,_a)),Ar(Or.clientX,Or.clientY,nr,xr)&&(dr(ba),Wr(da))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ar=(ur,nr,xr,Or)=>{const ba=document.body.clientHeight,da=document.body.clientWidth;return ur<20&&xr>ur||ur>da-20&&xr<ur||nr<20&&Or>nr||nr>ba-20&&Or<nr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Qr},b.createElement("div",{className:`markdown-editor-container ${He} ${rr?"on-preview":""} ${Jr?"mini":""} ${Sn?"full-screen":""}`,style:Vr},b.createElement(bt,{insertTemp:aa,watch:rr,fullScreen:Sn,showNullButton:sr,showNullProgramButton:Kr,onActionCallback:ia,hidetoolBar:zr,extraUse:an}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Zr,placeholder:cn})),rr?b.createElement("div",{ref:Xr,className:"preview-container"},Hr==="stex"&&b.createElement(At,{value:Jn}),Hr!=="stex"&&b.createElement(Fe.Z,{edit:!0,disabledFill:en,showProgramFill:Kr,value:Jn,openEditor:ur=>{var nr;la.current=ur,(nr=_r.current)==null||nr.setHeight("100vh"),setTimeout(()=>{Pn("add-flowchart")},150)}})):null))),ea?b.createElement("a",{ref:ca,className:"editor-resize"}):null,Cn===wn&&b.createElement(En,{callback:ra,onCancel:ha}),Cn===kn&&b.createElement(Te,{ref:_r,editImgId:la.current,callback:ra,onCancel:ha}),b.createElement(it.Z,null,lr[Cn]&&Cn!==wn&&Cn!==kn?b.createElement(Ut.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:gr,top:Yr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Dr},lr[Cn]),open:!0,onCancel:ha,footer:null,destroyOnClose:!0,width:Cn===kn?"1200px":null,height:Cn===kn?"80vh":null,className:"markdown-popup-form"},fa):null))}},53332:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $e},I:function(){return bt}});var b=y(28284),me=y(6767),le=y(37568),pe=y(44104),be=y(4875),fe=y(47889),we=y(7939),Oe=y(23216),Re=y(59301),xe=y(59301),Ge=Object.defineProperty,Fe=Object.defineProperties,At=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,We=(it,Nt,vt)=>Nt in it?Ge(it,Nt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):it[Nt]=vt,Ve=(it,Nt)=>{for(var vt in Nt||(Nt={}))tt.call(Nt,vt)&&We(it,vt,Nt[vt]);if(at)for(var vt of at(Nt))Je.call(Nt,vt)&&We(it,vt,Nt[vt]);return it},Ze=(it,Nt)=>Fe(it,At(Nt));const{useForm:Qe}=b.default,ze={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:it,onCancel:Nt})=>{const[vt]=Qe();let dt=(0,Re.useRef)();function It(Jt){dt.current.width=vt.getFieldValue("width"),dt.current.align=vt.getFieldValue("align"),it(Jt,dt.current)}function St(Jt,Rt){if(Jt.status===-1){me.ZP.error(Jt.message);return}vt.setFieldsValue({src:`/api/attachments/${Jt.id}`,type:Rt.type})}function qe(Jt){let Rt=Jt.target.files[0];dt.current=Rt,bt(Rt,St)}return xe.createElement(b.default,Ze(Ve({form:vt},_e),{className:"upload-image-panel",onFinish:It,style:{width:470,overflow:"hidden"}}),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},xe.createElement("div",{className:"flex-container"},xe.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},xe.createElement(le.default,{style:ze})),xe.createElement(nt,{onFileChange:qe}))),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},xe.createElement(le.default,{style:{width:264}})),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},xe.createElement(pe.Z,null,xe.createElement(b.default.Item,{name:"width",style:{margin:0}},xe.createElement(be.Z,{style:{width:264}})),xe.createElement("span",{className:"ml8"},"%"))),xe.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},xe.createElement(fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),xe.createElement("aside",null,xe.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},xe.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),xe.createElement(we.ZP,{type:"default",onClick:Nt},"\u53D6\u6D88"))))};function nt({onFileChange:it}){return xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",xe.createElement("input",{type:"file",onChange:it}))}function bt(it,Nt){if(!it)throw new String("\u6CA1\u6709\u6587\u4EF6");let vt=new FormData;vt.append("editormd-image-file",it),vt.append("file_param_name","editormd-image-file"),vt.append("byxhr","true");var dt=new window.XMLHttpRequest;dt.withCredentials=!0,dt.addEventListener("load",function(It){Nt(JSON.parse(It.target.responseText),it)},!1),dt.addEventListener("error",function(It){console.error(It)},!1),dt.open("POST",`${Oe.KI}/api/attachments.json`),dt.send(vt)}},88487:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return le}});var b=y(59301),me=y(4676);class le extends b.Component{constructor(be){super(be);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,me.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Ce,ae,y){"use strict";y.d(ae,{SV:function(){return En},ZP:function(){return ft}});var b=y(59301),me=y(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"]},pe={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"]},be={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(`
|
|
|
`)}]},fe={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(`
|
|
|
`)}]},we={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 Oe=y(53184),Re=y.n(Oe),xe=(Ht,gn,un)=>new Promise((De,he)=>{var ce=ge=>{try{je(un.next(ge))}catch(Pe){he(Pe)}},Te=ge=>{try{je(un.throw(ge))}catch(Pe){he(Pe)}},je=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);je((un=un.apply(Ht,gn)).next())});const Ge={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=(Ht,gn,un,De)=>{const he=gn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:un.lineNumber,endColumn:un.column});return Array.from(new Set(he.match(/\b\w{2,}\b/g)||[])).map(Te=>({label:Te,kind:Ht.languages.CompletionItemKind.Text,insertText:Te,range:De}))},At=(Ht,gn,un,De)=>{Ht.languages.registerCompletionItemProvider(gn,{provideCompletionItems(he,ce){const Te=he.getWordUntilPosition(ce),je={startLineNumber:ce.lineNumber,endLineNumber:ce.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},ge=he.getLineContent(ce.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Fe(Ht,he,ce,je),...un.map(ct=>({label:ct,kind:Ht.languages.CompletionItemKind.Keyword,documentation:ct,insertText:ct,insertTextRules:Ht.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je})),...De.map(ct=>({label:ct.label,kind:Ht.languages.CompletionItemKind.Snippet,documentation:ct.content,insertText:ge.startsWith("#")?ct.content.replace(/#/,""):ct.content,insertTextRules:Ht.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je}))]}}})};var at=Ht=>{Ge.languages.forEach(gn=>{Ht.languages.registerDocumentFormattingEditProvider(gn,{provideDocumentFormattingEdits(un){return xe(this,null,function*(){const De=Re()(un.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:un.getFullModelRange(),text:De}]})}})}),At(Ht,"java",pe.keywords,pe.quickKey),At(Ht,"cpp",be.keywords,be.quickKey),At(Ht,"c",le.keywords,[]),At(Ht,"python",fe.keywords,fe.quickKey),At(Ht,"scala",we.keywords,we.quickKey)};const tt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Je=Object.defineProperty,We=(Ht,gn,un)=>gn in Ht?Je(Ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Ht[gn]=un,Ve=(Ht,gn,un)=>We(Ht,typeof gn!="symbol"?gn+"":gn,un);const Ze=class nd{constructor(gn,un,De){this.placeholder=gn,this.editor=un,this.monaco=De,un.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return nd.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)}};Ve(Ze,"ID","editor.widget.placeholderHint");var ze=Ze,_e=y(96236),$e=y(6767),nt=y(25399),bt=y(78267),it=y(33156),Nt=y(56102),vt=Object.defineProperty,dt=Object.defineProperties,It=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Rt=(Ht,gn,un)=>gn in Ht?vt(Ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Ht[gn]=un,Zt=(Ht,gn)=>{for(var un in gn||(gn={}))qe.call(gn,un)&&Rt(Ht,un,gn[un]);if(St)for(var un of St(gn))Jt.call(gn,un)&&Rt(Ht,un,gn[un]);return Ht},Tn=(Ht,gn)=>dt(Ht,It(gn)),Tt=(Ht,gn)=>{var un={};for(var De in Ht)qe.call(Ht,De)&&gn.indexOf(De)<0&&(un[De]=Ht[De]);if(Ht!=null&&St)for(var De of St(Ht))gn.indexOf(De)<0&&Jt.call(Ht,De)&&(un[De]=Ht[De]);return un},Ye=(Ht,gn,un)=>new Promise((De,he)=>{var ce=ge=>{try{je(un.next(ge))}catch(Pe){he(Pe)}},Te=ge=>{try{je(un.throw(ge))}catch(Pe){he(Pe)}},je=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);je((un=un.apply(Ht,gn)).next())});function Se(Ht){return/^\d+$/.test(Ht)?`${Ht}px`:Ht}function Qt(){}let on=!1;const st={"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 Ut(Ht=[]){let gn=Ht;if(Array.isArray(Ht)){for(let un=0;un<Ht.length;un++){let De=st[Ht[un]];if(De)return De}return gn[0]}return st[gn]||gn}let Gt=null;const On=()=>Ye(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ht){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ht)}});var ft=Ht=>{var gn=Ht,{width:un="100%",height:De="100%",value:he,language:ce="javascript",style:Te={},options:je={},overrideServices:ge={},theme:Pe="vs-dark",onEditBlur:ct,isCopy:$t=!1,onSave:gt,autoHeight:yt=!1,forbidCopy:Dt=!1,forbidCopyTips:Pt,onChange:Wt=Qt,editorDidMount:pn=Qt,onFocus:fn=Qt,onBreakPoint:Mt=Qt,breakPointValue:Ln=[],filename:kn="educoder.txt",errorLine:wn,errorContent:ln="",highlightLine:In,openBreakPoint:xn=!1,placeholder:kt="",showMiniMap:Yt=!0}=gn,Ft=Tt(gn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const vn=(0,b.useRef)(),Ct=(0,b.useRef)({}),pt=(0,b.useRef)(),de=(0,b.useRef)(),qt=(0,b.useRef)([]),Dn=(0,b.useRef)(!1),mn=(0,b.useRef)(),vr=(0,b.useRef)(),yr=(0,b.useRef)(!1),[ar,Er]=(0,b.useState)(!1);function wt(){let jn;return vn.current&&(jn=new me.Z(sr=>{for(let Kr of sr)(Kr.target.offsetHeight>0||Kr.target.offsetWidth>0)&&Ct.current.instance.layout()}),jn.observe(vn.current)),jn}function Qn(){$e.ZP.warning({content:decodeURIComponent(Pt||tt),key:"monaco-editor-tip"})}const lr=()=>{let jn=Ct.current.instance;if(he!=null&&jn&&ar){const sr=jn.getModel();sr&&he!==sr.getValue()&&(on=!0,sr.setValue(he),jn.layout(),on=!1)}};(0,b.useEffect)(()=>{const jn=it.Z.subscribe("formatDocument",sr=>{var Kr;let zr=Ct.current.instance;(Kr=zr==null?void 0:zr.getAction)==null||Kr.call(zr,"editor.action.formatDocument").run()});return window.updateMonacoValue=sr=>{Wt(sr)},jn},[]),(0,b.useEffect)(()=>{var jn;let sr=Ct.current.instance;de.current&&clearTimeout(de.current),de.current=setTimeout(()=>{lr()},500),he&&(he!=null&&he.length)&&((jn=sr==null?void 0:sr.updateOptions)==null||jn.call(sr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(he.split(/\r\n|\r|\n/g).length))+3,5)}))},[he,ar,Ct.current]),(0,b.useEffect)(()=>{if(wn&&Ct.current&&Ct.current.instance){let sr=Ct.current.instance;sr.changeViewZones(function(Kr){var zr=document.createElement("div");zr.style.padding="10px 20px",zr.style.width="calc(100% - 20px)",zr.className="my-error-line-wrp",zr.innerHTML=ln,Kr.addZone({afterLineNumber:wn||11,heightInLines:3,domNode:zr})});var jn={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}};sr.addOverlayWidget(jn),sr.revealPositionInCenter({lineNumber:20,column:1})}},[wn,Ct.current,ar]);const cr=(jn="",sr)=>{if(!jn||jn.trim()==="")return!0;const zr=Ct.current.instance.getModel().getLineTokens(sr);let ve=!1;for(let Ie=0;Ie<2;Ie++)zr.getStandardTokenType(Ie)===1&&(ve=!0);return ve};(0,b.useEffect)(()=>{var jn;const sr=(jn=Ct.current)==null?void 0:jn.instance;if(sr&&ar&&Dt){const Kr=sr.onDidBlurEditorWidget(()=>{yr.current=!1}),zr=sr.onDidFocusEditorText(()=>{yr.current=!0});return()=>{Kr.dispose(),zr.dispose()}}},[Ct.current,ar,Dt]),(0,b.useEffect)(()=>{var jn;if((jn=Ct.current)!=null&&jn.instance&&ar&&xn){let sr=Ct.current.instance,Kr=sr.getModel();if(!Kr)return;(()=>{var an;let Kt=[],nn=[];const rt=Kr.getAllDecorations();for(let Bt of rt)Bt.options.className==="highlighted-line"&&(Kt.push((an=Bt==null?void 0:Bt.range)==null?void 0:an.startLineNumber),nn.push(Bt==null?void 0:Bt.id));if(In===Kt[0])return;Kr.deltaDecorations(nn,[]);const Jn=Kr.getLineCount();In&&In<=Jn&&(sr.deltaDecorations([],[{range:new Gt.Range(In,1,In,Kr.getLineMaxColumn(In)),options:{isWholeLine:!0,className:"highlighted-line"}}]),sr.revealLineInCenter(In))})();const ve=(an=!1)=>{var Kt;let nn=[],rt=[];const Jn=Kr.getAllDecorations();for(let Bt of Jn)Bt.options.linesDecorationsClassName==="breakpoints-select"&&(nn.push((Kt=Bt==null?void 0:Bt.range)==null?void 0:Kt.startLineNumber),rt.push(Bt==null?void 0:Bt.id));if(an)return{lines:nn,ids:rt};Mt(nn)},Ie=an=>Ye(void 0,null,function*(){let Kt={range:new Gt.Range(an,1,an,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Kr.deltaDecorations([],[Kt]),ve()}),ut=an=>Ye(void 0,null,function*(){let Kt=[];const nn=sr.getLineDecorations(an);for(let rt of nn)rt.options.linesDecorationsClassName==="breakpoints-select"&&Kt.push(rt.id);yield Kr.deltaDecorations(Kt,[]),ve()}),Le=an=>{let Kt=sr.getLineDecorations(an);for(let nn of Kt)if(nn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,bt.isEqual)(Ln,ve(!0).lines)){Kr.deltaDecorations(ve(!0).ids,[]);const an=Ln.map(Kt=>({range:new Gt.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Kr.deltaDecorations([],an)}const He=sr.onDidChangeModelContent(an=>{let Kt=sr.getPosition();if(Kt){let nn=Kt.lineNumber;clearTimeout(vr.current),vr.current=setTimeout(()=>{cr(Kr.getLineContent(nn),nn)?ut(nn):Le(nn)?(ut(nn),Ie(nn)):ve()},100)}}),Vt=sr.onMouseDown(an=>{var Kt,nn,rt;if(an.target.detail&&((rt=(nn=(Kt=an.target)==null?void 0:Kt.element)==null?void 0:nn.className)!=null&&rt.includes("line-numbers"))){let Jn=an.target.position.lineNumber;if(cr(Kr.getLineContent(Jn),Jn))return;Le(Jn)?ut(Jn):Ie(Jn)}}),et=an=>{let Kt={range:new Gt.Range(an,1,an,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};qt.current=sr.deltaDecorations(qt.current,[Kt])},en=()=>{qt.current=sr.deltaDecorations(qt.current,[])},cn=sr.onMouseMove(an=>{var Kt,nn,rt;if(en(),an.target.detail&&((rt=(nn=(Kt=an.target)==null?void 0:Kt.element)==null?void 0:nn.className)!=null&&rt.includes("line-numbers"))){let Jn=an.target.position.lineNumber;if(cr(Kr.getLineContent(Jn),Jn))return;et(Jn)}}),Xt=sr.onMouseLeave(()=>{en()});return()=>{He.dispose(),Vt.dispose(),cn.dispose(),Xt.dispose()}}},[Ct.current,ar,Ln,In,xn,ce]),(0,b.useEffect)(()=>{var jn;(jn=Ct.current)!=null&&jn.instance&&xn&&Ct.current.instance.setPosition({lineNumber:0,column:0})},[In]);function Yn(){let jn=Ct.current.instance;if(jn){const sr=jn.getSelection(),Kr=Ct.current.pastePos||{},zr=new Gt.Range(Kr.startLineNumber||sr.endLineNumber,Kr.startColumn||sr.endColumn,Kr.endLineNumber||sr.endLineNumber,Kr.endColumn||sr.endColumn);setTimeout(()=>{jn.executeEdits("",[{range:zr,text:""}])},300)}}function Sr(jn){(window.navigator.platform.match("Mac")?jn.metaKey:jn.ctrlKey)&&jn.keyCode==83&&(jn.preventDefault(),gt())}const br=()=>{if(yt&&Ct.current.instance){const jn=Ct.current.instance.getContentHeight();pa(jn<De?De:jn)}else pa(De)};function Nr(jn){var sr=document.createEvent("MouseEvents");sr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),jn.dispatchEvent(sr)}const Jr=jn=>{if(!yr.current)return;const{keyCode:sr,ctrlKey:Kr,metaKey:zr,target:ve,type:Ie}=jn;return(Ie==="paste"||(sr===67||sr===86)&&(zr||Kr))&&ve.nodeName==="TEXTAREA"&&(Qn(),jn.preventDefault()),!1};function $r(jn,sr){var Kr=window.URL||window.webkitURL||window,zr=new Blob([sr]),ve=document.createElementNS("http://www.w3.org/1999/xhtml","a");ve.href=Kr.createObjectURL(zr),ve.download=jn,Nr(ve)}(0,b.useEffect)(()=>{br()},[br]),(0,b.useEffect)(()=>{vn.current&&!ar&&Promise.all([y.e(8909),y.e(5977)]).then(y.bind(y,71448)).then(jn=>{try{Gt=jn,Ct.current.instance=Gt.editor.create(vn.current,{value:he,language:Ut(ce),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},ge);const sr=Ct.current.instance;let ve=[..._e.BH._menuItems].find(He=>He[0]._debugName=="EditorContext")[1],Ie=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ut=(He,Vt)=>{var et,en;let cn=He._first;do Vt.includes((en=(et=cn.element)==null?void 0:et.command)==null?void 0:en.id)&&He._remove(cn);while(cn=cn.next)};if(pn(sr,Gt),setTimeout(()=>{br(),Ct.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{$r(kn||"educoder.txt",sr.getValue())}})},500),Ct.current.subscription=sr.onDidChangeModelContent(He=>{Dn.current?clearTimeout(mn.current):(br(),Wt(sr.getValue(),He)),mn.current=setTimeout(()=>{Dn.current=!1},500)}),window.Monaco||at(Gt,Ut(ce)),Dt&&(ut(ve,Ie),vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Jr),window.removeEventListener("paste",Jr),window.addEventListener("keydown",Jr),window.addEventListener("paste",Jr)),window.Monaco=Gt,ct&&sr.onDidBlurEditorWidget(()=>{ct(sr.getValue())}),fn&&sr.onDidFocusEditorText(()=>{Dt&&On(),fn(sr.getValue())}),Dt){On();try{sr.onDidPaste(He=>{const Vt=sr.getSelection(),et=Ct.current.pastePos||{},en=new Gt.Range(et.startLineNumber||Vt.endLineNumber,et.startColumn||Vt.endColumn,et.endLineNumber||Vt.endLineNumber,et.endColumn||Vt.endColumn);sr.executeEdits("",[{range:He.range,text:""}])})}catch(He){}}let Le=wt();return kt&&typeof kt=="string"&&new ze(kt,sr,Gt),Er(!0),()=>{const He=Ct.current.instance;He.dispose();const Vt=He.getModel();Vt&&Vt.dispose(),Ct.current.subscription&&Ct.current.subscription.dispose(),Le.unobserve(vn.current)}}catch(sr){}})},[]),(0,b.useEffect)(()=>{if(Ct.current.instance&&ar)return document.addEventListener("keydown",Sr,!1),()=>{document.removeEventListener("keydown",Sr)}},[gt,ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;if(jn&&ar){let sr=Ut(ce);Gt.editor.setModelLanguage(jn.getModel(),sr)}},[ce,ar]),(0,b.useEffect)(()=>{Ct.current.instance&&ar&&Gt.editor.setTheme(Pe)},[Pe,ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;pt.current=je,jn&&ar&&(jn.updateOptions(Zt({},je)),setTimeout(()=>{jn.getModel().updateOptions(Zt({},je))},200))},[JSON.stringify(je),ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;jn&&ar&&jn.layout()},[un,De,ar]);const[Ur,aa]=(0,b.useState)(Se(un)),[Hr,pa]=(0,b.useState)(Se(De)),ea=Tn(Zt({},Te),{width:Ur,height:Hr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:vn,style:ea,onFocus:()=>{Dt&&On()}},$t&&b.createElement(Nt.CopyToClipboard,{text:he,onCopy:()=>$e.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(nt.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function En({width:Ht="100%",height:gn="100%",original:un,modified:De,language:he,options:ce={}}){const Te=(0,b.useRef)(),[je,ge]=(0,b.useState)(null);function Pe(yt){let Dt;return Te.current&&(Dt=new me.Z(Pt=>{for(let Wt of Pt)(Wt.target.offsetHeight>0||Wt.target.offsetWidth>0)&&yt.layout()}),Dt.observe(Te.current)),Dt}(0,b.useEffect)(()=>(Te.current&&Promise.all([y.e(8909),y.e(9404)]).then(y.bind(y,2550)).then(yt=>{Gt=yt;const Dt=Gt.editor.createDiffEditor(Te.current,Tn(Zt({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},ce),{wordWrap:!0}));ge(Dt);let Pt=Pe(Dt);return()=>{Dt.dispose();const Wt=Dt.getModel();Wt&&Wt.dispose(),Pt.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{je&&je.setModel({original:Gt.editor.createModel(un,he),modified:Gt.editor.createModel(De,he)})},[un,De,he,je]);const ct=Se(Ht),$t=Se(gn),gt={width:ct,height:$t};return b.createElement("div",{className:"my-diff-editor",ref:Te,style:gt})}},79006:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(59301);function me(le,pe){const be=(0,b.useRef)();(0,b.useEffect)(()=>{be.current=le}),(0,b.useEffect)(()=>{function fe(){be.current()}if(pe!==null){let we=setInterval(fe,pe);return()=>clearInterval(we)}},[pe])}},25549:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{default:function(){return Fr}});var b=y(59301),me=y(6767),le=y(94968),pe=y(62957),be=y(25399),fe=y(29787),we=y(75727),Oe=y(7939),Re=y(37568),xe=y(44283),Ge={flex_box_center:"flex_box_center___tP7O7",flex_space_between:"flex_space_between___DzPut",flex_box_vertical_center:"flex_box_vertical_center___lvMeU",flex_box_center_end:"flex_box_center_end___AEVBm",flex_box_column:"flex_box_column___CakhE",wrap:"wrap___EF2Mg",show_button:"show_button___iz0Ga",show_button_icon:"show_button_icon___iNp_E",left:"left___EXwxP",leftheader:"leftheader___V5S1y",close_ai:"close_ai___eHxuv",leftcontent:"leftcontent___lFc7i",leftcontentright:"leftcontentright___GsuUS",liaotian_files:"liaotian_files___QnDUu",liaotian_file:"liaotian_file___dQ703",fileName:"fileName___cjuxg",fileDelred:"fileDelred___nGLZO",fileDel:"fileDel___tgTrx",leftcontentleft:"leftcontentleft___U6nEw",letitle:"letitle___Pb89J",lecont:"lecont___VJ9Uk",left_step:"left_step___fEbWU",left_step_item:"left_step_item___idu68",stepNum:"stepNum___eFutj",item_title:"item_title___jSxBN",item_status:"item_status___q1inY",practice:"practice___QnJoR",inputTop:"inputTop___xG6Ir",dropdown:"dropdown___U6r2x",inputWrap:"inputWrap___GPfQj",action:"action___NU3v3",btnWrap:"btnWrap___gELWd",btn:"btn___uT9kw",btnActive:"btnActive___WyhNu",btnDisabled:"btnDisabled___YlRSu",uploadBtn:"uploadBtn___mcZ1N",sendBtn:"sendBtn___RYtg9",sendBtnDisabled:"sendBtnDisabled___wCYSg",cancelBtn:"cancelBtn___FIY1n",files:"files___gYUIb",left_data:"left_data___PppxQ",right_data:"right_data___yWB32",file:"file___mAxSR",right:"right___CTfSa",right_header:"right_header___w06pV",right_header_title:"right_header_title___GpvW2",button_list:"button_list___gZxzJ",button_left:"button_left___MtoEX",button_right:"button_right___a8DQX",right_step:"right_step___J31m3",step_item:"step_item___mjRBJ",stream_header:"stream_header___W8pxs",stream_header_title:"stream_header_title___ShG5p",stream_tootip:"stream_tootip___IvO6Z",tootip_text:"tootip_text___lvbXo",loadingPic:"loadingPic___cEOTx",dots:"dots___cYjHi"},Fe=y(14185),At=y(76406),at={container:"container___esDWu",katex:"katex____ln1S",liWrap:"liWrap___oniVY",backBottom:"backBottom___qLjSm",imgBox:"imgBox___xQGaU"},tt=y(86204),Je=Object.defineProperty,We=(oe,z,te)=>z in oe?Je(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Ve=(oe,z,te)=>We(oe,typeof z!="symbol"?z+"":z,te),Ze=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});class Qe extends tt.EventEmitter{constructor(z,te){super(),Ve(this,"url"),Ve(this,"body"),Ve(this,"fullContent",""),Ve(this,"controller",null),this.url=z,this.body=te}startStream(){return Ze(this,null,function*(){this.controller=new AbortController;const{signal:z}=this.controller;try{const te=yield fetch(this.url,(0,At.Ec)({method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:z}));if(!te.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${te.status}`);const ue=te.headers.get("content-type");if(!ue)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ue.includes("application/json")){const Xe=yield te.json();this.emit("error",Xe);return}if(!ue.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ee=te.body.getReader(),Me=new TextDecoder("utf-8");for(;;){const{done:Xe,value:lt}=yield Ee.read();if(Xe)break;const zt=Me.decode(lt,{stream:!0}).split(`
|
|
|
`);for(const sn of zt)if(sn.startsWith("data:")){const An=sn.slice(5).trim();if(An==="[DONE]")break;try{const Fn=JSON.parse(An);Fn.data&&this.handleData(Fn.data)}catch(Fn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Fn)}}}this.emit("done",this.fullContent)}catch(te){te.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",te.message)}})}handleData(z){z.content&&(this.fullContent+=z.content,this.emit("data",{chunk:z,full:this.fullContent}))}cancelRequest(){var z;(z=this.controller)==null||z.abort()}}var ze=Qe,_e=y(24342),$e=y(66328),nt=y(84821),bt=y(18369),it=y(56102),Nt={answer:"answer___JC571",imgWrap:"imgWrap___QTKQP",codeCopy:"codeCopy___ph6sc"},vt=y(75786),dt=y(40797),It=y(91378);class St extends Error{constructor(z,te){var ue="KaTeX parse error: "+z,Ee,Me,Xe=te&&te.loc;if(Xe&&Xe.start<=Xe.end){var lt=Xe.lexer.input;Ee=Xe.start,Me=Xe.end,Ee===lt.length?ue+=" at end of input: ":ue+=" at position "+(Ee+1)+": ";var ht=lt.slice(Ee,Me).replace(/[^]/g,"$&\u0332"),zt;Ee>15?zt="\u2026"+lt.slice(Ee-15,Ee):zt=lt.slice(0,Ee);var sn;Me+15<lt.length?sn=lt.slice(Me,Me+15)+"\u2026":sn=lt.slice(Me),ue+=zt+ht+sn}super(ue),this.name="ParseError",Object.setPrototypeOf(this,St.prototype),this.position=Ee,Ee!=null&&Me!=null&&(this.length=Me-Ee),this.rawMessage=z}}var qe=/([A-Z])/g,Jt=oe=>oe.replace(qe,"-$1").toLowerCase(),Rt={"&":"&",">":">","<":"<",'"':""","'":"'"},Zt=/[&><"']/g,Tn=oe=>String(oe).replace(Zt,z=>Rt[z]),Tt=oe=>oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?Tt(oe.body[0]):oe:oe.type==="font"?Tt(oe.body):oe,Ye=new Set(["mathord","textord","atom"]),Se=oe=>Ye.has(Tt(oe).type),Qt=oe=>{var z=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(oe);return z?z[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(z[1])?null:z[1].toLowerCase():"_relative"},on={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:oe=>"#"+oe},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(oe,z)=>(z.push(oe),z)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:oe=>Math.max(0,oe),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:oe=>Math.max(0,oe),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:oe=>Math.max(0,oe),cli:"-e, --max-expand <n>",cliProcessor:oe=>oe==="Infinity"?1/0:parseInt(oe)},globalGroup:{type:"boolean",cli:!1}};function st(oe){if("default"in oe)return oe.default;var z=oe.type,te=Array.isArray(z)?z[0]:z;if(typeof te!="string")return te.enum[0];switch(te){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ut{constructor(z){z===void 0&&(z={}),z=z||{};for(var te of Object.keys(on)){var ue=on[te],Ee=z[te];this[te]=Ee!==void 0?ue.processor?ue.processor(Ee):Ee:st(ue)}}reportNonstrict(z,te,ue){var Ee=this.strict;if(typeof Ee=="function"&&(Ee=Ee(z,te,ue)),!(!Ee||Ee==="ignore")){if(Ee===!0||Ee==="error")throw new St("LaTeX-incompatible input and strict mode is set to 'error': "+(te+" ["+z+"]"),ue);Ee==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ee+"': "+te+" ["+z+"]"))}}useStrictBehavior(z,te,ue){var Ee=this.strict;if(typeof Ee=="function")try{Ee=Ee(z,te,ue)}catch(Me){Ee="error"}return!Ee||Ee==="ignore"?!1:Ee===!0||Ee==="error"?!0:Ee==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ee+"': "+te+" ["+z+"]")),!1)}isTrusted(z){if("url"in z&&z.url&&!z.protocol){var te=Qt(z.url);if(te==null)return!1;z.protocol=te}var ue=typeof this.trust=="function"?this.trust(z):this.trust;return!!ue}}class Gt{constructor(z,te,ue){this.id=z,this.size=te,this.cramped=ue}sup(){return ce[Te[this.id]]}sub(){return ce[je[this.id]]}fracNum(){return ce[ge[this.id]]}fracDen(){return ce[Pe[this.id]]}cramp(){return ce[ct[this.id]]}text(){return ce[$t[this.id]]}isTight(){return this.size>=2}}var On=0,ft=1,En=2,Ht=3,gn=4,un=5,De=6,he=7,ce=[new Gt(On,0,!1),new Gt(ft,0,!0),new Gt(En,1,!1),new Gt(Ht,1,!0),new Gt(gn,2,!1),new Gt(un,2,!0),new Gt(De,3,!1),new Gt(he,3,!0)],Te=[gn,un,gn,un,De,he,De,he],je=[un,un,un,un,he,he,he,he],ge=[En,Ht,gn,un,De,he,De,he],Pe=[Ht,Ht,un,un,he,he,he,he],ct=[ft,ft,Ht,Ht,un,un,he,he],$t=[On,ft,En,Ht,En,Ht,En,Ht],gt={DISPLAY:ce[On],TEXT:ce[En],SCRIPT:ce[gn],SCRIPTSCRIPT:ce[De]},yt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Dt(oe){for(var z=0;z<yt.length;z++)for(var te=yt[z],ue=0;ue<te.blocks.length;ue++){var Ee=te.blocks[ue];if(oe>=Ee[0]&&oe<=Ee[1])return te.name}return null}var Pt=[];yt.forEach(oe=>oe.blocks.forEach(z=>Pt.push(...z)));function Wt(oe){for(var z=0;z<Pt.length;z+=2)if(oe>=Pt[z]&&oe<=Pt[z+1])return!0;return!1}var pn=80,fn=function(z,te){return"M95,"+(622+z+te)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+z/2.075+" -"+z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+z)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Mt=function(z,te){return"M263,"+(601+z+te)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+z/2.084+" -"+z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+z)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Ln=function(z,te){return"M983 "+(10+z+te)+`
|
|
|
l`+z/3.13+" -"+z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+z)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},kn=function(z,te){return"M424,"+(2398+z+te)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+z/4.223+" -"+z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+z)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+z)+" "+te+`
|
|
|
h400000v`+(40+z)+"h-400000z"},wn=function(z,te){return"M473,"+(2713+z+te)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+z/5.298+" -"+z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+z)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+z)+" "+te+"h400000v"+(40+z)+"H1017.7z"},ln=function(z){var te=z/2;return"M400000 "+z+" H0 L"+te+" 0 l65 45 L145 "+(z-80)+" H400000z"},In=function(z,te,ue){var Ee=ue-54-te-z;return"M702 "+(z+te)+"H400000"+(40+z)+`
|
|
|
H742v`+Ee+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+te+"H400000v"+(40+z)+"H742z"},xn=function(z,te,ue){te=1e3*te;var Ee="";switch(z){case"sqrtMain":Ee=fn(te,pn);break;case"sqrtSize1":Ee=Mt(te,pn);break;case"sqrtSize2":Ee=Ln(te,pn);break;case"sqrtSize3":Ee=kn(te,pn);break;case"sqrtSize4":Ee=wn(te,pn);break;case"sqrtTall":Ee=In(te,pn,ue)}return Ee},kt=function(z,te){switch(z){case"\u239C":return"M291 0 H417 V"+te+" H291z M291 0 H417 V"+te+" H291z";case"\u2223":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z";case"\u2225":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z"+("M367 0 H410 V"+te+" H367z M367 0 H410 V"+te+" H367z");case"\u239F":return"M457 0 H583 V"+te+" H457z M457 0 H583 V"+te+" H457z";case"\u23A2":return"M319 0 H403 V"+te+" H319z M319 0 H403 V"+te+" H319z";case"\u23A5":return"M263 0 H347 V"+te+" H263z M263 0 H347 V"+te+" H263z";case"\u23AA":return"M384 0 H504 V"+te+" H384z M384 0 H504 V"+te+" H384z";case"\u23D0":return"M312 0 H355 V"+te+" H312z M312 0 H355 V"+te+" H312z";case"\u2016":return"M257 0 H300 V"+te+" H257z M257 0 H300 V"+te+" H257z"+("M478 0 H521 V"+te+" H478z M478 0 H521 V"+te+" H478z");default:return""}},Yt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Ft=function(z,te){switch(z){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+te+` v1759 h347 v-84
|
|
|
H403z M403 1759 V0 H319 V1759 v`+te+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+te+` v1759 H0 v84 H347z
|
|
|
M347 1759 V0 H263 V1759 v`+te+" v1759 h84z";case"vert":return"M145 15 v585 v"+te+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-te+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+te+" v585 h43z";case"doublevert":return"M145 15 v585 v"+te+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-te+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+te+` v585 h43z
|
|
|
M367 15 v585 v`+te+` v585 c2.667,10,9.667,15,21,15
|
|
|
c10,0,16.667,-5,20,-15 v-585 v`+-te+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
|
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+te+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+te+` v1715 h263 v84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+te+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+te+` v1799 H0 v-84 H319z
|
|
|
MM319 602 V0 H403 V602 v`+te+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+te+` v602 h84z
|
|
|
M403 1759 V0 H319 V1759 v`+te+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+te+` v602 h84z
|
|
|
M347 1759 V0 h-84 V1759 v`+te+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
|
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
|
-36,557 l0,`+(te+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
|
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
|
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
|
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
|
l0,-`+(te+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
|
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
|
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
|
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(te+9)+`
|
|
|
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
|
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
|
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
|
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
|
l0,-`+(te+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},vn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ct={ex:!0,em:!0,mu:!0},pt=function(z){return typeof z!="string"&&(z=z.unit),z in vn||z in Ct||z==="ex"},de=function(z,te){var ue;if(z.unit in vn)ue=vn[z.unit]/te.fontMetrics().ptPerEm/te.sizeMultiplier;else if(z.unit==="mu")ue=te.fontMetrics().cssEmPerMu;else{var Ee;if(te.style.isTight()?Ee=te.havingStyle(te.style.text()):Ee=te,z.unit==="ex")ue=Ee.fontMetrics().xHeight;else if(z.unit==="em")ue=Ee.fontMetrics().quad;else throw new St("Invalid unit: '"+z.unit+"'");Ee!==te&&(ue*=Ee.sizeMultiplier/te.sizeMultiplier)}return Math.min(z.number*ue,te.maxSize)},qt=function(z){return+z.toFixed(4)+"em"},Dn=function(z){return z.filter(te=>te).join(" ")},mn=function(z,te,ue){if(this.classes=z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ue||{},te){te.style.isTight()&&this.classes.push("mtight");var Ee=te.getColor();Ee&&(this.style.color=Ee)}},vr=function(z){var te=document.createElement(z);te.className=Dn(this.classes);for(var ue of Object.keys(this.style))te.style[ue]=this.style[ue];for(var Ee of Object.keys(this.attributes))te.setAttribute(Ee,this.attributes[Ee]);for(var Me=0;Me<this.children.length;Me++)te.appendChild(this.children[Me].toNode());return te},yr=/[\s"'>/=\x00-\x1f]/,ar=function(z){var te="<"+z;this.classes.length&&(te+=' class="'+Tn(Dn(this.classes))+'"');var ue="";for(var Ee of Object.keys(this.style))ue+=Jt(Ee)+":"+this.style[Ee]+";";ue&&(te+=' style="'+Tn(ue)+'"');for(var Me of Object.keys(this.attributes)){if(yr.test(Me))throw new St("Invalid attribute name '"+Me+"'");te+=" "+Me+'="'+Tn(this.attributes[Me])+'"'}te+=">";for(var Xe=0;Xe<this.children.length;Xe++)te+=this.children[Xe].toMarkup();return te+="</"+z+">",te};class Er{constructor(z,te,ue,Ee){mn.call(this,z,ue,Ee),this.children=te||[]}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return vr.call(this,"span")}toMarkup(){return ar.call(this,"span")}}class wt{constructor(z,te,ue,Ee){mn.call(this,te,Ee),this.children=ue||[],this.setAttribute("href",z)}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return vr.call(this,"a")}toMarkup(){return ar.call(this,"a")}}class Qn{constructor(z,te,ue){this.alt=te,this.src=z,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=ue}hasClass(z){return this.classes.includes(z)}toNode(){var z=document.createElement("img");z.src=this.src,z.alt=this.alt,z.className="mord";for(var te of Object.keys(this.style))z.style[te]=this.style[te];return z}toMarkup(){var z='<img src="'+Tn(this.src)+'"'+(' alt="'+Tn(this.alt)+'"'),te="";for(var ue of Object.keys(this.style))te+=Jt(ue)+":"+this.style[ue]+";";return te&&(z+=' style="'+Tn(te)+'"'),z+="'/>",z}}var lr={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class cr{constructor(z,te,ue,Ee,Me,Xe,lt,ht){this.text=z,this.height=te||0,this.depth=ue||0,this.italic=Ee||0,this.skew=Me||0,this.width=Xe||0,this.classes=lt||[],this.style=ht||{},this.maxFontSize=0;var zt=Dt(this.text.charCodeAt(0));zt&&this.classes.push(zt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=lr[this.text])}hasClass(z){return this.classes.includes(z)}toNode(){var z=document.createTextNode(this.text),te=null;this.italic>0&&(te=document.createElement("span"),te.style.marginRight=qt(this.italic)),this.classes.length>0&&(te=te||document.createElement("span"),te.className=Dn(this.classes));for(var ue of Object.keys(this.style))te=te||document.createElement("span"),te.style[ue]=this.style[ue];return te?(te.appendChild(z),te):z}toMarkup(){var z=!1,te="<span";this.classes.length&&(z=!0,te+=' class="',te+=Tn(Dn(this.classes)),te+='"');var ue="";this.italic>0&&(ue+="margin-right:"+this.italic+"em;");for(var Ee of Object.keys(this.style))ue+=Jt(Ee)+":"+this.style[Ee]+";";ue&&(z=!0,te+=' style="'+Tn(ue)+'"');var Me=Tn(this.text);return z?(te+=">",te+=Me,te+="</span>",te):Me}}class Yn{constructor(z,te){this.children=z||[],this.attributes=te||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"svg");for(var ue of Object.keys(this.attributes))te.setAttribute(ue,this.attributes[ue]);for(var Ee=0;Ee<this.children.length;Ee++)te.appendChild(this.children[Ee].toNode());return te}toMarkup(){var z='<svg xmlns="http://www.w3.org/2000/svg"';for(var te of Object.keys(this.attributes))z+=" "+te+'="'+Tn(this.attributes[te])+'"';z+=">";for(var ue=0;ue<this.children.length;ue++)z+=this.children[ue].toMarkup();return z+="</svg>",z}}class Sr{constructor(z,te){this.pathName=z,this.alternate=te}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"path");return this.alternate?te.setAttribute("d",this.alternate):te.setAttribute("d",Yt[this.pathName]),te}toMarkup(){return this.alternate?'<path d="'+Tn(this.alternate)+'"/>':'<path d="'+Tn(Yt[this.pathName])+'"/>'}}class br{constructor(z){this.attributes=z||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"line");for(var ue of Object.keys(this.attributes))te.setAttribute(ue,this.attributes[ue]);return te}toMarkup(){var z="<line";for(var te of Object.keys(this.attributes))z+=" "+te+'="'+Tn(this.attributes[te])+'"';return z+="/>",z}}function Nr(oe){if(oe instanceof cr)return oe;throw new Error("Expected symbolNode but got "+String(oe)+".")}function Jr(oe){if(oe instanceof Er)return oe;throw new Error("Expected span<HtmlDomNode> but got "+String(oe)+".")}var $r={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ur={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},aa={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Hr(oe,z){$r[oe]=z}function pa(oe,z,te){if(!$r[z])throw new Error("Font metrics not found for font: "+z+".");var ue=oe.charCodeAt(0),Ee=$r[z][ue];if(!Ee&&oe[0]in aa&&(ue=aa[oe[0]].charCodeAt(0),Ee=$r[z][ue]),!Ee&&te==="text"&&Wt(ue)&&(Ee=$r[z][77]),Ee)return{depth:Ee[0],height:Ee[1],italic:Ee[2],skew:Ee[3],width:Ee[4]}}var ea={};function jn(oe){var z;if(oe>=5?z=0:oe>=3?z=1:z=2,!ea[z]){var te=ea[z]={cssEmPerMu:Ur.quad[z]/18};for(var ue in Ur)Ur.hasOwnProperty(ue)&&(te[ue]=Ur[ue][z])}return ea[z]}var sr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Kr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},zr={math:{},text:{}};function ve(oe,z,te,ue,Ee,Me){zr[oe][Ee]={font:z,group:te,replace:ue},Me&&ue&&(zr[oe][ue]=zr[oe][Ee])}var Ie="math",ut="text",Le="main",He="ams",Vt="accent-token",et="bin",en="close",cn="inner",Xt="mathord",an="op-token",Kt="open",nn="punct",rt="rel",Jn="spacing",Bt="textord";ve(Ie,Le,rt,"\u2261","\\equiv",!0),ve(Ie,Le,rt,"\u227A","\\prec",!0),ve(Ie,Le,rt,"\u227B","\\succ",!0),ve(Ie,Le,rt,"\u223C","\\sim",!0),ve(Ie,Le,rt,"\u22A5","\\perp"),ve(Ie,Le,rt,"\u2AAF","\\preceq",!0),ve(Ie,Le,rt,"\u2AB0","\\succeq",!0),ve(Ie,Le,rt,"\u2243","\\simeq",!0),ve(Ie,Le,rt,"\u2223","\\mid",!0),ve(Ie,Le,rt,"\u226A","\\ll",!0),ve(Ie,Le,rt,"\u226B","\\gg",!0),ve(Ie,Le,rt,"\u224D","\\asymp",!0),ve(Ie,Le,rt,"\u2225","\\parallel"),ve(Ie,Le,rt,"\u22C8","\\bowtie",!0),ve(Ie,Le,rt,"\u2323","\\smile",!0),ve(Ie,Le,rt,"\u2291","\\sqsubseteq",!0),ve(Ie,Le,rt,"\u2292","\\sqsupseteq",!0),ve(Ie,Le,rt,"\u2250","\\doteq",!0),ve(Ie,Le,rt,"\u2322","\\frown",!0),ve(Ie,Le,rt,"\u220B","\\ni",!0),ve(Ie,Le,rt,"\u221D","\\propto",!0),ve(Ie,Le,rt,"\u22A2","\\vdash",!0),ve(Ie,Le,rt,"\u22A3","\\dashv",!0),ve(Ie,Le,rt,"\u220B","\\owns"),ve(Ie,Le,nn,".","\\ldotp"),ve(Ie,Le,nn,"\u22C5","\\cdotp"),ve(Ie,Le,Bt,"#","\\#"),ve(ut,Le,Bt,"#","\\#"),ve(Ie,Le,Bt,"&","\\&"),ve(ut,Le,Bt,"&","\\&"),ve(Ie,Le,Bt,"\u2135","\\aleph",!0),ve(Ie,Le,Bt,"\u2200","\\forall",!0),ve(Ie,Le,Bt,"\u210F","\\hbar",!0),ve(Ie,Le,Bt,"\u2203","\\exists",!0),ve(Ie,Le,Bt,"\u2207","\\nabla",!0),ve(Ie,Le,Bt,"\u266D","\\flat",!0),ve(Ie,Le,Bt,"\u2113","\\ell",!0),ve(Ie,Le,Bt,"\u266E","\\natural",!0),ve(Ie,Le,Bt,"\u2663","\\clubsuit",!0),ve(Ie,Le,Bt,"\u2118","\\wp",!0),ve(Ie,Le,Bt,"\u266F","\\sharp",!0),ve(Ie,Le,Bt,"\u2662","\\diamondsuit",!0),ve(Ie,Le,Bt,"\u211C","\\Re",!0),ve(Ie,Le,Bt,"\u2661","\\heartsuit",!0),ve(Ie,Le,Bt,"\u2111","\\Im",!0),ve(Ie,Le,Bt,"\u2660","\\spadesuit",!0),ve(Ie,Le,Bt,"\xA7","\\S",!0),ve(ut,Le,Bt,"\xA7","\\S"),ve(Ie,Le,Bt,"\xB6","\\P",!0),ve(ut,Le,Bt,"\xB6","\\P"),ve(Ie,Le,Bt,"\u2020","\\dag"),ve(ut,Le,Bt,"\u2020","\\dag"),ve(ut,Le,Bt,"\u2020","\\textdagger"),ve(Ie,Le,Bt,"\u2021","\\ddag"),ve(ut,Le,Bt,"\u2021","\\ddag"),ve(ut,Le,Bt,"\u2021","\\textdaggerdbl"),ve(Ie,Le,en,"\u23B1","\\rmoustache",!0),ve(Ie,Le,Kt,"\u23B0","\\lmoustache",!0),ve(Ie,Le,en,"\u27EF","\\rgroup",!0),ve(Ie,Le,Kt,"\u27EE","\\lgroup",!0),ve(Ie,Le,et,"\u2213","\\mp",!0),ve(Ie,Le,et,"\u2296","\\ominus",!0),ve(Ie,Le,et,"\u228E","\\uplus",!0),ve(Ie,Le,et,"\u2293","\\sqcap",!0),ve(Ie,Le,et,"\u2217","\\ast"),ve(Ie,Le,et,"\u2294","\\sqcup",!0),ve(Ie,Le,et,"\u25EF","\\bigcirc",!0),ve(Ie,Le,et,"\u2219","\\bullet",!0),ve(Ie,Le,et,"\u2021","\\ddagger"),ve(Ie,Le,et,"\u2240","\\wr",!0),ve(Ie,Le,et,"\u2A3F","\\amalg"),ve(Ie,Le,et,"&","\\And"),ve(Ie,Le,rt,"\u27F5","\\longleftarrow",!0),ve(Ie,Le,rt,"\u21D0","\\Leftarrow",!0),ve(Ie,Le,rt,"\u27F8","\\Longleftarrow",!0),ve(Ie,Le,rt,"\u27F6","\\longrightarrow",!0),ve(Ie,Le,rt,"\u21D2","\\Rightarrow",!0),ve(Ie,Le,rt,"\u27F9","\\Longrightarrow",!0),ve(Ie,Le,rt,"\u2194","\\leftrightarrow",!0),ve(Ie,Le,rt,"\u27F7","\\longleftrightarrow",!0),ve(Ie,Le,rt,"\u21D4","\\Leftrightarrow",!0),ve(Ie,Le,rt,"\u27FA","\\Longleftrightarrow",!0),ve(Ie,Le,rt,"\u21A6","\\mapsto",!0),ve(Ie,Le,rt,"\u27FC","\\longmapsto",!0),ve(Ie,Le,rt,"\u2197","\\nearrow",!0),ve(Ie,Le,rt,"\u21A9","\\hookleftarrow",!0),ve(Ie,Le,rt,"\u21AA","\\hookrightarrow",!0),ve(Ie,Le,rt,"\u2198","\\searrow",!0),ve(Ie,Le,rt,"\u21BC","\\leftharpoonup",!0),ve(Ie,Le,rt,"\u21C0","\\rightharpoonup",!0),ve(Ie,Le,rt,"\u2199","\\swarrow",!0),ve(Ie,Le,rt,"\u21BD","\\leftharpoondown",!0),ve(Ie,Le,rt,"\u21C1","\\rightharpoondown",!0),ve(Ie,Le,rt,"\u2196","\\nwarrow",!0),ve(Ie,Le,rt,"\u21CC","\\rightleftharpoons",!0),ve(Ie,He,rt,"\u226E","\\nless",!0),ve(Ie,He,rt,"\uE010","\\@nleqslant"),ve(Ie,He,rt,"\uE011","\\@nleqq"),ve(Ie,He,rt,"\u2A87","\\lneq",!0),ve(Ie,He,rt,"\u2268","\\lneqq",!0),ve(Ie,He,rt,"\uE00C","\\@lvertneqq"),ve(Ie,He,rt,"\u22E6","\\lnsim",!0),ve(Ie,He,rt,"\u2A89","\\lnapprox",!0),ve(Ie,He,rt,"\u2280","\\nprec",!0),ve(Ie,He,rt,"\u22E0","\\npreceq",!0),ve(Ie,He,rt,"\u22E8","\\precnsim",!0),ve(Ie,He,rt,"\u2AB9","\\precnapprox",!0),ve(Ie,He,rt,"\u2241","\\nsim",!0),ve(Ie,He,rt,"\uE006","\\@nshortmid"),ve(Ie,He,rt,"\u2224","\\nmid",!0),ve(Ie,He,rt,"\u22AC","\\nvdash",!0),ve(Ie,He,rt,"\u22AD","\\nvDash",!0),ve(Ie,He,rt,"\u22EA","\\ntriangleleft"),ve(Ie,He,rt,"\u22EC","\\ntrianglelefteq",!0),ve(Ie,He,rt,"\u228A","\\subsetneq",!0),ve(Ie,He,rt,"\uE01A","\\@varsubsetneq"),ve(Ie,He,rt,"\u2ACB","\\subsetneqq",!0),ve(Ie,He,rt,"\uE017","\\@varsubsetneqq"),ve(Ie,He,rt,"\u226F","\\ngtr",!0),ve(Ie,He,rt,"\uE00F","\\@ngeqslant"),ve(Ie,He,rt,"\uE00E","\\@ngeqq"),ve(Ie,He,rt,"\u2A88","\\gneq",!0),ve(Ie,He,rt,"\u2269","\\gneqq",!0),ve(Ie,He,rt,"\uE00D","\\@gvertneqq"),ve(Ie,He,rt,"\u22E7","\\gnsim",!0),ve(Ie,He,rt,"\u2A8A","\\gnapprox",!0),ve(Ie,He,rt,"\u2281","\\nsucc",!0),ve(Ie,He,rt,"\u22E1","\\nsucceq",!0),ve(Ie,He,rt,"\u22E9","\\succnsim",!0),ve(Ie,He,rt,"\u2ABA","\\succnapprox",!0),ve(Ie,He,rt,"\u2246","\\ncong",!0),ve(Ie,He,rt,"\uE007","\\@nshortparallel"),ve(Ie,He,rt,"\u2226","\\nparallel",!0),ve(Ie,He,rt,"\u22AF","\\nVDash",!0),ve(Ie,He,rt,"\u22EB","\\ntriangleright"),ve(Ie,He,rt,"\u22ED","\\ntrianglerighteq",!0),ve(Ie,He,rt,"\uE018","\\@nsupseteqq"),ve(Ie,He,rt,"\u228B","\\supsetneq",!0),ve(Ie,He,rt,"\uE01B","\\@varsupsetneq"),ve(Ie,He,rt,"\u2ACC","\\supsetneqq",!0),ve(Ie,He,rt,"\uE019","\\@varsupsetneqq"),ve(Ie,He,rt,"\u22AE","\\nVdash",!0),ve(Ie,He,rt,"\u2AB5","\\precneqq",!0),ve(Ie,He,rt,"\u2AB6","\\succneqq",!0),ve(Ie,He,rt,"\uE016","\\@nsubseteqq"),ve(Ie,He,et,"\u22B4","\\unlhd"),ve(Ie,He,et,"\u22B5","\\unrhd"),ve(Ie,He,rt,"\u219A","\\nleftarrow",!0),ve(Ie,He,rt,"\u219B","\\nrightarrow",!0),ve(Ie,He,rt,"\u21CD","\\nLeftarrow",!0),ve(Ie,He,rt,"\u21CF","\\nRightarrow",!0),ve(Ie,He,rt,"\u21AE","\\nleftrightarrow",!0),ve(Ie,He,rt,"\u21CE","\\nLeftrightarrow",!0),ve(Ie,He,rt,"\u25B3","\\vartriangle"),ve(Ie,He,Bt,"\u210F","\\hslash"),ve(Ie,He,Bt,"\u25BD","\\triangledown"),ve(Ie,He,Bt,"\u25CA","\\lozenge"),ve(Ie,He,Bt,"\u24C8","\\circledS"),ve(Ie,He,Bt,"\xAE","\\circledR"),ve(ut,He,Bt,"\xAE","\\circledR"),ve(Ie,He,Bt,"\u2221","\\measuredangle",!0),ve(Ie,He,Bt,"\u2204","\\nexists"),ve(Ie,He,Bt,"\u2127","\\mho"),ve(Ie,He,Bt,"\u2132","\\Finv",!0),ve(Ie,He,Bt,"\u2141","\\Game",!0),ve(Ie,He,Bt,"\u2035","\\backprime"),ve(Ie,He,Bt,"\u25B2","\\blacktriangle"),ve(Ie,He,Bt,"\u25BC","\\blacktriangledown"),ve(Ie,He,Bt,"\u25A0","\\blacksquare"),ve(Ie,He,Bt,"\u29EB","\\blacklozenge"),ve(Ie,He,Bt,"\u2605","\\bigstar"),ve(Ie,He,Bt,"\u2222","\\sphericalangle",!0),ve(Ie,He,Bt,"\u2201","\\complement",!0),ve(Ie,He,Bt,"\xF0","\\eth",!0),ve(ut,Le,Bt,"\xF0","\xF0"),ve(Ie,He,Bt,"\u2571","\\diagup"),ve(Ie,He,Bt,"\u2572","\\diagdown"),ve(Ie,He,Bt,"\u25A1","\\square"),ve(Ie,He,Bt,"\u25A1","\\Box"),ve(Ie,He,Bt,"\u25CA","\\Diamond"),ve(Ie,He,Bt,"\xA5","\\yen",!0),ve(ut,He,Bt,"\xA5","\\yen",!0),ve(Ie,He,Bt,"\u2713","\\checkmark",!0),ve(ut,He,Bt,"\u2713","\\checkmark"),ve(Ie,He,Bt,"\u2136","\\beth",!0),ve(Ie,He,Bt,"\u2138","\\daleth",!0),ve(Ie,He,Bt,"\u2137","\\gimel",!0),ve(Ie,He,Bt,"\u03DD","\\digamma",!0),ve(Ie,He,Bt,"\u03F0","\\varkappa"),ve(Ie,He,Kt,"\u250C","\\@ulcorner",!0),ve(Ie,He,en,"\u2510","\\@urcorner",!0),ve(Ie,He,Kt,"\u2514","\\@llcorner",!0),ve(Ie,He,en,"\u2518","\\@lrcorner",!0),ve(Ie,He,rt,"\u2266","\\leqq",!0),ve(Ie,He,rt,"\u2A7D","\\leqslant",!0),ve(Ie,He,rt,"\u2A95","\\eqslantless",!0),ve(Ie,He,rt,"\u2272","\\lesssim",!0),ve(Ie,He,rt,"\u2A85","\\lessapprox",!0),ve(Ie,He,rt,"\u224A","\\approxeq",!0),ve(Ie,He,et,"\u22D6","\\lessdot"),ve(Ie,He,rt,"\u22D8","\\lll",!0),ve(Ie,He,rt,"\u2276","\\lessgtr",!0),ve(Ie,He,rt,"\u22DA","\\lesseqgtr",!0),ve(Ie,He,rt,"\u2A8B","\\lesseqqgtr",!0),ve(Ie,He,rt,"\u2251","\\doteqdot"),ve(Ie,He,rt,"\u2253","\\risingdotseq",!0),ve(Ie,He,rt,"\u2252","\\fallingdotseq",!0),ve(Ie,He,rt,"\u223D","\\backsim",!0),ve(Ie,He,rt,"\u22CD","\\backsimeq",!0),ve(Ie,He,rt,"\u2AC5","\\subseteqq",!0),ve(Ie,He,rt,"\u22D0","\\Subset",!0),ve(Ie,He,rt,"\u228F","\\sqsubset",!0),ve(Ie,He,rt,"\u227C","\\preccurlyeq",!0),ve(Ie,He,rt,"\u22DE","\\curlyeqprec",!0),ve(Ie,He,rt,"\u227E","\\precsim",!0),ve(Ie,He,rt,"\u2AB7","\\precapprox",!0),ve(Ie,He,rt,"\u22B2","\\vartriangleleft"),ve(Ie,He,rt,"\u22B4","\\trianglelefteq"),ve(Ie,He,rt,"\u22A8","\\vDash",!0),ve(Ie,He,rt,"\u22AA","\\Vvdash",!0),ve(Ie,He,rt,"\u2323","\\smallsmile"),ve(Ie,He,rt,"\u2322","\\smallfrown"),ve(Ie,He,rt,"\u224F","\\bumpeq",!0),ve(Ie,He,rt,"\u224E","\\Bumpeq",!0),ve(Ie,He,rt,"\u2267","\\geqq",!0),ve(Ie,He,rt,"\u2A7E","\\geqslant",!0),ve(Ie,He,rt,"\u2A96","\\eqslantgtr",!0),ve(Ie,He,rt,"\u2273","\\gtrsim",!0),ve(Ie,He,rt,"\u2A86","\\gtrapprox",!0),ve(Ie,He,et,"\u22D7","\\gtrdot"),ve(Ie,He,rt,"\u22D9","\\ggg",!0),ve(Ie,He,rt,"\u2277","\\gtrless",!0),ve(Ie,He,rt,"\u22DB","\\gtreqless",!0),ve(Ie,He,rt,"\u2A8C","\\gtreqqless",!0),ve(Ie,He,rt,"\u2256","\\eqcirc",!0),ve(Ie,He,rt,"\u2257","\\circeq",!0),ve(Ie,He,rt,"\u225C","\\triangleq",!0),ve(Ie,He,rt,"\u223C","\\thicksim"),ve(Ie,He,rt,"\u2248","\\thickapprox"),ve(Ie,He,rt,"\u2AC6","\\supseteqq",!0),ve(Ie,He,rt,"\u22D1","\\Supset",!0),ve(Ie,He,rt,"\u2290","\\sqsupset",!0),ve(Ie,He,rt,"\u227D","\\succcurlyeq",!0),ve(Ie,He,rt,"\u22DF","\\curlyeqsucc",!0),ve(Ie,He,rt,"\u227F","\\succsim",!0),ve(Ie,He,rt,"\u2AB8","\\succapprox",!0),ve(Ie,He,rt,"\u22B3","\\vartriangleright"),ve(Ie,He,rt,"\u22B5","\\trianglerighteq"),ve(Ie,He,rt,"\u22A9","\\Vdash",!0),ve(Ie,He,rt,"\u2223","\\shortmid"),ve(Ie,He,rt,"\u2225","\\shortparallel"),ve(Ie,He,rt,"\u226C","\\between",!0),ve(Ie,He,rt,"\u22D4","\\pitchfork",!0),ve(Ie,He,rt,"\u221D","\\varpropto"),ve(Ie,He,rt,"\u25C0","\\blacktriangleleft"),ve(Ie,He,rt,"\u2234","\\therefore",!0),ve(Ie,He,rt,"\u220D","\\backepsilon"),ve(Ie,He,rt,"\u25B6","\\blacktriangleright"),ve(Ie,He,rt,"\u2235","\\because",!0),ve(Ie,He,rt,"\u22D8","\\llless"),ve(Ie,He,rt,"\u22D9","\\gggtr"),ve(Ie,He,et,"\u22B2","\\lhd"),ve(Ie,He,et,"\u22B3","\\rhd"),ve(Ie,He,rt,"\u2242","\\eqsim",!0),ve(Ie,Le,rt,"\u22C8","\\Join"),ve(Ie,He,rt,"\u2251","\\Doteq",!0),ve(Ie,He,et,"\u2214","\\dotplus",!0),ve(Ie,He,et,"\u2216","\\smallsetminus"),ve(Ie,He,et,"\u22D2","\\Cap",!0),ve(Ie,He,et,"\u22D3","\\Cup",!0),ve(Ie,He,et,"\u2A5E","\\doublebarwedge",!0),ve(Ie,He,et,"\u229F","\\boxminus",!0),ve(Ie,He,et,"\u229E","\\boxplus",!0),ve(Ie,He,et,"\u22C7","\\divideontimes",!0),ve(Ie,He,et,"\u22C9","\\ltimes",!0),ve(Ie,He,et,"\u22CA","\\rtimes",!0),ve(Ie,He,et,"\u22CB","\\leftthreetimes",!0),ve(Ie,He,et,"\u22CC","\\rightthreetimes",!0),ve(Ie,He,et,"\u22CF","\\curlywedge",!0),ve(Ie,He,et,"\u22CE","\\curlyvee",!0),ve(Ie,He,et,"\u229D","\\circleddash",!0),ve(Ie,He,et,"\u229B","\\circledast",!0),ve(Ie,He,et,"\u22C5","\\centerdot"),ve(Ie,He,et,"\u22BA","\\intercal",!0),ve(Ie,He,et,"\u22D2","\\doublecap"),ve(Ie,He,et,"\u22D3","\\doublecup"),ve(Ie,He,et,"\u22A0","\\boxtimes",!0),ve(Ie,He,rt,"\u21E2","\\dashrightarrow",!0),ve(Ie,He,rt,"\u21E0","\\dashleftarrow",!0),ve(Ie,He,rt,"\u21C7","\\leftleftarrows",!0),ve(Ie,He,rt,"\u21C6","\\leftrightarrows",!0),ve(Ie,He,rt,"\u21DA","\\Lleftarrow",!0),ve(Ie,He,rt,"\u219E","\\twoheadleftarrow",!0),ve(Ie,He,rt,"\u21A2","\\leftarrowtail",!0),ve(Ie,He,rt,"\u21AB","\\looparrowleft",!0),ve(Ie,He,rt,"\u21CB","\\leftrightharpoons",!0),ve(Ie,He,rt,"\u21B6","\\curvearrowleft",!0),ve(Ie,He,rt,"\u21BA","\\circlearrowleft",!0),ve(Ie,He,rt,"\u21B0","\\Lsh",!0),ve(Ie,He,rt,"\u21C8","\\upuparrows",!0),ve(Ie,He,rt,"\u21BF","\\upharpoonleft",!0),ve(Ie,He,rt,"\u21C3","\\downharpoonleft",!0),ve(Ie,Le,rt,"\u22B6","\\origof",!0),ve(Ie,Le,rt,"\u22B7","\\imageof",!0),ve(Ie,He,rt,"\u22B8","\\multimap",!0),ve(Ie,He,rt,"\u21AD","\\leftrightsquigarrow",!0),ve(Ie,He,rt,"\u21C9","\\rightrightarrows",!0),ve(Ie,He,rt,"\u21C4","\\rightleftarrows",!0),ve(Ie,He,rt,"\u21A0","\\twoheadrightarrow",!0),ve(Ie,He,rt,"\u21A3","\\rightarrowtail",!0),ve(Ie,He,rt,"\u21AC","\\looparrowright",!0),ve(Ie,He,rt,"\u21B7","\\curvearrowright",!0),ve(Ie,He,rt,"\u21BB","\\circlearrowright",!0),ve(Ie,He,rt,"\u21B1","\\Rsh",!0),ve(Ie,He,rt,"\u21CA","\\downdownarrows",!0),ve(Ie,He,rt,"\u21BE","\\upharpoonright",!0),ve(Ie,He,rt,"\u21C2","\\downharpoonright",!0),ve(Ie,He,rt,"\u21DD","\\rightsquigarrow",!0),ve(Ie,He,rt,"\u21DD","\\leadsto"),ve(Ie,He,rt,"\u21DB","\\Rrightarrow",!0),ve(Ie,He,rt,"\u21BE","\\restriction"),ve(Ie,Le,Bt,"\u2018","`"),ve(Ie,Le,Bt,"$","\\$"),ve(ut,Le,Bt,"$","\\$"),ve(ut,Le,Bt,"$","\\textdollar"),ve(Ie,Le,Bt,"%","\\%"),ve(ut,Le,Bt,"%","\\%"),ve(Ie,Le,Bt,"_","\\_"),ve(ut,Le,Bt,"_","\\_"),ve(ut,Le,Bt,"_","\\textunderscore"),ve(Ie,Le,Bt,"\u2220","\\angle",!0),ve(Ie,Le,Bt,"\u221E","\\infty",!0),ve(Ie,Le,Bt,"\u2032","\\prime"),ve(Ie,Le,Bt,"\u25B3","\\triangle"),ve(Ie,Le,Bt,"\u0393","\\Gamma",!0),ve(Ie,Le,Bt,"\u0394","\\Delta",!0),ve(Ie,Le,Bt,"\u0398","\\Theta",!0),ve(Ie,Le,Bt,"\u039B","\\Lambda",!0),ve(Ie,Le,Bt,"\u039E","\\Xi",!0),ve(Ie,Le,Bt,"\u03A0","\\Pi",!0),ve(Ie,Le,Bt,"\u03A3","\\Sigma",!0),ve(Ie,Le,Bt,"\u03A5","\\Upsilon",!0),ve(Ie,Le,Bt,"\u03A6","\\Phi",!0),ve(Ie,Le,Bt,"\u03A8","\\Psi",!0),ve(Ie,Le,Bt,"\u03A9","\\Omega",!0),ve(Ie,Le,Bt,"A","\u0391"),ve(Ie,Le,Bt,"B","\u0392"),ve(Ie,Le,Bt,"E","\u0395"),ve(Ie,Le,Bt,"Z","\u0396"),ve(Ie,Le,Bt,"H","\u0397"),ve(Ie,Le,Bt,"I","\u0399"),ve(Ie,Le,Bt,"K","\u039A"),ve(Ie,Le,Bt,"M","\u039C"),ve(Ie,Le,Bt,"N","\u039D"),ve(Ie,Le,Bt,"O","\u039F"),ve(Ie,Le,Bt,"P","\u03A1"),ve(Ie,Le,Bt,"T","\u03A4"),ve(Ie,Le,Bt,"X","\u03A7"),ve(Ie,Le,Bt,"\xAC","\\neg",!0),ve(Ie,Le,Bt,"\xAC","\\lnot"),ve(Ie,Le,Bt,"\u22A4","\\top"),ve(Ie,Le,Bt,"\u22A5","\\bot"),ve(Ie,Le,Bt,"\u2205","\\emptyset"),ve(Ie,He,Bt,"\u2205","\\varnothing"),ve(Ie,Le,Xt,"\u03B1","\\alpha",!0),ve(Ie,Le,Xt,"\u03B2","\\beta",!0),ve(Ie,Le,Xt,"\u03B3","\\gamma",!0),ve(Ie,Le,Xt,"\u03B4","\\delta",!0),ve(Ie,Le,Xt,"\u03F5","\\epsilon",!0),ve(Ie,Le,Xt,"\u03B6","\\zeta",!0),ve(Ie,Le,Xt,"\u03B7","\\eta",!0),ve(Ie,Le,Xt,"\u03B8","\\theta",!0),ve(Ie,Le,Xt,"\u03B9","\\iota",!0),ve(Ie,Le,Xt,"\u03BA","\\kappa",!0),ve(Ie,Le,Xt,"\u03BB","\\lambda",!0),ve(Ie,Le,Xt,"\u03BC","\\mu",!0),ve(Ie,Le,Xt,"\u03BD","\\nu",!0),ve(Ie,Le,Xt,"\u03BE","\\xi",!0),ve(Ie,Le,Xt,"\u03BF","\\omicron",!0),ve(Ie,Le,Xt,"\u03C0","\\pi",!0),ve(Ie,Le,Xt,"\u03C1","\\rho",!0),ve(Ie,Le,Xt,"\u03C3","\\sigma",!0),ve(Ie,Le,Xt,"\u03C4","\\tau",!0),ve(Ie,Le,Xt,"\u03C5","\\upsilon",!0),ve(Ie,Le,Xt,"\u03D5","\\phi",!0),ve(Ie,Le,Xt,"\u03C7","\\chi",!0),ve(Ie,Le,Xt,"\u03C8","\\psi",!0),ve(Ie,Le,Xt,"\u03C9","\\omega",!0),ve(Ie,Le,Xt,"\u03B5","\\varepsilon",!0),ve(Ie,Le,Xt,"\u03D1","\\vartheta",!0),ve(Ie,Le,Xt,"\u03D6","\\varpi",!0),ve(Ie,Le,Xt,"\u03F1","\\varrho",!0),ve(Ie,Le,Xt,"\u03C2","\\varsigma",!0),ve(Ie,Le,Xt,"\u03C6","\\varphi",!0),ve(Ie,Le,et,"\u2217","*",!0),ve(Ie,Le,et,"+","+"),ve(Ie,Le,et,"\u2212","-",!0),ve(Ie,Le,et,"\u22C5","\\cdot",!0),ve(Ie,Le,et,"\u2218","\\circ",!0),ve(Ie,Le,et,"\xF7","\\div",!0),ve(Ie,Le,et,"\xB1","\\pm",!0),ve(Ie,Le,et,"\xD7","\\times",!0),ve(Ie,Le,et,"\u2229","\\cap",!0),ve(Ie,Le,et,"\u222A","\\cup",!0),ve(Ie,Le,et,"\u2216","\\setminus",!0),ve(Ie,Le,et,"\u2227","\\land"),ve(Ie,Le,et,"\u2228","\\lor"),ve(Ie,Le,et,"\u2227","\\wedge",!0),ve(Ie,Le,et,"\u2228","\\vee",!0),ve(Ie,Le,Bt,"\u221A","\\surd"),ve(Ie,Le,Kt,"\u27E8","\\langle",!0),ve(Ie,Le,Kt,"\u2223","\\lvert"),ve(Ie,Le,Kt,"\u2225","\\lVert"),ve(Ie,Le,en,"?","?"),ve(Ie,Le,en,"!","!"),ve(Ie,Le,en,"\u27E9","\\rangle",!0),ve(Ie,Le,en,"\u2223","\\rvert"),ve(Ie,Le,en,"\u2225","\\rVert"),ve(Ie,Le,rt,"=","="),ve(Ie,Le,rt,":",":"),ve(Ie,Le,rt,"\u2248","\\approx",!0),ve(Ie,Le,rt,"\u2245","\\cong",!0),ve(Ie,Le,rt,"\u2265","\\ge"),ve(Ie,Le,rt,"\u2265","\\geq",!0),ve(Ie,Le,rt,"\u2190","\\gets"),ve(Ie,Le,rt,">","\\gt",!0),ve(Ie,Le,rt,"\u2208","\\in",!0),ve(Ie,Le,rt,"\uE020","\\@not"),ve(Ie,Le,rt,"\u2282","\\subset",!0),ve(Ie,Le,rt,"\u2283","\\supset",!0),ve(Ie,Le,rt,"\u2286","\\subseteq",!0),ve(Ie,Le,rt,"\u2287","\\supseteq",!0),ve(Ie,He,rt,"\u2288","\\nsubseteq",!0),ve(Ie,He,rt,"\u2289","\\nsupseteq",!0),ve(Ie,Le,rt,"\u22A8","\\models"),ve(Ie,Le,rt,"\u2190","\\leftarrow",!0),ve(Ie,Le,rt,"\u2264","\\le"),ve(Ie,Le,rt,"\u2264","\\leq",!0),ve(Ie,Le,rt,"<","\\lt",!0),ve(Ie,Le,rt,"\u2192","\\rightarrow",!0),ve(Ie,Le,rt,"\u2192","\\to"),ve(Ie,He,rt,"\u2271","\\ngeq",!0),ve(Ie,He,rt,"\u2270","\\nleq",!0),ve(Ie,Le,Jn,"\xA0","\\ "),ve(Ie,Le,Jn,"\xA0","\\space"),ve(Ie,Le,Jn,"\xA0","\\nobreakspace"),ve(ut,Le,Jn,"\xA0","\\ "),ve(ut,Le,Jn,"\xA0"," "),ve(ut,Le,Jn,"\xA0","\\space"),ve(ut,Le,Jn,"\xA0","\\nobreakspace"),ve(Ie,Le,Jn,null,"\\nobreak"),ve(Ie,Le,Jn,null,"\\allowbreak"),ve(Ie,Le,nn,",",","),ve(Ie,Le,nn,";",";"),ve(Ie,He,et,"\u22BC","\\barwedge",!0),ve(Ie,He,et,"\u22BB","\\veebar",!0),ve(Ie,Le,et,"\u2299","\\odot",!0),ve(Ie,Le,et,"\u2295","\\oplus",!0),ve(Ie,Le,et,"\u2297","\\otimes",!0),ve(Ie,Le,Bt,"\u2202","\\partial",!0),ve(Ie,Le,et,"\u2298","\\oslash",!0),ve(Ie,He,et,"\u229A","\\circledcirc",!0),ve(Ie,He,et,"\u22A1","\\boxdot",!0),ve(Ie,Le,et,"\u25B3","\\bigtriangleup"),ve(Ie,Le,et,"\u25BD","\\bigtriangledown"),ve(Ie,Le,et,"\u2020","\\dagger"),ve(Ie,Le,et,"\u22C4","\\diamond"),ve(Ie,Le,et,"\u22C6","\\star"),ve(Ie,Le,et,"\u25C3","\\triangleleft"),ve(Ie,Le,et,"\u25B9","\\triangleright"),ve(Ie,Le,Kt,"{","\\{"),ve(ut,Le,Bt,"{","\\{"),ve(ut,Le,Bt,"{","\\textbraceleft"),ve(Ie,Le,en,"}","\\}"),ve(ut,Le,Bt,"}","\\}"),ve(ut,Le,Bt,"}","\\textbraceright"),ve(Ie,Le,Kt,"{","\\lbrace"),ve(Ie,Le,en,"}","\\rbrace"),ve(Ie,Le,Kt,"[","\\lbrack",!0),ve(ut,Le,Bt,"[","\\lbrack",!0),ve(Ie,Le,en,"]","\\rbrack",!0),ve(ut,Le,Bt,"]","\\rbrack",!0),ve(Ie,Le,Kt,"(","\\lparen",!0),ve(Ie,Le,en,")","\\rparen",!0),ve(ut,Le,Bt,"<","\\textless",!0),ve(ut,Le,Bt,">","\\textgreater",!0),ve(Ie,Le,Kt,"\u230A","\\lfloor",!0),ve(Ie,Le,en,"\u230B","\\rfloor",!0),ve(Ie,Le,Kt,"\u2308","\\lceil",!0),ve(Ie,Le,en,"\u2309","\\rceil",!0),ve(Ie,Le,Bt,"\\","\\backslash"),ve(Ie,Le,Bt,"\u2223","|"),ve(Ie,Le,Bt,"\u2223","\\vert"),ve(ut,Le,Bt,"|","\\textbar",!0),ve(Ie,Le,Bt,"\u2225","\\|"),ve(Ie,Le,Bt,"\u2225","\\Vert"),ve(ut,Le,Bt,"\u2225","\\textbardbl"),ve(ut,Le,Bt,"~","\\textasciitilde"),ve(ut,Le,Bt,"\\","\\textbackslash"),ve(ut,Le,Bt,"^","\\textasciicircum"),ve(Ie,Le,rt,"\u2191","\\uparrow",!0),ve(Ie,Le,rt,"\u21D1","\\Uparrow",!0),ve(Ie,Le,rt,"\u2193","\\downarrow",!0),ve(Ie,Le,rt,"\u21D3","\\Downarrow",!0),ve(Ie,Le,rt,"\u2195","\\updownarrow",!0),ve(Ie,Le,rt,"\u21D5","\\Updownarrow",!0),ve(Ie,Le,an,"\u2210","\\coprod"),ve(Ie,Le,an,"\u22C1","\\bigvee"),ve(Ie,Le,an,"\u22C0","\\bigwedge"),ve(Ie,Le,an,"\u2A04","\\biguplus"),ve(Ie,Le,an,"\u22C2","\\bigcap"),ve(Ie,Le,an,"\u22C3","\\bigcup"),ve(Ie,Le,an,"\u222B","\\int"),ve(Ie,Le,an,"\u222B","\\intop"),ve(Ie,Le,an,"\u222C","\\iint"),ve(Ie,Le,an,"\u222D","\\iiint"),ve(Ie,Le,an,"\u220F","\\prod"),ve(Ie,Le,an,"\u2211","\\sum"),ve(Ie,Le,an,"\u2A02","\\bigotimes"),ve(Ie,Le,an,"\u2A01","\\bigoplus"),ve(Ie,Le,an,"\u2A00","\\bigodot"),ve(Ie,Le,an,"\u222E","\\oint"),ve(Ie,Le,an,"\u222F","\\oiint"),ve(Ie,Le,an,"\u2230","\\oiiint"),ve(Ie,Le,an,"\u2A06","\\bigsqcup"),ve(Ie,Le,an,"\u222B","\\smallint"),ve(ut,Le,cn,"\u2026","\\textellipsis"),ve(Ie,Le,cn,"\u2026","\\mathellipsis"),ve(ut,Le,cn,"\u2026","\\ldots",!0),ve(Ie,Le,cn,"\u2026","\\ldots",!0),ve(Ie,Le,cn,"\u22EF","\\@cdots",!0),ve(Ie,Le,cn,"\u22F1","\\ddots",!0),ve(Ie,Le,Bt,"\u22EE","\\varvdots"),ve(ut,Le,Bt,"\u22EE","\\varvdots"),ve(Ie,Le,Vt,"\u02CA","\\acute"),ve(Ie,Le,Vt,"\u02CB","\\grave"),ve(Ie,Le,Vt,"\xA8","\\ddot"),ve(Ie,Le,Vt,"~","\\tilde"),ve(Ie,Le,Vt,"\u02C9","\\bar"),ve(Ie,Le,Vt,"\u02D8","\\breve"),ve(Ie,Le,Vt,"\u02C7","\\check"),ve(Ie,Le,Vt,"^","\\hat"),ve(Ie,Le,Vt,"\u20D7","\\vec"),ve(Ie,Le,Vt,"\u02D9","\\dot"),ve(Ie,Le,Vt,"\u02DA","\\mathring"),ve(Ie,Le,Xt,"\uE131","\\@imath"),ve(Ie,Le,Xt,"\uE237","\\@jmath"),ve(Ie,Le,Bt,"\u0131","\u0131"),ve(Ie,Le,Bt,"\u0237","\u0237"),ve(ut,Le,Bt,"\u0131","\\i",!0),ve(ut,Le,Bt,"\u0237","\\j",!0),ve(ut,Le,Bt,"\xDF","\\ss",!0),ve(ut,Le,Bt,"\xE6","\\ae",!0),ve(ut,Le,Bt,"\u0153","\\oe",!0),ve(ut,Le,Bt,"\xF8","\\o",!0),ve(ut,Le,Bt,"\xC6","\\AE",!0),ve(ut,Le,Bt,"\u0152","\\OE",!0),ve(ut,Le,Bt,"\xD8","\\O",!0),ve(ut,Le,Vt,"\u02CA","\\'"),ve(ut,Le,Vt,"\u02CB","\\`"),ve(ut,Le,Vt,"\u02C6","\\^"),ve(ut,Le,Vt,"\u02DC","\\~"),ve(ut,Le,Vt,"\u02C9","\\="),ve(ut,Le,Vt,"\u02D8","\\u"),ve(ut,Le,Vt,"\u02D9","\\."),ve(ut,Le,Vt,"\xB8","\\c"),ve(ut,Le,Vt,"\u02DA","\\r"),ve(ut,Le,Vt,"\u02C7","\\v"),ve(ut,Le,Vt,"\xA8",'\\"'),ve(ut,Le,Vt,"\u02DD","\\H"),ve(ut,Le,Vt,"\u25EF","\\textcircled");var rr={"--":!0,"---":!0,"``":!0,"''":!0};ve(ut,Le,Bt,"\u2013","--",!0),ve(ut,Le,Bt,"\u2013","\\textendash"),ve(ut,Le,Bt,"\u2014","---",!0),ve(ut,Le,Bt,"\u2014","\\textemdash"),ve(ut,Le,Bt,"\u2018","`",!0),ve(ut,Le,Bt,"\u2018","\\textquoteleft"),ve(ut,Le,Bt,"\u2019","'",!0),ve(ut,Le,Bt,"\u2019","\\textquoteright"),ve(ut,Le,Bt,"\u201C","``",!0),ve(ut,Le,Bt,"\u201C","\\textquotedblleft"),ve(ut,Le,Bt,"\u201D","''",!0),ve(ut,Le,Bt,"\u201D","\\textquotedblright"),ve(Ie,Le,Bt,"\xB0","\\degree",!0),ve(ut,Le,Bt,"\xB0","\\degree"),ve(ut,Le,Bt,"\xB0","\\textdegree",!0),ve(Ie,Le,Bt,"\xA3","\\pounds"),ve(Ie,Le,Bt,"\xA3","\\mathsterling",!0),ve(ut,Le,Bt,"\xA3","\\pounds"),ve(ut,Le,Bt,"\xA3","\\textsterling",!0),ve(Ie,He,Bt,"\u2720","\\maltese"),ve(ut,He,Bt,"\u2720","\\maltese");for(var Pr='0123456789/@."',Sn=0;Sn<Pr.length;Sn++){var rn=Pr.charAt(Sn);ve(Ie,Le,Bt,rn,rn)}for(var Cn='0123456789!@*()-=+";:?/.,',Pn=0;Pn<Cn.length;Pn++){var zn=Cn.charAt(Pn);ve(ut,Le,Bt,zn,zn)}for(var tr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",wr=0;wr<tr.length;wr++){var pr=tr.charAt(wr);ve(Ie,Le,Xt,pr,pr),ve(ut,Le,Bt,pr,pr)}ve(Ie,He,Bt,"C","\u2102"),ve(ut,He,Bt,"C","\u2102"),ve(Ie,He,Bt,"H","\u210D"),ve(ut,He,Bt,"H","\u210D"),ve(Ie,He,Bt,"N","\u2115"),ve(ut,He,Bt,"N","\u2115"),ve(Ie,He,Bt,"P","\u2119"),ve(ut,He,Bt,"P","\u2119"),ve(Ie,He,Bt,"Q","\u211A"),ve(ut,He,Bt,"Q","\u211A"),ve(Ie,He,Bt,"R","\u211D"),ve(ut,He,Bt,"R","\u211D"),ve(Ie,He,Bt,"Z","\u2124"),ve(ut,He,Bt,"Z","\u2124"),ve(Ie,Le,Xt,"h","\u210E"),ve(ut,Le,Xt,"h","\u210E");for(var Zn="",Kn=0;Kn<tr.length;Kn++){var gr=tr.charAt(Kn);Zn=String.fromCharCode(55349,56320+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56372+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56424+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56580+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56684+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56736+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56788+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56840+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56944+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Kn<26&&(Zn=String.fromCharCode(55349,56632+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn),Zn=String.fromCharCode(55349,56476+Kn),ve(Ie,Le,Xt,gr,Zn),ve(ut,Le,Bt,gr,Zn))}Zn="\u{1D55C}",ve(Ie,Le,Xt,"k",Zn),ve(ut,Le,Bt,"k",Zn);for(var dr=0;dr<10;dr++){var Yr=dr.toString();Zn=String.fromCharCode(55349,57294+dr),ve(Ie,Le,Xt,Yr,Zn),ve(ut,Le,Bt,Yr,Zn),Zn=String.fromCharCode(55349,57314+dr),ve(Ie,Le,Xt,Yr,Zn),ve(ut,Le,Bt,Yr,Zn),Zn=String.fromCharCode(55349,57324+dr),ve(Ie,Le,Xt,Yr,Zn),ve(ut,Le,Bt,Yr,Zn),Zn=String.fromCharCode(55349,57334+dr),ve(Ie,Le,Xt,Yr,Zn),ve(ut,Le,Bt,Yr,Zn)}for(var Wr="\xD0\xDE\xFE",Zr=0;Zr<Wr.length;Zr++){var Qr=Wr.charAt(Zr);ve(Ie,Le,Xt,Qr,Qr),ve(ut,Le,Bt,Qr,Qr)}var ca=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Xr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],la=(oe,z)=>{var te=oe.charCodeAt(0),ue=oe.charCodeAt(1),Ee=(te-55296)*1024+(ue-56320)+65536,Me=z==="math"?0:1;if(119808<=Ee&&Ee<120484){var Xe=Math.floor((Ee-119808)/26);return[ca[Xe][2],ca[Xe][Me]]}else if(120782<=Ee&&Ee<=120831){var lt=Math.floor((Ee-120782)/10);return[Xr[lt][2],Xr[lt][Me]]}else{if(Ee===120485||Ee===120486)return[ca[0][2],ca[0][Me]];if(120486<Ee&&Ee<120782)return["",""];throw new St("Unsupported character: "+oe)}};class _r{constructor(z){this.children=z,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(z){return this.classes.includes(z)}toNode(){for(var z=document.createDocumentFragment(),te=0;te<this.children.length;te++)z.appendChild(this.children[te].toNode());return z}toMarkup(){for(var z="",te=0;te<this.children.length;te++)z+=this.children[te].toMarkup();return z}toText(){var z=te=>te.toText();return this.children.map(z).join("")}}var oa=function(z,te,ue){if(zr[ue][z]){var Ee=zr[ue][z].replace;Ee&&(z=Ee)}return{value:z,metrics:pa(z,te,ue)}},_t=function(z,te,ue,Ee,Me){var Xe=oa(z,te,ue),lt=Xe.metrics;z=Xe.value;var ht;if(lt){var zt=lt.italic;(ue==="text"||Ee&&Ee.font==="mathit")&&(zt=0),ht=new cr(z,lt.height,lt.depth,zt,lt.skew,lt.width,Me)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+z+"' in style '"+te+"' and mode '"+ue+"'")),ht=new cr(z,0,0,0,0,0,Me);if(Ee){ht.maxFontSize=Ee.sizeMultiplier,Ee.style.isTight()&&ht.classes.push("mtight");var sn=Ee.getColor();sn&&(ht.style.color=sn)}return ht},Ea=function(z,te,ue,Ee){return Ee===void 0&&(Ee=[]),ue.font==="boldsymbol"&&oa(z,"Main-Bold",te).metrics?_t(z,"Main-Bold",te,ue,Ee.concat(["mathbf"])):z==="\\"||zr[te][z].font==="main"?_t(z,"Main-Regular",te,ue,Ee):_t(z,"AMS-Regular",te,ue,Ee.concat(["amsrm"]))},ia=function(z,te,ue,Ee,Me){return Me!=="textord"&&oa(z,"Math-BoldItalic",te).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ra=function(z,te,ue){var Ee=z.mode,Me=z.text,Xe=["mord"],lt=Ee==="math"||Ee==="text"&&te.font,ht=lt?te.font:te.fontFamily,zt="",sn="";if(Me.charCodeAt(0)===55349&&([zt,sn]=la(Me,Ee)),zt.length>0)return _t(Me,zt,Ee,te,Xe.concat(sn));if(ht){var An,Fn;if(ht==="boldsymbol"){var Hn=ia(Me,Ee,te,Xe,ue);An=Hn.fontName,Fn=[Hn.fontClass]}else lt?(An=xr[ht].fontName,Fn=[ht]):(An=nr(ht,te.fontWeight,te.fontShape),Fn=[ht,te.fontWeight,te.fontShape]);if(oa(Me,An,Ee).metrics)return _t(Me,An,Ee,te,Xe.concat(Fn));if(rr.hasOwnProperty(Me)&&An.slice(0,10)==="Typewriter"){for(var ir=[],Xn=0;Xn<Me.length;Xn++)ir.push(_t(Me[Xn],An,Ee,te,Xe.concat(Fn)));return or(ir)}}if(ue==="mathord")return _t(Me,"Math-Italic",Ee,te,Xe.concat(["mathnormal"]));if(ue==="textord"){var Cr=zr[Ee][Me]&&zr[Ee][Me].font;if(Cr==="ams"){var Tr=nr("amsrm",te.fontWeight,te.fontShape);return _t(Me,Tr,Ee,te,Xe.concat("amsrm",te.fontWeight,te.fontShape))}else if(Cr==="main"||!Cr){var kr=nr("textrm",te.fontWeight,te.fontShape);return _t(Me,kr,Ee,te,Xe.concat(te.fontWeight,te.fontShape))}else{var jr=nr(Cr,te.fontWeight,te.fontShape);return _t(Me,jr,Ee,te,Xe.concat(jr,te.fontWeight,te.fontShape))}}else throw new Error("unexpected type: "+ue+" in makeOrd")},fa=(oe,z)=>{if(Dn(oe.classes)!==Dn(z.classes)||oe.skew!==z.skew||oe.maxFontSize!==z.maxFontSize||oe.italic!==0&&oe.hasClass("mathnormal"))return!1;if(oe.classes.length===1){var te=oe.classes[0];if(te==="mbin"||te==="mord")return!1}for(var ue of Object.keys(oe.style))if(oe.style[ue]!==z.style[ue])return!1;for(var Ee of Object.keys(z.style))if(oe.style[Ee]!==z.style[Ee])return!1;return!0},ha=oe=>{for(var z=0;z<oe.length-1;z++){var te=oe[z],ue=oe[z+1];te instanceof cr&&ue instanceof cr&&fa(te,ue)&&(te.text+=ue.text,te.height=Math.max(te.height,ue.height),te.depth=Math.max(te.depth,ue.depth),te.italic=ue.italic,oe.splice(z+1,1),z--)}return oe},Br=function(z){for(var te=0,ue=0,Ee=0,Me=0;Me<z.children.length;Me++){var Xe=z.children[Me];Xe.height>te&&(te=Xe.height),Xe.depth>ue&&(ue=Xe.depth),Xe.maxFontSize>Ee&&(Ee=Xe.maxFontSize)}z.height=te,z.depth=ue,z.maxFontSize=Ee},Gn=function(z,te,ue,Ee){var Me=new Er(z,te,ue,Ee);return Br(Me),Me},Vr=(oe,z,te,ue)=>new Er(oe,z,te,ue),qn=function(z,te,ue){var Ee=Gn([z],[],te);return Ee.height=Math.max(ue||te.fontMetrics().defaultRuleThickness,te.minRuleThickness),Ee.style.borderBottomWidth=qt(Ee.height),Ee.maxFontSize=1,Ee},hr=function(z,te,ue,Ee){var Me=new wt(z,te,ue,Ee);return Br(Me),Me},or=function(z){var te=new _r(z);return Br(te),te},er=function(z,te){return z instanceof _r?Gn([],[z],te):z},Dr=function(z){if(z.positionType==="individualShift"){for(var te=z.children,ue=[te[0]],Ee=-te[0].shift-te[0].elem.depth,Me=Ee,Xe=1;Xe<te.length;Xe++){var lt=-te[Xe].shift-Me-te[Xe].elem.depth,ht=lt-(te[Xe-1].elem.height+te[Xe-1].elem.depth);Me=Me+lt,ue.push({type:"kern",size:ht}),ue.push(te[Xe])}return{children:ue,depth:Ee}}var zt;if(z.positionType==="top"){for(var sn=z.positionData,An=0;An<z.children.length;An++){var Fn=z.children[An];sn-=Fn.type==="kern"?Fn.size:Fn.elem.height+Fn.elem.depth}zt=sn}else if(z.positionType==="bottom")zt=-z.positionData;else{var Hn=z.children[0];if(Hn.type!=="elem")throw new Error('First child must have type "elem".');if(z.positionType==="shift")zt=-Hn.elem.depth-z.positionData;else if(z.positionType==="firstBaseline")zt=-Hn.elem.depth;else throw new Error("Invalid positionType "+z.positionType+".")}return{children:z.children,depth:zt}},Ar=function(z,te){for(var{children:ue,depth:Ee}=Dr(z),Me=0,Xe=0;Xe<ue.length;Xe++){var lt=ue[Xe];if(lt.type==="elem"){var ht=lt.elem;Me=Math.max(Me,ht.maxFontSize,ht.height)}}Me+=2;var zt=Gn(["pstrut"],[]);zt.style.height=qt(Me);for(var sn=[],An=Ee,Fn=Ee,Hn=Ee,ir=0;ir<ue.length;ir++){var Xn=ue[ir];if(Xn.type==="kern")Hn+=Xn.size;else{var Cr=Xn.elem,Tr=Xn.wrapperClasses||[],kr=Xn.wrapperStyle||{},jr=Gn(Tr,[zt,Cr],void 0,kr);jr.style.top=qt(-Me-Hn-Cr.depth),Xn.marginLeft&&(jr.style.marginLeft=Xn.marginLeft),Xn.marginRight&&(jr.style.marginRight=Xn.marginRight),sn.push(jr),Hn+=Cr.height+Cr.depth}An=Math.min(An,Hn),Fn=Math.max(Fn,Hn)}var qr=Gn(["vlist"],sn);qr.style.height=qt(Fn);var Sa;if(An<0){var na=Gn([],[]),Oa=Gn(["vlist"],[na]);Oa.style.height=qt(-An);var Fa=Gn(["vlist-s"],[new cr("\u200B")]);Sa=[Gn(["vlist-r"],[qr,Fa]),Gn(["vlist-r"],[Oa])]}else Sa=[Gn(["vlist-r"],[qr])];var Ga=Gn(["vlist-t"],Sa);return Sa.length===2&&Ga.classes.push("vlist-t2"),Ga.height=Fn,Ga.depth=-An,Ga},ur=(oe,z)=>{var te=Gn(["mspace"],[],z),ue=de(oe,z);return te.style.marginRight=qt(ue),te},nr=function(z,te,ue){var Ee="";switch(z){case"amsrm":Ee="AMS";break;case"textrm":Ee="Main";break;case"textsf":Ee="SansSerif";break;case"texttt":Ee="Typewriter";break;default:Ee=z}var Me;return te==="textbf"&&ue==="textit"?Me="BoldItalic":te==="textbf"?Me="Bold":te==="textit"?Me="Italic":Me="Regular",Ee+"-"+Me},xr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Or={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ba=function(z,te){var[ue,Ee,Me]=Or[z],Xe=new Sr(ue),lt=new Yn([Xe],{width:qt(Ee),height:qt(Me),style:"width:"+qt(Ee),viewBox:"0 0 "+1e3*Ee+" "+1e3*Me,preserveAspectRatio:"xMinYMin"}),ht=Vr(["overlay"],[lt],te);return ht.height=Me,ht.style.height=qt(Me),ht.style.width=qt(Ee),ht},da={number:3,unit:"mu"},ya={number:4,unit:"mu"},Ma={number:5,unit:"mu"},_a={mord:{mop:da,mbin:ya,mrel:Ma,minner:da},mop:{mord:da,mop:da,mrel:Ma,minner:da},mbin:{mord:ya,mop:ya,mopen:ya,minner:ya},mrel:{mord:Ma,mop:Ma,mopen:Ma,minner:Ma},mopen:{},mclose:{mop:da,mbin:ya,mrel:Ma,minner:da},mpunct:{mord:da,mop:da,mrel:Ma,mopen:da,mclose:da,mpunct:da,minner:da},minner:{mord:da,mop:da,mbin:ya,mrel:Ma,mopen:da,mpunct:da,minner:da}},Na={mord:{mop:da},mop:{mord:da,mop:da},mbin:{},mrel:{},mopen:{},mclose:{mop:da},mpunct:{},minner:{mop:da}},Ha={},Da={},ja={};function Gr(oe){for(var{type:z,names:te,props:ue,handler:Ee,htmlBuilder:Me,mathmlBuilder:Xe}=oe,lt={type:z,numArgs:ue.numArgs,argTypes:ue.argTypes,allowedInArgument:!!ue.allowedInArgument,allowedInText:!!ue.allowedInText,allowedInMath:ue.allowedInMath===void 0?!0:ue.allowedInMath,numOptionalArgs:ue.numOptionalArgs||0,infix:!!ue.infix,primitive:!!ue.primitive,handler:Ee},ht=0;ht<te.length;++ht)Ha[te[ht]]=lt;z&&(Me&&(Da[z]=Me),Xe&&(ja[z]=Xe))}function bi(oe){var{type:z,htmlBuilder:te,mathmlBuilder:ue}=oe;Gr({type:z,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:te,mathmlBuilder:ue})}var wi=function(z){return z.type==="ordgroup"&&z.body.length===1?z.body[0]:z},Pa=function(z){return z.type==="ordgroup"?z.body:[z]},li=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),fi=new Set(["rightmost","mrel","mclose","mpunct"]),Ua={display:gt.DISPLAY,text:gt.TEXT,script:gt.SCRIPT,scriptscript:gt.SCRIPTSCRIPT},Ni={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Va=function(z,te,ue,Ee){Ee===void 0&&(Ee=[null,null]);for(var Me=[],Xe=0;Xe<z.length;Xe++){var lt=ma(z[Xe],te);if(lt instanceof _r){var ht=lt.children;Me.push(...ht)}else Me.push(lt)}if(ha(Me),!ue)return Me;var zt=te;if(z.length===1){var sn=z[0];sn.type==="sizing"?zt=te.havingSize(sn.size):sn.type==="styling"&&(zt=te.havingStyle(Ua[sn.style]))}var An=Gn([Ee[0]||"leftmost"],[],te),Fn=Gn([Ee[1]||"rightmost"],[],te),Hn=ue==="root";return Aa(Me,(ir,Xn)=>{var Cr=Xn.classes[0],Tr=ir.classes[0];Cr==="mbin"&&fi.has(Tr)?Xn.classes[0]="mord":Tr==="mbin"&&li.has(Cr)&&(ir.classes[0]="mord")},{node:An},Fn,Hn),Aa(Me,(ir,Xn)=>{var Cr,Tr,kr=Ba(Xn),jr=Ba(ir),qr=kr&&jr?ir.hasClass("mtight")?(Cr=Na[kr])==null?void 0:Cr[jr]:(Tr=_a[kr])==null?void 0:Tr[jr]:null;if(qr)return ur(qr,zt)},{node:An},Fn,Hn),Me},Aa=function(z,te,ue,Ee,Me){Ee&&z.push(Ee);for(var Xe=0;Xe<z.length;Xe++){var lt=z[Xe],ht=$a(lt);if(ht){Aa(ht.children,te,ue,null,Me);continue}var zt=!lt.hasClass("mspace");if(zt){var sn=te(lt,ue.node);sn&&(ue.insertAfter?ue.insertAfter(sn):(z.unshift(sn),Xe++))}zt?ue.node=lt:Me&<.hasClass("newline")&&(ue.node=Gn(["leftmost"])),ue.insertAfter=(An=>Fn=>{z.splice(An+1,0,Fn),Xe++})(Xe)}Ee&&z.pop()},$a=function(z){return z instanceof _r||z instanceof wt||z instanceof Er&&z.hasClass("enclosing")?z:null},Ja=function(z,te){var ue=$a(z);if(ue){var Ee=ue.children;if(Ee.length){if(te==="right")return Ja(Ee[Ee.length-1],"right");if(te==="left")return Ja(Ee[0],"left")}}return z},Ba=function(z,te){if(!z)return null;te&&(z=Ja(z,te));var ue=z.classes[0];return Ni[ue]||null},Xa=function(z,te){var ue=["nulldelimiter"].concat(z.baseSizingClasses());return Gn(te.concat(ue))},ma=function(z,te,ue){if(!z)return Gn();if(Da[z.type]){var Ee=Da[z.type](z,te);if(ue&&te.size!==ue.size){Ee=Gn(te.sizingClasses(ue),[Ee],te);var Me=te.sizeMultiplier/ue.sizeMultiplier;Ee.height*=Me,Ee.depth*=Me}return Ee}else throw new St("Got group of unknown type: '"+z.type+"'")};function xi(oe,z){var te=Gn(["base"],oe,z),ue=Gn(["strut"]);return ue.style.height=qt(te.height+te.depth),te.depth&&(ue.style.verticalAlign=qt(-te.depth)),te.children.unshift(ue),te}function Bi(oe,z){var te=null;oe.length===1&&oe[0].type==="tag"&&(te=oe[0].tag,oe=oe[0].body);var ue=Va(oe,z,"root"),Ee;ue.length===2&&ue[1].hasClass("tag")&&(Ee=ue.pop());for(var Me=[],Xe=[],lt=0;lt<ue.length;lt++)if(Xe.push(ue[lt]),ue[lt].hasClass("mbin")||ue[lt].hasClass("mrel")||ue[lt].hasClass("allowbreak")){for(var ht=!1;lt<ue.length-1&&ue[lt+1].hasClass("mspace")&&!ue[lt+1].hasClass("newline");)lt++,Xe.push(ue[lt]),ue[lt].hasClass("nobreak")&&(ht=!0);ht||(Me.push(xi(Xe,z)),Xe=[])}else ue[lt].hasClass("newline")&&(Xe.pop(),Xe.length>0&&(Me.push(xi(Xe,z)),Xe=[]),Me.push(ue[lt]));Xe.length>0&&Me.push(xi(Xe,z));var zt;te?(zt=xi(Va(te,z,!0),z),zt.classes=["tag"],Me.push(zt)):Ee&&Me.push(Ee);var sn=Gn(["katex-html"],Me);if(sn.setAttribute("aria-hidden","true"),zt){var An=zt.children[0];An.style.height=qt(sn.height+sn.depth),sn.depth&&(An.style.verticalAlign=qt(-sn.depth))}return sn}function Fi(oe){return new _r(oe)}class Rr{constructor(z,te,ue){this.type=z,this.attributes={},this.children=te||[],this.classes=ue||[]}setAttribute(z,te){this.attributes[z]=te}getAttribute(z){return this.attributes[z]}toNode(){var z=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,te)&&z.setAttribute(te,this.attributes[te]);this.classes.length>0&&(z.className=Dn(this.classes));for(var ue=0;ue<this.children.length;ue++)if(this.children[ue]instanceof Ti&&this.children[ue+1]instanceof Ti){for(var Ee=this.children[ue].toText()+this.children[++ue].toText();this.children[ue+1]instanceof Ti;)Ee+=this.children[++ue].toText();z.appendChild(new Ti(Ee).toNode())}else z.appendChild(this.children[ue].toNode());return z}toMarkup(){var z="<"+this.type;for(var te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,te)&&(z+=" "+te+'="',z+=Tn(this.attributes[te]),z+='"');this.classes.length>0&&(z+=' class ="'+Tn(Dn(this.classes))+'"'),z+=">";for(var ue=0;ue<this.children.length;ue++)z+=this.children[ue].toMarkup();return z+="</"+this.type+">",z}toText(){return this.children.map(z=>z.toText()).join("")}}class Ti{constructor(z){this.text=z}toNode(){return document.createTextNode(this.text)}toMarkup(){return Tn(this.toText())}toText(){return this.text}}class qi{constructor(z){this.width=z,z>=.05555&&z<=.05556?this.character="\u200A":z>=.1666&&z<=.1667?this.character="\u2009":z>=.2222&&z<=.2223?this.character="\u2005":z>=.2777&&z<=.2778?this.character="\u2005\u200A":z>=-.05556&&z<=-.05555?this.character="\u200A\u2063":z>=-.1667&&z<=-.1666?this.character="\u2009\u2063":z>=-.2223&&z<=-.2222?this.character="\u205F\u2063":z>=-.2778&&z<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var z=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return z.setAttribute("width",qt(this.width)),z}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+qt(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ra=new Set(["\\imath","\\jmath"]),Ka=new Set(["mrow","mtable"]),Ca=function(z,te,ue){return zr[te][z]&&zr[te][z].replace&&z.charCodeAt(0)!==55349&&!(rr.hasOwnProperty(z)&&ue&&(ue.fontFamily&&ue.fontFamily.slice(4,6)==="tt"||ue.font&&ue.font.slice(4,6)==="tt"))&&(z=zr[te][z].replace),new Ti(z)},za=function(z){return z.length===1?z[0]:new Rr("mrow",z)},ri=function(z,te){if(te.fontFamily==="texttt")return"monospace";if(te.fontFamily==="textsf")return te.fontShape==="textit"&&te.fontWeight==="textbf"?"sans-serif-bold-italic":te.fontShape==="textit"?"sans-serif-italic":te.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(te.fontShape==="textit"&&te.fontWeight==="textbf")return"bold-italic";if(te.fontShape==="textit")return"italic";if(te.fontWeight==="textbf")return"bold";var ue=te.font;if(!ue||ue==="mathnormal")return null;var Ee=z.mode;if(ue==="mathit")return"italic";if(ue==="boldsymbol")return z.type==="textord"?"bold":"bold-italic";if(ue==="mathbf")return"bold";if(ue==="mathbb")return"double-struck";if(ue==="mathsfit")return"sans-serif-italic";if(ue==="mathfrak")return"fraktur";if(ue==="mathscr"||ue==="mathcal")return"script";if(ue==="mathsf")return"sans-serif";if(ue==="mathtt")return"monospace";var Me=z.text;if(Ra.has(Me))return null;if(zr[Ee][Me]){var Xe=zr[Ee][Me].replace;Xe&&(Me=Xe)}var lt=xr[ue].fontName;return pa(Me,lt,Ee)?xr[ue].variant:null};function ii(oe){if(!oe)return!1;if(oe.type==="mi"&&oe.children.length===1){var z=oe.children[0];return z instanceof Ti&&z.text==="."}else if(oe.type==="mo"&&oe.children.length===1&&oe.getAttribute("separator")==="true"&&oe.getAttribute("lspace")==="0em"&&oe.getAttribute("rspace")==="0em"){var te=oe.children[0];return te instanceof Ti&&te.text===","}else return!1}var ci=function(z,te,ue){if(z.length===1){var Ee=ti(z[0],te);return ue&&Ee instanceof Rr&&Ee.type==="mo"&&(Ee.setAttribute("lspace","0em"),Ee.setAttribute("rspace","0em")),[Ee]}for(var Me=[],Xe,lt=0;lt<z.length;lt++){var ht=ti(z[lt],te);if(ht instanceof Rr&&Xe instanceof Rr){if(ht.type==="mtext"&&Xe.type==="mtext"&&ht.getAttribute("mathvariant")===Xe.getAttribute("mathvariant")){Xe.children.push(...ht.children);continue}else if(ht.type==="mn"&&Xe.type==="mn"){Xe.children.push(...ht.children);continue}else if(ii(ht)&&Xe.type==="mn"){Xe.children.push(...ht.children);continue}else if(ht.type==="mn"&&ii(Xe))ht.children=[...Xe.children,...ht.children],Me.pop();else if((ht.type==="msup"||ht.type==="msub")&&ht.children.length>=1&&(Xe.type==="mn"||ii(Xe))){var zt=ht.children[0];zt instanceof Rr&&zt.type==="mn"&&(zt.children=[...Xe.children,...zt.children],Me.pop())}else if(Xe.type==="mi"&&Xe.children.length===1){var sn=Xe.children[0];if(sn instanceof Ti&&sn.text==="\u0338"&&(ht.type==="mo"||ht.type==="mi"||ht.type==="mn")){var An=ht.children[0];An instanceof Ti&&An.text.length>0&&(An.text=An.text.slice(0,1)+"\u0338"+An.text.slice(1),Me.pop())}}}Me.push(ht),Xe=ht}return Me},ki=function(z,te,ue){return za(ci(z,te,ue))},ti=function(z,te){if(!z)return new Rr("mrow");if(ja[z.type]){var ue=ja[z.type](z,te);return ue}else throw new St("Got group of unknown type: '"+z.type+"'")};function zi(oe,z,te,ue,Ee){var Me=ci(oe,te),Xe;Me.length===1&&Me[0]instanceof Rr&&Ka.has(Me[0].type)?Xe=Me[0]:Xe=new Rr("mrow",Me);var lt=new Rr("annotation",[new Ti(z)]);lt.setAttribute("encoding","application/x-tex");var ht=new Rr("semantics",[Xe,lt]),zt=new Rr("math",[ht]);zt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),ue&&zt.setAttribute("display","block");var sn=Ee?"katex":"katex-mathml";return Gn([sn],[zt])}var yo=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],No=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],so=function(z,te){return te.size<2?z:yo[z-1][te.size-1]};class Ji{constructor(z){this.style=z.style,this.color=z.color,this.size=z.size||Ji.BASESIZE,this.textSize=z.textSize||this.size,this.phantom=!!z.phantom,this.font=z.font||"",this.fontFamily=z.fontFamily||"",this.fontWeight=z.fontWeight||"",this.fontShape=z.fontShape||"",this.sizeMultiplier=No[this.size-1],this.maxSize=z.maxSize,this.minRuleThickness=z.minRuleThickness,this._fontMetrics=void 0}extend(z){var te={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(te,z),new Ji(te)}havingStyle(z){return this.style===z?this:this.extend({style:z,size:so(this.textSize,z)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(z){return this.size===z&&this.textSize===z?this:this.extend({style:this.style.text(),size:z,textSize:z,sizeMultiplier:No[z-1]})}havingBaseStyle(z){z=z||this.style.text();var te=so(Ji.BASESIZE,z);return this.size===te&&this.textSize===Ji.BASESIZE&&this.style===z?this:this.extend({style:z,size:te})}havingBaseSizing(){var z;switch(this.style.id){case 4:case 5:z=3;break;case 6:case 7:z=1;break;default:z=6}return this.extend({style:this.style.text(),size:z})}withColor(z){return this.extend({color:z})}withPhantom(){return this.extend({phantom:!0})}withFont(z){return this.extend({font:z})}withTextFontFamily(z){return this.extend({fontFamily:z,font:""})}withTextFontWeight(z){return this.extend({fontWeight:z,font:""})}withTextFontShape(z){return this.extend({fontShape:z,font:""})}sizingClasses(z){return z.size!==this.size?["sizing","reset-size"+z.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ji.BASESIZE?["sizing","reset-size"+this.size,"size"+Ji.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ji.BASESIZE=6;var Uo=function(z){return new Ji({style:z.displayMode?gt.DISPLAY:gt.TEXT,maxSize:z.maxSize,minRuleThickness:z.minRuleThickness})},Co=function(z,te){if(te.displayMode){var ue=["katex-display"];te.leqno&&ue.push("leqno"),te.fleqn&&ue.push("fleqn"),z=Gn(ue,[z])}return z},Ts=function(z,te,ue){var Ee=Uo(ue),Me;if(ue.output==="mathml")return zi(z,te,Ee,ue.displayMode,!0);if(ue.output==="html"){var Xe=Bi(z,Ee);Me=Gn(["katex"],[Xe])}else{var lt=zi(z,te,Ee,ue.displayMode,!1),ht=Bi(z,Ee);Me=Gn(["katex"],[lt,ht])}return Co(Me,ue)},dl=function(z,te,ue){var Ee=Uo(ue),Me=Bi(z,Ee),Xe=Gn(["katex"],[Me]);return Co(Xe,ue)},Js={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},mo=function(z){var te=new Rr("mo",[new Ti(Js[z.replace(/^\\/,"")])]);return te.setAttribute("stretchy","true"),te},Hi={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},wo=new Set(["widehat","widecheck","widetilde","utilde"]),ps=function(z,te){function ue(){var lt=4e5,ht=z.label.slice(1);if(wo.has(ht)){var zt=z,sn=zt.base.type==="ordgroup"?zt.base.body.length:1,An,Fn,Hn;if(sn>5)ht==="widehat"||ht==="widecheck"?(An=420,lt=2364,Hn=.42,Fn=ht+"4"):(An=312,lt=2340,Hn=.34,Fn="tilde4");else{var ir=[1,1,2,2,3,3][sn];ht==="widehat"||ht==="widecheck"?(lt=[0,1062,2364,2364,2364][ir],An=[0,239,300,360,420][ir],Hn=[0,.24,.3,.3,.36,.42][ir],Fn=ht+ir):(lt=[0,600,1033,2339,2340][ir],An=[0,260,286,306,312][ir],Hn=[0,.26,.286,.3,.306,.34][ir],Fn="tilde"+ir)}var Xn=new Sr(Fn),Cr=new Yn([Xn],{width:"100%",height:qt(Hn),viewBox:"0 0 "+lt+" "+An,preserveAspectRatio:"none"});return{span:Vr([],[Cr],te),minWidth:0,height:Hn}}else{var Tr=[],kr=Hi[ht],[jr,qr,Sa]=kr,na=Sa/1e3,Oa=jr.length,Fa,Ga;if(Oa===1){var ka=kr[3];Fa=["hide-tail"],Ga=[ka]}else if(Oa===2)Fa=["halfarrow-left","halfarrow-right"],Ga=["xMinYMin","xMaxYMin"];else if(Oa===3)Fa=["brace-left","brace-center","brace-right"],Ga=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Oa+" children.");for(var ni=0;ni<Oa;ni++){var Ya=new Sr(jr[ni]),Wa=new Yn([Ya],{width:"400em",height:qt(na),viewBox:"0 0 "+lt+" "+Sa,preserveAspectRatio:Ga[ni]+" slice"}),mr=Vr([Fa[ni]],[Wa],te);if(Oa===1)return{span:mr,minWidth:qr,height:na};mr.style.height=qt(na),Tr.push(mr)}return{span:Gn(["stretchy"],Tr,te),minWidth:qr,height:na}}}var{span:Ee,minWidth:Me,height:Xe}=ue();return Ee.height=Xe,Ee.style.height=qt(Xe),Me>0&&(Ee.style.minWidth=qt(Me)),Ee},el=function(z,te,ue,Ee,Me){var Xe,lt=z.height+z.depth+ue+Ee;if(/fbox|color|angl/.test(te)){if(Xe=Gn(["stretchy",te],[],Me),te==="fbox"){var ht=Me.color&&Me.getColor();ht&&(Xe.style.borderColor=ht)}}else{var zt=[];/^[bx]cancel$/.test(te)&&zt.push(new br({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(te)&&zt.push(new br({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var sn=new Yn(zt,{width:"100%",height:qt(lt)});Xe=Vr([],[sn],Me)}return Xe.height=lt,Xe.style.height=qt(lt),Xe};function ai(oe,z){if(!oe||oe.type!==z)throw new Error("Expected node of type "+z+", but got "+(oe?"node of type "+oe.type:String(oe)));return oe}function hs(oe){var z=As(oe);if(!z)throw new Error("Expected node of symbol group type, but got "+(oe?"node of type "+oe.type:String(oe)));return z}function As(oe){return oe&&(oe.type==="atom"||Kr.hasOwnProperty(oe.type))?oe:null}var ns=(oe,z)=>{var te,ue,Ee;oe&&oe.type==="supsub"?(ue=ai(oe.base,"accent"),te=ue.base,oe.base=te,Ee=Jr(ma(oe,z)),oe.base=ue):(ue=ai(oe,"accent"),te=ue.base);var Me=ma(te,z.havingCrampedStyle()),Xe=ue.isShifty&&Se(te),lt=0;if(Xe){var ht=Tt(te),zt=ma(ht,z.havingCrampedStyle());lt=Nr(zt).skew}var sn=ue.label==="\\c",An=sn?Me.height+Me.depth:Math.min(Me.height,z.fontMetrics().xHeight),Fn;if(ue.isStretchy)Fn=ps(ue,z),Fn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"elem",elem:Fn,wrapperClasses:["svg-align"],wrapperStyle:lt>0?{width:"calc(100% - "+qt(2*lt)+")",marginLeft:qt(2*lt)}:void 0}]});else{var Hn,ir;ue.label==="\\vec"?(Hn=ba("vec",z),ir=Or.vec[1]):(Hn=ra({type:"textord",mode:ue.mode,text:ue.label},z,"textord"),Hn=Nr(Hn),Hn.italic=0,ir=Hn.width,sn&&(An+=Hn.depth)),Fn=Gn(["accent-body"],[Hn]);var Xn=ue.label==="\\textcircled";Xn&&(Fn.classes.push("accent-full"),An=Me.height);var Cr=lt;Xn||(Cr-=ir/2),Fn.style.left=qt(Cr),ue.label==="\\textcircled"&&(Fn.style.top=".2em"),Fn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:-An},{type:"elem",elem:Fn}]})}var Tr=Gn(["mord","accent"],[Fn],z);return Ee?(Ee.children[0]=Tr,Ee.height=Math.max(Tr.height,Ee.height),Ee.classes[0]="mord",Ee):Tr},Is=(oe,z)=>{var te=oe.isStretchy?mo(oe.label):new Rr("mo",[Ca(oe.label,oe.mode)]),ue=new Rr("mover",[ti(oe.base,z),te]);return ue.setAttribute("accent","true"),ue},ms=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(oe=>"\\"+oe).join("|"));Gr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(oe,z)=>{var te=wi(z[0]),ue=!ms.test(oe.funcName),Ee=!ue||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:ue,isShifty:Ee,base:te}},htmlBuilder:ns,mathmlBuilder:Is}),Gr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(oe,z)=>{var te=z[0],ue=oe.parser.mode;return ue==="math"&&(oe.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+oe.funcName+" works only in text mode"),ue="text"),{type:"accent",mode:ue,label:oe.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:ns,mathmlBuilder:Is}),Gr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"accentUnder",mode:te.mode,label:ue,base:Ee}},htmlBuilder:(oe,z)=>{var te=ma(oe.base,z),ue=ps(oe,z),Ee=oe.label==="\\utilde"?.12:0,Me=Ar({positionType:"top",positionData:te.height,children:[{type:"elem",elem:ue,wrapperClasses:["svg-align"]},{type:"kern",size:Ee},{type:"elem",elem:te}]});return Gn(["mord","accentunder"],[Me],z)},mathmlBuilder:(oe,z)=>{var te=mo(oe.label),ue=new Rr("munder",[ti(oe.base,z),te]);return ue.setAttribute("accentunder","true"),ue}});var rs=oe=>{var z=new Rr("mpadded",oe?[oe]:[]);return z.setAttribute("width","+0.6em"),z.setAttribute("lspace","0.3em"),z};Gr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe;return{type:"xArrow",mode:ue.mode,label:Ee,body:z[0],below:te[0]}},htmlBuilder(oe,z){var te=z.style,ue=z.havingStyle(te.sup()),Ee=er(ma(oe.body,ue,z),z),Me=oe.label.slice(0,2)==="\\x"?"x":"cd";Ee.classes.push(Me+"-arrow-pad");var Xe;oe.below&&(ue=z.havingStyle(te.sub()),Xe=er(ma(oe.below,ue,z),z),Xe.classes.push(Me+"-arrow-pad"));var lt=ps(oe,z),ht=-z.fontMetrics().axisHeight+.5*lt.height,zt=-z.fontMetrics().axisHeight-.5*lt.height-.111;(Ee.depth>.25||oe.label==="\\xleftequilibrium")&&(zt-=Ee.depth);var sn;if(Xe){var An=-z.fontMetrics().axisHeight+Xe.height+.5*lt.height+.111;sn=Ar({positionType:"individualShift",children:[{type:"elem",elem:Ee,shift:zt},{type:"elem",elem:lt,shift:ht},{type:"elem",elem:Xe,shift:An}]})}else sn=Ar({positionType:"individualShift",children:[{type:"elem",elem:Ee,shift:zt},{type:"elem",elem:lt,shift:ht}]});return sn.children[0].children[0].children[1].classes.push("svg-align"),Gn(["mrel","x-arrow"],[sn],z)},mathmlBuilder(oe,z){var te=mo(oe.label);te.setAttribute("minsize",oe.label.charAt(0)==="x"?"1.75em":"3.0em");var ue;if(oe.body){var Ee=rs(ti(oe.body,z));if(oe.below){var Me=rs(ti(oe.below,z));ue=new Rr("munderover",[te,Me,Ee])}else ue=new Rr("mover",[te,Ee])}else if(oe.below){var Xe=rs(ti(oe.below,z));ue=new Rr("munder",[te,Xe])}else ue=rs(),ue=new Rr("mover",[te,ue]);return ue}});function Ns(oe,z){var te=Va(oe.body,z,!0);return Gn([oe.mclass],te,z)}function Yo(oe,z){var te,ue=ci(oe.body,z);return oe.mclass==="minner"?te=new Rr("mpadded",ue):oe.mclass==="mord"?oe.isCharacterBox?(te=ue[0],te.type="mi"):te=new Rr("mi",ue):(oe.isCharacterBox?(te=ue[0],te.type="mo"):te=new Rr("mo",ue),oe.mclass==="mbin"?(te.attributes.lspace="0.22em",te.attributes.rspace="0.22em"):oe.mclass==="mpunct"?(te.attributes.lspace="0em",te.attributes.rspace="0.17em"):oe.mclass==="mopen"||oe.mclass==="mclose"?(te.attributes.lspace="0em",te.attributes.rspace="0em"):oe.mclass==="minner"&&(te.attributes.lspace="0.0556em",te.attributes.width="+0.1111em")),te}Gr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"mclass",mode:te.mode,mclass:"m"+ue.slice(5),body:Pa(Ee),isCharacterBox:Se(Ee)}},htmlBuilder:Ns,mathmlBuilder:Yo});var zo=oe=>{var z=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return z.type==="atom"&&(z.family==="bin"||z.family==="rel")?"m"+z.family:"mord"};Gr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(oe,z){var{parser:te}=oe;return{type:"mclass",mode:te.mode,mclass:zo(z[0]),body:Pa(z[1]),isCharacterBox:Se(z[1])}}}),Gr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[1],Me=z[0],Xe;ue!=="\\stackrel"?Xe=zo(Ee):Xe="mrel";var lt={type:"op",mode:Ee.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:ue!=="\\stackrel",body:Pa(Ee)},ht={type:"supsub",mode:Me.mode,base:lt,sup:ue==="\\underset"?null:Me,sub:ue==="\\underset"?Me:null};return{type:"mclass",mode:te.mode,mclass:Xe,body:[ht],isCharacterBox:Se(ht)}},htmlBuilder:Ns,mathmlBuilder:Yo}),Gr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"pmb",mode:te.mode,mclass:zo(z[0]),body:Pa(z[0])}},htmlBuilder(oe,z){var te=Va(oe.body,z,!0),ue=Gn([oe.mclass],te,z);return ue.style.textShadow="0.02em 0.01em 0.04px",ue},mathmlBuilder(oe,z){var te=ci(oe.body,z),ue=new Rr("mstyle",te);return ue.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),ue}});var tl={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},as=()=>({type:"styling",body:[],mode:"math",style:"display"}),Xi=oe=>oe.type==="textord"&&oe.text==="@",mi=(oe,z)=>(oe.type==="mathord"||oe.type==="atom")&&oe.text===z;function ei(oe,z,te){var ue=tl[oe];switch(ue){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return te.callFunction(ue,[z[0]],[z[1]]);case"\\uparrow":case"\\downarrow":{var Ee=te.callFunction("\\\\cdleft",[z[0]],[]),Me={type:"atom",text:ue,mode:"math",family:"rel"},Xe=te.callFunction("\\Big",[Me],[]),lt=te.callFunction("\\\\cdright",[z[1]],[]),ht={type:"ordgroup",mode:"math",body:[Ee,Xe,lt]};return te.callFunction("\\\\cdparent",[ht],[])}case"\\\\cdlongequal":return te.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var zt={type:"textord",text:"\\Vert",mode:"math"};return te.callFunction("\\Big",[zt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function eo(oe){var z=[];for(oe.gullet.beginGroup(),oe.gullet.macros.set("\\cr","\\\\\\relax"),oe.gullet.beginGroup();;){z.push(oe.parseExpression(!1,"\\\\")),oe.gullet.endGroup(),oe.gullet.beginGroup();var te=oe.fetch().text;if(te==="&"||te==="\\\\")oe.consume();else if(te==="\\end"){z[z.length-1].length===0&&z.pop();break}else throw new St("Expected \\\\ or \\cr or \\end",oe.nextToken)}for(var ue=[],Ee=[ue],Me=0;Me<z.length;Me++){for(var Xe=z[Me],lt=as(),ht=0;ht<Xe.length;ht++)if(!Xi(Xe[ht]))lt.body.push(Xe[ht]);else{ue.push(lt),ht+=1;var zt=hs(Xe[ht]).text,sn=new Array(2);if(sn[0]={type:"ordgroup",mode:"math",body:[]},sn[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(zt))if("<>AV".includes(zt))for(var An=0;An<2;An++){for(var Fn=!0,Hn=ht+1;Hn<Xe.length;Hn++){if(mi(Xe[Hn],zt)){Fn=!1,ht=Hn;break}if(Xi(Xe[Hn]))throw new St("Missing a "+zt+" character to complete a CD arrow.",Xe[Hn]);sn[An].body.push(Xe[Hn])}if(Fn)throw new St("Missing a "+zt+" character to complete a CD arrow.",Xe[ht])}else throw new St('Expected one of "<>AV=|." after @',Xe[ht]);var ir=ei(zt,sn,oe),Xn={type:"styling",body:[ir],mode:"math",style:"display"};ue.push(Xn),lt=as()}Me%2===0?ue.push(lt):ue.shift(),ue=[],Ee.push(ue)}oe.gullet.endGroup(),oe.gullet.endGroup();var Cr=new Array(Ee[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:Ee,arraystretch:1,addJot:!0,rowGaps:[null],cols:Cr,colSeparationType:"CD",hLinesBeforeRow:new Array(Ee.length+1).fill([])}}Gr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"cdlabel",mode:te.mode,side:ue.slice(4),label:z[0]}},htmlBuilder(oe,z){var te=z.havingStyle(z.style.sup()),ue=er(ma(oe.label,te,z),z);return ue.classes.push("cd-label-"+oe.side),ue.style.bottom=qt(.8-ue.depth),ue.height=0,ue.depth=0,ue},mathmlBuilder(oe,z){var te=new Rr("mrow",[ti(oe.label,z)]);return te=new Rr("mpadded",[te]),te.setAttribute("width","0"),oe.side==="left"&&te.setAttribute("lspace","-1width"),te.setAttribute("voffset","0.7em"),te=new Rr("mstyle",[te]),te.setAttribute("displaystyle","false"),te.setAttribute("scriptlevel","1"),te}}),Gr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe;return{type:"cdlabelparent",mode:te.mode,fragment:z[0]}},htmlBuilder(oe,z){var te=er(ma(oe.fragment,z),z);return te.classes.push("cd-vert-arrow"),te},mathmlBuilder(oe,z){return new Rr("mrow",[ti(oe.fragment,z)])}}),Gr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(oe,z){for(var{parser:te}=oe,ue=ai(z[0],"ordgroup"),Ee=ue.body,Me="",Xe=0;Xe<Ee.length;Xe++){var lt=ai(Ee[Xe],"textord");Me+=lt.text}var ht=parseInt(Me),zt;if(isNaN(ht))throw new St("\\@char has non-numeric argument "+Me);if(ht<0||ht>=1114111)throw new St("\\@char with invalid code point "+Me);return ht<=65535?zt=String.fromCharCode(ht):(ht-=65536,zt=String.fromCharCode((ht>>10)+55296,(ht&1023)+56320)),{type:"textord",mode:te.mode,text:zt}}});var to=(oe,z)=>{var te=Va(oe.body,z.withColor(oe.color),!1);return or(te)},ji=(oe,z)=>{var te=ci(oe.body,z.withColor(oe.color)),ue=new Rr("mstyle",te);return ue.setAttribute("mathcolor",oe.color),ue};Gr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(oe,z){var{parser:te}=oe,ue=ai(z[0],"color-token").color,Ee=z[1];return{type:"color",mode:te.mode,color:ue,body:Pa(Ee)}},htmlBuilder:to,mathmlBuilder:ji}),Gr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(oe,z){var{parser:te,breakOnTokenText:ue}=oe,Ee=ai(z[0],"color-token").color;te.gullet.macros.set("\\current@color",Ee);var Me=te.parseExpression(!0,ue);return{type:"color",mode:te.mode,color:Ee,body:Me}},htmlBuilder:to,mathmlBuilder:ji}),Gr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(oe,z,te){var{parser:ue}=oe,Ee=ue.gullet.future().text==="["?ue.parseSizeGroup(!0):null,Me=!ue.settings.displayMode||!ue.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:ue.mode,newLine:Me,size:Ee&&ai(Ee,"size").value}},htmlBuilder(oe,z){var te=Gn(["mspace"],[],z);return oe.newLine&&(te.classes.push("newline"),oe.size&&(te.style.marginTop=qt(de(oe.size,z)))),te},mathmlBuilder(oe,z){var te=new Rr("mspace");return oe.newLine&&(te.setAttribute("linebreak","newline"),oe.size&&te.setAttribute("height",qt(de(oe.size,z)))),te}});var _i={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},vo=oe=>{var z=oe.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(z))throw new St("Expected a control sequence",oe);return z},To=oe=>{var z=oe.gullet.popToken();return z.text==="="&&(z=oe.gullet.popToken(),z.text===" "&&(z=oe.gullet.popToken())),z},go=(oe,z,te,ue)=>{var Ee=oe.gullet.macros.get(te.text);Ee==null&&(te.noexpand=!0,Ee={tokens:[te],numArgs:0,unexpandable:!oe.gullet.isExpandable(te.text)}),oe.gullet.macros.set(z,Ee,ue)};Gr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(oe){var{parser:z,funcName:te}=oe;z.consumeSpaces();var ue=z.fetch();if(_i[ue.text])return(te==="\\global"||te==="\\\\globallong")&&(ue.text=_i[ue.text]),ai(z.parseFunction(),"internal");throw new St("Invalid token after macro prefix",ue)}}),Gr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=z.gullet.popToken(),Ee=ue.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Ee))throw new St("Expected a control sequence",ue);for(var Me=0,Xe,lt=[[]];z.gullet.future().text!=="{";)if(ue=z.gullet.popToken(),ue.text==="#"){if(z.gullet.future().text==="{"){Xe=z.gullet.future(),lt[Me].push("{");break}if(ue=z.gullet.popToken(),!/^[1-9]$/.test(ue.text))throw new St('Invalid argument number "'+ue.text+'"');if(parseInt(ue.text)!==Me+1)throw new St('Argument number "'+ue.text+'" out of order');Me++,lt.push([])}else{if(ue.text==="EOF")throw new St("Expected a macro definition");lt[Me].push(ue.text)}var{tokens:ht}=z.gullet.consumeArg();return Xe&&ht.unshift(Xe),(te==="\\edef"||te==="\\xdef")&&(ht=z.gullet.expandTokens(ht),ht.reverse()),z.gullet.macros.set(Ee,{tokens:ht,numArgs:Me,delimiters:lt},te===_i[te]),{type:"internal",mode:z.mode}}}),Gr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=vo(z.gullet.popToken());z.gullet.consumeSpaces();var Ee=To(z);return go(z,ue,Ee,te==="\\\\globallet"),{type:"internal",mode:z.mode}}}),Gr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=vo(z.gullet.popToken()),Ee=z.gullet.popToken(),Me=z.gullet.popToken();return go(z,ue,Me,te==="\\\\globalfuture"),z.gullet.pushToken(Me),z.gullet.pushToken(Ee),{type:"internal",mode:z.mode}}});var Wi=function(z,te,ue){var Ee=zr.math[z]&&zr.math[z].replace,Me=pa(Ee||z,te,ue);if(!Me)throw new Error("Unsupported symbol "+z+" and font size "+te+".");return Me},$i=function(z,te,ue,Ee){var Me=ue.havingBaseStyle(te),Xe=Gn(Ee.concat(Me.sizingClasses(ue)),[z],ue),lt=Me.sizeMultiplier/ue.sizeMultiplier;return Xe.height*=lt,Xe.depth*=lt,Xe.maxFontSize=Me.sizeMultiplier,Xe},Eo=function(z,te,ue){var Ee=te.havingBaseStyle(ue),Me=(1-te.sizeMultiplier/Ee.sizeMultiplier)*te.fontMetrics().axisHeight;z.classes.push("delimcenter"),z.style.top=qt(Me),z.height-=Me,z.depth+=Me},Xo=function(z,te,ue,Ee,Me,Xe){var lt=_t(z,"Main-Regular",Me,Ee),ht=$i(lt,te,Ee,Xe);return ue&&Eo(ht,Ee,te),ht},is=function(z,te,ue,Ee){return _t(z,"Size"+te+"-Regular",ue,Ee)},Fs=function(z,te,ue,Ee,Me,Xe){var lt=is(z,te,Me,Ee),ht=$i(Gn(["delimsizing","size"+te],[lt],Ee),gt.TEXT,Ee,Xe);return ue&&Eo(ht,Ee,gt.TEXT),ht},_s=function(z,te,ue){var Ee;te==="Size1-Regular"?Ee="delim-size1":Ee="delim-size4";var Me=Gn(["delimsizinginner",Ee],[Gn([],[_t(z,te,ue)])]);return{type:"elem",elem:Me}},Ho=function(z,te,ue){var Ee=$r["Size4-Regular"][z.charCodeAt(0)]?$r["Size4-Regular"][z.charCodeAt(0)][4]:$r["Size1-Regular"][z.charCodeAt(0)][4],Me=new Sr("inner",kt(z,Math.round(1e3*te))),Xe=new Yn([Me],{width:qt(Ee),height:qt(te),style:"width:"+qt(Ee),viewBox:"0 0 "+1e3*Ee+" "+Math.round(1e3*te),preserveAspectRatio:"xMinYMin"}),lt=Vr([],[Xe],ue);return lt.height=te,lt.style.height=qt(te),lt.style.width=qt(Ee),{type:"elem",elem:lt}},So=.008,Ki={type:"kern",size:-1*So},Ro=new Set(["|","\\lvert","\\rvert","\\vert"]),Oo=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),lo=function(z,te,ue,Ee,Me,Xe){var lt,ht,zt,sn,An="",Fn=0;lt=zt=sn=z,ht=null;var Hn="Size1-Regular";z==="\\uparrow"?zt=sn="\u23D0":z==="\\Uparrow"?zt=sn="\u2016":z==="\\downarrow"?lt=zt="\u23D0":z==="\\Downarrow"?lt=zt="\u2016":z==="\\updownarrow"?(lt="\\uparrow",zt="\u23D0",sn="\\downarrow"):z==="\\Updownarrow"?(lt="\\Uparrow",zt="\u2016",sn="\\Downarrow"):Ro.has(z)?(zt="\u2223",An="vert",Fn=333):Oo.has(z)?(zt="\u2225",An="doublevert",Fn=556):z==="["||z==="\\lbrack"?(lt="\u23A1",zt="\u23A2",sn="\u23A3",Hn="Size4-Regular",An="lbrack",Fn=667):z==="]"||z==="\\rbrack"?(lt="\u23A4",zt="\u23A5",sn="\u23A6",Hn="Size4-Regular",An="rbrack",Fn=667):z==="\\lfloor"||z==="\u230A"?(zt=lt="\u23A2",sn="\u23A3",Hn="Size4-Regular",An="lfloor",Fn=667):z==="\\lceil"||z==="\u2308"?(lt="\u23A1",zt=sn="\u23A2",Hn="Size4-Regular",An="lceil",Fn=667):z==="\\rfloor"||z==="\u230B"?(zt=lt="\u23A5",sn="\u23A6",Hn="Size4-Regular",An="rfloor",Fn=667):z==="\\rceil"||z==="\u2309"?(lt="\u23A4",zt=sn="\u23A5",Hn="Size4-Regular",An="rceil",Fn=667):z==="("||z==="\\lparen"?(lt="\u239B",zt="\u239C",sn="\u239D",Hn="Size4-Regular",An="lparen",Fn=875):z===")"||z==="\\rparen"?(lt="\u239E",zt="\u239F",sn="\u23A0",Hn="Size4-Regular",An="rparen",Fn=875):z==="\\{"||z==="\\lbrace"?(lt="\u23A7",ht="\u23A8",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular"):z==="\\}"||z==="\\rbrace"?(lt="\u23AB",ht="\u23AC",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):z==="\\lgroup"||z==="\u27EE"?(lt="\u23A7",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular"):z==="\\rgroup"||z==="\u27EF"?(lt="\u23AB",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):z==="\\lmoustache"||z==="\u23B0"?(lt="\u23A7",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):(z==="\\rmoustache"||z==="\u23B1")&&(lt="\u23AB",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular");var ir=Wi(lt,Hn,Me),Xn=ir.height+ir.depth,Cr=Wi(zt,Hn,Me),Tr=Cr.height+Cr.depth,kr=Wi(sn,Hn,Me),jr=kr.height+kr.depth,qr=0,Sa=1;if(ht!==null){var na=Wi(ht,Hn,Me);qr=na.height+na.depth,Sa=2}var Oa=Xn+jr+qr,Fa=Math.max(0,Math.ceil((te-Oa)/(Sa*Tr))),Ga=Oa+Fa*Sa*Tr,ka=Ee.fontMetrics().axisHeight;ue&&(ka*=Ee.sizeMultiplier);var ni=Ga/2-ka,Ya=[];if(An.length>0){var Wa=Ga-Xn-jr,mr=Math.round(Ga*1e3),sa=Ft(An,Math.round(Wa*1e3)),Ci=new Sr(An,sa),Gi=(Fn/1e3).toFixed(3)+"em",Fo=(mr/1e3).toFixed(3)+"em",oo=new Yn([Ci],{width:Gi,height:Fo,viewBox:"0 0 "+Fn+" "+mr}),po=Vr([],[oo],Ee);po.height=mr/1e3,po.style.width=Gi,po.style.height=Fo,Ya.push({type:"elem",elem:po})}else{if(Ya.push(_s(sn,Hn,Me)),Ya.push(Ki),ht===null){var vi=Ga-Xn-jr+2*So;Ya.push(Ho(zt,vi,Ee))}else{var es=(Ga-Xn-jr-qr)/2+2*So;Ya.push(Ho(zt,es,Ee)),Ya.push(Ki),Ya.push(_s(ht,Hn,Me)),Ya.push(Ki),Ya.push(Ho(zt,es,Ee))}Ya.push(Ki),Ya.push(_s(lt,Hn,Me))}var Li=Ee.havingBaseStyle(gt.TEXT),Zo=Ar({positionType:"bottom",positionData:ni,children:Ya});return $i(Gn(["delimsizing","mult"],[Zo],Li),gt.TEXT,Ee,Xe)},Rs=80,Us=.08,gs=function(z,te,ue,Ee,Me){var Xe=xn(z,Ee,ue),lt=new Sr(z,Xe),ht=new Yn([lt],{width:"400em",height:qt(te),viewBox:"0 0 400000 "+ue,preserveAspectRatio:"xMinYMin slice"});return Vr(["hide-tail"],[ht],Me)},kl=function(z,te){var ue=te.havingBaseSizing(),Ee=Es("\\surd",z*ue.sizeMultiplier,bs,ue),Me=ue.sizeMultiplier,Xe=Math.max(0,te.minRuleThickness-te.fontMetrics().sqrtRuleThickness),lt,ht=0,zt=0,sn=0,An;return Ee.type==="small"?(sn=1e3+1e3*Xe+Rs,z<1?Me=1:z<1.4&&(Me=.7),ht=(1+Xe+Us)/Me,zt=(1+Xe)/Me,lt=gs("sqrtMain",ht,sn,Xe,te),lt.style.minWidth="0.853em",An=.833/Me):Ee.type==="large"?(sn=(1e3+Rs)*vs[Ee.size],zt=(vs[Ee.size]+Xe)/Me,ht=(vs[Ee.size]+Xe+Us)/Me,lt=gs("sqrtSize"+Ee.size,ht,sn,Xe,te),lt.style.minWidth="1.02em",An=1/Me):(ht=z+Xe+Us,zt=z+Xe,sn=Math.floor(1e3*z+Xe)+Rs,lt=gs("sqrtTall",ht,sn,Xe,te),lt.style.minWidth="0.742em",An=1.056),lt.height=zt,lt.style.height=qt(ht),{span:lt,advanceWidth:An,ruleWidth:(te.fontMetrics().sqrtRuleThickness+Xe)*Me}},nl=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),zs=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),Os=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),vs=[0,1.2,1.8,2.4,3],fl=function(z,te,ue,Ee,Me){if(z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle"),nl.has(z)||Os.has(z))return Fs(z,te,!1,ue,Ee,Me);if(zs.has(z))return lo(z,vs[te],!1,ue,Ee,Me);throw new St("Illegal delimiter: '"+z+"'")},rl=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],al=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"stack"}],bs=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ys=function(z){if(z.type==="small")return"Main-Regular";if(z.type==="large")return"Size"+z.size+"-Regular";if(z.type==="stack")return"Size4-Regular";var te=z.type;throw new Error("Add support for delim type '"+te+"' here.")},Es=function(z,te,ue,Ee){for(var Me=Math.min(2,3-Ee.style.size),Xe=Me;Xe<ue.length;Xe++){var lt=ue[Xe];if(lt.type==="stack")break;var ht=Wi(z,ys(lt),"math"),zt=ht.height+ht.depth;if(lt.type==="small"){var sn=Ee.havingBaseStyle(lt.style);zt*=sn.sizeMultiplier}if(zt>te)return lt}return ue[ue.length-1]},os=function(z,te,ue,Ee,Me,Xe){z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle");var lt;Os.has(z)?lt=rl:nl.has(z)?lt=bs:lt=al;var ht=Es(z,te,lt,Ee);return ht.type==="small"?Xo(z,ht.style,ue,Ee,Me,Xe):ht.type==="large"?Fs(z,ht.size,ue,Ee,Me,Xe):lo(z,te,ue,Ee,Me,Xe)},Hs=function(z,te,ue,Ee,Me,Xe){var lt=Ee.fontMetrics().axisHeight*Ee.sizeMultiplier,ht=901,zt=5/Ee.fontMetrics().ptPerEm,sn=Math.max(te-lt,ue+lt),An=Math.max(sn/500*ht,2*sn-zt);return os(z,An,!0,Ee,Me,Xe)},pl={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},_l=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function ks(oe,z){var te=As(oe);if(te&&_l.has(te.text))return te;throw te?new St("Invalid delimiter '"+te.text+"' after '"+z.funcName+"'",oe):new St("Invalid delimiter type '"+oe.type+"'",oe)}Gr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(oe,z)=>{var te=ks(z[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:pl[oe.funcName].size,mclass:pl[oe.funcName].mclass,delim:te.text}},htmlBuilder:(oe,z)=>oe.delim==="."?Gn([oe.mclass]):fl(oe.delim,oe.size,z,oe.mode,[oe.mclass]),mathmlBuilder:oe=>{var z=[];oe.delim!=="."&&z.push(Ca(oe.delim,oe.mode));var te=new Rr("mo",z);oe.mclass==="mopen"||oe.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te.setAttribute("stretchy","true");var ue=qt(vs[oe.size]);return te.setAttribute("minsize",ue),te.setAttribute("maxsize",ue),te}});function Ss(oe){if(!oe.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=oe.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new St("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:ks(z[0],oe).text,color:te}}}),Gr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=ks(z[0],oe),ue=oe.parser;++ue.leftrightDepth;var Ee=ue.parseExpression(!1);--ue.leftrightDepth,ue.expect("\\right",!1);var Me=ai(ue.parseFunction(),"leftright-right");return{type:"leftright",mode:ue.mode,body:Ee,left:te.text,right:Me.delim,rightColor:Me.color}},htmlBuilder:(oe,z)=>{Ss(oe);for(var te=Va(oe.body,z,!0,["mopen","mclose"]),ue=0,Ee=0,Me=!1,Xe=0;Xe<te.length;Xe++)te[Xe].isMiddle?Me=!0:(ue=Math.max(te[Xe].height,ue),Ee=Math.max(te[Xe].depth,Ee));ue*=z.sizeMultiplier,Ee*=z.sizeMultiplier;var lt;if(oe.left==="."?lt=Xa(z,["mopen"]):lt=Hs(oe.left,ue,Ee,z,oe.mode,["mopen"]),te.unshift(lt),Me)for(var ht=1;ht<te.length;ht++){var zt=te[ht],sn=zt.isMiddle;sn&&(te[ht]=Hs(sn.delim,ue,Ee,sn.options,oe.mode,[]))}var An;if(oe.right===".")An=Xa(z,["mclose"]);else{var Fn=oe.rightColor?z.withColor(oe.rightColor):z;An=Hs(oe.right,ue,Ee,Fn,oe.mode,["mclose"])}return te.push(An),Gn(["minner"],te,z)},mathmlBuilder:(oe,z)=>{Ss(oe);var te=ci(oe.body,z);if(oe.left!=="."){var ue=new Rr("mo",[Ca(oe.left,oe.mode)]);ue.setAttribute("fence","true"),te.unshift(ue)}if(oe.right!=="."){var Ee=new Rr("mo",[Ca(oe.right,oe.mode)]);Ee.setAttribute("fence","true"),oe.rightColor&&Ee.setAttribute("mathcolor",oe.rightColor),te.push(Ee)}return za(te)}}),Gr({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=ks(z[0],oe);if(!oe.parser.leftrightDepth)throw new St("\\middle without preceding \\left",te);return{type:"middle",mode:oe.parser.mode,delim:te.text}},htmlBuilder:(oe,z)=>{var te;if(oe.delim===".")te=Xa(z,[]);else{te=fl(oe.delim,1,z,oe.mode,[]);var ue={delim:oe.delim,options:z};te.isMiddle=ue}return te},mathmlBuilder:(oe,z)=>{var te=oe.delim==="\\vert"||oe.delim==="|"?Ca("|","text"):Ca(oe.delim,oe.mode),ue=new Rr("mo",[te]);return ue.setAttribute("fence","true"),ue.setAttribute("lspace","0.05em"),ue.setAttribute("rspace","0.05em"),ue}});var jo=(oe,z)=>{var te=er(ma(oe.body,z),z),ue=oe.label.slice(1),Ee=z.sizeMultiplier,Me,Xe=0,lt=Se(oe.body);if(ue==="sout")Me=Gn(["stretchy","sout"]),Me.height=z.fontMetrics().defaultRuleThickness/Ee,Xe=-.5*z.fontMetrics().xHeight;else if(ue==="phase"){var ht=de({number:.6,unit:"pt"},z),zt=de({number:.35,unit:"ex"},z),sn=z.havingBaseSizing();Ee=Ee/sn.sizeMultiplier;var An=te.height+te.depth+ht+zt;te.style.paddingLeft=qt(An/2+ht);var Fn=Math.floor(1e3*An*Ee),Hn=ln(Fn),ir=new Yn([new Sr("phase",Hn)],{width:"400em",height:qt(Fn/1e3),viewBox:"0 0 400000 "+Fn,preserveAspectRatio:"xMinYMin slice"});Me=Vr(["hide-tail"],[ir],z),Me.style.height=qt(An),Xe=te.depth+ht+zt}else{/cancel/.test(ue)?lt||te.classes.push("cancel-pad"):ue==="angl"?te.classes.push("anglpad"):te.classes.push("boxpad");var Xn=0,Cr=0,Tr=0;/box/.test(ue)?(Tr=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness),Xn=z.fontMetrics().fboxsep+(ue==="colorbox"?0:Tr),Cr=Xn):ue==="angl"?(Tr=Math.max(z.fontMetrics().defaultRuleThickness,z.minRuleThickness),Xn=4*Tr,Cr=Math.max(0,.25-te.depth)):(Xn=lt?.2:0,Cr=Xn),Me=el(te,ue,Xn,Cr,z),/fbox|boxed|fcolorbox/.test(ue)?(Me.style.borderStyle="solid",Me.style.borderWidth=qt(Tr)):ue==="angl"&&Tr!==.049&&(Me.style.borderTopWidth=qt(Tr),Me.style.borderRightWidth=qt(Tr)),Xe=te.depth+Cr,oe.backgroundColor&&(Me.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Me.style.borderColor=oe.borderColor))}var kr;if(oe.backgroundColor)kr=Ar({positionType:"individualShift",children:[{type:"elem",elem:Me,shift:Xe},{type:"elem",elem:te,shift:0}]});else{var jr=/cancel|phase/.test(ue)?["svg-align"]:[];kr=Ar({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Me,shift:Xe,wrapperClasses:jr}]})}return/cancel/.test(ue)&&(kr.height=te.height,kr.depth=te.depth),/cancel/.test(ue)&&!lt?Gn(["mord","cancel-lap"],[kr],z):Gn(["mord"],[kr],z)},xs=(oe,z)=>{var te=0,ue=new Rr(oe.label.includes("colorbox")?"mpadded":"menclose",[ti(oe.body,z)]);switch(oe.label){case"\\cancel":ue.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ue.setAttribute("notation","downdiagonalstrike");break;case"\\phase":ue.setAttribute("notation","phasorangle");break;case"\\sout":ue.setAttribute("notation","horizontalstrike");break;case"\\fbox":ue.setAttribute("notation","box");break;case"\\angl":ue.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(te=z.fontMetrics().fboxsep*z.fontMetrics().ptPerEm,ue.setAttribute("width","+"+2*te+"pt"),ue.setAttribute("height","+"+2*te+"pt"),ue.setAttribute("lspace",te+"pt"),ue.setAttribute("voffset",te+"pt"),oe.label==="\\fcolorbox"){var Ee=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness);ue.setAttribute("style","border: "+Ee+"em solid "+String(oe.borderColor))}break;case"\\xcancel":ue.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&ue.setAttribute("mathbackground",oe.backgroundColor),ue};Gr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe,Me=ai(z[0],"color-token").color,Xe=z[1];return{type:"enclose",mode:ue.mode,label:Ee,backgroundColor:Me,body:Xe}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe,Me=ai(z[0],"color-token").color,Xe=ai(z[1],"color-token").color,lt=z[2];return{type:"enclose",mode:ue.mode,label:Ee,backgroundColor:Xe,borderColor:Me,body:lt}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\fbox",body:z[0]}}}),Gr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"enclose",mode:te.mode,label:ue,body:Ee}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\angl",body:z[0]}}});var il={};function uo(oe){for(var{type:z,names:te,props:ue,handler:Ee,htmlBuilder:Me,mathmlBuilder:Xe}=oe,lt={type:z,numArgs:ue.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Ee},ht=0;ht<te.length;++ht)il[te[ht]]=lt;Me&&(Da[z]=Me),Xe&&(ja[z]=Xe)}var js={};function jt(oe,z){js[oe]=z}class ao{constructor(z,te,ue){this.lexer=z,this.start=te,this.end=ue}static range(z,te){return te?!z||!z.loc||!te.loc||z.loc.lexer!==te.loc.lexer?null:new ao(z.loc.lexer,z.loc.start,te.loc.end):z&&z.loc}}class Vi{constructor(z,te){this.text=z,this.loc=te}range(z,te){return new Vi(te,ao.range(this,z))}}function Ds(oe){var z=[];oe.consumeSpaces();var te=oe.fetch().text;for(te==="\\relax"&&(oe.consume(),oe.consumeSpaces(),te=oe.fetch().text);te==="\\hline"||te==="\\hdashline";)oe.consume(),z.push(te==="\\hdashline"),oe.consumeSpaces(),te=oe.fetch().text;return z}var Qo=oe=>{var z=oe.parser.settings;if(!z.displayMode)throw new St("{"+oe.envName+"} can be used only in display mode.")},ol=new Set(["gather","gather*"]);function qo(oe){if(!oe.includes("ed"))return!oe.includes("*")}function Jo(oe,z,te){var{hskipBeforeAndAfter:ue,addJot:Ee,cols:Me,arraystretch:Xe,colSeparationType:lt,autoTag:ht,singleRow:zt,emptySingleRow:sn,maxNumCols:An,leqno:Fn}=z;if(oe.gullet.beginGroup(),zt||oe.gullet.macros.set("\\cr","\\\\\\relax"),!Xe){var Hn=oe.gullet.expandMacroAsText("\\arraystretch");if(Hn==null)Xe=1;else if(Xe=parseFloat(Hn),!Xe||Xe<0)throw new St("Invalid \\arraystretch: "+Hn)}oe.gullet.beginGroup();var ir=[],Xn=[ir],Cr=[],Tr=[],kr=ht!=null?[]:void 0;function jr(){ht&&oe.gullet.macros.set("\\@eqnsw","1",!0)}function qr(){kr&&(oe.gullet.macros.get("\\df@tag")?(kr.push(oe.subparse([new Vi("\\df@tag")])),oe.gullet.macros.set("\\df@tag",void 0,!0)):kr.push(!!ht&&oe.gullet.macros.get("\\@eqnsw")==="1"))}for(jr(),Tr.push(Ds(oe));;){var Sa=oe.parseExpression(!1,zt?"\\end":"\\\\");oe.gullet.endGroup(),oe.gullet.beginGroup();var na={type:"ordgroup",mode:oe.mode,body:Sa};te&&(na={type:"styling",mode:oe.mode,style:te,body:[na]}),ir.push(na);var Oa=oe.fetch().text;if(Oa==="&"){if(An&&ir.length===An){if(zt||lt)throw new St("Too many tab characters: &",oe.nextToken);oe.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}oe.consume()}else if(Oa==="\\end"){qr(),ir.length===1&&na.type==="styling"&&na.body.length===1&&na.body[0].type==="ordgroup"&&na.body[0].body.length===0&&(Xn.length>1||!sn)&&Xn.pop(),Tr.length<Xn.length+1&&Tr.push([]);break}else if(Oa==="\\\\"){oe.consume();var Fa=void 0;oe.gullet.future().text!==" "&&(Fa=oe.parseSizeGroup(!0)),Cr.push(Fa?Fa.value:null),qr(),Tr.push(Ds(oe)),ir=[],Xn.push(ir),jr()}else throw new St("Expected & or \\\\ or \\cr or \\end",oe.nextToken)}return oe.gullet.endGroup(),oe.gullet.endGroup(),{type:"array",mode:oe.mode,addJot:Ee,arraystretch:Xe,body:Xn,cols:Me,rowGaps:Cr,hskipBeforeAndAfter:ue,hLinesBeforeRow:Tr,colSeparationType:lt,tags:kr,leqno:Fn}}function sl(oe){return oe.slice(0,1)==="d"?"display":"text"}var Go=function(z,te){var ue,Ee,Me=z.body.length,Xe=z.hLinesBeforeRow,lt=0,ht=new Array(Me),zt=[],sn=Math.max(te.fontMetrics().arrayRuleWidth,te.minRuleThickness),An=1/te.fontMetrics().ptPerEm,Fn=5*An;if(z.colSeparationType&&z.colSeparationType==="small"){var Hn=te.havingStyle(gt.SCRIPT).sizeMultiplier;Fn=.2778*(Hn/te.sizeMultiplier)}var ir=z.colSeparationType==="CD"?de({number:3,unit:"ex"},te):12*An,Xn=3*An,Cr=z.arraystretch*ir,Tr=.7*Cr,kr=.3*Cr,jr=0;function qr(Nl){for(var au=0;au<Nl.length;++au)au>0&&(jr+=.25),zt.push({pos:jr,isDashed:Nl[au]})}for(qr(Xe[0]),ue=0;ue<z.body.length;++ue){var Sa=z.body[ue],na=Tr,Oa=kr;lt<Sa.length&&(lt=Sa.length);var Fa=new Array(Sa.length);for(Ee=0;Ee<Sa.length;++Ee){var Ga=ma(Sa[Ee],te);Oa<Ga.depth&&(Oa=Ga.depth),na<Ga.height&&(na=Ga.height),Fa[Ee]=Ga}var ka=z.rowGaps[ue],ni=0;ka&&(ni=de(ka,te),ni>0&&(ni+=kr,Oa<ni&&(Oa=ni),ni=0)),z.addJot&&(Oa+=Xn),Fa.height=na,Fa.depth=Oa,jr+=na,Fa.pos=jr,jr+=Oa+ni,ht[ue]=Fa,qr(Xe[ue+1])}var Ya=jr/2+te.fontMetrics().axisHeight,Wa=z.cols||[],mr=[],sa,Ci,Gi=[];if(z.tags&&z.tags.some(Nl=>Nl))for(ue=0;ue<Me;++ue){var Fo=ht[ue],oo=Fo.pos-Ya,po=z.tags[ue],vi=void 0;po===!0?vi=Gn(["eqn-num"],[],te):po===!1?vi=Gn([],[],te):vi=Gn([],Va(po,te,!0),te),vi.depth=Fo.depth,vi.height=Fo.height,Gi.push({type:"elem",elem:vi,shift:oo})}for(Ee=0,Ci=0;Ee<lt||Ci<Wa.length;++Ee,++Ci){for(var es,Li=Wa[Ci],Zo=!0;((xa=Li)==null?void 0:xa.type)==="separator";){var xa;if(Zo||(sa=Gn(["arraycolsep"],[]),sa.style.width=qt(te.fontMetrics().doubleRuleSep),mr.push(sa)),Li.separator==="|"||Li.separator===":"){var Ta=Li.separator==="|"?"solid":"dashed",si=Gn(["vertical-separator"],[],te);si.style.height=qt(jr),si.style.borderRightWidth=qt(sn),si.style.borderRightStyle=Ta,si.style.margin="0 "+qt(-sn/2);var Mi=jr-Ya;Mi&&(si.style.verticalAlign=qt(-Mi)),mr.push(si)}else throw new St("Invalid separator type: "+Li.separator);Ci++,Li=Wa[Ci],Zo=!1}if(!(Ee>=lt)){var Si=void 0;if(Ee>0||z.hskipBeforeAndAfter){var ho,ts;Si=(ho=(ts=Li)==null?void 0:ts.pregap)!=null?ho:Fn,Si!==0&&(sa=Gn(["arraycolsep"],[]),sa.style.width=qt(Si),mr.push(sa))}var _o=[];for(ue=0;ue<Me;++ue){var $o=ht[ue],Io=$o[Ee];if(Io){var ds=$o.pos-Ya;Io.depth=$o.depth,Io.height=$o.height,_o.push({type:"elem",elem:Io,shift:ds})}}var Ko=Ar({positionType:"individualShift",children:_o}),Qs=Gn(["col-align-"+(((es=Li)==null?void 0:es.align)||"c")],[Ko]);if(mr.push(Qs),Ee<lt-1||z.hskipBeforeAndAfter){var Il,pu;Si=(Il=(pu=Li)==null?void 0:pu.postgap)!=null?Il:Fn,Si!==0&&(sa=Gn(["arraycolsep"],[]),sa.style.width=qt(Si),mr.push(sa))}}}var ku=Gn(["mtable"],mr);if(zt.length>0){for(var Bc=qn("hline",te,sn),$c=qn("hdashline",te,sn),hu=[{type:"elem",elem:ku,shift:0}];zt.length>0;){var Fc=zt.pop(),oc=Fc.pos-Ya;Fc.isDashed?hu.push({type:"elem",elem:$c,shift:oc}):hu.push({type:"elem",elem:Bc,shift:oc})}ku=Ar({positionType:"individualShift",children:hu})}if(Gi.length===0)return Gn(["mord"],[ku],te);var fs=Ar({positionType:"individualShift",children:Gi}),Du=Gn(["tag"],[fs],te);return or([ku,Du])},Ul={c:"center ",l:"left ",r:"right "},io=function(z,te){for(var ue=[],Ee=new Rr("mtd",[],["mtr-glue"]),Me=new Rr("mtd",[],["mml-eqn-num"]),Xe=0;Xe<z.body.length;Xe++){for(var lt=z.body[Xe],ht=[],zt=0;zt<lt.length;zt++)ht.push(new Rr("mtd",[ti(lt[zt],te)]));z.tags&&z.tags[Xe]&&(ht.unshift(Ee),ht.push(Ee),z.leqno?ht.unshift(Me):ht.push(Me)),ue.push(new Rr("mtr",ht))}var sn=new Rr("mtable",ue),An=z.arraystretch===.5?.1:.16+z.arraystretch-1+(z.addJot?.09:0);sn.setAttribute("rowspacing",qt(An));var Fn="",Hn="";if(z.cols&&z.cols.length>0){var ir=z.cols,Xn="",Cr=!1,Tr=0,kr=ir.length;ir[0].type==="separator"&&(Fn+="top ",Tr=1),ir[ir.length-1].type==="separator"&&(Fn+="bottom ",kr-=1);for(var jr=Tr;jr<kr;jr++){var qr=ir[jr];qr.type==="align"?(Hn+=Ul[qr.align],Cr&&(Xn+="none "),Cr=!0):qr.type==="separator"&&Cr&&(Xn+=qr.separator==="|"?"solid ":"dashed ",Cr=!1)}sn.setAttribute("columnalign",Hn.trim()),/[sd]/.test(Xn)&&sn.setAttribute("columnlines",Xn.trim())}if(z.colSeparationType==="align"){for(var Sa=z.cols||[],na="",Oa=1;Oa<Sa.length;Oa++)na+=Oa%2?"0em ":"1em ";sn.setAttribute("columnspacing",na.trim())}else z.colSeparationType==="alignat"||z.colSeparationType==="gather"?sn.setAttribute("columnspacing","0em"):z.colSeparationType==="small"?sn.setAttribute("columnspacing","0.2778em"):z.colSeparationType==="CD"?sn.setAttribute("columnspacing","0.5em"):sn.setAttribute("columnspacing","1em");var Fa="",Ga=z.hLinesBeforeRow;Fn+=Ga[0].length>0?"left ":"",Fn+=Ga[Ga.length-1].length>0?"right ":"";for(var ka=1;ka<Ga.length-1;ka++)Fa+=Ga[ka].length===0?"none ":Ga[ka][0]?"dashed ":"solid ";return/[sd]/.test(Fa)&&sn.setAttribute("rowlines",Fa.trim()),Fn!==""&&(sn=new Rr("menclose",[sn]),sn.setAttribute("notation",Fn.trim())),z.arraystretch&&z.arraystretch<1&&(sn=new Rr("mstyle",[sn]),sn.setAttribute("scriptlevel","1")),sn},ss=function(z,te){z.envName.includes("ed")||Qo(z);var ue=[],Ee=z.envName.includes("at")?"alignat":"align",Me=z.envName==="split",Xe=Jo(z.parser,{cols:ue,addJot:!0,autoTag:Me?void 0:qo(z.envName),emptySingleRow:!0,colSeparationType:Ee,maxNumCols:Me?2:void 0,leqno:z.parser.settings.leqno},"display"),lt=0,ht=0,zt={type:"ordgroup",mode:z.mode,body:[]};if(te[0]&&te[0].type==="ordgroup"){for(var sn="",An=0;An<te[0].body.length;An++){var Fn=ai(te[0].body[An],"textord");sn+=Fn.text}lt=Number(sn),ht=lt*2}var Hn=!ht;Xe.body.forEach(function(Tr){for(var kr=1;kr<Tr.length;kr+=2){var jr=ai(Tr[kr],"styling"),qr=ai(jr.body[0],"ordgroup");qr.body.unshift(zt)}if(Hn)ht<Tr.length&&(ht=Tr.length);else{var Sa=Tr.length/2;if(lt<Sa)throw new St("Too many math in a row: "+("expected "+lt+", but got "+Sa),Tr[0])}});for(var ir=0;ir<ht;++ir){var Xn="r",Cr=0;ir%2===1?Xn="l":ir>0&&Hn&&(Cr=1),ue[ir]={type:"align",align:Xn,pregap:Cr,postgap:0}}return Xe.colSeparationType=Hn?"align":"alignat",Xe};uo({type:"array",names:["array","darray"],props:{numArgs:1},handler(oe,z){var te=As(z[0]),ue=te?[z[0]]:ai(z[0],"ordgroup").body,Ee=ue.map(function(Xe){var lt=hs(Xe),ht=lt.text;if("lcr".includes(ht))return{type:"align",align:ht};if(ht==="|")return{type:"separator",separator:"|"};if(ht===":")return{type:"separator",separator:":"};throw new St("Unknown column alignment: "+ht,Xe)}),Me={cols:Ee,hskipBeforeAndAfter:!0,maxNumCols:Ee.length};return Jo(oe.parser,Me,sl(oe.envName))},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(oe){var z={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName.replace("*","")],te="c",ue={hskipBeforeAndAfter:!1,cols:[{type:"align",align:te}]};if(oe.envName.charAt(oe.envName.length-1)==="*"){var Ee=oe.parser;if(Ee.consumeSpaces(),Ee.fetch().text==="["){if(Ee.consume(),Ee.consumeSpaces(),te=Ee.fetch().text,!"lcr".includes(te))throw new St("Expected l or c or r",Ee.nextToken);Ee.consume(),Ee.consumeSpaces(),Ee.expect("]"),Ee.consume(),ue.cols=[{type:"align",align:te}]}}var Me=Jo(oe.parser,ue,sl(oe.envName)),Xe=Math.max(0,...Me.body.map(lt=>lt.length));return Me.cols=new Array(Xe).fill({type:"align",align:te}),z?{type:"leftright",mode:oe.mode,body:[Me],left:z[0],right:z[1],rightColor:void 0}:Me},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(oe){var z={arraystretch:.5},te=Jo(oe.parser,z,"script");return te.colSeparationType="small",te},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["subarray"],props:{numArgs:1},handler(oe,z){var te=As(z[0]),ue=te?[z[0]]:ai(z[0],"ordgroup").body,Ee=ue.map(function(lt){var ht=hs(lt),zt=ht.text;if("lc".includes(zt))return{type:"align",align:zt};throw new St("Unknown column alignment: "+zt,lt)});if(Ee.length>1)throw new St("{subarray} can contain only one column");var Me={cols:Ee,hskipBeforeAndAfter:!1,arraystretch:.5},Xe=Jo(oe.parser,Me,"script");if(Xe.body.length>0&&Xe.body[0].length>1)throw new St("{subarray} can contain only one column");return Xe},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(oe){var z={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Jo(oe.parser,z,sl(oe.envName));return{type:"leftright",mode:oe.mode,body:[te],left:oe.envName.includes("r")?".":"\\{",right:oe.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ss,htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(oe){ol.has(oe.envName)&&Qo(oe);var z={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:qo(oe.envName),emptySingleRow:!0,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ss,htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(oe){Qo(oe);var z={autoTag:qo(oe.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["CD"],props:{numArgs:0},handler(oe){return Qo(oe),eo(oe.parser)},htmlBuilder:Go,mathmlBuilder:io}),jt("\\nonumber","\\gdef\\@eqnsw{0}"),jt("\\notag","\\nonumber"),Gr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(oe,z){throw new St(oe.funcName+" valid only within array environment")}});var iu=il;Gr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];if(Ee.type!=="ordgroup")throw new St("Invalid environment name",Ee);for(var Me="",Xe=0;Xe<Ee.body.length;++Xe)Me+=ai(Ee.body[Xe],"textord").text;if(ue==="\\begin"){if(!iu.hasOwnProperty(Me))throw new St("No such environment: "+Me,Ee);var lt=iu[Me],{args:ht,optArgs:zt}=te.parseArguments("\\begin{"+Me+"}",lt),sn={mode:te.mode,envName:Me,parser:te},An=lt.handler(sn,ht,zt);te.expect("\\end",!1);var Fn=te.nextToken,Hn=ai(te.parseFunction(),"environment");if(Hn.name!==Me)throw new St("Mismatch: \\begin{"+Me+"} matched by \\end{"+Hn.name+"}",Fn);return An}return{type:"environment",mode:te.mode,name:Me,nameGroup:Ee}}});var hl=(oe,z)=>{var te=oe.font,ue=z.withFont(te);return ma(oe.body,ue)},Gs=(oe,z)=>{var te=oe.font,ue=z.withFont(te);return ti(oe.body,ue)},Ws={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=wi(z[0]),Me=ue;return Me in Ws&&(Me=Ws[Me]),{type:"font",mode:te.mode,font:Me.slice(1),body:Ee}},htmlBuilder:hl,mathmlBuilder:Gs}),Gr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"mclass",mode:te.mode,mclass:zo(ue),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:ue}],isCharacterBox:Se(ue)}}}),Gr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue,breakOnTokenText:Ee}=oe,{mode:Me}=te,Xe=te.parseExpression(!0,Ee),lt="math"+ue.slice(1);return{type:"font",mode:Me,font:lt,body:{type:"ordgroup",mode:te.mode,body:Xe}}},htmlBuilder:hl,mathmlBuilder:Gs});var zl=(oe,z)=>{var te=z.style,ue=te.fracNum(),Ee=te.fracDen(),Me;Me=z.havingStyle(ue);var Xe=ma(oe.numer,Me,z);if(oe.continued){var lt=8.5/z.fontMetrics().ptPerEm,ht=3.5/z.fontMetrics().ptPerEm;Xe.height=Xe.height<lt?lt:Xe.height,Xe.depth=Xe.depth<ht?ht:Xe.depth}Me=z.havingStyle(Ee);var zt=ma(oe.denom,Me,z),sn,An,Fn;oe.hasBarLine?(oe.barSize?(An=de(oe.barSize,z),sn=qn("frac-line",z,An)):sn=qn("frac-line",z),An=sn.height,Fn=sn.height):(sn=null,An=0,Fn=z.fontMetrics().defaultRuleThickness);var Hn,ir,Xn;te.size===gt.DISPLAY.size?(Hn=z.fontMetrics().num1,An>0?ir=3*Fn:ir=7*Fn,Xn=z.fontMetrics().denom1):(An>0?(Hn=z.fontMetrics().num2,ir=Fn):(Hn=z.fontMetrics().num3,ir=3*Fn),Xn=z.fontMetrics().denom2);var Cr;if(sn){var kr=z.fontMetrics().axisHeight;Hn-Xe.depth-(kr+.5*An)<ir&&(Hn+=ir-(Hn-Xe.depth-(kr+.5*An))),kr-.5*An-(zt.height-Xn)<ir&&(Xn+=ir-(kr-.5*An-(zt.height-Xn)));var jr=-(kr-.5*An);Cr=Ar({positionType:"individualShift",children:[{type:"elem",elem:zt,shift:Xn},{type:"elem",elem:sn,shift:jr},{type:"elem",elem:Xe,shift:-Hn}]})}else{var Tr=Hn-Xe.depth-(zt.height-Xn);Tr<ir&&(Hn+=.5*(ir-Tr),Xn+=.5*(ir-Tr)),Cr=Ar({positionType:"individualShift",children:[{type:"elem",elem:zt,shift:Xn},{type:"elem",elem:Xe,shift:-Hn}]})}Me=z.havingStyle(te),Cr.height*=Me.sizeMultiplier/z.sizeMultiplier,Cr.depth*=Me.sizeMultiplier/z.sizeMultiplier;var qr;te.size===gt.DISPLAY.size?qr=z.fontMetrics().delim1:te.size===gt.SCRIPTSCRIPT.size?qr=z.havingStyle(gt.SCRIPT).fontMetrics().delim2:qr=z.fontMetrics().delim2;var Sa,na;return oe.leftDelim==null?Sa=Xa(z,["mopen"]):Sa=os(oe.leftDelim,qr,!0,z.havingStyle(te),oe.mode,["mopen"]),oe.continued?na=Gn([]):oe.rightDelim==null?na=Xa(z,["mclose"]):na=os(oe.rightDelim,qr,!0,z.havingStyle(te),oe.mode,["mclose"]),Gn(["mord"].concat(Me.sizingClasses(z)),[Sa,Gn(["mfrac"],[Cr]),na],z)},se=(oe,z)=>{var te=new Rr("mfrac",[ti(oe.numer,z),ti(oe.denom,z)]);if(!oe.hasBarLine)te.setAttribute("linethickness","0px");else if(oe.barSize){var ue=de(oe.barSize,z);te.setAttribute("linethickness",qt(ue))}if(oe.leftDelim!=null||oe.rightDelim!=null){var Ee=[];if(oe.leftDelim!=null){var Me=new Rr("mo",[new Ti(oe.leftDelim.replace("\\",""))]);Me.setAttribute("fence","true"),Ee.push(Me)}if(Ee.push(te),oe.rightDelim!=null){var Xe=new Rr("mo",[new Ti(oe.rightDelim.replace("\\",""))]);Xe.setAttribute("fence","true"),Ee.push(Xe)}return za(Ee)}return te},Ae=(oe,z)=>{if(!z)return oe;var te={type:"styling",mode:oe.mode,style:z,body:[oe]};return te};Gr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0],Me=z[1],Xe,lt=null,ht=null;switch(ue){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Xe=!0;break;case"\\\\atopfrac":Xe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Xe=!1,lt="(",ht=")";break;case"\\\\bracefrac":Xe=!1,lt="\\{",ht="\\}";break;case"\\\\brackfrac":Xe=!1,lt="[",ht="]";break;default:throw new Error("Unrecognized genfrac command")}var zt=ue==="\\cfrac",sn=null;return zt||ue.startsWith("\\d")?sn="display":ue.startsWith("\\t")&&(sn="text"),Ae({type:"genfrac",mode:te.mode,numer:Ee,denom:Me,continued:zt,hasBarLine:Xe,leftDelim:lt,rightDelim:ht,barSize:null},sn)},htmlBuilder:zl,mathmlBuilder:se}),Gr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(oe){var{parser:z,funcName:te,token:ue}=oe,Ee;switch(te){case"\\over":Ee="\\frac";break;case"\\choose":Ee="\\binom";break;case"\\atop":Ee="\\\\atopfrac";break;case"\\brace":Ee="\\\\bracefrac";break;case"\\brack":Ee="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:z.mode,replaceWith:Ee,token:ue}}});var ke=["display","text","script","scriptscript"],Ue=function(z){var te=null;return z.length>0&&(te=z,te=te==="."?null:te),te};Gr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(oe,z){var{parser:te}=oe,ue=z[4],Ee=z[5],Me=wi(z[0]),Xe=Me.type==="atom"&&Me.family==="open"?Ue(Me.text):null,lt=wi(z[1]),ht=lt.type==="atom"&<.family==="close"?Ue(lt.text):null,zt=ai(z[2],"size"),sn,An=null;zt.isBlank?sn=!0:(An=zt.value,sn=An.number>0);var Fn=null,Hn=z[3];if(Hn.type==="ordgroup"){if(Hn.body.length>0){var ir=ai(Hn.body[0],"textord");Fn=ke[Number(ir.text)]}}else Hn=ai(Hn,"textord"),Fn=ke[Number(Hn.text)];return Ae({type:"genfrac",mode:te.mode,numer:ue,denom:Ee,continued:!1,hasBarLine:sn,barSize:An,leftDelim:Xe,rightDelim:ht},Fn)}}),Gr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(oe,z){var{parser:te,funcName:ue,token:Ee}=oe;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ai(z[0],"size").value,token:Ee}}}),Gr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0],Me=ai(z[1],"infix").size;if(!Me)throw new Error("\\\\abovefrac expected size, but got "+String(Me));var Xe=z[2],lt=Me.number>0;return{type:"genfrac",mode:te.mode,numer:Ee,denom:Xe,continued:!1,hasBarLine:lt,barSize:Me,leftDelim:null,rightDelim:null}}});var mt=(oe,z)=>{var te=z.style,ue,Ee;oe.type==="supsub"?(ue=oe.sup?ma(oe.sup,z.havingStyle(te.sup()),z):ma(oe.sub,z.havingStyle(te.sub()),z),Ee=ai(oe.base,"horizBrace")):Ee=ai(oe,"horizBrace");var Me=ma(Ee.base,z.havingBaseStyle(gt.DISPLAY)),Xe=ps(Ee,z),lt;if(Ee.isOver?(lt=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:.1},{type:"elem",elem:Xe}]}),lt.children[0].children[0].children[1].classes.push("svg-align")):(lt=Ar({positionType:"bottom",positionData:Me.depth+.1+Xe.height,children:[{type:"elem",elem:Xe},{type:"kern",size:.1},{type:"elem",elem:Me}]}),lt.children[0].children[0].children[0].classes.push("svg-align")),ue){var ht=Gn(["mord",Ee.isOver?"mover":"munder"],[lt],z);Ee.isOver?lt=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:ht},{type:"kern",size:.2},{type:"elem",elem:ue}]}):lt=Ar({positionType:"bottom",positionData:ht.depth+.2+ue.height+ue.depth,children:[{type:"elem",elem:ue},{type:"kern",size:.2},{type:"elem",elem:ht}]})}return Gn(["mord",Ee.isOver?"mover":"munder"],[lt],z)},Et=(oe,z)=>{var te=mo(oe.label);return new Rr(oe.isOver?"mover":"munder",[ti(oe.base,z),te])};Gr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"horizBrace",mode:te.mode,label:ue,isOver:/^\\over/.test(ue),base:z[0]}},htmlBuilder:mt,mathmlBuilder:Et}),Gr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[1],Ee=ai(z[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Ee})?{type:"href",mode:te.mode,href:Ee,body:Pa(ue)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:(oe,z)=>{var te=Va(oe.body,z,!1);return hr(oe.href,[],te,z)},mathmlBuilder:(oe,z)=>{var te=ki(oe.body,z);return te instanceof Rr||(te=new Rr("mrow",[te])),te.setAttribute("href",oe.href),te}}),Gr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=ai(z[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:ue}))return te.formatUnsupportedCmd("\\url");for(var Ee=[],Me=0;Me<ue.length;Me++){var Xe=ue[Me];Xe==="~"&&(Xe="\\textasciitilde"),Ee.push({type:"textord",mode:"text",text:Xe})}var lt={type:"text",mode:te.mode,font:"\\texttt",body:Ee};return{type:"href",mode:te.mode,href:ue,body:Pa(lt)}}}),Gr({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(oe,z){var{parser:te}=oe;return{type:"hbox",mode:te.mode,body:Pa(z[0])}},htmlBuilder(oe,z){var te=Va(oe.body,z,!1);return or(te)},mathmlBuilder(oe,z){return new Rr("mrow",ci(oe.body,z))}}),Gr({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue,token:Ee}=oe,Me=ai(z[0],"raw").string,Xe=z[1];te.settings.strict&&te.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var lt,ht={};switch(ue){case"\\htmlClass":ht.class=Me,lt={command:"\\htmlClass",class:Me};break;case"\\htmlId":ht.id=Me,lt={command:"\\htmlId",id:Me};break;case"\\htmlStyle":ht.style=Me,lt={command:"\\htmlStyle",style:Me};break;case"\\htmlData":{for(var zt=Me.split(","),sn=0;sn<zt.length;sn++){var An=zt[sn],Fn=An.indexOf("=");if(Fn<0)throw new St("\\htmlData key/value '"+An+"' missing equals sign");var Hn=An.slice(0,Fn),ir=An.slice(Fn+1);ht["data-"+Hn.trim()]=ir}lt={command:"\\htmlData",attributes:ht};break}default:throw new Error("Unrecognized html command")}return te.settings.isTrusted(lt)?{type:"html",mode:te.mode,attributes:ht,body:Pa(Xe)}:te.formatUnsupportedCmd(ue)},htmlBuilder:(oe,z)=>{var te=Va(oe.body,z,!1),ue=["enclosing"];oe.attributes.class&&ue.push(...oe.attributes.class.trim().split(/\s+/));var Ee=Gn(ue,te,z);for(var Me in oe.attributes)Me!=="class"&&oe.attributes.hasOwnProperty(Me)&&Ee.setAttribute(Me,oe.attributes[Me]);return Ee},mathmlBuilder:(oe,z)=>ki(oe.body,z)}),Gr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"htmlmathml",mode:te.mode,html:Pa(z[0]),mathml:Pa(z[1])}},htmlBuilder:(oe,z)=>{var te=Va(oe.html,z,!1);return or(te)},mathmlBuilder:(oe,z)=>ki(oe.mathml,z)});var Lt=function(z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(z))return{number:+z,unit:"bp"};var te=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(z);if(!te)throw new St("Invalid size: '"+z+"' in \\includegraphics");var ue={number:+(te[1]+te[2]),unit:te[3]};if(!pt(ue))throw new St("Invalid unit: '"+ue.unit+"' in \\includegraphics.");return ue};Gr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(oe,z,te)=>{var{parser:ue}=oe,Ee={number:0,unit:"em"},Me={number:.9,unit:"em"},Xe={number:0,unit:"em"},lt="";if(te[0])for(var ht=ai(te[0],"raw").string,zt=ht.split(","),sn=0;sn<zt.length;sn++){var An=zt[sn].split("=");if(An.length===2){var Fn=An[1].trim();switch(An[0].trim()){case"alt":lt=Fn;break;case"width":Ee=Lt(Fn);break;case"height":Me=Lt(Fn);break;case"totalheight":Xe=Lt(Fn);break;default:throw new St("Invalid key: '"+An[0]+"' in \\includegraphics.")}}}var Hn=ai(z[0],"url").url;return lt===""&&(lt=Hn,lt=lt.replace(/^.*[\\/]/,""),lt=lt.substring(0,lt.lastIndexOf("."))),ue.settings.isTrusted({command:"\\includegraphics",url:Hn})?{type:"includegraphics",mode:ue.mode,alt:lt,width:Ee,height:Me,totalheight:Xe,src:Hn}:ue.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(oe,z)=>{var te=de(oe.height,z),ue=0;oe.totalheight.number>0&&(ue=de(oe.totalheight,z)-te);var Ee=0;oe.width.number>0&&(Ee=de(oe.width,z));var Me={height:qt(te+ue)};Ee>0&&(Me.width=qt(Ee)),ue>0&&(Me.verticalAlign=qt(-ue));var Xe=new Qn(oe.src,oe.alt,Me);return Xe.height=te,Xe.depth=ue,Xe},mathmlBuilder:(oe,z)=>{var te=new Rr("mglyph",[]);te.setAttribute("alt",oe.alt);var ue=de(oe.height,z),Ee=0;if(oe.totalheight.number>0&&(Ee=de(oe.totalheight,z)-ue,te.setAttribute("valign",qt(-Ee))),te.setAttribute("height",qt(ue+Ee)),oe.width.number>0){var Me=de(oe.width,z);te.setAttribute("width",qt(Me))}return te.setAttribute("src",oe.src),te}}),Gr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=ai(z[0],"size");if(te.settings.strict){var Me=ue[1]==="m",Xe=Ee.value.unit==="mu";Me?(Xe||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" supports only mu units, "+("not "+Ee.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" works only in math mode")):Xe&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Ee.value}},htmlBuilder(oe,z){return ur(oe.dimension,z)},mathmlBuilder(oe,z){var te=de(oe.dimension,z);return new qi(te)}}),Gr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"lap",mode:te.mode,alignment:ue.slice(5),body:Ee}},htmlBuilder:(oe,z)=>{var te;oe.alignment==="clap"?(te=Gn([],[ma(oe.body,z)]),te=Gn(["inner"],[te],z)):te=Gn(["inner"],[ma(oe.body,z)]);var ue=Gn(["fix"],[]),Ee=Gn([oe.alignment],[te,ue],z),Me=Gn(["strut"]);return Me.style.height=qt(Ee.height+Ee.depth),Ee.depth&&(Me.style.verticalAlign=qt(-Ee.depth)),Ee.children.unshift(Me),Ee=Gn(["thinbox"],[Ee],z),Gn(["mord","vbox"],[Ee],z)},mathmlBuilder:(oe,z)=>{var te=new Rr("mpadded",[ti(oe.body,z)]);if(oe.alignment!=="rlap"){var ue=oe.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",ue+"width")}return te.setAttribute("width","0px"),te}}),Gr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){var{funcName:te,parser:ue}=oe,Ee=ue.mode;ue.switchMode("math");var Me=te==="\\("?"\\)":"$",Xe=ue.parseExpression(!1,Me);return ue.expect(Me),ue.switchMode(Ee),{type:"styling",mode:ue.mode,style:"text",body:Xe}}}),Gr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){throw new St("Mismatched "+oe.funcName)}});var tn=(oe,z)=>{switch(z.style.size){case gt.DISPLAY.size:return oe.display;case gt.TEXT.size:return oe.text;case gt.SCRIPT.size:return oe.script;case gt.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};Gr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"mathchoice",mode:te.mode,display:Pa(z[0]),text:Pa(z[1]),script:Pa(z[2]),scriptscript:Pa(z[3])}},htmlBuilder:(oe,z)=>{var te=tn(oe,z),ue=Va(te,z,!1);return or(ue)},mathmlBuilder:(oe,z)=>{var te=tn(oe,z);return ki(te,z)}});var _n=(oe,z,te,ue,Ee,Me,Xe)=>{oe=Gn([],[oe]);var lt=te&&Se(te),ht,zt;if(z){var sn=ma(z,ue.havingStyle(Ee.sup()),ue);zt={elem:sn,kern:Math.max(ue.fontMetrics().bigOpSpacing1,ue.fontMetrics().bigOpSpacing3-sn.depth)}}if(te){var An=ma(te,ue.havingStyle(Ee.sub()),ue);ht={elem:An,kern:Math.max(ue.fontMetrics().bigOpSpacing2,ue.fontMetrics().bigOpSpacing4-An.height)}}var Fn;if(zt&&ht){var Hn=ue.fontMetrics().bigOpSpacing5+ht.elem.height+ht.elem.depth+ht.kern+oe.depth+Xe;Fn=Ar({positionType:"bottom",positionData:Hn,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:ht.elem,marginLeft:qt(-Me)},{type:"kern",size:ht.kern},{type:"elem",elem:oe},{type:"kern",size:zt.kern},{type:"elem",elem:zt.elem,marginLeft:qt(Me)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else if(ht){var ir=oe.height-Xe;Fn=Ar({positionType:"top",positionData:ir,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:ht.elem,marginLeft:qt(-Me)},{type:"kern",size:ht.kern},{type:"elem",elem:oe}]})}else if(zt){var Xn=oe.depth+Xe;Fn=Ar({positionType:"bottom",positionData:Xn,children:[{type:"elem",elem:oe},{type:"kern",size:zt.kern},{type:"elem",elem:zt.elem,marginLeft:qt(Me)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else return oe;var Cr=[Fn];if(ht&&Me!==0&&!lt){var Tr=Gn(["mspace"],[],ue);Tr.style.marginRight=qt(Me),Cr.unshift(Tr)}return Gn(["mop","op-limits"],Cr,ue)},Mn=new Set(["\\smallint"]),bn=(oe,z)=>{var te,ue,Ee=!1,Me;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Me=ai(oe.base,"op"),Ee=!0):Me=ai(oe,"op");var Xe=z.style,lt=!1;Xe.size===gt.DISPLAY.size&&Me.symbol&&!Mn.has(Me.name)&&(lt=!0);var ht;if(Me.symbol){var zt=lt?"Size2-Regular":"Size1-Regular",sn="";if((Me.name==="\\oiint"||Me.name==="\\oiiint")&&(sn=Me.name.slice(1),Me.name=sn==="oiint"?"\\iint":"\\iiint"),ht=_t(Me.name,zt,"math",z,["mop","op-symbol",lt?"large-op":"small-op"]),sn.length>0){var An=ht.italic,Fn=ba(sn+"Size"+(lt?"2":"1"),z);ht=Ar({positionType:"individualShift",children:[{type:"elem",elem:ht,shift:0},{type:"elem",elem:Fn,shift:lt?.08:0}]}),Me.name="\\"+sn,ht.classes.unshift("mop"),ht.italic=An}}else if(Me.body){var Hn=Va(Me.body,z,!0);Hn.length===1&&Hn[0]instanceof cr?(ht=Hn[0],ht.classes[0]="mop"):ht=Gn(["mop"],Hn,z)}else{for(var ir=[],Xn=1;Xn<Me.name.length;Xn++)ir.push(Ea(Me.name[Xn],Me.mode,z));ht=Gn(["mop"],ir,z)}var Cr=0,Tr=0;return(ht instanceof cr||Me.name==="\\oiint"||Me.name==="\\oiiint")&&!Me.suppressBaseShift&&(Cr=(ht.height-ht.depth)/2-z.fontMetrics().axisHeight,Tr=ht.italic||0),Ee?_n(ht,te,ue,z,Xe,Tr,Cr):(Cr&&(ht.style.position="relative",ht.style.top=qt(Cr)),ht)},Vn=(oe,z)=>{var te;if(oe.symbol)te=new Rr("mo",[Ca(oe.name,oe.mode)]),Mn.has(oe.name)&&te.setAttribute("largeop","false");else if(oe.body)te=new Rr("mo",ci(oe.body,z));else{te=new Rr("mi",[new Ti(oe.name.slice(1))]);var ue=new Rr("mo",[Ca("\u2061","text")]);oe.parentIsSupSub?te=new Rr("mrow",[te,ue]):te=Fi([te,ue])}return te},$n={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gr({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=ue;return Ee.length===1&&(Ee=$n[Ee]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ee}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Pa(ue)}},htmlBuilder:bn,mathmlBuilder:Vn});var Nn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gr({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0,allowedInArgument:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=te;return ue.length===1&&(ue=Nn[ue]),{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ue}},htmlBuilder:bn,mathmlBuilder:Vn});var Ia=(oe,z)=>{var te,ue,Ee=!1,Me;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Me=ai(oe.base,"operatorname"),Ee=!0):Me=ai(oe,"operatorname");var Xe;if(Me.body.length>0){for(var lt=Me.body.map(An=>{var Fn="text"in An?An.text:void 0;return typeof Fn=="string"?{type:"textord",mode:An.mode,text:Fn}:An}),ht=Va(lt,z.withFont("mathrm"),!0),zt=0;zt<ht.length;zt++){var sn=ht[zt];sn instanceof cr&&(sn.text=sn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Xe=Gn(["mop"],ht,z)}else Xe=Gn(["mop"],[],z);return Ee?_n(Xe,te,ue,z,z.style,0,0):Xe},Qa=(oe,z)=>{for(var te=ci(oe.body,z.withFont("mathrm")),ue=!0,Ee=0;Ee<te.length;Ee++){var Me=te[Ee];if(!(Me instanceof qi))if(Me instanceof Rr)switch(Me.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var Xe=Me.children[0];Me.children.length===1&&Xe instanceof Ti?Xe.text=Xe.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):ue=!1;break}default:ue=!1}else ue=!1}if(ue){var lt=te.map(sn=>sn.toText()).join("");te=[new Ti(lt)]}var ht=new Rr("mi",te);ht.setAttribute("mathvariant","normal");var zt=new Rr("mo",[Ca("\u2061","text")]);return oe.parentIsSupSub?new Rr("mrow",[ht,zt]):Fi([ht,zt])};Gr({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"operatorname",mode:te.mode,body:Pa(Ee),alwaysHandleSupSub:ue==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ia,mathmlBuilder:Qa}),jt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),bi({type:"ordgroup",htmlBuilder(oe,z){return oe.semisimple?or(Va(oe.body,z,!1)):Gn(["mord"],Va(oe.body,z,!0),z)},mathmlBuilder(oe,z){return ki(oe.body,z,!0)}}),Gr({type:"overline",names:["\\overline"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe,ue=z[0];return{type:"overline",mode:te.mode,body:ue}},htmlBuilder(oe,z){var te=ma(oe.body,z.havingCrampedStyle()),ue=qn("overline-line",z),Ee=z.fontMetrics().defaultRuleThickness,Me=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Ee},{type:"elem",elem:ue},{type:"kern",size:Ee}]});return Gn(["mord","overline"],[Me],z)},mathmlBuilder(oe,z){var te=new Rr("mo",[new Ti("\u203E")]);te.setAttribute("stretchy","true");var ue=new Rr("mover",[ti(oe.body,z),te]);return ue.setAttribute("accent","true"),ue}}),Gr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"phantom",mode:te.mode,body:Pa(ue)}},htmlBuilder:(oe,z)=>{var te=Va(oe.body,z.withPhantom(),!1);return or(te)},mathmlBuilder:(oe,z)=>{var te=ci(oe.body,z);return new Rr("mphantom",te)}}),Gr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"hphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Gn([],[ma(oe.body,z.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var ue=0;ue<te.children.length;ue++)te.children[ue].height=0,te.children[ue].depth=0;return te=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te}]}),Gn(["mord"],[te],z)},mathmlBuilder:(oe,z)=>{var te=ci(Pa(oe.body),z),ue=new Rr("mphantom",te),Ee=new Rr("mpadded",[ue]);return Ee.setAttribute("height","0px"),Ee.setAttribute("depth","0px"),Ee}}),Gr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"vphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Gn(["inner"],[ma(oe.body,z.withPhantom())]),ue=Gn(["fix"],[]);return Gn(["mord","rlap"],[te,ue],z)},mathmlBuilder:(oe,z)=>{var te=ci(Pa(oe.body),z),ue=new Rr("mphantom",te),Ee=new Rr("mpadded",[ue]);return Ee.setAttribute("width","0px"),Ee}}),Gr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe,ue=ai(z[0],"size").value,Ee=z[1];return{type:"raisebox",mode:te.mode,dy:ue,body:Ee}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=de(oe.dy,z);return Ar({positionType:"shift",positionData:-ue,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){var te=new Rr("mpadded",[ti(oe.body,z)]),ue=oe.dy.number+oe.dy.unit;return te.setAttribute("voffset",ue),te}}),Gr({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(oe){var{parser:z}=oe;return{type:"internal",mode:z.mode}}}),Gr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(oe,z,te){var{parser:ue}=oe,Ee=te[0],Me=ai(z[0],"size"),Xe=ai(z[1],"size");return{type:"rule",mode:ue.mode,shift:Ee&&ai(Ee,"size").value,width:Me.value,height:Xe.value}},htmlBuilder(oe,z){var te=Gn(["mord","rule"],[],z),ue=de(oe.width,z),Ee=de(oe.height,z),Me=oe.shift?de(oe.shift,z):0;return te.style.borderRightWidth=qt(ue),te.style.borderTopWidth=qt(Ee),te.style.bottom=qt(Me),te.width=ue,te.height=Ee+Me,te.depth=-Me,te.maxFontSize=Ee*1.125*z.sizeMultiplier,te},mathmlBuilder(oe,z){var te=de(oe.width,z),ue=de(oe.height,z),Ee=oe.shift?de(oe.shift,z):0,Me=z.color&&z.getColor()||"black",Xe=new Rr("mspace");Xe.setAttribute("mathbackground",Me),Xe.setAttribute("width",qt(te)),Xe.setAttribute("height",qt(ue));var lt=new Rr("mpadded",[Xe]);return Ee>=0?lt.setAttribute("height",qt(Ee)):(lt.setAttribute("height",qt(Ee)),lt.setAttribute("depth",qt(-Ee))),lt.setAttribute("voffset",qt(Ee)),lt}});function gi(oe,z,te){for(var ue=Va(oe,z,!1),Ee=z.sizeMultiplier/te.sizeMultiplier,Me=0;Me<ue.length;Me++){var Xe=ue[Me].classes.indexOf("sizing");Xe<0?Array.prototype.push.apply(ue[Me].classes,z.sizingClasses(te)):ue[Me].classes[Xe+1]==="reset-size"+z.size&&(ue[Me].classes[Xe+1]="reset-size"+te.size),ue[Me].height*=Ee,ue[Me].depth*=Ee}return or(ue)}var va=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],pi=(oe,z)=>{var te=z.havingSize(oe.size);return gi(oe.body,te,z)};Gr({type:"sizing",names:va,props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{breakOnTokenText:te,funcName:ue,parser:Ee}=oe,Me=Ee.parseExpression(!1,te);return{type:"sizing",mode:Ee.mode,size:va.indexOf(ue)+1,body:Me}},htmlBuilder:pi,mathmlBuilder:(oe,z)=>{var te=z.havingSize(oe.size),ue=ci(oe.body,te),Ee=new Rr("mstyle",ue);return Ee.setAttribute("mathsize",qt(te.sizeMultiplier)),Ee}}),Gr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(oe,z,te)=>{var{parser:ue}=oe,Ee=!1,Me=!1,Xe=te[0]&&ai(te[0],"ordgroup");if(Xe)for(var lt="",ht=0;ht<Xe.body.length;++ht){var zt=Xe.body[ht];if(lt=hs(zt).text,lt==="t")Ee=!0;else if(lt==="b")Me=!0;else{Ee=!1,Me=!1;break}}else Ee=!0,Me=!0;var sn=z[0];return{type:"smash",mode:ue.mode,body:sn,smashHeight:Ee,smashDepth:Me}},htmlBuilder:(oe,z)=>{var te=Gn([],[ma(oe.body,z)]);if(!oe.smashHeight&&!oe.smashDepth)return te;if(oe.smashHeight&&(te.height=0,te.children))for(var ue=0;ue<te.children.length;ue++)te.children[ue].height=0;if(oe.smashDepth&&(te.depth=0,te.children))for(var Ee=0;Ee<te.children.length;Ee++)te.children[Ee].depth=0;var Me=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te}]});return Gn(["mord"],[Me],z)},mathmlBuilder:(oe,z)=>{var te=new Rr("mpadded",[ti(oe.body,z)]);return oe.smashHeight&&te.setAttribute("height","0px"),oe.smashDepth&&te.setAttribute("depth","0px"),te}}),Gr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue}=oe,Ee=te[0],Me=z[0];return{type:"sqrt",mode:ue.mode,body:Me,index:Ee}},htmlBuilder(oe,z){var te=ma(oe.body,z.havingCrampedStyle());te.height===0&&(te.height=z.fontMetrics().xHeight),te=er(te,z);var ue=z.fontMetrics(),Ee=ue.defaultRuleThickness,Me=Ee;z.style.id<gt.TEXT.id&&(Me=z.fontMetrics().xHeight);var Xe=Ee+Me/4,lt=te.height+te.depth+Xe+Ee,{span:ht,ruleWidth:zt,advanceWidth:sn}=kl(lt,z),An=ht.height-zt;An>te.height+te.depth+Xe&&(Xe=(Xe+An-te.height-te.depth)/2);var Fn=ht.height-te.height-Xe-zt;te.style.paddingLeft=qt(sn);var Hn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Fn)},{type:"elem",elem:ht},{type:"kern",size:zt}]});if(oe.index){var ir=z.havingStyle(gt.SCRIPTSCRIPT),Xn=ma(oe.index,ir,z),Cr=.6*(Hn.height-Hn.depth),Tr=Ar({positionType:"shift",positionData:-Cr,children:[{type:"elem",elem:Xn}]}),kr=Gn(["root"],[Tr]);return Gn(["mord","sqrt"],[kr,Hn],z)}else return Gn(["mord","sqrt"],[Hn],z)},mathmlBuilder(oe,z){var{body:te,index:ue}=oe;return ue?new Rr("mroot",[ti(te,z),ti(ue,z)]):new Rr("msqrt",[ti(te,z)])}});var La={display:gt.DISPLAY,text:gt.TEXT,script:gt.SCRIPT,scriptscript:gt.SCRIPTSCRIPT};Gr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe,z){var{breakOnTokenText:te,funcName:ue,parser:Ee}=oe,Me=Ee.parseExpression(!0,te),Xe=ue.slice(1,ue.length-5);return{type:"styling",mode:Ee.mode,style:Xe,body:Me}},htmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te).withFont("");return gi(oe.body,ue,z)},mathmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te),Ee=ci(oe.body,ue),Me=new Rr("mstyle",Ee),Xe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},lt=Xe[oe.style];return Me.setAttribute("scriptlevel",lt[0]),Me.setAttribute("displaystyle",lt[1]),Me}});var Ui=function(z,te){var ue=z.base;if(ue)if(ue.type==="op"){var Ee=ue.limits&&(te.style.size===gt.DISPLAY.size||ue.alwaysHandleSupSub);return Ee?bn:null}else if(ue.type==="operatorname"){var Me=ue.alwaysHandleSupSub&&(te.style.size===gt.DISPLAY.size||ue.limits);return Me?Ia:null}else{if(ue.type==="accent")return Se(ue.base)?ns:null;if(ue.type==="horizBrace"){var Xe=!z.sub;return Xe===ue.isOver?mt:null}else return null}else return null};bi({type:"supsub",htmlBuilder(oe,z){var te=Ui(oe,z);if(te)return te(oe,z);var{base:ue,sup:Ee,sub:Me}=oe,Xe=ma(ue,z),lt,ht,zt=z.fontMetrics(),sn=0,An=0,Fn=ue&&Se(ue);if(Ee){var Hn=z.havingStyle(z.style.sup());lt=ma(Ee,Hn,z),Fn||(sn=Xe.height-Hn.fontMetrics().supDrop*Hn.sizeMultiplier/z.sizeMultiplier)}if(Me){var ir=z.havingStyle(z.style.sub());ht=ma(Me,ir,z),Fn||(An=Xe.depth+ir.fontMetrics().subDrop*ir.sizeMultiplier/z.sizeMultiplier)}var Xn;z.style===gt.DISPLAY?Xn=zt.sup1:z.style.cramped?Xn=zt.sup3:Xn=zt.sup2;var Cr=z.sizeMultiplier,Tr=qt(.5/zt.ptPerEm/Cr),kr=null;if(ht){var jr=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(Xe instanceof cr||jr)&&(kr=qt(-Xe.italic))}var qr;if(lt&&ht){sn=Math.max(sn,Xn,lt.depth+.25*zt.xHeight),An=Math.max(An,zt.sub2);var Sa=zt.defaultRuleThickness,na=4*Sa;if(sn-lt.depth-(ht.height-An)<na){An=na-(sn-lt.depth)+ht.height;var Oa=.8*zt.xHeight-(sn-lt.depth);Oa>0&&(sn+=Oa,An-=Oa)}var Fa=[{type:"elem",elem:ht,shift:An,marginRight:Tr,marginLeft:kr},{type:"elem",elem:lt,shift:-sn,marginRight:Tr}];qr=Ar({positionType:"individualShift",children:Fa})}else if(ht){An=Math.max(An,zt.sub1,ht.height-.8*zt.xHeight);var Ga=[{type:"elem",elem:ht,marginLeft:kr,marginRight:Tr}];qr=Ar({positionType:"shift",positionData:An,children:Ga})}else if(lt)sn=Math.max(sn,Xn,lt.depth+.25*zt.xHeight),qr=Ar({positionType:"shift",positionData:-sn,children:[{type:"elem",elem:lt,marginRight:Tr}]});else throw new Error("supsub must have either sup or sub.");var ka=Ba(Xe,"right")||"mord";return Gn([ka],[Xe,Gn(["msupsub"],[qr])],z)},mathmlBuilder(oe,z){var te=!1,ue,Ee;oe.base&&oe.base.type==="horizBrace"&&(Ee=!!oe.sup,Ee===oe.base.isOver&&(te=!0,ue=oe.base.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var Me=[ti(oe.base,z)];oe.sub&&Me.push(ti(oe.sub,z)),oe.sup&&Me.push(ti(oe.sup,z));var Xe;if(te)Xe=ue?"mover":"munder";else if(oe.sub)if(oe.sup){var zt=oe.base;zt&&zt.type==="op"&&zt.limits&&z.style===gt.DISPLAY||zt&&zt.type==="operatorname"&&zt.alwaysHandleSupSub&&(z.style===gt.DISPLAY||zt.limits)?Xe="munderover":Xe="msubsup"}else{var ht=oe.base;ht&&ht.type==="op"&&ht.limits&&(z.style===gt.DISPLAY||ht.alwaysHandleSupSub)||ht&&ht.type==="operatorname"&&ht.alwaysHandleSupSub&&(ht.limits||z.style===gt.DISPLAY)?Xe="munder":Xe="msub"}else{var lt=oe.base;lt&<.type==="op"&<.limits&&(z.style===gt.DISPLAY||lt.alwaysHandleSupSub)||lt&<.type==="operatorname"&<.alwaysHandleSupSub&&(lt.limits||z.style===gt.DISPLAY)?Xe="mover":Xe="msup"}return new Rr(Xe,Me)}}),bi({type:"atom",htmlBuilder(oe,z){return Ea(oe.text,oe.mode,z,["m"+oe.family])},mathmlBuilder(oe,z){var te=new Rr("mo",[Ca(oe.text,oe.mode)]);if(oe.family==="bin"){var ue=ri(oe,z);ue==="bold-italic"&&te.setAttribute("mathvariant",ue)}else oe.family==="punct"?te.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&te.setAttribute("stretchy","false");return te}});var yi={mi:"italic",mn:"normal",mtext:"normal"};bi({type:"mathord",htmlBuilder(oe,z){return ra(oe,z,"mathord")},mathmlBuilder(oe,z){var te=new Rr("mi",[Ca(oe.text,oe.mode,z)]),ue=ri(oe,z)||"italic";return ue!==yi[te.type]&&te.setAttribute("mathvariant",ue),te}}),bi({type:"textord",htmlBuilder(oe,z){return ra(oe,z,"textord")},mathmlBuilder(oe,z){var te=Ca(oe.text,oe.mode,z),ue=ri(oe,z)||"normal",Ee;return oe.mode==="text"?Ee=new Rr("mtext",[te]):/[0-9]/.test(oe.text)?Ee=new Rr("mn",[te]):oe.text==="\\prime"?Ee=new Rr("mo",[te]):Ee=new Rr("mi",[te]),ue!==yi[Ee.type]&&Ee.setAttribute("mathvariant",ue),Ee}});var ta={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ai={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};bi({type:"spacing",htmlBuilder(oe,z){if(Ai.hasOwnProperty(oe.text)){var te=Ai[oe.text].className||"";if(oe.mode==="text"){var ue=ra(oe,z,"textord");return ue.classes.push(te),ue}else return Gn(["mspace",te],[Ea(oe.text,oe.mode,z)],z)}else{if(ta.hasOwnProperty(oe.text))return Gn(["mspace",ta[oe.text]],[],z);throw new St('Unknown type of space "'+oe.text+'"')}},mathmlBuilder(oe,z){var te;if(Ai.hasOwnProperty(oe.text))te=new Rr("mtext",[new Ti("\xA0")]);else{if(ta.hasOwnProperty(oe.text))return new Rr("mspace");throw new St('Unknown type of space "'+oe.text+'"')}return te}});var Ei=()=>{var oe=new Rr("mtd",[]);return oe.setAttribute("width","50%"),oe};bi({type:"tag",mathmlBuilder(oe,z){var te=new Rr("mtable",[new Rr("mtr",[Ei(),new Rr("mtd",[ki(oe.body,z)]),Ei(),new Rr("mtd",[ki(oe.tag,z)])])]);return te.setAttribute("width","100%"),te}});var Ii={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ri={"\\textbf":"textbf","\\textmd":"textmd"},xo={"\\textit":"textit","\\textup":"textup"},ui=(oe,z)=>{var te=oe.font;if(te){if(Ii[te])return z.withTextFontFamily(Ii[te]);if(Ri[te])return z.withTextFontWeight(Ri[te]);if(te==="\\emph")return z.fontShape==="textit"?z.withTextFontShape("textup"):z.withTextFontShape("textit")}else return z;return z.withTextFontShape(xo[te])};Gr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"text",mode:te.mode,body:Pa(Ee),font:ue}},htmlBuilder(oe,z){var te=ui(oe,z),ue=Va(oe.body,te,!0);return Gn(["mord","text"],ue,te)},mathmlBuilder(oe,z){var te=ui(oe,z);return ki(oe.body,te)}}),Gr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"underline",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=qn("underline-line",z),Ee=z.fontMetrics().defaultRuleThickness,Me=Ar({positionType:"top",positionData:te.height,children:[{type:"kern",size:Ee},{type:"elem",elem:ue},{type:"kern",size:3*Ee},{type:"elem",elem:te}]});return Gn(["mord","underline"],[Me],z)},mathmlBuilder(oe,z){var te=new Rr("mo",[new Ti("\u203E")]);te.setAttribute("stretchy","true");var ue=new Rr("munder",[ti(oe.body,z),te]);return ue.setAttribute("accentunder","true"),ue}}),Gr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"vcenter",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=z.fontMetrics().axisHeight,Ee=.5*(te.height-ue-(te.depth+ue));return Ar({positionType:"shift",positionData:Ee,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){return new Rr("mpadded",[ti(oe.body,z)],["vcenter"])}}),Gr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(oe,z,te){throw new St("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(oe,z){for(var te=x(oe),ue=[],Ee=z.havingStyle(z.style.text()),Me=0;Me<te.length;Me++){var Xe=te[Me];Xe==="~"&&(Xe="\\textasciitilde"),ue.push(_t(Xe,"Typewriter-Regular",oe.mode,Ee,["mord","texttt"]))}return Gn(["mord","text"].concat(Ee.sizingClasses(z)),ha(ue),Ee)},mathmlBuilder(oe,z){var te=new Ti(x(oe)),ue=new Rr("mtext",[te]);return ue.setAttribute("mathvariant","monospace"),ue}});var x=oe=>oe.body.replace(/ /g,oe.star?"\u2423":"\xA0"),ee=Ha,Ne=`[ \r
|
|
|
]`,Ot="\\\\[a-zA-Z@]+",Rn="\\\\[^\uD800-\uDFFF]",fr="("+Ot+")"+Ne+"*",Mr=`\\\\(
|
|
|
|[ \r ]+
|
|
|
?)[ \r ]*`,hn="[\u0300-\u036F]",wa=new RegExp(hn+"+$"),hi="("+Ne+"+)|"+(Mr+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(hn+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(hn+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+fr)+("|"+Rn+")");class Bn{constructor(z,te){this.input=z,this.settings=te,this.tokenRegex=new RegExp(hi,"g"),this.catcodes={"%":14,"~":13}}setCatcode(z,te){this.catcodes[z]=te}lex(){var z=this.input,te=this.tokenRegex.lastIndex;if(te===z.length)return new Vi("EOF",new ao(this,te,te));var ue=this.tokenRegex.exec(z);if(ue===null||ue.index!==te)throw new St("Unexpected character: '"+z[te]+"'",new Vi(z[te],new ao(this,te,te+1)));var Ee=ue[6]||ue[3]||(ue[2]?"\\ ":" ");if(this.catcodes[Ee]===14){var Me=z.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Me===-1?(this.tokenRegex.lastIndex=z.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Me+1,this.lex()}return new Vi(Ee,new ao(this,te,this.tokenRegex.lastIndex))}}class no{constructor(z,te){z===void 0&&(z={}),te===void 0&&(te={}),this.current=te,this.builtins=z,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new St("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var z=this.undefStack.pop();for(var te in z)z.hasOwnProperty(te)&&(z[te]==null?delete this.current[te]:this.current[te]=z[te])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(z){return this.current.hasOwnProperty(z)||this.builtins.hasOwnProperty(z)}get(z){return this.current.hasOwnProperty(z)?this.current[z]:this.builtins[z]}set(z,te,ue){if(ue===void 0&&(ue=!1),ue){for(var Ee=0;Ee<this.undefStack.length;Ee++)delete this.undefStack[Ee][z];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][z]=te)}else{var Me=this.undefStack[this.undefStack.length-1];Me&&!Me.hasOwnProperty(z)&&(Me[z]=this.current[z])}te==null?delete this.current[z]:this.current[z]=te}}var Ao=js;jt("\\noexpand",function(oe){var z=oe.popToken();return oe.isExpandable(z.text)&&(z.noexpand=!0,z.treatAsRelax=!0),{tokens:[z],numArgs:0}}),jt("\\expandafter",function(oe){var z=oe.popToken();return oe.expandOnce(!0),{tokens:[z],numArgs:0}}),jt("\\@firstoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[0],numArgs:0}}),jt("\\@secondoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[1],numArgs:0}}),jt("\\@ifnextchar",function(oe){var z=oe.consumeArgs(3);oe.consumeSpaces();var te=oe.future();return z[0].length===1&&z[0][0].text===te.text?{tokens:z[1],numArgs:0}:{tokens:z[2],numArgs:0}}),jt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),jt("\\TextOrMath",function(oe){var z=oe.consumeArgs(2);return oe.mode==="text"?{tokens:z[0],numArgs:0}:{tokens:z[1],numArgs:0}});var ml={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};jt("\\char",function(oe){var z=oe.popToken(),te,ue=0;if(z.text==="'")te=8,z=oe.popToken();else if(z.text==='"')te=16,z=oe.popToken();else if(z.text==="`")if(z=oe.popToken(),z.text[0]==="\\")ue=z.text.charCodeAt(1);else{if(z.text==="EOF")throw new St("\\char` missing argument");ue=z.text.charCodeAt(0)}else te=10;if(te){if(ue=ml[z.text],ue==null||ue>=te)throw new St("Invalid base-"+te+" digit "+z.text);for(var Ee;(Ee=ml[oe.future().text])!=null&&Ee<te;)ue*=te,ue+=Ee,oe.popToken()}return"\\@char{"+ue+"}"});var Vs=(oe,z,te,ue)=>{var Ee=oe.consumeArg().tokens;if(Ee.length!==1)throw new St("\\newcommand's first argument must be a macro name");var Me=Ee[0].text,Xe=oe.isDefined(Me);if(Xe&&!z)throw new St("\\newcommand{"+Me+"} attempting to redefine "+(Me+"; use \\renewcommand"));if(!Xe&&!te)throw new St("\\renewcommand{"+Me+"} when command "+Me+" does not yet exist; use \\newcommand");var lt=0;if(Ee=oe.consumeArg().tokens,Ee.length===1&&Ee[0].text==="["){for(var ht="",zt=oe.expandNextToken();zt.text!=="]"&&zt.text!=="EOF";)ht+=zt.text,zt=oe.expandNextToken();if(!ht.match(/^\s*[0-9]+\s*$/))throw new St("Invalid number of arguments: "+ht);lt=parseInt(ht),Ee=oe.consumeArg().tokens}return Xe&&ue||oe.macros.set(Me,{tokens:Ee,numArgs:lt}),""};jt("\\newcommand",oe=>Vs(oe,!1,!0,!1)),jt("\\renewcommand",oe=>Vs(oe,!0,!1,!1)),jt("\\providecommand",oe=>Vs(oe,!0,!0,!0)),jt("\\message",oe=>{var z=oe.consumeArgs(1)[0];return console.log(z.reverse().map(te=>te.text).join("")),""}),jt("\\errmessage",oe=>{var z=oe.consumeArgs(1)[0];return console.error(z.reverse().map(te=>te.text).join("")),""}),jt("\\show",oe=>{var z=oe.popToken(),te=z.text;return console.log(z,oe.macros.get(te),ee[te],zr.math[te],zr.text[te]),""}),jt("\\bgroup","{"),jt("\\egroup","}"),jt("~","\\nobreakspace"),jt("\\lq","`"),jt("\\rq","'"),jt("\\aa","\\r a"),jt("\\AA","\\r A"),jt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),jt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),jt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),jt("\u212C","\\mathscr{B}"),jt("\u2130","\\mathscr{E}"),jt("\u2131","\\mathscr{F}"),jt("\u210B","\\mathscr{H}"),jt("\u2110","\\mathscr{I}"),jt("\u2112","\\mathscr{L}"),jt("\u2133","\\mathscr{M}"),jt("\u211B","\\mathscr{R}"),jt("\u212D","\\mathfrak{C}"),jt("\u210C","\\mathfrak{H}"),jt("\u2128","\\mathfrak{Z}"),jt("\\Bbbk","\\Bbb{k}"),jt("\xB7","\\cdotp"),jt("\\llap","\\mathllap{\\textrm{#1}}"),jt("\\rlap","\\mathrlap{\\textrm{#1}}"),jt("\\clap","\\mathclap{\\textrm{#1}}"),jt("\\mathstrut","\\vphantom{(}"),jt("\\underbar","\\underline{\\text{#1}}"),jt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),jt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),jt("\\ne","\\neq"),jt("\u2260","\\neq"),jt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),jt("\u2209","\\notin"),jt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),jt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),jt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),jt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),jt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),jt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),jt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),jt("\u27C2","\\perp"),jt("\u203C","\\mathclose{!\\mkern-0.8mu!}"),jt("\u220C","\\notni"),jt("\u231C","\\ulcorner"),jt("\u231D","\\urcorner"),jt("\u231E","\\llcorner"),jt("\u231F","\\lrcorner"),jt("\xA9","\\copyright"),jt("\xAE","\\textregistered"),jt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),jt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),jt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),jt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),jt("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),jt("\u22EE","\\vdots"),jt("\\varGamma","\\mathit{\\Gamma}"),jt("\\varDelta","\\mathit{\\Delta}"),jt("\\varTheta","\\mathit{\\Theta}"),jt("\\varLambda","\\mathit{\\Lambda}"),jt("\\varXi","\\mathit{\\Xi}"),jt("\\varPi","\\mathit{\\Pi}"),jt("\\varSigma","\\mathit{\\Sigma}"),jt("\\varUpsilon","\\mathit{\\Upsilon}"),jt("\\varPhi","\\mathit{\\Phi}"),jt("\\varPsi","\\mathit{\\Psi}"),jt("\\varOmega","\\mathit{\\Omega}"),jt("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),jt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),jt("\\boxed","\\fbox{$\\displaystyle{#1}$}"),jt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),jt("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),jt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),jt("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),jt("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var co={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Ls=new Set(["bin","rel"]);jt("\\dots",function(oe){var z="\\dotso",te=oe.expandAfterFuture().text;return te in co?z=co[te]:(te.slice(0,4)==="\\not"||te in zr.math&&Ls.has(zr.math[te].group))&&(z="\\dotsb"),z});var ko={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};jt("\\dotso",function(oe){var z=oe.future().text;return z in ko?"\\ldots\\,":"\\ldots"}),jt("\\dotsc",function(oe){var z=oe.future().text;return z in ko&&z!==","?"\\ldots\\,":"\\ldots"}),jt("\\cdots",function(oe){var z=oe.future().text;return z in ko?"\\@cdots\\,":"\\@cdots"}),jt("\\dotsb","\\cdots"),jt("\\dotsm","\\cdots"),jt("\\dotsi","\\!\\cdots"),jt("\\dotsx","\\ldots\\,"),jt("\\DOTSI","\\relax"),jt("\\DOTSB","\\relax"),jt("\\DOTSX","\\relax"),jt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),jt("\\,","\\tmspace+{3mu}{.1667em}"),jt("\\thinspace","\\,"),jt("\\>","\\mskip{4mu}"),jt("\\:","\\tmspace+{4mu}{.2222em}"),jt("\\medspace","\\:"),jt("\\;","\\tmspace+{5mu}{.2777em}"),jt("\\thickspace","\\;"),jt("\\!","\\tmspace-{3mu}{.1667em}"),jt("\\negthinspace","\\!"),jt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),jt("\\negthickspace","\\tmspace-{5mu}{.277em}"),jt("\\enspace","\\kern.5em "),jt("\\enskip","\\hskip.5em\\relax"),jt("\\quad","\\hskip1em\\relax"),jt("\\qquad","\\hskip2em\\relax"),jt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),jt("\\tag@paren","\\tag@literal{({#1})}"),jt("\\tag@literal",oe=>{if(oe.macros.get("\\df@tag"))throw new St("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),jt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),jt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),jt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),jt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),jt("\\newline","\\\\\\relax"),jt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Cs=qt($r["Main-Regular"][84][1]-.7*$r["Main-Regular"][65][1]);jt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Cs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),jt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Cs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),jt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),jt("\\@hspace","\\hskip #1\\relax"),jt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),jt("\\ordinarycolon",":"),jt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),jt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),jt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),jt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),jt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),jt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),jt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),jt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),jt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),jt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),jt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),jt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),jt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),jt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),jt("\u2237","\\dblcolon"),jt("\u2239","\\eqcolon"),jt("\u2254","\\coloneqq"),jt("\u2255","\\eqqcolon"),jt("\u2A74","\\Coloneqq"),jt("\\ratio","\\vcentcolon"),jt("\\coloncolon","\\dblcolon"),jt("\\colonequals","\\coloneqq"),jt("\\coloncolonequals","\\Coloneqq"),jt("\\equalscolon","\\eqqcolon"),jt("\\equalscoloncolon","\\Eqqcolon"),jt("\\colonminus","\\coloneq"),jt("\\coloncolonminus","\\Coloneq"),jt("\\minuscolon","\\eqcolon"),jt("\\minuscoloncolon","\\Eqcolon"),jt("\\coloncolonapprox","\\Colonapprox"),jt("\\coloncolonsim","\\Colonsim"),jt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),jt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),jt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),jt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),jt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),jt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),jt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),jt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),jt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),jt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),jt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),jt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),jt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),jt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),jt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),jt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),jt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),jt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),jt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),jt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),jt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),jt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),jt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),jt("\\imath","\\html@mathml{\\@imath}{\u0131}"),jt("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),jt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),jt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),jt("\u27E6","\\llbracket"),jt("\u27E7","\\rrbracket"),jt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),jt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),jt("\u2983","\\lBrace"),jt("\u2984","\\rBrace"),jt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),jt("\u29B5","\\minuso"),jt("\\darr","\\downarrow"),jt("\\dArr","\\Downarrow"),jt("\\Darr","\\Downarrow"),jt("\\lang","\\langle"),jt("\\rang","\\rangle"),jt("\\uarr","\\uparrow"),jt("\\uArr","\\Uparrow"),jt("\\Uarr","\\Uparrow"),jt("\\N","\\mathbb{N}"),jt("\\R","\\mathbb{R}"),jt("\\Z","\\mathbb{Z}"),jt("\\alef","\\aleph"),jt("\\alefsym","\\aleph"),jt("\\Alpha","\\mathrm{A}"),jt("\\Beta","\\mathrm{B}"),jt("\\bull","\\bullet"),jt("\\Chi","\\mathrm{X}"),jt("\\clubs","\\clubsuit"),jt("\\cnums","\\mathbb{C}"),jt("\\Complex","\\mathbb{C}"),jt("\\Dagger","\\ddagger"),jt("\\diamonds","\\diamondsuit"),jt("\\empty","\\emptyset"),jt("\\Epsilon","\\mathrm{E}"),jt("\\Eta","\\mathrm{H}"),jt("\\exist","\\exists"),jt("\\harr","\\leftrightarrow"),jt("\\hArr","\\Leftrightarrow"),jt("\\Harr","\\Leftrightarrow"),jt("\\hearts","\\heartsuit"),jt("\\image","\\Im"),jt("\\infin","\\infty"),jt("\\Iota","\\mathrm{I}"),jt("\\isin","\\in"),jt("\\Kappa","\\mathrm{K}"),jt("\\larr","\\leftarrow"),jt("\\lArr","\\Leftarrow"),jt("\\Larr","\\Leftarrow"),jt("\\lrarr","\\leftrightarrow"),jt("\\lrArr","\\Leftrightarrow"),jt("\\Lrarr","\\Leftrightarrow"),jt("\\Mu","\\mathrm{M}"),jt("\\natnums","\\mathbb{N}"),jt("\\Nu","\\mathrm{N}"),jt("\\Omicron","\\mathrm{O}"),jt("\\plusmn","\\pm"),jt("\\rarr","\\rightarrow"),jt("\\rArr","\\Rightarrow"),jt("\\Rarr","\\Rightarrow"),jt("\\real","\\Re"),jt("\\reals","\\mathbb{R}"),jt("\\Reals","\\mathbb{R}"),jt("\\Rho","\\mathrm{P}"),jt("\\sdot","\\cdot"),jt("\\sect","\\S"),jt("\\spades","\\spadesuit"),jt("\\sub","\\subset"),jt("\\sube","\\subseteq"),jt("\\supe","\\supseteq"),jt("\\Tau","\\mathrm{T}"),jt("\\thetasym","\\vartheta"),jt("\\weierp","\\wp"),jt("\\Zeta","\\mathrm{Z}"),jt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),jt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),jt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),jt("\\bra","\\mathinner{\\langle{#1}|}"),jt("\\ket","\\mathinner{|{#1}\\rangle}"),jt("\\braket","\\mathinner{\\langle{#1}\\rangle}"),jt("\\Bra","\\left\\langle#1\\right|"),jt("\\Ket","\\left|#1\\right\\rangle");var Zs=oe=>z=>{var te=z.consumeArg().tokens,ue=z.consumeArg().tokens,Ee=z.consumeArg().tokens,Me=z.consumeArg().tokens,Xe=z.macros.get("|"),lt=z.macros.get("\\|");z.macros.beginGroup();var ht=An=>Fn=>{oe&&(Fn.macros.set("|",Xe),Ee.length&&Fn.macros.set("\\|",lt));var Hn=An;if(!An&&Ee.length){var ir=Fn.future();ir.text==="|"&&(Fn.popToken(),Hn=!0)}return{tokens:Hn?Ee:ue,numArgs:0}};z.macros.set("|",ht(!1)),Ee.length&&z.macros.set("\\|",ht(!0));var zt=z.consumeArg().tokens,sn=z.expandTokens([...Me,...zt,...te]);return z.macros.endGroup(),{tokens:sn.reverse(),numArgs:0}};jt("\\bra@ket",Zs(!1)),jt("\\bra@set",Zs(!0)),jt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),jt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),jt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),jt("\\angln","{\\angl n}"),jt("\\blue","\\textcolor{##6495ed}{#1}"),jt("\\orange","\\textcolor{##ffa500}{#1}"),jt("\\pink","\\textcolor{##ff00af}{#1}"),jt("\\red","\\textcolor{##df0030}{#1}"),jt("\\green","\\textcolor{##28ae7b}{#1}"),jt("\\gray","\\textcolor{gray}{#1}"),jt("\\purple","\\textcolor{##9d38bd}{#1}"),jt("\\blueA","\\textcolor{##ccfaff}{#1}"),jt("\\blueB","\\textcolor{##80f6ff}{#1}"),jt("\\blueC","\\textcolor{##63d9ea}{#1}"),jt("\\blueD","\\textcolor{##11accd}{#1}"),jt("\\blueE","\\textcolor{##0c7f99}{#1}"),jt("\\tealA","\\textcolor{##94fff5}{#1}"),jt("\\tealB","\\textcolor{##26edd5}{#1}"),jt("\\tealC","\\textcolor{##01d1c1}{#1}"),jt("\\tealD","\\textcolor{##01a995}{#1}"),jt("\\tealE","\\textcolor{##208170}{#1}"),jt("\\greenA","\\textcolor{##b6ffb0}{#1}"),jt("\\greenB","\\textcolor{##8af281}{#1}"),jt("\\greenC","\\textcolor{##74cf70}{#1}"),jt("\\greenD","\\textcolor{##1fab54}{#1}"),jt("\\greenE","\\textcolor{##0d923f}{#1}"),jt("\\goldA","\\textcolor{##ffd0a9}{#1}"),jt("\\goldB","\\textcolor{##ffbb71}{#1}"),jt("\\goldC","\\textcolor{##ff9c39}{#1}"),jt("\\goldD","\\textcolor{##e07d10}{#1}"),jt("\\goldE","\\textcolor{##a75a05}{#1}"),jt("\\redA","\\textcolor{##fca9a9}{#1}"),jt("\\redB","\\textcolor{##ff8482}{#1}"),jt("\\redC","\\textcolor{##f9685d}{#1}"),jt("\\redD","\\textcolor{##e84d39}{#1}"),jt("\\redE","\\textcolor{##bc2612}{#1}"),jt("\\maroonA","\\textcolor{##ffbde0}{#1}"),jt("\\maroonB","\\textcolor{##ff92c6}{#1}"),jt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),jt("\\maroonD","\\textcolor{##ca337c}{#1}"),jt("\\maroonE","\\textcolor{##9e034e}{#1}"),jt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),jt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),jt("\\purpleC","\\textcolor{##aa87ff}{#1}"),jt("\\purpleD","\\textcolor{##7854ab}{#1}"),jt("\\purpleE","\\textcolor{##543b78}{#1}"),jt("\\mintA","\\textcolor{##f5f9e8}{#1}"),jt("\\mintB","\\textcolor{##edf2df}{#1}"),jt("\\mintC","\\textcolor{##e0e5cc}{#1}"),jt("\\grayA","\\textcolor{##f6f7f7}{#1}"),jt("\\grayB","\\textcolor{##f0f1f2}{#1}"),jt("\\grayC","\\textcolor{##e3e5e6}{#1}"),jt("\\grayD","\\textcolor{##d6d8da}{#1}"),jt("\\grayE","\\textcolor{##babec2}{#1}"),jt("\\grayF","\\textcolor{##888d93}{#1}"),jt("\\grayG","\\textcolor{##626569}{#1}"),jt("\\grayH","\\textcolor{##3b3e40}{#1}"),jt("\\grayI","\\textcolor{##21242c}{#1}"),jt("\\kaBlue","\\textcolor{##314453}{#1}"),jt("\\kaGreen","\\textcolor{##71B307}{#1}");var gl={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class mu{constructor(z,te,ue){this.settings=te,this.expansionCount=0,this.feed(z),this.macros=new no(Ao,te.macros),this.mode=ue,this.stack=[]}feed(z){this.lexer=new Bn(z,this.settings)}switchMode(z){this.mode=z}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(z){this.stack.push(z)}pushTokens(z){this.stack.push(...z)}scanArgument(z){var te,ue,Ee;if(z){if(this.consumeSpaces(),this.future().text!=="[")return null;te=this.popToken(),{tokens:Ee,end:ue}=this.consumeArg(["]"])}else({tokens:Ee,start:te,end:ue}=this.consumeArg());return this.pushToken(new Vi("EOF",ue.loc)),this.pushTokens(Ee),new Vi("",ao.range(te,ue))}consumeSpaces(){for(;;){var z=this.future();if(z.text===" ")this.stack.pop();else break}}consumeArg(z){var te=[],ue=z&&z.length>0;ue||this.consumeSpaces();var Ee=this.future(),Me,Xe=0,lt=0;do{if(Me=this.popToken(),te.push(Me),Me.text==="{")++Xe;else if(Me.text==="}"){if(--Xe,Xe===-1)throw new St("Extra }",Me)}else if(Me.text==="EOF")throw new St("Unexpected end of input in a macro argument, expected '"+(z&&ue?z[lt]:"}")+"'",Me);if(z&&ue)if((Xe===0||Xe===1&&z[lt]==="{")&&Me.text===z[lt]){if(++lt,lt===z.length){te.splice(-lt,lt);break}}else lt=0}while(Xe!==0||ue);return Ee.text==="{"&&te[te.length-1].text==="}"&&(te.pop(),te.shift()),te.reverse(),{tokens:te,start:Ee,end:Me}}consumeArgs(z,te){if(te){if(te.length!==z+1)throw new St("The length of delimiters doesn't match the number of args!");for(var ue=te[0],Ee=0;Ee<ue.length;Ee++){var Me=this.popToken();if(ue[Ee]!==Me.text)throw new St("Use of the macro doesn't match its definition",Me)}}for(var Xe=[],lt=0;lt<z;lt++)Xe.push(this.consumeArg(te&&te[lt+1]).tokens);return Xe}countExpansion(z){if(this.expansionCount+=z,this.expansionCount>this.settings.maxExpand)throw new St("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(z){var te=this.popToken(),ue=te.text,Ee=te.noexpand?null:this._getExpansion(ue);if(Ee==null||z&&Ee.unexpandable){if(z&&Ee==null&&ue[0]==="\\"&&!this.isDefined(ue))throw new St("Undefined control sequence: "+ue);return this.pushToken(te),!1}this.countExpansion(1);var Me=Ee.tokens,Xe=this.consumeArgs(Ee.numArgs,Ee.delimiters);if(Ee.numArgs){Me=Me.slice();for(var lt=Me.length-1;lt>=0;--lt){var ht=Me[lt];if(ht.text==="#"){if(lt===0)throw new St("Incomplete placeholder at end of macro body",ht);if(ht=Me[--lt],ht.text==="#")Me.splice(lt+1,1);else if(/^[1-9]$/.test(ht.text))Me.splice(lt,2,...Xe[+ht.text-1]);else throw new St("Not a valid argument number",ht)}}}return this.pushTokens(Me),Me.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var z=this.stack.pop();return z.treatAsRelax&&(z.text="\\relax"),z}}expandMacro(z){return this.macros.has(z)?this.expandTokens([new Vi(z)]):void 0}expandTokens(z){var te=[],ue=this.stack.length;for(this.pushTokens(z);this.stack.length>ue;)if(this.expandOnce(!0)===!1){var Ee=this.stack.pop();Ee.treatAsRelax&&(Ee.noexpand=!1,Ee.treatAsRelax=!1),te.push(Ee)}return this.countExpansion(te.length),te}expandMacroAsText(z){var te=this.expandMacro(z);return te&&te.map(ue=>ue.text).join("")}_getExpansion(z){var te=this.macros.get(z);if(te==null)return te;if(z.length===1){var ue=this.lexer.catcodes[z];if(ue!=null&&ue!==13)return}var Ee=typeof te=="function"?te(this):te;if(typeof Ee=="string"){var Me=0;if(Ee.includes("#"))for(var Xe=Ee.replace(/##/g,"");Xe.includes("#"+(Me+1));)++Me;for(var lt=new Bn(Ee,this.settings),ht=[],zt=lt.lex();zt.text!=="EOF";)ht.push(zt),zt=lt.lex();ht.reverse();var sn={tokens:ht,numArgs:Me};return sn}return Ee}isDefined(z){return this.macros.has(z)||ee.hasOwnProperty(z)||zr.math.hasOwnProperty(z)||zr.text.hasOwnProperty(z)||gl.hasOwnProperty(z)}isExpandable(z){var te=this.macros.get(z);return te!=null?typeof te=="string"||typeof te=="function"||!te.unexpandable:ee.hasOwnProperty(z)&&!ee[z].primitive}}var Hl=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ms=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),vl={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},ou={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class bl{constructor(z,te){this.mode="math",this.gullet=new mu(z,te,this.mode),this.settings=te,this.leftrightDepth=0,this.nextToken=null}expect(z,te){if(te===void 0&&(te=!0),this.fetch().text!==z)throw new St("Expected '"+z+"', got '"+this.fetch().text+"'",this.fetch());te&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(z){this.mode=z,this.gullet.switchMode(z)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var z=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),z}finally{this.gullet.endGroups()}}subparse(z){var te=this.nextToken;this.consume(),this.gullet.pushToken(new Vi("}")),this.gullet.pushTokens(z);var ue=this.parseExpression(!1);return this.expect("}"),this.nextToken=te,ue}parseExpression(z,te){for(var ue=[];;){this.mode==="math"&&this.consumeSpaces();var Ee=this.fetch();if(bl.endOfExpression.has(Ee.text)||te&&Ee.text===te||z&&ee[Ee.text]&&ee[Ee.text].infix)break;var Me=this.parseAtom(te);if(Me){if(Me.type==="internal")continue}else break;ue.push(Me)}return this.mode==="text"&&this.formLigatures(ue),this.handleInfixNodes(ue)}handleInfixNodes(z){for(var te=-1,ue,Ee=0;Ee<z.length;Ee++){var Me=z[Ee];if(Me.type==="infix"){if(te!==-1)throw new St("only one infix operator per group",Me.token);te=Ee,ue=Me.replaceWith}}if(te!==-1&&ue){var Xe,lt,ht=z.slice(0,te),zt=z.slice(te+1);ht.length===1&&ht[0].type==="ordgroup"?Xe=ht[0]:Xe={type:"ordgroup",mode:this.mode,body:ht},zt.length===1&&zt[0].type==="ordgroup"?lt=zt[0]:lt={type:"ordgroup",mode:this.mode,body:zt};var sn;return ue==="\\\\abovefrac"?sn=this.callFunction(ue,[Xe,z[te],lt],[]):sn=this.callFunction(ue,[Xe,lt],[]),[sn]}else return z}handleSupSubscript(z){var te=this.fetch(),ue=te.text;this.consume(),this.consumeSpaces();var Ee;do{var Me;Ee=this.parseGroup(z)}while(((Me=Ee)==null?void 0:Me.type)==="internal");if(!Ee)throw new St("Expected group after '"+ue+"'",te);return Ee}formatUnsupportedCmd(z){for(var te=[],ue=0;ue<z.length;ue++)te.push({type:"textord",mode:"text",text:z[ue]});var Ee={type:"text",mode:this.mode,body:te},Me={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ee]};return Me}parseAtom(z){var te=this.parseGroup("atom",z);if((te==null?void 0:te.type)==="internal"||this.mode==="text")return te;for(var ue,Ee;;){this.consumeSpaces();var Me=this.fetch();if(Me.text==="\\limits"||Me.text==="\\nolimits"){if(te&&te.type==="op"){var Xe=Me.text==="\\limits";te.limits=Xe,te.alwaysHandleSupSub=!0}else if(te&&te.type==="operatorname")te.alwaysHandleSupSub&&(te.limits=Me.text==="\\limits");else throw new St("Limit controls must follow a math operator",Me);this.consume()}else if(Me.text==="^"){if(ue)throw new St("Double superscript",Me);ue=this.handleSupSubscript("superscript")}else if(Me.text==="_"){if(Ee)throw new St("Double subscript",Me);Ee=this.handleSupSubscript("subscript")}else if(Me.text==="'"){if(ue)throw new St("Double superscript",Me);var lt={type:"textord",mode:this.mode,text:"\\prime"},ht=[lt];for(this.consume();this.fetch().text==="'";)ht.push(lt),this.consume();this.fetch().text==="^"&&ht.push(this.handleSupSubscript("superscript")),ue={type:"ordgroup",mode:this.mode,body:ht}}else if(Ms[Me.text]){var zt=Hl.test(Me.text),sn=[];for(sn.push(new Vi(Ms[Me.text])),this.consume();;){var An=this.fetch().text;if(!Ms[An]||Hl.test(An)!==zt)break;sn.unshift(new Vi(Ms[An])),this.consume()}var Fn=this.subparse(sn);zt?Ee={type:"ordgroup",mode:"math",body:Fn}:ue={type:"ordgroup",mode:"math",body:Fn}}else break}return ue||Ee?{type:"supsub",mode:this.mode,base:te,sup:ue,sub:Ee}:te}parseFunction(z,te){var ue=this.fetch(),Ee=ue.text,Me=ee[Ee];if(!Me)return null;if(this.consume(),te&&te!=="atom"&&!Me.allowedInArgument)throw new St("Got function '"+Ee+"' with no arguments"+(te?" as "+te:""),ue);if(this.mode==="text"&&!Me.allowedInText)throw new St("Can't use function '"+Ee+"' in text mode",ue);if(this.mode==="math"&&Me.allowedInMath===!1)throw new St("Can't use function '"+Ee+"' in math mode",ue);var{args:Xe,optArgs:lt}=this.parseArguments(Ee,Me);return this.callFunction(Ee,Xe,lt,ue,z)}callFunction(z,te,ue,Ee,Me){var Xe={funcName:z,parser:this,token:Ee,breakOnTokenText:Me},lt=ee[z];if(lt&<.handler)return lt.handler(Xe,te,ue);throw new St("No function handler for "+z)}parseArguments(z,te){var ue=te.numArgs+te.numOptionalArgs;if(ue===0)return{args:[],optArgs:[]};for(var Ee=[],Me=[],Xe=0;Xe<ue;Xe++){var lt=te.argTypes&&te.argTypes[Xe],ht=Xe<te.numOptionalArgs;("primitive"in te&&te.primitive&<==null||te.type==="sqrt"&&Xe===1&&Me[0]==null)&&(lt="primitive");var zt=this.parseGroupOfType("argument to '"+z+"'",lt,ht);if(ht)Me.push(zt);else if(zt!=null)Ee.push(zt);else throw new St("Null argument, please report this as a bug")}return{args:Ee,optArgs:Me}}parseGroupOfType(z,te,ue){switch(te){case"color":return this.parseColorGroup(ue);case"size":return this.parseSizeGroup(ue);case"url":return this.parseUrlGroup(ue);case"math":case"text":return this.parseArgumentGroup(ue,te);case"hbox":{var Ee=this.parseArgumentGroup(ue,"text");return Ee!=null?{type:"styling",mode:Ee.mode,body:[Ee],style:"text"}:null}case"raw":{var Me=this.parseStringGroup("raw",ue);return Me!=null?{type:"raw",mode:"text",string:Me.text}:null}case"primitive":{if(ue)throw new St("A primitive argument cannot be optional");var Xe=this.parseGroup(z);if(Xe==null)throw new St("Expected group as "+z,this.fetch());return Xe}case"original":case null:case void 0:return this.parseArgumentGroup(ue);default:throw new St("Unknown group type as "+z,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(z,te){var ue=this.gullet.scanArgument(te);if(ue==null)return null;for(var Ee="",Me;(Me=this.fetch()).text!=="EOF";)Ee+=Me.text,this.consume();return this.consume(),ue.text=Ee,ue}parseRegexGroup(z,te){for(var ue=this.fetch(),Ee=ue,Me="",Xe;(Xe=this.fetch()).text!=="EOF"&&z.test(Me+Xe.text);)Ee=Xe,Me+=Ee.text,this.consume();if(Me==="")throw new St("Invalid "+te+": '"+ue.text+"'",ue);return ue.range(Ee,Me)}parseColorGroup(z){var te=this.parseStringGroup("color",z);if(te==null)return null;var ue=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(te.text);if(!ue)throw new St("Invalid color: '"+te.text+"'",te);var Ee=ue[0];return/^[0-9a-f]{6}$/i.test(Ee)&&(Ee="#"+Ee),{type:"color-token",mode:this.mode,color:Ee}}parseSizeGroup(z){var te,ue=!1;if(this.gullet.consumeSpaces(),!z&&this.gullet.future().text!=="{"?te=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):te=this.parseStringGroup("size",z),!te)return null;!z&&te.text.length===0&&(te.text="0pt",ue=!0);var Ee=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(te.text);if(!Ee)throw new St("Invalid size: '"+te.text+"'",te);var Me={number:+(Ee[1]+Ee[2]),unit:Ee[3]};if(!pt(Me))throw new St("Invalid unit: '"+Me.unit+"'",te);return{type:"size",mode:this.mode,value:Me,isBlank:ue}}parseUrlGroup(z){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var te=this.parseStringGroup("url",z);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),te==null)return null;var ue=te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:ue}}parseArgumentGroup(z,te){var ue=this.gullet.scanArgument(z);if(ue==null)return null;var Ee=this.mode;te&&this.switchMode(te),this.gullet.beginGroup();var Me=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var Xe={type:"ordgroup",mode:this.mode,loc:ue.loc,body:Me};return te&&this.switchMode(Ee),Xe}parseGroup(z,te){var ue=this.fetch(),Ee=ue.text,Me;if(Ee==="{"||Ee==="\\begingroup"){this.consume();var Xe=Ee==="{"?"}":"\\endgroup";this.gullet.beginGroup();var lt=this.parseExpression(!1,Xe),ht=this.fetch();this.expect(Xe),this.gullet.endGroup(),Me={type:"ordgroup",mode:this.mode,loc:ao.range(ue,ht),body:lt,semisimple:Ee==="\\begingroup"||void 0}}else if(Me=this.parseFunction(te,z)||this.parseSymbol(),Me==null&&Ee[0]==="\\"&&!gl.hasOwnProperty(Ee)){if(this.settings.throwOnError)throw new St("Undefined control sequence: "+Ee,ue);Me=this.formatUnsupportedCmd(Ee),this.consume()}return Me}formLigatures(z){for(var te=z.length-1,ue=0;ue<te;++ue){var Ee=z[ue];if(Ee.type==="textord"){var Me=Ee.text,Xe=z[ue+1];if(!(!Xe||Xe.type!=="textord")){if(Me==="-"&&Xe.text==="-"){var lt=z[ue+2];ue+1<te&<&<.type==="textord"&<.text==="-"?(z.splice(ue,3,{type:"textord",mode:"text",loc:ao.range(Ee,lt),text:"---"}),te-=2):(z.splice(ue,2,{type:"textord",mode:"text",loc:ao.range(Ee,Xe),text:"--"}),te-=1)}(Me==="'"||Me==="`")&&Xe.text===Me&&(z.splice(ue,2,{type:"textord",mode:"text",loc:ao.range(Ee,Xe),text:Me+Me}),te-=1)}}}}parseSymbol(){var z=this.fetch(),te=z.text;if(/^\\verb[^a-zA-Z]/.test(te)){this.consume();var ue=te.slice(5),Ee=ue.charAt(0)==="*";if(Ee&&(ue=ue.slice(1)),ue.length<2||ue.charAt(0)!==ue.slice(-1))throw new St(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return ue=ue.slice(1,-1),{type:"verb",mode:"text",body:ue,star:Ee}}ou.hasOwnProperty(te[0])&&!zr[this.mode][te[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+te[0]+'" used in math mode',z),te=ou[te[0]]+te.slice(1));var Me=wa.exec(te);Me&&(te=te.substring(0,Me.index),te==="i"?te="\u0131":te==="j"&&(te="\u0237"));var Xe;if(zr[this.mode][te]){this.settings.strict&&this.mode==="math"&&Wr.includes(te)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+te[0]+'" used in math mode',z);var lt=zr[this.mode][te].group,ht=ao.range(z),zt;if(sr.hasOwnProperty(lt)){var sn=lt;zt={type:"atom",mode:this.mode,family:sn,loc:ht,text:te}}else zt={type:lt,mode:this.mode,loc:ht,text:te};Xe=zt}else if(te.charCodeAt(0)>=128)this.settings.strict&&(Wt(te.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+te[0]+'" used in math mode',z):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+te[0]+'"'+(" ("+te.charCodeAt(0)+")"),z)),Xe={type:"textord",mode:"text",loc:ao.range(z),text:te};else return null;if(this.consume(),Me)for(var An=0;An<Me[0].length;An++){var Fn=Me[0][An];if(!vl[Fn])throw new St("Unknown accent ' "+Fn+"'",z);var Hn=vl[Fn][this.mode]||vl[Fn].text;if(!Hn)throw new St("Accent "+Fn+" unsupported in "+this.mode+" mode",z);Xe={type:"accent",mode:this.mode,loc:ao.range(z),label:Hn,isStretchy:!1,isShifty:!0,base:Xe}}return Xe}}bl.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var yl=function(z,te){if(!(typeof z=="string"||z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ue=new bl(z,te);delete ue.gullet.macros.current["\\df@tag"];var Ee=ue.parse();if(delete ue.gullet.macros.current["\\current@color"],delete ue.gullet.macros.current["\\color"],ue.gullet.macros.get("\\df@tag")){if(!te.displayMode)throw new St("\\tag works only in display equations");Ee=[{type:"tag",mode:"text",body:Ee,tag:ue.subparse([new Vi("\\df@tag")])}]}return Ee},$s=function(z,te,ue){te.textContent="";var Ee=El(z,ue).toNode();te.appendChild(Ee)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),$s=function(){throw new St("KaTeX doesn't work in quirks mode.")});var jl=function(z,te){var ue=El(z,te).toMarkup();return ue},Dl=function(z,te){var ue=new Ut(te);return yl(z,ue)},Gl=function(z,te,ue){if(ue.throwOnError||!(z instanceof St))throw z;var Ee=Gn(["katex-error"],[new cr(te)]);return Ee.setAttribute("title",z.toString()),Ee.setAttribute("style","color:"+ue.errorColor),Ee},El=function(z,te){var ue=new Ut(te);try{var Ee=yl(z,ue);return Ts(Ee,z,ue)}catch(Me){return Gl(Me,z,ue)}},Lr=function(z,te){var ue=new Ut(te);try{var Ee=yl(z,ue);return dl(Ee,z,ue)}catch(Me){return Gl(Me,z,ue)}},ga="0.16.35",oi={Span:Er,Anchor:wt,SymbolNode:cr,SvgNode:Yn,PathNode:Sr,LineNode:br},Za={version:ga,render:$s,renderToString:jl,ParseError:St,SETTINGS_SCHEMA:on,__parse:Dl,__renderToDomTree:El,__renderToHTMLTree:Lr,__setFontMetrics:Hr,__defineSymbol:ve,__defineFunction:Gr,__defineMacro:jt,__domTree:oi},Oi=y(19453);const Wo={},Ps=[];function ls(oe){const z=oe||Wo;return function(te,ue){(0,Oi.S4)(te,"element",function(Ee,Me){const Xe=Array.isArray(Ee.properties.className)?Ee.properties.className:Ps,lt=Xe.includes("language-math"),ht=Xe.includes("math-display"),zt=Xe.includes("math-inline");let sn=ht;if(!lt&&!ht&&!zt)return;let An=Me[Me.length-1],Fn=Ee;if(Ee.tagName==="code"&<&&An&&An.type==="element"&&An.tagName==="pre"&&(Fn=An,An=Me[Me.length-2],sn=!0),!An)return;const Hn=(0,It.l)(Fn,{whitespace:"pre"});let ir;try{ir=Za.renderToString(Hn,Ol(qa({},z),{displayMode:sn,throwOnError:!0}))}catch(Cr){const Tr=Cr,kr=Tr.name.toLowerCase();ue.message("Could not render math with KaTeX",{ancestors:[...Me,Ee],cause:Tr,place:Ee.position,ruleId:kr,source:"rehype-katex"});try{ir=Za.renderToString(Hn,Ol(qa({},z),{displayMode:sn,strict:"ignore",throwOnError:!1}))}catch(jr){ir=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(z.errorColor||"#cc0000"),title:String(Cr)},children:[{type:"text",value:Hn}]}]}}typeof ir=="string"&&(ir=(0,dt.N)(ir,{fragment:!0}).children);const Xn=An.children.indexOf(Fn);return An.children.splice(Xn,1,...ir),Oi.AM})}}var us=y(55468),Bs=y(3369),Do=y(46214),Ks=Object.defineProperty,Lo=Object.getOwnPropertySymbols,Sl=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,Wl=(oe,z,te)=>z in oe?Ks(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,vu=(oe,z)=>{for(var te in z||(z={}))Sl.call(z,te)&&Wl(oe,te,z[te]);if(Lo)for(var te of Lo(z))gu.call(z,te)&&Wl(oe,te,z[te]);return oe},Vl=(oe,z)=>{var te={};for(var ue in oe)Sl.call(oe,ue)&&z.indexOf(ue)<0&&(te[ue]=oe[ue]);if(oe!=null&&Lo)for(var ue of Lo(oe))z.indexOf(ue)<0&&gu.call(oe,ue)&&(te[ue]=oe[ue]);return te},ll=({onFinish:oe,value:z,streamingStatus:te,cancelIndex:ue,loadImage:Ee})=>{const[Me,Xe]=(0,b.useState)(""),[lt,ht]=(0,b.useState)(0),[zt,sn]=(0,b.useState)(!1),An=ir=>ir.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Xn,Cr)=>`<mathx data-text="${Cr.trim()}">$$${Cr.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),Fn=()=>{sn(!0),oe==null||oe()};return(0,b.useEffect)(()=>{const ir=Ee?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
|
|
|
|
|
|
${z}`:z,Xn=An(ir);if(!zt)if(Ee||!te||ue>0){Xe(Xn),ht(Xn.length),(!te||ue>0)&&!Ee&&Fn();return}else if(lt<Xn.length){const Cr=Xn.length-lt,Tr=setInterval(()=>{Xe(Xn.slice(0,lt+2)),ht(kr=>kr+2)},Cr>10?Math.max(500/(Cr/2),20):50);return()=>clearInterval(Tr)}else te||Fn()},[z,te,ue,Ee,lt]),(0,b.useMemo)(()=>b.createElement("section",{className:`${Nt.answer} fadeIn animated edu_md`},b.createElement(_e.UG,{remarkPlugins:[us.Z,Bs.Z],rehypePlugins:[ls,nt.Z],components:{code(ir){var Xn=ir,{node:Cr,inline:Tr,className:kr,children:jr}=Xn,qr=Vl(Xn,["node","inline","className","children"]);const Sa=/language-(\w+)/.exec(kr||""),na=String(jr).trim();return Tr||!Sa?b.createElement("code",vu({className:kr},qr),jr):b.createElement("code",{className:Nt.codeCopy,"data-text":`\`\`\`${Sa?Sa[1]:""}
|
|
|
${jr}
|
|
|
\`\`\``},b.createElement(it.CopyToClipboard,{text:na,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),b.createElement($e.Z,vu({style:bt.Z,language:Sa[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},qr),na))},img({node:ir}){var Xn;const Cr=(Xn=ir.properties)==null?void 0:Xn.src;return b.createElement(vt.Z,{src:Cr,width:320,"data-text":Cr,onLoad:()=>Ee&&setTimeout(()=>Fn(),500)})}}},zt?Me:`${Me}__`)),[Me])},Vo={wrap:"wrap___xM4YL",chatContainer:"chatContainer___YKWvA",btnContainer:"btnContainer___ZOKZ6",btn:"btn___dw4ey",inputContainer:"inputContainer____MqKc",sendBtn:"sendBtn___ZgFiO",sendBtnDisabled:"sendBtnDisabled___kHLNx",cancelBtn:"cancelBtn___W7Cjg",loadingWrp:"loadingWrp___hrOXq","dot-fade":"dot-fade___A97g9"},Lu=({position:oe,children:z})=>{const{left:te=0,top:ue=0}=oe||{},[Ee,Me]=(0,b.useState)(te),[Xe,lt]=(0,b.useState)(ue),ht=(0,b.useRef)(null),zt=()=>{if(ht.current){const sn=ht.current.offsetWidth,An=ht.current.offsetHeight,Fn=window.innerWidth,Hn=window.innerHeight;let ir=te,Xn=ue;te+sn>Fn&&(ir=Fn-sn),ir<0&&(ir=0),ue+An>Hn&&(Xn=Hn-An),Xn<0&&(Xn=0),Me(ir),lt(Xn)}};return(0,b.useEffect)(()=>{if(!ht.current||!oe)return;const sn=new ResizeObserver(()=>{zt()});return sn.observe(ht.current),()=>{sn.disconnect()}},[te,ue,oe]),(0,b.useEffect)(()=>{oe&&zt()},[te,ue,oe]),oe?b.createElement("div",{ref:ht,style:{position:"fixed",left:`${Ee}px`,top:`${Xe}px`,zIndex:1050}},z):null},Zl=Object.defineProperty,$l=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Ll=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,cc=Object.prototype.propertyIsEnumerable,bu=(oe,z,te)=>z in oe?Zl(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Ys=(oe,z)=>{for(var te in z||(z={}))Mu.call(z,te)&&bu(oe,te,z[te]);if(Ll)for(var te of Ll(z))cc.call(z,te)&&bu(oe,te,z[te]);return oe},xl=(oe,z)=>$l(oe,Kl(z)),Ml=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())}),Pu=({visible:oe,position:z,selectText:te,applyRefinedText:ue,fetchUrl:Ee,noRestrictModal:Me,shixun_generation_id:Xe})=>{var lt;const[ht,zt]=(0,b.useState)(!1),[sn,An]=(0,b.useState)([]),[Fn,Hn]=(0,b.useState)(""),[ir,Xn]=(0,b.useState)(1),[Cr,Tr]=(0,b.useState)(""),[kr,jr]=(0,b.useState)(!1),qr=(0,b.useRef)(null),[Sa,na]=(0,b.useState)(!1),[Oa,Fa]=(0,b.useState)(0),Ga=(0,b.useRef)(!1),ka=((lt=sn==null?void 0:sn[(sn==null?void 0:sn.length)-1])==null?void 0:lt.loading)===!0;(0,b.useEffect)(()=>{if(oe){Xn(1);return}na(!1),zt(!1),ni(),Fa(0),An([]),Xn(0)},[oe]);const ni=()=>{var xa,Ta;Hn(""),Tr(""),(Ta=(xa=qr.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa)},Ya=(...xa)=>Ml(void 0,[...xa],function*(Ta="",si=sn){const Mi=Date.now(),Si=[...si,{text:Ta,key:Mi,sender:"user",show:!0},{loading:!0,key:Mi,sender:"AI",show:!0}];Xn(2),An(Si);const ho={type:"stream",content:Ta,shixun_generation_id:Xe};qr.current=new ze(Fe.Z.API_SERVER+Ee,ho),yield new Promise(ts=>{qr.current.on("data",_o=>{const{chunk:{msg:$o},full:Io}=_o,ds=$o==="error";na(!0),Tr(oo(Io)),An(Ko=>Ko.map((Qs,Il)=>Il===Ko.length-1?xl(Ys({},Qs),{text:Io,loading:!1,error:ds}):Qs))}),qr.current.on("done",()=>ts()),qr.current.on("error",_o=>{const $o="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(_o)==="[object Object]"&&_o.status===-9&&(Xn(1),Me(_o.data)),An(Io=>Io.map((ds,Ko)=>Ko===Io.length-1?xl(Ys({},ds),{text:$o,loading:!1,error:!0}):ds)),ts()}),qr.current.on("cancelled",()=>ts()),qr.current.startStream()}),zt(!1)}),Wa=xa=>{Hn(xa.target.value)},mr=xa=>xa.reduce((si,Mi)=>{if(Mi.sender==="user"){const Si=xa.find(ho=>ho.key===Mi.key&&ho.sender==="AI");Si&&(Si!=null&&Si.text)&&!(Si!=null&&Si.error)&&si.push({question:Mi.text,answer:Si.text})}return si},[]),sa=()=>{if(Zo)return;const xa=po("\u6539\u5199");ni(),zt(!0),Ya(xa)},Ci=xa=>{if(xa.key==="Enter"&&!xa.shiftKey){if(xa.preventDefault(),Ga.current||Li)return;sa()}},Gi=()=>{var xa,Ta;Fa(si=>si+1),(Ta=(xa=qr.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa),zt(!1),na(!1)},Fo=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],oo=(xa="")=>{const Ta=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((si,Mi)=>{Ta.push(`\u7B54\u6848${Mi+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Mi+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Mi+1})\u8F93\u51FA\uFF1A`)}),Ta.forEach(si=>{const Mi=new RegExp(si,"g");xa=xa.replace(Mi,`**${si}** `)}),xa},po=xa=>xa==="\u6539\u5199"?`${Fn}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:`${te}\uFF0C${xa}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`,vi=xa=>{let Ta="";xa.key==="1"&&(Ta=po("\u6DA6\u8272")),xa.key==="2"&&(Ta=po("\u6269\u5199")),xa.key==="3"&&(Ta=po("\u7F29\u5199")),ni(),zt(!0),Ya(Ta)},es=()=>{const xa=sn.splice(sn.length-2),{text:Ta}=(xa==null?void 0:xa[0])||{};ni(),zt(!0),Ya(Ta,sn)},Li=ht||Sa,Zo=(Fn==null?void 0:Fn.trim())==="";return oe?b.createElement(we.Z,{open:Zo&&!Li&&(kr||!Cr),overlayStyle:{minWidth:200},menu:{items:Fo,onClick:vi}},b.createElement(Lu,{position:z},b.createElement("div",{className:Vo.wrap},ir===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Vo.chatContainer},ka&&b.createElement("div",{className:Vo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ll,{cancelIndex:Oa,streamingStatus:ht,loadImage:!1,onFinish:()=>Ml(void 0,null,function*(){Fa(0),setTimeout(()=>na(!1),0)}),value:Cr})),b.createElement("div",{className:Vo.btnContainer},b.createElement("div",{onClick:()=>ue(!0,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ue(!1,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(it.CopyToClipboard,{text:Cr,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Vo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:es,className:Vo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Xn(1),ni(),An([])},className:Vo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Vo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:Fn,bordered:!1,onFocus:()=>jr(!0),onBlur:()=>setTimeout(()=>jr(!1),300),onChange:Wa,onPressEnter:Ci,onCompositionStart:()=>Ga.current=!0,onCompositionEnd:()=>Ga.current=!1}),Sa?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Vo.cancelBtn}`,onClick:Gi}):b.createElement(Oe.ZP,{className:Zo?Vo.sendBtnDisabled:Vo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Li,onClick:sa}))))):b.createElement(b.Fragment,null)},yu={"hover-line-container":"hover-line-container___woRPT","hover-line-content":"hover-line-content___i9fTS","line-button-container":"line-button-container___ts8rT",button:"button___DE9UP"},dc=Object.defineProperty,Bu=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,_u=(oe,z,te)=>z in oe?dc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,fc=(oe,z)=>{for(var te in z||(z={}))Mo.call(z,te)&&_u(oe,te,z[te]);if(Bu)for(var te of Bu(z))Fu.call(z,te)&&_u(oe,te,z[te]);return oe};const jc=oe=>React.createElement("svg",fc({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Eu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Uu=(0,b.forwardRef)(({initialContent:oe,onButtonClick:z},te)=>{const[ue,Ee]=(0,b.useState)(null),[Me,Xe]=(0,b.useState)(null),[lt,ht]=(0,b.useState)(""),[zt,sn]=(0,b.useState)(null),An=te,Fn=jr=>{const qr=document.elementFromPoint(10,jr),Sa=document.createRange();let na=null;const Oa=document.createTreeWalker(An.current,NodeFilter.SHOW_TEXT,{acceptNode:mr=>{const sa=document.createRange();sa.selectNodeContents(mr);const Ci=sa.getBoundingClientRect();return Ci.top<=jr&&Ci.bottom>=jr?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Fa="",Ga,ka,ni=null,Ya=null,Wa=null;for(;Ga=Oa.nextNode();){Ga.parentNode.getAttribute("data-select")==="disabled"&&(ka=!0),Fa+=Ga.textContent,Ya||(Ya=Ga),Wa=Ga;const mr=document.createRange();mr.selectNodeContents(Ga);const sa=mr.getBoundingClientRect();ni===null&&(ni=sa.top)}if(Ya&&Wa&&!ka){const mr=document.createRange();mr.setStart(Ya,0),mr.setEnd(Wa,Wa.textContent.length),sn(mr)}else sn(null);return Xe(ni-1),ka?"":Fa.trim()};function Hn(jr){for(;jr.parentElement&&jr.parentElement.tagName.toLowerCase()!=="section";){var qr=window.getComputedStyle(jr.parentElement);if(qr.pointerEvents==="none")return!0;jr=jr.parentElement}return!1}const ir=jr=>{var qr,Sa;if(Hn(jr.target)){Xe(-1e6);return}if(((Sa=(qr=document.getSelection())==null?void 0:qr.toString)==null?void 0:Sa.call(qr))!==""){Xe(-1e6);return}const na=Fn(jr.clientY);if((na==null?void 0:na.trim())===""){Xe(-1e6);return}const Oa=An.current.getBoundingClientRect();Ee(Oa.left-30),ht(na)},Xn=()=>{},Cr=jr=>{z&<&&z(lt,jr.clientX,jr.clientY,zt)},Tr=()=>{if(zt){const jr=window.getSelection();jr.removeAllRanges(),jr.addRange(zt)}},kr=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const jr=An.current;return jr.addEventListener("mousemove",ir),jr.addEventListener("mouseleave",Xn),()=>{jr.removeEventListener("mousemove",ir),jr.removeEventListener("mouseleave",Xn),kr()}},[oe]),b.createElement("div",{className:yu["hover-line-container2"]},Me!==null&&b.createElement("div",{className:yu["line-button-container"],style:{top:Me,left:ue},onMouseEnter:()=>{Tr()},onMouseLeave:()=>{kr(),Xe(null),ht(""),sn(null)}},b.createElement("div",{className:yu.button,onClick:Cr},b.createElement("img",{src:Eu,style:{marginTop:"-3px"}}),b.createElement("div",null,"AI\u6539\u5199"))))}),zu={toolbar:"toolbar___qUHHn","chat-dialog":"chat-dialog___MttMt",button:"button___liWwI"},hc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,shixun_generation_id:ue,current:Ee})=>{const[Me,Xe]=(0,b.useState)(null),[lt,ht]=(0,b.useState)(null),[zt,sn]=(0,b.useState)(!1),[An,Fn]=(0,b.useState)(null),[Hn,ir]=(0,b.useState)(!1),[Xn,Cr]=(0,b.useState)(!1),Tr=oe,kr=(0,b.useRef)(null),jr=(0,b.useRef)(null),[qr,Sa]=(0,b.useState)("");(0,b.useEffect)(()=>{sn(!1),ht(null)},[Ee]),(0,b.useEffect)(()=>{Me!=null&&Me.toString()&&Sa(Me==null?void 0:Me.toString())},[Me==null?void 0:Me.toString()]);const na=()=>{const ka=window.getSelection(),ni=Tr.current.scrollTop,Ya=Tr.current.getBoundingClientRect();if(ka.rangeCount>0&&ka.toString().length>0){const Wa=ka.getRangeAt(0);Xe(Wa.cloneRange());const mr=Wa.getBoundingClientRect(),sa=40;let Ci=mr.top+ni-5+sa;Ci<ni&&(Ci=mr.bottom-Ya.top+ni+5);const Gi=Tr.current.scrollHeight-sa;Ci=Math.min(Math.max(Ci,ni),Gi),ht({top:mr.top+mr.height+6,left:mr.left})}else Xe(null),ht(null),sn(!1);Oa(ka)},Oa=ka=>{if(!ka||ka.rangeCount===0){ir(!1);return}const Ya=ka.getRangeAt(0).getBoundingClientRect(),Wa=window.getComputedStyle(Tr.current),mr=parseInt(Wa.lineHeight),sa=parseInt(Wa.paddingTop),Ci=Tr.current.scrollTop,Gi=Tr.current.getBoundingClientRect(),Fo=Ya.top-Gi.top+Ci,oo=Math.floor((Fo-sa)/mr),po=sa+oo*mr-Ci;Fn(po),ir(!0)},Fa=ka=>{Tr.current&&!Tr.current.contains(ka.target)&&Cr(!1)};(0,b.useEffect)(()=>{const ka=Tr.current;return ka.addEventListener("scroll",na),ka.addEventListener("input",na),ka.addEventListener("click",na),ka.addEventListener("mouseup",na),ka.addEventListener("keyup",na),ka.addEventListener("click",na),document.addEventListener("mousedown",Fa),()=>{ka.removeEventListener("scroll",na),ka.removeEventListener("input",na),ka.removeEventListener("click",na),ka.removeEventListener("mouseup",na),ka.removeEventListener("keyup",na),ka.removeEventListener("click",na),document.removeEventListener("mousedown",Fa)}},[]);const Ga=(ka=!0,ni)=>{if(!Me)return;const Ya=jr.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),Wa=Me.cloneRange(),mr=window.getSelection();if(mr.removeAllRanges(),mr.addRange(Wa),ka){Wa.deleteContents();const sa=document.createElement("div");sa.innerHTML=Ya;const Ci=Array.from(sa.childNodes);for(;Ci.length>0;)Wa.insertNode(Ci.pop())}else{Wa.collapse(!1);const sa=document.createElement("div");sa.innerHTML=" "+Ya;const Ci=Array.from(sa.childNodes);for(;Ci.length>0;)Wa.insertNode(Ci.pop())}mr.removeAllRanges(),Xe(null),sn(!1),ht(null),te()};return b.createElement("section",{ref:jr},lt&&b.createElement("div",{ref:kr,className:zu.toolbar,style:{top:lt==null?void 0:lt.top,left:lt==null?void 0:lt.left}},b.createElement("div",{className:zu.button,onClick:()=>sn(!0)},b.createElement("img",{src:Eu}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(Pu,{shixun_generation_id:ue,key:JSON.stringify(lt),noRestrictModal:z,visible:zt,position:lt,selectText:qr,applyRefinedText:Ga,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"}),Tr.current&&b.createElement(Uu,{ref:Tr,onButtonClick:(ka,ni,Ya,Wa)=>{Xe(Wa),sn(!0),Sa(ka),ht({left:ni,top:Ya+20})}}))},Yl=({scrollBoxRef:oe,bottomInspectRef:z,contentRef:te,status:ue,rootMargin:Ee="70px",bottomOffset:Me=110})=>{const[Xe,lt]=(0,b.useState)(!0),ht=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!oe.current||!z.current)return;const zt=new IntersectionObserver(([sn])=>{var An,Fn,Hn,ir;if(!document.contains(sn.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((An=sn.rootBounds)==null?void 0:An.width)===0&&((Fn=sn.rootBounds)==null?void 0:Fn.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((Hn=sn.boundingClientRect)==null?void 0:Hn.width)===0&&((ir=sn.boundingClientRect)==null?void 0:ir.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}lt(sn.isIntersecting)},{root:oe.current,rootMargin:Ee,threshold:0});return zt.observe(z.current),()=>{zt.disconnect()}},[oe.current,z.current,Ee]),(0,b.useEffect)(()=>{if(!ue)return;const zt=oe.current,sn=te.current;ht.current=!1;let An=zt.scrollTop;const Fn=()=>{const{scrollTop:ir,scrollHeight:Xn,clientHeight:Cr}=zt;ir>An?ir+Cr>=Xn-Me&&(zt.scrollTop=zt.scrollHeight,ht.current=!1):ir<An&&(ht.current=!0),An=ir};zt.addEventListener("scroll",Fn);const Hn=new ResizeObserver(()=>{ht.current||(zt.scrollTop=zt.scrollHeight)});return Hn.observe(sn),()=>{setTimeout(()=>{Hn.unobserve(sn)},250),zt.removeEventListener("scroll",Fn)}},[ue]),Xe},wl={loading:"loading___nYAIi",dot:"dot___S5iRl","dot-fade":"dot-fade___HGUNN"},Xs=({text:oe})=>b.createElement("div",null,b.createElement("div",{className:wl.loading},b.createElement("div",{className:wl.dot}),b.createElement("div",{className:wl.dot}),b.createElement("div",{className:wl.dot})),!!oe&&b.createElement("div",{className:"mt5"},oe)),mc="data:image/png;base64,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",gc=y(92310),Pl=y.n(gc),lu=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const Hu={contentRef:null,value:null,status:!1,examName:"",open:()=>lu(void 0,null,function*(){}),close:()=>{}};var uu=({value:oe,onChange:z,onSuccess:te,onCancel:ue,onError:Ee,fetchUrl:Me,noRestrictModal:Xe=()=>{},showEditableToolbar:lt,bottomOffset:ht=110,loadingText:zt,showEmptyData:sn=!0,onStatusChange:An,className:Fn,style:Hn,shixun_generation_id:ir,showToolbar:Xn,current:Cr})=>{const[Tr,kr]=(0,b.useState)(!1),[jr,qr]=(0,b.useState)(""),[Sa,na]=(0,b.useState)(0),[Oa,Fa]=(0,b.useState)(!1),[Ga,ka]=(0,b.useState)(0),[ni,Ya]=(0,b.useState)(""),Wa=(0,b.useRef)(null),mr=(0,b.useRef)(null),sa=(0,b.useRef)(null),Ci=(0,b.useRef)(null),Gi=(0,b.useRef)(null),Fo=Yl({scrollBoxRef:Ci,bottomInspectRef:sa,contentRef:mr,status:Oa,bottomOffset:ht}),oo=Tr||Oa,po=xa=>(xa=xa.replace(new RegExp("(?<!\\*)\\*\\*\\*\\*([^*\\s\\n]+)\\*\\*\\*\\*(?!\\*)","g"),'<h2 data-select="disabled" data-type="title" class="c-black">$1</h2>'),xa=xa.replace(new RegExp("(?<!\\*)\\*\\*\\*([^*\\s\\n]+)\\*\\*\\*(?!\\*)","g"),`
|
|
|
|
|
|
<h3 data-select="disabled" class="c-black font18">$1</h3>
|
|
|
|
|
|
`),xa),vi=()=>{clearTimeout(Gi.current),Gi.current=setTimeout(()=>{const xa=mr.current.firstElementChild.cloneNode(!0);xa.querySelectorAll("code[data-text], mathx[data-text]").forEach(Mi=>{let Si=Mi.getAttribute("data-text");Si=Si.replace(/```.*\n|\n```/g,"");const ho=document.createTextNode(Si);Mi.parentNode.replaceChild(ho,Mi)});const si=xa.innerHTML;z(si)},500)};(0,b.useEffect)(()=>{Li(),ka(Ga+1),qr(oe)},[oe]),(0,b.useEffect)(()=>{if(!Oa&&(mr!=null&&mr.current)){const xa=mr.current.querySelector('h2[data-type="title"]');if(xa){const Ta=xa.textContent;Ya(Ta)}}},[Oa]),(0,b.useEffect)(()=>{An==null||An({contentRef:mr,status:oo,value:jr,examName:ni,open:es,close:Li})},[oo,jr,ni]);const es=xa=>lu(void 0,null,function*(){kr(!0),qr(""),na(0);const Ta=Me;xa!=null&&xa.fetchUrl&&delete xa.fetchUrl,Wa.current=new ze(`${Fe.Z.API_SERVER}${Ta}`,xa),yield new Promise((si,Mi)=>{Wa.current.on("data",Si=>{let{chunk:{content:ho,type:ts}}=Si;Fa(!0),ts==="text"&&qr(_o=>po(_o+ho))}),Wa.current.on("done",()=>{si()}),Wa.current.on("error",Si=>{si(),Ee==null||Ee(Si)}),Wa.current.on("cancelled",()=>{si(),ue==null||ue()}),Wa.current.startStream()}),kr(!1)}),Li=()=>{var xa,Ta;na(1),(Ta=(xa=Wa.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa),kr(!1),Fa(!1)},Zo=(0,b.useMemo)(()=>mr.current?b.createElement(hc,{current:Cr,shixun_generation_id:ir,noRestrictModal:Xe,nodeRef:mr,onSuccess:vi}):b.createElement(b.Fragment,null),[mr.current,Cr]);return b.createElement(b.Fragment,null,b.createElement("div",{className:Pl()(at.container,Fn),style:Hn,ref:Ci},b.createElement("div",{ref:mr,onInput:vi,className:at.liWrap,contentEditable:lt&&!oo},jr&&b.createElement(ll,{key:Ga,cancelIndex:Sa,streamingStatus:Tr,loadImage:!1,onFinish:()=>lu(void 0,null,function*(){if(oo){if(na(0),setTimeout(()=>Fa(!1),0),jr==="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!"){Ee==null||Ee(jr);return}te==null||te(jr)}}),value:jr})),!jr&&!oo&&b.createElement("div",{className:at.imgBox},b.createElement("img",{width:56,src:mc}),b.createElement("span",null,"\u9884\u89C8\u533A")),sn&&oo&&b.createElement(Xs,{text:zt}),!Fo&&b.createElement("div",{className:at.backBottom,onClick:()=>{Ci.current.scrollTop=Ci.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:sa})),!oo&<&&Xn&&Zo)},Bl="data:image/png;base64,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",Su="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF69nQm0ZHdd5z//u9/aq97W/XpNpwOZhIR9EaOyKQgqorhwHJ0onkEcZwZQZ86o4Bk548jgiDqKozLHOSoqi0hggIAoCdCEQCAJ3dk6vaXXt7/a6+535ve/Vd2vu193+gWYSirdebXce7/3t35/y1Nc4+M3D+VO+0jyUsh/SMFNSjFv2PZ8GieVPEvPf4tSihxQ1/i9/z/eluc5qBwMC8u0SJMYslyfJ9BXcBaVn83hYTA/1thvfe4/P0NF13JuT3qdv/qJfFsche/IlfoplVNThoFhW6RxTJ5lFx9j8m1KzvdJv/r8Z/VbsxylPyL/yZGfyTXL/8r1F6/IRRv6dbXJLbrajdNwCY7y9crAtG2yONHXcB7KyRkp1VV5/n7bcX/r3a9RC1cD8opX+YefzN1jcfTr5Lwth7K80TBt8jwjS5OLvjNXeQHY+Nv0SY4BPA/EJWehX84FiAIO/ffx58d4keVyaQqRanmtAFL+kmFqSS/eOQHzigDKnSj+LR7yd5VjGjZKGWRpXLw2uVPjtymlBih+b5/t/Jd/92oVbgbkpgCK1EVx9A+Qv6g4OYVh2aSxSPX509ggQWMAjbHUbJQOffKXHiZHZLf47ky/PoFCv1WBbeSULPBJcPIEskx/JjYshriMUoMkzbRUikyeR79A5wpCU0A8kcaJXJu2o9W6eGUj0ueR/LJjO6/bTBovO9Kv3BHeGmf5J1DslIOZllPcoUvVdSIMcgG5oe+oXIRWuyue/vjFDe/JlYEyFLbKcfMIO4uomCnz5Zy406N9ZoH2uTOEvQ6maeKWK3hT05izOxg0trOOT5wUQG7JbGyQNjkdQ0yTaZMmYyG5/DpOG0q9+j0/7B7ceHkXAaglLwq/qgy1U8AwTZsk2lRyC00Yq66o2Fgzrug89L3VKjt2MobCNAzsYICxfgpj6RRZZxkVDVF5iikG3/FwylUs2yMY9llffIKgu4Jr+3jlGrW5XZT2PYPO1G5Wc5s8KyTsoovaoAEbzclEZS81MabjaoHRTuYSlQZOO477/I2SeP5YYvOORtFdivxFhmHJLSFL4s2+pLA71wBaoe7qou/I5U7Ls7tO/sQhwuMHidZOQ9TDUCm2CbZtYFsOtmVjOy6mW8EpT2FVphj2O7TPPIbKE2y3iltqUd+xn2j3M1iqbSfJJm5m80hAq+jEySkB6XKrJCqtTUaWXGoW5cK/fL3jvGRiE88D+LY7wt/KMt5uWJa+4ElossldKCRY27vLbVthY+Q4Y8M9UQVD7KiJ6g8IH3+A4aP3EK0cJ4/7OJbCL1eo1hqUqnU8x8MwDZRcQBLop8oylOmiSjMkpk9v8QhZ1Me0K9huDac6S7z/hazN7dPOR+7vNam0gFgY5PPmXTstwywcjAjRJXZfGeqdv/9a9x1jKwaiukkSH1GmVc7TVHva8w7rcjE+b++MTQAs/Ork80pLsjJNjNGQ8NhD9A5+keHZR8jiLqVKldbsLuoz8zhuFRswVYplZNim0hJo2pZ2ClkUEA1XiYZtUuWR2VWG62fI4iG2W0aZPpk9TfDs19BvzWFkaaHKV4sIzrvtMUSTcGmsXRKyCZACoojiRBbEO9u2s19UWR/jLXcE77Vs9806trsEsM280kR9N/MVRdCqNGhyxLTXJjj+ML1H76V/+hGyqEOtOcXM/H7K1SmIQ5LRKrlIEzG2gGeZWJalAXQdG8cpYXsVrcpxCoPOIkkckCiXcLCMmee4Xon+EJJdL6L/nFdoiTXGl3zBzm0e5F96jRuvT/4uMWMSRWPBKrROwZ/8/uu8X1SSYQxOsZxEce1yhRfgJ7dlbM9EqIog7ny+Ie9JFTiWgaFMsmBEsHiW7tFD9I9+neHScbI8otGcYXbHPjy/QjJYI+4vkydDLCPXnxXg5CneVhyMqdVIYZgKy5DXbFyvQu5U6fUHpNGANEuJgi4Vv0R/lBG72zBe/HpGlSZxbhaqL+o8CTLHd32z+LS4+Ze5IS0QloAYRhfUWaluY78zo/7jp/JXhlF852bgFbHlBn8+CZTPi15xR20zZ39lxBOPn2Xh6AnWTx2mc/YYadDG80ya03M0GrMapLC3TjRcgSTA1MCZeI6J7zi4joNjW9imiWWaKFM8ahGdZXlGmkIcx9iWheVW6Y8i8jQmioeUXItRkBPnHvu+4wdRzVm61RaLsUOQFOon5kVixonl3jzIv0I4rqMSk1Syl4kyK/NV6pc/lvxxmqW/eMXY7UIeVRx6HOgViUQBoO8owkcf5mt3f564t4BrJdSqPlXfxTUVxCPCYYc0HqDSSHtbS0usiSuqaps6sxCjbYpzUuKptdhoj22KPTQttE1SiiiKSJIU03YZhgmWAZ5rMgpjksxn97Nejl9t4Vcr4NcYKZtObrOOQw+zUMGJYm3M3DcN+i8gI+elzEl0ouF4r3rLR6PPQf6SawLwEs9WnEOO7xgk585w+mtfIe4vYsQ9HZbkYZ8sCfVTwo48iwvPKjclzzB0OmVgmUoDaBoSiOdaEv1yCc/zcB0XS1AFkiQhiBOSOCHLUyINWE6mFFP1Gv3RCIwy0zueieU62LaL65fwylXcSh3Dr9K2a5yyKkQYhY28yBGedxNXgmPsnRVpmohu3KXe+tHwsRyetlUAi6RHUXHAOvM499/9BdYWn8CI1snTIWYea09YBKXyTDRoeZ7qg4unz/OENC0if9+yqZQr1Ko1mrUGzVqNcsnT0ifSFsYRaaqVmeFwRLvXI44T4iQmzjIa1TpxkmobWavP4XsOnlvBsH1M28O0PCyvqiUzrW/nTG07A8vCuIQPuSJyG16QtDaXa8jywyKBPcgrVwRwLOIbI74NGSW2a9E+eIgH/+ljhP0l8ngAyQjigDyPIItQcjCdDoakaazTJQFOJE+Amm5M0ajWcEViPB/bNOgOeqy117SzGEXyOQlLFJZlUvZ8PNclyTPiRKQxwbZcXMdj2/QsrUYTx7IxTEfTV5JVyE0QDx7nDk55jtKeW1nbdyuxZRXWcQvskWBlOQ5JFPfVWz4aXiV7vTqspmWRrK9w4kt3cerwQZKgTxQNiAYrZNEA0pA8HYFO1GPtbUWNfdth2/Q0080p7Vkl8BXzKp622++ytLJCEI20OouAiMSmWUIm5IE2jeKRHXzPxTBNoiRCzqVVa3Ld9vlCev2KNvpRmhFH4mgSLbGjKCFOLUx3hsqt30t883O1NugEcGIYrwnMIrx5CgAWPsiwTcKTJ3j4c3eyePowfrnM1Oz1DJYeJ20fxTZSSCPyONAASBgjjEetXGGuOYvjOaSZXJxYI0iyjOW1ZfrDvrZ58plRONTgSI4rkufajjYbSRKTphm27eC7HrlSpHnGfGua6+Z30KzVScf+VodEShHGCcPRiP5gyChKyfBxG0+j/prbUa0pHe5c5J6vQZe1U9uaBI4tn2kyOHGMR/75EyyfPcaOHTvZd+OzWD/+ANnqUchC4mjIKBjQ7XcYBX19OVPNaa2uEoaIIxEgJHwS+7a0tqwlzDBhFAy1pE3VWzSrVS2FBiaOqE2aEkWBVnH5jEiO/FykeLpWY6re1Ia+Vm1Qr1YwlUEQBgyCgDCIiOKUOJEbZoBRZ/q730D5hS8FsdWXUxFPCuMWAdS5FvHKGo986g7OPvEQe/bt4obrruPUNw7oEEYkRgAY9NsMhm0Mpdg+NUu91tL2SCFqWHgxUZ0wDFnvtlFavRP9+Xq1yfbpWWrlKqZl6rzcQKQsLYjUNGUwCllpr3H83InCg5u2dhyGsqhValoye6M+/cGAIBKbm2nwojjDdX1mWvP4Tp36jS9j24/cruNMechxtvLYEoAiNaZlcOYLB3j4S59hbr7BzrlpTh+8hzDo6DsdjXr0Bqva68605pibmsF3XQKhxcT161hLmA4IooBgNNS5c0aqTYNIzlSlrkOYSqV0PlYUSXMdU9uzhZV1Ftsi2SGdnjiaZSwhRYWeHzOyksXMNuRGzGiVtiybMIpYbnd4/PQZuiOb7dO7mX76bez+yTedZxKulqZuBuw1AzihgQgCDn7kI6TBCnNTZU4/+nVGwzWCYEAU9jSQlVKVHdt2UfY8fNvUQKVRRJbFWiJF8iQYDqMR5CnKBMsU4qBEUwhTx6HeqOE7lva4YhNLnkdvMODYmUVOLiyy3m5radUXnA0xjIQkzan6VWYaLWaaLeq1OvVKjZLv6yA8lXAoilgfDDndLbEUlWntu5k9P/R6tF6P2fCteOQtASgnES2vcvxz/4irepw5+gD97iph0CMJ26TJiGZznpnWDJ5t4pqgspRAHEkU6oxBgxeH+pkkkQ6ay77HKDGplSq4lkmtVqbsyc99fNfS4EkYcnpxhUeOHeHs0iK2WEUDYqkIIClhqp1KyfU1sSB/VoTtqTeZbtbxfU979TTLdTgzjDxOBbMYL3gFtT07yZOisnihsHVtinyNABbEY24aGJ0ep+++kxOP3EO3s6SlLgk6JFGf6bl9VKs1fDPXFL1j5EWgG4dYmr1OCIOAKI0IwqEOZ6aaDXqjBNurU/VsbfPqvnhXU0uOqL9tKVa7Pe4/eIhziwtaUBzLwjMM4hwCCdhz4e0yHNuhXKpQrwhwU8xOtXRYI15fnNRwKAy7qUucSd4kecGPEmzfjUouFMq2osbXCGBxl8UJrD9wLwf/8R9odxZIwyFx2CUcrtCa2Uu5Usc1M83nuToskEwk1WpqpBFRONQetx/08Gyb+Zk5RmHIKK/QqtWxDaXJB0fFlCWPdmwtkRKiPHrkcU4cO0bNKQJoQxlYSjHKUwJJDxWkGToe9FyfeqXO3NQUM60pGrUqpmloKe4NhgwGAY7rYRo+avom8pf9SzKh38TBjf+5Nvnj2sIYzbjYJr2HH+b+Oz9MZ32BNBG1HNJrn6BSbdFo7cDKUxwzQ+WRJguED9DhQTIkDEfaFvaGPW3j5me2Y5k5i+0B1dZeaq6liQPXiLBVjOc6WsrEa49GQ448fEjXoj3RW01wFKXOQZbSjiOUsDiWS56bBKnQa0o7kZv37WW22dBhThTHDIYB/cGIOE11qmeZDfxXvBHz+psl2R6r8bV74ieVQLmzwhQPjx3lwc9+gnZ7UZMDwgwP2qd0uja340ZJF3DNHJMEg0wTA3kakoUDwnDAIBgxHPWolcrMTm3XzmW9t0JAlemZXbiahckx046WYMmNBbwsy7DXFrCXF3WoIaG0EKi5Ia/CapLxSBCSuY724I5bwbRsOqMRS52uBvvZNz6NPXNzRKE4rphuf8QwinThyrcrlJ/xKuqv+imd3xbF928lgIbCGo04fuBels89QX/9HN3l4wSDNYnMqDdnNfGZJzElIRaMVMdpwhiLcwmDAaNRnzDsM1tvMT29Q6uT1EIWVlfwW9drIkDXd/MIM17TN0CoLvkeM0v4me+8lf0zNZ0tSDpoS4Yj2Y1hsHx6iQ99+kvc0x9ilCuU6tPU6hJEVxkGEScWznFyaYmn7drJ7pltGsBRGNEbBqAsXLtEef5Wtv/Ur6IkL9b1lG8hgOPwnDzNSAYDvvahv2T13FGazSlGg/WCz8sTXEs6FkICifgFsKBb2Lygr73zdGsb22bmyXKFkQ7p91ZZ7g2ZmX8GniMJPaikjxm3tbcUslWor92NKr/5yz9PrVnDcl0cz0VJ6U5sllxov88jf/sR/uL9H+feKKTSaFKemqPZmmK61SIMI86trHDw6GGm6nWalaYOqIeSHycKx/KpzD6NPT/7G5ie/20CUC7ONAjX23ztg39Fr7PMC178MuL+Gr3FE4yG63R76wz6AlyHNByQxQFR0CEnpTW9h6nGjFbxJArIwjYrnRVGmUVr9um6lKmzgLCtQRSezlAZRhzxyuffwlvf+kYdx5mujZKSoyVeVJ6GZlqCY8f4ynv+nPd/5SEeyEbavja27WJqeopKuaSdx3qvyzceP4xhOLiWR5LBIM6xDZfazlvY/7O/rnt+rtR3cyWn8qQ28PwHTYPR4jIPfORv9N2//unPZNDrs3jyIfrtBV0xS0ZdzTpLrULAk8J4fXovVb9C2RZnHJJHAwb9NTqDNoZVwq3v1CyMUilm2EWlQx2mmOLJ44B/f/tP8EM/9mqQDjDbFjc7lr5xH4kUwAdDzn3q03z+rz7Fh84ucCwbcf323TTmd9Fo1PT3SxSxst7h+MIiUSoVv7KOPVWmmHnuq9j3+jfqTGmr+fA1Ayj1ibDd5Rt//0Fmtm/XAWlnfZ3RsKNtYtRf1o5FV9hIMd061eYOXePwjQTfyMh0BW6N3rBLFgwxzRJReVoXkow8xRLpy4quMokjZ82Ud//2f+KGm68v7qMlAAoJIOo7BlAcchwTnTjBofd9gLvvO8Ida4sMrJxdszspz8zqbCbJU5IkZ7U34ORqj0p5lkz5ur/mX7zhrUzd8iyyWGi3TYpKV4lprhlA/c1pyrHP/hMzzQYnjh9h0F+nu3qaUWeRUW9R95YYhonp1zFNC8exsPJYNwjZkuvGA0b9VcIooBQOSKwKXa+OK46KDDsPdFuHMDdOFvH8vdt51++9A9cbS55W3TGA8qd+SO00g16f5c8f4Ct//Sk+v9ThkyunNElbrTYxylWdpej6ueFwrpMxUE0qlRaVXfu4+Q1v1CSCZOS6qH5NfGBx9GsHUE7UVKRLq/QeP8LJJ44w6C6xfO4wQWdR2/NyY54oltIfOKahWRIrG2GpDDuLycJ1RqMeKo6Yikf0nRprVhnHQL/HpeiQslVGORzyCz/9I/zY7T+qCVnEQ8pT2z55FkUnDaD0xMQR8dkFjvztHdx74GE+0+7w5fY59jbnMJ0KkeVgOD6O7YEzzdLQorXrRp72+jfgNmo6ldPgfVvZGAEpjjj2hQOsra2wcPoR2ssniAZLVBo7NccnqZuwxLZtYwj7ouu+YMV9bRelt7AcD5lVOatmmWVcbHndSPHEDirws5jraz7ves87mJltFiCJ9IkKS9+OeGB546QJYqwdDEd0HzzIg+//JAdOrPHRpZMshCN2NrZheTUiyTzsMrZTIjNrzD3nFez8/tdo2zwpLn1bAZQU0u30OHnfAywvnebUsQforT6hCU23PK3VGNPVgawtzZhxX6dwhvT3hV0d5thJzFQeMuXYnM5tljIbR+V4Zqa9tJtnVMIhb/q51/PDb/hBEMZGOw4DxAOL9OkQRmzgWIXHTZciqVm7w9l//iL3fOxePrvc5h8XHic3JD+eolJq4Xh1TZ3Zld3s++E3UbvpBogKIuF8o+i15nFbU+EiB3e6A5YPPcbDh+5l4dRBsqBHtbWDcLhO0F/B9huYroch5cawgyVZg5Q405H+eyuLaFjQcF0eDqCdm7gqpWzlOstwR0Ne/qKb+dVf+0Wt2jqw1SI8VmEtfaLKk1xRwBwDKSmekKcLizzy8bu464uP8aEjhziTjHDcBtVSk2q1RYaFVbuO/T/9FpyZFiRFR89TeWzBBkJu5PjDiGP33MtDDx5gsH6KSn1ax3aj9lldwrTLDSzbJ41HEA0w8lhLn0RYWdDBTfq0/DJ1r8JjiU2ag69SKmaGGUXcsmeat7/9zczNNHQXgKiU5MhKQhjPKSRPuMVQygYRsabqQx2DDto9Omtt1lbbBKOASmTxzwcP8/HDj+CUm5h2lXKpoUuc7sxN7P/pX8KqlAsb+hQfWwJQQpnszBKHDnyRlYVjuiwpbb/99bPEw442wla5YH/jUQcjCTWIZhaQxxErq8dIkkCzLtX6Dtz6Huw8pEyCl0Xc2HR526/czu59O0kTyanHzfXiM+KY9pHDHH30KI+fPMdab0gvSgiSmGGQ0A9inaZFaU4orEuSaiLh+573LN71wTvoKw/l1DCMCo7j0dz/Xez9ydu1dG/F616K85YAFGY4ObvEsQe/QTDsMui16a4vEg67pMM18jTAq89p75j0V3VtWMU9nDxjynUIww5xHDCIApLKdfimRUk6njMhHfq8fJvLm97yRryZaS1ok/qEcISr993Hh/7i/TzQS1hLQKyWFKfKjku9VKJZrVCrlDRx6rq2zir6631uvXk/H/jCV3locYDhVolVGVt57P7uH2fbq35A59RbdRwbQdwSgDqWTTOCU2c4c+wYa6urBIMeYX+F7rlH9ElXp/ZqmivoSovHECMccPPu67l5x17drSDx3kK3x2MrbZp2jpUFLLeXiEYdbqmY/PzP/RitXTPjLq3xSIMyOPHFA/z9Rz7N0C3TqDaYmxaytEmrWaferFCqSReri+05uMIlVkpFz3MQ8bvv+zs+d/AkbrnJMM7xvRn2/fhbqT7jlvPB8+b9rE+u11sGUMdK0lK20mZw5hznjh9l4YmD9NeeoNLcTqkxz2D1LHFvmXy0zo27ruO5+27ETKXVQ5hppTuvxFNLgUqK5BKmmNGIphGxY2eJ5oyDX7GxHEursYQ+UadLb2FVOwDpOBB2vGiDk4p8hulYuL6vgROyQQJnp1ymPNXkj/7kr/j7z9xHVTq21nv4Mzez/9/+Fla59E3Zvy0G0hfuhnROSedoeuos93/m0ywfuQevMU1r1y1EQcDauePQX+LmPXu4dc8++gtHOX706wzCPkmW6BaOuant7Nl9I7Xmdi1tvgkVocesgHozo9IUQCxMAVhKoOPOAuH0kjAlCSIWT57kkWPHOLu0pMsF8606N+7fwzNf8l34M7PYjoc/PcMHPngH7/u7z1BuzPC8HTPsuO0HOHzTa+lLZ9dTdb9jOLYsgRMYfVuxr7fOgU//M9X14yxtvwmjMsvqmZO4aYeb9s2zzS9z9huf52uH7mLqhmcTJClf+vIBbXMkN95VL/OS57+EXdc9k5LMhaiMhhHQrCRUpxSlso2tK1FCRAjHGOuyZjwMuf/Al/n7rx7mLHVe/oMvZXamzGzJYuWxR0hPH+F1P/GjzOzdj9Nqceen/ok/+LOPUKu1+M23/RQ3PWM3R5NZ/vzsbkaJKpjzp/jYMoByrEQZvMAa8r0P30/36DGWatP8aSfn+OoK5ur93H77L5FFGf0zJ/nsB97NzG0/yPXPfSmf+/y9nHviYRYe/ihKWXilfewqw2te9lq2ze6imic0jJipSkxjCio1E8cVPlwAzDSA0mR0/KFH+dNPHuKEfR2LJw/wyh+4jWc+93tZWVjkrb/yk3z4Xb9Dc/kUr/rZN0Klwhfv+hL/7fffrxuPfuM7bma32YcX3srHpl7Np1encJ5Ki9ZTlUBplUgN+MnhGZ55952kmU23Ps8fdGM+e+oEtfX7+IVf+s8Me32SYcDig3fjvviV5G6Ju+4/yeF7P8Tyg3+LMiyqjVvY1trNc/ZO8eznvJQaOS0rZbaSMD2NVmPHk7qI8BjC5iREoyH3f/0hDoS3cNdXH+D41/+3zr9veMEbef7zX8DvvOOV5OvLZCcfx29Og+1y3z1f57ff9T5uvG4vv/H6l1BaXQI35fCzXst712/SNELxuEJ36lWkcwsSWHy5roZZ8K8WH2PfvXcTVrYT+A0+2A3465NP0Ow+wJve/HYG7Q6x1Co6qwymp8lac3z8U3dz/32fIz32DzqnrV/3fbxw9152ehH7nvZcZsoVWnbGtmrC7IxBVQD0RQKF7ZbSZU5biuqRwRFjP3/9uZM89Nn36Pa2W77vV/meW2Z5888+j2zpDNawA5nknj7fuO9B3vnO9/KK257Hm27/fljrwNknWHrai/nd/vOJzvcVfVsBLG6DdBaI9/yZxcfYf9+XGFW303eqfL0/4t3HT9AMHuUX3vQf6K92iUfSK5gSDNbpb9vBqaU1PnbXfQyCNq5ls7fq8errPIKlRVrzT2d+2w4tgXOVnNkZRW3Kwiw7RSuI7g/MaJ9doJs65K15Pv6Iy1JW1mRFOR7wY99dYWcdVGdF98rolgfb4+H7H+K/vvOP+DevewUv+t7nFvTXwhkWtt/Kf+89V7PTG8ZEtmQNtyCBxfcKRZUYJj88OMOL7r2bgTvFml2lu7LC75x8glAt8Ev/+m30lzvEw77mEKUIFA+WCByTc+vrnF7t0PLh+bs8ttVs0v6A2N4GbhNf5Ux5iulpg8qMjao6+iboaRjdnhERrKxpYqGfOZxuG2S5wXUzBs2StHmkmI5XsDY6xClx8OsP8Xfv+XN+7XUvpfycG0BqH501vlF9Dv+rfYPu2Z6MoG0JvS2TCVoCJQswuNkI+PH7v0AyUCzbNdTSInf21vjHwQne9gtvpb/YJhv0MJJY13n9fEQp7+J7MWU3xvcMTMfQ00u5YRPENqPQxsgtSoZiqgHunAtlr6DaDeEjJT2xod+DQb/gCUXr9M8NzQQh4E14QyFGzRKHDx1m5b6v8OKb9sL2KfA83Xb8gfCFfGHYxFEyM6yjuq3itxVCdfLdUvYz9HjWTy8eZv7IKVZoMFxvk1oxn/UinveKlxEstVH9nk7TPCPENyM8K8R1YjwnxXYMLNvUAMqJJ6m0vFlkiYETK+o1MGecAkCRPmEjdLwhYY2pCQX9HPe0aIZG+EL5vmKEAD28krukwwTz7GOaTWK6pf9sp1V+d+UW+rk0mwuA8t6tg7hlFdb1WyUNuwbPMoa8+vAjDNeg3Uswem2SPXWC257FcGkdNejg5wEVO6TqJnheiufkujakuVHNKhdTkaKGaWpK+owZZFSrCqNlQ9nVmBVSVaR2xTj7GMyJ5EjyrEGQ7kndQTkG0IdhAuvHoF4GyT5I+eTyPj7Zn8E1ion1PNu69D2lTGRyGJ3SmYrXBsvsffwc7U5Gvx+hnBj1mufQWxuium0q+YCqE1LxUspeiuvmWJIDS91X4i8lRcxibDpKZRBHAEyo1RWqOaawxEvoWrBVACcSqSdndDtD4SwEwDwdgxcXjiKVcTNJ11LIVqQjCcycc/06f3huP4FMjY4HrJ8qo7VlCdSeeNyXIozIlJ3xI+uLGKfbdMOMqO7hPns3/bWAbG0dPxtQt0dU3JQFioR4AAAMqklEQVSyLwBKB5U0KgmA0qJhkBuWvt44NhisppSyVGci1O0COJE86ZVz/EKNLwrbxk19cmJiK8UuigTKyUkYIwMIZghmTzd9xrHDny3cyKOxr5nwYob5wtDQVo3glgE87+6VdDIZuhPmBivh5e0l0pUBIwk7rp8hDBTB0hpOPKBmjKg6CWUvwXdTbDdHatiGmWtSIDdM0kwxGir65xKabkZ1WkFDJNAupEkKJ6VSQelfMMcX7JZImawk0OBJoUmAlvfWwBCx7pDFNh9euoEvBE0caYKfZBMyDToeCN+qI9kygOcPOmlGVMKIK66zE74z6OL0A6LZCrFTon9uHTXsUSakakdUHPG+CZ6bYdlCSBQeVLrspel7bSVjtGAw7cU0axFWPYeaXxxS1K9WBse5kDRoNRZ1FvHdYPtEQqWJPBfPIwCuMUhyPrZ6HfcEdWzz4uka3fv4FEnpawbw4hj9QnvZpA8nyaFu5TzbCNlhp+R+mc7ZDkm3g50ElI2IqhNRdmSaKNE4iF/QLLcyCEM4e07Yf5e6dHGZI+peH6+S6ejEmGuhdkus6BaAiR6L4ZI+RO0wZKxCfqZ9RGEfc4c0b3Kol/OZwRSncqkAfuvAe0pOpHB6xdzj+dL2eEClWP0ATTvje6ZM0qUBo/U2+UhYZ1kmIQDGlNwYW+yg9sS6pkOvn3N2WTHsWahTj1MtV9gz5eOtfA0nXqH5A6/CvGH3hUK6AKcBHD81eGMPrdVXpM/lULCD961WQY4nirpB0mRZhjRvPkXhK6DY2pzIBfOjgwgdOhRbgTaehPQt3zan2B6kdJbaJH0ppod4RJSsEN8WTjDDsiSmzAnTnHYvZ6ktkqiwk4haGrHL6TO7M6F+/Szu7LQUj8eSlhdSp3VvfE7SI6MBlFUBkp0IGVviw91dfD6Q0uklo7ta/Qvb9808njKAGn0J9HUgIJuGLpyI2PAdFbitarB2tkfQ65CNRtgSVKsIz4yw7Uz3v0hfcxCnrA+hO5QWt5yqitleDtkxb9Ha3cCv+zp41xKWZuRJUgw/y4IJqyBdi6lzeY88ZZDHZJA1+KP17cg4jnHpJL6M6l76M93HvbVg+psCUA4l9JbuoN4AoLaQCl66zcRvh3TWuiTDHnkUYGcBjhHhGuK/U61CQQzDWDIRWbaTsb2as31W0Zzy8csOpm0WSVaakyUFsRosLet+RW/bHI7nF8OruTRlWuSZiZk73Bts44ND6c66IH1FCVmNtyJ9M7JXfPabBnAihZm62DiLSdpRU7y4BGuLfYa9LqmMcMUBtgqw84hMZkuihNQta0fimIqGB3O1jNmmolqT2ZFCeqR3RWj9NAiJ19tEC+dQlTLent24pTJKSbhjkIn0pRZB2uB9g22czg2dBRamu+h9EVrsm1Xd89HIU7WBE2cy6SnWAzSX2BNR5e+YNZgNE9ZWOoSDHmkwwkpH2IzIeiusHz1JXN6BW67hJSMq+YgmQ1rmgJoT4aQBVhToopFVLWG2mhg757CbdT3+L5NJhjQOYZKlNllqoRKfu8I57oyr2kxsjPe06dOm85uzfd8aACd3VpIxPbJfJHp6FHs8diCM/MtmDLLVEZ31LpFQXNEAJ5dnl6DbppfUMalS6fQot5eoD5dp0KZZyqhMVXGv34k9P41ZL6FaNfBt8iDSjHeqnYlIneTSNnnicjxq8TfRDNF4An4jgEXAvLnqbp1O1Sp89YHryw51hWViugVj3B42WfEgOb+EKNtK8B1Vg+5in363QzLqYSZ9fNXHNmPp6SfPHdxUUZfemXxIzRxQ8cGtutglByXMdMnDcN0idpTQL0k1gFkiu11sssRiLarxd+F2zhk21kYp0x63WHQ20R4hELbQT345FEr1nnTk/9oAHJ+T9PucHzgbWxkBMYN9NcUtds76YodhrwNBDzsf4luB3vphSTQk5GsYUEpH+CrAtxJcX+FVfNxaBbvq6wEZpSc4BcSMNJb5YYM0shhEFT4SzHPY8C9S3UItCtv3rXwo0CP/V186MVHJa2qAEKpL/OF4kdwG+yMg3thQ3EDC2uI6Yb+DigcFULZwhpnuZpX2N+EQXTPR1Jfnm7glD6fk6K4DWSQhDedi+9Ik1wBGkcMg8LkznOdBQ+zeBYem3Ya895Ig+lsDpJKlE9Ef5+RXXXsyCUsm00HnObkrnEXR+2hwqWeWnPmmOuxOIjqLq0SDLm42pGwJZxjrZ8lKKdnC2Cgc18CxTd2hIBPrsk+roL8koM6IY5MotAgDl3Npnb+M5zVdtZHZE/CKvTPjTqWrtu9OJPTauEGFeq/65f8TvzJNsjuvdEc2Bpsb7cXmSziLbxHG6QLoF75ZNMiz4OXTitFaQHd5hTzoUiKg6YY0vIian1LxDQ2ejJc5drF7a7KbVWuj0H6akLYZjDwIh3TKs7yvv7Og/rWjUEj0KP8n0lfYvrGbmNjxDV6jgG5C7F8bgKZlvEqvfuocjZfJ89pmIBZu/8JdvZYpnqLXeBzVj5fSFsyzdqDcVouJ+yFZrBiurWKGfermiOlSSLMcU/UVrm9gO7JDq5C8Yi5YuANR25wgsBkOHYLeOs1ywkrtRt67ul2TtJohHA9ey3jYBct3CSUy3n84AW8ipNdyjSjVrV9vz2io33JH9F7y/M2bSuGGrWWF9xqPAWxaB7z4BAuvXDwkU5FXpY33u+uJbhSSDgdbOaSdDm7UpWmPmC4H1Espvm/gukXdRDKRYqimsHvhyKbbg1F7kbKf6IGas95+/se5ad39q7VAe13J/jY6jgvnd1nIItc5cdDXUlxS6k9+/7XOL+qPTNbf5XlevhREffiL1mUWynstCxhFaDR7LRcy3icobbu3NRNGizIv0tdkqqsc7MEAP+7SMgbU/YCyn+mGVMczii4tPcdmEkUu7bWQoLtApWZQazao1mQb0V7+8PQUhpQKJo5D3/wreN6LBGDyrgLWJ+sXlPV3lmVfWH8nGOkFjDlvvwzAsQRulCRtmDWldfWDTQCUGyAACpjiB25rpoSLqwyGQ0LpvCLHSw3Kw4By2KOS9ylZAb6T4tgCoiwb82QdLd1OjzRp02iWqDTKlKpl/EqVU8Yu3n20WVQ3J1uF9aKKjSnm5aHyZgsmn0yF/19z2jt/b+MCRgFNVoAej+O78jx/0UYQr7TBUsR9wgdqCbvKfZNivASxmkFUGd/VyogWVxgMR8QyP5LJ0kdp482p9ENqwz6VbIRnxViW9EhLLBmSMqBUyWlMlSnXBDgPr1zClNV37jx3LFY5O4SFYVH6lPO7mO8rFqhcfn0XA3s1AJVSX77Oti9fATpR5TiOvgqywXdsu54k+LywPlrU+vIVxBPesFCmnL3NjKc7OZ0zq3rJTiJjqzrGKIx9Fueo4QhnOMDptXFGHXxzQKNh0JqrUGuUqVQ83LKLV/axfE+z1Jkzy7HDJnGWs7CzwsePWNqRXHAhm0jfOK271OdeBcDTtu1svoR2ApisQU5yPjEB8Yo7VCdOfzKKMK7UXbrDuQBQVClnqpKzQyVUoph01NOd9bJIp/DyhRQKHZ8FIfmgj9ddpZm1mW5Cs+VTq3uUywV4bqkYfdVFJ9sld6Y49NVMrwPY+fJtvOdLGcNAvPfEBl7sQIqMvbjh1wjgaWXz6ve85iprkCcgjp3KP4g6Xw3AwrsWa2cnC7s38+Q6Aslz9m8zGT7RpzJapVpSBEGo81ld45DxVvlDUAwi7EGPeiQ9NEOaDYtq3aFS8nBLDk7JxnUdlBSaXCnvSYGlwsJ6CXN7Hbvq8hdfDTm+KuNmYwA3rkPWJ1nI5mYd+pdKoKitZdnXtoh7AoDYxBNx9OuZrILfxDtfBJRewi3jAperiY589FbcjJt2WiycCMkfP8jstprOZaXzVC5GBFliYBnQscOQUtCjafZ1t2qtalKpOvi+i+NbOK6D6UjnlbRzSF+MQ+LPEVanCBPpnc75wumYOx+Wmb0LrP95syTne5W1dxMAxdsq8t/bu9VV8BvB2fjLCDYLtvX9FSmUqxd1uCRVKl7PqXjw9Hmb4+cU3UOPMZ0uUZ1qagBFgoX0lMzBTjP8OKCa9Wk60u6bUa5alMs2ju/guMXGS90DYypy02NU2aV7FCfmWnYOrqYJ//OArLy7XEXP/3aHzdI63TVidIH325b91H8ZwaWqeOHXYaT612GQq/kc5qX0L6WIMY6b1hTE/u2egZmaw9Fz0OuE5A8cYH7axitXdFVFqCcnN3CzlHIW0jBGNL2QaiWnUrbwRXUlnHEsTOkMF5bHrtOv7SWSNcgSJo3nD+V8ZCjzw4divnZS6U0il26q1AKot+6pb+rXYfxfOB1rs3mHTi4AAAAASUVORK5CYII=",xu=Object.defineProperty,cu=Object.getOwnPropertySymbols,bc=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Cu=(oe,z,te)=>z in oe?xu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,yc=(oe,z)=>{for(var te in z||(z={}))bc.call(z,te)&&Cu(oe,te,z[te]);if(cu)for(var te of cu(z))Xl.call(z,te)&&Cu(oe,te,z[te]);return oe};const Ec=oe=>React.createElement("svg",yc({className:"dui_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0zm237.248 450.56-256 256a64 64 0 0 1-90.496 0l-128-128a64 64 0 0 1 90.496-90.496L448 570.88l210.752-210.752a64 64 0 0 1 90.496 90.496z",fill:"#3061D0"}));var Po="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAwIDUxMiA1MTJBNTEyIDUxMiAwIDAgMCA1MTIgMHptMjM3LjI0OCA0NTAuNTYtMjU2IDI1NmE2NCA2NCAwIDAgMS05MC40OTYgMGwtMTI4LTEyOGE2NCA2NCAwIDAgMSA5MC40OTYtOTAuNDk2TDQ0OCA1NzAuODhsMjEwLjc1Mi0yMTAuNzUyYTY0IDY0IDAgMCAxIDkwLjQ5NiA5MC40OTZ6IiBmaWxsPSIjMzA2MUQwIi8+PC9zdmc+",Sc=Object.defineProperty,ju=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,wu=(oe,z,te)=>z in oe?Sc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,xc=(oe,z)=>{for(var te in z||(z={}))Ql.call(z,te)&&wu(oe,te,z[te]);if(ju)for(var te of ju(z))Gu.call(z,te)&&wu(oe,te,z[te]);return oe};const Wu=oe=>React.createElement("svg",xc({className:"cuo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 1 0 1024A512 512 0 0 1 512 0zm167.205 308.224a51.2 51.2 0 0 0-49.738 13.97L512 439.59 394.606 322.194a51.2 51.2 0 0 0-72.412 72.412L439.59 512 322.194 629.394a51.2 51.2 0 0 0 72.412 72.412L512 584.41l117.394 117.395a51.054 51.054 0 0 0 83.53-16.604 51.2 51.2 0 0 0-11.118-55.808L584.41 512l117.395-117.394a51.2 51.2 0 0 0-22.675-86.309l.074-.073z",fill:"#E53333"}));var Tl="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAxIDAgMTAyNEE1MTIgNTEyIDAgMCAxIDUxMiAwem0xNjcuMjA1IDMwOC4yMjRhNTEuMiA1MS4yIDAgMCAwLTQ5LjczOCAxMy45N0w1MTIgNDM5LjU5IDM5NC42MDYgMzIyLjE5NGE1MS4yIDUxLjIgMCAwIDAtNzIuNDEyIDcyLjQxMkw0MzkuNTkgNTEyIDMyMi4xOTQgNjI5LjM5NGE1MS4yIDUxLjIgMCAwIDAgNzIuNDEyIDcyLjQxMkw1MTIgNTg0LjQxbDExNy4zOTQgMTE3LjM5NWE1MS4wNTQgNTEuMDU0IDAgMCAwIDgzLjUzLTE2LjYwNCA1MS4yIDUxLjIgMCAwIDAtMTEuMTE4LTU1LjgwOEw1ODQuNDEgNTEybDExNy4zOTUtMTE3LjM5NGE1MS4yIDUxLjIgMCAwIDAtMjIuNjc1LTg2LjMwOWwuMDc0LS4wNzN6IiBmaWxsPSIjRTUzMzMzIi8+PC9zdmc+",ql=y(49317),Vu=({contentRef:oe,status:z})=>((0,b.useEffect)(()=>{!z&&(oe!=null&&oe.current)&&oe.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(Ee=>{Ee.tagName.toLowerCase()==="code"?Ee.parentElement&&(Ee.parentElement.contentEditable="false"):Ee.tagName.toLowerCase()==="mathx"&&(Ee.contentEditable="false")})},[z]),(ue=!1)=>{const Ee=ht=>{const zt={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return ht.replace(/&[^;]+;/g,sn=>zt[sn]||sn)};if(!oe.current)return"";const Me=oe.current.cloneNode(!0);Me.querySelectorAll("code[data-text], mathx[data-text]").forEach(ht=>{let zt=ht.getAttribute("data-text");ht.tagName.toLowerCase()==="code"?zt=zt.replace(/```.*\n|\n```/g,""):ht.tagName.toLowerCase()==="mathx"&&(zt=`$$${zt}$$`);const sn=document.createTextNode(zt);ht.parentNode.replaceChild(sn,ht)}),ue&&Me.querySelectorAll('[data-select="disabled"]').forEach(zt=>{var sn;const An=zt.textContent||"",Fn=document.createTextNode(An+`
|
|
|
`);(sn=zt.parentNode)==null||sn.replaceChild(Fn,zt)});let lt=Me.innerHTML;return ue||(lt=lt.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),lt=lt.replace(/<p>/g,""),lt=lt.replace(/<\/p>/g,`
|
|
|
`),lt=lt.replace(/<br>/g,`
|
|
|
`),lt=lt.replace(/\r\n/g,`
|
|
|
`),lt=lt.replace(/<[^>]*>/g,""),lt=Ee(lt),lt}),Zu=y(93459),Tu=y(77019),Jl=y(89787),eu="data:image/png;base64,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",wc="data:image/png;base64,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",$u="data:image/png;base64,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",Ku={dotLoading:"dotLoading___dBe4t",showHide:"showHide___reCeF",progress:"progress___uv7ix"},fo=y(59301);const Tc=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Yu=()=>{const[oe,z]=(0,b.useState)(0),[te,ue]=(0,b.useState)(!1),[Ee,Me]=(0,b.useState)(!0),Xe=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(Ee)return;const Fn=()=>{z(Hn=>Hn>=99?(clearInterval(Xe.current),99):Hn+1)};return Xe.current=setInterval(Fn,20),()=>clearInterval(Xe.current)},[Ee]);const lt=()=>{z(0),ue(!0),Me(!1)},ht=(Fn=0)=>{Me(!0),z(Fn),ue(!1)},zt=Fn=>{const Hn=Fn/1048576;let ir;return Hn<=.3?ir=3:Hn<=.5?ir=5:Hn<=1?ir=10:Hn<=2?ir=20:Hn<=3?ir=30:Hn<=10?ir=Hn*10:ir=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${ir}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},sn=()=>fo.createElement("span",{className:Ku.dotLoading},fo.createElement("span",null,"."),fo.createElement("span",null,"."),fo.createElement("span",null,"."));return{progress:oe,progressOpen:te,openProgress:lt,closeProgress:ht,toggleLock:()=>Me(Fn=>!Fn),CreateProgressModal:(Fn=Tc,Hn)=>(typeof Fn=="string"&&(Fn=[Fn,Fn,Fn]),fo.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:te,title:null,footer:null,width:500,afterClose:()=>z(0)},fo.createElement(Tu.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},oe<=30&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:eu,alt:"Step 1"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[0],sn())),oe>30&&oe<60&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:wc,alt:"Step 2"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[1],sn())),oe>=60&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:$u,alt:"Step 3"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[2],sn())),fo.createElement(Jl.Z,{className:Ku.progress,status:"active",style:{width:"auto"},size:[300,8],percent:oe}),!!Hn&&fo.createElement("div",{className:"c-grey-999"},zt(Hn)))))}},cs=y(58617),Ac=y(84105),Xu=y(32050),Bo={wrap:"wrap___hPGh_",chatContainer:"chatContainer___ujje8",btnContainer:"btnContainer____URZ0",btn:"btn___LkbTk",inputContainer:"inputContainer___nc82i",sendBtn:"sendBtn___mRwrP",sendBtnDisabled:"sendBtnDisabled___Vi3bC",cancelBtn:"cancelBtn___lN2nM",loadingWrp:"loadingWrp___rRQzp","dot-fade":"dot-fade___uG4qN"},Nc=({children:oe})=>{const z=(0,b.useRef)(null);return b.createElement("div",{ref:z,style:{position:"absolute",right:"0px",top:"40px",zIndex:1050}},oe)},Qu=Object.defineProperty,Fl=Object.defineProperties,qu=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,Rc=Object.prototype.hasOwnProperty,Oc=Object.prototype.propertyIsEnumerable,Ju=(oe,z,te)=>z in oe?Qu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Zi=(oe,z)=>{for(var te in z||(z={}))Rc.call(z,te)&&Ju(oe,te,z[te]);if(tu)for(var te of tu(z))Oc.call(z,te)&&Ju(oe,te,z[te]);return oe},ec=(oe,z)=>Fl(oe,qu(z)),du=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())}),ws=({visible:oe,selectText:z,applyRefinedText:te,fetchUrl:ue,current:Ee,shixun_generation_id:Me,noRestrictModal:Xe})=>{var lt;const[ht,zt]=(0,b.useState)(!1),[sn,An]=(0,b.useState)([]),[Fn,Hn]=(0,b.useState)(""),[ir,Xn]=(0,b.useState)(1),[Cr,Tr]=(0,b.useState)(""),[kr,jr]=(0,b.useState)(!1),qr=(0,b.useRef)("stream"),Sa=(0,b.useRef)(null),[na,Oa]=(0,b.useState)(!1),[Fa,Ga]=(0,b.useState)(0),ka=(0,b.useRef)(!1),ni=((lt=sn==null?void 0:sn[(sn==null?void 0:sn.length)-1])==null?void 0:lt.loading)===!0;(0,b.useEffect)(()=>{if(oe){Xn(1);return}Oa(!1),zt(!1),Ya(),Ga(0),An([]),Xn(0)},[oe]);const Ya=()=>{var Ta,si;Hn(""),Tr(""),(si=(Ta=Sa.current)==null?void 0:Ta.cancelRequest)==null||si.call(Ta)},Wa=(...Ta)=>du(void 0,[...Ta],function*(si="",Mi=sn){const Si=Date.now(),ho=[...Mi,{text:si,key:Si,sender:"user",show:!0},{loading:!0,key:Si,sender:"AI",show:!0}];Xn(2),An(ho);const ts={type:qr.current,content:si,shixun_generation_id:Me};Sa.current=new ze(Fe.Z.API_SERVER+ue,ts),yield new Promise(_o=>{Sa.current.on("data",$o=>{const{chunk:{msg:Io},full:ds}=$o,Ko=Io==="error";Oa(!0),Tr(po(ds)),An(Qs=>Qs.map((Il,pu)=>pu===Qs.length-1?ec(Zi({},Il),{text:ds,loading:!1,error:Ko}):Il))}),Sa.current.on("done",()=>_o()),Sa.current.on("error",$o=>{const Io="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call($o)==="[object Object]"&&$o.status===-9&&(Xn(1),Xe($o.data)),An(ds=>ds.map((Ko,Qs)=>Qs===ds.length-1?ec(Zi({},Ko),{text:Io,loading:!1,error:!0}):Ko)),_o()}),Sa.current.on("cancelled",()=>_o()),Sa.current.startStream()}),zt(!1)}),mr=Ta=>{Hn(Ta.target.value)},sa=Ta=>Ta.reduce((Mi,Si)=>{if(Si.sender==="user"){const ho=Ta.find(ts=>ts.key===Si.key&&ts.sender==="AI");ho&&(ho!=null&&ho.text)&&!(ho!=null&&ho.error)&&Mi.push({question:Si.text,answer:ho.text})}return Mi},[]),Ci=()=>{if(xa)return;const Ta=vi("\u6539\u5199");Ya(),zt(!0),Wa(Ta)},Gi=Ta=>{if(Ta.key==="Enter"&&!Ta.shiftKey){if(Ta.preventDefault(),ka.current||Zo)return;Ci()}},Fo=()=>{var Ta,si;Ga(Mi=>Mi+1),(si=(Ta=Sa.current)==null?void 0:Ta.cancelRequest)==null||si.call(Ta),zt(!1),Oa(!1)},oo=[[2,3].includes(Ee)&&{key:"4",label:b.createElement("span",null," ",b.createElement("img",{src:y(81694),width:16,style:{marginRight:"10px"}}),"\u4EE3\u7801\u4F18\u5316")},[2,3].includes(Ee)&&{key:"5",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-daimazhushi1 font14 mr10"}),"\u4EE3\u7801\u6CE8\u91CA")},Ee==4&&{key:"6",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-ceshiyongli1 font14 mr10"}),"\u589E\u52A0\u6D4B\u8BD5\u7528\u4F8B")},Ee==4&&{key:"7",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-bianjieceshiyongli font14 mr10"}),"\u589E\u52A0\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B")}].filter(Ta=>!!Ta),po=(Ta="")=>{const si=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((Mi,Si)=>{si.push(`\u7B54\u6848${Si+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Si+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Si+1})\u8F93\u51FA\uFF1A`)}),si.forEach(Mi=>{const Si=new RegExp(Mi,"g");Ta=Ta.replace(Si,`**${Mi}** `)}),Ta},vi=Ta=>Ta==="\u6539\u5199"?`${Fn}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${z}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:Ta=="\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"||Ta=="\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"?Ta:`${z}\uFF0C${Ta}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u6709\u591A\u4F59\u7684\u89E3\u6790\u548C\u5176\u4ED6\u5185\u5BB9`,es=Ta=>{let si="";Ta.key==="4"&&(si=vi("\u4EE3\u7801\u4F18\u5316"),qr.current="stream"),Ta.key==="5"&&(si=vi("\u4EE3\u7801\u6CE8\u91CA"),qr.current="stream"),Ta.key==="6"&&(si=vi("\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"),qr.current="regenerate_test_set"),Ta.key==="7"&&(si=vi("\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"),qr.current="regenerate_test_set"),Ya(),zt(!0),Wa(si)},Li=()=>{const Ta=sn.splice(sn.length-2),{text:si}=(Ta==null?void 0:Ta[0])||{};Ya(),zt(!0),Wa(si,sn)},Zo=ht||na,xa=(Fn==null?void 0:Fn.trim())==="";return oe?b.createElement(we.Z,{open:xa&&!Zo&&(kr||!Cr),overlayStyle:{minWidth:200},menu:{items:oo,onClick:es}},b.createElement(Nc,null,b.createElement("div",{className:Bo.wrap},ir===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Bo.chatContainer},ni&&b.createElement("div",{className:Bo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ll,{cancelIndex:Fa,streamingStatus:ht,loadImage:!1,onFinish:()=>du(void 0,null,function*(){Ga(0),setTimeout(()=>Oa(!1),0)}),value:Cr})),b.createElement("div",{className:Bo.btnContainer},b.createElement("div",{onClick:()=>{if(na){me.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!0,Cr)},className:Bo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>{if(na){me.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!1,Cr)},className:Bo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(it.CopyToClipboard,{text:Cr,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Bo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Li,className:Bo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Xn(1),Ya(),An([])},className:Bo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Bo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:Fn,bordered:!1,onFocus:()=>jr(!0),onBlur:()=>setTimeout(()=>jr(!1),300),onChange:mr,onPressEnter:Gi,onCompositionStart:()=>ka.current=!0,onCompositionEnd:()=>ka.current=!1}),na?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Bo.cancelBtn}`,onClick:Fo}):b.createElement(Oe.ZP,{className:xa?Bo.sendBtnDisabled:Bo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Zo,onClick:Ci}))))):b.createElement(b.Fragment,null)},nu={toolbar:"toolbar___LTwsU","chat-dialog":"chat-dialog___mM36q",button_wrp:"button_wrp___heDhJ",button:"button___HbMjJ",button_span:"button_span___oBS2M"},Au=Object.defineProperty,Iu=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,Nu=(oe,z,te)=>z in oe?Au(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,rc=(oe,z)=>{for(var te in z||(z={}))tc.call(z,te)&&Nu(oe,te,z[te]);if(Iu)for(var te of Iu(z))nc.call(z,te)&&Nu(oe,te,z[te]);return oe};const Vc=oe=>React.createElement("svg",rc({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Ru="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Di=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Ee,shixun_generation_id:Me})=>{const[Xe,lt]=(0,b.useState)(null),[ht,zt]=(0,b.useState)(!1),sn=(0,b.useRef)(null),An=(Hn=!0,ir)=>{te(Hn?ir:Ee+" "+ir),zt(!1),lt(new Date)},Fn=()=>{zt(!ht)};return(0,b.useEffect)(()=>{ue&&zt(!1)},[ue]),b.createElement("section",{ref:sn},b.createElement("div",{className:nu.button_wrp},b.createElement("div",{className:nu.button,onClick:Fn},b.createElement("img",{src:Ru})),b.createElement(ws,{current:ue,shixun_generation_id:Me,key:JSON.stringify(Xe),noRestrictModal:z,visible:ht,selectText:Ee,applyRefinedText:An,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"})))},ac={toolbar:"toolbar___l1EsZ","chat-dialog":"chat-dialog___VsRFp",button_wrp:"button_wrp___EVZax",button:"button___B9Im0",button_span:"button_span___CqWPB"},Dc=y(39116),Lc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Ee,onCancel:Me})=>{const[Xe,lt]=(0,b.useState)(!1),ht=(0,b.useRef)(null),[zt,sn]=(0,b.useState)(""),[An,Fn]=(0,b.useState)(Ee),Hn=()=>{lt(!Xe),Fn(Ee)};(0,b.useEffect)(()=>{ue&<(!1)},[ue]);const ir=Xn=>{sn(Xn)};return b.createElement("section",{ref:ht},b.createElement("div",{className:ac.button_wrp},b.createElement("i",{className:"iconfont icon-bianji-moren",style:{color:"rgba(48,97,208,0.5)",marginRight:"20px",cursor:"pointer"},onClick:Hn})),b.createElement(pe.default,{centered:!0,open:Xe,title:"\u7F16\u8F91\u5185\u5BB9",width:1e3,onCancel:()=>{lt(!1),Me(),Fn("")},onOk:()=>{te(An),lt(!1)}},b.createElement(Dc.Z,{defaultValue:An,height:400,onChange:Xn=>{Fn(Xn)}})))},Al={wrap:"wrap___MVrHX",edit:"edit___N3N3G",tree:"tree___mdaql",code:"code___tFqtF"},Mc=y(18287),ro=y(34728);const Zc=oe=>{if(!oe||oe.trim()==="")return"other";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"other";const ue=te.toLowerCase(),Ee=["py","h","c","cpp","cc","java","php","html","css","scss","go","r","graphql","swift","xml","yaml","json","lua","scheme","less","ini","coffee","litcoffee","js","cs","kt","md","sql","m","mm","pas","perl","ejs","pl","rb","rs","rust","sh","makefile","circ","readme","yml","sml","thy","conf","txt","gitignore","in","cu","gemfile","scala","net","l","v","config","properties","log","htm","cnf","hex","bat","asm","bash","ts","tsx","sass","jsx","jsp","gitkeep","sv","hql","y","jj","pls","sol","ignore","ctrl","vue","tex","bib","cls","bst","log","toc","sty","g4","sy","cfg","s","ll","mml","hpp","api","vhdl","lex","gradle"],Me=["jpg","jpeg","png","gif","webp","bmp"],Xe=["avi","mp4","mov"],lt=["mp3","wav","ogg"],ht=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];return ue==="tex"?"latex":ue==="pdf"?"pdf":Ee.includes(ue)?"txt":Me.includes(ue)?"image":Xe.includes(ue)?"video":lt.includes(ue)?"audio":ht.includes(ue)?"office":"other"},Pc=oe=>{if(!oe||oe.trim()==="")return"shell";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"shell";const ue=te.toLowerCase();switch(ue){case"py":return"python";case"h":case"c":case"g4":case"sy":case"l":case"y":case"ll":return"c";case"cc":case"cxx":case"c++":case"cu":case"hpp":return"cpp";case"cpp":case"java":case"php":case"html":case"css":case"scss":case"go":case"r":case"graphql":case"swift":case"xml":case"yaml":case"json":case"lua":case"scala":case"scheme":case"less":case"ini":case"jpg":case"jpeg":case"png":case"gif":case"webp":case"bmp":case"avi":case"mp4":case"mov":case"mp3":case"wav":case"ogg":case"vhdl":return ue;case"coffee":case"litcoffee":return"coffeescript";case"js":return"javascript";case"ejs":case"vue":return"html";case"cs":return"csharp";case"kt":return"kotlin";case"md":return"markdown";case"sql":case"ctrl":return"mysql";case"m":case"mm":return"objective-c";case"pas":return"pascal";case"perl":case"pl":return"perl";case"rb":return"ruby";case"rs":case"rust":return"rust";case"sol":return"solidity";default:return"shell"}},ic=(oe,z="")=>{let te=[];return oe.forEach(ue=>{const Ee=z?`${z}/${ue.title}`:ue.title;if(ue.isLeaf){const Me=ue.title,Xe=Pc(Me);te.push({key:ue.key,content:ue.fileContent,language:Xe,mdLanguage:ue.language,filename:Me})}ue.children&&ue.children.length>0&&(te=te.concat(ic(ue.children,Ee)))}),te},Ou=`**\u6587\u4EF6\u540D\u79F0**: src/main.py
|
|
|
**\u6587\u4EF6\u5185\u5BB9**:
|
|
|
\`\`\`python
|
|
|
# \u63A5\u65361\u7528\u6237\u8F93\u5165\u7684\u4E24\u4E2A\u5B57\u7B26\u4E32
|
|
|
str1 = input().strip()
|
|
|
str2 = input().strip()
|
|
|
|
|
|
# \u62FC\u63A5\u5B57\u7B26\u4E32\u7684\u903B\u8F91
|
|
|
result = "" # \u5728\u6B64\u5904\u5B9E\u73B0\u62FC\u63A5\u903B\u8F91
|
|
|
|
|
|
# \u8F93\u51FA\u7ED3\u679C
|
|
|
print(result)
|
|
|
\`\`\`**\u6587\u4EF6\u540D\u79F0**: src/main1.py
|
|
|
**\u6587\u4EF6\u5185\u5BB9**:
|
|
|
\`\`\`python
|
|
|
# \u63A5\u65362\u7528\u6237\u8F93\u5165\u7684\u4E24\u4E2A\u5B57\u7B26\u4E32
|
|
|
str1 = input().strip()
|
|
|
str2 = input().strip()
|
|
|
|
|
|
# \u62FC\u63A5\u5B57\u7B26\u4E32\u7684\u903B\u8F91
|
|
|
result = "" # \u5728\u6B64\u5904\u5B9E\u73B0\u62FC\u63A5\u903B\u8F91
|
|
|
|
|
|
# \u8F93\u51FA\u7ED3\u679C
|
|
|
print(result)
|
|
|
\`\`\``,a=oe=>{const z=oe.split("**\u6587\u4EF6\u540D\u79F0**:").slice(1),te=[];let ue=1;const Ee=new Map;function Me(lt,ht){let zt=lt.find(sn=>sn.title===ht&&!sn.isLeaf);if(!zt){const sn=`${ue++}`;Ee.set(`${lt.rootPath||""}/${ht}`,sn),zt={title:ht,key:sn,children:[],rootPath:lt.rootPath?`${lt.rootPath}/${ht}`:ht},lt.push(zt)}return zt}z.forEach(lt=>{const[ht,...zt]=lt.trim().split(`
|
|
|
`);if(!ht)return;const An=ht.trim().split("/"),Fn=An.pop(),Hn=An,Xn=zt.join(`
|
|
|
`).match(/```python([\s\S]*?)```/),Cr=Xn?Xn[1].trim():"";let Tr=te,kr="";Hn.forEach(Sa=>{kr=kr?`${kr}/${Sa}`:Sa,Tr=Me(Tr,Sa).children});const jr=`${ue++}`,qr={title:Fn,key:jr,isLeaf:!0,content:Cr};Tr.push(qr)});function Xe(lt){lt.forEach(ht=>{delete ht.rootPath,ht.children&&ht.children.length&&Xe(ht.children)})}return Xe(te),te};function E(oe){const z=Me=>{const Xe=Me.match(/\*\*文件名称\*\*:\s*([^\n]+)/),lt=Xe?Xe[1].trim():"unknown.file",ht=Me.match(/\*\*文件内容\*\*:\s*\n```(\w+)\n([\s\S]*?)\n```/);return ht?{fileName:lt,language:ht[1],content:ht[2].trim()}:{fileName:lt,language:"unknown",content:Me.replace(/\*\*文件名称\*\*:[^\n]+\n/,"").replace("**\u6587\u4EF6\u5185\u5BB9**:","").trim()}},te=(Me,Xe,lt,ht)=>{let zt=Me;const sn=Xe.length;Xe.forEach((An,Fn)=>{const Hn=Fn===sn-1;let ir=zt.find(Xn=>Xn.title===An);if(!ir){const Xn={title:An,key:Xe.slice(0,Fn+1).join("/"),isLeaf:Hn};Hn?(Xn.fileContent=lt,Xn.language=ht):Xn.children=[],zt.push(Xn),ir=Xn}Hn||(zt=ir.children)})},ue=[];return oe.split("-----").map(Me=>Me.trim()).filter(Me=>Me).forEach(Me=>{const{fileName:Xe,content:lt,language:ht}=z(Me),zt=Xe.split("/");te(ue,zt,lt,ht)}),ue}var re=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const{DirectoryTree:ne}=Mc.default;var ye=({value:oe,style:z={},shixun_generation_id:te,menuValue:ue,upcont:Ee})=>{const[Me,Xe]=(0,b.useState)([]),[lt,ht]=(0,b.useState)([]),[zt,sn]=(0,b.useState)(void 0),An=(0,b.useRef)(null);(0,b.useEffect)(()=>{var Xn;if(oe){const Cr=E(oe);console.log(Cr,"data1"),ht(Cr);const Tr=ic(Cr);sn((Xn=Tr==null?void 0:Tr[0])==null?void 0:Xn.key),Xe(Tr)}},[oe]);const Fn=(Xn,Cr)=>{const Tr=Cr.node;Tr.isLeaf&&sn(Tr.key)},Hn=Xn=>{const Cr=Me.findIndex(Tr=>Tr.key===zt);Me[Cr].content!==Xn&&(Me[Cr].content=Xn,Xe([...Me]),clearTimeout(An.current),An.current=setTimeout(()=>{let Tr="";Me.forEach((kr,jr)=>{const qr=`**\u6587\u4EF6\u540D\u79F0**: ${kr.key}
|
|
|
**\u6587\u4EF6\u5185\u5BB9**:
|
|
|
\`\`\`sql
|
|
|
${kr.content}
|
|
|
\`\`\``;jr===0?Tr=Tr+qr:Tr=Tr+`
|
|
|
-----
|
|
|
`+qr}),Ee(Tr,te,"code",ue)},500))},ir=Me.find(Xn=>Xn.key===zt)||{};return b.createElement("div",{className:Al.wrap,style:z},b.createElement("div",{className:Al.edit},b.createElement(Di,{current:2,shixun_generation_id:te,valueHtml:ir==null?void 0:ir.content,onSuccess:Xn=>re(void 0,null,function*(){Hn(Xn)})})),b.createElement("div",{className:Al.tree},zt&&b.createElement(ne,{treeData:lt,defaultExpandAll:!0,selectedKeys:zt&&[zt],onSelect:Fn})),b.createElement("div",{className:Al.code},zt&&b.createElement(ro.ZP,{key:zt,theme:"vs-light",language:ir==null?void 0:ir.language,value:(ir==null?void 0:ir.content)||"",onChange:Hn})))},Be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,dn=(oe,z,te)=>z in oe?Be(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,yn=(oe,z)=>{for(var te in z||(z={}))ot.call(z,te)&&dn(oe,te,z[te]);if(Ke)for(var te of Ke(z))xt.call(z,te)&&dn(oe,te,z[te]);return oe},Wn=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const Un={0:"info",1:"challege",2:"code",3:"answer",4:"test_set",5:"test"};var Fr=({visible:oe,questionnumber:z,onCancel:te})=>{var ue,Ee,Me,Xe,lt;const ht=(0,xe.useDispatch)(),[zt,sn]=(0,b.useState)(Hu),[An,Fn]=(0,b.useState)(0),[Hn,ir]=(0,b.useState)(3),[Xn,Cr]=(0,b.useState)([]),[Tr]=(0,xe.useSearchParams)(),[kr,jr]=(0,b.useState)({}),[qr,Sa]=(0,b.useState)(!1),[na,Oa]=(0,b.useState)(!1),[Fa,Ga]=(0,b.useState)(!1),{openProgress:ka,closeProgress:ni,CreateProgressModal:Ya,progressOpen:Wa}=Yu(),mr=(0,b.useRef)(0),sa=(0,b.useRef)(0),Ci=(0,b.useRef)(""),[Gi,Fo]=(0,b.useState)(""),[oo,po]=(0,b.useState)("Python3.6"),[vi,es]=(0,b.useState)([]),[Li,Zo]=(0,b.useState)({inputValue:"",environment:"",fileList:[]}),[xa,Ta]=(0,b.useState)(""),[si,Mi]=(0,b.useState)(""),[Si,ho]=(0,b.useState)(""),[ts,_o]=(0,b.useState)(!0),[$o,Io]=(0,b.useState)(!1),[ds,Ko]=(0,b.useState)(""),Qs={maxCount:10,showUploadList:!1,fileList:vi,multiple:!1,data:{upload_type:1},accept:".doc,.docx,.pdf,.md,.txt,.xls,.xlsx",beforeUpload:ua=>Wn(void 0,null,function*(){var di,Yi,Pi,bo;const ul=(bo=(Pi=(Yi=(di=ua==null?void 0:ua.name)==null?void 0:di.split("."))==null?void 0:Yi.slice(-1))==null?void 0:Pi[0])==null?void 0:bo.toLowerCase(),Qi=["doc","docx","pdf","md","txt","xls","xlsx"].includes(ul);return ua.size==0?(me.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),le.default.LIST_IGNORE):Qi?ua.size/1024/1024>100?(me.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),le.default.LIST_IGNORE):!0:(me.ZP.warning("\u76EE\u524D\u652F\u6301doc\u3001docx\u3001pdf\u3001md\u3001txt\u3001xls\u3001xlsx\u6587\u4EF6"),le.default.LIST_IGNORE)}),onChange:({fileList:ua})=>{es(ua)},action:Fe.Z.API_SERVER+"/api/attachments.json"},Il=[{key:"Python3.6",label:"Python3.6"},{key:"C/C++",label:"C/C++"},{key:"Java",label:"Java"},{key:"MySQL",label:"MySQL"}],{contentRef:pu,value:ku,status:Bc,examName:$c,open:hu,close:Fc}=zt,oc=Vu({contentRef:pu,status:Bc});function fs(){return Wn(this,null,function*(){var ua;let di=yield(0,ql.ZP)("/api/ai/shixuns/get_shixun_generation.json",{method:"get",params:{shixun_generation_id:xa}});(di==null?void 0:di.status)===0&&(jr(di==null?void 0:di.data),Ko((ua=di==null?void 0:di.data)==null?void 0:ua.code_text),Ci.current=new Date)})}function Du(ua,di,Yi,Pi,bo,ul){return Wn(this,null,function*(){var Rl;Ga(!0);let Qi=yield(0,ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:Pi,shixun_generation_id:xa,type:bo,environment:Yi}});if((Qi==null?void 0:Qi.status)==0){Oa(!1),Ta(Qi==null?void 0:Qi.shixun_generation_id),Qi!=null&&Qi.name&&Mi(Qi==null?void 0:Qi.name);const cl={type:ul=="next"?Un==null?void 0:Un[mr.current+1]:Un==null?void 0:Un[mr.current],shixun_generation_id:Qi==null?void 0:Qi.shixun_generation_id,content:ua,shixun_id:Tr.get("shixun_id"),attachment_ids:di==null?void 0:di.map(qs=>{var sc;return(sc=qs==null?void 0:qs.response)==null?void 0:sc.id})};qr||Sa(!0),ul=="next"&&(sa.current===2&&(Io(!0),Ko(Pi),yield new Promise(qs=>setTimeout(qs,1e3))),(Rl=[4,5])!=null&&Rl.includes(mr.current)?(fs(),qr&&Sa(!1),mr.current=6,sa.current=0,Xn[Xn.length-1].answer="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])):(mr.current=mr.current+1,sa.current=sa.current+1,yield hu(cl))),bo=="create"&&(yield hu(cl))}else Oa(!0),Sa(!1),Xn[Xn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])})}(0,b.useEffect)(()=>{var ua;const di=localStorage.getItem("myChatShixun");if(di&&((ua=zt==null?void 0:zt.open)==null?void 0:ua.length)==1){const{inputValue:Yi,fileList:Pi,environment:bo}=JSON.parse(di);po(bo),Zo({inputValue:Yi,environment:bo,fileList:Pi}),Cr([{question:Yi,fileList:Pi,answer:"",isLogin:!0}]),Ko(""),Io(!1),Du(Yi==null?void 0:Yi.trim(),Pi,bo,"","create","")}},[(ue=zt==null?void 0:zt.open)==null?void 0:ue.length]),(0,b.useEffect)(()=>{if(Si){const ua=oc();Nl(ua,xa,Un==null?void 0:Un[sa.current],oo)}},[Si]);function Nl(ua,di,Yi,Pi){return Wn(this,null,function*(){let bo=yield(0,ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:ua,shixun_generation_id:di,type:Yi,environment:Pi}});(bo==null?void 0:bo.status)==0&&me.ZP.success("\u64CD\u4F5C\u6210\u529F")})}(0,b.useEffect)(()=>(ht({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{ht({type:"globalSetting/headerFooterToggle",payload:!0})}),[]);const au=ua=>Wn(void 0,null,function*(){if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}ka();const di=yield(0,ql.ZP)("/api/ai/shixuns/save.json",{method:"post",body:{shixun_generation_id:xa,shixun_id:Tr.get("shixun_id"),name:si}});(di==null?void 0:di.status)==0&&(ni(100),me.ZP.success("\u4FDD\u5B58\u6210\u529F"),ua?ht({type:"shixunsDetail/execShixun",payload:{id:di==null?void 0:di.shixun_identifier,jump_challenge_setting:!0}}).then(Yi=>{Yi!=null&&Yi.game_identifier&&(window.location.href=`/tasks/${Yi.game_identifier}`)}):window.location.href=`/shixuns/${di==null?void 0:di.shixun_identifier}/challenges`),(di==null?void 0:di.status)==-66&&pe.default.confirm({centered:!0,icon:null,okText:"\u53BB\u4FEE\u6539",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",null,b.createElement("div",null,"\u4FDD\u5B58\u5931\u8D25"),b.createElement("div",{style:{color:"#FA6400"}},di==null?void 0:di.message)),onOk:()=>{var Yi,Pi,bo,ul,Rl;(Yi=di==null?void 0:di.message)!=null&&Yi.includes("\u57FA\u672C\u4FE1\u606F")?sa.current=0:(Pi=di==null?void 0:di.message)!=null&&Pi.includes("\u5B66\u4E60\u5185\u5BB9")?sa.current=1:(bo=di==null?void 0:di.message)!=null&&bo.includes("\u6846\u67B6\u4EE3\u7801")?sa.current=2:(ul=di==null?void 0:di.message)!=null&&ul.includes("\u53C2\u8003\u7B54\u6848")?sa.current=3:(Rl=di==null?void 0:di.message)!=null&&Rl.includes("\u6D4B\u8BD5\u7528\u4F8B")&&(sa.current=4),fs()}}),ni()}),_c=(ua,di)=>Wn(void 0,null,function*(){var Yi,Pi,bo,ul,Rl;Sa(!0),es([]),Fo("");const Qi=yield(0,ql.ZP)("/api/stream/ai/shixuns/create_stream.json",{method:"post",body:{type:"purpose_identification",shixun_generation_id:xa,content:ua==null?void 0:ua.trim(),shixun_id:Tr.get("shixun_id"),attachment_ids:di==null?void 0:di.map(cl=>{var qs;return(qs=cl==null?void 0:cl.response)==null?void 0:qs.id})}});((Yi=Qi==null?void 0:Qi.data)==null?void 0:Yi.msg)=="\u57FA\u672C\u4FE1\u606F\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=0:((Pi=Qi==null?void 0:Qi.data)==null?void 0:Pi.msg)=="\u5B66\u4E60\u5185\u5BB9\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=1:((bo=Qi==null?void 0:Qi.data)==null?void 0:bo.msg)=="\u6846\u67B6\u4EE3\u7801\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=2:((ul=Qi==null?void 0:Qi.data)==null?void 0:ul.msg)=="\u53C2\u8003\u7B54\u6848\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=3:((Rl=Qi==null?void 0:Qi.data)==null?void 0:Rl.msg)=="\u6D4B\u8BD5\u7528\u4F8B\u5DF2\u5B8C\u6210\u4FEE\u6539"&&(sa.current=4),fs(),Cr(cl=>cl.map((qs,sc)=>{var Xc;return sc==(cl==null?void 0:cl.length)-1&&(qs.answer=((Xc=Qi==null?void 0:Qi.data)==null?void 0:Xc.msg)||"\u751F\u6210\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u751F\u6210",qs.isLogin=!1),qs})),Sa(!1)}),Kc=(0,b.useRef)(null);(0,b.useEffect)(()=>{const ua=Kc.current;ua&&(ua.scrollTop=ua.scrollHeight)},[Xn]);const Yc=$o&&sa.current===2;return b.createElement(b.Fragment,null,b.createElement("div",{className:Ge.wrap},ts?b.createElement("div",{className:Ge.left},b.createElement("div",{className:Ge.leftheader},b.createElement("div",{style:{cursor:"pointer"},onClick:()=>{xe.history.push("/shixuns/new?tabs=4")}},b.createElement("i",{className:"iconfont icon-fanhui1 font14 mr5"}),"\u8FD4\u56DE"),b.createElement("div",{className:Ge.close_ai,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{_o(!1)}})),b.createElement("div",{className:Ge.leftcontent,ref:Kc},Xn==null?void 0:Xn.map((ua,di)=>{var Yi;return b.createElement("div",{key:di},b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"end",marginTop:"30px"}},b.createElement("div",{className:Ge.leftcontentright},ua==null?void 0:ua.question),b.createElement("img",{src:Su,width:40,height:40,style:{marginLeft:10}})),b.createElement("div",{className:Ge.button_list,style:{textAlign:"right",paddingRight:"40px"}},b.createElement(it.CopyToClipboard,{text:String((ua==null?void 0:ua.question)||""),onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"})))),b.createElement("div",{className:Ge.liaotian_files},(Yi=ua==null?void 0:ua.fileList)==null?void 0:Yi.map((Pi,bo)=>b.createElement("div",{key:bo,className:Ge.liaotian_file},b.createElement(fe.Z,{size:"small",spinning:(Pi==null?void 0:Pi.status)==="uploading"},b.createElement(Zu.Z,{filename:Pi==null?void 0:Pi.name,className:"block",width:14})),b.createElement("aside",null,b.createElement(be.Z,{title:(Pi==null?void 0:Pi.name)+" "+(0,At.RD)(Pi==null?void 0:Pi.size)},b.createElement("div",{className:Ge.fileName},Pi==null?void 0:Pi.name)))))),b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"start",marginTop:30}},b.createElement("img",{src:Bl,width:40,height:40,style:{marginRight:10}}),b.createElement("div",{className:Ge.leftcontentleft},b.createElement("div",{className:Ge.letitle},ua!=null&&ua.isLogin?b.createElement("div",{className:Ge.loadingPic},Fa?"\u5DF2\u63A5\u6536\u5230\u4F60\u7684\u9700\u6C42\uFF0C\u6211\u5C06\u7ACB\u5373\u5F00\u59CB\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE":"\u6B63\u5728\u5904\u7406\u4E2D",b.createElement("span",{className:Ge.dots})):ua==null?void 0:ua.answer),b.createElement("div",{className:Ge.button_list},b.createElement(it.CopyToClipboard,{text:String((ua==null?void 0:ua.answer)||""),onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"}))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("i",{className:"iconfont icon-genghuan font12",onClick:()=>{var Pi;if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}(ua==null?void 0:ua.answer)=="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427"||(ua==null?void 0:ua.answer)=="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA"||na?(Oa(!1),jr({}),mr.current=0,sa.current=0,Cr([{question:ua==null?void 0:ua.question,fileList:ua==null?void 0:ua.fileList,answer:"",isLogin:!0}]),Ko(""),Io(!1),Du((Pi=Li==null?void 0:Li.inputValue)==null?void 0:Pi.trim(),Li==null?void 0:Li.fileList,Li==null?void 0:Li.environment,"","create","")):(Ga(!1),Cr([...Xn,{question:ua==null?void 0:ua.question,fileList:ua==null?void 0:ua.fileList,answer:"",isLogin:!0}]),_c(ua==null?void 0:ua.question,ua==null?void 0:ua.fileList))}}))))),(ua==null?void 0:ua.isLogin)&&Fa&&b.createElement("div",{className:Ge.left_step},b.createElement("div",{className:Ge.left_step_item},mr.current>0?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=0?"#3061D0":"#DEDEDE"}},"\u57FA\u672C\u4FE1\u606F"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=0?"#5F6A95":"#DEDEDE"}},mr.current>0?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u60A8\u7684\u9700\u6C42\u751F\u6210\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<1?b.createElement("div",{className:Ge.stepNum},"2"):mr.current>1?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=1?"#3061D0":"#DEDEDE"}},"\u5B66\u4E60\u5185\u5BB9"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=1?"#5F6A95":"#DEDEDE"}},mr.current<1?"\u7B49\u5F85\u4E2D":mr.current>1?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u57FA\u672C\u4FE1\u606F\u751F\u6210\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<2?b.createElement("div",{className:Ge.stepNum},"3"):mr.current>2?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=2?"#3061D0":"#DEDEDE"}},"\u6846\u67B6\u4EE3\u7801"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=2?"#5F6A95":"#DEDEDE"}},mr.current<2?"\u7B49\u5F85\u4E2D":mr.current>2?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u751F\u6210\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<3?b.createElement("div",{className:Ge.stepNum},"4"):mr.current>3?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=3?"#3061D0":"#DEDEDE"}},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=3?"#5F6A95":"#DEDEDE"}},mr.current<3?"\u7B49\u5F85\u4E2D":mr.current>3?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u548C\u6846\u67B6\u4EE3\u7801\u751F\u6210\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<4?b.createElement("div",{className:Ge.stepNum},"5"):mr.current>4?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=4?"#3061D0":"#DEDEDE"}},"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=4?"#5F6A95":"#DEDEDE"}},mr.current<4?"\u7B49\u5F85\u4E2D":mr.current>4?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u53C2\u8003\u7B54\u6848\u751F\u6210\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<5?b.createElement("div",{className:Ge.stepNum},"6"):mr.current>5?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=5?"#3061D0":"#DEDEDE"}},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=5?"#5F6A95":"#DEDEDE"}},mr.current<5?"\u7B49\u5F85\u4E2D":mr.current>5?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u6D4B\u8BD5\u7528\u4F8B\u751F\u6210\u8BC4\u6D4B\u811A\u672C"))))})),b.createElement("div",{className:Ge.practice},!!vi.length&&b.createElement("div",{className:Ge.files},An>0&&(vi==null?void 0:vi.length)>3&&b.createElement("div",{className:Ge.left_data,onClick:()=>{Fn(An-1),ir(Hn-1)}},b.createElement("i",{className:"iconfont icon-xiangzuo"})),Hn<(vi==null?void 0:vi.length)&&(vi==null?void 0:vi.length)>3&&b.createElement("div",{className:Ge.right_data,onClick:()=>{Fn(An+1),ir(Hn+1)}},b.createElement("i",{className:"iconfont icon-xiangyou"})),(Ee=(vi==null?void 0:vi.length)>3?vi==null?void 0:vi.slice(An,Hn):vi)==null?void 0:Ee.map((ua,di)=>b.createElement("div",{key:di,className:Ge.file},b.createElement(fe.Z,{size:"small",spinning:(ua==null?void 0:ua.status)==="uploading"},b.createElement(Zu.Z,{filename:ua==null?void 0:ua.name,className:"block",width:30})),b.createElement("aside",null,b.createElement(be.Z,{title:ua==null?void 0:ua.name},b.createElement("div",{className:Ge.fileName},ua==null?void 0:ua.name)),b.createElement("div",{style:{textAlign:"start"},className:"c-grey-999 font12"},(0,At.RD)(ua==null?void 0:ua.size))),b.createElement(be.Z,{title:"\u5220\u9664\u6587\u4EF6"},b.createElement("i",{onClick:()=>{es(Yi=>Yi.filter(Pi=>Pi.uid!==ua.uid))},className:`iconfont icon-danceng-guanbijichushezhidanceng ${Ge.fileDel}`}))))),b.createElement("div",{className:Ge.inputTop},b.createElement("div",{className:Ge.dropdown},b.createElement(we.Z,{disabled:!0,menu:{items:Il,onClick:ua=>{po(ua.key)}}},b.createElement("div",{style:{cursor:"no-drop",display:"flex",alignItems:"center",color:"rgba(20, 93, 255, 0.4)",height:"34px",padding:"0 20px"}},b.createElement(be.Z,{title:"\u5B9E\u9A8C\u73AF\u5883"},b.createElement("img",{src:y(21373),style:{width:"16px",height:"16px",marginRight:"8px",opacity:.4}})),b.createElement(be.Z,{title:"\u667A\u80FD\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE\u6A21\u5F0F\uFF0C\u6682\u4E0D\u652F\u6301\u66F4\u6362\u73AF\u5883\u3002"},b.createElement("div",{style:{height:"34px",lineHeight:"32px",width:"150px",textAlign:"left"}},oo)),b.createElement(Ac.Z,null))))),b.createElement("div",{className:Ge.inputWrap,style:{borderBottom:"none"}},b.createElement("div",{className:Ge.action},b.createElement(le.default,yn({},Qs),b.createElement(be.Z,{title:(vi==null?void 0:vi.length)>=10?"\u6700\u591A\u53EA\u80FD\u4E0A\u4F2010\u4E2A\u9644\u4EF6":""},b.createElement(Oe.ZP,{style:{cursor:(vi==null?void 0:vi.length)>=10?"no-drop":"pointer"},disabled:(vi==null?void 0:vi.length)>=10,className:Ge.uploadBtn,icon:b.createElement(Xu.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})}))),b.createElement(Re.default,{style:{margin:"0 15px"},size:"large",placeholder:"\u8BF7\u8F93\u5165\u4F60\u7684\u9700\u6C42",value:Gi,bordered:!1,onPressEnter:ua=>{if(ua.shiftKey){if(ua.key==="Enter")return}else if(ua.key==="Enter"){if(ua.preventDefault(),(Gi==null?void 0:Gi.trim())==="")return;if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){me.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Xn,{question:Gi,fileList:vi,answer:"",isLogin:!0}]),_c(Gi,vi)}},onChange:ua=>{Fo(ua.target.value)}}),b.createElement(Oe.ZP,{style:{marginLeft:"auto"},className:(Gi==null?void 0:Gi.trim())===""?Ge.sendBtnDisabled:Ge.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:(Gi==null?void 0:Gi.trim())==="",onClick:()=>{if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){me.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Xn,{question:Gi,fileList:vi,answer:"",isLogin:!0}]),_c(Gi,vi)}}))))):b.createElement("div",{className:Ge.show_button,onClick:()=>{_o(!0)}},b.createElement("div",{className:Ge.show_button_icon})),b.createElement("div",{className:Ge.right},b.createElement("div",{className:Ge.right_header},b.createElement("div",{className:Ge.right_header_title},si||"\u667A\u80FD\u5B9E\u8BAD"),b.createElement("div",{className:Ge.button_list},b.createElement("div",{className:Ge.button_left,onClick:()=>{au(!0)}},"\u4FDD\u5B58\u5E76\u9884\u89C8"),b.createElement("div",{className:Ge.button_right,onClick:()=>{au(!1)}},"\u4FDD\u5B58"))),b.createElement("div",{style:{width:"100%",height:"1px",borderBottom:"1px solid #F1F1F1",marginTop:"30px"}}),b.createElement("div",{className:Ge.right_step},b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=0&&(sa.current=0,fs())},style:{cursor:qr||mr.current<0?"no-drop":"pointer",backgroundColor:!qr&&sa.current==0?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current>0?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==0&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==0&&na?"#e53333":mr.current==0?"#3061D0":mr.current>0?"#000":"#DEDEDE",fontSize:14}},"\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=1&&(sa.current=1,fs())},style:{cursor:qr||mr.current<1?"no-drop":"pointer",backgroundColor:!qr&&sa.current==1?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<1?b.createElement("div",{className:Ge.stepNum},"2"):mr.current>1?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==1&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==1&&na?"#e53333":mr.current==1?"#3061D0":mr.current>1?"#000":"#DEDEDE",fontSize:14}},"\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=2&&(sa.current=2,fs())},style:{cursor:qr||mr.current<2?"no-drop":"pointer",backgroundColor:!qr&&sa.current==2?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<2?b.createElement("div",{className:Ge.stepNum},"3"):mr.current>2?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==2&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==2&&na?"#e53333":mr.current==2?"#3061D0":mr.current>2?"#000":"#DEDEDE",fontSize:14}},"\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=3&&(sa.current=3,fs())},style:{cursor:qr||mr.current<3?"no-drop":"pointer",backgroundColor:!qr&&sa.current==3?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<3?b.createElement("div",{className:Ge.stepNum},"4"):mr.current>3?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==3&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==3&&na?"#e53333":mr.current==3?"#3061D0":mr.current>3?"#000":"#DEDEDE",fontSize:14}},"\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=4&&(sa.current=4,fs())},style:{cursor:qr||mr.current<4?"no-drop":"pointer",backgroundColor:!qr&&sa.current==4?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<4?b.createElement("div",{className:Ge.stepNum},"5"):mr.current>4?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==4&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==4&&na?"#e53333":mr.current==4?"#3061D0":mr.current>4?"#000":"#DEDEDE",fontSize:14}},"\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=5&&(sa.current=5,fs())},style:{cursor:qr||mr.current<5?"no-drop":"pointer",backgroundColor:!qr&&sa.current==5?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<5?b.createElement("div",{className:Ge.stepNum},"6"):mr.current>5?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==5&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==5&&na?"#e53333":mr.current==5?"#3061D0":mr.current>5?"#000":"#DEDEDE",fontSize:14}},"\u8BC4\u6D4B\u811A\u672C"))),((Me=[2,3,4])==null?void 0:Me.includes(sa.current))&&b.createElement("div",{className:Ge.stream_header},b.createElement("div",{className:Ge.stream_header_title},sa.current==2?"\u6846\u67B6\u4EE3\u7801":sa.current==3?"\u53C2\u8003\u7B54\u6848":"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{style:{marginLeft:"auto"}}),((Xe=[3,4])==null?void 0:Xe.includes(sa.current))&&b.createElement(b.Fragment,null,b.createElement(Lc,{key:Ci.current,current:sa.current,valueHtml:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:kr==null?void 0:kr.test_set_text,onSuccess:ua=>Wn(void 0,null,function*(){yield Nl(ua,xa,Un==null?void 0:Un[sa.current],oo),fs()}),onCancel:fs}),b.createElement(Di,{current:sa.current,shixun_generation_id:xa,valueHtml:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:kr==null?void 0:kr.test_set_text,onSuccess:ua=>Wn(void 0,null,function*(){yield Nl(ua,xa,Un==null?void 0:Un[sa.current],oo),fs()})}))),sa.current==5&&b.createElement("div",{className:Ge.stream_header},b.createElement("div",{className:Ge.stream_header_title},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Ge.stream_tootip},b.createElement("i",{className:"iconfont icon-tishi7"}),b.createElement("div",{className:Ge.tootip_text},"\u8BC4\u6D4B\u811A\u672C\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210\uFF0C\u4E00\u822C\u60C5\u51B5\u4E0B\u65E0\u9700\u66F4\u6539"))),b.createElement(uu,{style:{width:"calc(100vw - 620px)",display:Yc?"none":"block",background:"#fff",height:(lt=[2,3,4,5])!=null&<.includes(sa.current)?"calc(100vh - 315px)":"calc(100vh - 265px)"},value:sa.current==0?kr==null?void 0:kr.info_text:sa.current==1?kr==null?void 0:kr.challege_text:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:sa.current==4?kr==null?void 0:kr.test_set_text:kr==null?void 0:kr.shixun_script,current:sa.current,shixun_generation_id:xa,onStatusChange:sn,showEditableToolbar:!Wa&&[0,1].includes(sa.current),showToolbar:[0,1].includes(sa.current),onSuccess:ua=>Wn(void 0,null,function*(){console.log(ua,"\u4EE3\u7801"),yield Du(Li==null?void 0:Li.inputValue,Li==null?void 0:Li.fileList,Li==null?void 0:Li.environment,ua,Un==null?void 0:Un[sa.current],"next")}),loadingText:"\u751F\u6210\u4E2D",onChange:ua=>Wn(void 0,null,function*(){ho(ua)}),fetchUrl:"/api/stream/ai/shixuns/create_stream.json",showEmptyData:!0,onError:ua=>{console.log("e",ua),Oa(!0),Sa(!1),Xn[Xn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])}}),Yc&&b.createElement(ye,{value:ds,style:{height:"calc(100vh - 315px)"},shixun_generation_id:xa,menuValue:oo,upcont:Nl}))),Ya("\u5904\u7406\u4E2D"))}},93459:function(Ce,ae,y){"use strict";var b=y(59301),me=Object.defineProperty,le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,fe=(Fe,At,at)=>At in Fe?me(Fe,At,{enumerable:!0,configurable:!0,writable:!0,value:at}):Fe[At]=at,we=(Fe,At)=>{for(var at in At||(At={}))pe.call(At,at)&&fe(Fe,at,At[at]);if(le)for(var at of le(At))be.call(At,at)&&fe(Fe,at,At[at]);return Fe},Oe=(Fe,At)=>{var at={};for(var tt in Fe)pe.call(Fe,tt)&&At.indexOf(tt)<0&&(at[tt]=Fe[tt]);if(Fe!=null&&le)for(var tt of le(Fe))At.indexOf(tt)<0&&be.call(Fe,tt)&&(at[tt]=Fe[tt]);return at};const Re=y(2331),xe={};Re.keys().forEach(Fe=>{const At=Fe.replace("./","").replace(".svg","");xe[At]=Re(Fe)});const Ge=Fe=>{var At=Fe,{filename:at}=At,tt=Oe(At,["filename"]),Je;const We=((Je=at==null?void 0:at.split(".").pop())==null?void 0:Je.toLowerCase())||"unknown",Ve=xe[We]||xe.default;return b.createElement("img",we({src:Ve,alt:We},tt))};ae.Z=Ge},20047:function(Ce,ae,y){"use strict";y.d(ae,{AL:function(){return ze},Iy:function(){return Ge},Qv:function(){return at},ez:function(){return Qe},jb:function(){return Fe}});var b=y(32834),me=y.n(b),le=y(11690),pe=y.n(le);let be=1;function fe(it,Nt){const vt=it.match(/^(\s+)(?:```)/);if(vt===null)return Nt;const dt=vt[1];return Nt.split(`
|
|
|
`).map(It=>{const St=It.match(/^\s+/);if(St===null)return It;const[qe]=St;return qe.length>=dt.length?It.slice(dt.length):It}).join(`
|
|
|
`)}let we=[],Oe=["<ul>"];const Re=new(me()).Renderer,xe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ge(){we.length=0,Oe=["<ul>"]}const Fe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function At(it,Nt,vt,dt){if(Nt>=it.length||it[Nt].level<=vt)return Nt;var It=it[Nt];dt.push("<li><a href='#"+be+It.anchor+"'>"+It.text+"</a>"),Nt++;var St=[];return Nt=At(it,Nt,It.level,St),St.length>0&&(dt.push("<ul>"),St.forEach(function(qe){dt.push(qe)}),dt.push("</ul>")),dt.push("</li>"),Nt=At(it,Nt,vt,dt),Nt}function at(){return At(we,0,0,Oe),Oe.push("</ul>"),Oe.join("")}const tt={heading(it){const Nt=xe.exec(it);if(be+=1,Nt)return{type:"heading",raw:Nt[0],depth:Nt[1].length,text:Nt[2]}},fences(it){const Nt=this.rules.block.fences.exec(it);if(Nt){const vt=Nt[0];let dt=fe(vt,Nt[3]||"");const It=Nt[2]?Nt[2].trim():Nt[2];if(["latex","katex","math"].indexOf(It)>=0){const St=Ve(),qe=dt;dt=St,Ze[St]={type:"block",expression:qe}}return{type:"code",raw:vt,lang:It,text:dt}}}},Je=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let We=0;const Ve=()=>`__special_katext_id_${We++}__`;let Ze={};function Qe(){return Ze}function ze(){We=0,Ze={}}function _e(it){return it=it.replace(Je,(Nt,vt)=>{const dt=Ve();return Ze[dt]={type:"inline",expression:vt},dt}),it}const $e=Re.listitem;Re.listitem=function(it){return $e(_e(it))};const nt=Re.paragraph;Re.paragraph=function(it){return nt(_e(it))};const bt=Re.tablecell;Re.tablecell=function(it,Nt){return bt(_e(it),Nt)},Re.code=function(it,Nt,vt){const dt=(Nt||"").match(/\S*/)[0];return dt?["latex","katex","math"].indexOf(dt)>=0?`<p class='editormd-tex'>${it}</p>`:`<pre class="prettyprint linenums"><code class="language-${Nt}">${vt?it:(0,le.escape)(it,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(vt?it:(0,le.escape)(it,!0))+"</code></pre>"},Re.heading=function(it,Nt,vt){let dt=this.options.headerPrefix+vt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return we.push({anchor:dt,level:Nt,text:it}),"<h"+Nt+' id="'+be+dt+'">'+it+"</h"+Nt+">"},me().setOptions({silent:!0,gfm:!0,pedantic:!1}),me().use({tokenizer:tt,renderer:Re}),ae.ZP=me()},86013:function(Ce,ae,y){"use strict";var b=y(59301),me=y(19248);const le=pe=>{let be;return typeof pe=="object"&&(pe!=null&&pe.clearIcon)?be=pe:pe&&(be={clearIcon:b.createElement(me.Z,null)}),be};ae.Z=le},36170:function(Ce,ae,y){"use strict";y.d(ae,{C2:function(){return fe}});var b=y(36237),me=y(63356),le=y(51636),pe=y(16931);const be=we=>{const{checkboxCls:Oe}=we,Re=`${Oe}-wrapper`;return[{[`${Oe}-group`]:Object.assign(Object.assign({},(0,me.Wf)(we)),{display:"inline-flex",flexWrap:"wrap",columnGap:we.marginXS,[`> ${we.antCls}-row`]:{flex:1}}),[Re]:Object.assign(Object.assign({},(0,me.Wf)(we)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Re}`]:{marginInlineStart:0},[`&${Re}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Oe]:Object.assign(Object.assign({},(0,me.Wf)(we)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:we.borderRadiusSM,alignSelf:"center",[`${Oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Oe}-inner`]:Object.assign({},(0,me.oN)(we))},[`${Oe}-inner`]:{boxSizing:"border-box",display:"block",width:we.checkboxSize,height:we.checkboxSize,direction:"ltr",backgroundColor:we.colorBgContainer,border:`${(0,b.unit)(we.lineWidth)} ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,borderCollapse:"separate",transition:`all ${we.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:we.calc(we.checkboxSize).div(14).mul(5).equal(),height:we.calc(we.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(we.lineWidthBold)} solid ${we.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${we.motionDurationFast} ${we.motionEaseInBack}, opacity ${we.motionDurationFast}`}},"& + span":{paddingInlineStart:we.paddingXS,paddingInlineEnd:we.paddingXS}})},{[`
|
|
|
${Re}:not(${Re}-disabled),
|
|
|
${Oe}:not(${Oe}-disabled)
|
|
|
`]:{[`&:hover ${Oe}-inner`]:{borderColor:we.colorPrimary}},[`${Re}:not(${Re}-disabled)`]:{[`&:hover ${Oe}-checked:not(${Oe}-disabled) ${Oe}-inner`]:{backgroundColor:we.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Oe}-checked:not(${Oe}-disabled):after`]:{borderColor:we.colorPrimaryHover}}},{[`${Oe}-checked`]:{[`${Oe}-inner`]:{backgroundColor:we.colorPrimary,borderColor:we.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${we.motionDurationMid} ${we.motionEaseOutBack} ${we.motionDurationFast}`}}},[`
|
|
|
${Re}-checked:not(${Re}-disabled),
|
|
|
${Oe}-checked:not(${Oe}-disabled)
|
|
|
`]:{[`&:hover ${Oe}-inner`]:{backgroundColor:we.colorPrimaryHover,borderColor:"transparent"}}},{[Oe]:{"&-indeterminate":{[`${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:we.calc(we.fontSizeLG).div(2).equal(),height:we.calc(we.fontSizeLG).div(2).equal(),backgroundColor:we.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorPrimary} !important`}}}},{[`${Re}-disabled`]:{cursor:"not-allowed"},[`${Oe}-disabled`]:{[`&, ${Oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Oe}-inner`]:{background:we.colorBgContainerDisabled,borderColor:we.colorBorder,"&:after":{borderColor:we.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:we.colorTextDisabled},[`&${Oe}-indeterminate ${Oe}-inner::after`]:{background:we.colorTextDisabled}}}]};function fe(we,Oe){const Re=(0,le.mergeToken)(Oe,{checkboxCls:`.${we}`,checkboxSize:Oe.controlInteractiveSize});return[be(Re)]}ae.ZP=(0,pe.I$)("Checkbox",(we,Oe)=>{let{prefixCls:Re}=Oe;return[fe(Re,we)]})},38406:function(Ce,ae,y){"use strict";var b=y(59301),me=y(48755),le=y(584);const pe=be=>{const{componentName:fe}=be,{getPrefixCls:we}=(0,b.useContext)(me.E_),Oe=we("empty");switch(fe){case"Table":case"List":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE,className:`${Oe}-small`});case"Table.filter":return null;default:return b.createElement(le.Z,null)}};ae.Z=pe},36207:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $t}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(85899),be=y(72190),fe=y(43403),we=y(34280),Oe=b.createContext(null),Re=b.createContext({}),xe=Oe,Ge=y(18642),Fe=y(60499),At=y(77900),at=y(10228),tt=y(26112),Je=y(42244),We=y(8654),Ve=["prefixCls","className","containerRef"],Ze=function(yt){var Dt=yt.prefixCls,Pt=yt.className,Wt=yt.containerRef,pn=(0,Je.Z)(yt,Ve),fn=b.useContext(Re),Mt=fn.panel,Ln=(0,We.x1)(Mt,Wt);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(Dt,"-content"),Pt),role:"dialog",ref:Ln},(0,tt.Z)(yt,{aria:!0}),{"aria-modal":"true"},pn))},Qe=Ze,ze=y(48736);function _e(gt){return typeof gt=="string"&&String(Number(gt))===gt?((0,ze.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(gt)):gt}function $e(gt){warning(!("wrapperClassName"in gt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!gt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var nt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function bt(gt,yt){var Dt,Pt,Wt,pn=gt.prefixCls,fn=gt.open,Mt=gt.placement,Ln=gt.inline,kn=gt.push,wn=gt.forceRender,ln=gt.autoFocus,In=gt.keyboard,xn=gt.classNames,kt=gt.rootClassName,Yt=gt.rootStyle,Ft=gt.zIndex,vn=gt.className,Ct=gt.id,pt=gt.style,de=gt.motion,qt=gt.width,Dn=gt.height,mn=gt.children,vr=gt.mask,yr=gt.maskClosable,ar=gt.maskMotion,Er=gt.maskClassName,wt=gt.maskStyle,Qn=gt.afterOpenChange,lr=gt.onClose,cr=gt.onMouseEnter,Yn=gt.onMouseOver,Sr=gt.onMouseLeave,br=gt.onClick,Nr=gt.onKeyDown,Jr=gt.onKeyUp,$r=gt.styles,Ur=gt.drawerRender,aa=b.useRef(),Hr=b.useRef(),pa=b.useRef();b.useImperativeHandle(yt,function(){return aa.current});var ea=function(Kt){var nn=Kt.keyCode,rt=Kt.shiftKey;switch(nn){case at.Z.TAB:{if(nn===at.Z.TAB){if(!rt&&document.activeElement===pa.current){var Jn;(Jn=Hr.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}else if(rt&&document.activeElement===Hr.current){var Bt;(Bt=pa.current)===null||Bt===void 0||Bt.focus({preventScroll:!0})}}break}case at.Z.ESC:{lr&&In&&(Kt.stopPropagation(),lr(Kt));break}}};b.useEffect(function(){if(fn&&ln){var an;(an=aa.current)===null||an===void 0||an.focus({preventScroll:!0})}},[fn]);var jn=b.useState(!1),sr=(0,be.Z)(jn,2),Kr=sr[0],zr=sr[1],ve=b.useContext(xe),Ie;typeof kn=="boolean"?Ie=kn?{}:{distance:0}:Ie=kn||{};var ut=(Dt=(Pt=(Wt=Ie)===null||Wt===void 0?void 0:Wt.distance)!==null&&Pt!==void 0?Pt:ve==null?void 0:ve.pushDistance)!==null&&Dt!==void 0?Dt:180,Le=b.useMemo(function(){return{pushDistance:ut,push:function(){zr(!0)},pull:function(){zr(!1)}}},[ut]);b.useEffect(function(){if(fn){var an;ve==null||(an=ve.push)===null||an===void 0||an.call(ve)}else{var Kt;ve==null||(Kt=ve.pull)===null||Kt===void 0||Kt.call(ve)}},[fn]),b.useEffect(function(){return function(){var an;ve==null||(an=ve.pull)===null||an===void 0||an.call(ve)}},[]);var He=vr&&b.createElement(At.default,(0,Fe.Z)({key:"mask"},ar,{visible:fn}),function(an,Kt){var nn=an.className,rt=an.style;return b.createElement("div",{className:le()("".concat(pn,"-mask"),nn,xn==null?void 0:xn.mask,Er),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},rt),wt),$r==null?void 0:$r.mask),onClick:yr&&fn?lr:void 0,ref:Kt})}),Vt=typeof de=="function"?de(Mt):de,et={};if(Kr&&ut)switch(Mt){case"top":et.transform="translateY(".concat(ut,"px)");break;case"bottom":et.transform="translateY(".concat(-ut,"px)");break;case"left":et.transform="translateX(".concat(ut,"px)");break;default:et.transform="translateX(".concat(-ut,"px)");break}Mt==="left"||Mt==="right"?et.width=_e(qt):et.height=_e(Dn);var en={onMouseEnter:cr,onMouseOver:Yn,onMouseLeave:Sr,onClick:br,onKeyDown:Nr,onKeyUp:Jr},cn=b.createElement(At.default,(0,Fe.Z)({key:"panel"},Vt,{visible:fn,forceRender:wn,onVisibleChanged:function(Kt){Qn==null||Qn(Kt)},removeOnLeave:!1,leavedClassName:"".concat(pn,"-content-wrapper-hidden")}),function(an,Kt){var nn=an.className,rt=an.style,Jn=b.createElement(Qe,(0,Fe.Z)({id:Ct,containerRef:Kt,prefixCls:pn,className:le()(vn,xn==null?void 0:xn.content),style:(0,pe.Z)((0,pe.Z)({},pt),$r==null?void 0:$r.content)},(0,tt.Z)(gt,{aria:!0}),en),mn);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(pn,"-content-wrapper"),xn==null?void 0:xn.wrapper,nn),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},et),rt),$r==null?void 0:$r.wrapper)},(0,tt.Z)(gt,{data:!0})),Ur?Ur(Jn):Jn)}),Xt=(0,pe.Z)({},Yt);return Ft&&(Xt.zIndex=Ft),b.createElement(xe.Provider,{value:Le},b.createElement("div",{className:le()(pn,"".concat(pn,"-").concat(Mt),kt,(0,Ge.Z)((0,Ge.Z)({},"".concat(pn,"-open"),fn),"".concat(pn,"-inline"),Ln)),style:Xt,tabIndex:-1,ref:aa,onKeyDown:ea},He,b.createElement("div",{tabIndex:0,ref:Hr,style:nt,"aria-hidden":"true","data-sentinel":"start"}),cn,b.createElement("div",{tabIndex:0,ref:pa,style:nt,"aria-hidden":"true","data-sentinel":"end"})))}var it=b.forwardRef(bt),Nt=it,vt=function(yt){var Dt=yt.open,Pt=Dt===void 0?!1:Dt,Wt=yt.prefixCls,pn=Wt===void 0?"rc-drawer":Wt,fn=yt.placement,Mt=fn===void 0?"right":fn,Ln=yt.autoFocus,kn=Ln===void 0?!0:Ln,wn=yt.keyboard,ln=wn===void 0?!0:wn,In=yt.width,xn=In===void 0?378:In,kt=yt.mask,Yt=kt===void 0?!0:kt,Ft=yt.maskClosable,vn=Ft===void 0?!0:Ft,Ct=yt.getContainer,pt=yt.forceRender,de=yt.afterOpenChange,qt=yt.destroyOnClose,Dn=yt.onMouseEnter,mn=yt.onMouseOver,vr=yt.onMouseLeave,yr=yt.onClick,ar=yt.onKeyDown,Er=yt.onKeyUp,wt=yt.panelRef,Qn=b.useState(!1),lr=(0,be.Z)(Qn,2),cr=lr[0],Yn=lr[1],Sr=b.useState(!1),br=(0,be.Z)(Sr,2),Nr=br[0],Jr=br[1];(0,we.Z)(function(){Jr(!0)},[]);var $r=Nr?Pt:!1,Ur=b.useRef(),aa=b.useRef();(0,we.Z)(function(){$r&&(aa.current=document.activeElement)},[$r]);var Hr=function(Kr){var zr;if(Yn(Kr),de==null||de(Kr),!Kr&&aa.current&&!((zr=Ur.current)!==null&&zr!==void 0&&zr.contains(aa.current))){var ve;(ve=aa.current)===null||ve===void 0||ve.focus({preventScroll:!0})}},pa=b.useMemo(function(){return{panel:wt}},[wt]);if(!pt&&!cr&&!$r&&qt)return null;var ea={onMouseEnter:Dn,onMouseOver:mn,onMouseLeave:vr,onClick:yr,onKeyDown:ar,onKeyUp:Er},jn=(0,pe.Z)((0,pe.Z)({},yt),{},{open:$r,prefixCls:pn,placement:Mt,autoFocus:kn,keyboard:ln,width:xn,mask:Yt,maskClosable:vn,inline:Ct===!1,afterOpenChange:Hr,ref:Ur},ea);return b.createElement(Re.Provider,{value:pa},b.createElement(fe.Z,{open:$r||pt||cr,autoDestroy:!1,getContainer:Ct,autoLock:Yt&&($r||cr)},b.createElement(Nt,jn)))},dt=vt,It=dt,St=y(62487),qe=y(75030),Jt=y(86641),Rt=y(55743),Zt=y(48755),Tn=y(91190),Tt=y(78776),Ye=y(458),Qt=gt=>{var yt,Dt;const{prefixCls:Pt,title:Wt,footer:pn,extra:fn,loading:Mt,onClose:Ln,headerStyle:kn,bodyStyle:wn,footerStyle:ln,children:In,classNames:xn,styles:kt}=gt,Yt=(0,Zt.dj)("drawer"),Ft=b.useCallback(qt=>b.createElement("button",{type:"button",onClick:Ln,"aria-label":"Close",className:`${Pt}-close`},qt),[Ln]),[vn,Ct]=(0,Tt.Z)((0,Tt.w)(gt),(0,Tt.w)(Yt),{closable:!0,closeIconRender:Ft}),pt=b.useMemo(()=>{var qt,Dn;return!Wt&&!vn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(qt=Yt.styles)===null||qt===void 0?void 0:qt.header),kn),kt==null?void 0:kt.header),className:le()(`${Pt}-header`,{[`${Pt}-header-close-only`]:vn&&!Wt&&!fn},(Dn=Yt.classNames)===null||Dn===void 0?void 0:Dn.header,xn==null?void 0:xn.header)},b.createElement("div",{className:`${Pt}-header-title`},Ct,Wt&&b.createElement("div",{className:`${Pt}-title`},Wt)),fn&&b.createElement("div",{className:`${Pt}-extra`},fn))},[vn,Ct,fn,kn,Pt,Wt]),de=b.useMemo(()=>{var qt,Dn;if(!pn)return null;const mn=`${Pt}-footer`;return b.createElement("div",{className:le()(mn,(qt=Yt.classNames)===null||qt===void 0?void 0:qt.footer,xn==null?void 0:xn.footer),style:Object.assign(Object.assign(Object.assign({},(Dn=Yt.styles)===null||Dn===void 0?void 0:Dn.footer),ln),kt==null?void 0:kt.footer)},pn)},[pn,ln,Pt]);return b.createElement(b.Fragment,null,pt,b.createElement("div",{className:le()(`${Pt}-body`,xn==null?void 0:xn.body,(yt=Yt.classNames)===null||yt===void 0?void 0:yt.body),style:Object.assign(Object.assign(Object.assign({},(Dt=Yt.styles)===null||Dt===void 0?void 0:Dt.body),wn),kt==null?void 0:kt.body)},Mt?b.createElement(Ye.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Pt}-body-skeleton`}):In),de)},on=y(36237),st=y(63356),Ut=y(16931),Gt=y(51636);const On=gt=>{const yt="100%";return{left:`translateX(-${yt})`,right:`translateX(${yt})`,top:`translateY(-${yt})`,bottom:`translateY(${yt})`}[gt]},ft=(gt,yt)=>({"&-enter, &-appear":Object.assign(Object.assign({},gt),{"&-active":yt}),"&-leave":Object.assign(Object.assign({},yt),{"&-active":gt})}),En=(gt,yt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${yt}`}}},ft({opacity:gt},{opacity:1})),Ht=(gt,yt)=>[En(.7,yt),ft({transform:On(gt)},{transform:"none"})];var un=gt=>{const{componentCls:yt,motionDurationSlow:Dt}=gt;return{[yt]:{[`${yt}-mask-motion`]:En(0,Dt),[`${yt}-panel-motion`]:["left","right","top","bottom"].reduce((Pt,Wt)=>Object.assign(Object.assign({},Pt),{[`&-${Wt}`]:Ht(Wt,Dt)}),{})}}};const De=gt=>{const{borderRadiusSM:yt,componentCls:Dt,zIndexPopup:Pt,colorBgMask:Wt,colorBgElevated:pn,motionDurationSlow:fn,motionDurationMid:Mt,paddingXS:Ln,padding:kn,paddingLG:wn,fontSizeLG:ln,lineHeightLG:In,lineWidth:xn,lineType:kt,colorSplit:Yt,marginXS:Ft,colorIcon:vn,colorIconHover:Ct,colorBgTextHover:pt,colorBgTextActive:de,colorText:qt,fontWeightStrong:Dn,footerPaddingBlock:mn,footerPaddingInline:vr,calc:yr}=gt,ar=`${Dt}-content-wrapper`;return{[Dt]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none",color:qt,"&-pure":{position:"relative",background:pn,display:"flex",flexDirection:"column",[`&${Dt}-left`]:{boxShadow:gt.boxShadowDrawerLeft},[`&${Dt}-right`]:{boxShadow:gt.boxShadowDrawerRight},[`&${Dt}-top`]:{boxShadow:gt.boxShadowDrawerUp},[`&${Dt}-bottom`]:{boxShadow:gt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Dt}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Wt,pointerEvents:"auto"},[ar]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${fn}`,"&-hidden":{display:"none"}},[`&-left > ${ar}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:gt.boxShadowDrawerLeft},[`&-right > ${ar}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:gt.boxShadowDrawerRight},[`&-top > ${ar}`]:{top:0,insetInline:0,boxShadow:gt.boxShadowDrawerUp},[`&-bottom > ${ar}`]:{bottom:0,insetInline:0,boxShadow:gt.boxShadowDrawerDown},[`${Dt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:pn,pointerEvents:"auto"},[`${Dt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,on.unit)(kn)} ${(0,on.unit)(wn)}`,fontSize:ln,lineHeight:In,borderBottom:`${(0,on.unit)(xn)} ${kt} ${Yt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Dt}-extra`]:{flex:"none"},[`${Dt}-close`]:Object.assign({display:"inline-flex",width:yr(ln).add(Ln).equal(),height:yr(ln).add(Ln).equal(),borderRadius:yt,justifyContent:"center",alignItems:"center",marginInlineEnd:Ft,color:vn,fontWeight:Dn,fontSize:ln,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Mt}`,textRendering:"auto","&:hover":{color:Ct,backgroundColor:pt,textDecoration:"none"},"&:active":{backgroundColor:de}},(0,st.Qy)(gt)),[`${Dt}-title`]:{flex:1,margin:0,fontWeight:gt.fontWeightStrong,fontSize:ln,lineHeight:In},[`${Dt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:wn,overflow:"auto",[`${Dt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Dt}-footer`]:{flexShrink:0,padding:`${(0,on.unit)(mn)} ${(0,on.unit)(vr)}`,borderTop:`${(0,on.unit)(xn)} ${kt} ${Yt}`},"&-rtl":{direction:"rtl"}}}},he=gt=>({zIndexPopup:gt.zIndexPopupBase,footerPaddingBlock:gt.paddingXS,footerPaddingInline:gt.padding});var ce=(0,Ut.I$)("Drawer",gt=>{const yt=(0,Gt.mergeToken)(gt,{});return[De(yt),un(yt)]},he),Te=function(gt,yt){var Dt={};for(var Pt in gt)Object.prototype.hasOwnProperty.call(gt,Pt)&&yt.indexOf(Pt)<0&&(Dt[Pt]=gt[Pt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Pt=Object.getOwnPropertySymbols(gt);Wt<Pt.length;Wt++)yt.indexOf(Pt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(gt,Pt[Wt])&&(Dt[Pt[Wt]]=gt[Pt[Wt]]);return Dt};const je=null,ge={distance:180},Pe=gt=>{var yt;const{rootClassName:Dt,width:Pt,height:Wt,size:pn="default",mask:fn=!0,push:Mt=ge,open:Ln,afterOpenChange:kn,onClose:wn,prefixCls:ln,getContainer:In,style:xn,className:kt,visible:Yt,afterVisibleChange:Ft,maskStyle:vn,drawerStyle:Ct,contentWrapperStyle:pt}=gt,de=Te(gt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:qt,getPrefixCls:Dn,direction:mn,className:vr,style:yr,classNames:ar,styles:Er}=(0,Zt.dj)("drawer"),wt=Dn("drawer",ln),[Qn,lr,cr]=ce(wt),Yn=In===void 0&&qt?()=>qt(document.body):In,Sr=le()({"no-mask":!fn,[`${wt}-rtl`]:mn==="rtl"},Dt,lr,cr),br=b.useMemo(()=>Pt!=null?Pt:pn==="large"?736:378,[Pt,pn]),Nr=b.useMemo(()=>Wt!=null?Wt:pn==="large"?736:378,[Wt,pn]),Jr={motionName:(0,Jt.m)(wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$r=jn=>({motionName:(0,Jt.m)(wt,`panel-motion-${jn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ur=(0,Tn.H)(),[aa,Hr]=(0,qe.Cn)("Drawer",de.zIndex),{classNames:pa={},styles:ea={}}=de;return Qn(b.createElement(St.Z,{form:!0,space:!0},b.createElement(Rt.Z.Provider,{value:Hr},b.createElement(It,Object.assign({prefixCls:wt,onClose:wn,maskMotion:Jr,motion:$r},de,{classNames:{mask:le()(pa.mask,ar.mask),content:le()(pa.content,ar.content),wrapper:le()(pa.wrapper,ar.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ea.mask),vn),Er.mask),content:Object.assign(Object.assign(Object.assign({},ea.content),Ct),Er.content),wrapper:Object.assign(Object.assign(Object.assign({},ea.wrapper),pt),Er.wrapper)},open:Ln!=null?Ln:Yt,mask:fn,push:Mt,width:br,height:Nr,style:Object.assign(Object.assign({},yr),xn),className:le()(vr,kt),rootClassName:Sr,getContainer:Yn,afterOpenChange:kn!=null?kn:Ft,panelRef:Ur,zIndex:aa}),b.createElement(Qt,Object.assign({prefixCls:wt},de,{onClose:wn}))))))},ct=gt=>{const{prefixCls:yt,style:Dt,className:Pt,placement:Wt="right"}=gt,pn=Te(gt,["prefixCls","style","className","placement"]),{getPrefixCls:fn}=b.useContext(Zt.E_),Mt=fn("drawer",yt),[Ln,kn,wn]=ce(Mt),ln=le()(Mt,`${Mt}-pure`,`${Mt}-${Wt}`,kn,wn,Pt);return Ln(b.createElement("div",{className:ln,style:Dt},b.createElement(Qt,Object.assign({prefixCls:Mt},pn))))};Pe._InternalPanelDoNotUseOrYouWillBeFired=ct;var $t=Pe},19563:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return on}});var b=y(59301),me=y(33853),le=y(38819),pe=y(92310),be=y.n(pe),fe=y(96478),we=y(6089),Oe=y(18929),Re=y(2738),xe=y(75030),Fe=st=>typeof st!="object"&&typeof st!="function"||st===null,At=y(52838),at=y(45915),tt=y(22703),Je=y(32383),We=y(55743),Ve=y(48755),Ze=y(83397),Qe=y(93041),ze=y(78857),_e=y(57700),$e=y(36237),nt=y(63356),bt=y(46e3),it=y(93873),Nt=y(34925),vt=y(37645),dt=y(36305),It=y(16931),St=y(51636),Jt=st=>{const{componentCls:Ut,menuCls:Gt,colorError:On,colorTextLightSolid:ft}=st,En=`${Gt}-item`;return{[`${Ut}, ${Ut}-menu-submenu`]:{[`${Gt} ${En}`]:{[`&${En}-danger:not(${En}-disabled)`]:{color:On,"&:hover":{color:ft,backgroundColor:On}}}}}};const Rt=st=>{const{componentCls:Ut,menuCls:Gt,zIndexPopup:On,dropdownArrowDistance:ft,sizePopupArrow:En,antCls:Ht,iconCls:gn,motionDurationMid:un,paddingBlock:De,fontSize:he,dropdownEdgeChildPadding:ce,colorTextDisabled:Te,fontSizeIcon:je,controlPaddingHorizontal:ge,colorBgElevated:Pe}=st;return[{[Ut]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:On,display:"block","&::before":{position:"absolute",insetBlock:st.calc(En).div(2).sub(ft).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ht}-btn`]:{[`& > ${gn}-down, & > ${Ht}-btn-icon > ${gn}-down`]:{fontSize:je}},[`${Ut}-wrap`]:{position:"relative",[`${Ht}-btn > ${gn}-down`]:{fontSize:je},[`${gn}-down::before`]:{transition:`transform ${un}`}},[`${Ut}-wrap-open`]:{[`${gn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottomLeft,
|
|
|
&${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottomLeft,
|
|
|
&${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottom,
|
|
|
&${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottom,
|
|
|
&${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottomRight,
|
|
|
&${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottomRight`]:{animationName:bt.fJ},[`&${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-topLeft,
|
|
|
&${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-topLeft,
|
|
|
&${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-top,
|
|
|
&${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-top,
|
|
|
&${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-topRight,
|
|
|
&${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-topRight`]:{animationName:bt.Qt},[`&${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottomLeft,
|
|
|
&${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottom,
|
|
|
&${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottomRight`]:{animationName:bt.Uw},[`&${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-topLeft,
|
|
|
&${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-top,
|
|
|
&${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-topRight`]:{animationName:bt.ly}}},(0,vt.ZP)(st,Pe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ut} ${Gt}`]:{position:"relative",margin:0},[`${Gt}-submenu-popup`]:{position:"absolute",zIndex:On,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ut}, ${Ut}-menu-submenu`]:Object.assign(Object.assign({},(0,nt.Wf)(st)),{[Gt]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:st.borderRadiusLG,outline:"none",boxShadow:st.boxShadowSecondary},(0,nt.Qy)(st)),{"&:empty":{padding:0,boxShadow:"none"},[`${Gt}-item-group-title`]:{padding:`${(0,$e.unit)(De)} ${(0,$e.unit)(ge)}`,color:st.colorTextDescription,transition:`all ${un}`},[`${Gt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Gt}-item-icon`]:{minWidth:he,marginInlineEnd:st.marginXS,fontSize:st.fontSizeSM},[`${Gt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${un}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Gt}-item-extra`]:{paddingInlineStart:st.padding,marginInlineStart:"auto",fontSize:st.fontSizeSM,color:st.colorTextDescription}},[`${Gt}-item, ${Gt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$e.unit)(De)} ${(0,$e.unit)(ge)}`,color:st.colorText,fontWeight:"normal",fontSize:he,lineHeight:st.lineHeight,cursor:"pointer",transition:`all ${un}`,borderRadius:st.borderRadiusSM,"&:hover, &-active":{backgroundColor:st.controlItemBgHover}},(0,nt.Qy)(st)),{"&-selected":{color:st.colorPrimary,backgroundColor:st.controlItemBgActive,"&:hover, &-active":{backgroundColor:st.controlItemBgActiveHover}},"&-disabled":{color:Te,cursor:"not-allowed","&:hover":{color:Te,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$e.unit)(st.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:st.colorSplit},[`${Ut}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:st.paddingXS,[`${Ut}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:st.colorTextDescription,fontSize:je,fontStyle:"normal"}}}),[`${Gt}-item-group-list`]:{margin:`0 ${(0,$e.unit)(st.marginXS)}`,padding:0,listStyle:"none"},[`${Gt}-submenu-title`]:{paddingInlineEnd:st.calc(ge).add(st.fontSizeSM).equal()},[`${Gt}-submenu-vertical`]:{position:"relative"},[`${Gt}-submenu${Gt}-submenu-disabled ${Ut}-menu-submenu-title`]:{[`&, ${Ut}-menu-submenu-arrow-icon`]:{color:Te,backgroundColor:Pe,cursor:"not-allowed"}},[`${Gt}-submenu-selected ${Ut}-menu-submenu-title`]:{color:st.colorPrimary}})})},[(0,bt.oN)(st,"slide-up"),(0,bt.oN)(st,"slide-down"),(0,it.Fm)(st,"move-up"),(0,it.Fm)(st,"move-down"),(0,Nt._y)(st,"zoom-big")]]},Zt=st=>Object.assign(Object.assign({zIndexPopup:st.zIndexPopupBase+50,paddingBlock:(st.controlHeight-st.fontSize*st.lineHeight)/2},(0,vt.wZ)({contentRadius:st.borderRadiusLG,limitVerticalRadius:!0})),(0,dt.w)(st));var Tn=(0,It.I$)("Dropdown",st=>{const{marginXXS:Ut,sizePopupArrow:Gt,paddingXXS:On,componentCls:ft}=st,En=(0,St.mergeToken)(st,{menuCls:`${ft}-menu`,dropdownArrowDistance:st.calc(Gt).div(2).add(Ut).equal(),dropdownEdgeChildPadding:On});return[Rt(En),Jt(En)]},Zt,{resetStyle:!1});const Tt=null,Ye=st=>{var Ut;const{menu:Gt,arrow:On,prefixCls:ft,children:En,trigger:Ht,disabled:gn,dropdownRender:un,getPopupContainer:De,overlayClassName:he,rootClassName:ce,overlayStyle:Te,open:je,onOpenChange:ge,visible:Pe,onVisibleChange:ct,mouseEnterDelay:$t=.15,mouseLeaveDelay:gt=.1,autoAdjustOverflow:yt=!0,placement:Dt="",overlay:Pt,transitionName:Wt}=st,{getPopupContainer:pn,getPrefixCls:fn,direction:Mt,dropdown:Ln}=b.useContext(Ve.E_),kn=(0,Je.ln)("Dropdown"),wn=b.useMemo(()=>{const Yn=fn();return Wt!==void 0?Wt:Dt.includes("top")?`${Yn}-slide-down`:`${Yn}-slide-up`},[fn,Dt,Wt]),ln=b.useMemo(()=>Dt?Dt.includes("Center")?Dt.slice(0,Dt.indexOf("Center")):Dt:Mt==="rtl"?"bottomRight":"bottomLeft",[Dt,Mt]),In=fn("dropdown",ft),xn=(0,Ze.Z)(In),[kt,Yt,Ft]=Tn(In,xn),[,vn]=(0,_e.ZP)(),Ct=b.Children.only(Fe(En)?b.createElement("span",null,En):En),pt=(0,tt.Tm)(Ct,{className:be()(`${In}-trigger`,{[`${In}-rtl`]:Mt==="rtl"},Ct.props.className),disabled:(Ut=Ct.props.disabled)!==null&&Ut!==void 0?Ut:gn}),de=gn?[]:Ht,qt=!!(de!=null&&de.includes("contextMenu")),[Dn,mn]=(0,Oe.Z)(!1,{value:je!=null?je:Pe}),vr=(0,we.Z)(Yn=>{ge==null||ge(Yn,{source:"trigger"}),ct==null||ct(Yn),mn(Yn)}),yr=be()(he,ce,Yt,Ft,xn,Ln==null?void 0:Ln.className,{[`${In}-rtl`]:Mt==="rtl"}),ar=(0,At.Z)({arrowPointAtCenter:typeof On=="object"&&On.pointAtCenter,autoAdjustOverflow:yt,offset:vn.marginXXS,arrowWidth:On?vn.sizePopupArrow:0,borderRadius:vn.borderRadius}),Er=b.useCallback(()=>{Gt!=null&&Gt.selectable&&(Gt!=null&&Gt.multiple)||(ge==null||ge(!1,{source:"menu"}),mn(!1))},[Gt==null?void 0:Gt.selectable,Gt==null?void 0:Gt.multiple]),wt=()=>{let Yn;return Gt!=null&&Gt.items?Yn=b.createElement(Qe.default,Object.assign({},Gt)):typeof Pt=="function"?Yn=Pt():Yn=Pt,un&&(Yn=un(Yn)),Yn=b.Children.only(typeof Yn=="string"?b.createElement("span",null,Yn):Yn),b.createElement(ze.J,{prefixCls:`${In}-menu`,rootClassName:be()(Ft,xn),expandIcon:b.createElement("span",{className:`${In}-menu-submenu-arrow`},Mt==="rtl"?b.createElement(me.Z,{className:`${In}-menu-submenu-arrow-icon`}):b.createElement(le.Z,{className:`${In}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Er,validator:Sr=>{let{mode:br}=Sr}},Yn)},[Qn,lr]=(0,xe.Cn)("Dropdown",Te==null?void 0:Te.zIndex);let cr=b.createElement(fe.Z,Object.assign({alignPoint:qt},(0,Re.Z)(st,["rootClassName"]),{mouseEnterDelay:$t,mouseLeaveDelay:gt,visible:Dn,builtinPlacements:ar,arrow:!!On,overlayClassName:yr,prefixCls:In,getPopupContainer:De||pn,transitionName:wn,trigger:de,overlay:wt,placement:ln,onVisibleChange:vr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ln==null?void 0:Ln.style),Te),{zIndex:Qn})}),pt);return Qn&&(cr=b.createElement(We.Z.Provider,{value:lr},cr)),kt(cr)},Se=(0,at.Z)(Ye,"align",void 0,"dropdown",st=>st),Qt=st=>b.createElement(Se,Object.assign({},st),b.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=Qt;var on=Ye},75727:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return at}});var b=y(19563),me=y(59301),le=y(18785),pe=y(92310),be=y.n(pe),fe=y(7939),we=y(48755),Oe=y(44104),Re=y(70045),xe=function(tt,Je){var We={};for(var Ve in tt)Object.prototype.hasOwnProperty.call(tt,Ve)&&Je.indexOf(Ve)<0&&(We[Ve]=tt[Ve]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ve=Object.getOwnPropertySymbols(tt);Ze<Ve.length;Ze++)Je.indexOf(Ve[Ze])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ve[Ze])&&(We[Ve[Ze]]=tt[Ve[Ze]]);return We};const Ge=tt=>{const{getPopupContainer:Je,getPrefixCls:We,direction:Ve}=me.useContext(we.E_),{prefixCls:Ze,type:Qe="default",danger:ze,disabled:_e,loading:$e,onClick:nt,htmlType:bt,children:it,className:Nt,menu:vt,arrow:dt,autoFocus:It,overlay:St,trigger:qe,align:Jt,open:Rt,onOpenChange:Zt,placement:Tn,getPopupContainer:Tt,href:Ye,icon:Se=me.createElement(le.Z,null),title:Qt,buttonsRender:on=$t=>$t,mouseEnterDelay:st,mouseLeaveDelay:Ut,overlayClassName:Gt,overlayStyle:On,destroyPopupOnHide:ft,dropdownRender:En}=tt,Ht=xe(tt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),gn=We("dropdown",Ze),un=`${gn}-button`,De={menu:vt,arrow:dt,autoFocus:It,align:Jt,disabled:_e,trigger:_e?[]:qe,onOpenChange:Zt,getPopupContainer:Tt||Je,mouseEnterDelay:st,mouseLeaveDelay:Ut,overlayClassName:Gt,overlayStyle:On,destroyPopupOnHide:ft,dropdownRender:En},{compactSize:he,compactItemClassnames:ce}=(0,Re.ri)(gn,Ve),Te=be()(un,ce,Nt);"overlay"in tt&&(De.overlay=St),"open"in tt&&(De.open=Rt),"placement"in tt?De.placement=Tn:De.placement=Ve==="rtl"?"bottomLeft":"bottomRight";const je=me.createElement(fe.ZP,{type:Qe,danger:ze,disabled:_e,loading:$e,onClick:nt,htmlType:bt,href:Ye,title:Qt},it),ge=me.createElement(fe.ZP,{type:Qe,danger:ze,icon:Se}),[Pe,ct]=on([je,ge]);return me.createElement(Oe.Z.Compact,Object.assign({className:Te,size:he,block:!0},Ht),Pe,me.createElement(b.Z,Object.assign({},De),ct))};Ge.__ANT_BUTTON=!0;var Fe=Ge;const At=b.Z;At.Button=Fe;var at=At},584:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(9017),be=y(17835),fe=y(57700),Oe=()=>{const[,ze]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),nt=new be.FastColor(ze.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:nt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},xe=()=>{const[,ze]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),{colorFill:$e,colorFillTertiary:nt,colorFillQuaternary:bt,colorBgContainer:it}=ze,{borderColor:Nt,shadowColor:vt,contentColor:dt}=(0,b.useMemo)(()=>({borderColor:new be.FastColor($e).onBackground(it).toHexString(),shadowColor:new be.FastColor(nt).onBackground(it).toHexString(),contentColor:new be.FastColor(bt).onBackground(it).toHexString()}),[$e,nt,bt,it]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:vt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Nt},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:dt}))))},Ge=y(16931),Fe=y(51636);const At=ze=>{const{componentCls:_e,margin:$e,marginXS:nt,marginXL:bt,fontSize:it,lineHeight:Nt}=ze;return{[_e]:{marginInline:nt,fontSize:it,lineHeight:Nt,textAlign:"center",[`${_e}-image`]:{height:ze.emptyImgHeight,marginBottom:nt,opacity:ze.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:ze.colorTextDescription},[`${_e}-footer`]:{marginTop:$e},"&-normal":{marginBlock:bt,color:ze.colorTextDescription,[`${_e}-description`]:{color:ze.colorTextDescription},[`${_e}-image`]:{height:ze.emptyImgHeightMD}},"&-small":{marginBlock:nt,color:ze.colorTextDescription,[`${_e}-image`]:{height:ze.emptyImgHeightSM}}}}};var at=(0,Ge.I$)("Empty",ze=>{const{componentCls:_e,controlHeightLG:$e,calc:nt}=ze,bt=(0,Fe.mergeToken)(ze,{emptyImgCls:`${_e}-img`,emptyImgHeight:nt($e).mul(2.5).equal(),emptyImgHeightMD:$e,emptyImgHeightSM:nt($e).mul(.875).equal()});return[At(bt)]}),tt=y(48755),Je=function(ze,_e){var $e={};for(var nt in ze)Object.prototype.hasOwnProperty.call(ze,nt)&&_e.indexOf(nt)<0&&($e[nt]=ze[nt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,nt=Object.getOwnPropertySymbols(ze);bt<nt.length;bt++)_e.indexOf(nt[bt])<0&&Object.prototype.propertyIsEnumerable.call(ze,nt[bt])&&($e[nt[bt]]=ze[nt[bt]]);return $e};const We=b.createElement(Oe,null),Ve=b.createElement(xe,null),Ze=ze=>{const{className:_e,rootClassName:$e,prefixCls:nt,image:bt=We,description:it,children:Nt,imageStyle:vt,style:dt,classNames:It,styles:St}=ze,qe=Je(ze,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Jt,direction:Rt,className:Zt,style:Tn,classNames:Tt,styles:Ye}=(0,tt.dj)("empty"),Se=Jt("empty",nt),[Qt,on,st]=at(Se),[Ut]=(0,pe.Z)("Empty"),Gt=typeof it!="undefined"?it:Ut==null?void 0:Ut.description,On=typeof Gt=="string"?Gt:"empty";let ft=null;return typeof bt=="string"?ft=b.createElement("img",{alt:On,src:bt}):ft=bt,Qt(b.createElement("div",Object.assign({className:le()(on,st,Se,Zt,{[`${Se}-normal`]:bt===Ve,[`${Se}-rtl`]:Rt==="rtl"},_e,$e,Tt.root,It==null?void 0:It.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ye.root),Tn),St==null?void 0:St.root),dt)},qe),b.createElement("div",{className:le()(`${Se}-image`,Tt.image,It==null?void 0:It.image),style:Object.assign(Object.assign(Object.assign({},vt),Ye.image),St==null?void 0:St.image)},ft),Gt&&b.createElement("div",{className:le()(`${Se}-description`,Tt.description,It==null?void 0:It.description),style:Object.assign(Object.assign({},Ye.description),St==null?void 0:St.description)},Gt),Nt&&b.createElement("div",{className:le()(`${Se}-footer`,Tt.footer,It==null?void 0:It.footer),style:Object.assign(Object.assign({},Ye.footer),St==null?void 0:St.footer)},Nt)))};Ze.PRESENTED_IMAGE_DEFAULT=We,Ze.PRESENTED_IMAGE_SIMPLE=Ve;var Qe=Ze},28284:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return Ie}});var b=y(56553),me=y(77654),le=y(59301),pe=y(92310),be=y.n(pe),fe=y(77900),we=y(86641),Oe=y(83397);function Re(ut){const[Le,He]=le.useState(ut);return le.useEffect(()=>{const Vt=setTimeout(()=>{He(ut)},ut.length?0:10);return()=>{clearTimeout(Vt)}},[ut]),Le}var xe=y(36237),Ge=y(63356),Fe=y(34925),At=y(34961),at=y(51636),tt=y(16931),We=ut=>{const{componentCls:Le}=ut,He=`${Le}-show-help`,Vt=`${Le}-show-help-item`;return{[He]:{transition:`opacity ${ut.motionDurationFast} ${ut.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Vt]:{overflow:"hidden",transition:`height ${ut.motionDurationFast} ${ut.motionEaseInOut},
|
|
|
opacity ${ut.motionDurationFast} ${ut.motionEaseInOut},
|
|
|
transform ${ut.motionDurationFast} ${ut.motionEaseInOut} !important`,[`&${Vt}-appear, &${Vt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Vt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ve=ut=>({legend:{display:"block",width:"100%",marginBottom:ut.marginLG,padding:0,color:ut.colorTextDescription,fontSize:ut.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,xe.unit)(ut.lineWidth)} ${ut.lineType} ${ut.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,xe.unit)(ut.controlOutlineWidth)} ${ut.controlOutline}`},output:{display:"block",paddingTop:15,color:ut.colorText,fontSize:ut.fontSize,lineHeight:ut.lineHeight}}),Ze=(ut,Le)=>{const{formItemCls:He}=ut;return{[He]:{[`${He}-label > label`]:{height:Le},[`${He}-control-input`]:{minHeight:Le}}}},Qe=ut=>{const{componentCls:Le}=ut;return{[ut.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(ut)),Ve(ut)),{[`${Le}-text`]:{display:"inline-block",paddingInlineEnd:ut.paddingSM},"&-small":Object.assign({},Ze(ut,ut.controlHeightSM)),"&-large":Object.assign({},Ze(ut,ut.controlHeightLG))})}},ze=ut=>{const{formItemCls:Le,iconCls:He,rootPrefixCls:Vt,antCls:et,labelRequiredMarkColor:en,labelColor:cn,labelFontSize:Xt,labelHeight:an,labelColonMarginInlineStart:Kt,labelColonMarginInlineEnd:nn,itemMarginBottom:rt}=ut;return{[Le]:Object.assign(Object.assign({},(0,Ge.Wf)(ut)),{marginBottom:rt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${et}-row`]:{display:"none"},"&-has-warning":{[`${Le}-split`]:{color:ut.colorError}},"&-has-error":{[`${Le}-split`]:{color:ut.colorWarning}},[`${Le}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:ut.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:an,color:cn,fontSize:Xt,[`> ${He}`]:{fontSize:ut.fontSize,verticalAlign:"top"},[`&${Le}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:ut.marginXXS,color:en,fontSize:ut.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Le}-required-mark-hidden, &${Le}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Le}-optional`]:{display:"inline-block",marginInlineStart:ut.marginXXS,color:ut.colorTextDescription,[`&${Le}-required-mark-hidden`]:{display:"none"}},[`${Le}-tooltip`]:{color:ut.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ut.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Kt,marginInlineEnd:nn},[`&${Le}-no-colon::after`]:{content:'"\\a0"'}}},[`${Le}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Vt}-col-'"]):not([class*="' ${Vt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ut.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Le]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:ut.colorTextDescription,fontSize:ut.fontSize,lineHeight:ut.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ut.controlHeightSM,transition:`color ${ut.motionDurationMid} ${ut.motionEaseOut}`},"&-explain":{"&-error":{color:ut.colorError},"&-warning":{color:ut.colorWarning}}},[`&-with-help ${Le}-explain`]:{height:"auto",opacity:1},[`${Le}-feedback-icon`]:{fontSize:ut.fontSize,textAlign:"center",visibility:"visible",animationName:Fe.kr,animationDuration:ut.motionDurationMid,animationTimingFunction:ut.motionEaseOutBack,pointerEvents:"none","&-success":{color:ut.colorSuccess},"&-error":{color:ut.colorError},"&-warning":{color:ut.colorWarning},"&-validating":{color:ut.colorPrimary}}})}},_e=(ut,Le)=>{const{formItemCls:He}=ut;return{[`${Le}-horizontal`]:{[`${He}-label`]:{flexGrow:0},[`${He}-control`]:{flex:"1 1 0",minWidth:0},[`${He}-label[class$='-24'], ${He}-label[class*='-24 ']`]:{[`& + ${He}-control`]:{minWidth:"unset"}}}}},$e=ut=>{const{componentCls:Le,formItemCls:He,inlineItemMarginBottom:Vt}=ut;return{[`${Le}-inline`]:{display:"flex",flexWrap:"wrap",[He]:{flex:"none",marginInlineEnd:ut.margin,marginBottom:Vt,"&-row":{flexWrap:"nowrap"},[`> ${He}-label,
|
|
|
> ${He}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${He}-label`]:{flex:"none"},[`${Le}-text`]:{display:"inline-block"},[`${He}-has-feedback`]:{display:"inline-block"}}}}},nt=ut=>({padding:ut.verticalLabelPadding,margin:ut.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),bt=ut=>{const{componentCls:Le,formItemCls:He,rootPrefixCls:Vt}=ut;return{[`${He} ${He}-label`]:nt(ut),[`${Le}:not(${Le}-inline)`]:{[He]:{flexWrap:"wrap",[`${He}-label, ${He}-control`]:{[`&:not([class*=" ${Vt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=ut=>{const{componentCls:Le,formItemCls:He,antCls:Vt}=ut;return{[`${Le}-vertical`]:{[`${He}:not(${He}-horizontal)`]:{[`${He}-row`]:{flexDirection:"column"},[`${He}-label > label`]:{height:"auto"},[`${He}-control`]:{width:"100%"},[`${He}-label,
|
|
|
${Vt}-col-24${He}-label,
|
|
|
${Vt}-col-xl-24${He}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenXSMax)})`]:[bt(ut),{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-xs-24${He}-label`]:nt(ut)}}}],[`@media (max-width: ${(0,xe.unit)(ut.screenSMMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-sm-24${He}-label`]:nt(ut)}}},[`@media (max-width: ${(0,xe.unit)(ut.screenMDMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-md-24${He}-label`]:nt(ut)}}},[`@media (max-width: ${(0,xe.unit)(ut.screenLGMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-lg-24${He}-label`]:nt(ut)}}}}},Nt=ut=>{const{formItemCls:Le,antCls:He}=ut;return{[`${Le}-vertical`]:{[`${Le}-row`]:{flexDirection:"column"},[`${Le}-label > label`]:{height:"auto"},[`${Le}-control`]:{width:"100%"}},[`${Le}-vertical ${Le}-label,
|
|
|
${He}-col-24${Le}-label,
|
|
|
${He}-col-xl-24${Le}-label`]:nt(ut),[`@media (max-width: ${(0,xe.unit)(ut.screenXSMax)})`]:[bt(ut),{[Le]:{[`${He}-col-xs-24${Le}-label`]:nt(ut)}}],[`@media (max-width: ${(0,xe.unit)(ut.screenSMMax)})`]:{[Le]:{[`${He}-col-sm-24${Le}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenMDMax)})`]:{[Le]:{[`${He}-col-md-24${Le}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenLGMax)})`]:{[Le]:{[`${He}-col-lg-24${Le}-label`]:nt(ut)}}}},vt=ut=>({labelRequiredMarkColor:ut.colorError,labelColor:ut.colorTextHeading,labelFontSize:ut.fontSize,labelHeight:ut.controlHeight,labelColonMarginInlineStart:ut.marginXXS/2,labelColonMarginInlineEnd:ut.marginXS,itemMarginBottom:ut.marginLG,verticalLabelPadding:`0 0 ${ut.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),dt=(ut,Le)=>(0,at.mergeToken)(ut,{formItemCls:`${ut.componentCls}-item`,rootPrefixCls:Le});var It=(0,tt.I$)("Form",(ut,Le)=>{let{rootPrefixCls:He}=Le;const Vt=dt(ut,He);return[Qe(Vt),ze(Vt),We(Vt),_e(Vt,Vt.componentCls),_e(Vt,Vt.formItemCls),$e(Vt),it(Vt),Nt(Vt),(0,At.Z)(Vt),Fe.kr]},vt,{order:-1e3});const St=[];function qe(ut,Le,He){let Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ut=="string"?ut:`${Le}-${Vt}`,error:ut,errorStatus:He}}var Rt=ut=>{let{help:Le,helpStatus:He,errors:Vt=St,warnings:et=St,className:en,fieldId:cn,onVisibleChanged:Xt}=ut;const{prefixCls:an}=le.useContext(b.Rk),Kt=`${an}-item-explain`,nn=(0,Oe.Z)(an),[rt,Jn,Bt]=It(an,nn),rr=le.useMemo(()=>(0,we.Z)(an),[an]),Pr=Re(Vt),Sn=Re(et),rn=le.useMemo(()=>Le!=null?[qe(Le,"help",He)]:[].concat((0,me.Z)(Pr.map((zn,tr)=>qe(zn,"error","error",tr))),(0,me.Z)(Sn.map((zn,tr)=>qe(zn,"warning","warning",tr)))),[Le,He,Pr,Sn]),Cn=le.useMemo(()=>{const zn={};return rn.forEach(tr=>{let{key:wr}=tr;zn[wr]=(zn[wr]||0)+1}),rn.map((tr,wr)=>Object.assign(Object.assign({},tr),{key:zn[tr.key]>1?`${tr.key}-fallback-${wr}`:tr.key}))},[rn]),Pn={};return cn&&(Pn.id=`${cn}_help`),rt(le.createElement(fe.default,{motionDeadline:rr.motionDeadline,motionName:`${an}-show-help`,visible:!!Cn.length,onVisibleChanged:Xt},zn=>{const{className:tr,style:wr}=zn;return le.createElement("div",Object.assign({},Pn,{className:be()(Kt,tr,Bt,nn,en,Jn),style:wr}),le.createElement(fe.CSSMotionList,Object.assign({keys:Cn},(0,we.Z)(an),{motionName:`${an}-show-help-item`,component:!1}),pr=>{const{key:Zn,error:Kn,errorStatus:gr,className:dr,style:Yr}=pr;return le.createElement("div",{key:Zn,className:be()(dr,{[`${Kt}-${gr}`]:gr}),style:Yr},Kn)}))}))},Zt=y(69180),Tn=y(48755),Tt=y(2171),Ye=y(31756),Se=y(23069),Qt=y(76846),on=y(16722);const st=["parentNode"],Ut="form_item";function Gt(ut){return ut===void 0||ut===!1?[]:Array.isArray(ut)?ut:[ut]}function On(ut,Le){if(!ut.length)return;const He=ut.join("_");return Le?`${Le}_${He}`:st.includes(He)?`${Ut}_${He}`:He}function ft(ut,Le,He,Vt,et,en){let cn=Vt;return en!==void 0?cn=en:He.validating?cn="validating":ut.length?cn="error":Le.length?cn="warning":(He.touched||et&&He.validated)&&(cn="success"),cn}var En=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He};function Ht(ut){return Gt(ut).join("_")}function gn(ut,Le){const He=Le.getFieldInstance(ut),Vt=(0,Qt.bn)(He);if(Vt)return Vt;const et=On(Gt(ut),Le.__INTERNAL__.name);if(et)return document.getElementById(et)}function un(ut){const[Le]=(0,Zt.useForm)(),He=le.useRef({}),Vt=le.useMemo(()=>ut!=null?ut:Object.assign(Object.assign({},Le),{__INTERNAL__:{itemRef:et=>en=>{const cn=Ht(et);en?He.current[cn]=en:delete He.current[cn]}},scrollToField:function(et){let en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:cn}=en,Xt=En(en,["focus"]),an=gn(et,Vt);an&&((0,on.Z)(an,Object.assign({scrollMode:"if-needed",block:"nearest"},Xt)),cn&&Vt.focusField(et))},focusField:et=>{var en,cn;const Xt=Vt.getFieldInstance(et);typeof(Xt==null?void 0:Xt.focus)=="function"?Xt.focus():(cn=(en=gn(et,Vt))===null||en===void 0?void 0:en.focus)===null||cn===void 0||cn.call(en)},getFieldInstance:et=>{const en=Ht(et);return He.current[en]}}),[ut,Le]);return[Vt]}var De=y(98350),he=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He};const ce=(ut,Le)=>{const He=le.useContext(Tt.Z),{getPrefixCls:Vt,direction:et,requiredMark:en,colon:cn,scrollToFirstError:Xt,className:an,style:Kt}=(0,Tn.dj)("form"),{prefixCls:nn,className:rt,rootClassName:Jn,size:Bt,disabled:rr=He,form:Pr,colon:Sn,labelAlign:rn,labelWrap:Cn,labelCol:Pn,wrapperCol:zn,hideRequiredMark:tr,layout:wr="horizontal",scrollToFirstError:pr,requiredMark:Zn,onFinishFailed:Kn,name:gr,style:dr,feedbackIcons:Yr,variant:Wr}=ut,Zr=he(ut,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Qr=(0,Ye.Z)(Bt),ca=le.useContext(De.Z),Xr=le.useMemo(()=>Zn!==void 0?Zn:tr?!1:en!==void 0?en:!0,[tr,Zn,en]),la=Sn!=null?Sn:cn,_r=Vt("form",nn),oa=(0,Oe.Z)(_r),[_t,Ea,ia]=It(_r,oa),ra=be()(_r,`${_r}-${wr}`,{[`${_r}-hide-required-mark`]:Xr===!1,[`${_r}-rtl`]:et==="rtl",[`${_r}-${Qr}`]:Qr},ia,oa,Ea,an,rt,Jn),[fa]=un(Pr),{__INTERNAL__:ha}=fa;ha.name=gr;const Br=le.useMemo(()=>({name:gr,labelAlign:rn,labelCol:Pn,labelWrap:Cn,wrapperCol:zn,vertical:wr==="vertical",colon:la,requiredMark:Xr,itemRef:ha.itemRef,form:fa,feedbackIcons:Yr}),[gr,rn,Pn,zn,wr,la,Xr,fa,Yr]),Gn=le.useRef(null);le.useImperativeHandle(Le,()=>{var hr;return Object.assign(Object.assign({},fa),{nativeElement:(hr=Gn.current)===null||hr===void 0?void 0:hr.nativeElement})});const Vr=(hr,or)=>{if(hr){let er={block:"nearest"};typeof hr=="object"&&(er=Object.assign(Object.assign({},er),hr)),fa.scrollToField(or,er)}},qn=hr=>{if(Kn==null||Kn(hr),hr.errorFields.length){const or=hr.errorFields[0].name;if(pr!==void 0){Vr(pr,or);return}Xt!==void 0&&Vr(Xt,or)}};return _t(le.createElement(b.pg.Provider,{value:Wr},le.createElement(Tt.n,{disabled:rr},le.createElement(Se.Z.Provider,{value:Qr},le.createElement(b.RV,{validateMessages:ca},le.createElement(b.q3.Provider,{value:Br},le.createElement(Zt.default,Object.assign({id:gr},Zr,{name:gr,onFinishFailed:qn,form:fa,ref:Gn,style:Object.assign(Object.assign({},Kt),dr),className:ra}))))))))};var je=le.forwardRef(ce),ge=y(41799),Pe=y(8654),ct=y(22703),$t=y(32383),gt=y(11592);function yt(ut){if(typeof ut=="function")return ut;const Le=(0,gt.Z)(ut);return Le.length<=1?Le[0]:Le}const Dt=()=>{const{status:ut,errors:Le=[],warnings:He=[]}=le.useContext(b.aM);return{status:ut,errors:Le,warnings:He}};Dt.Context=b.aM;var Pt=Dt,Wt=y(16089);function pn(ut){const[Le,He]=le.useState(ut),Vt=le.useRef(null),et=le.useRef([]),en=le.useRef(!1);le.useEffect(()=>(en.current=!1,()=>{en.current=!0,Wt.Z.cancel(Vt.current),Vt.current=null}),[]);function cn(Xt){en.current||(Vt.current===null&&(et.current=[],Vt.current=(0,Wt.Z)(()=>{Vt.current=null,He(an=>{let Kt=an;return et.current.forEach(nn=>{Kt=nn(Kt)}),Kt})})),et.current.push(Xt))}return[Le,cn]}function fn(){const{itemRef:ut}=le.useContext(b.q3),Le=le.useRef({});function He(Vt,et){const en=et&&typeof et=="object"&&(0,Pe.C4)(et),cn=Vt.join("_");return(Le.current.name!==cn||Le.current.originRef!==en)&&(Le.current.name=cn,Le.current.originRef=en,Le.current.ref=(0,Pe.sQ)(ut(Vt),en)),Le.current.ref}return He}var Mt=y(29194),Ln=y(34280),kn=y(2738),wn=y(65970),ln=y(70425),In=y(5472);const xn=ut=>{const{formItemCls:Le}=ut;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Le}-control`]:{display:"flex"}}}};var kt=(0,tt.bk)(["Form","item-item"],(ut,Le)=>{let{rootPrefixCls:He}=Le;const Vt=dt(ut,He);return[xn(Vt)]}),Yt=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He};const Ft=24;var Ct=ut=>{const{prefixCls:Le,status:He,labelCol:Vt,wrapperCol:et,children:en,errors:cn,warnings:Xt,_internalItemRender:an,extra:Kt,help:nn,fieldId:rt,marginBottom:Jn,onErrorVisibleChanged:Bt,label:rr}=ut,Pr=`${Le}-item`,Sn=le.useContext(b.q3),rn=le.useMemo(()=>{let Zr=Object.assign({},et||Sn.wrapperCol||{});return rr===null&&!Vt&&!et&&Sn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ca=>{const Xr=ca?[ca]:[],la=(0,ln.U2)(Sn.labelCol,Xr),_r=typeof la=="object"?la:{},oa=(0,ln.U2)(Zr,Xr),_t=typeof oa=="object"?oa:{};"span"in _r&&!("offset"in _t)&&_r.span<Ft&&(Zr=(0,ln.t8)(Zr,[].concat(Xr,["offset"]),_r.span))}),Zr},[et,Sn]),Cn=be()(`${Pr}-control`,rn.className),Pn=le.useMemo(()=>{const{labelCol:Zr,wrapperCol:Qr}=Sn;return Yt(Sn,["labelCol","wrapperCol"])},[Sn]),zn=le.useRef(null),[tr,wr]=le.useState(0);(0,Ln.Z)(()=>{Kt&&zn.current?wr(zn.current.clientHeight):wr(0)},[Kt]);const pr=le.createElement("div",{className:`${Pr}-control-input`},le.createElement("div",{className:`${Pr}-control-input-content`},en)),Zn=le.useMemo(()=>({prefixCls:Le,status:He}),[Le,He]),Kn=Jn!==null||cn.length||Xt.length?le.createElement(b.Rk.Provider,{value:Zn},le.createElement(Rt,{fieldId:rt,errors:cn,warnings:Xt,help:nn,helpStatus:He,className:`${Pr}-explain-connected`,onVisibleChanged:Bt})):null,gr={};rt&&(gr.id=`${rt}_extra`);const dr=Kt?le.createElement("div",Object.assign({},gr,{className:`${Pr}-extra`,ref:zn}),Kt):null,Yr=Kn||dr?le.createElement("div",{className:`${Pr}-additional`,style:Jn?{minHeight:Jn+tr}:{}},Kn,dr):null,Wr=an&&an.mark==="pro_table_render"&&an.render?an.render(ut,{input:pr,errorList:Kn,extra:dr}):le.createElement(le.Fragment,null,pr,Yr);return le.createElement(b.q3.Provider,{value:Pn},le.createElement(In.Z,Object.assign({},rn,{className:Cn}),Wr),le.createElement(kt,{prefixCls:Le}))},pt=y(61485),de=y(9017),qt=y(85981),Dn=y(25399),mn=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He};function vr(ut){return ut?typeof ut=="object"&&!le.isValidElement(ut)?ut:{title:ut}:null}var ar=ut=>{let{prefixCls:Le,label:He,htmlFor:Vt,labelCol:et,labelAlign:en,colon:cn,required:Xt,requiredMark:an,tooltip:Kt,vertical:nn}=ut;var rt;const[Jn]=(0,de.Z)("Form"),{labelAlign:Bt,labelCol:rr,labelWrap:Pr,colon:Sn}=le.useContext(b.q3);if(!He)return null;const rn=et||rr||{},Cn=en||Bt,Pn=`${Le}-item-label`,zn=be()(Pn,Cn==="left"&&`${Pn}-left`,rn.className,{[`${Pn}-wrap`]:!!Pr});let tr=He;const wr=cn===!0||Sn!==!1&&cn!==!1;wr&&!nn&&typeof He=="string"&&He.trim()&&(tr=He.replace(/[:|:]\s*$/,""));const Zn=vr(Kt);if(Zn){const{icon:Zr=le.createElement(pt.Z,null)}=Zn,Qr=mn(Zn,["icon"]),ca=le.createElement(Dn.Z,Object.assign({},Qr),le.cloneElement(Zr,{className:`${Le}-item-tooltip`,title:"",onClick:Xr=>{Xr.preventDefault()},tabIndex:null}));tr=le.createElement(le.Fragment,null,tr,ca)}const Kn=an==="optional",gr=typeof an=="function",dr=an===!1;gr?tr=an(tr,{required:!!Xt}):Kn&&!Xt&&(tr=le.createElement(le.Fragment,null,tr,le.createElement("span",{className:`${Le}-item-optional`,title:""},(Jn==null?void 0:Jn.optional)||((rt=qt.Z.Form)===null||rt===void 0?void 0:rt.optional))));let Yr;dr?Yr="hidden":(Kn||gr)&&(Yr="optional");const Wr=be()({[`${Le}-item-required`]:Xt,[`${Le}-item-required-mark-${Yr}`]:Yr,[`${Le}-item-no-colon`]:!wr});return le.createElement(In.Z,Object.assign({},rn,{className:zn}),le.createElement("label",{htmlFor:Vt,className:Wr,title:typeof He=="string"?He:""},tr))},Er=y(29679),wt=y(19248),Qn=y(96512),lr=y(58617);const cr={success:Er.Z,warning:Qn.Z,error:wt.Z,validating:lr.Z};function Yn(ut){let{children:Le,errors:He,warnings:Vt,hasFeedback:et,validateStatus:en,prefixCls:cn,meta:Xt,noStyle:an}=ut;const Kt=`${cn}-item`,{feedbackIcons:nn}=le.useContext(b.q3),rt=ft(He,Vt,Xt,null,!!et,en),{isFormItemInput:Jn,status:Bt,hasFeedback:rr,feedbackIcon:Pr}=le.useContext(b.aM),Sn=le.useMemo(()=>{var rn;let Cn;if(et){const zn=et!==!0&&et.icons||nn,tr=rt&&((rn=zn==null?void 0:zn({status:rt,errors:He,warnings:Vt}))===null||rn===void 0?void 0:rn[rt]),wr=rt&&cr[rt];Cn=tr!==!1&&wr?le.createElement("span",{className:be()(`${Kt}-feedback-icon`,`${Kt}-feedback-icon-${rt}`)},tr||le.createElement(wr,null)):null}const Pn={status:rt||"",errors:He,warnings:Vt,hasFeedback:!!et,feedbackIcon:Cn,isFormItemInput:!0};return an&&(Pn.status=(rt!=null?rt:Bt)||"",Pn.isFormItemInput=Jn,Pn.hasFeedback=!!(et!=null?et:rr),Pn.feedbackIcon=et!==void 0?Pn.feedbackIcon:Pr),Pn},[rt,et,an,Jn,Bt]);return le.createElement(b.aM.Provider,{value:Sn},Le)}var Sr=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He};function br(ut){const{prefixCls:Le,className:He,rootClassName:Vt,style:et,help:en,errors:cn,warnings:Xt,validateStatus:an,meta:Kt,hasFeedback:nn,hidden:rt,children:Jn,fieldId:Bt,required:rr,isRequired:Pr,onSubItemMetaChange:Sn,layout:rn}=ut,Cn=Sr(ut,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Pn=`${Le}-item`,{requiredMark:zn,vertical:tr}=le.useContext(b.q3),wr=tr||rn==="vertical",pr=le.useRef(null),Zn=Re(cn),Kn=Re(Xt),gr=en!=null,dr=!!(gr||cn.length||Xt.length),Yr=!!pr.current&&(0,Mt.Z)(pr.current),[Wr,Zr]=le.useState(null);(0,Ln.Z)(()=>{if(dr&&pr.current){const _r=getComputedStyle(pr.current);Zr(parseInt(_r.marginBottom,10))}},[dr,Yr]);const Qr=_r=>{_r||Zr(null)},Xr=function(){let _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const oa=_r?Zn:Kt.errors,_t=_r?Kn:Kt.warnings;return ft(oa,_t,Kt,"",!!nn,an)}(),la=be()(Pn,He,Vt,{[`${Pn}-with-help`]:gr||Zn.length||Kn.length,[`${Pn}-has-feedback`]:Xr&&nn,[`${Pn}-has-success`]:Xr==="success",[`${Pn}-has-warning`]:Xr==="warning",[`${Pn}-has-error`]:Xr==="error",[`${Pn}-is-validating`]:Xr==="validating",[`${Pn}-hidden`]:rt,[`${Pn}-${rn}`]:rn});return le.createElement("div",{className:la,style:et,ref:pr},le.createElement(wn.Z,Object.assign({className:`${Pn}-row`},(0,kn.Z)(Cn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),le.createElement(ar,Object.assign({htmlFor:Bt},ut,{requiredMark:zn,required:rr!=null?rr:Pr,prefixCls:Le,vertical:wr})),le.createElement(Ct,Object.assign({},ut,Kt,{errors:Zn,warnings:Kn,prefixCls:Le,status:Xr,help:en,marginBottom:Wr,onErrorVisibleChanged:Qr}),le.createElement(b.qI.Provider,{value:Sn},le.createElement(Yn,{prefixCls:Le,meta:Kt,errors:Kt.errors,warnings:Kt.warnings,hasFeedback:nn,validateStatus:Xr},Jn)))),!!Wr&&le.createElement("div",{className:`${Pn}-margin-offset`,style:{marginBottom:-Wr}}))}const Nr="__SPLIT__",Jr=null;function $r(ut,Le){const He=Object.keys(ut),Vt=Object.keys(Le);return He.length===Vt.length&&He.every(et=>{const en=ut[et],cn=Le[et];return en===cn||typeof en=="function"||typeof cn=="function"})}const Ur=le.memo(ut=>{let{children:Le}=ut;return Le},(ut,Le)=>$r(ut.control,Le.control)&&ut.update===Le.update&&ut.childProps.length===Le.childProps.length&&ut.childProps.every((He,Vt)=>He===Le.childProps[Vt]));function aa(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Hr(ut){const{name:Le,noStyle:He,className:Vt,dependencies:et,prefixCls:en,shouldUpdate:cn,rules:Xt,children:an,required:Kt,label:nn,messageVariables:rt,trigger:Jn="onChange",validateTrigger:Bt,hidden:rr,help:Pr,layout:Sn}=ut,{getPrefixCls:rn}=le.useContext(Tn.E_),{name:Cn}=le.useContext(b.q3),Pn=yt(an),zn=typeof Pn=="function",tr=le.useContext(b.qI),{validateTrigger:wr}=le.useContext(Zt.FieldContext),pr=Bt!==void 0?Bt:wr,Zn=Le!=null,Kn=rn("form",en),gr=(0,Oe.Z)(Kn),[dr,Yr,Wr]=It(Kn,gr),Zr=(0,$t.ln)("Form.Item"),Qr=le.useContext(Zt.ListContext),ca=le.useRef(null),[Xr,la]=pn({}),[_r,oa]=(0,ge.Z)(()=>aa()),_t=Gn=>{const Vr=Qr==null?void 0:Qr.getKey(Gn.name);if(oa(Gn.destroy?aa():Gn,!0),He&&Pr!==!1&&tr){let qn=Gn.name;if(Gn.destroy)qn=ca.current||qn;else if(Vr!==void 0){const[hr,or]=Vr;qn=[hr].concat((0,me.Z)(or)),ca.current=qn}tr(Gn,qn)}},Ea=(Gn,Vr)=>{la(qn=>{const hr=Object.assign({},qn),er=[].concat((0,me.Z)(Gn.name.slice(0,-1)),(0,me.Z)(Vr)).join(Nr);return Gn.destroy?delete hr[er]:hr[er]=Gn,hr})},[ia,ra]=le.useMemo(()=>{const Gn=(0,me.Z)(_r.errors),Vr=(0,me.Z)(_r.warnings);return Object.values(Xr).forEach(qn=>{Gn.push.apply(Gn,(0,me.Z)(qn.errors||[])),Vr.push.apply(Vr,(0,me.Z)(qn.warnings||[]))}),[Gn,Vr]},[Xr,_r.errors,_r.warnings]),fa=fn();function ha(Gn,Vr,qn){return He&&!rr?le.createElement(Yn,{prefixCls:Kn,hasFeedback:ut.hasFeedback,validateStatus:ut.validateStatus,meta:_r,errors:ia,warnings:ra,noStyle:!0},Gn):le.createElement(br,Object.assign({key:"row"},ut,{className:be()(Vt,Wr,gr,Yr),prefixCls:Kn,fieldId:Vr,isRequired:qn,errors:ia,warnings:ra,meta:_r,onSubItemMetaChange:Ea,layout:Sn}),Gn)}if(!Zn&&!zn&&!et)return dr(ha(Pn));let Br={};return typeof nn=="string"?Br.label=nn:Le&&(Br.label=String(Le)),rt&&(Br=Object.assign(Object.assign({},Br),rt)),dr(le.createElement(Zt.Field,Object.assign({},ut,{messageVariables:Br,trigger:Jn,validateTrigger:pr,onMetaChange:_t}),(Gn,Vr,qn)=>{const hr=Gt(Le).length&&Vr?Vr.name:[],or=On(hr,Cn),er=Kt!==void 0?Kt:!!(Xt!=null&&Xt.some(ur=>{if(ur&&typeof ur=="object"&&ur.required&&!ur.warningOnly)return!0;if(typeof ur=="function"){const nr=ur(qn);return(nr==null?void 0:nr.required)&&!(nr!=null&&nr.warningOnly)}return!1})),Dr=Object.assign({},Gn);let Ar=null;if(Array.isArray(Pn)&&Zn)Ar=Pn;else if(!(zn&&(!(cn||et)||Zn))){if(!(et&&!zn&&!Zn))if(le.isValidElement(Pn)){const ur=Object.assign(Object.assign({},Pn.props),Dr);if(ur.id||(ur.id=or),Pr||ia.length>0||ra.length>0||ut.extra){const Or=[];(Pr||ia.length>0)&&Or.push(`${or}_help`),ut.extra&&Or.push(`${or}_extra`),ur["aria-describedby"]=Or.join(" ")}ia.length>0&&(ur["aria-invalid"]="true"),er&&(ur["aria-required"]="true"),(0,Pe.Yr)(Pn)&&(ur.ref=fa(hr,Pn)),new Set([].concat((0,me.Z)(Gt(Jn)),(0,me.Z)(Gt(pr)))).forEach(Or=>{ur[Or]=function(){for(var ba,da,ya,Ma,_a,Na=arguments.length,Ha=new Array(Na),Da=0;Da<Na;Da++)Ha[Da]=arguments[Da];(ya=Dr[Or])===null||ya===void 0||(ba=ya).call.apply(ba,[Dr].concat(Ha)),(_a=(Ma=Pn.props)[Or])===null||_a===void 0||(da=_a).call.apply(da,[Ma].concat(Ha))}});const xr=[ur["aria-required"],ur["aria-invalid"],ur["aria-describedby"]];Ar=le.createElement(Ur,{control:Dr,update:Pn,childProps:xr},(0,ct.Tm)(Pn,ur))}else zn&&(cn||et)&&!Zn?Ar=Pn(qn):Ar=Pn}return ha(Ar,or,er)}))}const pa=Hr;pa.useStatus=Pt;var ea=pa,jn=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et<Vt.length;et++)Le.indexOf(Vt[et])<0&&Object.prototype.propertyIsEnumerable.call(ut,Vt[et])&&(He[Vt[et]]=ut[Vt[et]]);return He},Kr=ut=>{var{prefixCls:Le,children:He}=ut,Vt=jn(ut,["prefixCls","children"]);const{getPrefixCls:et}=le.useContext(Tn.E_),en=et("form",Le),cn=le.useMemo(()=>({prefixCls:en,status:"error"}),[en]);return le.createElement(Zt.List,Object.assign({},Vt),(Xt,an,Kt)=>le.createElement(b.Rk.Provider,{value:cn},He(Xt.map(nn=>Object.assign(Object.assign({},nn),{fieldKey:nn.key})),an,{errors:Kt.errors,warnings:Kt.warnings})))};function zr(){const{form:ut}=le.useContext(b.q3);return ut}const ve=je;ve.Item=ea,ve.List=Kr,ve.ErrorList=Rt,ve.useForm=un,ve.useFormInstance=zr,ve.useWatch=Zt.useWatch,ve.Provider=b.RV,ve.create=()=>{};var Ie=ve},75786:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Pr}});var b=y(59301),me=y(15277),le=y(92310),pe=y.n(le),be=y(60499),fe=y(85899),we=y(18642),Oe=y(72190),Re=y(43749),xe=y(42244),Ge=/margin|padding|width|height|max|min|offset/,Fe={left:!0,top:!0},At={cssFloat:1,styleFloat:1,float:1};function at(Sn){return Sn.nodeType===1?Sn.ownerDocument.defaultView.getComputedStyle(Sn,null):{}}function tt(Sn,rn,Cn){if(rn=rn.toLowerCase(),Cn==="auto"){if(rn==="height")return Sn.offsetHeight;if(rn==="width")return Sn.offsetWidth}return rn in Fe||(Fe[rn]=Ge.test(rn)),Fe[rn]?parseFloat(Cn)||0:Cn}function Je(Sn,rn){var Cn=arguments.length,Pn=at(Sn);return rn=At[rn]?"cssFloat"in Sn.style?"cssFloat":"styleFloat":rn,Cn===1?Pn:tt(Sn,rn,Pn[rn]||Sn.style[rn])}function We(Sn,rn,Cn){var Pn=arguments.length;if(rn=At[rn]?"cssFloat"in Sn.style?"cssFloat":"styleFloat":rn,Pn===3)return typeof Cn=="number"&&Ge.test(rn)&&(Cn="".concat(Cn,"px")),Sn.style[rn]=Cn,Cn;for(var zn in rn)rn.hasOwnProperty(zn)&&We(Sn,zn,rn[zn]);return at(Sn)}function Ve(Sn){return Sn===document.body?document.documentElement.clientWidth:Sn.offsetWidth}function Ze(Sn){return Sn===document.body?window.innerHeight||document.documentElement.clientHeight:Sn.offsetHeight}function Qe(){var Sn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),rn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Sn,height:rn}}function ze(){var Sn=document.documentElement.clientWidth,rn=window.innerHeight||document.documentElement.clientHeight;return{width:Sn,height:rn}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function $e(Sn){var rn=Sn.getBoundingClientRect(),Cn=document.documentElement;return{left:rn.left+(window.pageXOffset||Cn.scrollLeft)-(Cn.clientLeft||document.body.clientLeft||0),top:rn.top+(window.pageYOffset||Cn.scrollTop)-(Cn.clientTop||document.body.clientTop||0)}}var nt=y(18929),bt=y(55311),it=y(8224),Nt=y(10228),vt=y(43403),dt=y(77900),It=b.createContext(null),St=function(rn){var Cn=rn.visible,Pn=rn.maskTransitionName,zn=rn.getContainer,tr=rn.prefixCls,wr=rn.rootClassName,pr=rn.icons,Zn=rn.countRender,Kn=rn.showSwitch,gr=rn.showProgress,dr=rn.current,Yr=rn.transform,Wr=rn.count,Zr=rn.scale,Qr=rn.minScale,ca=rn.maxScale,Xr=rn.closeIcon,la=rn.onActive,_r=rn.onClose,oa=rn.onZoomIn,_t=rn.onZoomOut,Ea=rn.onRotateRight,ia=rn.onRotateLeft,ra=rn.onFlipX,fa=rn.onFlipY,ha=rn.onReset,Br=rn.toolbarRender,Gn=rn.zIndex,Vr=rn.image,qn=(0,b.useContext)(It),hr=pr.rotateLeft,or=pr.rotateRight,er=pr.zoomIn,Dr=pr.zoomOut,Ar=pr.close,ur=pr.left,nr=pr.right,xr=pr.flipX,Or=pr.flipY,ba="".concat(tr,"-operations-operation");b.useEffect(function(){var Pa=function(fi){fi.keyCode===Nt.Z.ESC&&_r()};return Cn&&window.addEventListener("keydown",Pa),function(){window.removeEventListener("keydown",Pa)}},[Cn]);var da=function(li,fi){li.preventDefault(),li.stopPropagation(),la(fi)},ya=b.useCallback(function(Pa){var li=Pa.type,fi=Pa.disabled,Ua=Pa.onClick,Ni=Pa.icon;return b.createElement("div",{key:li,className:pe()(ba,"".concat(tr,"-operations-operation-").concat(li),(0,we.Z)({},"".concat(tr,"-operations-operation-disabled"),!!fi)),onClick:Ua},Ni)},[ba,tr]),Ma=Kn?ya({icon:ur,onClick:function(li){return da(li,-1)},type:"prev",disabled:dr===0}):void 0,_a=Kn?ya({icon:nr,onClick:function(li){return da(li,1)},type:"next",disabled:dr===Wr-1}):void 0,Na=ya({icon:Or,onClick:fa,type:"flipY"}),Ha=ya({icon:xr,onClick:ra,type:"flipX"}),Da=ya({icon:hr,onClick:ia,type:"rotateLeft"}),ja=ya({icon:or,onClick:Ea,type:"rotateRight"}),Gr=ya({icon:Dr,onClick:_t,type:"zoomOut",disabled:Zr<=Qr}),bi=ya({icon:er,onClick:oa,type:"zoomIn",disabled:Zr===ca}),wi=b.createElement("div",{className:"".concat(tr,"-operations")},Na,Ha,Da,ja,Gr,bi);return b.createElement(dt.default,{visible:Cn,motionName:Pn},function(Pa){var li=Pa.className,fi=Pa.style;return b.createElement(vt.Z,{open:!0,getContainer:zn!=null?zn:document.body},b.createElement("div",{className:pe()("".concat(tr,"-operations-wrapper"),li,wr),style:(0,fe.Z)((0,fe.Z)({},fi),{},{zIndex:Gn})},Xr===null?null:b.createElement("button",{className:"".concat(tr,"-close"),onClick:_r},Xr||Ar),Kn&&b.createElement(b.Fragment,null,b.createElement("div",{className:pe()("".concat(tr,"-switch-left"),(0,we.Z)({},"".concat(tr,"-switch-left-disabled"),dr===0)),onClick:function(Ni){return da(Ni,-1)}},ur),b.createElement("div",{className:pe()("".concat(tr,"-switch-right"),(0,we.Z)({},"".concat(tr,"-switch-right-disabled"),dr===Wr-1)),onClick:function(Ni){return da(Ni,1)}},nr)),b.createElement("div",{className:"".concat(tr,"-footer")},gr&&b.createElement("div",{className:"".concat(tr,"-progress")},Zn?Zn(dr+1,Wr):"".concat(dr+1," / ").concat(Wr)),Br?Br(wi,(0,fe.Z)((0,fe.Z)({icons:{prevIcon:Ma,nextIcon:_a,flipYIcon:Na,flipXIcon:Ha,rotateLeftIcon:Da,rotateRightIcon:ja,zoomOutIcon:Gr,zoomInIcon:bi},actions:{onActive:la,onFlipY:fa,onFlipX:ra,onRotateLeft:ia,onRotateRight:Ea,onZoomOut:_t,onZoomIn:oa,onReset:ha,onClose:_r},transform:Yr},qn?{current:dr,total:Wr}:{}),{},{image:Vr})):wi)))})},qe=St,Jt=y(13697),Rt=y(16089),Zt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Tn(Sn,rn,Cn,Pn){var zn=(0,b.useRef)(null),tr=(0,b.useRef)([]),wr=(0,b.useState)(Zt),pr=(0,Oe.Z)(wr,2),Zn=pr[0],Kn=pr[1],gr=function(Zr){Kn(Zt),(0,Jt.Z)(Zt,Zn)||Pn==null||Pn({transform:Zt,action:Zr})},dr=function(Zr,Qr){zn.current===null&&(tr.current=[],zn.current=(0,Rt.Z)(function(){Kn(function(ca){var Xr=ca;return tr.current.forEach(function(la){Xr=(0,fe.Z)((0,fe.Z)({},Xr),la)}),zn.current=null,Pn==null||Pn({transform:Xr,action:Qr}),Xr})})),tr.current.push((0,fe.Z)((0,fe.Z)({},Zn),Zr))},Yr=function(Zr,Qr,ca,Xr,la){var _r=Sn.current,oa=_r.width,_t=_r.height,Ea=_r.offsetWidth,ia=_r.offsetHeight,ra=_r.offsetLeft,fa=_r.offsetTop,ha=Zr,Br=Zn.scale*Zr;Br>Cn?(Br=Cn,ha=Cn/Zn.scale):Br<rn&&(Br=la?Br:rn,ha=Br/Zn.scale);var Gn=ca!=null?ca:innerWidth/2,Vr=Xr!=null?Xr:innerHeight/2,qn=ha-1,hr=qn*oa*.5,or=qn*_t*.5,er=qn*(Gn-Zn.x-ra),Dr=qn*(Vr-Zn.y-fa),Ar=Zn.x-(er-hr),ur=Zn.y-(Dr-or);if(Zr<1&&Br===1){var nr=Ea*Br,xr=ia*Br,Or=ze(),ba=Or.width,da=Or.height;nr<=ba&&xr<=da&&(Ar=0,ur=0)}dr({x:Ar,y:ur,scale:Br},Qr)};return{transform:Zn,resetTransform:gr,updateTransform:dr,dispatchZoomChange:Yr}}var Tt=y(48736);function Ye(Sn,rn,Cn,Pn){var zn=rn+Cn,tr=(Cn-Pn)/2;if(Cn>Pn){if(rn>0)return(0,we.Z)({},Sn,tr);if(rn<0&&zn<Pn)return(0,we.Z)({},Sn,-tr)}else if(rn<0||zn>Pn)return(0,we.Z)({},Sn,rn<0?tr:-tr);return{}}function Se(Sn,rn,Cn,Pn){var zn=ze(),tr=zn.width,wr=zn.height,pr=null;return Sn<=tr&&rn<=wr?pr={x:0,y:0}:(Sn>tr||rn>wr)&&(pr=(0,fe.Z)((0,fe.Z)({},Ye("x",Cn,Sn,tr)),Ye("y",Pn,rn,wr))),pr}var Qt=1,on=1;function st(Sn,rn,Cn,Pn,zn,tr,wr){var pr=zn.rotate,Zn=zn.scale,Kn=zn.x,gr=zn.y,dr=(0,b.useState)(!1),Yr=(0,Oe.Z)(dr,2),Wr=Yr[0],Zr=Yr[1],Qr=(0,b.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),ca=function(_t){!rn||_t.button!==0||(_t.preventDefault(),_t.stopPropagation(),Qr.current={diffX:_t.pageX-Kn,diffY:_t.pageY-gr,transformX:Kn,transformY:gr},Zr(!0))},Xr=function(_t){Cn&&Wr&&tr({x:_t.pageX-Qr.current.diffX,y:_t.pageY-Qr.current.diffY},"move")},la=function(){if(Cn&&Wr){Zr(!1);var _t=Qr.current,Ea=_t.transformX,ia=_t.transformY,ra=Kn!==Ea&&gr!==ia;if(!ra)return;var fa=Sn.current.offsetWidth*Zn,ha=Sn.current.offsetHeight*Zn,Br=Sn.current.getBoundingClientRect(),Gn=Br.left,Vr=Br.top,qn=pr%180!==0,hr=Se(qn?ha:fa,qn?fa:ha,Gn,Vr);hr&&tr((0,fe.Z)({},hr),"dragRebound")}},_r=function(_t){if(!(!Cn||_t.deltaY==0)){var Ea=Math.abs(_t.deltaY/100),ia=Math.min(Ea,on),ra=Qt+ia*Pn;_t.deltaY>0&&(ra=Qt/ra),wr(ra,"wheel",_t.clientX,_t.clientY)}};return(0,b.useEffect)(function(){var oa,_t,Ea,ia;if(rn){Ea=(0,it.Z)(window,"mouseup",la,!1),ia=(0,it.Z)(window,"mousemove",Xr,!1);try{window.top!==window.self&&(oa=(0,it.Z)(window.top,"mouseup",la,!1),_t=(0,it.Z)(window.top,"mousemove",Xr,!1))}catch(ra){(0,Tt.Kp)(!1,"[rc-image] ".concat(ra))}}return function(){var ra,fa,ha,Br;(ra=Ea)===null||ra===void 0||ra.remove(),(fa=ia)===null||fa===void 0||fa.remove(),(ha=oa)===null||ha===void 0||ha.remove(),(Br=_t)===null||Br===void 0||Br.remove()}},[Cn,Wr,Kn,gr,pr,rn]),{isMoving:Wr,onMouseDown:ca,onMouseMove:Xr,onMouseUp:la,onWheel:_r}}function Ut(Sn){return new Promise(function(rn){if(!Sn){rn(!1);return}var Cn=document.createElement("img");Cn.onerror=function(){return rn(!1)},Cn.onload=function(){return rn(!0)},Cn.src=Sn})}function Gt(Sn){var rn=Sn.src,Cn=Sn.isCustomPlaceholder,Pn=Sn.fallback,zn=(0,b.useState)(Cn?"loading":"normal"),tr=(0,Oe.Z)(zn,2),wr=tr[0],pr=tr[1],Zn=(0,b.useRef)(!1),Kn=wr==="error";(0,b.useEffect)(function(){var Wr=!0;return Ut(rn).then(function(Zr){!Zr&&Wr&&pr("error")}),function(){Wr=!1}},[rn]),(0,b.useEffect)(function(){Cn&&!Zn.current?pr("loading"):Kn&&pr("normal")},[rn]);var gr=function(){pr("normal")},dr=function(Zr){Zn.current=!1,wr==="loading"&&Zr!==null&&Zr!==void 0&&Zr.complete&&(Zr.naturalWidth||Zr.naturalHeight)&&(Zn.current=!0,gr())},Yr=Kn&&Pn?{src:Pn}:{onLoad:gr,src:rn};return[dr,Yr,wr]}function On(Sn,rn){var Cn=Sn.x-rn.x,Pn=Sn.y-rn.y;return Math.hypot(Cn,Pn)}function ft(Sn,rn,Cn,Pn){var zn=On(Sn,Cn),tr=On(rn,Pn);if(zn===0&&tr===0)return[Sn.x,Sn.y];var wr=zn/(zn+tr),pr=Sn.x+wr*(rn.x-Sn.x),Zn=Sn.y+wr*(rn.y-Sn.y);return[pr,Zn]}function En(Sn,rn,Cn,Pn,zn,tr,wr){var pr=zn.rotate,Zn=zn.scale,Kn=zn.x,gr=zn.y,dr=(0,b.useState)(!1),Yr=(0,Oe.Z)(dr,2),Wr=Yr[0],Zr=Yr[1],Qr=(0,b.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),ca=function(_t){Qr.current=(0,fe.Z)((0,fe.Z)({},Qr.current),_t)},Xr=function(_t){if(rn){_t.stopPropagation(),Zr(!0);var Ea=_t.touches,ia=Ea===void 0?[]:Ea;ia.length>1?ca({point1:{x:ia[0].clientX,y:ia[0].clientY},point2:{x:ia[1].clientX,y:ia[1].clientY},eventType:"touchZoom"}):ca({point1:{x:ia[0].clientX-Kn,y:ia[0].clientY-gr},eventType:"move"})}},la=function(_t){var Ea=_t.touches,ia=Ea===void 0?[]:Ea,ra=Qr.current,fa=ra.point1,ha=ra.point2,Br=ra.eventType;if(ia.length>1&&Br==="touchZoom"){var Gn={x:ia[0].clientX,y:ia[0].clientY},Vr={x:ia[1].clientX,y:ia[1].clientY},qn=ft(fa,ha,Gn,Vr),hr=(0,Oe.Z)(qn,2),or=hr[0],er=hr[1],Dr=On(Gn,Vr)/On(fa,ha);wr(Dr,"touchZoom",or,er,!0),ca({point1:Gn,point2:Vr,eventType:"touchZoom"})}else Br==="move"&&(tr({x:ia[0].clientX-fa.x,y:ia[0].clientY-fa.y},"move"),ca({eventType:"move"}))},_r=function(){if(Cn){if(Wr&&Zr(!1),ca({eventType:"none"}),Pn>Zn)return tr({x:0,y:0,scale:Pn},"touchZoom");var _t=Sn.current.offsetWidth*Zn,Ea=Sn.current.offsetHeight*Zn,ia=Sn.current.getBoundingClientRect(),ra=ia.left,fa=ia.top,ha=pr%180!==0,Br=Se(ha?Ea:_t,ha?_t:Ea,ra,fa);Br&&tr((0,fe.Z)({},Br),"dragRebound")}};return(0,b.useEffect)(function(){var oa;return Cn&&rn&&(oa=(0,it.Z)(window,"touchmove",function(_t){return _t.preventDefault()},{passive:!1})),function(){var _t;(_t=oa)===null||_t===void 0||_t.remove()}},[Cn,rn]),{isTouching:Wr,onTouchStart:Xr,onTouchMove:la,onTouchEnd:_r}}var Ht=["fallback","src","imgRef"],gn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],un=function(rn){var Cn=rn.fallback,Pn=rn.src,zn=rn.imgRef,tr=(0,xe.Z)(rn,Ht),wr=Gt({src:Pn,fallback:Cn}),pr=(0,Oe.Z)(wr,2),Zn=pr[0],Kn=pr[1];return b.createElement("img",(0,be.Z)({ref:function(dr){zn.current=dr,Zn(dr)}},tr,Kn))},De=function(rn){var Cn=rn.prefixCls,Pn=rn.src,zn=rn.alt,tr=rn.imageInfo,wr=rn.fallback,pr=rn.movable,Zn=pr===void 0?!0:pr,Kn=rn.onClose,gr=rn.visible,dr=rn.icons,Yr=dr===void 0?{}:dr,Wr=rn.rootClassName,Zr=rn.closeIcon,Qr=rn.getContainer,ca=rn.current,Xr=ca===void 0?0:ca,la=rn.count,_r=la===void 0?1:la,oa=rn.countRender,_t=rn.scaleStep,Ea=_t===void 0?.5:_t,ia=rn.minScale,ra=ia===void 0?1:ia,fa=rn.maxScale,ha=fa===void 0?50:fa,Br=rn.transitionName,Gn=Br===void 0?"zoom":Br,Vr=rn.maskTransitionName,qn=Vr===void 0?"fade":Vr,hr=rn.imageRender,or=rn.imgCommonProps,er=rn.toolbarRender,Dr=rn.onTransform,Ar=rn.onChange,ur=(0,xe.Z)(rn,gn),nr=(0,b.useRef)(),xr=(0,b.useContext)(It),Or=xr&&_r>1,ba=xr&&_r>=1,da=(0,b.useState)(!0),ya=(0,Oe.Z)(da,2),Ma=ya[0],_a=ya[1],Na=Tn(nr,ra,ha,Dr),Ha=Na.transform,Da=Na.resetTransform,ja=Na.updateTransform,Gr=Na.dispatchZoomChange,bi=st(nr,Zn,gr,Ea,Ha,ja,Gr),wi=bi.isMoving,Pa=bi.onMouseDown,li=bi.onWheel,fi=En(nr,Zn,gr,ra,Ha,ja,Gr),Ua=fi.isTouching,Ni=fi.onTouchStart,Va=fi.onTouchMove,Aa=fi.onTouchEnd,$a=Ha.rotate,Ja=Ha.scale,Ba=pe()((0,we.Z)({},"".concat(Cn,"-moving"),wi));(0,b.useEffect)(function(){Ma||_a(!0)},[Ma]);var Xa=function(){Da("close")},ma=function(){Gr(Qt+Ea,"zoomIn")},xi=function(){Gr(Qt/(Qt+Ea),"zoomOut")},Bi=function(){ja({rotate:$a+90},"rotateRight")},Fi=function(){ja({rotate:$a-90},"rotateLeft")},Rr=function(){ja({flipX:!Ha.flipX},"flipX")},Ti=function(){ja({flipY:!Ha.flipY},"flipY")},qi=function(){Da("reset")},Ra=function(ci){var ki=Xr+ci;!Number.isInteger(ki)||ki<0||ki>_r-1||(_a(!1),Da(ci<0?"prev":"next"),Ar==null||Ar(ki,Xr))},Ka=function(ci){!gr||!Or||(ci.keyCode===Nt.Z.LEFT?Ra(-1):ci.keyCode===Nt.Z.RIGHT&&Ra(1))},Ca=function(ci){gr&&(Ja!==1?ja({x:0,y:0,scale:1},"doubleClick"):Gr(Qt+Ea,"doubleClick",ci.clientX,ci.clientY))};(0,b.useEffect)(function(){var ii=(0,it.Z)(window,"keydown",Ka,!1);return function(){ii.remove()}},[gr,Or,Xr]);var za=b.createElement(un,(0,be.Z)({},or,{width:rn.width,height:rn.height,imgRef:nr,className:"".concat(Cn,"-img"),alt:zn,style:{transform:"translate3d(".concat(Ha.x,"px, ").concat(Ha.y,"px, 0) scale3d(").concat(Ha.flipX?"-":"").concat(Ja,", ").concat(Ha.flipY?"-":"").concat(Ja,", 1) rotate(").concat($a,"deg)"),transitionDuration:(!Ma||Ua)&&"0s"},fallback:wr,src:Pn,onWheel:li,onMouseDown:Pa,onDoubleClick:Ca,onTouchStart:Ni,onTouchMove:Va,onTouchEnd:Aa,onTouchCancel:Aa})),ri=(0,fe.Z)({url:Pn,alt:zn},tr);return b.createElement(b.Fragment,null,b.createElement(bt.Z,(0,be.Z)({transitionName:Gn,maskTransitionName:qn,closable:!1,keyboard:!0,prefixCls:Cn,onClose:Kn,visible:gr,classNames:{wrapper:Ba},rootClassName:Wr,getContainer:Qr},ur,{afterClose:Xa}),b.createElement("div",{className:"".concat(Cn,"-img-wrapper")},hr?hr(za,(0,fe.Z)({transform:Ha,image:ri},xr?{current:Xr}:{})):za)),b.createElement(qe,{visible:gr,transform:Ha,maskTransitionName:qn,closeIcon:Zr,getContainer:Qr,prefixCls:Cn,rootClassName:Wr,icons:Yr,countRender:oa,showSwitch:Or,showProgress:ba,current:Xr,count:_r,scale:Ja,minScale:ra,maxScale:ha,toolbarRender:er,onActive:Ra,onZoomIn:ma,onZoomOut:xi,onRotateRight:Bi,onRotateLeft:Fi,onFlipX:Rr,onFlipY:Ti,onClose:Kn,onReset:qi,zIndex:ur.zIndex!==void 0?ur.zIndex+1:void 0,image:ri}))},he=De,ce=y(77654),Te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function je(Sn){var rn=b.useState({}),Cn=(0,Oe.Z)(rn,2),Pn=Cn[0],zn=Cn[1],tr=b.useCallback(function(pr,Zn){return zn(function(Kn){return(0,fe.Z)((0,fe.Z)({},Kn),{},(0,we.Z)({},pr,Zn))}),function(){zn(function(Kn){var gr=(0,fe.Z)({},Kn);return delete gr[pr],gr})}},[]),wr=b.useMemo(function(){return Sn?Sn.map(function(pr){if(typeof pr=="string")return{data:{src:pr}};var Zn={};return Object.keys(pr).forEach(function(Kn){["src"].concat((0,ce.Z)(Te)).includes(Kn)&&(Zn[Kn]=pr[Kn])}),{data:Zn}}):Object.keys(Pn).reduce(function(pr,Zn){var Kn=Pn[Zn],gr=Kn.canPreview,dr=Kn.data;return gr&&pr.push({data:dr,id:Zn}),pr},[])},[Sn,Pn]);return[wr,tr,!!Sn]}var ge=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Pe=["src"],ct=function(rn){var Cn,Pn=rn.previewPrefixCls,zn=Pn===void 0?"rc-image-preview":Pn,tr=rn.children,wr=rn.icons,pr=wr===void 0?{}:wr,Zn=rn.items,Kn=rn.preview,gr=rn.fallback,dr=(0,Re.Z)(Kn)==="object"?Kn:{},Yr=dr.visible,Wr=dr.onVisibleChange,Zr=dr.getContainer,Qr=dr.current,ca=dr.movable,Xr=dr.minScale,la=dr.maxScale,_r=dr.countRender,oa=dr.closeIcon,_t=dr.onChange,Ea=dr.onTransform,ia=dr.toolbarRender,ra=dr.imageRender,fa=(0,xe.Z)(dr,ge),ha=je(Zn),Br=(0,Oe.Z)(ha,3),Gn=Br[0],Vr=Br[1],qn=Br[2],hr=(0,nt.Z)(0,{value:Qr}),or=(0,Oe.Z)(hr,2),er=or[0],Dr=or[1],Ar=(0,b.useState)(!1),ur=(0,Oe.Z)(Ar,2),nr=ur[0],xr=ur[1],Or=((Cn=Gn[er])===null||Cn===void 0?void 0:Cn.data)||{},ba=Or.src,da=(0,xe.Z)(Or,Pe),ya=(0,nt.Z)(!!Yr,{value:Yr,onChange:function(Ua,Ni){Wr==null||Wr(Ua,Ni,er)}}),Ma=(0,Oe.Z)(ya,2),_a=Ma[0],Na=Ma[1],Ha=(0,b.useState)(null),Da=(0,Oe.Z)(Ha,2),ja=Da[0],Gr=Da[1],bi=b.useCallback(function(fi,Ua,Ni,Va){var Aa=qn?Gn.findIndex(function($a){return $a.data.src===Ua}):Gn.findIndex(function($a){return $a.id===fi});Dr(Aa<0?0:Aa),Na(!0),Gr({x:Ni,y:Va}),xr(!0)},[Gn,qn]);b.useEffect(function(){_a?nr||Dr(0):xr(!1)},[_a]);var wi=function(Ua,Ni){Dr(Ua),_t==null||_t(Ua,Ni)},Pa=function(){Na(!1),Gr(null)},li=b.useMemo(function(){return{register:Vr,onPreview:bi}},[Vr,bi]);return b.createElement(It.Provider,{value:li},tr,b.createElement(he,(0,be.Z)({"aria-hidden":!_a,movable:ca,visible:_a,prefixCls:zn,closeIcon:oa,onClose:Pa,mousePosition:ja,imgCommonProps:da,src:ba,fallback:gr,icons:pr,minScale:Xr,maxScale:la,getContainer:Zr,current:er,count:Gn.length,countRender:_r,onTransform:Ea,toolbarRender:ia,imageRender:ra,onChange:wi},fa)))},$t=ct,gt=0;function yt(Sn,rn){var Cn=b.useState(function(){return gt+=1,String(gt)}),Pn=(0,Oe.Z)(Cn,1),zn=Pn[0],tr=b.useContext(It),wr={data:rn,canPreview:Sn};return b.useEffect(function(){if(tr)return tr.register(zn,wr)},[]),b.useEffect(function(){tr&&tr.register(zn,wr)},[Sn,rn]),zn}var Dt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Pt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Wt=function(rn){var Cn=rn.src,Pn=rn.alt,zn=rn.onPreviewClose,tr=rn.prefixCls,wr=tr===void 0?"rc-image":tr,pr=rn.previewPrefixCls,Zn=pr===void 0?"".concat(wr,"-preview"):pr,Kn=rn.placeholder,gr=rn.fallback,dr=rn.width,Yr=rn.height,Wr=rn.style,Zr=rn.preview,Qr=Zr===void 0?!0:Zr,ca=rn.className,Xr=rn.onClick,la=rn.onError,_r=rn.wrapperClassName,oa=rn.wrapperStyle,_t=rn.rootClassName,Ea=(0,xe.Z)(rn,Dt),ia=Kn&&Kn!==!0,ra=(0,Re.Z)(Qr)==="object"?Qr:{},fa=ra.src,ha=ra.visible,Br=ha===void 0?void 0:ha,Gn=ra.onVisibleChange,Vr=Gn===void 0?zn:Gn,qn=ra.getContainer,hr=qn===void 0?void 0:qn,or=ra.mask,er=ra.maskClassName,Dr=ra.movable,Ar=ra.icons,ur=ra.scaleStep,nr=ra.minScale,xr=ra.maxScale,Or=ra.imageRender,ba=ra.toolbarRender,da=(0,xe.Z)(ra,Pt),ya=fa!=null?fa:Cn,Ma=(0,nt.Z)(!!Br,{value:Br,onChange:Vr}),_a=(0,Oe.Z)(Ma,2),Na=_a[0],Ha=_a[1],Da=Gt({src:Cn,isCustomPlaceholder:ia,fallback:gr}),ja=(0,Oe.Z)(Da,3),Gr=ja[0],bi=ja[1],wi=ja[2],Pa=(0,b.useState)(null),li=(0,Oe.Z)(Pa,2),fi=li[0],Ua=li[1],Ni=(0,b.useContext)(It),Va=!!Qr,Aa=function(){Ha(!1),Ua(null)},$a=pe()(wr,_r,_t,(0,we.Z)({},"".concat(wr,"-error"),wi==="error")),Ja=(0,b.useMemo)(function(){var xi={};return Te.forEach(function(Bi){rn[Bi]!==void 0&&(xi[Bi]=rn[Bi])}),xi},Te.map(function(xi){return rn[xi]})),Ba=(0,b.useMemo)(function(){return(0,fe.Z)((0,fe.Z)({},Ja),{},{src:ya})},[ya,Ja]),Xa=yt(Va,Ba),ma=function(Bi){var Fi=$e(Bi.target),Rr=Fi.left,Ti=Fi.top;Ni?Ni.onPreview(Xa,ya,Rr,Ti):(Ua({x:Rr,y:Ti}),Ha(!0)),Xr==null||Xr(Bi)};return b.createElement(b.Fragment,null,b.createElement("div",(0,be.Z)({},Ea,{className:$a,onClick:Va?ma:Xr,style:(0,fe.Z)({width:dr,height:Yr},oa)}),b.createElement("img",(0,be.Z)({},Ja,{className:pe()("".concat(wr,"-img"),(0,we.Z)({},"".concat(wr,"-img-placeholder"),Kn===!0),ca),style:(0,fe.Z)({height:Yr},Wr),ref:Gr},bi,{width:dr,height:Yr,onError:la})),wi==="loading"&&b.createElement("div",{"aria-hidden":"true",className:"".concat(wr,"-placeholder")},Kn),or&&Va&&b.createElement("div",{className:pe()("".concat(wr,"-mask"),er),style:{display:(Wr==null?void 0:Wr.display)==="none"?"none":void 0}},or)),!Ni&&Va&&b.createElement(he,(0,be.Z)({"aria-hidden":!Na,visible:Na,prefixCls:Zn,onClose:Aa,mousePosition:fi,src:ya,alt:Pn,imageInfo:{width:dr,height:Yr},fallback:gr,getContainer:hr,icons:Ar,movable:Dr,scaleStep:ur,minScale:nr,maxScale:xr,rootClassName:_t,imageRender:Or,imgCommonProps:Ja,toolbarRender:ba},da)))};Wt.PreviewGroup=$t;var pn=Wt,fn=pn,Mt=y(75030),Ln=y(86641),kn=y(48755),wn=y(83397),ln=y(9017),In=y(99267),xn=y(33853),kt=y(38819),Yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ft=Yt,vn=y(7657),Ct=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Ft}))},pt=b.forwardRef(Ct),de=pt,qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Dn=qt,mn=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Dn}))},vr=b.forwardRef(mn),yr=vr,ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Er=ar,wt=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Er}))},Qn=b.forwardRef(wt),lr=Qn,cr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Yn=cr,Sr=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Yn}))},br=b.forwardRef(Sr),Nr=br,Jr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},$r=Jr,Ur=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:$r}))},aa=b.forwardRef(Ur),Hr=aa,pa=y(36237),ea=y(17835),jn=y(64427),sr=y(63356),Kr=y(34925),zr=y(99495),ve=y(16931),Ie=y(51636);const ut=Sn=>({position:Sn||"absolute",inset:0}),Le=Sn=>{const{iconCls:rn,motionDurationSlow:Cn,paddingXXS:Pn,marginXXS:zn,prefixCls:tr,colorTextLightSolid:wr}=Sn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:wr,background:new ea.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Cn}`,[`.${tr}-mask-info`]:Object.assign(Object.assign({},sr.vS),{padding:`0 ${(0,pa.unit)(Pn)}`,[rn]:{marginInlineEnd:zn,svg:{verticalAlign:"baseline"}}})}},He=Sn=>{const{previewCls:rn,modalMaskBg:Cn,paddingSM:Pn,marginXL:zn,margin:tr,paddingLG:wr,previewOperationColorDisabled:pr,previewOperationHoverColor:Zn,motionDurationSlow:Kn,iconCls:gr,colorTextLightSolid:dr}=Sn,Yr=new ea.FastColor(Cn).setA(.1),Wr=Yr.clone().setA(.2);return{[`${rn}-footer`]:{position:"fixed",bottom:zn,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Sn.previewOperationColor,transform:"translateX(-50%)"},[`${rn}-progress`]:{marginBottom:tr},[`${rn}-close`]:{position:"fixed",top:zn,right:{_skip_check_:!0,value:zn},display:"flex",color:dr,backgroundColor:Yr.toRgbString(),borderRadius:"50%",padding:Pn,outline:0,border:0,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{backgroundColor:Wr.toRgbString()},[`& > ${gr}`]:{fontSize:Sn.previewOperationSize}},[`${rn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,pa.unit)(wr)}`,backgroundColor:Yr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Pn,padding:Pn,cursor:"pointer",transition:`all ${Kn}`,userSelect:"none",[`&:not(${rn}-operations-operation-disabled):hover > ${gr}`]:{color:Zn},"&-disabled":{color:pr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${gr}`]:{fontSize:Sn.previewOperationSize}}}}},Vt=Sn=>{const{modalMaskBg:rn,iconCls:Cn,previewOperationColorDisabled:Pn,previewCls:zn,zIndexPopup:tr,motionDurationSlow:wr}=Sn,pr=new ea.FastColor(rn).setA(.1),Zn=pr.clone().setA(.2);return{[`${zn}-switch-left, ${zn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Sn.calc(tr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Sn.imagePreviewSwitchSize,height:Sn.imagePreviewSwitchSize,marginTop:Sn.calc(Sn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Sn.previewOperationColor,background:pr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${wr}`,userSelect:"none","&:hover":{background:Zn.toRgbString()},"&-disabled":{"&, &:hover":{color:Pn,background:"transparent",cursor:"not-allowed",[`> ${Cn}`]:{cursor:"not-allowed"}}},[`> ${Cn}`]:{fontSize:Sn.previewOperationSize}},[`${zn}-switch-left`]:{insetInlineStart:Sn.marginSM},[`${zn}-switch-right`]:{insetInlineEnd:Sn.marginSM}}},et=Sn=>{const{motionEaseOut:rn,previewCls:Cn,motionDurationSlow:Pn,componentCls:zn}=Sn;return[{[`${zn}-preview-root`]:{[Cn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Cn}-body`]:Object.assign(Object.assign({},ut()),{overflow:"hidden"}),[`${Cn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pn} ${rn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ut()),{transition:`transform ${Pn} ${rn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Cn}-moving`]:{[`${Cn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${zn}-preview-root`]:{[`${Cn}-wrap`]:{zIndex:Sn.zIndexPopup}}},{[`${zn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Sn.calc(Sn.zIndexPopup).add(1).equal()},"&":[He(Sn),Vt(Sn)]}]},en=Sn=>{const{componentCls:rn}=Sn;return{[rn]:{position:"relative",display:"inline-block",[`${rn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${rn}-img-placeholder`]:{backgroundColor:Sn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${rn}-mask`]:Object.assign({},Le(Sn)),[`${rn}-mask:hover`]:{opacity:1},[`${rn}-placeholder`]:Object.assign({},ut())}}},cn=Sn=>{const{previewCls:rn}=Sn;return{[`${rn}-root`]:(0,Kr._y)(Sn,"zoom"),"&":(0,zr.J$)(Sn,!0)}},Xt=Sn=>({zIndexPopup:Sn.zIndexPopupBase+80,previewOperationColor:new ea.FastColor(Sn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new ea.FastColor(Sn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new ea.FastColor(Sn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Sn.fontSizeIcon*1.5});var an=(0,ve.I$)("Image",Sn=>{const rn=`${Sn.componentCls}-preview`,Cn=(0,Ie.mergeToken)(Sn,{previewCls:rn,modalMaskBg:new ea.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Sn.controlHeightLG});return[en(Cn),et(Cn),(0,jn.QA)((0,Ie.mergeToken)(Cn,{componentCls:rn})),cn(Cn)]},Xt),Kt=function(Sn,rn){var Cn={};for(var Pn in Sn)Object.prototype.hasOwnProperty.call(Sn,Pn)&&rn.indexOf(Pn)<0&&(Cn[Pn]=Sn[Pn]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,Pn=Object.getOwnPropertySymbols(Sn);zn<Pn.length;zn++)rn.indexOf(Pn[zn])<0&&Object.prototype.propertyIsEnumerable.call(Sn,Pn[zn])&&(Cn[Pn[zn]]=Sn[Pn[zn]]);return Cn};const nn={rotateLeft:b.createElement(de,null),rotateRight:b.createElement(yr,null),zoomIn:b.createElement(Nr,null),zoomOut:b.createElement(Hr,null),close:b.createElement(In.Z,null),left:b.createElement(xn.Z,null),right:b.createElement(kt.Z,null),flipX:b.createElement(lr,null),flipY:b.createElement(lr,{rotate:90})};var Jn=Sn=>{var{previewPrefixCls:rn,preview:Cn}=Sn,Pn=Kt(Sn,["previewPrefixCls","preview"]);const{getPrefixCls:zn}=b.useContext(kn.E_),tr=zn("image",rn),wr=`${tr}-preview`,pr=zn(),Zn=(0,wn.Z)(tr),[Kn,gr,dr]=an(tr,Zn),[Yr]=(0,Mt.Cn)("ImagePreview",typeof Cn=="object"?Cn.zIndex:void 0),Wr=b.useMemo(()=>{var Zr;if(Cn===!1)return Cn;const Qr=typeof Cn=="object"?Cn:{},ca=pe()(gr,dr,Zn,(Zr=Qr.rootClassName)!==null&&Zr!==void 0?Zr:"");return Object.assign(Object.assign({},Qr),{transitionName:(0,Ln.m)(pr,"zoom",Qr.transitionName),maskTransitionName:(0,Ln.m)(pr,"fade",Qr.maskTransitionName),rootClassName:ca,zIndex:Yr})},[Cn]);return Kn(b.createElement(fn.PreviewGroup,Object.assign({preview:Wr,previewPrefixCls:wr,icons:nn},Pn)))},Bt=function(Sn,rn){var Cn={};for(var Pn in Sn)Object.prototype.hasOwnProperty.call(Sn,Pn)&&rn.indexOf(Pn)<0&&(Cn[Pn]=Sn[Pn]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,Pn=Object.getOwnPropertySymbols(Sn);zn<Pn.length;zn++)rn.indexOf(Pn[zn])<0&&Object.prototype.propertyIsEnumerable.call(Sn,Pn[zn])&&(Cn[Pn[zn]]=Sn[Pn[zn]]);return Cn};const rr=Sn=>{const{prefixCls:rn,preview:Cn,className:Pn,rootClassName:zn,style:tr}=Sn,wr=Bt(Sn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:pr,getPopupContainer:Zn,className:Kn,style:gr,preview:dr}=(0,kn.dj)("image"),[Yr]=(0,ln.Z)("Image"),Wr=pr("image",rn),Zr=pr(),Qr=(0,wn.Z)(Wr),[ca,Xr,la]=an(Wr,Qr),_r=pe()(zn,Xr,la,Qr),oa=pe()(Pn,Xr,Kn),[_t]=(0,Mt.Cn)("ImagePreview",typeof Cn=="object"?Cn.zIndex:void 0),Ea=b.useMemo(()=>{if(Cn===!1)return Cn;const ra=typeof Cn=="object"?Cn:{},{getContainer:fa,closeIcon:ha,rootClassName:Br}=ra,Gn=Bt(ra,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:b.createElement("div",{className:`${Wr}-mask-info`},b.createElement(me.Z,null),Yr==null?void 0:Yr.preview),icons:nn},Gn),{rootClassName:pe()(_r,Br),getContainer:fa!=null?fa:Zn,transitionName:(0,Ln.m)(Zr,"zoom",ra.transitionName),maskTransitionName:(0,Ln.m)(Zr,"fade",ra.maskTransitionName),zIndex:_t,closeIcon:ha!=null?ha:dr==null?void 0:dr.closeIcon})},[Cn,Yr,dr==null?void 0:dr.closeIcon]),ia=Object.assign(Object.assign({},gr),tr);return ca(b.createElement(fn,Object.assign({prefixCls:Wr,preview:Ea,rootClassName:_r,className:oa,style:ia},wr)))};rr.PreviewGroup=Jn;var Pr=rr},4875:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return vn}});var b=y(59301),me=y(84105),le=y(87395),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(18642),Oe=y(43749),Re=y(72190),xe=y(42244),Ge=y(38705),Fe=y(17212);function At(){return typeof BigInt=="function"}function at(Ct){return!Ct&&Ct!==0&&!Number.isNaN(Ct)||!String(Ct).trim()}function tt(Ct){var pt=Ct.trim(),de=pt.startsWith("-");de&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var qt=pt||"0",Dn=qt.split("."),mn=Dn[0]||"0",vr=Dn[1]||"0";mn==="0"&&vr==="0"&&(de=!1);var yr=de?"-":"";return{negative:de,negativeStr:yr,trimStr:qt,integerStr:mn,decimalStr:vr,fullStr:"".concat(yr).concat(qt)}}function Je(Ct){var pt=String(Ct);return!Number.isNaN(Number(pt))&&pt.includes("e")}function We(Ct){var pt=String(Ct);if(Je(Ct)){var de=Number(pt.slice(pt.indexOf("e-")+2)),qt=pt.match(/\.(\d+)/);return qt!=null&&qt[1]&&(de+=qt[1].length),de}return pt.includes(".")&&Ze(pt)?pt.length-pt.indexOf(".")-1:0}function Ve(Ct){var pt=String(Ct);if(Je(Ct)){if(Ct>Number.MAX_SAFE_INTEGER)return String(At()?BigInt(Ct).toString():Number.MAX_SAFE_INTEGER);if(Ct<Number.MIN_SAFE_INTEGER)return String(At()?BigInt(Ct).toString():Number.MIN_SAFE_INTEGER);pt=Ct.toFixed(We(pt))}return tt(pt).fullStr}function Ze(Ct){return typeof Ct=="number"?!Number.isNaN(Ct):Ct?/^\s*-?\d+(\.\d+)?\s*$/.test(Ct)||/^\s*-?\d+\.\s*$/.test(Ct)||/^\s*-?\.\d+\s*$/.test(Ct):!1}var Qe=function(){function Ct(pt){if((0,Ge.Z)(this,Ct),(0,we.Z)(this,"origin",""),(0,we.Z)(this,"negative",void 0),(0,we.Z)(this,"integer",void 0),(0,we.Z)(this,"decimal",void 0),(0,we.Z)(this,"decimalLen",void 0),(0,we.Z)(this,"empty",void 0),(0,we.Z)(this,"nan",void 0),at(pt)){this.empty=!0;return}if(this.origin=String(pt),pt==="-"||Number.isNaN(pt)){this.nan=!0;return}var de=pt;if(Je(de)&&(de=Number(de)),de=typeof de=="string"?de:Ve(de),Ze(de)){var qt=tt(de);this.negative=qt.negative;var Dn=qt.trimStr.split(".");this.integer=BigInt(Dn[0]);var mn=Dn[1]||"0";this.decimal=BigInt(mn),this.decimalLen=mn.length}else this.nan=!0}return(0,Fe.Z)(Ct,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(de){var qt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(de,"0"));return BigInt(qt)}},{key:"negate",value:function(){var de=new Ct(this.toString());return de.negative=!de.negative,de}},{key:"cal",value:function(de,qt,Dn){var mn=Math.max(this.getDecimalStr().length,de.getDecimalStr().length),vr=this.alignDecimal(mn),yr=de.alignDecimal(mn),ar=qt(vr,yr).toString(),Er=Dn(mn),wt=tt(ar),Qn=wt.negativeStr,lr=wt.trimStr,cr="".concat(Qn).concat(lr.padStart(Er+1,"0"));return new Ct("".concat(cr.slice(0,-Er),".").concat(cr.slice(-Er)))}},{key:"add",value:function(de){if(this.isInvalidate())return new Ct(de);var qt=new Ct(de);return qt.isInvalidate()?this:this.cal(qt,function(Dn,mn){return Dn+mn},function(Dn){return Dn})}},{key:"multi",value:function(de){var qt=new Ct(de);return this.isInvalidate()||qt.isInvalidate()?new Ct(NaN):this.cal(qt,function(Dn,mn){return Dn*mn},function(Dn){return Dn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(de){return this.toString()===(de==null?void 0:de.toString())}},{key:"lessEquals",value:function(de){return this.add(de.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":tt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Ct}(),ze=function(){function Ct(pt){if((0,Ge.Z)(this,Ct),(0,we.Z)(this,"origin",""),(0,we.Z)(this,"number",void 0),(0,we.Z)(this,"empty",void 0),at(pt)){this.empty=!0;return}this.origin=String(pt),this.number=Number(pt)}return(0,Fe.Z)(Ct,[{key:"negate",value:function(){return new Ct(-this.toNumber())}},{key:"add",value:function(de){if(this.isInvalidate())return new Ct(de);var qt=Number(de);if(Number.isNaN(qt))return this;var Dn=this.number+qt;if(Dn>Number.MAX_SAFE_INTEGER)return new Ct(Number.MAX_SAFE_INTEGER);if(Dn<Number.MIN_SAFE_INTEGER)return new Ct(Number.MIN_SAFE_INTEGER);var mn=Math.max(We(this.number),We(qt));return new Ct(Dn.toFixed(mn))}},{key:"multi",value:function(de){var qt=Number(de);if(this.isInvalidate()||Number.isNaN(qt))return new Ct(NaN);var Dn=this.number*qt;if(Dn>Number.MAX_SAFE_INTEGER)return new Ct(Number.MAX_SAFE_INTEGER);if(Dn<Number.MIN_SAFE_INTEGER)return new Ct(Number.MIN_SAFE_INTEGER);var mn=Math.max(We(this.number),We(qt));return new Ct(Dn.toFixed(mn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(de){return this.toNumber()===(de==null?void 0:de.toNumber())}},{key:"lessEquals",value:function(de){return this.add(de.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":Ve(this.number):this.origin}}]),Ct}();function _e(Ct){return At()?new Qe(Ct):new ze(Ct)}function $e(Ct,pt,de){var qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Ct==="")return"";var Dn=tt(Ct),mn=Dn.negativeStr,vr=Dn.integerStr,yr=Dn.decimalStr,ar="".concat(pt).concat(yr),Er="".concat(mn).concat(vr);if(de>=0){var wt=Number(yr[de]);if(wt>=5&&!qt){var Qn=_e(Ct).add("".concat(mn,"0.").concat("0".repeat(de)).concat(10-wt));return $e(Qn.toString(),pt,de,qt)}return de===0?Er:"".concat(Er).concat(pt).concat(yr.padEnd(de,"0").slice(0,de))}return ar===".0"?Er:"".concat(Er).concat(ar)}var nt=_e,bt=y(36901),it=y(34280);function Nt(Ct,pt){return typeof Proxy!="undefined"&&Ct?new Proxy(Ct,{get:function(qt,Dn){if(pt[Dn])return pt[Dn];var mn=qt[Dn];return typeof mn=="function"?mn.bind(qt):mn}}):Ct}var vt=y(8654),dt=y(48736);function It(Ct,pt){var de=(0,b.useRef)(null);function qt(){try{var mn=Ct.selectionStart,vr=Ct.selectionEnd,yr=Ct.value,ar=yr.substring(0,mn),Er=yr.substring(vr);de.current={start:mn,end:vr,value:yr,beforeTxt:ar,afterTxt:Er}}catch(wt){}}function Dn(){if(Ct&&de.current&&pt)try{var mn=Ct.value,vr=de.current,yr=vr.beforeTxt,ar=vr.afterTxt,Er=vr.start,wt=mn.length;if(mn.startsWith(yr))wt=yr.length;else if(mn.endsWith(ar))wt=mn.length-de.current.afterTxt.length;else{var Qn=yr[Er-1],lr=mn.indexOf(Qn,Er-1);lr!==-1&&(wt=lr+1)}Ct.setSelectionRange(wt,wt)}catch(cr){(0,dt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(cr.message))}}return[qt,Dn]}var St=y(49658),qe=function(){var pt=(0,b.useState)(!1),de=(0,Re.Z)(pt,2),qt=de[0],Dn=de[1];return(0,it.Z)(function(){Dn((0,St.Z)())},[]),qt},Jt=qe,Rt=y(16089),Zt=200,Tn=600;function Tt(Ct){var pt=Ct.prefixCls,de=Ct.upNode,qt=Ct.downNode,Dn=Ct.upDisabled,mn=Ct.downDisabled,vr=Ct.onStep,yr=b.useRef(),ar=b.useRef([]),Er=b.useRef();Er.current=vr;var wt=function(){clearTimeout(yr.current)},Qn=function($r,Ur){$r.preventDefault(),wt(),Er.current(Ur);function aa(){Er.current(Ur),yr.current=setTimeout(aa,Zt)}yr.current=setTimeout(aa,Tn)};b.useEffect(function(){return function(){wt(),ar.current.forEach(function(Jr){return Rt.Z.cancel(Jr)})}},[]);var lr=Jt();if(lr)return null;var cr="".concat(pt,"-handler"),Yn=be()(cr,"".concat(cr,"-up"),(0,we.Z)({},"".concat(cr,"-up-disabled"),Dn)),Sr=be()(cr,"".concat(cr,"-down"),(0,we.Z)({},"".concat(cr,"-down-disabled"),mn)),br=function(){return ar.current.push((0,Rt.Z)(wt))},Nr={unselectable:"on",role:"button",onMouseUp:br,onMouseLeave:br};return b.createElement("div",{className:"".concat(cr,"-wrap")},b.createElement("span",(0,fe.Z)({},Nr,{onMouseDown:function($r){Qn($r,!0)},"aria-label":"Increase Value","aria-disabled":Dn,className:Yn}),de||b.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),b.createElement("span",(0,fe.Z)({},Nr,{onMouseDown:function($r){Qn($r,!1)},"aria-label":"Decrease Value","aria-disabled":mn,className:Sr}),qt||b.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function Ye(Ct){var pt=typeof Ct=="number"?Ve(Ct):tt(Ct).fullStr,de=pt.includes(".");return de?tt(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Ct+"0"}var Se=y(30292),Qt=function(){var Ct=(0,b.useRef)(0),pt=function(){Rt.Z.cancel(Ct.current)};return(0,b.useEffect)(function(){return pt},[]),function(de){pt(),Ct.current=(0,Rt.Z)(function(){de()})}},on=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],st=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ut=function(pt,de){return pt||de.isEmpty()?de.toString():de.toNumber()},Gt=function(pt){var de=nt(pt);return de.isInvalidate()?null:de},On=b.forwardRef(function(Ct,pt){var de=Ct.prefixCls,qt=Ct.className,Dn=Ct.style,mn=Ct.min,vr=Ct.max,yr=Ct.step,ar=yr===void 0?1:yr,Er=Ct.defaultValue,wt=Ct.value,Qn=Ct.disabled,lr=Ct.readOnly,cr=Ct.upHandler,Yn=Ct.downHandler,Sr=Ct.keyboard,br=Ct.changeOnWheel,Nr=br===void 0?!1:br,Jr=Ct.controls,$r=Jr===void 0?!0:Jr,Ur=Ct.classNames,aa=Ct.stringMode,Hr=Ct.parser,pa=Ct.formatter,ea=Ct.precision,jn=Ct.decimalSeparator,sr=Ct.onChange,Kr=Ct.onInput,zr=Ct.onPressEnter,ve=Ct.onStep,Ie=Ct.changeOnBlur,ut=Ie===void 0?!0:Ie,Le=Ct.domRef,He=(0,xe.Z)(Ct,on),Vt="".concat(de,"-input"),et=b.useRef(null),en=b.useState(!1),cn=(0,Re.Z)(en,2),Xt=cn[0],an=cn[1],Kt=b.useRef(!1),nn=b.useRef(!1),rt=b.useRef(!1),Jn=b.useState(function(){return nt(wt!=null?wt:Er)}),Bt=(0,Re.Z)(Jn,2),rr=Bt[0],Pr=Bt[1];function Sn(or){wt===void 0&&Pr(or)}var rn=b.useCallback(function(or,er){if(!er)return ea>=0?ea:Math.max(We(or),We(ar))},[ea,ar]),Cn=b.useCallback(function(or){var er=String(or);if(Hr)return Hr(er);var Dr=er;return jn&&(Dr=Dr.replace(jn,".")),Dr.replace(/[^\w.-]+/g,"")},[Hr,jn]),Pn=b.useRef(""),zn=b.useCallback(function(or,er){if(pa)return pa(or,{userTyping:er,input:String(Pn.current)});var Dr=typeof or=="number"?Ve(or):or;if(!er){var Ar=rn(Dr,er);if(Ze(Dr)&&(jn||Ar>=0)){var ur=jn||".";Dr=$e(Dr,ur,Ar)}}return Dr},[pa,rn,jn]),tr=b.useState(function(){var or=Er!=null?Er:wt;return rr.isInvalidate()&&["string","number"].includes((0,Oe.Z)(or))?Number.isNaN(or)?"":or:zn(rr.toString(),!1)}),wr=(0,Re.Z)(tr,2),pr=wr[0],Zn=wr[1];Pn.current=pr;function Kn(or,er){Zn(zn(or.isInvalidate()?or.toString(!1):or.toString(!er),er))}var gr=b.useMemo(function(){return Gt(vr)},[vr,ea]),dr=b.useMemo(function(){return Gt(mn)},[mn,ea]),Yr=b.useMemo(function(){return!gr||!rr||rr.isInvalidate()?!1:gr.lessEquals(rr)},[gr,rr]),Wr=b.useMemo(function(){return!dr||!rr||rr.isInvalidate()?!1:rr.lessEquals(dr)},[dr,rr]),Zr=It(et.current,Xt),Qr=(0,Re.Z)(Zr,2),ca=Qr[0],Xr=Qr[1],la=function(er){return gr&&!er.lessEquals(gr)?gr:dr&&!dr.lessEquals(er)?dr:null},_r=function(er){return!la(er)},oa=function(er,Dr){var Ar=er,ur=_r(Ar)||Ar.isEmpty();if(!Ar.isEmpty()&&!Dr&&(Ar=la(Ar)||Ar,ur=!0),!lr&&!Qn&&ur){var nr=Ar.toString(),xr=rn(nr,Dr);return xr>=0&&(Ar=nt($e(nr,".",xr)),_r(Ar)||(Ar=nt($e(nr,".",xr,!0)))),Ar.equals(rr)||(Sn(Ar),sr==null||sr(Ar.isEmpty()?null:Ut(aa,Ar)),wt===void 0&&Kn(Ar,Dr)),Ar}return rr},_t=Qt(),Ea=function or(er){if(ca(),Pn.current=er,Zn(er),!nn.current){var Dr=Cn(er),Ar=nt(Dr);Ar.isNaN()||oa(Ar,!0)}Kr==null||Kr(er),_t(function(){var ur=er;Hr||(ur=er.replace(/。/g,".")),ur!==er&&or(ur)})},ia=function(){nn.current=!0},ra=function(){nn.current=!1,Ea(et.current.value)},fa=function(er){Ea(er.target.value)},ha=function(er){var Dr;if(!(er&&Yr||!er&&Wr)){Kt.current=!1;var Ar=nt(rt.current?Ye(ar):ar);er||(Ar=Ar.negate());var ur=(rr||nt(0)).add(Ar.toString()),nr=oa(ur,!1);ve==null||ve(Ut(aa,nr),{offset:rt.current?Ye(ar):ar,type:er?"up":"down"}),(Dr=et.current)===null||Dr===void 0||Dr.focus()}},Br=function(er){var Dr=nt(Cn(pr)),Ar;Dr.isNaN()?Ar=oa(rr,er):Ar=oa(Dr,er),wt!==void 0?Kn(rr,!1):Ar.isNaN()||Kn(Ar,!1)},Gn=function(){Kt.current=!0},Vr=function(er){var Dr=er.key,Ar=er.shiftKey;Kt.current=!0,rt.current=Ar,Dr==="Enter"&&(nn.current||(Kt.current=!1),Br(!1),zr==null||zr(er)),Sr!==!1&&!nn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Dr)&&(ha(Dr==="Up"||Dr==="ArrowUp"),er.preventDefault())},qn=function(){Kt.current=!1,rt.current=!1};b.useEffect(function(){if(Nr&&Xt){var or=function(Ar){ha(Ar.deltaY<0),Ar.preventDefault()},er=et.current;if(er)return er.addEventListener("wheel",or,{passive:!1}),function(){return er.removeEventListener("wheel",or)}}});var hr=function(){ut&&Br(!1),an(!1),Kt.current=!1};return(0,it.o)(function(){rr.isInvalidate()||Kn(rr,!1)},[ea,pa]),(0,it.o)(function(){var or=nt(wt);Pr(or);var er=nt(Cn(pr));(!or.equals(er)||!Kt.current||pa)&&Kn(or,Kt.current)},[wt]),(0,it.o)(function(){pa&&Xr()},[pr]),b.createElement("div",{ref:Le,className:be()(de,qt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(de,"-focused"),Xt),"".concat(de,"-disabled"),Qn),"".concat(de,"-readonly"),lr),"".concat(de,"-not-a-number"),rr.isNaN()),"".concat(de,"-out-of-range"),!rr.isInvalidate()&&!_r(rr))),style:Dn,onFocus:function(){an(!0)},onBlur:hr,onKeyDown:Vr,onKeyUp:qn,onCompositionStart:ia,onCompositionEnd:ra,onBeforeInput:Gn},$r&&b.createElement(Tt,{prefixCls:de,upNode:cr,downNode:Yn,upDisabled:Yr,downDisabled:Wr,onStep:ha}),b.createElement("div",{className:"".concat(Vt,"-wrap")},b.createElement("input",(0,fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":mn,"aria-valuemax":vr,"aria-valuenow":rr.isInvalidate()?null:rr.toString(),step:ar},He,{ref:(0,vt.sQ)(et,pt),className:Vt,value:pr,onChange:fa,disabled:Qn,readOnly:lr}))))}),ft=b.forwardRef(function(Ct,pt){var de=Ct.disabled,qt=Ct.style,Dn=Ct.prefixCls,mn=Dn===void 0?"rc-input-number":Dn,vr=Ct.value,yr=Ct.prefix,ar=Ct.suffix,Er=Ct.addonBefore,wt=Ct.addonAfter,Qn=Ct.className,lr=Ct.classNames,cr=(0,xe.Z)(Ct,st),Yn=b.useRef(null),Sr=b.useRef(null),br=b.useRef(null),Nr=function($r){br.current&&(0,Se.nH)(br.current,$r)};return b.useImperativeHandle(pt,function(){return Nt(br.current,{focus:Nr,nativeElement:Yn.current.nativeElement||Sr.current})}),b.createElement(bt.BaseInput,{className:Qn,triggerFocus:Nr,prefixCls:mn,value:vr,disabled:de,style:qt,prefix:yr,suffix:ar,addonAfter:wt,addonBefore:Er,classNames:lr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Yn},b.createElement(On,(0,fe.Z)({prefixCls:mn,disabled:de,ref:br,domRef:Sr,className:lr==null?void 0:lr.input},cr)))}),En=ft,Ht=En,gn=y(62487),un=y(82855),De=y(48755),he=y(60840),ce=y(2171),Te=y(83397),je=y(31756),ge=y(56553),Pe=y(24971),ct=y(70045),$t=y(36237),gt=y(53075),yt=y(64910),Dt=y(39082),Pt=y(63356),Wt=y(56119),pn=y(16931),fn=y(51636),Mt=y(17835);const Ln=Ct=>{var pt;const de=(pt=Ct.handleVisible)!==null&&pt!==void 0?pt:"auto",qt=Ct.controlHeightSM-Ct.lineWidth*2;return Object.assign(Object.assign({},(0,yt.T)(Ct)),{controlWidth:90,handleWidth:qt,handleFontSize:Ct.fontSize/2,handleVisible:de,handleActiveBg:Ct.colorFillAlter,handleBg:Ct.colorBgContainer,filledHandleBg:new Mt.FastColor(Ct.colorFillSecondary).onBackground(Ct.colorBgContainer).toHexString(),handleHoverColor:Ct.colorPrimary,handleBorderColor:Ct.colorBorder,handleOpacity:de===!0?1:0,handleVisibleWidth:de===!0?qt:0})},kn=(Ct,pt)=>{let{componentCls:de,borderRadiusSM:qt,borderRadiusLG:Dn}=Ct;const mn=pt==="lg"?Dn:qt;return{[`&-${pt}`]:{[`${de}-handler-wrap`]:{borderStartEndRadius:mn,borderEndEndRadius:mn},[`${de}-handler-up`]:{borderStartEndRadius:mn},[`${de}-handler-down`]:{borderEndEndRadius:mn}}}},wn=Ct=>{const{componentCls:pt,lineWidth:de,lineType:qt,borderRadius:Dn,inputFontSizeSM:mn,inputFontSizeLG:vr,controlHeightLG:yr,controlHeightSM:ar,colorError:Er,paddingInlineSM:wt,paddingBlockSM:Qn,paddingBlockLG:lr,paddingInlineLG:cr,colorTextDescription:Yn,motionDurationMid:Sr,handleHoverColor:br,handleOpacity:Nr,paddingInline:Jr,paddingBlock:$r,handleBg:Ur,handleActiveBg:aa,colorTextDisabled:Hr,borderRadiusSM:pa,borderRadiusLG:ea,controlWidth:jn,handleBorderColor:sr,filledHandleBg:Kr,lineHeightLG:zr,calc:ve}=Ct;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),(0,gt.ik)(Ct)),{display:"inline-block",width:jn,margin:0,padding:0,borderRadius:Dn}),(0,Dt.qG)(Ct,{[`${pt}-handler-wrap`]:{background:Ur,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}}})),(0,Dt.H8)(Ct,{[`${pt}-handler-wrap`]:{background:Kr,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}},"&:focus-within":{[`${pt}-handler-wrap`]:{background:Ur}}})),(0,Dt.vc)(Ct,{[`${pt}-handler-wrap`]:{background:Ur,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}}})),(0,Dt.Mu)(Ct)),{"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:vr,lineHeight:zr,borderRadius:ea,[`input${pt}-input`]:{height:ve(yr).sub(ve(de).mul(2)).equal(),padding:`${(0,$t.unit)(lr)} ${(0,$t.unit)(cr)}`}},"&-sm":{padding:0,fontSize:mn,borderRadius:pa,[`input${pt}-input`]:{height:ve(ar).sub(ve(de).mul(2)).equal(),padding:`${(0,$t.unit)(Qn)} ${(0,$t.unit)(wt)}`}},"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Er}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),(0,gt.s7)(Ct)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:ea,fontSize:Ct.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:pa}}},(0,Dt.ir)(Ct)),(0,Dt.S5)(Ct)),{[`&:not(${pt}-compact-first-item):not(${pt}-compact-last-item)${pt}-compact-item`]:{[`${pt}, ${pt}-group-addon`]:{borderRadius:0}},[`&:not(${pt}-compact-last-item)${pt}-compact-first-item`]:{[`${pt}, ${pt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${pt}-compact-first-item)${pt}-compact-last-item`]:{[`${pt}, ${pt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),{width:"100%",padding:`${(0,$t.unit)($r)} ${(0,$t.unit)(Jr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Dn,outline:0,transition:`all ${Sr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,gt.nz)(Ct.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{width:Ct.handleWidth,opacity:1}})},{[pt]:Object.assign(Object.assign(Object.assign({[`${pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Ct.handleVisibleWidth,opacity:Nr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Dn,borderEndEndRadius:Dn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Sr}`,overflow:"hidden",[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${pt}-handler-up-inner,
|
|
|
${pt}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:Ct.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:Yn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,$t.unit)(de)} ${qt} ${sr}`,transition:`all ${Sr} linear`,"&:active":{background:aa},"&:hover":{height:"60%",[`
|
|
|
${pt}-handler-up-inner,
|
|
|
${pt}-handler-down-inner
|
|
|
`]:{color:br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Pt.Ro)()),{color:Yn,transition:`all ${Sr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Dn},[`${pt}-handler-down`]:{borderEndEndRadius:Dn}},kn(Ct,"lg")),kn(Ct,"sm")),{"&-disabled, &-readonly":{[`${pt}-handler-wrap`]:{display:"none"},[`${pt}-input`]:{color:"inherit"}},[`
|
|
|
${pt}-handler-up-disabled,
|
|
|
${pt}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${pt}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${pt}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:Hr}})}]},ln=Ct=>{const{componentCls:pt,paddingBlock:de,paddingInline:qt,inputAffixPadding:Dn,controlWidth:mn,borderRadiusLG:vr,borderRadiusSM:yr,paddingInlineLG:ar,paddingInlineSM:Er,paddingBlockLG:wt,paddingBlockSM:Qn,motionDurationMid:lr}=Ct;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign({[`input${pt}-input`]:{padding:`${(0,$t.unit)(de)} 0`}},(0,gt.ik)(Ct)),{position:"relative",display:"inline-flex",alignItems:"center",width:mn,padding:0,paddingInlineStart:qt,"&-lg":{borderRadius:vr,paddingInlineStart:ar,[`input${pt}-input`]:{padding:`${(0,$t.unit)(wt)} 0`}},"&-sm":{borderRadius:yr,paddingInlineStart:Er,[`input${pt}-input`]:{padding:`${(0,$t.unit)(Qn)} 0`}},[`&:not(${pt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${pt}-disabled`]:{background:"transparent"},[`> div${pt}`]:{width:"100%",border:"none",outline:"none",[`&${pt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${pt}-handler-wrap`]:{zIndex:2},[pt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Dn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:qt,marginInlineStart:Dn,transition:`margin ${lr}`}},[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{width:Ct.handleWidth,opacity:1},[`&:not(${pt}-affix-wrapper-without-controls):hover ${pt}-suffix`]:{marginInlineEnd:Ct.calc(Ct.handleWidth).add(qt).equal()}})}};var In=(0,pn.I$)("InputNumber",Ct=>{const pt=(0,fn.mergeToken)(Ct,(0,yt.e)(Ct));return[wn(pt),ln(pt),(0,Wt.c)(pt)]},Ln,{unitless:{handleOpacity:!0}}),xn=function(Ct,pt){var de={};for(var qt in Ct)Object.prototype.hasOwnProperty.call(Ct,qt)&&pt.indexOf(qt)<0&&(de[qt]=Ct[qt]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dn=0,qt=Object.getOwnPropertySymbols(Ct);Dn<qt.length;Dn++)pt.indexOf(qt[Dn])<0&&Object.prototype.propertyIsEnumerable.call(Ct,qt[Dn])&&(de[qt[Dn]]=Ct[qt[Dn]]);return de};const kt=b.forwardRef((Ct,pt)=>{const{getPrefixCls:de,direction:qt}=b.useContext(De.E_),Dn=b.useRef(null);b.useImperativeHandle(pt,()=>Dn.current);const{className:mn,rootClassName:vr,size:yr,disabled:ar,prefixCls:Er,addonBefore:wt,addonAfter:Qn,prefix:lr,suffix:cr,bordered:Yn,readOnly:Sr,status:br,controls:Nr,variant:Jr}=Ct,$r=xn(Ct,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Ur=de("input-number",Er),aa=(0,Te.Z)(Ur),[Hr,pa,ea]=In(Ur,aa),{compactSize:jn,compactItemClassnames:sr}=(0,ct.ri)(Ur,qt);let Kr=b.createElement(le.Z,{className:`${Ur}-handler-up-inner`}),zr=b.createElement(me.Z,{className:`${Ur}-handler-down-inner`});const ve=typeof Nr=="boolean"?Nr:void 0;typeof Nr=="object"&&(Kr=typeof Nr.upIcon=="undefined"?Kr:b.createElement("span",{className:`${Ur}-handler-up-inner`},Nr.upIcon),zr=typeof Nr.downIcon=="undefined"?zr:b.createElement("span",{className:`${Ur}-handler-down-inner`},Nr.downIcon));const{hasFeedback:Ie,status:ut,isFormItemInput:Le,feedbackIcon:He}=b.useContext(ge.aM),Vt=(0,un.F)(ut,br),et=(0,je.Z)(Bt=>{var rr;return(rr=yr!=null?yr:jn)!==null&&rr!==void 0?rr:Bt}),en=b.useContext(ce.Z),cn=ar!=null?ar:en,[Xt,an]=(0,Pe.Z)("inputNumber",Jr,Yn),Kt=Ie&&b.createElement(b.Fragment,null,He),nn=be()({[`${Ur}-lg`]:et==="large",[`${Ur}-sm`]:et==="small",[`${Ur}-rtl`]:qt==="rtl",[`${Ur}-in-form-item`]:Le},pa),rt=`${Ur}-group`,Jn=b.createElement(Ht,Object.assign({ref:Dn,disabled:cn,className:be()(ea,aa,mn,vr,sr),upHandler:Kr,downHandler:zr,prefixCls:Ur,readOnly:Sr,controls:ve,prefix:lr,suffix:Kt||cr,addonBefore:wt&&b.createElement(gn.Z,{form:!0,space:!0},wt),addonAfter:Qn&&b.createElement(gn.Z,{form:!0,space:!0},Qn),classNames:{input:nn,variant:be()({[`${Ur}-${Xt}`]:an},(0,un.Z)(Ur,Vt,Ie)),affixWrapper:be()({[`${Ur}-affix-wrapper-sm`]:et==="small",[`${Ur}-affix-wrapper-lg`]:et==="large",[`${Ur}-affix-wrapper-rtl`]:qt==="rtl",[`${Ur}-affix-wrapper-without-controls`]:Nr===!1||cn},pa),wrapper:be()({[`${rt}-rtl`]:qt==="rtl"},pa),groupWrapper:be()({[`${Ur}-group-wrapper-sm`]:et==="small",[`${Ur}-group-wrapper-lg`]:et==="large",[`${Ur}-group-wrapper-rtl`]:qt==="rtl",[`${Ur}-group-wrapper-${Xt}`]:an},(0,un.Z)(`${Ur}-group-wrapper`,Vt,Ie),pa)}},$r));return Hr(Jn)}),Yt=kt,Ft=Ct=>b.createElement(he.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(kt,Object.assign({},Ct)));Yt._InternalPanelDoNotUseOrYouWillBeFired=Ft;var vn=Yt},49397:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return ze}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(36901),be=y(8654),fe=y(62487),we=y(86013),Oe=y(82855),Re=y(48755),xe=y(2171),Ge=y(83397),Fe=y(31756),At=y(56553),at=y(24971),tt=y(70045),Je=y(23826),We=y(53075);function Ve(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Ze=function(_e,$e){var nt={};for(var bt in _e)Object.prototype.hasOwnProperty.call(_e,bt)&&$e.indexOf(bt)<0&&(nt[bt]=_e[bt]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,bt=Object.getOwnPropertySymbols(_e);it<bt.length;it++)$e.indexOf(bt[it])<0&&Object.prototype.propertyIsEnumerable.call(_e,bt[it])&&(nt[bt[it]]=_e[bt[it]]);return nt},ze=(0,b.forwardRef)((_e,$e)=>{const{prefixCls:nt,bordered:bt=!0,status:it,size:Nt,disabled:vt,onBlur:dt,onFocus:It,suffix:St,allowClear:qe,addonAfter:Jt,addonBefore:Rt,className:Zt,style:Tn,styles:Tt,rootClassName:Ye,onChange:Se,classNames:Qt,variant:on}=_e,st=Ze(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ut,direction:Gt,allowClear:On,autoComplete:ft,className:En,style:Ht,classNames:gn,styles:un}=(0,Re.dj)("input"),De=Ut("input",nt),he=(0,b.useRef)(null),ce=(0,Ge.Z)(De),[Te,je,ge]=(0,We.TI)(De,Ye),[Pe]=(0,We.ZP)(De,ce),{compactSize:ct,compactItemClassnames:$t}=(0,tt.ri)(De,Gt),gt=(0,Fe.Z)(vn=>{var Ct;return(Ct=Nt!=null?Nt:ct)!==null&&Ct!==void 0?Ct:vn}),yt=b.useContext(xe.Z),Dt=vt!=null?vt:yt,{status:Pt,hasFeedback:Wt,feedbackIcon:pn}=(0,b.useContext)(At.aM),fn=(0,Oe.F)(Pt,it),Mt=Ve(_e)||!!Wt,Ln=(0,b.useRef)(Mt),kn=(0,Je.Z)(he,!0),wn=vn=>{kn(),dt==null||dt(vn)},ln=vn=>{kn(),It==null||It(vn)},In=vn=>{kn(),Se==null||Se(vn)},xn=(Wt||St)&&b.createElement(b.Fragment,null,St,Wt&&pn),kt=(0,we.Z)(qe!=null?qe:On),[Yt,Ft]=(0,at.Z)("input",on,bt);return Te(Pe(b.createElement(pe.default,Object.assign({ref:(0,be.sQ)($e,he),prefixCls:De,autoComplete:ft},st,{disabled:Dt,onBlur:wn,onFocus:ln,style:Object.assign(Object.assign({},Ht),Tn),styles:Object.assign(Object.assign({},un),Tt),suffix:xn,allowClear:kt,className:le()(Zt,Ye,ge,ce,$t,En),onChange:In,addonBefore:Rt&&b.createElement(fe.Z,{form:!0,space:!0},Rt),addonAfter:Jt&&b.createElement(fe.Z,{form:!0,space:!0},Jt),classNames:Object.assign(Object.assign(Object.assign({},Qt),gn),{input:le()({[`${De}-sm`]:gt==="small",[`${De}-lg`]:gt==="large",[`${De}-rtl`]:Gt==="rtl"},Qt==null?void 0:Qt.input,gn.input,je),variant:le()({[`${De}-${Yt}`]:Ft},(0,Oe.Z)(De,fn)),affixWrapper:le()({[`${De}-affix-wrapper-sm`]:gt==="small",[`${De}-affix-wrapper-lg`]:gt==="large",[`${De}-affix-wrapper-rtl`]:Gt==="rtl"},je),wrapper:le()({[`${De}-group-rtl`]:Gt==="rtl"},je),groupWrapper:le()({[`${De}-group-wrapper-sm`]:gt==="small",[`${De}-group-wrapper-lg`]:gt==="large",[`${De}-group-wrapper-rtl`]:Gt==="rtl",[`${De}-group-wrapper-${Yt}`]:Ft},(0,Oe.Z)(`${De}-group-wrapper`,fn,Wt),je)})}))))})},79809:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $e}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(22711),be=y(86013),fe=y(82855),we=y(48755),Oe=y(2171),Re=y(83397),xe=y(31756),Ge=y(56553),Fe=y(24971),At=y(70045),at=y(30292),tt=y(53075),Je=y(16931),We=y(51636),Ve=y(64910);const Ze=nt=>{const{componentCls:bt,paddingLG:it}=nt,Nt=`${bt}-textarea`;return{[`textarea${bt}`]:{maxWidth:"100%",height:"auto",minHeight:nt.controlHeight,lineHeight:nt.lineHeight,verticalAlign:"bottom",transition:`all ${nt.motionDurationSlow}`,resize:"vertical",[`&${bt}-mouse-active`]:{transition:`all ${nt.motionDurationSlow}, height 0s, width 0s`}},[`${bt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Nt]:{position:"relative","&-show-count":{[`> ${bt}`]:{height:"100%"},[`${bt}-data-count`]:{position:"absolute",bottom:nt.calc(nt.fontSize).mul(nt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:nt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${bt},
|
|
|
&-affix-wrapper${Nt}-has-feedback ${bt}
|
|
|
`]:{paddingInlineEnd:it},[`&-affix-wrapper${bt}-affix-wrapper`]:{padding:0,[`> textarea${bt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:nt.calc(nt.controlHeight).sub(nt.calc(nt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${bt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${bt}-clear-icon`]:{position:"absolute",insetInlineEnd:nt.paddingInline,insetBlockStart:nt.paddingXS},[`${Nt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:nt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${bt}-affix-wrapper-sm`]:{[`${bt}-suffix`]:{[`${bt}-clear-icon`]:{insetInlineEnd:nt.paddingInlineSM}}}}}};var Qe=(0,Je.I$)(["Input","TextArea"],nt=>{const bt=(0,We.mergeToken)(nt,(0,Ve.e)(nt));return[Ze(bt)]},Ve.T,{resetFont:!1}),ze=function(nt,bt){var it={};for(var Nt in nt)Object.prototype.hasOwnProperty.call(nt,Nt)&&bt.indexOf(Nt)<0&&(it[Nt]=nt[Nt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,Nt=Object.getOwnPropertySymbols(nt);vt<Nt.length;vt++)bt.indexOf(Nt[vt])<0&&Object.prototype.propertyIsEnumerable.call(nt,Nt[vt])&&(it[Nt[vt]]=nt[Nt[vt]]);return it},$e=(0,b.forwardRef)((nt,bt)=>{var it;const{prefixCls:Nt,bordered:vt=!0,size:dt,disabled:It,status:St,allowClear:qe,classNames:Jt,rootClassName:Rt,className:Zt,style:Tn,styles:Tt,variant:Ye,showCount:Se,onMouseDown:Qt,onResize:on}=nt,st=ze(nt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ut,direction:Gt,allowClear:On,autoComplete:ft,className:En,style:Ht,classNames:gn,styles:un}=(0,we.dj)("textArea"),De=b.useContext(Oe.Z),he=It!=null?It:De,{status:ce,hasFeedback:Te,feedbackIcon:je}=b.useContext(Ge.aM),ge=(0,fe.F)(ce,St),Pe=b.useRef(null);b.useImperativeHandle(bt,()=>{var Ft;return{resizableTextArea:(Ft=Pe.current)===null||Ft===void 0?void 0:Ft.resizableTextArea,focus:vn=>{var Ct,pt;(0,at.nH)((pt=(Ct=Pe.current)===null||Ct===void 0?void 0:Ct.resizableTextArea)===null||pt===void 0?void 0:pt.textArea,vn)},blur:()=>{var vn;return(vn=Pe.current)===null||vn===void 0?void 0:vn.blur()}}});const ct=Ut("input",Nt),$t=(0,Re.Z)(ct),[gt,yt,Dt]=(0,tt.TI)(ct,Rt),[Pt]=Qe(ct,$t),{compactSize:Wt,compactItemClassnames:pn}=(0,At.ri)(ct,Gt),fn=(0,xe.Z)(Ft=>{var vn;return(vn=dt!=null?dt:Wt)!==null&&vn!==void 0?vn:Ft}),[Mt,Ln]=(0,Fe.Z)("textArea",Ye,vt),kn=(0,be.Z)(qe!=null?qe:On),[wn,ln]=b.useState(!1),[In,xn]=b.useState(!1),kt=Ft=>{ln(!0),Qt==null||Qt(Ft);const vn=()=>{ln(!1),document.removeEventListener("mouseup",vn)};document.addEventListener("mouseup",vn)},Yt=Ft=>{var vn,Ct;if(on==null||on(Ft),wn&&typeof getComputedStyle=="function"){const pt=(Ct=(vn=Pe.current)===null||vn===void 0?void 0:vn.nativeElement)===null||Ct===void 0?void 0:Ct.querySelector("textarea");pt&&getComputedStyle(pt).resize==="both"&&xn(!0)}};return gt(Pt(b.createElement(pe.default,Object.assign({autoComplete:ft},st,{style:Object.assign(Object.assign({},Ht),Tn),styles:Object.assign(Object.assign({},un),Tt),disabled:he,allowClear:kn,className:le()(Dt,$t,Zt,Rt,pn,En,In&&`${ct}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Jt),gn),{textarea:le()({[`${ct}-sm`]:fn==="small",[`${ct}-lg`]:fn==="large"},yt,Jt==null?void 0:Jt.textarea,gn.textarea,wn&&`${ct}-mouse-active`),variant:le()({[`${ct}-${Mt}`]:Ln},(0,fe.Z)(ct,ge)),affixWrapper:le()(`${ct}-textarea-affix-wrapper`,{[`${ct}-affix-wrapper-rtl`]:Gt==="rtl",[`${ct}-affix-wrapper-sm`]:fn==="small",[`${ct}-affix-wrapper-lg`]:fn==="large",[`${ct}-textarea-show-count`]:Se||((it=nt.count)===null||it===void 0?void 0:it.show)},yt)}),prefixCls:ct,suffix:Te&&b.createElement("span",{className:`${ct}-textarea-suffix`},je),showCount:Se,ref:Pe,onResize:Yt,onMouseDown:kt}))))})},23826:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(59301);function me(le,pe){const be=(0,b.useRef)([]),fe=()=>{be.current.push(setTimeout(()=>{var we,Oe,Re,xe;!((we=le.current)===null||we===void 0)&&we.input&&((Oe=le.current)===null||Oe===void 0?void 0:Oe.input.getAttribute("type"))==="password"&&(!((Re=le.current)===null||Re===void 0)&&Re.input.hasAttribute("value"))&&((xe=le.current)===null||xe===void 0||xe.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(pe&&fe(),()=>be.current.forEach(we=>{we&&clearTimeout(we)})),[]),fe}},37568:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return gn}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(48755),be=y(56553),fe=y(53075),Oe=un=>{const{getPrefixCls:De,direction:he}=(0,b.useContext)(pe.E_),{prefixCls:ce,className:Te}=un,je=De("input-group",ce),ge=De("input"),[Pe,ct,$t]=(0,fe.ZP)(ge),gt=le()(je,$t,{[`${je}-lg`]:un.size==="large",[`${je}-sm`]:un.size==="small",[`${je}-compact`]:un.compact,[`${je}-rtl`]:he==="rtl"},ct,Te),yt=(0,b.useContext)(be.aM),Dt=(0,b.useMemo)(()=>Object.assign(Object.assign({},yt),{isFormItemInput:!1}),[yt]);return Pe(b.createElement("span",{className:gt,style:un.style,onMouseEnter:un.onMouseEnter,onMouseLeave:un.onMouseLeave,onFocus:un.onFocus,onBlur:un.onBlur},b.createElement(be.aM.Provider,{value:Dt},un.children)))},Re=y(49397),xe=y(77654),Ge=y(6089),Fe=y(26112),At=y(82855),at=y(31756),tt=y(16931),Je=y(51636),We=y(64910);const Ve=un=>{const{componentCls:De,paddingXS:he}=un;return{[De]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:he,"&-rtl":{direction:"rtl"},[`${De}-input`]:{textAlign:"center",paddingInline:un.paddingXXS},[`&${De}-sm ${De}-input`]:{paddingInline:un.calc(un.paddingXXS).div(2).equal()},[`&${De}-lg ${De}-input`]:{paddingInline:un.paddingXS}}}};var Ze=(0,tt.I$)(["Input","OTP"],un=>{const De=(0,Je.mergeToken)(un,(0,We.e)(un));return[Ve(De)]},We.T),Qe=y(16089),ze=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te<ce.length;Te++)De.indexOf(ce[Te])<0&&Object.prototype.propertyIsEnumerable.call(un,ce[Te])&&(he[ce[Te]]=un[ce[Te]]);return he},$e=b.forwardRef((un,De)=>{const{value:he,onChange:ce,onActiveChange:Te,index:je,mask:ge}=un,Pe=ze(un,["value","onChange","onActiveChange","index","mask"]),ct=he&&typeof ge=="string"?ge:he,$t=Wt=>{ce(je,Wt.target.value)},gt=b.useRef(null);b.useImperativeHandle(De,()=>gt.current);const yt=()=>{(0,Qe.Z)(()=>{var Wt;const pn=(Wt=gt.current)===null||Wt===void 0?void 0:Wt.input;document.activeElement===pn&&pn&&pn.select()})},Dt=Wt=>{const{key:pn,ctrlKey:fn,metaKey:Mt}=Wt;pn==="ArrowLeft"?Te(je-1):pn==="ArrowRight"?Te(je+1):pn==="z"&&(fn||Mt)&&Wt.preventDefault(),yt()},Pt=Wt=>{Wt.key==="Backspace"&&!he&&Te(je-1),yt()};return b.createElement(Re.Z,Object.assign({type:ge===!0?"password":"text"},Pe,{ref:gt,value:ct,onInput:$t,onFocus:yt,onKeyDown:Dt,onKeyUp:Pt,onMouseDown:yt,onMouseUp:yt}))}),nt=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te<ce.length;Te++)De.indexOf(ce[Te])<0&&Object.prototype.propertyIsEnumerable.call(un,ce[Te])&&(he[ce[Te]]=un[ce[Te]]);return he};function bt(un){return(un||"").split("")}const it=un=>{const{index:De,prefixCls:he,separator:ce}=un,Te=typeof ce=="function"?ce(De):ce;return Te?b.createElement("span",{className:`${he}-separator`},Te):null};var vt=b.forwardRef((un,De)=>{const{prefixCls:he,length:ce=6,size:Te,defaultValue:je,value:ge,onChange:Pe,formatter:ct,separator:$t,variant:gt,disabled:yt,status:Dt,autoFocus:Pt,mask:Wt,type:pn,onInput:fn,inputMode:Mt}=un,Ln=nt(un,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:kn,direction:wn}=b.useContext(pe.E_),ln=kn("otp",he),In=(0,Fe.Z)(Ln,{aria:!0,data:!0,attr:!0}),[xn,kt,Yt]=Ze(ln),Ft=(0,at.Z)(lr=>Te!=null?Te:lr),vn=b.useContext(be.aM),Ct=(0,At.F)(vn.status,Dt),pt=b.useMemo(()=>Object.assign(Object.assign({},vn),{status:Ct,hasFeedback:!1,feedbackIcon:null}),[vn,Ct]),de=b.useRef(null),qt=b.useRef({});b.useImperativeHandle(De,()=>({focus:()=>{var lr;(lr=qt.current[0])===null||lr===void 0||lr.focus()},blur:()=>{var lr;for(let cr=0;cr<ce;cr+=1)(lr=qt.current[cr])===null||lr===void 0||lr.blur()},nativeElement:de.current}));const Dn=lr=>ct?ct(lr):lr,[mn,vr]=b.useState(()=>bt(Dn(je||"")));b.useEffect(()=>{ge!==void 0&&vr(bt(ge))},[ge]);const yr=(0,Ge.Z)(lr=>{vr(lr),fn&&fn(lr),Pe&&lr.length===ce&&lr.every(cr=>cr)&&lr.some((cr,Yn)=>mn[Yn]!==cr)&&Pe(lr.join(""))}),ar=(0,Ge.Z)((lr,cr)=>{let Yn=(0,xe.Z)(mn);for(let br=0;br<lr;br+=1)Yn[br]||(Yn[br]="");cr.length<=1?Yn[lr]=cr:Yn=Yn.slice(0,lr).concat(bt(cr)),Yn=Yn.slice(0,ce);for(let br=Yn.length-1;br>=0&&!Yn[br];br-=1)Yn.pop();const Sr=Dn(Yn.map(br=>br||" ").join(""));return Yn=bt(Sr).map((br,Nr)=>br===" "&&!Yn[Nr]?Yn[Nr]:br),Yn}),Er=(lr,cr)=>{var Yn;const Sr=ar(lr,cr),br=Math.min(lr+cr.length,ce-1);br!==lr&&Sr[lr]!==void 0&&((Yn=qt.current[br])===null||Yn===void 0||Yn.focus()),yr(Sr)},wt=lr=>{var cr;(cr=qt.current[lr])===null||cr===void 0||cr.focus()},Qn={variant:gt,disabled:yt,status:Ct,mask:Wt,type:pn,inputMode:Mt};return xn(b.createElement("div",Object.assign({},In,{ref:de,className:le()(ln,{[`${ln}-sm`]:Ft==="small",[`${ln}-lg`]:Ft==="large",[`${ln}-rtl`]:wn==="rtl"},Yt,kt)}),b.createElement(be.aM.Provider,{value:pt},Array.from({length:ce}).map((lr,cr)=>{const Yn=`otp-${cr}`,Sr=mn[cr]||"";return b.createElement(b.Fragment,{key:Yn},b.createElement($e,Object.assign({ref:br=>{qt.current[cr]=br},index:cr,size:Ft,htmlSize:1,className:`${ln}-input`,onChange:Er,value:Sr,onActiveChange:wt,autoFocus:cr===0&&Pt},Qn)),cr<ce-1&&b.createElement(it,{separator:$t,index:cr,prefixCls:ln}))}))))}),dt=y(73331),It=y(15277),St=y(2738),qe=y(8654),Jt=y(2171),Rt=y(23826),Zt=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te<ce.length;Te++)De.indexOf(ce[Te])<0&&Object.prototype.propertyIsEnumerable.call(un,ce[Te])&&(he[ce[Te]]=un[ce[Te]]);return he};const Tn=un=>un?b.createElement(It.Z,null):b.createElement(dt.Z,null),Tt={click:"onClick",hover:"onMouseOver"};var Se=b.forwardRef((un,De)=>{const{disabled:he,action:ce="click",visibilityToggle:Te=!0,iconRender:je=Tn}=un,ge=b.useContext(Jt.Z),Pe=he!=null?he:ge,ct=typeof Te=="object"&&Te.visible!==void 0,[$t,gt]=(0,b.useState)(()=>ct?Te.visible:!1),yt=(0,b.useRef)(null);b.useEffect(()=>{ct&>(Te.visible)},[ct,Te]);const Dt=(0,Rt.Z)(yt),Pt=()=>{var Ft;if(Pe)return;$t&&Dt();const vn=!$t;gt(vn),typeof Te=="object"&&((Ft=Te.onVisibleChange)===null||Ft===void 0||Ft.call(Te,vn))},Wt=Ft=>{const vn=Tt[ce]||"",Ct=je($t),pt={[vn]:Pt,className:`${Ft}-icon`,key:"passwordIcon",onMouseDown:de=>{de.preventDefault()},onMouseUp:de=>{de.preventDefault()}};return b.cloneElement(b.isValidElement(Ct)?Ct:b.createElement("span",null,Ct),pt)},{className:pn,prefixCls:fn,inputPrefixCls:Mt,size:Ln}=un,kn=Zt(un,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:wn}=b.useContext(pe.E_),ln=wn("input",Mt),In=wn("input-password",fn),xn=Te&&Wt(In),kt=le()(In,pn,{[`${In}-${Ln}`]:!!Ln}),Yt=Object.assign(Object.assign({},(0,St.Z)(kn,["suffix","iconRender","visibilityToggle"])),{type:$t?"text":"password",className:kt,prefixCls:ln,suffix:xn});return Ln&&(Yt.size=Ln),b.createElement(Re.Z,Object.assign({ref:(0,qe.sQ)(De,yt)},Yt))}),Qt=y(47472),on=y(22703),st=y(7939),Ut=y(70045),Gt=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te<ce.length;Te++)De.indexOf(ce[Te])<0&&Object.prototype.propertyIsEnumerable.call(un,ce[Te])&&(he[ce[Te]]=un[ce[Te]]);return he},ft=b.forwardRef((un,De)=>{const{prefixCls:he,inputPrefixCls:ce,className:Te,size:je,suffix:ge,enterButton:Pe=!1,addonAfter:ct,loading:$t,disabled:gt,onSearch:yt,onChange:Dt,onCompositionStart:Pt,onCompositionEnd:Wt}=un,pn=Gt(un,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:fn,direction:Mt}=b.useContext(pe.E_),Ln=b.useRef(!1),kn=fn("input-search",he),wn=fn("input",ce),{compactSize:ln}=(0,Ut.ri)(kn,Mt),In=(0,at.Z)(Er=>{var wt;return(wt=je!=null?je:ln)!==null&&wt!==void 0?wt:Er}),xn=b.useRef(null),kt=Er=>{Er!=null&&Er.target&&Er.type==="click"&&yt&&yt(Er.target.value,Er,{source:"clear"}),Dt==null||Dt(Er)},Yt=Er=>{var wt;document.activeElement===((wt=xn.current)===null||wt===void 0?void 0:wt.input)&&Er.preventDefault()},Ft=Er=>{var wt,Qn;yt&&yt((Qn=(wt=xn.current)===null||wt===void 0?void 0:wt.input)===null||Qn===void 0?void 0:Qn.value,Er,{source:"input"})},vn=Er=>{Ln.current||$t||Ft(Er)},Ct=typeof Pe=="boolean"?b.createElement(Qt.Z,null):null,pt=`${kn}-button`;let de;const qt=Pe||{},Dn=qt.type&&qt.type.__ANT_BUTTON===!0;Dn||qt.type==="button"?de=(0,on.Tm)(qt,Object.assign({onMouseDown:Yt,onClick:Er=>{var wt,Qn;(Qn=(wt=qt==null?void 0:qt.props)===null||wt===void 0?void 0:wt.onClick)===null||Qn===void 0||Qn.call(wt,Er),Ft(Er)},key:"enterButton"},Dn?{className:pt,size:In}:{})):de=b.createElement(st.ZP,{className:pt,type:Pe?"primary":void 0,size:In,disabled:gt,key:"enterButton",onMouseDown:Yt,onClick:Ft,loading:$t,icon:Ct},Pe),ct&&(de=[de,(0,on.Tm)(ct,{key:"addonAfter"})]);const mn=le()(kn,{[`${kn}-rtl`]:Mt==="rtl",[`${kn}-${In}`]:!!In,[`${kn}-with-button`]:!!Pe},Te),vr=Object.assign(Object.assign({},pn),{className:mn,prefixCls:wn,type:"search"}),yr=Er=>{Ln.current=!0,Pt==null||Pt(Er)},ar=Er=>{Ln.current=!1,Wt==null||Wt(Er)};return b.createElement(Re.Z,Object.assign({ref:(0,qe.sQ)(xn,De),onPressEnter:vn},vr,{size:In,onCompositionStart:yr,onCompositionEnd:ar,addonAfter:de,suffix:ge,onChange:kt,disabled:gt}))}),En=y(79809);const Ht=Re.Z;Ht.Group=Oe,Ht.Search=ft,Ht.TextArea=En.Z,Ht.Password=Se,Ht.OTP=vt;var gn=Ht},24303:function(Ce,ae,y){"use strict";y.d(ae,{D:function(){return nt},Z:function(){return Nt}});var b=y(59301),me=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},pe=le,be=y(7657),fe=function(dt,It){return b.createElement(be.Z,(0,me.Z)({},dt,{ref:It,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(33853),xe=y(38819),Ge=y(92310),Fe=y.n(Ge),At=y(2738),at=y(48755),tt=y(6989),Je=y(36237),We=y(48923),Ve=y(16931);const Ze=vt=>{const{componentCls:dt,siderBg:It,motionDurationMid:St,motionDurationSlow:qe,antCls:Jt,triggerHeight:Rt,triggerColor:Zt,triggerBg:Tn,headerHeight:Tt,zeroTriggerWidth:Ye,zeroTriggerHeight:Se,borderRadiusLG:Qt,lightSiderBg:on,lightTriggerColor:st,lightTriggerBg:Ut,bodyBg:Gt}=vt;return{[dt]:{position:"relative",minWidth:0,background:It,transition:`all ${St}, background 0s`,"&-has-trigger":{paddingBottom:Rt},"&-right":{order:1},[`${dt}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Jt}-menu${Jt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${dt}-children`]:{overflow:"hidden"},[`${dt}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Rt,color:Zt,lineHeight:(0,Je.unit)(Rt),textAlign:"center",background:Tn,cursor:"pointer",transition:`all ${St}`},[`${dt}-zero-width-trigger`]:{position:"absolute",top:Tt,insetInlineEnd:vt.calc(Ye).mul(-1).equal(),zIndex:1,width:Ye,height:Se,color:Zt,fontSize:vt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:It,borderRadius:`0 ${(0,Je.unit)(Qt)} ${(0,Je.unit)(Qt)} 0`,cursor:"pointer",transition:`background ${qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:vt.calc(Ye).mul(-1).equal(),borderRadius:`${(0,Je.unit)(Qt)} 0 0 ${(0,Je.unit)(Qt)}`}},"&-light":{background:on,[`${dt}-trigger`]:{color:st,background:Ut},[`${dt}-zero-width-trigger`]:{color:st,background:Ut,border:`1px solid ${Gt}`,borderInlineStart:0}}}}};var Qe=(0,Ve.I$)(["Layout","Sider"],vt=>[Ze(vt)],We.eh,{deprecatedTokens:We.jn}),ze=function(vt,dt){var It={};for(var St in vt)Object.prototype.hasOwnProperty.call(vt,St)&&dt.indexOf(St)<0&&(It[St]=vt[St]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,St=Object.getOwnPropertySymbols(vt);qe<St.length;qe++)dt.indexOf(St[qe])<0&&Object.prototype.propertyIsEnumerable.call(vt,St[qe])&&(It[St[qe]]=vt[St[qe]]);return It};const _e={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$e=vt=>!Number.isNaN(Number.parseFloat(vt))&&isFinite(vt),nt=b.createContext({}),bt=(()=>{let vt=0;return function(){let dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return vt+=1,`${dt}${vt}`}})();var Nt=b.forwardRef((vt,dt)=>{const{prefixCls:It,className:St,trigger:qe,children:Jt,defaultCollapsed:Rt=!1,theme:Zt="dark",style:Tn={},collapsible:Tt=!1,reverseArrow:Ye=!1,width:Se=200,collapsedWidth:Qt=80,zeroWidthTriggerStyle:on,breakpoint:st,onCollapse:Ut,onBreakpoint:Gt}=vt,On=ze(vt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,b.useContext)(tt.V),[En,Ht]=(0,b.useState)("collapsed"in vt?vt.collapsed:Rt),[gn,un]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in vt&&Ht(vt.collapsed)},[vt.collapsed]);const De=(In,xn)=>{"collapsed"in vt||Ht(In),Ut==null||Ut(In,xn)},{getPrefixCls:he,direction:ce}=(0,b.useContext)(at.E_),Te=he("layout-sider",It),[je,ge,Pe]=Qe(Te),ct=(0,b.useRef)(null);ct.current=In=>{un(In.matches),Gt==null||Gt(In.matches),En!==In.matches&&De(In.matches,"responsive")},(0,b.useEffect)(()=>{function In(kt){return ct.current(kt)}let xn;if(typeof window!="undefined"){const{matchMedia:kt}=window;if(kt&&st&&st in _e){xn=kt(`screen and (max-width: ${_e[st]})`);try{xn.addEventListener("change",In)}catch(Yt){xn.addListener(In)}In(xn)}}return()=>{try{xn==null||xn.removeEventListener("change",In)}catch(kt){xn==null||xn.removeListener(In)}}},[st]),(0,b.useEffect)(()=>{const In=bt("ant-sider-");return ft.addSider(In),()=>ft.removeSider(In)},[]);const $t=()=>{De(!En,"clickTrigger")},gt=(0,At.Z)(On,["collapsed"]),yt=En?Qt:Se,Dt=$e(yt)?`${yt}px`:String(yt),Pt=parseFloat(String(Qt||0))===0?b.createElement("span",{onClick:$t,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${Ye?"right":"left"}`),style:on},qe||b.createElement(Oe,null)):null,Wt=ce==="rtl"==!Ye,Mt={expanded:Wt?b.createElement(xe.Z,null):b.createElement(Re.Z,null),collapsed:Wt?b.createElement(Re.Z,null):b.createElement(xe.Z,null)}[En?"collapsed":"expanded"],Ln=qe!==null?Pt||b.createElement("div",{className:`${Te}-trigger`,onClick:$t,style:{width:Dt}},qe||Mt):null,kn=Object.assign(Object.assign({},Tn),{flex:`0 0 ${Dt}`,maxWidth:Dt,minWidth:Dt,width:Dt}),wn=Fe()(Te,`${Te}-${Zt}`,{[`${Te}-collapsed`]:!!En,[`${Te}-has-trigger`]:Tt&&qe!==null&&!Pt,[`${Te}-below`]:!!gn,[`${Te}-zero-width`]:parseFloat(Dt)===0},St,ge,Pe),ln=b.useMemo(()=>({siderCollapsed:En}),[En]);return je(b.createElement(nt.Provider,{value:ln},b.createElement("aside",Object.assign({className:wn},gt,{style:kn,ref:dt}),b.createElement("div",{className:`${Te}-children`},Jt),Tt||gn&&Pt?Ln:null)))})},6989:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return me}});var b=y(59301);const me=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Ce,ae,y){"use strict";y.d(ae,{eh:function(){return pe},jn:function(){return be}});var b=y(36237),me=y(16931);const le=fe=>{const{antCls:we,componentCls:Oe,colorText:Re,footerBg:xe,headerHeight:Ge,headerPadding:Fe,headerColor:At,footerPadding:at,fontSize:tt,bodyBg:Je,headerBg:We}=fe;return{[Oe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Je,"&, *":{boxSizing:"border-box"},[`&${Oe}-has-sider`]:{flexDirection:"row",[`> ${Oe}, > ${Oe}-content`]:{width:0}},[`${Oe}-header, &${Oe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Oe}-header`]:{height:Ge,padding:Fe,color:At,lineHeight:(0,b.unit)(Ge),background:We,[`${we}-menu`]:{lineHeight:"inherit"}},[`${Oe}-footer`]:{padding:at,color:Re,fontSize:tt,background:xe},[`${Oe}-content`]:{flex:"auto",color:Re,minHeight:0}}},pe=fe=>{const{colorBgLayout:we,controlHeight:Oe,controlHeightLG:Re,colorText:xe,controlHeightSM:Ge,marginXXS:Fe,colorTextLightSolid:At,colorBgContainer:at}=fe,tt=Re*1.25;return{colorBgHeader:"#001529",colorBgBody:we,colorBgTrigger:"#002140",bodyBg:we,headerBg:"#001529",headerHeight:Oe*2,headerPadding:`0 ${tt}px`,headerColor:xe,footerPadding:`${Ge}px ${tt}px`,footerBg:we,siderBg:"#001529",triggerHeight:Re+Fe*2,triggerBg:"#002140",triggerColor:At,zeroTriggerWidth:Re,zeroTriggerHeight:Re,lightSiderBg:at,lightTriggerBg:at,lightTriggerColor:xe}},be=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ae.ZP=(0,me.I$)("Layout",fe=>[le(fe)],pe,{deprecatedTokens:be})},78857:function(Ce,ae,y){"use strict";y.d(ae,{J:function(){return fe}});var b=y(59301),me=y(8654),le=y(62487),pe=function(we,Oe){var Re={};for(var xe in we)Object.prototype.hasOwnProperty.call(we,xe)&&Oe.indexOf(xe)<0&&(Re[xe]=we[xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,xe=Object.getOwnPropertySymbols(we);Ge<xe.length;Ge++)Oe.indexOf(xe[Ge])<0&&Object.prototype.propertyIsEnumerable.call(we,xe[Ge])&&(Re[xe[Ge]]=we[xe[Ge]]);return Re};const be=b.createContext(null),fe=b.forwardRef((we,Oe)=>{const{children:Re}=we,xe=pe(we,["children"]),Ge=b.useContext(be),Fe=b.useMemo(()=>Object.assign(Object.assign({},Ge),xe),[Ge,xe.prefixCls,xe.mode,xe.selectable,xe.rootClassName]),At=(0,me.t4)(Re),at=(0,me.x1)(Oe,At?(0,me.C4)(Re):null);return b.createElement(be.Provider,{value:Fe},b.createElement(le.Z,{space:!0},At?b.cloneElement(Re,{ref:at}):Re))});ae.Z=be},93041:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return je}});var b=y(59301),me=y(28321),le=y(24303),pe=y(18785),be=y(92310),fe=y.n(be),we=y(6089),Oe=y(2738),Re=y(86641),xe=y(22703),Ge=y(48755),Fe=y(83397),at=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),tt=function(ge,Pe){var ct={};for(var $t in ge)Object.prototype.hasOwnProperty.call(ge,$t)&&Pe.indexOf($t)<0&&(ct[$t]=ge[$t]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,$t=Object.getOwnPropertySymbols(ge);gt<$t.length;gt++)Pe.indexOf($t[gt])<0&&Object.prototype.propertyIsEnumerable.call(ge,$t[gt])&&(ct[$t[gt]]=ge[$t[gt]]);return ct},We=ge=>{const{prefixCls:Pe,className:ct,dashed:$t}=ge,gt=tt(ge,["prefixCls","className","dashed"]),{getPrefixCls:yt}=b.useContext(Ge.E_),Dt=yt("menu",Pe),Pt=fe()({[`${Dt}-item-divider-dashed`]:!!$t},ct);return b.createElement(me.iz,Object.assign({className:Pt},gt))},Ve=y(11592),Ze=y(25399),ze=ge=>{var Pe;const{className:ct,children:$t,icon:gt,title:yt,danger:Dt,extra:Pt}=ge,{prefixCls:Wt,firstLevel:pn,direction:fn,disableMenuItemTitleTooltip:Mt,inlineCollapsed:Ln}=b.useContext(at),kn=Yt=>{const Ft=$t==null?void 0:$t[0],vn=b.createElement("span",{className:fe()(`${Wt}-title-content`,{[`${Wt}-title-content-with-extra`]:!!Pt||Pt===0})},$t);return(!gt||b.isValidElement($t)&&$t.type==="span")&&$t&&Yt&&pn&&typeof Ft=="string"?b.createElement("div",{className:`${Wt}-inline-collapsed-noicon`},Ft.charAt(0)):vn},{siderCollapsed:wn}=b.useContext(le.D);let ln=yt;typeof yt=="undefined"?ln=pn?$t:"":yt===!1&&(ln="");const In={title:ln};!wn&&!Ln&&(In.title=null,In.open=!1);const xn=(0,Ve.Z)($t).length;let kt=b.createElement(me.ck,Object.assign({},(0,Oe.Z)(ge,["title","icon","danger"]),{className:fe()({[`${Wt}-item-danger`]:Dt,[`${Wt}-item-only-child`]:(gt?xn+1:xn)===1},ct),title:typeof yt=="string"?yt:void 0}),(0,xe.Tm)(gt,{className:fe()(b.isValidElement(gt)?(Pe=gt.props)===null||Pe===void 0?void 0:Pe.className:"",`${Wt}-item-icon`)}),kn(Ln));return Mt||(kt=b.createElement(Ze.Z,Object.assign({},In,{placement:fn==="rtl"?"left":"right",classNames:{root:`${Wt}-inline-collapsed-tooltip`}}),kt)),kt},_e=y(78857),$e=y(36237),nt=y(17835),bt=y(63356),it=y(34961),Nt=y(46e3),vt=y(34925),dt=y(16931),It=y(51636),qe=ge=>{const{componentCls:Pe,motionDurationSlow:ct,horizontalLineHeight:$t,colorSplit:gt,lineWidth:yt,lineType:Dt,itemPaddingInline:Pt}=ge;return{[`${Pe}-horizontal`]:{lineHeight:$t,border:0,borderBottom:`${(0,$e.unit)(yt)} ${Dt} ${gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Pe}-item, ${Pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Pt},[`> ${Pe}-item:hover,
|
|
|
> ${Pe}-item-active,
|
|
|
> ${Pe}-submenu ${Pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Pe}-item, ${Pe}-submenu-title`]:{transition:[`border-color ${ct}`,`background ${ct}`].join(",")},[`${Pe}-submenu-arrow`]:{display:"none"}}}},Rt=ge=>{let{componentCls:Pe,menuArrowOffset:ct,calc:$t}=ge;return{[`${Pe}-rtl`]:{direction:"rtl"},[`${Pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Pe}-rtl${Pe}-vertical,
|
|
|
${Pe}-submenu-rtl ${Pe}-vertical`]:{[`${Pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$e.unit)($t(ct).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$e.unit)(ct)})`}}}}};const Zt=ge=>Object.assign({},(0,bt.oN)(ge));var Tt=(ge,Pe)=>{const{componentCls:ct,itemColor:$t,itemSelectedColor:gt,subMenuItemSelectedColor:yt,groupTitleColor:Dt,itemBg:Pt,subMenuItemBg:Wt,itemSelectedBg:pn,activeBarHeight:fn,activeBarWidth:Mt,activeBarBorderWidth:Ln,motionDurationSlow:kn,motionEaseInOut:wn,motionEaseOut:ln,itemPaddingInline:In,motionDurationMid:xn,itemHoverColor:kt,lineType:Yt,colorSplit:Ft,itemDisabledColor:vn,dangerItemColor:Ct,dangerItemHoverColor:pt,dangerItemSelectedColor:de,dangerItemActiveBg:qt,dangerItemSelectedBg:Dn,popupBg:mn,itemHoverBg:vr,itemActiveBg:yr,menuSubMenuBg:ar,horizontalItemSelectedColor:Er,horizontalItemSelectedBg:wt,horizontalItemBorderRadius:Qn,horizontalItemHoverBg:lr}=ge;return{[`${ct}-${Pe}, ${ct}-${Pe} > ${ct}`]:{color:$t,background:Pt,[`&${ct}-root:focus-visible`]:Object.assign({},Zt(ge)),[`${ct}-item`]:{"&-group-title, &-extra":{color:Dt}},[`${ct}-submenu-selected > ${ct}-submenu-title`]:{color:yt},[`${ct}-item, ${ct}-submenu-title`]:{color:$t,[`&:not(${ct}-item-disabled):focus-visible`]:Object.assign({},Zt(ge))},[`${ct}-item-disabled, ${ct}-submenu-disabled`]:{color:`${vn} !important`},[`${ct}-item:not(${ct}-item-selected):not(${ct}-submenu-selected)`]:{[`&:hover, > ${ct}-submenu-title:hover`]:{color:kt}},[`&:not(${ct}-horizontal)`]:{[`${ct}-item:not(${ct}-item-selected)`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yr}},[`${ct}-submenu-title`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yr}}},[`${ct}-item-danger`]:{color:Ct,[`&${ct}-item:hover`]:{[`&:not(${ct}-item-selected):not(${ct}-submenu-selected)`]:{color:pt}},[`&${ct}-item:active`]:{background:qt}},[`${ct}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ct}-item-selected`]:{color:gt,[`&${ct}-item-danger`]:{color:de},"a, a:hover":{color:"inherit"}},[`& ${ct}-item-selected`]:{backgroundColor:pn,[`&${ct}-item-danger`]:{backgroundColor:Dn}},[`&${ct}-submenu > ${ct}`]:{backgroundColor:ar},[`&${ct}-popup > ${ct}`]:{backgroundColor:mn},[`&${ct}-submenu-popup > ${ct}`]:{backgroundColor:mn},[`&${ct}-horizontal`]:Object.assign(Object.assign({},Pe==="dark"?{borderBottom:0}:{}),{[`> ${ct}-item, > ${ct}-submenu`]:{top:Ln,marginTop:ge.calc(Ln).mul(-1).equal(),marginBottom:0,borderRadius:Qn,"&::after":{position:"absolute",insetInline:In,bottom:0,borderBottom:`${(0,$e.unit)(fn)} solid transparent`,transition:`border-color ${kn} ${wn}`,content:'""'},"&:hover, &-active, &-open":{background:lr,"&::after":{borderBottomWidth:fn,borderBottomColor:Er}},"&-selected":{color:Er,backgroundColor:wt,"&:hover":{backgroundColor:wt},"&::after":{borderBottomWidth:fn,borderBottomColor:Er}}}}),[`&${ct}-root`]:{[`&${ct}-inline, &${ct}-vertical`]:{borderInlineEnd:`${(0,$e.unit)(Ln)} ${Yt} ${Ft}`}},[`&${ct}-inline`]:{[`${ct}-sub${ct}-inline`]:{background:Wt},[`${ct}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$e.unit)(Mt)} solid ${gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xn} ${ln}`,`opacity ${xn} ${ln}`].join(","),content:'""'},[`&${ct}-item-danger`]:{"&::after":{borderInlineEndColor:de}}},[`${ct}-selected, ${ct}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xn} ${wn}`,`opacity ${xn} ${wn}`].join(",")}}}}}};const Ye=ge=>{const{componentCls:Pe,itemHeight:ct,itemMarginInline:$t,padding:gt,menuArrowSize:yt,marginXS:Dt,itemMarginBlock:Pt,itemWidth:Wt,itemPaddingInline:pn}=ge,fn=ge.calc(yt).add(gt).add(Dt).equal();return{[`${Pe}-item`]:{position:"relative",overflow:"hidden"},[`${Pe}-item, ${Pe}-submenu-title`]:{height:ct,lineHeight:(0,$e.unit)(ct),paddingInline:pn,overflow:"hidden",textOverflow:"ellipsis",marginInline:$t,marginBlock:Pt,width:Wt},[`> ${Pe}-item,
|
|
|
> ${Pe}-submenu > ${Pe}-submenu-title`]:{height:ct,lineHeight:(0,$e.unit)(ct)},[`${Pe}-item-group-list ${Pe}-submenu-title,
|
|
|
${Pe}-submenu-title`]:{paddingInlineEnd:fn}}};var Qt=ge=>{const{componentCls:Pe,iconCls:ct,itemHeight:$t,colorTextLightSolid:gt,dropdownWidth:yt,controlHeightLG:Dt,motionEaseOut:Pt,paddingXL:Wt,itemMarginInline:pn,fontSizeLG:fn,motionDurationFast:Mt,motionDurationSlow:Ln,paddingXS:kn,boxShadowSecondary:wn,collapsedWidth:ln,collapsedIconSize:In}=ge,xn={height:$t,lineHeight:(0,$e.unit)($t),listStylePosition:"inside",listStyleType:"disc"};return[{[Pe]:{"&-inline, &-vertical":Object.assign({[`&${Pe}-root`]:{boxShadow:"none"}},Ye(ge))},[`${Pe}-submenu-popup`]:{[`${Pe}-vertical`]:Object.assign(Object.assign({},Ye(ge)),{boxShadow:wn})}},{[`${Pe}-submenu-popup ${Pe}-vertical${Pe}-sub`]:{minWidth:yt,maxHeight:`calc(100vh - ${(0,$e.unit)(ge.calc(Dt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Pe}-inline`]:{width:"100%",[`&${Pe}-root`]:{[`${Pe}-item, ${Pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ln}`,`background ${Ln}`,`padding ${Mt} ${Pt}`].join(","),[`> ${Pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Pe}-sub${Pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Pe}-submenu > ${Pe}-submenu-title`]:xn,[`& ${Pe}-item-group-title`]:{paddingInlineStart:Wt}},[`${Pe}-item`]:xn}},{[`${Pe}-inline-collapsed`]:{width:ln,[`&${Pe}-root`]:{[`${Pe}-item, ${Pe}-submenu ${Pe}-submenu-title`]:{[`> ${Pe}-inline-collapsed-noicon`]:{fontSize:fn,textAlign:"center"}}},[`> ${Pe}-item,
|
|
|
> ${Pe}-item-group > ${Pe}-item-group-list > ${Pe}-item,
|
|
|
> ${Pe}-item-group > ${Pe}-item-group-list > ${Pe}-submenu > ${Pe}-submenu-title,
|
|
|
> ${Pe}-submenu > ${Pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$e.unit)(ge.calc(In).div(2).equal())} - ${(0,$e.unit)(pn)})`,textOverflow:"clip",[`
|
|
|
${Pe}-submenu-arrow,
|
|
|
${Pe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${Pe}-item-icon, ${ct}`]:{margin:0,fontSize:In,lineHeight:(0,$e.unit)($t),"+ span":{display:"inline-block",opacity:0}}},[`${Pe}-item-icon, ${ct}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Pe}-item-icon, ${ct}`]:{display:"none"},"a, a:hover":{color:gt}},[`${Pe}-item-group-title`]:Object.assign(Object.assign({},bt.vS),{paddingInline:kn})}}]};const on=ge=>{const{componentCls:Pe,motionDurationSlow:ct,motionDurationMid:$t,motionEaseInOut:gt,motionEaseOut:yt,iconCls:Dt,iconSize:Pt,iconMarginInlineEnd:Wt}=ge;return{[`${Pe}-item, ${Pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ct}`,`background ${ct}`,`padding calc(${ct} + 0.1s) ${gt}`].join(","),[`${Pe}-item-icon, ${Dt}`]:{minWidth:Pt,fontSize:Pt,transition:[`font-size ${$t} ${yt}`,`margin ${ct} ${gt}`,`color ${ct}`].join(","),"+ span":{marginInlineStart:Wt,opacity:1,transition:[`opacity ${ct} ${gt}`,`margin ${ct}`,`color ${ct}`].join(",")}},[`${Pe}-item-icon`]:Object.assign({},(0,bt.Ro)()),[`&${Pe}-item-only-child`]:{[`> ${Dt}, > ${Pe}-item-icon`]:{marginInlineEnd:0}}},[`${Pe}-item-disabled, ${Pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},st=ge=>{const{componentCls:Pe,motionDurationSlow:ct,motionEaseInOut:$t,borderRadius:gt,menuArrowSize:yt,menuArrowOffset:Dt}=ge;return{[`${Pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ge.margin,width:yt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ct} ${$t}, opacity ${ct}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ge.calc(yt).mul(.6).equal(),height:ge.calc(yt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:gt,transition:[`background ${ct} ${$t}`,`transform ${ct} ${$t}`,`top ${ct} ${$t}`,`color ${ct} ${$t}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$e.unit)(ge.calc(Dt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Dt)})`}}}}},Ut=ge=>{const{antCls:Pe,componentCls:ct,fontSize:$t,motionDurationSlow:gt,motionDurationMid:yt,motionEaseInOut:Dt,paddingXS:Pt,padding:Wt,colorSplit:pn,lineWidth:fn,zIndexPopup:Mt,borderRadiusLG:Ln,subMenuItemBorderRadius:kn,menuArrowSize:wn,menuArrowOffset:ln,lineType:In,groupTitleLineHeight:xn,groupTitleFontSize:kt}=ge;return[{"":{[ct]:Object.assign(Object.assign({},(0,bt.dF)()),{"&-hidden":{display:"none"}})},[`${ct}-submenu-hidden`]:{display:"none"}},{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,bt.Wf)(ge)),(0,bt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:$t,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ct}-item`]:{flex:"none"}},[`${ct}-item, ${ct}-submenu, ${ct}-submenu-title`]:{borderRadius:ge.itemBorderRadius},[`${ct}-item-group-title`]:{padding:`${(0,$e.unit)(Pt)} ${(0,$e.unit)(Wt)}`,fontSize:kt,lineHeight:xn,transition:`all ${gt}`},[`&-horizontal ${ct}-submenu`]:{transition:[`border-color ${gt} ${Dt}`,`background ${gt} ${Dt}`].join(",")},[`${ct}-submenu, ${ct}-submenu-inline`]:{transition:[`border-color ${gt} ${Dt}`,`background ${gt} ${Dt}`,`padding ${yt} ${Dt}`].join(",")},[`${ct}-submenu ${ct}-sub`]:{cursor:"initial",transition:[`background ${gt} ${Dt}`,`padding ${gt} ${Dt}`].join(",")},[`${ct}-title-content`]:{transition:`color ${gt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Pe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ct}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ge.padding}},[`${ct}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ct}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:pn,borderStyle:In,borderWidth:0,borderTopWidth:fn,marginBlock:fn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),on(ge)),{[`${ct}-item-group`]:{[`${ct}-item-group-list`]:{margin:0,padding:0,[`${ct}-item, ${ct}-submenu-title`]:{paddingInline:`${(0,$e.unit)(ge.calc($t).mul(2).equal())} ${(0,$e.unit)(Wt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Mt,borderRadius:Ln,boxShadow:"none",transformOrigin:"0 0",[`&${ct}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ct}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ln},on(ge)),st(ge)),{[`${ct}-item, ${ct}-submenu > ${ct}-submenu-title`]:{borderRadius:kn},[`${ct}-submenu-title::after`]:{transition:`transform ${gt} ${Dt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ge.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ge.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ge.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ge.paddingXS}}}),st(ge)),{[`&-inline-collapsed ${ct}-submenu-arrow,
|
|
|
&-inline ${ct}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(ln)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$e.unit)(ge.calc(ln).mul(-1).equal())})`}},[`${ct}-submenu-open${ct}-submenu-inline > ${ct}-submenu-title > ${ct}-submenu-arrow`]:{transform:`translateY(${(0,$e.unit)(ge.calc(wn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(ge.calc(ln).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$e.unit)(ln)})`}}})},{[`${Pe}-layout-header`]:{[ct]:{lineHeight:"inherit"}}}]},Gt=ge=>{var Pe,ct,$t;const{colorPrimary:gt,colorError:yt,colorTextDisabled:Dt,colorErrorBg:Pt,colorText:Wt,colorTextDescription:pn,colorBgContainer:fn,colorFillAlter:Mt,colorFillContent:Ln,lineWidth:kn,lineWidthBold:wn,controlItemBgActive:ln,colorBgTextHover:In,controlHeightLG:xn,lineHeight:kt,colorBgElevated:Yt,marginXXS:Ft,padding:vn,fontSize:Ct,controlHeightSM:pt,fontSizeLG:de,colorTextLightSolid:qt,colorErrorHover:Dn}=ge,mn=(Pe=ge.activeBarWidth)!==null&&Pe!==void 0?Pe:0,vr=(ct=ge.activeBarBorderWidth)!==null&&ct!==void 0?ct:kn,yr=($t=ge.itemMarginInline)!==null&&$t!==void 0?$t:ge.marginXXS,ar=new nt.FastColor(qt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:Wt,itemColor:Wt,colorItemTextHover:Wt,itemHoverColor:Wt,colorItemTextHoverHorizontal:gt,horizontalItemHoverColor:gt,colorGroupTitle:pn,groupTitleColor:pn,colorItemTextSelected:gt,itemSelectedColor:gt,subMenuItemSelectedColor:gt,colorItemTextSelectedHorizontal:gt,horizontalItemSelectedColor:gt,colorItemBg:fn,itemBg:fn,colorItemBgHover:In,itemHoverBg:In,colorItemBgActive:Ln,itemActiveBg:ln,colorSubItemBg:Mt,subMenuItemBg:Mt,colorItemBgSelected:ln,itemSelectedBg:ln,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:mn,colorActiveBarHeight:wn,activeBarHeight:wn,colorActiveBarBorderSize:kn,activeBarBorderWidth:vr,colorItemTextDisabled:Dt,itemDisabledColor:Dt,colorDangerItemText:yt,dangerItemColor:yt,colorDangerItemTextHover:yt,dangerItemHoverColor:yt,colorDangerItemTextSelected:yt,dangerItemSelectedColor:yt,colorDangerItemBgActive:Pt,dangerItemActiveBg:Pt,colorDangerItemBgSelected:Pt,dangerItemSelectedBg:Pt,itemMarginInline:yr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xn,groupTitleLineHeight:kt,collapsedWidth:xn*2,popupBg:Yt,itemMarginBlock:Ft,itemPaddingInline:vn,horizontalLineHeight:`${xn*1.15}px`,iconSize:Ct,iconMarginInlineEnd:pt-Ct,collapsedIconSize:de,groupTitleFontSize:Ct,darkItemDisabledColor:new nt.FastColor(qt).setA(.25).toRgbString(),darkItemColor:ar,darkDangerItemColor:yt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:qt,darkItemSelectedBg:gt,darkDangerItemSelectedBg:yt,darkItemHoverBg:"transparent",darkGroupTitleColor:ar,darkItemHoverColor:qt,darkDangerItemHoverColor:Dn,darkDangerItemSelectedColor:qt,darkDangerItemActiveBg:yt,itemWidth:mn?`calc(100% + ${vr}px)`:`calc(100% - ${yr*2}px)`}};var On=function(ge){let Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge,ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,dt.I$)("Menu",gt=>{const{colorBgElevated:yt,controlHeightLG:Dt,fontSize:Pt,darkItemColor:Wt,darkDangerItemColor:pn,darkItemBg:fn,darkSubMenuItemBg:Mt,darkItemSelectedColor:Ln,darkItemSelectedBg:kn,darkDangerItemSelectedBg:wn,darkItemHoverBg:ln,darkGroupTitleColor:In,darkItemHoverColor:xn,darkItemDisabledColor:kt,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:Ft,darkDangerItemActiveBg:vn,popupBg:Ct,darkPopupBg:pt}=gt,de=gt.calc(Pt).div(7).mul(5).equal(),qt=(0,It.mergeToken)(gt,{menuArrowSize:de,menuHorizontalHeight:gt.calc(Dt).mul(1.15).equal(),menuArrowOffset:gt.calc(de).mul(.25).equal(),menuSubMenuBg:yt,calc:gt.calc,popupBg:Ct}),Dn=(0,It.mergeToken)(qt,{itemColor:Wt,itemHoverColor:xn,groupTitleColor:In,itemSelectedColor:Ln,subMenuItemSelectedColor:Ln,itemBg:fn,popupBg:pt,subMenuItemBg:Mt,itemActiveBg:"transparent",itemSelectedBg:kn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ln,itemDisabledColor:kt,dangerItemColor:pn,dangerItemHoverColor:Yt,dangerItemSelectedColor:Ft,dangerItemActiveBg:vn,dangerItemSelectedBg:wn,menuSubMenuBg:Mt,horizontalItemSelectedColor:Ln,horizontalItemSelectedBg:kn});return[Ut(qt),qe(qt),Qt(qt),Tt(qt,"light"),Tt(Dn,"dark"),Rt(qt),(0,it.Z)(qt),(0,Nt.oN)(qt,"slide-up"),(0,Nt.oN)(qt,"slide-down"),(0,vt._y)(qt,"zoom-big")]},Gt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:ct,unitless:{groupTitleLineHeight:!0}})(ge,Pe)},ft=y(75030),Ht=ge=>{var Pe;const{popupClassName:ct,icon:$t,title:gt,theme:yt}=ge,Dt=b.useContext(at),{prefixCls:Pt,inlineCollapsed:Wt,theme:pn}=Dt,fn=(0,me.Xl)();let Mt;if(!$t)Mt=Wt&&!fn.length&>&&typeof gt=="string"?b.createElement("div",{className:`${Pt}-inline-collapsed-noicon`},gt.charAt(0)):b.createElement("span",{className:`${Pt}-title-content`},gt);else{const wn=b.isValidElement(gt)&>.type==="span";Mt=b.createElement(b.Fragment,null,(0,xe.Tm)($t,{className:fe()(b.isValidElement($t)?(Pe=$t.props)===null||Pe===void 0?void 0:Pe.className:"",`${Pt}-item-icon`)}),wn?gt:b.createElement("span",{className:`${Pt}-title-content`},gt))}const Ln=b.useMemo(()=>Object.assign(Object.assign({},Dt),{firstLevel:!1}),[Dt]),[kn]=(0,ft.Cn)("Menu");return b.createElement(at.Provider,{value:Ln},b.createElement(me.Wd,Object.assign({},(0,Oe.Z)(ge,["icon"]),{title:Mt,popupClassName:fe()(Pt,ct,`${Pt}-${yt||pn}`),popupStyle:Object.assign({zIndex:kn},ge.popupStyle)})))},gn=function(ge,Pe){var ct={};for(var $t in ge)Object.prototype.hasOwnProperty.call(ge,$t)&&Pe.indexOf($t)<0&&(ct[$t]=ge[$t]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,$t=Object.getOwnPropertySymbols(ge);gt<$t.length;gt++)Pe.indexOf($t[gt])<0&&Object.prototype.propertyIsEnumerable.call(ge,$t[gt])&&(ct[$t[gt]]=ge[$t[gt]]);return ct};function un(ge){return ge===null||ge===!1}const De={item:ze,submenu:Ht,divider:We};var ce=(0,b.forwardRef)((ge,Pe)=>{var ct;const $t=b.useContext(_e.Z),gt=$t||{},{getPrefixCls:yt,getPopupContainer:Dt,direction:Pt,menu:Wt}=b.useContext(Ge.E_),pn=yt(),{prefixCls:fn,className:Mt,style:Ln,theme:kn="light",expandIcon:wn,_internalDisableMenuItemTitleTooltip:ln,inlineCollapsed:In,siderCollapsed:xn,rootClassName:kt,mode:Yt,selectable:Ft,onClick:vn,overflowedIndicatorPopupClassName:Ct}=ge,pt=gn(ge,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),de=(0,Oe.Z)(pt,["collapsedWidth"]);(ct=gt.validator)===null||ct===void 0||ct.call(gt,{mode:Yt});const qt=(0,we.Z)(function(){var br;vn==null||vn.apply(void 0,arguments),(br=gt.onClick)===null||br===void 0||br.call(gt)}),Dn=gt.mode||Yt,mn=Ft!=null?Ft:gt.selectable,vr=In!=null?In:xn,yr={horizontal:{motionName:`${pn}-slide-up`},inline:(0,Re.Z)(pn),other:{motionName:`${pn}-zoom-big`}},ar=yt("menu",fn||gt.prefixCls),Er=(0,Fe.Z)(ar),[wt,Qn,lr]=On(ar,Er,!$t),cr=fe()(`${ar}-${kn}`,Wt==null?void 0:Wt.className,Mt),Yn=b.useMemo(()=>{var br,Nr;if(typeof wn=="function"||un(wn))return wn||null;if(typeof gt.expandIcon=="function"||un(gt.expandIcon))return gt.expandIcon||null;if(typeof(Wt==null?void 0:Wt.expandIcon)=="function"||un(Wt==null?void 0:Wt.expandIcon))return(Wt==null?void 0:Wt.expandIcon)||null;const Jr=(br=wn!=null?wn:gt==null?void 0:gt.expandIcon)!==null&&br!==void 0?br:Wt==null?void 0:Wt.expandIcon;return(0,xe.Tm)(Jr,{className:fe()(`${ar}-submenu-expand-icon`,b.isValidElement(Jr)?(Nr=Jr.props)===null||Nr===void 0?void 0:Nr.className:void 0)})},[wn,gt==null?void 0:gt.expandIcon,Wt==null?void 0:Wt.expandIcon,ar]),Sr=b.useMemo(()=>({prefixCls:ar,inlineCollapsed:vr||!1,direction:Pt,firstLevel:!0,theme:kn,mode:Dn,disableMenuItemTitleTooltip:ln}),[ar,vr,Pt,ln,kn]);return wt(b.createElement(_e.Z.Provider,{value:null},b.createElement(at.Provider,{value:Sr},b.createElement(me.ZP,Object.assign({getPopupContainer:Dt,overflowedIndicator:b.createElement(pe.Z,null),overflowedIndicatorPopupClassName:fe()(ar,`${ar}-${kn}`,Ct),mode:Dn,selectable:mn,onClick:qt},de,{inlineCollapsed:vr,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Ln),className:cr,prefixCls:ar,direction:Pt,defaultMotions:yr,expandIcon:Yn,ref:Pe,rootClassName:fe()(kt,Qn,gt.rootClassName,lr,Er),_internalComponents:De})))))});const Te=(0,b.forwardRef)((ge,Pe)=>{const ct=(0,b.useRef)(null),$t=b.useContext(le.D);return(0,b.useImperativeHandle)(Pe,()=>({menu:ct.current,focus:gt=>{var yt;(yt=ct.current)===null||yt===void 0||yt.focus(gt)}})),b.createElement(ce,Object.assign({ref:ct},ge,$t))});Te.Item=ze,Te.SubMenu=Ht,Te.Divider=We,Te.ItemGroup=me.BW;var je=Te},89787:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return xn}});var b=y(59301),me=y(17835),le=y(29679),pe=y(40001),be=y(19248),fe=y(99267),we=y(92310),Oe=y.n(we),Re=y(2738),xe=y(48755),Ge=y(60499),Fe=y(85899),At=y(42244),at={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},tt=function(){var Yt=(0,b.useRef)([]),Ft=(0,b.useRef)(null);return(0,b.useEffect)(function(){var vn=Date.now(),Ct=!1;Yt.current.forEach(function(pt){if(pt){Ct=!0;var de=pt.style;de.transitionDuration=".3s, .3s, .3s, .06s",Ft.current&&vn-Ft.current<100&&(de.transitionDuration="0s, 0s")}}),Ct&&(Ft.current=Date.now())}),Yt.current},Je=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],We=function(Yt){var Ft=(0,Fe.Z)((0,Fe.Z)({},at),Yt),vn=Ft.className,Ct=Ft.percent,pt=Ft.prefixCls,de=Ft.strokeColor,qt=Ft.strokeLinecap,Dn=Ft.strokeWidth,mn=Ft.style,vr=Ft.trailColor,yr=Ft.trailWidth,ar=Ft.transition,Er=(0,At.Z)(Ft,Je);delete Er.gapPosition;var wt=Array.isArray(Ct)?Ct:[Ct],Qn=Array.isArray(de)?de:[de],lr=tt(),cr=Dn/2,Yn=100-Dn/2,Sr="M ".concat(qt==="round"?cr:0,",").concat(cr,`
|
|
|
L `).concat(qt==="round"?Yn:100,",").concat(cr),br="0 0 100 ".concat(Dn),Nr=0;return b.createElement("svg",(0,Ge.Z)({className:Oe()("".concat(pt,"-line"),vn),viewBox:br,preserveAspectRatio:"none",style:mn},Er),b.createElement("path",{className:"".concat(pt,"-line-trail"),d:Sr,strokeLinecap:qt,stroke:vr,strokeWidth:yr||Dn,fillOpacity:"0"}),wt.map(function(Jr,$r){var Ur=1;switch(qt){case"round":Ur=1-Dn/100;break;case"square":Ur=1-Dn/2/100;break;default:Ur=1;break}var aa={strokeDasharray:"".concat(Jr*Ur,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Hr=Qn[$r]||Qn[Qn.length-1];return Nr+=Jr,b.createElement("path",{key:$r,className:"".concat(pt,"-line-path"),d:Sr,strokeLinecap:qt,stroke:Hr,strokeWidth:Dn,fillOpacity:"0",ref:function(ea){lr[$r]=ea},style:aa})}))},Ve=We,Ze=y(43749),Qe=y(72190),ze=y(47273),_e=0,$e=(0,ze.Z)();function nt(){var kt;return $e?(kt=_e,_e+=1):kt="TEST_OR_SSR",kt}var bt=function(kt){var Yt=b.useState(),Ft=(0,Qe.Z)(Yt,2),vn=Ft[0],Ct=Ft[1];return b.useEffect(function(){Ct("rc_progress_".concat(nt()))},[]),kt||vn},it=function(Yt){var Ft=Yt.bg,vn=Yt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Ft}},vn)};function Nt(kt,Yt){return Object.keys(kt).map(function(Ft){var vn=parseFloat(Ft),Ct="".concat(Math.floor(vn*Yt),"%");return"".concat(kt[Ft]," ").concat(Ct)})}var vt=b.forwardRef(function(kt,Yt){var Ft=kt.prefixCls,vn=kt.color,Ct=kt.gradientId,pt=kt.radius,de=kt.style,qt=kt.ptg,Dn=kt.strokeLinecap,mn=kt.strokeWidth,vr=kt.size,yr=kt.gapDegree,ar=vn&&(0,Ze.Z)(vn)==="object",Er=ar?"#FFF":void 0,wt=vr/2,Qn=b.createElement("circle",{className:"".concat(Ft,"-circle-path"),r:pt,cx:wt,cy:wt,stroke:Er,strokeLinecap:Dn,strokeWidth:mn,opacity:qt===0?0:1,style:de,ref:Yt});if(!ar)return Qn;var lr="".concat(Ct,"-conic"),cr=yr?"".concat(180+yr/2,"deg"):"0deg",Yn=Nt(vn,(360-yr)/360),Sr=Nt(vn,1),br="conic-gradient(from ".concat(cr,", ").concat(Yn.join(", "),")"),Nr="linear-gradient(to ".concat(yr?"bottom":"top",", ").concat(Sr.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:lr},Qn),b.createElement("foreignObject",{x:0,y:0,width:vr,height:vr,mask:"url(#".concat(lr,")")},b.createElement(it,{bg:Nr},b.createElement(it,{bg:br}))))}),dt=vt,It=100,St=function(Yt,Ft,vn,Ct,pt,de,qt,Dn,mn,vr){var yr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=vn/100*360*((360-de)/360),Er=de===0?0:{bottom:0,top:180,left:90,right:-90}[qt],wt=(100-Ct)/100*Ft;mn==="round"&&Ct!==100&&(wt+=vr/2,wt>=Ft&&(wt=Ft-.01));var Qn=It/2;return{stroke:typeof Dn=="string"?Dn:void 0,strokeDasharray:"".concat(Ft,"px ").concat(Yt),strokeDashoffset:wt+yr,transform:"rotate(".concat(pt+ar+Er,"deg)"),transformOrigin:"".concat(Qn,"px ").concat(Qn,"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}},qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Jt(kt){var Yt=kt!=null?kt:[];return Array.isArray(Yt)?Yt:[Yt]}var Rt=function(Yt){var Ft=(0,Fe.Z)((0,Fe.Z)({},at),Yt),vn=Ft.id,Ct=Ft.prefixCls,pt=Ft.steps,de=Ft.strokeWidth,qt=Ft.trailWidth,Dn=Ft.gapDegree,mn=Dn===void 0?0:Dn,vr=Ft.gapPosition,yr=Ft.trailColor,ar=Ft.strokeLinecap,Er=Ft.style,wt=Ft.className,Qn=Ft.strokeColor,lr=Ft.percent,cr=(0,At.Z)(Ft,qe),Yn=It/2,Sr=bt(vn),br="".concat(Sr,"-gradient"),Nr=Yn-de/2,Jr=Math.PI*2*Nr,$r=mn>0?90+mn/2:-90,Ur=Jr*((360-mn)/360),aa=(0,Ze.Z)(pt)==="object"?pt:{count:pt,gap:2},Hr=aa.count,pa=aa.gap,ea=Jt(lr),jn=Jt(Qn),sr=jn.find(function(He){return He&&(0,Ze.Z)(He)==="object"}),Kr=sr&&(0,Ze.Z)(sr)==="object",zr=Kr?"butt":ar,ve=St(Jr,Ur,0,100,$r,mn,vr,yr,zr,de),Ie=tt(),ut=function(){var Vt=0;return ea.map(function(et,en){var cn=jn[en]||jn[jn.length-1],Xt=St(Jr,Ur,Vt,et,$r,mn,vr,cn,zr,de);return Vt+=et,b.createElement(dt,{key:en,color:cn,ptg:et,radius:Nr,prefixCls:Ct,gradientId:br,style:Xt,strokeLinecap:zr,strokeWidth:de,gapDegree:mn,ref:function(Kt){Ie[en]=Kt},size:It})}).reverse()},Le=function(){var Vt=Math.round(Hr*(ea[0]/100)),et=100/Hr,en=0;return new Array(Hr).fill(null).map(function(cn,Xt){var an=Xt<=Vt-1?jn[0]:yr,Kt=an&&(0,Ze.Z)(an)==="object"?"url(#".concat(br,")"):void 0,nn=St(Jr,Ur,en,et,$r,mn,vr,an,"butt",de,pa);return en+=(Ur-nn.strokeDashoffset+pa)*100/Ur,b.createElement("circle",{key:Xt,className:"".concat(Ct,"-circle-path"),r:Nr,cx:Yn,cy:Yn,stroke:Kt,strokeWidth:de,opacity:1,style:nn,ref:function(Jn){Ie[Xt]=Jn}})})};return b.createElement("svg",(0,Ge.Z)({className:Oe()("".concat(Ct,"-circle"),wt),viewBox:"0 0 ".concat(It," ").concat(It),style:Er,id:vn,role:"presentation"},cr),!Hr&&b.createElement("circle",{className:"".concat(Ct,"-circle-trail"),r:Nr,cx:Yn,cy:Yn,stroke:yr,strokeLinecap:zr,strokeWidth:qt||de,style:ve}),Hr?Le():ut())},Zt=Rt,Tn={Line:Ve,Circle:Zt},Tt=y(25399),Ye=y(68361);function Se(kt){return!kt||kt<0?0:kt>100?100:kt}function Qt(kt){let{success:Yt,successPercent:Ft}=kt,vn=Ft;return Yt&&"progress"in Yt&&(vn=Yt.progress),Yt&&"percent"in Yt&&(vn=Yt.percent),vn}const on=kt=>{let{percent:Yt,success:Ft,successPercent:vn}=kt;const Ct=Se(Qt({success:Ft,successPercent:vn}));return[Ct,Se(Se(Yt)-Ct)]},st=kt=>{let{success:Yt={},strokeColor:Ft}=kt;const{strokeColor:vn}=Yt;return[vn||Ye.presetPrimaryColors.green,Ft||null]},Ut=(kt,Yt,Ft)=>{var vn,Ct,pt,de;let qt=-1,Dn=-1;if(Yt==="step"){const mn=Ft.steps,vr=Ft.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?(qt=kt==="small"?2:14,Dn=vr!=null?vr:8):typeof kt=="number"?[qt,Dn]=[kt,kt]:[qt=14,Dn=8]=Array.isArray(kt)?kt:[kt.width,kt.height],qt*=mn}else if(Yt==="line"){const mn=Ft==null?void 0:Ft.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?Dn=mn||(kt==="small"?6:8):typeof kt=="number"?[qt,Dn]=[kt,kt]:[qt=-1,Dn=8]=Array.isArray(kt)?kt:[kt.width,kt.height]}else(Yt==="circle"||Yt==="dashboard")&&(typeof kt=="string"||typeof kt=="undefined"?[qt,Dn]=kt==="small"?[60,60]:[120,120]:typeof kt=="number"?[qt,Dn]=[kt,kt]:Array.isArray(kt)&&(qt=(Ct=(vn=kt[0])!==null&&vn!==void 0?vn:kt[1])!==null&&Ct!==void 0?Ct:120,Dn=(de=(pt=kt[0])!==null&&pt!==void 0?pt:kt[1])!==null&&de!==void 0?de:120));return[qt,Dn]},Gt=3,On=kt=>Gt/kt*100;var En=kt=>{const{prefixCls:Yt,trailColor:Ft=null,strokeLinecap:vn="round",gapPosition:Ct,gapDegree:pt,width:de=120,type:qt,children:Dn,success:mn,size:vr=de,steps:yr}=kt,[ar,Er]=Ut(vr,"circle");let{strokeWidth:wt}=kt;wt===void 0&&(wt=Math.max(On(ar),6));const Qn={width:ar,height:Er,fontSize:ar*.15+6},lr=b.useMemo(()=>{if(pt||pt===0)return pt;if(qt==="dashboard")return 75},[pt,qt]),cr=on(kt),Yn=Ct||qt==="dashboard"&&"bottom"||void 0,Sr=Object.prototype.toString.call(kt.strokeColor)==="[object Object]",br=st({success:mn,strokeColor:kt.strokeColor}),Nr=Oe()(`${Yt}-inner`,{[`${Yt}-circle-gradient`]:Sr}),Jr=b.createElement(Zt,{steps:yr,percent:yr?cr[1]:cr,strokeWidth:wt,trailWidth:wt,strokeColor:yr?br[1]:br,strokeLinecap:vn,trailColor:Ft,prefixCls:Yt,gapDegree:lr,gapPosition:Yn}),$r=ar<=20,Ur=b.createElement("div",{className:Nr,style:Qn},Jr,!$r&&Dn);return $r?b.createElement(Tt.Z,{title:Dn},Ur):Ur},Ht=y(36237),gn=y(63356),un=y(16931),De=y(51636);const he="--progress-line-stroke-color",ce="--progress-percent",Te=kt=>{const Yt=kt?"100%":"-100%";return new Ht.Keyframes(`antProgress${kt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},je=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:Object.assign(Object.assign({},(0,gn.Wf)(kt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:kt.fontSize},[`${Yt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:kt.remainingColor,borderRadius:kt.lineBorderRadius},[`${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.defaultColor}},[`${Yt}-success-bg, ${Yt}-bg`]:{position:"relative",background:kt.defaultColor,borderRadius:kt.lineBorderRadius,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOutCirc}`},[`${Yt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Yt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:kt.marginXXS}},[`${Yt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${he})`]},height:"100%",width:`calc(1 / var(${ce}) * 100%)`,display:"block"},[`&${Yt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Yt}-text-inner`]:{color:kt.colorWhite,[`&${Yt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:kt.colorSuccess},[`${Yt}-text`]:{display:"inline-block",marginInlineStart:kt.marginXS,color:kt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ft]:{fontSize:kt.fontSize},[`&${Yt}-text-outer`]:{width:"max-content"},[`&${Yt}-text-outer${Yt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:kt.marginXS}},[`${Yt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ht.unit)(kt.paddingXXS)}`,[`&${Yt}-text-start`]:{justifyContent:"start"},[`&${Yt}-text-end`]:{justifyContent:"end"}},[`&${Yt}-status-active`]:{[`${Yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:kt.colorBgContainer,borderRadius:kt.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:kt.progressActiveMotionDuration,animationTimingFunction:kt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Yt}-rtl${Yt}-status-active`]:{[`${Yt}-bg::before`]:{animationName:Te(!0)}},[`&${Yt}-status-exception`]:{[`${Yt}-bg`]:{backgroundColor:kt.colorError},[`${Yt}-text`]:{color:kt.colorError}},[`&${Yt}-status-exception ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.colorError}},[`&${Yt}-status-success`]:{[`${Yt}-bg`]:{backgroundColor:kt.colorSuccess},[`${Yt}-text`]:{color:kt.colorSuccess}},[`&${Yt}-status-success ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.colorSuccess}}})}},ge=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:{[`${Yt}-circle-trail`]:{stroke:kt.remainingColor},[`&${Yt}-circle ${Yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Yt}-circle ${Yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:kt.circleTextColor,fontSize:kt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ft]:{fontSize:kt.circleIconFontSize}},[`${Yt}-circle&-status-exception`]:{[`${Yt}-text`]:{color:kt.colorError}},[`${Yt}-circle&-status-success`]:{[`${Yt}-text`]:{color:kt.colorSuccess}}},[`${Yt}-inline-circle`]:{lineHeight:1,[`${Yt}-inner`]:{verticalAlign:"bottom"}}}},Pe=kt=>{const{componentCls:Yt}=kt;return{[Yt]:{[`${Yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:kt.progressStepMinWidth,marginInlineEnd:kt.progressStepMarginInlineEnd,backgroundColor:kt.remainingColor,transition:`all ${kt.motionDurationSlow}`,"&-active":{backgroundColor:kt.defaultColor}}}}}},ct=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:{[`${Yt}-small&-line, ${Yt}-small&-line ${Yt}-text ${Ft}`]:{fontSize:kt.fontSizeSM}}}},$t=kt=>({circleTextColor:kt.colorText,defaultColor:kt.colorInfo,remainingColor:kt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${kt.fontSize/kt.fontSizeSM}em`});var gt=(0,un.I$)("Progress",kt=>{const Yt=kt.calc(kt.marginXXS).div(2).equal(),Ft=(0,De.mergeToken)(kt,{progressStepMarginInlineEnd:Yt,progressStepMinWidth:Yt,progressActiveMotionDuration:"2.4s"});return[je(Ft),ge(Ft),Pe(Ft),ct(Ft)]},$t),yt=function(kt,Yt){var Ft={};for(var vn in kt)Object.prototype.hasOwnProperty.call(kt,vn)&&Yt.indexOf(vn)<0&&(Ft[vn]=kt[vn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,vn=Object.getOwnPropertySymbols(kt);Ct<vn.length;Ct++)Yt.indexOf(vn[Ct])<0&&Object.prototype.propertyIsEnumerable.call(kt,vn[Ct])&&(Ft[vn[Ct]]=kt[vn[Ct]]);return Ft};const Dt=kt=>{let Yt=[];return Object.keys(kt).forEach(Ft=>{const vn=parseFloat(Ft.replace(/%/g,""));Number.isNaN(vn)||Yt.push({key:vn,value:kt[Ft]})}),Yt=Yt.sort((Ft,vn)=>Ft.key-vn.key),Yt.map(Ft=>{let{key:vn,value:Ct}=Ft;return`${Ct} ${vn}%`}).join(", ")},Pt=(kt,Yt)=>{const{from:Ft=Ye.presetPrimaryColors.blue,to:vn=Ye.presetPrimaryColors.blue,direction:Ct=Yt==="rtl"?"to left":"to right"}=kt,pt=yt(kt,["from","to","direction"]);if(Object.keys(pt).length!==0){const qt=Dt(pt),Dn=`linear-gradient(${Ct}, ${qt})`;return{background:Dn,[he]:Dn}}const de=`linear-gradient(${Ct}, ${Ft}, ${vn})`;return{background:de,[he]:de}};var pn=kt=>{const{prefixCls:Yt,direction:Ft,percent:vn,size:Ct,strokeWidth:pt,strokeColor:de,strokeLinecap:qt="round",children:Dn,trailColor:mn=null,percentPosition:vr,success:yr}=kt,{align:ar,type:Er}=vr,wt=de&&typeof de!="string"?Pt(de,Ft):{[he]:de,background:de},Qn=qt==="square"||qt==="butt"?0:void 0,lr=Ct!=null?Ct:[-1,pt||(Ct==="small"?6:8)],[cr,Yn]=Ut(lr,"line",{strokeWidth:pt}),Sr={backgroundColor:mn||void 0,borderRadius:Qn},br=Object.assign(Object.assign({width:`${Se(vn)}%`,height:Yn,borderRadius:Qn},wt),{[ce]:Se(vn)/100}),Nr=Qt(kt),Jr={width:`${Se(Nr)}%`,height:Yn,borderRadius:Qn,backgroundColor:yr==null?void 0:yr.strokeColor},$r={width:cr<0?"100%":cr},Ur=b.createElement("div",{className:`${Yt}-inner`,style:Sr},b.createElement("div",{className:Oe()(`${Yt}-bg`,`${Yt}-bg-${Er}`),style:br},Er==="inner"&&Dn),Nr!==void 0&&b.createElement("div",{className:`${Yt}-success-bg`,style:Jr})),aa=Er==="outer"&&ar==="start",Hr=Er==="outer"&&ar==="end";return Er==="outer"&&ar==="center"?b.createElement("div",{className:`${Yt}-layout-bottom`},Ur,Dn):b.createElement("div",{className:`${Yt}-outer`,style:$r},aa&&Dn,Ur,Hr&&Dn)},Mt=kt=>{const{size:Yt,steps:Ft,rounding:vn=Math.round,percent:Ct=0,strokeWidth:pt=8,strokeColor:de,trailColor:qt=null,prefixCls:Dn,children:mn}=kt,vr=vn(Ft*(Ct/100)),yr=Yt==="small"?2:14,ar=Yt!=null?Yt:[yr,pt],[Er,wt]=Ut(ar,"step",{steps:Ft,strokeWidth:pt}),Qn=Er/Ft,lr=Array.from({length:Ft});for(let cr=0;cr<Ft;cr++){const Yn=Array.isArray(de)?de[cr]:de;lr[cr]=b.createElement("div",{key:cr,className:Oe()(`${Dn}-steps-item`,{[`${Dn}-steps-item-active`]:cr<=vr-1}),style:{backgroundColor:cr<=vr-1?Yn:qt,width:Qn,height:wt}})}return b.createElement("div",{className:`${Dn}-steps-outer`},lr,mn)},Ln=function(kt,Yt){var Ft={};for(var vn in kt)Object.prototype.hasOwnProperty.call(kt,vn)&&Yt.indexOf(vn)<0&&(Ft[vn]=kt[vn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,vn=Object.getOwnPropertySymbols(kt);Ct<vn.length;Ct++)Yt.indexOf(vn[Ct])<0&&Object.prototype.propertyIsEnumerable.call(kt,vn[Ct])&&(Ft[vn[Ct]]=kt[vn[Ct]]);return Ft};const kn=null,wn=["normal","exception","active","success"];var In=b.forwardRef((kt,Yt)=>{const{prefixCls:Ft,className:vn,rootClassName:Ct,steps:pt,strokeColor:de,percent:qt=0,size:Dn="default",showInfo:mn=!0,type:vr="line",status:yr,format:ar,style:Er,percentPosition:wt={}}=kt,Qn=Ln(kt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:lr="end",type:cr="outer"}=wt,Yn=Array.isArray(de)?de[0]:de,Sr=typeof de=="string"||Array.isArray(de)?de:void 0,br=b.useMemo(()=>{if(Yn){const ut=typeof Yn=="string"?Yn:Object.values(Yn)[0];return new me.FastColor(ut).isLight()}return!1},[de]),Nr=b.useMemo(()=>{var ut,Le;const He=Qt(kt);return parseInt(He!==void 0?(ut=He!=null?He:0)===null||ut===void 0?void 0:ut.toString():(Le=qt!=null?qt:0)===null||Le===void 0?void 0:Le.toString(),10)},[qt,kt.success,kt.successPercent]),Jr=b.useMemo(()=>!wn.includes(yr)&&Nr>=100?"success":yr||"normal",[yr,Nr]),{getPrefixCls:$r,direction:Ur,progress:aa}=b.useContext(xe.E_),Hr=$r("progress",Ft),[pa,ea,jn]=gt(Hr),sr=vr==="line",Kr=sr&&!pt,zr=b.useMemo(()=>{if(!mn)return null;const ut=Qt(kt);let Le;const He=ar||(et=>`${et}%`),Vt=sr&&br&&cr==="inner";return cr==="inner"||ar||Jr!=="exception"&&Jr!=="success"?Le=He(Se(qt),Se(ut)):Jr==="exception"?Le=sr?b.createElement(be.Z,null):b.createElement(fe.Z,null):Jr==="success"&&(Le=sr?b.createElement(le.Z,null):b.createElement(pe.Z,null)),b.createElement("span",{className:Oe()(`${Hr}-text`,{[`${Hr}-text-bright`]:Vt,[`${Hr}-text-${lr}`]:Kr,[`${Hr}-text-${cr}`]:Kr}),title:typeof Le=="string"?Le:void 0},Le)},[mn,qt,Nr,Jr,vr,Hr,ar]);let ve;vr==="line"?ve=pt?b.createElement(Mt,Object.assign({},kt,{strokeColor:Sr,prefixCls:Hr,steps:typeof pt=="object"?pt.count:pt}),zr):b.createElement(pn,Object.assign({},kt,{strokeColor:Yn,prefixCls:Hr,direction:Ur,percentPosition:{align:lr,type:cr}}),zr):(vr==="circle"||vr==="dashboard")&&(ve=b.createElement(En,Object.assign({},kt,{strokeColor:Yn,prefixCls:Hr,progressStatus:Jr}),zr));const Ie=Oe()(Hr,`${Hr}-status-${Jr}`,{[`${Hr}-${vr==="dashboard"&&"circle"||vr}`]:vr!=="line",[`${Hr}-inline-circle`]:vr==="circle"&&Ut(Dn,"circle")[0]<=20,[`${Hr}-line`]:Kr,[`${Hr}-line-align-${lr}`]:Kr,[`${Hr}-line-position-${cr}`]:Kr,[`${Hr}-steps`]:pt,[`${Hr}-show-info`]:mn,[`${Hr}-${Dn}`]:typeof Dn=="string",[`${Hr}-rtl`]:Ur==="rtl"},aa==null?void 0:aa.className,vn,Ct,ea,jn);return pa(b.createElement("div",Object.assign({ref:Yt,style:Object.assign(Object.assign({},aa==null?void 0:aa.style),Er),className:Ie,role:"progressbar","aria-valuenow":Nr,"aria-valuemin":0,"aria-valuemax":100},(0,Re.Z)(Qn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ve))}),xn=In},82326:function(Ce,ae,y){"use strict";var b=y(59301),me=y(92310),le=y.n(me),pe=y(37463),be=y(2738),fe=y(75030),we=y(86641),Oe=y(45915),Re=y(82855),xe=y(48755),Ge=y(38406),Fe=y(2171),At=y(83397),at=y(31756),tt=y(56553),Je=y(24971),We=y(70045),Ve=y(57700),Ze=y(1722),Qe=y(90376),ze=y(68525),_e=y(90005),$e=function(vt,dt){var It={};for(var St in vt)Object.prototype.hasOwnProperty.call(vt,St)&&dt.indexOf(St)<0&&(It[St]=vt[St]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,St=Object.getOwnPropertySymbols(vt);qe<St.length;qe++)dt.indexOf(St[qe])<0&&Object.prototype.propertyIsEnumerable.call(vt,St[qe])&&(It[St[qe]]=vt[St[qe]]);return It};const nt="SECRET_COMBOBOX_MODE_DO_NOT_USE",bt=(vt,dt)=>{var It;const{prefixCls:St,bordered:qe,className:Jt,rootClassName:Rt,getPopupContainer:Zt,popupClassName:Tn,dropdownClassName:Tt,listHeight:Ye=256,placement:Se,listItemHeight:Qt,size:on,disabled:st,notFoundContent:Ut,status:Gt,builtinPlacements:On,dropdownMatchSelectWidth:ft,popupMatchSelectWidth:En,direction:Ht,style:gn,allowClear:un,variant:De,dropdownStyle:he,transitionName:ce,tagRender:Te,maxCount:je,prefix:ge}=vt,Pe=$e(vt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:ct,getPrefixCls:$t,renderEmpty:gt,direction:yt,virtual:Dt,popupMatchSelectWidth:Pt,popupOverflow:Wt}=b.useContext(xe.E_),pn=(0,xe.dj)("select"),[,fn]=(0,Ve.ZP)(),Mt=Qt!=null?Qt:fn==null?void 0:fn.controlHeight,Ln=$t("select",St),kn=$t(),wn=Ht!=null?Ht:yt,{compactSize:ln,compactItemClassnames:In}=(0,We.ri)(Ln,wn),[xn,kt]=(0,Je.Z)("select",De,qe),Yt=(0,At.Z)(Ln),[Ft,vn,Ct]=(0,Qe.Z)(Ln,Yt),pt=b.useMemo(()=>{const{mode:ea}=vt;if(ea!=="combobox")return ea===nt?"combobox":ea},[vt.mode]),de=pt==="multiple"||pt==="tags",qt=(0,_e.Z)(vt.suffixIcon,vt.showArrow),Dn=(It=En!=null?En:ft)!==null&&It!==void 0?It:Pt,{status:mn,hasFeedback:vr,isFormItemInput:yr,feedbackIcon:ar}=b.useContext(tt.aM),Er=(0,Re.F)(mn,Gt);let wt;Ut!==void 0?wt=Ut:pt==="combobox"?wt=null:wt=(gt==null?void 0:gt("Select"))||b.createElement(Ge.Z,{componentName:"Select"});const{suffixIcon:Qn,itemIcon:lr,removeIcon:cr,clearIcon:Yn}=(0,ze.Z)(Object.assign(Object.assign({},Pe),{multiple:de,hasFeedback:vr,feedbackIcon:ar,showSuffixIcon:qt,prefixCls:Ln,componentName:"Select"})),Sr=un===!0?{clearIcon:Yn}:un,br=(0,be.Z)(Pe,["suffixIcon","itemIcon"]),Nr=le()(Tn||Tt,{[`${Ln}-dropdown-${wn}`]:wn==="rtl"},Rt,Ct,Yt,vn),Jr=(0,at.Z)(ea=>{var jn;return(jn=on!=null?on:ln)!==null&&jn!==void 0?jn:ea}),$r=b.useContext(Fe.Z),Ur=st!=null?st:$r,aa=le()({[`${Ln}-lg`]:Jr==="large",[`${Ln}-sm`]:Jr==="small",[`${Ln}-rtl`]:wn==="rtl",[`${Ln}-${xn}`]:kt,[`${Ln}-in-form-item`]:yr},(0,Re.Z)(Ln,Er,vr),In,pn.className,Jt,Rt,Ct,Yt,vn),Hr=b.useMemo(()=>Se!==void 0?Se:wn==="rtl"?"bottomRight":"bottomLeft",[Se,wn]),[pa]=(0,fe.Cn)("SelectLike",he==null?void 0:he.zIndex);return Ft(b.createElement(pe.ZP,Object.assign({ref:dt,virtual:Dt,showSearch:pn.showSearch},br,{style:Object.assign(Object.assign({},pn.style),gn),dropdownMatchSelectWidth:Dn,transitionName:(0,we.m)(kn,"slide-up",ce),builtinPlacements:(0,Ze.Z)(On,Wt),listHeight:Ye,listItemHeight:Mt,mode:pt,prefixCls:Ln,placement:Hr,direction:wn,prefix:ge,suffixIcon:Qn,menuItemSelectedIcon:lr,removeIcon:cr,allowClear:Sr,notFoundContent:wt,className:aa,getPopupContainer:Zt||ct,dropdownClassName:Nr,disabled:Ur,dropdownStyle:Object.assign(Object.assign({},he),{zIndex:pa}),maxCount:de?je:void 0,tagRender:de?Te:void 0})))},it=b.forwardRef(bt),Nt=(0,Oe.Z)(it,"dropdownAlign");it.SECRET_COMBOBOX_MODE_DO_NOT_USE=nt,it.Option=pe.Wx,it.OptGroup=pe.Xo,it._InternalPanelDoNotUseOrYouWillBeFired=Nt,ae.default=it},1722:function(Ce,ae){"use strict";const y=me=>{const pe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:me==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},pe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},pe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},pe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},pe),{points:["br","tr"],offset:[0,-4]})}};function b(me,le){return me||y(le)}ae.Z=b},90376:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return St}});var b=y(63356),me=y(56119),le=y(16931),pe=y(51636),be=y(46e3),fe=y(93873);const we=qe=>{const{optionHeight:Jt,optionFontSize:Rt,optionLineHeight:Zt,optionPadding:Tn}=qe;return{position:"relative",display:"block",minHeight:Jt,padding:Tn,color:qe.colorText,fontWeight:"normal",fontSize:Rt,lineHeight:Zt,boxSizing:"border-box"}};var Re=qe=>{const{antCls:Jt,componentCls:Rt}=qe,Zt=`${Rt}-item`,Tn=`&${Jt}-slide-up-enter${Jt}-slide-up-enter-active`,Tt=`&${Jt}-slide-up-appear${Jt}-slide-up-appear-active`,Ye=`&${Jt}-slide-up-leave${Jt}-slide-up-leave-active`,Se=`${Rt}-dropdown-placement-`,Qt=`${Zt}-option-selected`;return[{[`${Rt}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(qe)),{position:"absolute",top:-9999,zIndex:qe.zIndexPopup,boxSizing:"border-box",padding:qe.paddingXXS,overflow:"hidden",fontSize:qe.fontSize,fontVariant:"initial",backgroundColor:qe.colorBgElevated,borderRadius:qe.borderRadiusLG,outline:"none",boxShadow:qe.boxShadowSecondary,[`
|
|
|
${Tn}${Se}bottomLeft,
|
|
|
${Tt}${Se}bottomLeft
|
|
|
`]:{animationName:be.fJ},[`
|
|
|
${Tn}${Se}topLeft,
|
|
|
${Tt}${Se}topLeft,
|
|
|
${Tn}${Se}topRight,
|
|
|
${Tt}${Se}topRight
|
|
|
`]:{animationName:be.Qt},[`${Ye}${Se}bottomLeft`]:{animationName:be.Uw},[`
|
|
|
${Ye}${Se}topLeft,
|
|
|
${Ye}${Se}topRight
|
|
|
`]:{animationName:be.ly},"&-hidden":{display:"none"},[Zt]:Object.assign(Object.assign({},we(qe)),{cursor:"pointer",transition:`background ${qe.motionDurationSlow} ease`,borderRadius:qe.borderRadiusSM,"&-group":{color:qe.colorTextDescription,fontSize:qe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Zt}-option-disabled)`]:{backgroundColor:qe.optionActiveBg},[`&-selected:not(${Zt}-option-disabled)`]:{color:qe.optionSelectedColor,fontWeight:qe.optionSelectedFontWeight,backgroundColor:qe.optionSelectedBg,[`${Zt}-option-state`]:{color:qe.colorPrimary}},"&-disabled":{[`&${Zt}-option-selected`]:{backgroundColor:qe.colorBgContainerDisabled},color:qe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:qe.calc(qe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},we(qe)),{color:qe.colorTextDisabled})}),[`${Qt}:has(+ ${Qt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Qt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,be.oN)(qe,"slide-up"),(0,be.oN)(qe,"slide-down"),(0,fe.Fm)(qe,"move-up"),(0,fe.Fm)(qe,"move-down")]},xe=y(26743),Ge=y(36237);function Fe(qe,Jt){const{componentCls:Rt,inputPaddingHorizontalBase:Zt,borderRadius:Tn}=qe,Tt=qe.calc(qe.controlHeight).sub(qe.calc(qe.lineWidth).mul(2)).equal(),Ye=Jt?`${Rt}-${Jt}`:"";return{[`${Rt}-single${Ye}`]:{fontSize:qe.fontSize,height:qe.controlHeight,[`${Rt}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(qe,!0)),{display:"flex",borderRadius:Tn,flex:"1 1 auto",[`${Rt}-selection-wrap:after`]:{lineHeight:(0,Ge.unit)(Tt)},[`${Rt}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${Rt}-selection-item,
|
|
|
${Rt}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,Ge.unit)(Tt),transition:`all ${qe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Rt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Rt}-selection-item:empty:after`,`${Rt}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${Rt}-show-arrow ${Rt}-selection-item,
|
|
|
&${Rt}-show-arrow ${Rt}-selection-search,
|
|
|
&${Rt}-show-arrow ${Rt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:qe.showArrowPaddingInlineEnd},[`&${Rt}-open ${Rt}-selection-item`]:{color:qe.colorTextPlaceholder},[`&:not(${Rt}-customize-input)`]:{[`${Rt}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ge.unit)(Zt)}`,[`${Rt}-selection-search-input`]:{height:Tt,fontSize:qe.fontSize},"&:after":{lineHeight:(0,Ge.unit)(Tt)}}},[`&${Rt}-customize-input`]:{[`${Rt}-selector`]:{"&:after":{display:"none"},[`${Rt}-selection-search`]:{position:"static",width:"100%"},[`${Rt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ge.unit)(Zt)}`,"&:after":{display:"none"}}}}}}}function At(qe){const{componentCls:Jt}=qe,Rt=qe.calc(qe.controlPaddingHorizontalSM).sub(qe.lineWidth).equal();return[Fe(qe),Fe((0,pe.mergeToken)(qe,{controlHeight:qe.controlHeightSM,borderRadius:qe.borderRadiusSM}),"sm"),{[`${Jt}-single${Jt}-sm`]:{[`&:not(${Jt}-customize-input)`]:{[`${Jt}-selector`]:{padding:`0 ${(0,Ge.unit)(Rt)}`},[`&${Jt}-show-arrow ${Jt}-selection-search`]:{insetInlineEnd:qe.calc(Rt).add(qe.calc(qe.fontSize).mul(1.5)).equal()},[`
|
|
|
&${Jt}-show-arrow ${Jt}-selection-item,
|
|
|
&${Jt}-show-arrow ${Jt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:qe.calc(qe.fontSize).mul(1.5).equal()}}}},Fe((0,pe.mergeToken)(qe,{controlHeight:qe.singleItemHeightLG,fontSize:qe.fontSizeLG,borderRadius:qe.borderRadiusLG}),"lg")]}const at=qe=>{const{fontSize:Jt,lineHeight:Rt,lineWidth:Zt,controlHeight:Tn,controlHeightSM:Tt,controlHeightLG:Ye,paddingXXS:Se,controlPaddingHorizontal:Qt,zIndexPopupBase:on,colorText:st,fontWeightStrong:Ut,controlItemBgActive:Gt,controlItemBgHover:On,colorBgContainer:ft,colorFillSecondary:En,colorBgContainerDisabled:Ht,colorTextDisabled:gn,colorPrimaryHover:un,colorPrimary:De,controlOutline:he}=qe,ce=Se*2,Te=Zt*2,je=Math.min(Tn-ce,Tn-Te),ge=Math.min(Tt-ce,Tt-Te),Pe=Math.min(Ye-ce,Ye-Te);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Se/2),zIndexPopup:on+50,optionSelectedColor:st,optionSelectedFontWeight:Ut,optionSelectedBg:Gt,optionActiveBg:On,optionPadding:`${(Tn-Jt*Rt)/2}px ${Qt}px`,optionFontSize:Jt,optionLineHeight:Rt,optionHeight:Tn,selectorBg:ft,clearBg:ft,singleItemHeightLG:Ye,multipleItemBg:En,multipleItemBorderColor:"transparent",multipleItemHeight:je,multipleItemHeightSM:ge,multipleItemHeightLG:Pe,multipleSelectorBgDisabled:Ht,multipleItemColorDisabled:gn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(qe.fontSize*1.25),hoverBorderColor:un,activeBorderColor:De,activeOutlineColor:he,selectAffixPadding:Se}},tt=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt,controlOutlineWidth:Tn}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${Jt.borderColor}`,background:qe.selectorBg},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{borderColor:Jt.hoverBorderHover},[`${Rt}-focused& ${Rt}-selector`]:{borderColor:Jt.activeBorderColor,boxShadow:`0 0 0 ${(0,Ge.unit)(Tn)} ${Jt.activeOutlineColor}`,outline:0},[`${Rt}-prefix`]:{color:Jt.color}}}},Je=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},tt(qe,Jt))}),We=qe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},tt(qe,{borderColor:qe.colorBorder,hoverBorderHover:qe.hoverBorderColor,activeBorderColor:qe.activeBorderColor,activeOutlineColor:qe.activeOutlineColor,color:qe.colorText})),Je(qe,{status:"error",borderColor:qe.colorError,hoverBorderHover:qe.colorErrorHover,activeBorderColor:qe.colorError,activeOutlineColor:qe.colorErrorOutline,color:qe.colorError})),Je(qe,{status:"warning",borderColor:qe.colorWarning,hoverBorderHover:qe.colorWarningHover,activeBorderColor:qe.colorWarning,activeOutlineColor:qe.colorWarningOutline,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{background:qe.colorBgContainerDisabled,color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`}})}),Ve=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{background:Jt.bg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} transparent`,color:Jt.color},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{background:Jt.hoverBg},[`${Rt}-focused& ${Rt}-selector`]:{background:qe.selectorBg,borderColor:Jt.activeBorderColor,outline:0}}}},Ze=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},Ve(qe,Jt))}),Qe=qe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ve(qe,{bg:qe.colorFillTertiary,hoverBg:qe.colorFillSecondary,activeBorderColor:qe.activeBorderColor,color:qe.colorText})),Ze(qe,{status:"error",bg:qe.colorErrorBg,hoverBg:qe.colorErrorBgHover,activeBorderColor:qe.colorError,color:qe.colorError})),Ze(qe,{status:"warning",bg:qe.colorWarningBg,hoverBg:qe.colorWarningBgHover,activeBorderColor:qe.colorWarning,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{borderColor:qe.colorBorder,background:qe.colorBgContainerDisabled,color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.colorBgContainer,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.colorSplit}`}})}),ze=qe=>({"&-borderless":{[`${qe.componentCls}-selector`]:{background:"transparent",border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} transparent`},[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`},[`&${qe.componentCls}-status-error`]:{[`${qe.componentCls}-prefix, ${qe.componentCls}-selection-item`]:{color:qe.colorError}},[`&${qe.componentCls}-status-warning`]:{[`${qe.componentCls}-prefix, ${qe.componentCls}-selection-item`]:{color:qe.colorWarning}}}}),_e=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{borderWidth:`0 0 ${(0,Ge.unit)(qe.lineWidth)} 0`,borderStyle:`none none ${qe.lineType} none`,borderColor:Jt.borderColor,background:qe.selectorBg,borderRadius:0},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{borderColor:Jt.hoverBorderHover},[`${Rt}-focused& ${Rt}-selector`]:{borderColor:Jt.activeBorderColor,outline:0},[`${Rt}-prefix`]:{color:Jt.color}}}},$e=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},_e(qe,Jt))}),nt=qe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(qe,{borderColor:qe.colorBorder,hoverBorderHover:qe.hoverBorderColor,activeBorderColor:qe.activeBorderColor,activeOutlineColor:qe.activeOutlineColor,color:qe.colorText})),$e(qe,{status:"error",borderColor:qe.colorError,hoverBorderHover:qe.colorErrorHover,activeBorderColor:qe.colorError,activeOutlineColor:qe.colorErrorOutline,color:qe.colorError})),$e(qe,{status:"warning",borderColor:qe.colorWarning,hoverBorderHover:qe.colorWarningHover,activeBorderColor:qe.colorWarning,activeOutlineColor:qe.colorWarningOutline,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`}})});var it=qe=>({[qe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},We(qe)),Qe(qe)),ze(qe)),nt(qe))});const Nt=qe=>{const{componentCls:Jt}=qe;return{position:"relative",transition:`all ${qe.motionDurationMid} ${qe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Jt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Jt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},vt=qe=>{const{componentCls:Jt}=qe;return{[`${Jt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},dt=qe=>{const{antCls:Jt,componentCls:Rt,inputPaddingHorizontalBase:Zt,iconCls:Tn}=qe;return{[Rt]:Object.assign(Object.assign({},(0,b.Wf)(qe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Rt}-customize-input) ${Rt}-selector`]:Object.assign(Object.assign({},Nt(qe)),vt(qe)),[`${Rt}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Jt}-typography`]:{display:"inline"}}),[`${Rt}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:qe.colorTextPlaceholder,pointerEvents:"none"}),[`${Rt}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Zt,height:qe.fontSizeIcon,marginTop:qe.calc(qe.fontSizeIcon).mul(-1).div(2).equal(),color:qe.colorTextQuaternary,fontSize:qe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${qe.motionDurationSlow} ease`,[Tn]:{verticalAlign:"top",transition:`transform ${qe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Rt}-suffix)`]:{pointerEvents:"auto"}},[`${Rt}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Rt}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Rt}-prefix`]:{flex:"none",marginInlineEnd:qe.selectAffixPadding},[`${Rt}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Zt,zIndex:1,display:"inline-block",width:qe.fontSizeIcon,height:qe.fontSizeIcon,marginTop:qe.calc(qe.fontSizeIcon).mul(-1).div(2).equal(),color:qe.colorTextQuaternary,fontSize:qe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${qe.motionDurationMid} ease, opacity ${qe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:qe.colorTextTertiary}},[`&:hover ${Rt}-clear`]:{opacity:1,background:qe.colorBgBase,borderRadius:"50%"}}),[`${Rt}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Rt}-has-feedback`]:{[`${Rt}-clear`]:{insetInlineEnd:qe.calc(Zt).add(qe.fontSize).add(qe.paddingXS).equal()}}}}}},It=qe=>{const{componentCls:Jt}=qe;return[{[Jt]:{[`&${Jt}-in-form-item`]:{width:"100%"}}},dt(qe),At(qe),(0,xe.ZP)(qe),Re(qe),{[`${Jt}-rtl`]:{direction:"rtl"}},(0,me.c)(qe,{borderElCls:`${Jt}-selector`,focusElCls:`${Jt}-focused`})]};var St=(0,le.I$)("Select",(qe,Jt)=>{let{rootPrefixCls:Rt}=Jt;const Zt=(0,pe.mergeToken)(qe,{rootPrefixCls:Rt,inputPaddingHorizontalBase:qe.calc(qe.paddingSM).sub(1).equal(),multipleSelectItemHeight:qe.multipleItemHeight,selectHeight:qe.controlHeight});return[It(Zt),it(Zt)]},at,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Ce,ae,y){"use strict";y.d(ae,{_z:function(){return fe},gp:function(){return pe}});var b=y(36237),me=y(63356),le=y(51636);const pe=xe=>{const{multipleSelectItemHeight:Ge,paddingXXS:Fe,lineWidth:At,INTERNAL_FIXED_ITEM_MARGIN:at}=xe,tt=xe.max(xe.calc(Fe).sub(At).equal(),0),Je=xe.max(xe.calc(tt).sub(at).equal(),0);return{basePadding:tt,containerPadding:Je,itemHeight:(0,b.unit)(Ge),itemLineHeight:(0,b.unit)(xe.calc(Ge).sub(xe.calc(xe.lineWidth).mul(2)).equal())}},be=xe=>{const{multipleSelectItemHeight:Ge,selectHeight:Fe,lineWidth:At}=xe;return xe.calc(Fe).sub(Ge).div(2).sub(At).equal()},fe=xe=>{const{componentCls:Ge,iconCls:Fe,borderRadiusSM:At,motionDurationSlow:at,paddingXS:tt,multipleItemColorDisabled:Je,multipleItemBorderColorDisabled:We,colorIcon:Ve,colorIconHover:Ze,INTERNAL_FIXED_ITEM_MARGIN:Qe}=xe;return{[`${Ge}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ge}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Qe,borderRadius:At,cursor:"default",transition:`font-size ${at}, line-height ${at}, height ${at}`,marginInlineEnd:xe.calc(Qe).mul(2).equal(),paddingInlineStart:tt,paddingInlineEnd:xe.calc(tt).div(2).equal(),[`${Ge}-disabled&`]:{color:Je,borderColor:We,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:xe.calc(tt).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,me.Ro)()),{display:"inline-flex",alignItems:"center",color:Ve,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Fe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze}})}}}},we=(xe,Ge)=>{const{componentCls:Fe,INTERNAL_FIXED_ITEM_MARGIN:At}=xe,at=`${Fe}-selection-overflow`,tt=xe.multipleSelectItemHeight,Je=be(xe),We=Ge?`${Fe}-${Ge}`:"",Ve=pe(xe);return{[`${Fe}-multiple${We}`]:Object.assign(Object.assign({},fe(xe)),{[`${Fe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ve.basePadding,paddingBlock:Ve.containerPadding,borderRadius:xe.borderRadius,[`${Fe}-disabled&`]:{background:xe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(At)} 0`,lineHeight:(0,b.unit)(tt),visibility:"hidden",content:'"\\a0"'}},[`${Fe}-selection-item`]:{height:Ve.itemHeight,lineHeight:(0,b.unit)(Ve.itemLineHeight)},[`${Fe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(tt),marginBlock:At}},[`${Fe}-prefix`]:{marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Ve.basePadding).equal()},[`${at}-item + ${at}-item,
|
|
|
${Fe}-prefix + ${Fe}-selection-wrap
|
|
|
`]:{[`${Fe}-selection-search`]:{marginInlineStart:0},[`${Fe}-selection-placeholder`]:{insetInlineStart:0}},[`${at}-item-suffix`]:{minHeight:Ve.itemHeight,marginBlock:At},[`${Fe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Je).equal(),"\n &-input,\n &-mirror\n ":{height:tt,fontFamily:xe.fontFamily,lineHeight:(0,b.unit)(tt),transition:`all ${xe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Fe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Ve.basePadding).equal(),insetInlineEnd:xe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${xe.motionDurationSlow}`}})}};function Oe(xe,Ge){const{componentCls:Fe}=xe,At=Ge?`${Fe}-${Ge}`:"",at={[`${Fe}-multiple${At}`]:{fontSize:xe.fontSize,[`${Fe}-selector`]:{[`${Fe}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${Fe}-show-arrow ${Fe}-selector,
|
|
|
&${Fe}-allow-clear ${Fe}-selector
|
|
|
`]:{paddingInlineEnd:xe.calc(xe.fontSizeIcon).add(xe.controlPaddingHorizontal).equal()}}};return[we(xe,Ge),at]}const Re=xe=>{const{componentCls:Ge}=xe,Fe=(0,le.mergeToken)(xe,{selectHeight:xe.controlHeightSM,multipleSelectItemHeight:xe.multipleItemHeightSM,borderRadius:xe.borderRadiusSM,borderRadiusSM:xe.borderRadiusXS}),At=(0,le.mergeToken)(xe,{fontSize:xe.fontSizeLG,selectHeight:xe.controlHeightLG,multipleSelectItemHeight:xe.multipleItemHeightLG,borderRadius:xe.borderRadiusLG,borderRadiusSM:xe.borderRadius});return[Oe(xe),Oe(Fe,"sm"),{[`${Ge}-multiple${Ge}-sm`]:{[`${Ge}-selection-placeholder`]:{insetInline:xe.calc(xe.controlPaddingHorizontalSM).sub(xe.lineWidth).equal()},[`${Ge}-selection-search`]:{marginInlineStart:2}}},Oe(At,"lg")]};ae.ZP=Re},68525:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(59301),me=y(40001),le=y(19248),pe=y(99267),be=y(84105),fe=y(58617),we=y(47472);function Oe(Re){let{suffixIcon:xe,clearIcon:Ge,menuItemSelectedIcon:Fe,removeIcon:At,loading:at,multiple:tt,hasFeedback:Je,prefixCls:We,showSuffixIcon:Ve,feedbackIcon:Ze,showArrow:Qe,componentName:ze}=Re;const _e=Ge!=null?Ge:b.createElement(le.Z,null),$e=Nt=>xe===null&&!Je&&!Qe?null:b.createElement(b.Fragment,null,Ve!==!1&&Nt,Je&&Ze);let nt=null;if(xe!==void 0)nt=$e(xe);else if(at)nt=$e(b.createElement(fe.Z,{spin:!0}));else{const Nt=`${We}-suffix`;nt=vt=>{let{open:dt,showSearch:It}=vt;return $e(dt&&It?b.createElement(we.Z,{className:Nt}):b.createElement(be.Z,{className:Nt}))}}let bt=null;Fe!==void 0?bt=Fe:tt?bt=b.createElement(me.Z,null):bt=null;let it=null;return At!==void 0?it=At:it=b.createElement(pe.Z,null),{clearIcon:_e,suffixIcon:nt,itemIcon:bt,removeIcon:it}}},90005:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(me,le){return le!==void 0?le:me!==null}},58755:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Jt}});var b=y(59301),me=y(58617),le=y(92310),pe=y.n(le),be=y(60499),fe=y(18642),we=y(72190),Oe=y(42244),Re=y(18929),xe=y(10228),Ge=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Fe=b.forwardRef(function(Rt,Zt){var Tn,Tt=Rt.prefixCls,Ye=Tt===void 0?"rc-switch":Tt,Se=Rt.className,Qt=Rt.checked,on=Rt.defaultChecked,st=Rt.disabled,Ut=Rt.loadingIcon,Gt=Rt.checkedChildren,On=Rt.unCheckedChildren,ft=Rt.onClick,En=Rt.onChange,Ht=Rt.onKeyDown,gn=(0,Oe.Z)(Rt,Ge),un=(0,Re.Z)(!1,{value:Qt,defaultValue:on}),De=(0,we.Z)(un,2),he=De[0],ce=De[1];function Te(ct,$t){var gt=he;return st||(gt=ct,ce(gt),En==null||En(gt,$t)),gt}function je(ct){ct.which===xe.Z.LEFT?Te(!1,ct):ct.which===xe.Z.RIGHT&&Te(!0,ct),Ht==null||Ht(ct)}function ge(ct){var $t=Te(!he,ct);ft==null||ft($t,ct)}var Pe=pe()(Ye,Se,(Tn={},(0,fe.Z)(Tn,"".concat(Ye,"-checked"),he),(0,fe.Z)(Tn,"".concat(Ye,"-disabled"),st),Tn));return b.createElement("button",(0,be.Z)({},gn,{type:"button",role:"switch","aria-checked":he,disabled:st,className:Pe,ref:Zt,onKeyDown:je,onClick:ge}),Ut,b.createElement("span",{className:"".concat(Ye,"-inner")},b.createElement("span",{className:"".concat(Ye,"-inner-checked")},Gt),b.createElement("span",{className:"".concat(Ye,"-inner-unchecked")},On)))});Fe.displayName="Switch";var At=Fe,at=y(12919),tt=y(48755),Je=y(2171),We=y(31756),Ve=y(36237),Ze=y(17835),Qe=y(63356),ze=y(16931),_e=y(51636);const $e=Rt=>{const{componentCls:Zt,trackHeightSM:Tn,trackPadding:Tt,trackMinWidthSM:Ye,innerMinMarginSM:Se,innerMaxMarginSM:Qt,handleSizeSM:on,calc:st}=Rt,Ut=`${Zt}-inner`,Gt=(0,Ve.unit)(st(on).add(st(Tt).mul(2)).equal()),On=(0,Ve.unit)(st(Qt).mul(2).equal());return{[Zt]:{[`&${Zt}-small`]:{minWidth:Ye,height:Tn,lineHeight:(0,Ve.unit)(Tn),[`${Zt}-inner`]:{paddingInlineStart:Qt,paddingInlineEnd:Se,[`${Ut}-checked, ${Ut}-unchecked`]:{minHeight:Tn},[`${Ut}-checked`]:{marginInlineStart:`calc(-100% + ${Gt} - ${On})`,marginInlineEnd:`calc(100% - ${Gt} + ${On})`},[`${Ut}-unchecked`]:{marginTop:st(Tn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Zt}-handle`]:{width:on,height:on},[`${Zt}-loading-icon`]:{top:st(st(on).sub(Rt.switchLoadingIconSize)).div(2).equal(),fontSize:Rt.switchLoadingIconSize},[`&${Zt}-checked`]:{[`${Zt}-inner`]:{paddingInlineStart:Se,paddingInlineEnd:Qt,[`${Ut}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ut}-unchecked`]:{marginInlineStart:`calc(100% - ${Gt} + ${On})`,marginInlineEnd:`calc(-100% + ${Gt} - ${On})`}},[`${Zt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ve.unit)(st(on).add(Tt).equal())})`}},[`&:not(${Zt}-disabled):active`]:{[`&:not(${Zt}-checked) ${Ut}`]:{[`${Ut}-unchecked`]:{marginInlineStart:st(Rt.marginXXS).div(2).equal(),marginInlineEnd:st(Rt.marginXXS).mul(-1).div(2).equal()}},[`&${Zt}-checked ${Ut}`]:{[`${Ut}-checked`]:{marginInlineStart:st(Rt.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:st(Rt.marginXXS).div(2).equal()}}}}}}},nt=Rt=>{const{componentCls:Zt,handleSize:Tn,calc:Tt}=Rt;return{[Zt]:{[`${Zt}-loading-icon${Rt.iconCls}`]:{position:"relative",top:Tt(Tt(Tn).sub(Rt.fontSize)).div(2).equal(),color:Rt.switchLoadingIconColor,verticalAlign:"top"},[`&${Zt}-checked ${Zt}-loading-icon`]:{color:Rt.switchColor}}}},bt=Rt=>{const{componentCls:Zt,trackPadding:Tn,handleBg:Tt,handleShadow:Ye,handleSize:Se,calc:Qt}=Rt,on=`${Zt}-handle`;return{[Zt]:{[on]:{position:"absolute",top:Tn,insetInlineStart:Tn,width:Se,height:Se,transition:`all ${Rt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Tt,borderRadius:Qt(Se).div(2).equal(),boxShadow:Ye,transition:`all ${Rt.switchDuration} ease-in-out`,content:'""'}},[`&${Zt}-checked ${on}`]:{insetInlineStart:`calc(100% - ${(0,Ve.unit)(Qt(Se).add(Tn).equal())})`},[`&:not(${Zt}-disabled):active`]:{[`${on}::before`]:{insetInlineEnd:Rt.switchHandleActiveInset,insetInlineStart:0},[`&${Zt}-checked ${on}::before`]:{insetInlineEnd:0,insetInlineStart:Rt.switchHandleActiveInset}}}}},it=Rt=>{const{componentCls:Zt,trackHeight:Tn,trackPadding:Tt,innerMinMargin:Ye,innerMaxMargin:Se,handleSize:Qt,calc:on}=Rt,st=`${Zt}-inner`,Ut=(0,Ve.unit)(on(Qt).add(on(Tt).mul(2)).equal()),Gt=(0,Ve.unit)(on(Se).mul(2).equal());return{[Zt]:{[st]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Se,paddingInlineEnd:Ye,transition:`padding-inline-start ${Rt.switchDuration} ease-in-out, padding-inline-end ${Rt.switchDuration} ease-in-out`,[`${st}-checked, ${st}-unchecked`]:{display:"block",color:Rt.colorTextLightSolid,fontSize:Rt.fontSizeSM,transition:`margin-inline-start ${Rt.switchDuration} ease-in-out, margin-inline-end ${Rt.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Tn},[`${st}-checked`]:{marginInlineStart:`calc(-100% + ${Ut} - ${Gt})`,marginInlineEnd:`calc(100% - ${Ut} + ${Gt})`},[`${st}-unchecked`]:{marginTop:on(Tn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Zt}-checked ${st}`]:{paddingInlineStart:Ye,paddingInlineEnd:Se,[`${st}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${st}-unchecked`]:{marginInlineStart:`calc(100% - ${Ut} + ${Gt})`,marginInlineEnd:`calc(-100% + ${Ut} - ${Gt})`}},[`&:not(${Zt}-disabled):active`]:{[`&:not(${Zt}-checked) ${st}`]:{[`${st}-unchecked`]:{marginInlineStart:on(Tt).mul(2).equal(),marginInlineEnd:on(Tt).mul(-1).mul(2).equal()}},[`&${Zt}-checked ${st}`]:{[`${st}-checked`]:{marginInlineStart:on(Tt).mul(-1).mul(2).equal(),marginInlineEnd:on(Tt).mul(2).equal()}}}}}},Nt=Rt=>{const{componentCls:Zt,trackHeight:Tn,trackMinWidth:Tt}=Rt;return{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Rt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Tt,height:Tn,lineHeight:(0,Ve.unit)(Tn),verticalAlign:"middle",background:Rt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Rt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Zt}-disabled)`]:{background:Rt.colorTextTertiary}}),(0,Qe.Qy)(Rt)),{[`&${Zt}-checked`]:{background:Rt.switchColor,[`&:hover:not(${Zt}-disabled)`]:{background:Rt.colorPrimaryHover}},[`&${Zt}-loading, &${Zt}-disabled`]:{cursor:"not-allowed",opacity:Rt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Zt}-rtl`]:{direction:"rtl"}})}},vt=Rt=>{const{fontSize:Zt,lineHeight:Tn,controlHeight:Tt,colorWhite:Ye}=Rt,Se=Zt*Tn,Qt=Tt/2,on=2,st=Se-on*2,Ut=Qt-on*2;return{trackHeight:Se,trackHeightSM:Qt,trackMinWidth:st*2+on*4,trackMinWidthSM:Ut*2+on*2,trackPadding:on,handleBg:Ye,handleSize:st,handleSizeSM:Ut,handleShadow:`0 2px 4px 0 ${new Ze.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:st/2,innerMaxMargin:st+on+on*2,innerMinMarginSM:Ut/2,innerMaxMarginSM:Ut+on+on*2}};var dt=(0,ze.I$)("Switch",Rt=>{const Zt=(0,_e.mergeToken)(Rt,{switchDuration:Rt.motionDurationMid,switchColor:Rt.colorPrimary,switchDisabledOpacity:Rt.opacityLoading,switchLoadingIconSize:Rt.calc(Rt.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Rt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Nt(Zt),it(Zt),bt(Zt),nt(Zt),$e(Zt)]},vt),It=function(Rt,Zt){var Tn={};for(var Tt in Rt)Object.prototype.hasOwnProperty.call(Rt,Tt)&&Zt.indexOf(Tt)<0&&(Tn[Tt]=Rt[Tt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(Rt);Ye<Tt.length;Ye++)Zt.indexOf(Tt[Ye])<0&&Object.prototype.propertyIsEnumerable.call(Rt,Tt[Ye])&&(Tn[Tt[Ye]]=Rt[Tt[Ye]]);return Tn};const qe=b.forwardRef((Rt,Zt)=>{const{prefixCls:Tn,size:Tt,disabled:Ye,loading:Se,className:Qt,rootClassName:on,style:st,checked:Ut,value:Gt,defaultChecked:On,defaultValue:ft,onChange:En}=Rt,Ht=It(Rt,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[gn,un]=(0,Re.Z)(!1,{value:Ut!=null?Ut:Gt,defaultValue:On!=null?On:ft}),{getPrefixCls:De,direction:he,switch:ce}=b.useContext(tt.E_),Te=b.useContext(Je.Z),je=(Ye!=null?Ye:Te)||Se,ge=De("switch",Tn),Pe=b.createElement("div",{className:`${ge}-handle`},Se&&b.createElement(me.Z,{className:`${ge}-loading-icon`})),[ct,$t,gt]=dt(ge),yt=(0,We.Z)(Tt),Dt=pe()(ce==null?void 0:ce.className,{[`${ge}-small`]:yt==="small",[`${ge}-loading`]:Se,[`${ge}-rtl`]:he==="rtl"},Qt,on,$t,gt),Pt=Object.assign(Object.assign({},ce==null?void 0:ce.style),st),Wt=function(){un(arguments.length<=0?void 0:arguments[0]),En==null||En.apply(void 0,arguments)};return ct(b.createElement(at.Z,{component:"Switch"},b.createElement(At,Object.assign({},Ht,{checked:gn,onChange:Wt,prefixCls:ge,className:Dt,style:Pt,disabled:je,ref:Zt,loadingIcon:Pe}))))});qe.__ANT_SWITCH=!0;var Jt=qe},18287:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return on}});var b=y(87632),me=y(77654),le=y(59301),pe=y(52671),be=y(8657),fe=y(60499),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Oe=we,Re=y(7657),xe=function(Ut,Gt){return le.createElement(Re.Z,(0,fe.Z)({},Ut,{ref:Gt,icon:Oe}))},Ge=le.forwardRef(xe),Fe=Ge,At=y(92310),at=y.n(At),tt=y(82661),Je=y(34061),We=y(48755),Ve=y(56082),Ze=y(86641),Qe=y(57700),ze=y(12425);const _e=4;function $e(st){const{dropPosition:Ut,dropLevelOffset:Gt,prefixCls:On,indent:ft,direction:En="ltr"}=st,Ht=En==="ltr"?"left":"right",gn=En==="ltr"?"right":"left",un={[Ht]:-Gt*ft+_e,[gn]:0};switch(Ut){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Ht]=ft+_e;break}return le.createElement("div",{style:un,className:`${On}-drop-indicator`})}var nt=$e,bt=y(85278),Nt=le.forwardRef((st,Ut)=>{var Gt;const{getPrefixCls:On,direction:ft,virtual:En,tree:Ht}=le.useContext(We.E_),{prefixCls:gn,className:un,showIcon:De=!1,showLine:he,switcherIcon:ce,switcherLoadingIcon:Te,blockNode:je=!1,children:ge,checkable:Pe=!1,selectable:ct=!0,draggable:$t,motion:gt,style:yt}=st,Dt=On("tree",gn),Pt=On(),Wt=gt!=null?gt:Object.assign(Object.assign({},(0,Ze.Z)(Pt)),{motionAppear:!1}),pn=Object.assign(Object.assign({},st),{checkable:Pe,selectable:ct,showIcon:De,motion:Wt,blockNode:je,showLine:!!he,dropIndicatorRender:nt}),[fn,Mt,Ln]=(0,ze.ZP)(Dt),[,kn]=(0,Qe.ZP)(),wn=kn.paddingXS/2+(((Gt=kn.Tree)===null||Gt===void 0?void 0:Gt.titleHeight)||kn.controlHeightSM),ln=le.useMemo(()=>{if(!$t)return!1;let xn={};switch(typeof $t){case"function":xn.nodeDraggable=$t;break;case"object":xn=Object.assign({},$t);break;default:break}return xn.icon!==!1&&(xn.icon=xn.icon||le.createElement(Ve.Z,null)),xn},[$t]),In=xn=>le.createElement(bt.Z,{prefixCls:Dt,switcherIcon:ce,switcherLoadingIcon:Te,treeNodeProps:xn,showLine:he});return fn(le.createElement(b.ZP,Object.assign({itemHeight:wn,ref:Ut,virtual:En},pn,{style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),yt),prefixCls:Dt,className:at()({[`${Dt}-icon-hide`]:!De,[`${Dt}-block-node`]:je,[`${Dt}-unselectable`]:!ct,[`${Dt}-rtl`]:ft==="rtl"},Ht==null?void 0:Ht.className,un,Mt,Ln),direction:ft,checkable:Pe&&le.createElement("span",{className:`${Dt}-checkbox-inner`}),selectable:ct,switcherIcon:In,draggable:ln}),ge))});const vt=0,dt=1,It=2;function St(st,Ut,Gt){const{key:On,children:ft}=Gt;function En(Ht){const gn=Ht[On],un=Ht[ft];Ut(gn,Ht)!==!1&&St(un||[],Ut,Gt)}st.forEach(En)}function qe(st){let{treeData:Ut,expandedKeys:Gt,startKey:On,endKey:ft,fieldNames:En}=st;const Ht=[];let gn=vt;if(On&&On===ft)return[On];if(!On||!ft)return[];function un(De){return De===On||De===ft}return St(Ut,De=>{if(gn===It)return!1;if(un(De)){if(Ht.push(De),gn===vt)gn=dt;else if(gn===dt)return gn=It,!1}else gn===dt&&Ht.push(De);return Gt.includes(De)},(0,Je.w$)(En)),Ht}function Jt(st,Ut,Gt){const On=(0,me.Z)(Ut),ft=[];return St(st,(En,Ht)=>{const gn=On.indexOf(En);return gn!==-1&&(ft.push(Ht),On.splice(gn,1)),!!On.length},(0,Je.w$)(Gt)),ft}var Rt=function(st,Ut){var Gt={};for(var On in st)Object.prototype.hasOwnProperty.call(st,On)&&Ut.indexOf(On)<0&&(Gt[On]=st[On]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,On=Object.getOwnPropertySymbols(st);ft<On.length;ft++)Ut.indexOf(On[ft])<0&&Object.prototype.propertyIsEnumerable.call(st,On[ft])&&(Gt[On[ft]]=st[On[ft]]);return Gt};function Zt(st){const{isLeaf:Ut,expanded:Gt}=st;return Ut?le.createElement(pe.Z,null):Gt?le.createElement(be.Z,null):le.createElement(Fe,null)}function Tn(st){let{treeData:Ut,children:Gt}=st;return Ut||(0,Je.zn)(Gt)}const Tt=(st,Ut)=>{var{defaultExpandAll:Gt,defaultExpandParent:On,defaultExpandedKeys:ft}=st,En=Rt(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ht=le.useRef(null),gn=le.useRef(null),un=()=>{const{keyEntities:fn}=(0,Je.I8)(Tn(En));let Mt;return Gt?Mt=Object.keys(fn):On?Mt=(0,tt.r7)(En.expandedKeys||ft||[],fn):Mt=En.expandedKeys||ft||[],Mt},[De,he]=le.useState(En.selectedKeys||En.defaultSelectedKeys||[]),[ce,Te]=le.useState(()=>un());le.useEffect(()=>{"selectedKeys"in En&&he(En.selectedKeys)},[En.selectedKeys]),le.useEffect(()=>{"expandedKeys"in En&&Te(En.expandedKeys)},[En.expandedKeys]);const je=(fn,Mt)=>{var Ln;return"expandedKeys"in En||Te(fn),(Ln=En.onExpand)===null||Ln===void 0?void 0:Ln.call(En,fn,Mt)},ge=(fn,Mt)=>{var Ln;const{multiple:kn,fieldNames:wn}=En,{node:ln,nativeEvent:In}=Mt,{key:xn=""}=ln,kt=Tn(En),Yt=Object.assign(Object.assign({},Mt),{selected:!0}),Ft=(In==null?void 0:In.ctrlKey)||(In==null?void 0:In.metaKey),vn=In==null?void 0:In.shiftKey;let Ct;kn&&Ft?(Ct=fn,Ht.current=xn,gn.current=Ct,Yt.selectedNodes=Jt(kt,Ct,wn)):kn&&vn?(Ct=Array.from(new Set([].concat((0,me.Z)(gn.current||[]),(0,me.Z)(qe({treeData:kt,expandedKeys:ce,startKey:xn,endKey:Ht.current,fieldNames:wn}))))),Yt.selectedNodes=Jt(kt,Ct,wn)):(Ct=[xn],Ht.current=xn,gn.current=Ct,Yt.selectedNodes=Jt(kt,Ct,wn)),(Ln=En.onSelect)===null||Ln===void 0||Ln.call(En,Ct,Yt),"selectedKeys"in En||he(Ct)},{getPrefixCls:Pe,direction:ct}=le.useContext(We.E_),{prefixCls:$t,className:gt,showIcon:yt=!0,expandAction:Dt="click"}=En,Pt=Rt(En,["prefixCls","className","showIcon","expandAction"]),Wt=Pe("tree",$t),pn=at()(`${Wt}-directory`,{[`${Wt}-directory-rtl`]:ct==="rtl"},gt);return le.createElement(Nt,Object.assign({icon:Zt,ref:Ut,blockNode:!0},Pt,{showIcon:yt,expandAction:Dt,prefixCls:Wt,className:pn,expandedKeys:ce,selectedKeys:De,onSelect:ge,onExpand:je}))};var Se=le.forwardRef(Tt);const Qt=Nt;Qt.DirectoryTree=Se,Qt.TreeNode=b.OF;var on=Qt},12425:function(Ce,ae,y){"use strict";y.d(ae,{ZP:function(){return tt},Yk:function(){return Fe},TM:function(){return At}});var b=y(36237),me=y(36170),le=y(63356),pe=y(34961),be=y(51636),fe=y(16931);const we=Je=>{let{treeCls:We,treeNodeCls:Ve,directoryNodeSelectedBg:Ze,directoryNodeSelectedColor:Qe,motionDurationMid:ze,borderRadius:_e,controlItemBgHover:$e}=Je;return{[`${We}${We}-directory ${Ve}`]:{[`${We}-node-content-wrapper`]:{position:"static",[`> *:not(${We}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${ze}`,content:'""',borderRadius:_e},"&:hover:before":{background:$e}},[`${We}-switcher, ${We}-checkbox, ${We}-draggable-icon`]:{zIndex:1},"&-selected":{[`${We}-switcher, ${We}-draggable-icon`]:{color:Qe},[`${We}-node-content-wrapper`]:{color:Qe,background:"transparent","&:before, &:hover:before":{background:Ze}}}}}},Oe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Re=(Je,We)=>({[`.${Je}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${We.motionDurationSlow}`}}}),xe=(Je,We)=>({[`.${Je}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:We.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(We.lineWidthBold)} solid ${We.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ge=(Je,We)=>{const{treeCls:Ve,treeNodeCls:Ze,treeNodePadding:Qe,titleHeight:ze,indentSize:_e,nodeSelectedBg:$e,nodeHoverBg:nt,colorTextQuaternary:bt,controlItemBgActiveDisabled:it}=We;return{[Ve]:Object.assign(Object.assign({},(0,le.Wf)(We)),{background:We.colorBgContainer,borderRadius:We.borderRadius,transition:`background-color ${We.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ve}-rtl ${Ve}-switcher_close ${Ve}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ve}-active-focused)`]:Object.assign({},(0,le.oN)(We)),[`${Ve}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ve}-block-node`]:{[`${Ve}-list-holder-inner`]:{alignItems:"stretch",[`${Ve}-node-content-wrapper`]:{flex:"auto"},[`${Ze}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${We.colorPrimary}`,opacity:0,animationName:Oe,animationDuration:We.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:We.borderRadius}}},[Ze]:{display:"flex",alignItems:"flex-start",marginBottom:Qe,lineHeight:(0,b.unit)(ze),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Qe},[`&-disabled ${Ve}-node-content-wrapper`]:{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ve}-checkbox-disabled + ${Ve}-node-selected,&${Ze}-disabled${Ze}-selected ${Ve}-node-content-wrapper`]:{backgroundColor:it},[`${Ve}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ze}-disabled)`]:{[`${Ve}-node-content-wrapper`]:{"&:hover":{color:We.nodeHoverColor}}},[`&-active ${Ve}-node-content-wrapper`]:{background:We.controlItemBgHover},[`&:not(${Ze}-disabled).filter-node ${Ve}-title`]:{color:We.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ve}-draggable-icon`]:{flexShrink:0,width:ze,textAlign:"center",visibility:"visible",color:bt},[`&${Ze}-disabled ${Ve}-draggable-icon`]:{visibility:"hidden"}}},[`${Ve}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${Ve}-draggable-icon`]:{visibility:"hidden"},[`${Ve}-switcher, ${Ve}-checkbox`]:{marginInlineEnd:We.calc(We.calc(ze).sub(We.controlInteractiveSize)).div(2).equal()},[`${Ve}-switcher`]:Object.assign(Object.assign({},Re(Je,We)),{position:"relative",flex:"none",alignSelf:"stretch",width:ze,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${We.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:ze,height:ze,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`},[`&:not(${Ve}-switcher-noop):hover:before`]:{backgroundColor:We.colorBgTextHover},[`&_close ${Ve}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:We.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(ze).div(2).equal(),bottom:We.calc(Qe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:We.calc(We.calc(ze).div(2).equal()).mul(.8).equal(),height:We.calc(ze).div(2).equal(),borderBottom:`1px solid ${We.colorBorder}`,content:'""'}}}),[`${Ve}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:ze,paddingBlock:0,paddingInline:We.paddingXS,background:"transparent",borderRadius:We.borderRadius,cursor:"pointer",transition:`all ${We.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},xe(Je,We)),{"&:hover":{backgroundColor:nt},[`&${Ve}-node-selected`]:{color:We.nodeSelectedColor,backgroundColor:$e},[`${Ve}-iconEle`]:{display:"inline-block",width:ze,height:ze,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ve}-unselectable ${Ve}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ze}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${We.colorPrimary}`},"&-show-line":{[`${Ve}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(ze).div(2).equal(),bottom:We.calc(Qe).mul(-1).equal(),borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ve}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ze}-leaf-last ${Ve}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(We.calc(ze).div(2).equal())} !important`}})}},Fe=function(Je,We){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ze=`.${Je}`,Qe=`${Ze}-treenode`,ze=We.calc(We.paddingXS).div(2).equal(),_e=(0,be.mergeToken)(We,{treeCls:Ze,treeNodeCls:Qe,treeNodePadding:ze});return[Ge(Je,_e),Ve&&we(_e)].filter(Boolean)},At=Je=>{const{controlHeightSM:We,controlItemBgHover:Ve,controlItemBgActive:Ze}=Je,Qe=We;return{titleHeight:Qe,indentSize:Qe,nodeHoverBg:Ve,nodeHoverColor:Je.colorText,nodeSelectedBg:Ze,nodeSelectedColor:Je.colorText}},at=Je=>{const{colorTextLightSolid:We,colorPrimary:Ve}=Je;return Object.assign(Object.assign({},At(Je)),{directoryNodeSelectedColor:We,directoryNodeSelectedBg:Ve})};var tt=(0,fe.I$)("Tree",(Je,We)=>{let{prefixCls:Ve}=We;return[{[Je.componentCls]:(0,me.C2)(`${Ve}-checkbox`,Je)},Fe(Ve,Je),(0,pe.Z)(Je)]},at)},85278:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return We}});var b=y(59301),me=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},pe=le,be=y(7657),fe=function(Ze,Qe){return b.createElement(be.Z,(0,me.Z)({},Ze,{ref:Qe,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(52671),xe=y(58617),Ge=y(15075),Fe=y(43531),At=y(92310),at=y.n(At),tt=y(22703),We=Ve=>{const{prefixCls:Ze,switcherIcon:Qe,treeNodeProps:ze,showLine:_e,switcherLoadingIcon:$e}=Ve,{isLeaf:nt,expanded:bt,loading:it}=ze;if(it)return b.isValidElement($e)?$e:b.createElement(xe.Z,{className:`${Ze}-switcher-loading-icon`});let Nt;if(_e&&typeof _e=="object"&&(Nt=_e.showLeafIcon),nt){if(!_e)return null;if(typeof Nt!="boolean"&&Nt){const It=typeof Nt=="function"?Nt(ze):Nt,St=`${Ze}-switcher-line-custom-icon`;return b.isValidElement(It)?(0,tt.Tm)(It,{className:at()(It.props.className||"",St)}):It}return Nt?b.createElement(Re.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement("span",{className:`${Ze}-switcher-leaf-line`})}const vt=`${Ze}-switcher-icon`,dt=typeof Qe=="function"?Qe(ze):Qe;return b.isValidElement(dt)?(0,tt.Tm)(dt,{className:at()(dt.props.className||"",vt)}):dt!==void 0?dt:_e?bt?b.createElement(Ge.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(Fe.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(Oe,{className:vt})}},94968:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return Vt}});var b=y(59301),me=y(77654),le=y(4676),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(38705),Oe=y(17212),Re=y(15793),xe=y(39153),Ge=y(55401),Fe=y(18642),At=y(85899),at=y(42244),tt=y(43749),Je=y(73001),We=y(11576),Ve=y(26112),Ze=y(48736),Qe=function(et,en){if(et&&en){var cn=Array.isArray(en)?en:en.split(","),Xt=et.name||"",an=et.type||"",Kt=an.replace(/\/.*$/,"");return cn.some(function(nn){var rt=nn.trim();if(/^\*(\/\*)?$/.test(nn))return!0;if(rt.charAt(0)==="."){var Jn=Xt.toLowerCase(),Bt=rt.toLowerCase(),rr=[Bt];return(Bt===".jpg"||Bt===".jpeg")&&(rr=[".jpg",".jpeg"]),rr.some(function(Pr){return Jn.endsWith(Pr)})}return/\/\*$/.test(rt)?Kt===rt.replace(/\/.*$/,""):an===rt?!0:/^\w+$/.test(rt)?((0,Ze.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(rt,"'.Skip for check.")),!0):!1})}return!0};function ze(et,en){var cn="cannot ".concat(et.method," ").concat(et.action," ").concat(en.status,"'"),Xt=new Error(cn);return Xt.status=en.status,Xt.method=et.method,Xt.url=et.action,Xt}function _e(et){var en=et.responseText||et.response;if(!en)return en;try{return JSON.parse(en)}catch(cn){return en}}function $e(et){var en=new XMLHttpRequest;et.onProgress&&en.upload&&(en.upload.onprogress=function(Kt){Kt.total>0&&(Kt.percent=Kt.loaded/Kt.total*100),et.onProgress(Kt)});var cn=new FormData;et.data&&Object.keys(et.data).forEach(function(an){var Kt=et.data[an];if(Array.isArray(Kt)){Kt.forEach(function(nn){cn.append("".concat(an,"[]"),nn)});return}cn.append(an,Kt)}),et.file instanceof Blob?cn.append(et.filename,et.file,et.file.name):cn.append(et.filename,et.file),en.onerror=function(Kt){et.onError(Kt)},en.onload=function(){return en.status<200||en.status>=300?et.onError(ze(et,en),_e(en)):et.onSuccess(_e(en),en)},en.open(et.method,et.action,!0),et.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var Xt=et.headers||{};return Xt["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Xt).forEach(function(an){Xt[an]!==null&&en.setRequestHeader(an,Xt[an])}),en.send(cn),{abort:function(){en.abort()}}}var nt=function(){var et=(0,We.Z)((0,Je.Z)().mark(function en(cn,Xt){var an,Kt,nn,rt,Jn,Bt,rr,Pr;return(0,Je.Z)().wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:Bt=function(){return Bt=(0,We.Z)((0,Je.Z)().mark(function Pn(zn){return(0,Je.Z)().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return wr.abrupt("return",new Promise(function(pr){zn.file(function(Zn){Xt(Zn)?(zn.fullPath&&!Zn.webkitRelativePath&&(Object.defineProperties(Zn,{webkitRelativePath:{writable:!0}}),Zn.webkitRelativePath=zn.fullPath.replace(/^\//,""),Object.defineProperties(Zn,{webkitRelativePath:{writable:!1}})),pr(Zn)):pr(null)})}));case 1:case"end":return wr.stop()}},Pn)})),Bt.apply(this,arguments)},Jn=function(Pn){return Bt.apply(this,arguments)},rt=function(){return rt=(0,We.Z)((0,Je.Z)().mark(function Pn(zn){var tr,wr,pr,Zn,Kn;return(0,Je.Z)().wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:tr=zn.createReader(),wr=[];case 2:return dr.next=5,new Promise(function(Yr){tr.readEntries(Yr,function(){return Yr([])})});case 5:if(pr=dr.sent,Zn=pr.length,Zn){dr.next=9;break}return dr.abrupt("break",12);case 9:for(Kn=0;Kn<Zn;Kn++)wr.push(pr[Kn]);dr.next=2;break;case 12:return dr.abrupt("return",wr);case 13:case"end":return dr.stop()}},Pn)})),rt.apply(this,arguments)},nn=function(Pn){return rt.apply(this,arguments)},an=[],Kt=[],cn.forEach(function(Cn){return Kt.push(Cn.webkitGetAsEntry())}),rr=function(){var Cn=(0,We.Z)((0,Je.Z)().mark(function Pn(zn,tr){var wr,pr;return(0,Je.Z)().wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:if(zn){Kn.next=2;break}return Kn.abrupt("return");case 2:if(zn.path=tr||"",!zn.isFile){Kn.next=10;break}return Kn.next=6,Jn(zn);case 6:wr=Kn.sent,wr&&an.push(wr),Kn.next=15;break;case 10:if(!zn.isDirectory){Kn.next=15;break}return Kn.next=13,nn(zn);case 13:pr=Kn.sent,Kt.push.apply(Kt,(0,me.Z)(pr));case 15:case"end":return Kn.stop()}},Pn)}));return function(zn,tr){return Cn.apply(this,arguments)}}(),Pr=0;case 9:if(!(Pr<Kt.length)){rn.next=15;break}return rn.next=12,rr(Kt[Pr]);case 12:Pr++,rn.next=9;break;case 15:return rn.abrupt("return",an);case 16:case"end":return rn.stop()}},en)}));return function(cn,Xt){return et.apply(this,arguments)}}(),bt=nt,it=+new Date,Nt=0;function vt(){return"rc-upload-".concat(it,"-").concat(++Nt)}var dt=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],It=function(et){(0,xe.Z)(cn,et);var en=(0,Ge.Z)(cn);function cn(){var Xt;(0,we.Z)(this,cn);for(var an=arguments.length,Kt=new Array(an),nn=0;nn<an;nn++)Kt[nn]=arguments[nn];return Xt=en.call.apply(en,[this].concat(Kt)),(0,Fe.Z)((0,Re.Z)(Xt),"state",{uid:vt()}),(0,Fe.Z)((0,Re.Z)(Xt),"reqs",{}),(0,Fe.Z)((0,Re.Z)(Xt),"fileInput",void 0),(0,Fe.Z)((0,Re.Z)(Xt),"_isMounted",void 0),(0,Fe.Z)((0,Re.Z)(Xt),"onChange",function(rt){var Jn=Xt.props,Bt=Jn.accept,rr=Jn.directory,Pr=rt.target.files,Sn=(0,me.Z)(Pr).filter(function(rn){return!rr||Qe(rn,Bt)});Xt.uploadFiles(Sn),Xt.reset()}),(0,Fe.Z)((0,Re.Z)(Xt),"onClick",function(rt){var Jn=Xt.fileInput;if(Jn){var Bt=rt.target,rr=Xt.props.onClick;if(Bt&&Bt.tagName==="BUTTON"){var Pr=Jn.parentNode;Pr.focus(),Bt.blur()}Jn.click(),rr&&rr(rt)}}),(0,Fe.Z)((0,Re.Z)(Xt),"onKeyDown",function(rt){rt.key==="Enter"&&Xt.onClick(rt)}),(0,Fe.Z)((0,Re.Z)(Xt),"onFileDrop",function(){var rt=(0,We.Z)((0,Je.Z)().mark(function Jn(Bt){var rr,Pr,Sn;return(0,Je.Z)().wrap(function(Cn){for(;;)switch(Cn.prev=Cn.next){case 0:if(rr=Xt.props.multiple,Bt.preventDefault(),Bt.type!=="dragover"){Cn.next=4;break}return Cn.abrupt("return");case 4:if(!Xt.props.directory){Cn.next=11;break}return Cn.next=7,bt(Array.prototype.slice.call(Bt.dataTransfer.items),function(Pn){return Qe(Pn,Xt.props.accept)});case 7:Pr=Cn.sent,Xt.uploadFiles(Pr),Cn.next=14;break;case 11:Sn=(0,me.Z)(Bt.dataTransfer.files).filter(function(Pn){return Qe(Pn,Xt.props.accept)}),rr===!1&&(Sn=Sn.slice(0,1)),Xt.uploadFiles(Sn);case 14:case"end":return Cn.stop()}},Jn)}));return function(Jn){return rt.apply(this,arguments)}}()),(0,Fe.Z)((0,Re.Z)(Xt),"uploadFiles",function(rt){var Jn=(0,me.Z)(rt),Bt=Jn.map(function(rr){return rr.uid=vt(),Xt.processFile(rr,Jn)});Promise.all(Bt).then(function(rr){var Pr=Xt.props.onBatchStart;Pr==null||Pr(rr.map(function(Sn){var rn=Sn.origin,Cn=Sn.parsedFile;return{file:rn,parsedFile:Cn}})),rr.filter(function(Sn){return Sn.parsedFile!==null}).forEach(function(Sn){Xt.post(Sn)})})}),(0,Fe.Z)((0,Re.Z)(Xt),"processFile",function(){var rt=(0,We.Z)((0,Je.Z)().mark(function Jn(Bt,rr){var Pr,Sn,rn,Cn,Pn,zn,tr,wr,pr;return(0,Je.Z)().wrap(function(Kn){for(;;)switch(Kn.prev=Kn.next){case 0:if(Pr=Xt.props.beforeUpload,Sn=Bt,!Pr){Kn.next=14;break}return Kn.prev=3,Kn.next=6,Pr(Bt,rr);case 6:Sn=Kn.sent,Kn.next=12;break;case 9:Kn.prev=9,Kn.t0=Kn.catch(3),Sn=!1;case 12:if(Sn!==!1){Kn.next=14;break}return Kn.abrupt("return",{origin:Bt,parsedFile:null,action:null,data:null});case 14:if(rn=Xt.props.action,typeof rn!="function"){Kn.next=21;break}return Kn.next=18,rn(Bt);case 18:Cn=Kn.sent,Kn.next=22;break;case 21:Cn=rn;case 22:if(Pn=Xt.props.data,typeof Pn!="function"){Kn.next=29;break}return Kn.next=26,Pn(Bt);case 26:zn=Kn.sent,Kn.next=30;break;case 29:zn=Pn;case 30:return tr=((0,tt.Z)(Sn)==="object"||typeof Sn=="string")&&Sn?Sn:Bt,tr instanceof File?wr=tr:wr=new File([tr],Bt.name,{type:Bt.type}),pr=wr,pr.uid=Bt.uid,Kn.abrupt("return",{origin:Bt,data:zn,parsedFile:pr,action:Cn});case 35:case"end":return Kn.stop()}},Jn,null,[[3,9]])}));return function(Jn,Bt){return rt.apply(this,arguments)}}()),(0,Fe.Z)((0,Re.Z)(Xt),"saveFileInput",function(rt){Xt.fileInput=rt}),Xt}return(0,Oe.Z)(cn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(an){var Kt=this,nn=an.data,rt=an.origin,Jn=an.action,Bt=an.parsedFile;if(this._isMounted){var rr=this.props,Pr=rr.onStart,Sn=rr.customRequest,rn=rr.name,Cn=rr.headers,Pn=rr.withCredentials,zn=rr.method,tr=rt.uid,wr=Sn||$e,pr={action:Jn,filename:rn,data:nn,file:Bt,headers:Cn,withCredentials:Pn,method:zn||"post",onProgress:function(Kn){var gr=Kt.props.onProgress;gr==null||gr(Kn,Bt)},onSuccess:function(Kn,gr){var dr=Kt.props.onSuccess;dr==null||dr(Kn,Bt,gr),delete Kt.reqs[tr]},onError:function(Kn,gr){var dr=Kt.props.onError;dr==null||dr(Kn,gr,Bt),delete Kt.reqs[tr]}};Pr(rt),this.reqs[tr]=wr(pr)}}},{key:"reset",value:function(){this.setState({uid:vt()})}},{key:"abort",value:function(an){var Kt=this.reqs;if(an){var nn=an.uid?an.uid:an;Kt[nn]&&Kt[nn].abort&&Kt[nn].abort(),delete Kt[nn]}else Object.keys(Kt).forEach(function(rt){Kt[rt]&&Kt[rt].abort&&Kt[rt].abort(),delete Kt[rt]})}},{key:"render",value:function(){var an=this.props,Kt=an.component,nn=an.prefixCls,rt=an.className,Jn=an.classNames,Bt=Jn===void 0?{}:Jn,rr=an.disabled,Pr=an.id,Sn=an.name,rn=an.style,Cn=an.styles,Pn=Cn===void 0?{}:Cn,zn=an.multiple,tr=an.accept,wr=an.capture,pr=an.children,Zn=an.directory,Kn=an.openFileDialogOnClick,gr=an.onMouseEnter,dr=an.onMouseLeave,Yr=an.hasControlInside,Wr=(0,at.Z)(an,dt),Zr=be()((0,Fe.Z)((0,Fe.Z)((0,Fe.Z)({},nn,!0),"".concat(nn,"-disabled"),rr),rt,rt)),Qr=Zn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ca=rr?{}:{onClick:Kn?this.onClick:function(){},onKeyDown:Kn?this.onKeyDown:function(){},onMouseEnter:gr,onMouseLeave:dr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Yr?void 0:"0"};return b.createElement(Kt,(0,fe.Z)({},ca,{className:Zr,role:Yr?void 0:"button",style:rn}),b.createElement("input",(0,fe.Z)({},(0,Ve.Z)(Wr,{aria:!0,data:!0}),{id:Pr,name:Sn,disabled:rr,type:"file",ref:this.saveFileInput,onClick:function(la){return la.stopPropagation()},key:this.state.uid,style:(0,At.Z)({display:"none"},Pn.input),className:Bt.input,accept:tr},Qr,{multiple:zn,onChange:this.onChange},wr!=null?{capture:wr}:{})),pr)}}]),cn}(b.Component),St=It;function qe(){}var Jt=function(et){(0,xe.Z)(cn,et);var en=(0,Ge.Z)(cn);function cn(){var Xt;(0,we.Z)(this,cn);for(var an=arguments.length,Kt=new Array(an),nn=0;nn<an;nn++)Kt[nn]=arguments[nn];return Xt=en.call.apply(en,[this].concat(Kt)),(0,Fe.Z)((0,Re.Z)(Xt),"uploader",void 0),(0,Fe.Z)((0,Re.Z)(Xt),"saveUploader",function(rt){Xt.uploader=rt}),Xt}return(0,Oe.Z)(cn,[{key:"abort",value:function(an){this.uploader.abort(an)}},{key:"render",value:function(){return b.createElement(St,(0,fe.Z)({},this.props,{ref:this.saveUploader}))}}]),cn}(b.Component);(0,Fe.Z)(Jt,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:qe,onError:qe,onSuccess:qe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Rt=Jt,Zt=Rt,Tn=y(18929),Tt=y(48755),Ye=y(2171),Se=y(9017),Qt=y(85981),on=y(63356),st=y(34961),Ut=y(16931),Gt=y(51636),On=y(36237),En=et=>{const{componentCls:en,iconCls:cn}=et;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:et.colorFillAlter,border:`${(0,On.unit)(et.lineWidth)} dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[en]:{padding:et.padding},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:et.borderRadiusLG,"&:focus-visible":{outline:`${(0,On.unit)(et.lineWidthFocus)} solid ${et.colorPrimaryBorder}`}},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${en}-disabled):hover,
|
|
|
&-hover:not(${en}-disabled)
|
|
|
`]:{borderColor:et.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:et.margin,[cn]:{color:et.colorPrimary,fontSize:et.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${(0,On.unit)(et.marginXXS)}`,color:et.colorTextHeading,fontSize:et.fontSizeLG},[`p${en}-hint`]:{color:et.colorTextDescription,fontSize:et.fontSize},[`&${en}-disabled`]:{[`p${en}-drag-icon ${cn},
|
|
|
p${en}-text,
|
|
|
p${en}-hint
|
|
|
`]:{color:et.colorTextDisabled}}}}}},gn=et=>{const{componentCls:en,iconCls:cn,fontSize:Xt,lineHeight:an,calc:Kt}=et,nn=`${en}-list-item`,rt=`${nn}-actions`,Jn=`${nn}-action`;return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:et.lineHeight,[nn]:{position:"relative",height:Kt(et.lineHeight).mul(Xt).equal(),marginTop:et.marginXS,fontSize:Xt,display:"flex",alignItems:"center",transition:`background-color ${et.motionDurationSlow}`,borderRadius:et.borderRadiusSM,"&:hover":{backgroundColor:et.controlItemBgHover},[`${nn}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${(0,On.unit)(et.paddingXS)}`,lineHeight:an,flex:"auto",transition:`all ${et.motionDurationSlow}`}),[rt]:{whiteSpace:"nowrap",[Jn]:{opacity:0},[cn]:{color:et.actionsColor,transition:`all ${et.motionDurationSlow}`},[`
|
|
|
${Jn}:focus-visible,
|
|
|
&.picture ${Jn}
|
|
|
`]:{opacity:1}},[`${en}-icon ${cn}`]:{color:et.colorTextDescription,fontSize:Xt},[`${nn}-progress`]:{position:"absolute",bottom:et.calc(et.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Kt(Xt).add(et.paddingXS).equal(),fontSize:Xt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${nn}:hover ${Jn}`]:{opacity:1},[`${nn}-error`]:{color:et.colorError,[`${nn}-name, ${en}-icon ${cn}`]:{color:et.colorError},[rt]:{[`${cn}, ${cn}:hover`]:{color:et.colorError},[Jn]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${et.motionDurationSlow}, height ${et.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},un=y(99495),he=et=>{const{componentCls:en}=et,cn=new On.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:et.calc(et.marginXS).div(-2).equal()}}),Xt=new On.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:et.calc(et.marginXS).div(-2).equal()}}),an=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:cn},[`${an}-leave`]:{animationName:Xt}}},{[`${en}-wrapper`]:(0,un.J$)(et)},cn,Xt]},ce=y(68361);const Te=et=>{const{componentCls:en,iconCls:cn,uploadThumbnailSize:Xt,uploadProgressOffset:an,calc:Kt}=et,nn=`${en}-list`,rt=`${nn}-item`;return{[`${en}-wrapper`]:{[`
|
|
|
${nn}${nn}-picture,
|
|
|
${nn}${nn}-picture-card,
|
|
|
${nn}${nn}-picture-circle
|
|
|
`]:{[rt]:{position:"relative",height:Kt(Xt).add(Kt(et.lineWidth).mul(2)).add(Kt(et.paddingXS).mul(2)).equal(),padding:et.paddingXS,border:`${(0,On.unit)(et.lineWidth)} ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadiusLG,"&:hover":{background:"transparent"},[`${rt}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:Xt,height:Xt,lineHeight:(0,On.unit)(Kt(Xt).add(et.paddingSM).equal()),textAlign:"center",flex:"none",[cn]:{fontSize:et.fontSizeHeading2,color:et.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${rt}-progress`]:{bottom:an,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Kt(Xt).add(et.paddingXS).equal()}},[`${rt}-error`]:{borderColor:et.colorError,[`${rt}-thumbnail ${cn}`]:{[`svg path[fill='${ce.blue[0]}']`]:{fill:et.colorErrorBg},[`svg path[fill='${ce.blue.primary}']`]:{fill:et.colorError}}},[`${rt}-uploading`]:{borderStyle:"dashed",[`${rt}-name`]:{marginBottom:an}}},[`${nn}${nn}-picture-circle ${rt}`]:{[`&, &::before, ${rt}-thumbnail`]:{borderRadius:"50%"}}}}},je=et=>{const{componentCls:en,iconCls:cn,fontSizeLG:Xt,colorTextLightSolid:an,calc:Kt}=et,nn=`${en}-list`,rt=`${nn}-item`,Jn=et.uploadPicCardSize;return{[`
|
|
|
${en}-wrapper${en}-picture-card-wrapper,
|
|
|
${en}-wrapper${en}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,on.dF)()),{display:"block",[`${en}${en}-select`]:{width:Jn,height:Jn,textAlign:"center",verticalAlign:"top",backgroundColor:et.colorFillAlter,border:`${(0,On.unit)(et.lineWidth)} dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:et.colorPrimary}},[`${nn}${nn}-picture-card, ${nn}${nn}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:et.marginXS,marginInlineEnd:et.marginXS}},"@supports (gap: 1px)":{gap:et.marginXS},[`${nn}-item-container`]:{display:"inline-block",width:Jn,height:Jn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[rt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,backgroundColor:et.colorBgMask,opacity:0,transition:`all ${et.motionDurationSlow}`,content:'" "'}},[`${rt}:hover`]:{[`&::before, ${rt}-actions`]:{opacity:1}},[`${rt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${et.motionDurationSlow}`,[`
|
|
|
${cn}-eye,
|
|
|
${cn}-download,
|
|
|
${cn}-delete
|
|
|
`]:{zIndex:10,width:Xt,margin:`0 ${(0,On.unit)(et.marginXXS)}`,fontSize:Xt,cursor:"pointer",transition:`all ${et.motionDurationSlow}`,color:an,"&:hover":{color:an},svg:{verticalAlign:"baseline"}}},[`${rt}-thumbnail, ${rt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${rt}-name`]:{display:"none",textAlign:"center"},[`${rt}-file + ${rt}-name`]:{position:"absolute",bottom:et.margin,display:"block",width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`},[`${rt}-uploading`]:{[`&${rt}`]:{backgroundColor:et.colorFillAlter},[`&::before, ${cn}-eye, ${cn}-download, ${cn}-delete`]:{display:"none"}},[`${rt}-progress`]:{bottom:et.marginXL,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Pe=et=>{const{componentCls:en}=et;return{[`${en}-rtl`]:{direction:"rtl"}}};const ct=et=>{const{componentCls:en,colorTextDisabled:cn}=et;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(et)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-hidden`]:{display:"none"},[`${en}-disabled`]:{color:cn,cursor:"not-allowed"}})}},$t=et=>({actionsColor:et.colorTextDescription});var gt=(0,Ut.I$)("Upload",et=>{const{fontSizeHeading3:en,fontHeight:cn,lineWidth:Xt,controlHeightLG:an,calc:Kt}=et,nn=(0,Gt.mergeToken)(et,{uploadThumbnailSize:Kt(en).mul(2).equal(),uploadProgressOffset:Kt(Kt(cn).div(2)).add(Xt).equal(),uploadPicCardSize:Kt(an).mul(2.55).equal()});return[ct(nn),En(nn),Te(nn),je(nn),gn(nn),he(nn),Pe(nn),(0,st.Z)(nn)]},$t),yt={icon:function(en,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:cn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:en}}]}},name:"file",theme:"twotone"},Dt=yt,Pt=y(7657),Wt=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:Dt}))},pn=b.forwardRef(Wt),fn=pn,Mt=y(58617),Ln={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},kn=Ln,wn=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:kn}))},ln=b.forwardRef(wn),In=ln,xn={icon:function(en,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:en}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:cn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:cn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:cn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:en}}]}},name:"picture",theme:"twotone"},kt=xn,Yt=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:kt}))},Ft=b.forwardRef(Yt),vn=Ft,Ct=y(77900),pt=y(2738),de=y(40192),qt=y(86641),Dn=y(22703),mn=y(7939);function vr(et){return Object.assign(Object.assign({},et),{lastModified:et.lastModified,lastModifiedDate:et.lastModifiedDate,name:et.name,size:et.size,type:et.type,uid:et.uid,percent:0,originFileObj:et})}function yr(et,en){const cn=(0,me.Z)(en),Xt=cn.findIndex(an=>{let{uid:Kt}=an;return Kt===et.uid});return Xt===-1?cn.push(et):cn[Xt]=et,cn}function ar(et,en){const cn=et.uid!==void 0?"uid":"name";return en.filter(Xt=>Xt[cn]===et[cn])[0]}function Er(et,en){const cn=et.uid!==void 0?"uid":"name",Xt=en.filter(an=>an[cn]!==et[cn]);return Xt.length===en.length?null:Xt}const wt=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Xt=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Xt)||[""])[0]},Qn=et=>et.indexOf("image/")===0,lr=et=>{if(et.type&&!et.thumbUrl)return Qn(et.type);const en=et.thumbUrl||et.url||"",cn=wt(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(cn)?!0:!(/^data:/.test(en)||cn)},cr=200;function Yn(et){return new Promise(en=>{if(!et.type||!Qn(et.type)){en("");return}const cn=document.createElement("canvas");cn.width=cr,cn.height=cr,cn.style.cssText=`position: fixed; left: 0; top: 0; width: ${cr}px; height: ${cr}px; z-index: 9999; display: none;`,document.body.appendChild(cn);const Xt=cn.getContext("2d"),an=new Image;if(an.onload=()=>{const{width:Kt,height:nn}=an;let rt=cr,Jn=cr,Bt=0,rr=0;Kt>nn?(Jn=nn*(cr/Kt),rr=-(Jn-rt)/2):(rt=Kt*(cr/nn),Bt=-(rt-Jn)/2),Xt.drawImage(an,Bt,rr,rt,Jn);const Pr=cn.toDataURL();document.body.removeChild(cn),window.URL.revokeObjectURL(an.src),en(Pr)},an.crossOrigin="anonymous",et.type.startsWith("image/svg+xml")){const Kt=new FileReader;Kt.onload=()=>{Kt.result&&typeof Kt.result=="string"&&(an.src=Kt.result)},Kt.readAsDataURL(et)}else if(et.type.startsWith("image/gif")){const Kt=new FileReader;Kt.onload=()=>{Kt.result&&en(Kt.result)},Kt.readAsDataURL(et)}else an.src=window.URL.createObjectURL(et)})}var Sr=y(26227),br=y(41464),Nr=y(15277),Jr=y(89787),$r=y(25399),aa=b.forwardRef((et,en)=>{let{prefixCls:cn,className:Xt,style:an,locale:Kt,listType:nn,file:rt,items:Jn,progress:Bt,iconRender:rr,actionIconRender:Pr,itemRender:Sn,isImgUrl:rn,showPreviewIcon:Cn,showRemoveIcon:Pn,showDownloadIcon:zn,previewIcon:tr,removeIcon:wr,downloadIcon:pr,extra:Zn,onPreview:Kn,onDownload:gr,onClose:dr}=et;var Yr,Wr;const{status:Zr}=rt,[Qr,ca]=b.useState(Zr);b.useEffect(()=>{Zr!=="removed"&&ca(Zr)},[Zr]);const[Xr,la]=b.useState(!1);b.useEffect(()=>{const nr=setTimeout(()=>{la(!0)},300);return()=>{clearTimeout(nr)}},[]);const _r=rr(rt);let oa=b.createElement("div",{className:`${cn}-icon`},_r);if(nn==="picture"||nn==="picture-card"||nn==="picture-circle")if(Qr==="uploading"||!rt.thumbUrl&&!rt.url){const nr=be()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:Qr!=="uploading"});oa=b.createElement("div",{className:nr},_r)}else{const nr=rn!=null&&rn(rt)?b.createElement("img",{src:rt.thumbUrl||rt.url,alt:rt.name,className:`${cn}-list-item-image`,crossOrigin:rt.crossOrigin}):_r,xr=be()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:rn&&!rn(rt)});oa=b.createElement("a",{className:xr,onClick:Or=>Kn(rt,Or),href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},nr)}const _t=be()(`${cn}-list-item`,`${cn}-list-item-${Qr}`),Ea=typeof rt.linkProps=="string"?JSON.parse(rt.linkProps):rt.linkProps,ia=(typeof Pn=="function"?Pn(rt):Pn)?Pr((typeof wr=="function"?wr(rt):wr)||b.createElement(Sr.Z,null),()=>dr(rt),cn,Kt.removeFile,!0):null,ra=(typeof zn=="function"?zn(rt):zn)&&Qr==="done"?Pr((typeof pr=="function"?pr(rt):pr)||b.createElement(br.Z,null),()=>gr(rt),cn,Kt.downloadFile):null,fa=nn!=="picture-card"&&nn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:be()(`${cn}-list-item-actions`,{picture:nn==="picture"})},ra,ia),ha=typeof Zn=="function"?Zn(rt):Zn,Br=ha&&b.createElement("span",{className:`${cn}-list-item-extra`},ha),Gn=be()(`${cn}-list-item-name`),Vr=rt.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Gn,title:rt.name},Ea,{href:rt.url,onClick:nr=>Kn(rt,nr)}),rt.name,Br):b.createElement("span",{key:"view",className:Gn,onClick:nr=>Kn(rt,nr),title:rt.name},rt.name,Br),qn=(typeof Cn=="function"?Cn(rt):Cn)&&(rt.url||rt.thumbUrl)?b.createElement("a",{href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:nr=>Kn(rt,nr),title:Kt.previewFile},typeof tr=="function"?tr(rt):tr||b.createElement(Nr.Z,null)):null,hr=(nn==="picture-card"||nn==="picture-circle")&&Qr!=="uploading"&&b.createElement("span",{className:`${cn}-list-item-actions`},qn,Qr==="done"&&ra,ia),{getPrefixCls:or}=b.useContext(Tt.E_),er=or(),Dr=b.createElement("div",{className:_t},oa,Vr,fa,hr,Xr&&b.createElement(Ct.default,{motionName:`${er}-fade`,visible:Qr==="uploading",motionDeadline:2e3},nr=>{let{className:xr}=nr;const Or="percent"in rt?b.createElement(Jr.Z,Object.assign({},Bt,{type:"line",percent:rt.percent,"aria-label":rt["aria-label"],"aria-labelledby":rt["aria-labelledby"]})):null;return b.createElement("div",{className:be()(`${cn}-list-item-progress`,xr)},Or)})),Ar=rt.response&&typeof rt.response=="string"?rt.response:((Yr=rt.error)===null||Yr===void 0?void 0:Yr.statusText)||((Wr=rt.error)===null||Wr===void 0?void 0:Wr.message)||Kt.uploadError,ur=Qr==="error"?b.createElement($r.Z,{title:Ar,getPopupContainer:nr=>nr.parentNode},Dr):Dr;return b.createElement("div",{className:be()(`${cn}-list-item-container`,Xt),style:an,ref:en},Sn?Sn(ur,rt,Jn,{download:gr.bind(null,rt),preview:Kn.bind(null,rt),remove:dr.bind(null,rt)}):ur)});const Hr=(et,en)=>{const{listType:cn="text",previewFile:Xt=Yn,onPreview:an,onDownload:Kt,onRemove:nn,locale:rt,iconRender:Jn,isImageUrl:Bt=lr,prefixCls:rr,items:Pr=[],showPreviewIcon:Sn=!0,showRemoveIcon:rn=!0,showDownloadIcon:Cn=!1,removeIcon:Pn,previewIcon:zn,downloadIcon:tr,extra:wr,progress:pr={size:[-1,2],showInfo:!1},appendAction:Zn,appendActionVisible:Kn=!0,itemRender:gr,disabled:dr}=et,Yr=(0,de.Z)(),[Wr,Zr]=b.useState(!1),Qr=["picture-card","picture-circle"].includes(cn);b.useEffect(()=>{cn.startsWith("picture")&&(Pr||[]).forEach(Br=>{!(Br.originFileObj instanceof File||Br.originFileObj instanceof Blob)||Br.thumbUrl!==void 0||(Br.thumbUrl="",Xt==null||Xt(Br.originFileObj).then(Gn=>{Br.thumbUrl=Gn||"",Yr()}))})},[cn,Pr,Xt]),b.useEffect(()=>{Zr(!0)},[]);const ca=(Br,Gn)=>{if(an)return Gn==null||Gn.preventDefault(),an(Br)},Xr=Br=>{typeof Kt=="function"?Kt(Br):Br.url&&window.open(Br.url)},la=Br=>{nn==null||nn(Br)},_r=Br=>{if(Jn)return Jn(Br,cn);const Gn=Br.status==="uploading";if(cn.startsWith("picture")){const Vr=cn==="picture"?b.createElement(Mt.Z,null):rt.uploading,qn=Bt!=null&&Bt(Br)?b.createElement(vn,null):b.createElement(fn,null);return Gn?Vr:qn}return Gn?b.createElement(Mt.Z,null):b.createElement(In,null)},oa=(Br,Gn,Vr,qn,hr)=>{const or={type:"text",size:"small",title:qn,onClick:er=>{var Dr,Ar;Gn(),b.isValidElement(Br)&&((Ar=(Dr=Br.props).onClick)===null||Ar===void 0||Ar.call(Dr,er))},className:`${Vr}-list-item-action`};return hr&&(or.disabled=dr),b.isValidElement(Br)?b.createElement(mn.ZP,Object.assign({},or,{icon:(0,Dn.Tm)(Br,Object.assign(Object.assign({},Br.props),{onClick:()=>{}}))})):b.createElement(mn.ZP,Object.assign({},or),b.createElement("span",null,Br))};b.useImperativeHandle(en,()=>({handlePreview:ca,handleDownload:Xr}));const{getPrefixCls:_t}=b.useContext(Tt.E_),Ea=_t("upload",rr),ia=_t(),ra=be()(`${Ea}-list`,`${Ea}-list-${cn}`),fa=b.useMemo(()=>(0,pt.Z)((0,qt.Z)(ia),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[ia]),ha=Object.assign(Object.assign({},Qr?{}:fa),{motionDeadline:2e3,motionName:`${Ea}-${Qr?"animate-inline":"animate"}`,keys:(0,me.Z)(Pr.map(Br=>({key:Br.uid,file:Br}))),motionAppear:Wr});return b.createElement("div",{className:ra},b.createElement(Ct.CSSMotionList,Object.assign({},ha,{component:!1}),Br=>{let{key:Gn,file:Vr,className:qn,style:hr}=Br;return b.createElement(aa,{key:Gn,locale:rt,prefixCls:Ea,className:qn,style:hr,file:Vr,items:Pr,progress:pr,listType:cn,isImgUrl:Bt,showPreviewIcon:Sn,showRemoveIcon:rn,showDownloadIcon:Cn,removeIcon:Pn,previewIcon:zn,downloadIcon:tr,extra:wr,iconRender:_r,actionIconRender:oa,itemRender:gr,onPreview:ca,onDownload:Xr,onClose:la})}),Zn&&b.createElement(Ct.default,Object.assign({},ha,{visible:Kn,forceRender:!0}),Br=>{let{className:Gn,style:Vr}=Br;return(0,Dn.Tm)(Zn,qn=>({className:be()(qn.className,Gn),style:Object.assign(Object.assign(Object.assign({},Vr),{pointerEvents:Gn?"none":void 0}),qn.style)}))}))};var ea=b.forwardRef(Hr),jn=function(et,en,cn,Xt){function an(Kt){return Kt instanceof cn?Kt:new cn(function(nn){nn(Kt)})}return new(cn||(cn=Promise))(function(Kt,nn){function rt(rr){try{Bt(Xt.next(rr))}catch(Pr){nn(Pr)}}function Jn(rr){try{Bt(Xt.throw(rr))}catch(Pr){nn(Pr)}}function Bt(rr){rr.done?Kt(rr.value):an(rr.value).then(rt,Jn)}Bt((Xt=Xt.apply(et,en||[])).next())})};const sr=`__LIST_IGNORE_${Date.now()}__`,Kr=(et,en)=>{const{fileList:cn,defaultFileList:Xt,onRemove:an,showUploadList:Kt=!0,listType:nn="text",onPreview:rt,onDownload:Jn,onChange:Bt,onDrop:rr,previewFile:Pr,disabled:Sn,locale:rn,iconRender:Cn,isImageUrl:Pn,progress:zn,prefixCls:tr,className:wr,type:pr="select",children:Zn,style:Kn,itemRender:gr,maxCount:dr,data:Yr={},multiple:Wr=!1,hasControlInside:Zr=!0,action:Qr="",accept:ca="",supportServerRender:Xr=!0,rootClassName:la}=et,_r=b.useContext(Ye.Z),oa=Sn!=null?Sn:_r,[_t,Ea]=(0,Tn.Z)(Xt||[],{value:cn,postState:Aa=>Aa!=null?Aa:[]}),[ia,ra]=b.useState("drop"),fa=b.useRef(null),ha=b.useRef(null);b.useMemo(()=>{const Aa=Date.now();(cn||[]).forEach(($a,Ja)=>{!$a.uid&&!Object.isFrozen($a)&&($a.uid=`__AUTO__${Aa}_${Ja}__`)})},[cn]);const Br=(Aa,$a,Ja)=>{let Ba=(0,me.Z)($a),Xa=!1;dr===1?Ba=Ba.slice(-1):dr&&(Xa=Ba.length>dr,Ba=Ba.slice(0,dr)),(0,le.flushSync)(()=>{Ea(Ba)});const ma={file:Aa,fileList:Ba};Ja&&(ma.event=Ja),(!Xa||Aa.status==="removed"||Ba.some(xi=>xi.uid===Aa.uid))&&(0,le.flushSync)(()=>{Bt==null||Bt(ma)})},Gn=(Aa,$a)=>jn(void 0,void 0,void 0,function*(){const{beforeUpload:Ja,transformFile:Ba}=et;let Xa=Aa;if(Ja){const ma=yield Ja(Aa,$a);if(ma===!1)return!1;if(delete Aa[sr],ma===sr)return Object.defineProperty(Aa,sr,{value:!0,configurable:!0}),!1;typeof ma=="object"&&ma&&(Xa=ma)}return Ba&&(Xa=yield Ba(Xa)),Xa}),Vr=Aa=>{const $a=Aa.filter(Xa=>!Xa.file[sr]);if(!$a.length)return;const Ja=$a.map(Xa=>vr(Xa.file));let Ba=(0,me.Z)(_t);Ja.forEach(Xa=>{Ba=yr(Xa,Ba)}),Ja.forEach((Xa,ma)=>{let xi=Xa;if($a[ma].parsedFile)Xa.status="uploading";else{const{originFileObj:Bi}=Xa;let Fi;try{Fi=new File([Bi],Bi.name,{type:Bi.type})}catch(Rr){Fi=new Blob([Bi],{type:Bi.type}),Fi.name=Bi.name,Fi.lastModifiedDate=new Date,Fi.lastModified=new Date().getTime()}Fi.uid=Xa.uid,xi=Fi}Br(xi,Ba)})},qn=(Aa,$a,Ja)=>{try{typeof Aa=="string"&&(Aa=JSON.parse(Aa))}catch(ma){}if(!ar($a,_t))return;const Ba=vr($a);Ba.status="done",Ba.percent=100,Ba.response=Aa,Ba.xhr=Ja;const Xa=yr(Ba,_t);Br(Ba,Xa)},hr=(Aa,$a)=>{if(!ar($a,_t))return;const Ja=vr($a);Ja.status="uploading",Ja.percent=Aa.percent;const Ba=yr(Ja,_t);Br(Ja,Ba,Aa)},or=(Aa,$a,Ja)=>{if(!ar(Ja,_t))return;const Ba=vr(Ja);Ba.error=Aa,Ba.response=$a,Ba.status="error";const Xa=yr(Ba,_t);Br(Ba,Xa)},er=Aa=>{let $a;Promise.resolve(typeof an=="function"?an(Aa):an).then(Ja=>{var Ba;if(Ja===!1)return;const Xa=Er(Aa,_t);Xa&&($a=Object.assign(Object.assign({},Aa),{status:"removed"}),_t==null||_t.forEach(ma=>{const xi=$a.uid!==void 0?"uid":"name";ma[xi]===$a[xi]&&!Object.isFrozen(ma)&&(ma.status="removed")}),(Ba=fa.current)===null||Ba===void 0||Ba.abort($a),Br($a,Xa))})},Dr=Aa=>{ra(Aa.type),Aa.type==="drop"&&(rr==null||rr(Aa))};b.useImperativeHandle(en,()=>({onBatchStart:Vr,onSuccess:qn,onProgress:hr,onError:or,fileList:_t,upload:fa.current,nativeElement:ha.current}));const{getPrefixCls:Ar,direction:ur,upload:nr}=b.useContext(Tt.E_),xr=Ar("upload",tr),Or=Object.assign(Object.assign({onBatchStart:Vr,onError:or,onProgress:hr,onSuccess:qn},et),{data:Yr,multiple:Wr,action:Qr,accept:ca,supportServerRender:Xr,prefixCls:xr,disabled:oa,beforeUpload:Gn,onChange:void 0,hasControlInside:Zr});delete Or.className,delete Or.style,(!Zn||oa)&&delete Or.id;const ba=`${xr}-wrapper`,[da,ya,Ma]=gt(xr,ba),[_a]=(0,Se.Z)("Upload",Qt.Z.Upload),{showRemoveIcon:Na,showPreviewIcon:Ha,showDownloadIcon:Da,removeIcon:ja,previewIcon:Gr,downloadIcon:bi,extra:wi}=typeof Kt=="boolean"?{}:Kt,Pa=typeof Na=="undefined"?!oa:Na,li=(Aa,$a)=>Kt?b.createElement(ea,{prefixCls:xr,listType:nn,items:_t,previewFile:Pr,onPreview:rt,onDownload:Jn,onRemove:er,showRemoveIcon:Pa,showPreviewIcon:Ha,showDownloadIcon:Da,removeIcon:ja,previewIcon:Gr,downloadIcon:bi,iconRender:Cn,extra:wi,locale:Object.assign(Object.assign({},_a),rn),isImageUrl:Pn,progress:zn,appendAction:Aa,appendActionVisible:$a,itemRender:gr,disabled:oa}):Aa,fi=be()(ba,wr,la,ya,Ma,nr==null?void 0:nr.className,{[`${xr}-rtl`]:ur==="rtl",[`${xr}-picture-card-wrapper`]:nn==="picture-card",[`${xr}-picture-circle-wrapper`]:nn==="picture-circle"}),Ua=Object.assign(Object.assign({},nr==null?void 0:nr.style),Kn);if(pr==="drag"){const Aa=be()(ya,xr,`${xr}-drag`,{[`${xr}-drag-uploading`]:_t.some($a=>$a.status==="uploading"),[`${xr}-drag-hover`]:ia==="dragover",[`${xr}-disabled`]:oa,[`${xr}-rtl`]:ur==="rtl"});return da(b.createElement("span",{className:fi,ref:ha},b.createElement("div",{className:Aa,style:Ua,onDrop:Dr,onDragOver:Dr,onDragLeave:Dr},b.createElement(Zt,Object.assign({},Or,{ref:fa,className:`${xr}-btn`}),b.createElement("div",{className:`${xr}-drag-container`},Zn))),li()))}const Ni=be()(xr,`${xr}-select`,{[`${xr}-disabled`]:oa,[`${xr}-hidden`]:!Zn}),Va=b.createElement("div",{className:Ni},b.createElement(Zt,Object.assign({},Or,{ref:fa})));return da(nn==="picture-card"||nn==="picture-circle"?b.createElement("span",{className:fi,ref:ha},li(Va,!!Zn)):b.createElement("span",{className:fi,ref:ha},Va,li()))};var ve=b.forwardRef(Kr),Ie=function(et,en){var cn={};for(var Xt in et)Object.prototype.hasOwnProperty.call(et,Xt)&&en.indexOf(Xt)<0&&(cn[Xt]=et[Xt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Xt=Object.getOwnPropertySymbols(et);an<Xt.length;an++)en.indexOf(Xt[an])<0&&Object.prototype.propertyIsEnumerable.call(et,Xt[an])&&(cn[Xt[an]]=et[Xt[an]]);return cn},Le=b.forwardRef((et,en)=>{var{style:cn,height:Xt,hasControlInside:an=!1}=et,Kt=Ie(et,["style","height","hasControlInside"]);return b.createElement(ve,Object.assign({ref:en,hasControlInside:an},Kt,{type:"drag",style:Object.assign(Object.assign({},cn),{height:Xt})}))});const He=ve;He.Dragger=Le,He.LIST_IGNORE=sr;var Vt=He},99498:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){b.defineOption("placeholder","",function(Oe,Re,xe){var Ge=xe&&xe!=b.Init;if(Re&&!Ge)Oe.on("blur",be),Oe.on("change",fe),Oe.on("swapDoc",fe),b.on(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose=function(){pe(Oe)}),fe(Oe);else if(!Re&&Ge){Oe.off("blur",be),Oe.off("change",fe),Oe.off("swapDoc",fe),b.off(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose),me(Oe);var Fe=Oe.getWrapperElement();Fe.className=Fe.className.replace(" CodeMirror-empty","")}Re&&!Oe.hasFocus()&&be(Oe)});function me(Oe){Oe.state.placeholder&&(Oe.state.placeholder.parentNode.removeChild(Oe.state.placeholder),Oe.state.placeholder=null)}function le(Oe){me(Oe);var Re=Oe.state.placeholder=document.createElement("pre");Re.style.cssText="height: 0; overflow: visible",Re.style.direction=Oe.getOption("direction"),Re.className="CodeMirror-placeholder CodeMirror-line-like";var xe=Oe.getOption("placeholder");typeof xe=="string"&&(xe=document.createTextNode(xe)),Re.appendChild(xe),Oe.display.lineSpace.insertBefore(Re,Oe.display.lineSpace.firstChild)}function pe(Oe){setTimeout(function(){var Re=!1,xe=Oe.getInputField();xe.nodeName=="TEXTAREA"?Re=!xe.value:Oe.lineCount()==1&&(Re=!/[^\u200b]/.test(xe.querySelector(".CodeMirror-line").textContent)),Re?le(Oe):me(Oe)},20)}function be(Oe){we(Oe)&&le(Oe)}function fe(Oe){var Re=Oe.getWrapperElement(),xe=we(Oe);Re.className=Re.className.replace(" CodeMirror-empty","")+(xe?" CodeMirror-empty":""),xe?le(Oe):me(Oe)}function we(Oe){return Oe.lineCount()===1&&Oe.getLine(0)===""}})},25717:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){var me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},le=b.Pos;b.defineOption("autoCloseBrackets",!1,function(tt,Je,We){We&&We!=b.Init&&(tt.removeKeyMap(be),tt.state.closeBrackets=null),Je&&(fe(pe(Je,"pairs")),tt.state.closeBrackets=Je,tt.addKeyMap(be))});function pe(tt,Je){return Je=="pairs"&&typeof tt=="string"?tt:typeof tt=="object"&&tt[Je]!=null?tt[Je]:me[Je]}var be={Backspace:Re,Enter:xe};function fe(tt){for(var Je=0;Je<tt.length;Je++){var We=tt.charAt(Je),Ve="'"+We+"'";be[Ve]||(be[Ve]=we(We))}}fe(me.pairs+"`");function we(tt){return function(Je){return Fe(Je,tt)}}function Oe(tt){var Je=tt.state.closeBrackets;if(!Je||Je.override)return Je;var We=tt.getModeAt(tt.getCursor());return We.closeBrackets||Je}function Re(tt){var Je=Oe(tt);if(!Je||tt.getOption("disableInput"))return b.Pass;for(var We=pe(Je,"pairs"),Ve=tt.listSelections(),Ze=0;Ze<Ve.length;Ze++){if(!Ve[Ze].empty())return b.Pass;var Qe=At(tt,Ve[Ze].head);if(!Qe||We.indexOf(Qe)%2!=0)return b.Pass}for(var Ze=Ve.length-1;Ze>=0;Ze--){var ze=Ve[Ze].head;tt.replaceRange("",le(ze.line,ze.ch-1),le(ze.line,ze.ch+1),"+delete")}}function xe(tt){var Je=Oe(tt),We=Je&&pe(Je,"explode");if(!We||tt.getOption("disableInput"))return b.Pass;for(var Ve=tt.listSelections(),Ze=0;Ze<Ve.length;Ze++){if(!Ve[Ze].empty())return b.Pass;var Qe=At(tt,Ve[Ze].head);if(!Qe||We.indexOf(Qe)%2!=0)return b.Pass}tt.operation(function(){var ze=tt.lineSeparator()||`
|
|
|
`;tt.replaceSelection(ze+ze,null),tt.execCommand("goCharLeft"),Ve=tt.listSelections();for(var _e=0;_e<Ve.length;_e++){var $e=Ve[_e].head.line;tt.indentLine($e,null,!0),tt.indentLine($e+1,null,!0)}})}function Ge(tt){var Je=b.cmpPos(tt.anchor,tt.head)>0;return{anchor:new le(tt.anchor.line,tt.anchor.ch+(Je?-1:1)),head:new le(tt.head.line,tt.head.ch+(Je?1:-1))}}function Fe(tt,Je){var We=Oe(tt);if(!We||tt.getOption("disableInput"))return b.Pass;var Ve=pe(We,"pairs"),Ze=Ve.indexOf(Je);if(Ze==-1)return b.Pass;for(var Qe=pe(We,"closeBefore"),ze=pe(We,"triples"),_e=Ve.charAt(Ze+1)==Je,$e=tt.listSelections(),nt=Ze%2==0,bt,it=0;it<$e.length;it++){var Nt=$e[it],vt=Nt.head,dt,It=tt.getRange(vt,le(vt.line,vt.ch+1));if(nt&&!Nt.empty())dt="surround";else if((_e||!nt)&&It==Je)_e&&at(tt,vt)?dt="both":ze.indexOf(Je)>=0&&tt.getRange(vt,le(vt.line,vt.ch+3))==Je+Je+Je?dt="skipThree":dt="skip";else if(_e&&vt.ch>1&&ze.indexOf(Je)>=0&&tt.getRange(le(vt.line,vt.ch-2),vt)==Je+Je){if(vt.ch>2&&/\bstring/.test(tt.getTokenTypeAt(le(vt.line,vt.ch-2))))return b.Pass;dt="addFour"}else if(_e){var St=vt.ch==0?" ":tt.getRange(le(vt.line,vt.ch-1),vt);if(!b.isWordChar(It)&&St!=Je&&!b.isWordChar(St))dt="both";else return b.Pass}else if(nt&&(It.length===0||/\s/.test(It)||Qe.indexOf(It)>-1))dt="both";else return b.Pass;if(!bt)bt=dt;else if(bt!=dt)return b.Pass}var qe=Ze%2?Ve.charAt(Ze-1):Je,Jt=Ze%2?Je:Ve.charAt(Ze+1);tt.operation(function(){if(bt=="skip")tt.execCommand("goCharRight");else if(bt=="skipThree")for(var Rt=0;Rt<3;Rt++)tt.execCommand("goCharRight");else if(bt=="surround"){for(var Zt=tt.getSelections(),Rt=0;Rt<Zt.length;Rt++)Zt[Rt]=qe+Zt[Rt]+Jt;tt.replaceSelections(Zt,"around"),Zt=tt.listSelections().slice();for(var Rt=0;Rt<Zt.length;Rt++)Zt[Rt]=Ge(Zt[Rt]);tt.setSelections(Zt)}else bt=="both"?(tt.replaceSelection(qe+Jt,null),tt.triggerElectric(qe+Jt),tt.execCommand("goCharLeft")):bt=="addFour"&&(tt.replaceSelection(qe+qe+qe+qe,"before"),tt.execCommand("goCharRight"))})}function At(tt,Je){var We=tt.getRange(le(Je.line,Je.ch-1),le(Je.line,Je.ch+1));return We.length==2?We:null}function at(tt,Je){var We=tt.getTokenAt(le(Je.line,Je.ch+1));return/\bstring/.test(We.type)&&We.start==Je.ch&&(Je.ch==0||!/\bstring/.test(tt.getTokenTypeAt(Je)))}})},6313:function(Ce,ae,y){(function(b){b(y(89780),y(32855))})(function(b){b.defineOption("autoCloseTags",!1,function(Re,xe,Ge){if(Ge!=b.Init&&Ge&&Re.removeKeyMap("autoCloseTags"),!!xe){var Fe={name:"autoCloseTags"};(typeof xe!="object"||xe.whenClosing!==!1)&&(Fe["'/'"]=function(At){return fe(At)}),(typeof xe!="object"||xe.whenOpening!==!1)&&(Fe["'>'"]=function(At){return pe(At)}),Re.addKeyMap(Fe)}});var me=["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 pe(Re){if(Re.getOption("disableInput"))return b.Pass;for(var xe=Re.listSelections(),Ge=[],Fe=Re.getOption("autoCloseTags"),At=0;At<xe.length;At++){if(!xe[At].empty())return b.Pass;var at=xe[At].head,tt=Re.getTokenAt(at),Je=b.innerMode(Re.getMode(),tt.state),We=Je.state,Ve=Je.mode.xmlCurrentTag&&Je.mode.xmlCurrentTag(We),Ze=Ve&&Ve.name;if(!Ze)return b.Pass;var Qe=Je.mode.configuration=="html",ze=typeof Fe=="object"&&Fe.dontCloseTags||Qe&&me,_e=typeof Fe=="object"&&Fe.indentTags||Qe&≤tt.end>at.ch&&(Ze=Ze.slice(0,Ze.length-tt.end+at.ch));var $e=Ze.toLowerCase();if(!Ze||tt.type=="string"&&(tt.end!=at.ch||!/[\"\']/.test(tt.string.charAt(tt.string.length-1))||tt.string.length==1)||tt.type=="tag"&&Ve.close||tt.string.indexOf("/")==at.ch-tt.start-1||ze&&we(ze,$e)>-1||Oe(Re,Je.mode.xmlCurrentContext&&Je.mode.xmlCurrentContext(We)||[],Ze,at,!0))return b.Pass;var nt=typeof Fe=="object"&&Fe.emptyTags;if(nt&&we(nt,Ze)>-1){Ge[At]={text:"/>",newPos:b.Pos(at.line,at.ch+2)};continue}var bt=_e&&we(_e,$e)>-1;Ge[At]={indent:bt,text:">"+(bt?`
|
|
|
|
|
|
`:"")+"</"+Ze+">",newPos:bt?b.Pos(at.line+1,0):b.Pos(at.line,at.ch+1)}}for(var it=typeof Fe=="object"&&Fe.dontIndentOnAutoClose,At=xe.length-1;At>=0;At--){var Nt=Ge[At];Re.replaceRange(Nt.text,xe[At].head,xe[At].anchor,"+insert");var vt=Re.listSelections().slice(0);vt[At]={head:Nt.newPos,anchor:Nt.newPos},Re.setSelections(vt),!it&&Nt.indent&&(Re.indentLine(Nt.newPos.line,null,!0),Re.indentLine(Nt.newPos.line+1,null,!0))}}function be(Re,xe){for(var Ge=Re.listSelections(),Fe=[],At=xe?"/":"</",at=Re.getOption("autoCloseTags"),tt=typeof at=="object"&&at.dontIndentOnSlash,Je=0;Je<Ge.length;Je++){if(!Ge[Je].empty())return b.Pass;var We=Ge[Je].head,Ve=Re.getTokenAt(We),Ze=b.innerMode(Re.getMode(),Ve.state),Qe=Ze.state;if(xe&&(Ve.type=="string"||Ve.string.charAt(0)!="<"||Ve.start!=We.ch-1))return b.Pass;var ze,_e=Ze.mode.name!="xml"&&Re.getMode().name=="htmlmixed";if(_e&&Ze.mode.name=="javascript")ze=At+"script";else if(_e&&Ze.mode.name=="css")ze=At+"style";else{var $e=Ze.mode.xmlCurrentContext&&Ze.mode.xmlCurrentContext(Qe);if(!$e||$e.length&&Oe(Re,$e,$e[$e.length-1],We))return b.Pass;ze=At+$e[$e.length-1]}Re.getLine(We.line).charAt(Ve.end)!=">"&&(ze+=">"),Fe[Je]=ze}if(Re.replaceSelections(Fe),Ge=Re.listSelections(),!tt)for(var Je=0;Je<Ge.length;Je++)(Je==Ge.length-1||Ge[Je].head.line<Ge[Je+1].head.line)&&Re.indentLine(Ge[Je].head.line)}function fe(Re){return Re.getOption("disableInput")?b.Pass:be(Re,!0)}b.commands.closeTag=function(Re){return be(Re)};function we(Re,xe){if(Re.indexOf)return Re.indexOf(xe);for(var Ge=0,Fe=Re.length;Ge<Fe;++Ge)if(Re[Ge]==xe)return Ge;return-1}function Oe(Re,xe,Ge,Fe,At){if(!b.scanForClosingTag)return!1;var at=Math.min(Re.lastLine()+1,Fe.line+500),tt=b.scanForClosingTag(Re,Fe,null,at);if(!tt||tt.tag!=Ge)return!1;for(var Je=At?1:0,We=xe.length-1;We>=0&&xe[We]==Ge;We--)++Je;Fe=tt.to;for(var We=1;We<Je;We++){var Ve=b.scanForClosingTag(Re,Fe,null,at);if(!Ve||Ve.tag!=Ge)return!1;Fe=Ve.to}return!0}})},32855:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";var me=b.Pos;function le(We,Ve){return We.line-Ve.line||We.ch-Ve.ch}var pe="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",be=pe+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",fe=new RegExp("<(/?)(["+pe+"]["+be+"]*)","g");function we(We,Ve,Ze,Qe){this.line=Ve,this.ch=Ze,this.cm=We,this.text=We.getLine(Ve),this.min=Qe?Math.max(Qe.from,We.firstLine()):We.firstLine(),this.max=Qe?Math.min(Qe.to-1,We.lastLine()):We.lastLine()}function Oe(We,Ve){var Ze=We.cm.getTokenTypeAt(me(We.line,Ve));return Ze&&/\btag\b/.test(Ze)}function Re(We){if(!(We.line>=We.max))return We.ch=0,We.text=We.cm.getLine(++We.line),!0}function xe(We){if(!(We.line<=We.min))return We.text=We.cm.getLine(--We.line),We.ch=We.text.length,!0}function Ge(We){for(;;){var Ve=We.text.indexOf(">",We.ch);if(Ve==-1){if(Re(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve+1;continue}var Ze=We.text.lastIndexOf("/",Ve),Qe=Ze>-1&&!/\S/.test(We.text.slice(Ze+1,Ve));return We.ch=Ve+1,Qe?"selfClose":"regular"}}function Fe(We){for(;;){var Ve=We.ch?We.text.lastIndexOf("<",We.ch-1):-1;if(Ve==-1){if(xe(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve;continue}fe.lastIndex=Ve,We.ch=Ve;var Ze=fe.exec(We.text);if(Ze&&Ze.index==Ve)return Ze}}function At(We){for(;;){fe.lastIndex=We.ch;var Ve=fe.exec(We.text);if(!Ve){if(Re(We))continue;return}if(!Oe(We,Ve.index+1)){We.ch=Ve.index+1;continue}return We.ch=Ve.index+Ve[0].length,Ve}}function at(We){for(;;){var Ve=We.ch?We.text.lastIndexOf(">",We.ch-1):-1;if(Ve==-1){if(xe(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve;continue}var Ze=We.text.lastIndexOf("/",Ve),Qe=Ze>-1&&!/\S/.test(We.text.slice(Ze+1,Ve));return We.ch=Ve+1,Qe?"selfClose":"regular"}}function tt(We,Ve){for(var Ze=[];;){var Qe=At(We),ze,_e=We.line,$e=We.ch-(Qe?Qe[0].length:0);if(!Qe||!(ze=Ge(We)))return;if(ze!="selfClose")if(Qe[1]){for(var nt=Ze.length-1;nt>=0;--nt)if(Ze[nt]==Qe[2]){Ze.length=nt;break}if(nt<0&&(!Ve||Ve==Qe[2]))return{tag:Qe[2],from:me(_e,$e),to:me(We.line,We.ch)}}else Ze.push(Qe[2])}}function Je(We,Ve){for(var Ze=[];;){var Qe=at(We);if(!Qe)return;if(Qe=="selfClose"){Fe(We);continue}var ze=We.line,_e=We.ch,$e=Fe(We);if(!$e)return;if($e[1])Ze.push($e[2]);else{for(var nt=Ze.length-1;nt>=0;--nt)if(Ze[nt]==$e[2]){Ze.length=nt;break}if(nt<0&&(!Ve||Ve==$e[2]))return{tag:$e[2],from:me(We.line,We.ch),to:me(ze,_e)}}}}b.registerHelper("fold","xml",function(We,Ve){for(var Ze=new we(We,Ve.line,0);;){var Qe=At(Ze);if(!Qe||Ze.line!=Ve.line)return;var ze=Ge(Ze);if(!ze)return;if(!Qe[1]&&ze!="selfClose"){var _e=me(Ze.line,Ze.ch),$e=tt(Ze,Qe[2]);return $e&&le($e.from,_e)>0?{from:_e,to:$e.from}:null}}}),b.findMatchingTag=function(We,Ve,Ze){var Qe=new we(We,Ve.line,Ve.ch,Ze);if(!(Qe.text.indexOf(">")==-1&&Qe.text.indexOf("<")==-1)){var ze=Ge(Qe),_e=ze&&me(Qe.line,Qe.ch),$e=ze&&Fe(Qe);if(!(!ze||!$e||le(Qe,Ve)>0)){var nt={from:me(Qe.line,Qe.ch),to:_e,tag:$e[2]};return ze=="selfClose"?{open:nt,close:null,at:"open"}:$e[1]?{open:Je(Qe,$e[2]),close:nt,at:"close"}:(Qe=new we(We,_e.line,_e.ch,Ze),{open:nt,close:tt(Qe,$e[2]),at:"open"})}}},b.findEnclosingTag=function(We,Ve,Ze,Qe){for(var ze=new we(We,Ve.line,Ve.ch,Ze);;){var _e=Je(ze,Qe);if(!_e)break;var $e=new we(We,Ve.line,Ve.ch,Ze),nt=tt($e,_e.tag);if(nt)return{open:_e,close:nt}}},b.scanForClosingTag=function(We,Ve,Ze,Qe){var ze=new we(We,Ve.line,Ve.ch,Qe?{from:0,to:Qe}:null);return tt(ze,Ze)}})},89780:function(Ce){(function(ae,y){Ce.exports=y()})(this,function(){"use strict";var ae=navigator.userAgent,y=navigator.platform,b=/gecko\/\d/i.test(ae),me=/MSIE \d/.test(ae),le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ae),pe=/Edge\/(\d+)/.exec(ae),be=me||le||pe,fe=be&&(me?document.documentMode||6:+(pe||le)[1]),we=!pe&&/WebKit\//.test(ae),Oe=we&&/Qt\/\d+\.\d+/.test(ae),Re=!pe&&/Chrome\//.test(ae),xe=/Opera\//.test(ae),Ge=/Apple Computer/.test(navigator.vendor),Fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ae),At=/PhantomJS/.test(ae),at=!pe&&/AppleWebKit/.test(ae)&&/Mobile\/\w+/.test(ae),tt=/Android/.test(ae),Je=at||tt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ae),We=at||/Mac/.test(y),Ve=/\bCrOS\b/.test(ae),Ze=/win/i.test(y),Qe=xe&&ae.match(/Version\/(\d*\.\d*)/);Qe&&(Qe=Number(Qe[1])),Qe&&Qe>=15&&(xe=!1,we=!0);var ze=We&&(Oe||xe&&(Qe==null||Qe<12.11)),_e=b||be&&fe>=9;function $e(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var nt=function(a,E){var re=a.className,ne=$e(E).exec(re);if(ne){var ie=re.slice(ne.index+ne[0].length);a.className=re.slice(0,ne.index)+(ie?ne[1]+ie:"")}};function bt(a){for(var E=a.childNodes.length;E>0;--E)a.removeChild(a.firstChild);return a}function it(a,E){return bt(a).appendChild(E)}function Nt(a,E,re,ne){var ie=document.createElement(a);if(re&&(ie.className=re),ne&&(ie.style.cssText=ne),typeof E=="string")ie.appendChild(document.createTextNode(E));else if(E)for(var ye=0;ye<E.length;++ye)ie.appendChild(E[ye]);return ie}function vt(a,E,re,ne){var ie=Nt(a,E,re,ne);return ie.setAttribute("role","presentation"),ie}var dt;document.createRange?dt=function(a,E,re,ne){var ie=document.createRange();return ie.setEnd(ne||a,re),ie.setStart(a,E),ie}:dt=function(a,E,re){var ne=document.body.createTextRange();try{ne.moveToElementText(a.parentNode)}catch(ie){return ne}return ne.collapse(!0),ne.moveEnd("character",re),ne.moveStart("character",E),ne};function It(a,E){if(E.nodeType==3&&(E=E.parentNode),a.contains)return a.contains(E);do if(E.nodeType==11&&(E=E.host),E==a)return!0;while(E=E.parentNode)}function St(){var a;try{a=document.activeElement}catch(E){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function qe(a,E){var re=a.className;$e(E).test(re)||(a.className+=(re?" ":"")+E)}function Jt(a,E){for(var re=a.split(" "),ne=0;ne<re.length;ne++)re[ne]&&!$e(re[ne]).test(E)&&(E+=" "+re[ne]);return E}var Rt=function(a){a.select()};at?Rt=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:be&&(Rt=function(a){try{a.select()}catch(E){}});function Zt(a){var E=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,E)}}function Tn(a,E,re){E||(E={});for(var ne in a)a.hasOwnProperty(ne)&&(re!==!1||!E.hasOwnProperty(ne))&&(E[ne]=a[ne]);return E}function Tt(a,E,re,ne,ie){E==null&&(E=a.search(/[^\s\u00a0]/),E==-1&&(E=a.length));for(var ye=ne||0,Be=ie||0;;){var Ke=a.indexOf(" ",ye);if(Ke<0||Ke>=E)return Be+(E-ye);Be+=Ke-ye,Be+=re-Be%re,ye=Ke+1}}var Ye=function(){this.id=null,this.f=null,this.time=0,this.handler=Zt(this.onTimeout,this)};Ye.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Ye.prototype.set=function(a,E){this.f=E;var re=+new Date+a;(!this.id||re<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=re)};function Se(a,E){for(var re=0;re<a.length;++re)if(a[re]==E)return re;return-1}var Qt=50,on={toString:function(){return"CodeMirror.Pass"}},st={scroll:!1},Ut={origin:"*mouse"},Gt={origin:"+move"};function On(a,E,re){for(var ne=0,ie=0;;){var ye=a.indexOf(" ",ne);ye==-1&&(ye=a.length);var Be=ye-ne;if(ye==a.length||ie+Be>=E)return ne+Math.min(Be,E-ie);if(ie+=ye-ne,ie+=re-ie%re,ne=ye+1,ie>=E)return ne}}var ft=[""];function En(a){for(;ft.length<=a;)ft.push(Ht(ft)+" ");return ft[a]}function Ht(a){return a[a.length-1]}function gn(a,E){for(var re=[],ne=0;ne<a.length;ne++)re[ne]=E(a[ne],ne);return re}function un(a,E,re){for(var ne=0,ie=re(E);ne<a.length&&re(a[ne])<=ie;)ne++;a.splice(ne,0,E)}function De(){}function he(a,E){var re;return Object.create?re=Object.create(a):(De.prototype=a,re=new De),E&&Tn(E,re),re}var ce=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Te(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ce.test(a))}function je(a,E){return E?E.source.indexOf("\\w")>-1&&Te(a)?!0:E.test(a):Te(a)}function ge(a){for(var E in a)if(a.hasOwnProperty(E)&&a[E])return!1;return!0}var Pe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ct(a){return a.charCodeAt(0)>=768&&Pe.test(a)}function $t(a,E,re){for(;(re<0?E>0:E<a.length)&&ct(a.charAt(E));)E+=re;return E}function gt(a,E,re){for(var ne=E>re?-1:1;;){if(E==re)return E;var ie=(E+re)/2,ye=ne<0?Math.ceil(ie):Math.floor(ie);if(ye==E)return a(ye)?E:re;a(ye)?re=ye:E=ye+ne}}function yt(a,E,re,ne){if(!a)return ne(E,re,"ltr",0);for(var ie=!1,ye=0;ye<a.length;++ye){var Be=a[ye];(Be.from<re&&Be.to>E||E==re&&Be.to==E)&&(ne(Math.max(Be.from,E),Math.min(Be.to,re),Be.level==1?"rtl":"ltr",ye),ie=!0)}ie||ne(E,re,"ltr")}var Dt=null;function Pt(a,E,re){var ne;Dt=null;for(var ie=0;ie<a.length;++ie){var ye=a[ie];if(ye.from<E&&ye.to>E)return ie;ye.to==E&&(ye.from!=ye.to&&re=="before"?ne=ie:Dt=ie),ye.from==E&&(ye.from!=ye.to&&re!="before"?ne=ie:Dt=ie)}return ne!=null?ne:Dt}var Wt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",E="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function re(xt){return xt<=247?a.charAt(xt):1424<=xt&&xt<=1524?"R":1536<=xt&&xt<=1785?E.charAt(xt-1536):1774<=xt&&xt<=2220?"r":8192<=xt&&xt<=8203?"w":xt==8204?"b":"L"}var ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,ye=/[LRr]/,Be=/[Lb1n]/,Ke=/[1n]/;function ot(xt,dn,yn){this.level=xt,this.from=dn,this.to=yn}return function(xt,dn){var yn=dn=="ltr"?"L":"R";if(xt.length==0||dn=="ltr"&&!ne.test(xt))return!1;for(var Wn=xt.length,Un=[],Ir=0;Ir<Wn;++Ir)Un.push(re(xt.charCodeAt(Ir)));for(var Fr=0,oe=yn;Fr<Wn;++Fr){var z=Un[Fr];z=="m"?Un[Fr]=oe:oe=z}for(var te=0,ue=yn;te<Wn;++te){var Ee=Un[te];Ee=="1"&&ue=="r"?Un[te]="n":ye.test(Ee)&&(ue=Ee,Ee=="r"&&(Un[te]="R"))}for(var Me=1,Xe=Un[0];Me<Wn-1;++Me){var lt=Un[Me];lt=="+"&&Xe=="1"&&Un[Me+1]=="1"?Un[Me]="1":lt==","&&Xe==Un[Me+1]&&(Xe=="1"||Xe=="n")&&(Un[Me]=Xe),Xe=lt}for(var ht=0;ht<Wn;++ht){var zt=Un[ht];if(zt==",")Un[ht]="N";else if(zt=="%"){var sn=void 0;for(sn=ht+1;sn<Wn&&Un[sn]=="%";++sn);for(var An=ht&&Un[ht-1]=="!"||sn<Wn&&Un[sn]=="1"?"1":"N",Fn=ht;Fn<sn;++Fn)Un[Fn]=An;ht=sn-1}}for(var Hn=0,ir=yn;Hn<Wn;++Hn){var Xn=Un[Hn];ir=="L"&&Xn=="1"?Un[Hn]="L":ye.test(Xn)&&(ir=Xn)}for(var Cr=0;Cr<Wn;++Cr)if(ie.test(Un[Cr])){var Tr=void 0;for(Tr=Cr+1;Tr<Wn&&ie.test(Un[Tr]);++Tr);for(var kr=(Cr?Un[Cr-1]:yn)=="L",jr=(Tr<Wn?Un[Tr]:yn)=="L",qr=kr==jr?kr?"L":"R":yn,Sa=Cr;Sa<Tr;++Sa)Un[Sa]=qr;Cr=Tr-1}for(var na=[],Oa,Fa=0;Fa<Wn;)if(Be.test(Un[Fa])){var Ga=Fa;for(++Fa;Fa<Wn&&Be.test(Un[Fa]);++Fa);na.push(new ot(0,Ga,Fa))}else{var ka=Fa,ni=na.length,Ya=dn=="rtl"?1:0;for(++Fa;Fa<Wn&&Un[Fa]!="L";++Fa);for(var Wa=ka;Wa<Fa;)if(Ke.test(Un[Wa])){ka<Wa&&(na.splice(ni,0,new ot(1,ka,Wa)),ni+=Ya);var mr=Wa;for(++Wa;Wa<Fa&&Ke.test(Un[Wa]);++Wa);na.splice(ni,0,new ot(2,mr,Wa)),ni+=Ya,ka=Wa}else++Wa;ka<Fa&&na.splice(ni,0,new ot(1,ka,Fa))}return dn=="ltr"&&(na[0].level==1&&(Oa=xt.match(/^\s+/))&&(na[0].from=Oa[0].length,na.unshift(new ot(0,0,Oa[0].length))),Ht(na).level==1&&(Oa=xt.match(/\s+$/))&&(Ht(na).to-=Oa[0].length,na.push(new ot(0,Wn-Oa[0].length,Wn)))),dn=="rtl"?na.reverse():na}}();function pn(a,E){var re=a.order;return re==null&&(re=a.order=Wt(a.text,E)),re}var fn=[],Mt=function(a,E,re){if(a.addEventListener)a.addEventListener(E,re,!1);else if(a.attachEvent)a.attachEvent("on"+E,re);else{var ne=a._handlers||(a._handlers={});ne[E]=(ne[E]||fn).concat(re)}};function Ln(a,E){return a._handlers&&a._handlers[E]||fn}function kn(a,E,re){if(a.removeEventListener)a.removeEventListener(E,re,!1);else if(a.detachEvent)a.detachEvent("on"+E,re);else{var ne=a._handlers,ie=ne&&ne[E];if(ie){var ye=Se(ie,re);ye>-1&&(ne[E]=ie.slice(0,ye).concat(ie.slice(ye+1)))}}}function wn(a,E){var re=Ln(a,E);if(re.length)for(var ne=Array.prototype.slice.call(arguments,2),ie=0;ie<re.length;++ie)re[ie].apply(null,ne)}function ln(a,E,re){return typeof E=="string"&&(E={type:E,preventDefault:function(){this.defaultPrevented=!0}}),wn(a,re||E.type,a,E),vn(E)||E.codemirrorIgnore}function In(a){var E=a._handlers&&a._handlers.cursorActivity;if(E)for(var re=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),ne=0;ne<E.length;++ne)Se(re,E[ne])==-1&&re.push(E[ne])}function xn(a,E){return Ln(a,E).length>0}function kt(a){a.prototype.on=function(E,re){Mt(this,E,re)},a.prototype.off=function(E,re){kn(this,E,re)}}function Yt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ft(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Ct(a){Yt(a),Ft(a)}function pt(a){return a.target||a.srcElement}function de(a){var E=a.which;return E==null&&(a.button&1?E=1:a.button&2?E=3:a.button&4&&(E=2)),We&&a.ctrlKey&&E==1&&(E=3),E}var qt=function(){if(be&&fe<9)return!1;var a=Nt("div");return"draggable"in a||"dragDrop"in a}(),Dn;function mn(a){if(Dn==null){var E=Nt("span","\u200B");it(a,Nt("span",[E,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Dn=E.offsetWidth<=1&&E.offsetHeight>2&&!(be&&fe<8))}var re=Dn?Nt("span","\u200B"):Nt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return re.setAttribute("cm-text",""),re}var vr;function yr(a){if(vr!=null)return vr;var E=it(a,document.createTextNode("A\u062EA")),re=dt(E,0,1).getBoundingClientRect(),ne=dt(E,1,2).getBoundingClientRect();return bt(a),!re||re.left==re.right?!1:vr=ne.right-re.right<3}var ar=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var E=0,re=[],ne=a.length;E<=ne;){var ie=a.indexOf(`
|
|
|
`,E);ie==-1&&(ie=a.length);var ye=a.slice(E,a.charAt(ie-1)=="\r"?ie-1:ie),Be=ye.indexOf("\r");Be!=-1?(re.push(ye.slice(0,Be)),E+=Be+1):(re.push(ye),E=ie+1)}return re}:function(a){return a.split(/\r\n?|\n/)},Er=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(E){return!1}}:function(a){var E;try{E=a.ownerDocument.selection.createRange()}catch(re){}return!E||E.parentElement()!=a?!1:E.compareEndPoints("StartToEnd",E)!=0},wt=function(){var a=Nt("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Qn=null;function lr(a){if(Qn!=null)return Qn;var E=it(a,Nt("span","x")),re=E.getBoundingClientRect(),ne=dt(E,0,1).getBoundingClientRect();return Qn=Math.abs(re.left-ne.left)>1}var cr={},Yn={};function Sr(a,E){arguments.length>2&&(E.dependencies=Array.prototype.slice.call(arguments,2)),cr[a]=E}function br(a,E){Yn[a]=E}function Nr(a){if(typeof a=="string"&&Yn.hasOwnProperty(a))a=Yn[a];else if(a&&typeof a.name=="string"&&Yn.hasOwnProperty(a.name)){var E=Yn[a.name];typeof E=="string"&&(E={name:E}),a=he(E,a),a.name=E.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Nr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Nr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Jr(a,E){E=Nr(E);var re=cr[E.name];if(!re)return Jr(a,"text/plain");var ne=re(a,E);if($r.hasOwnProperty(E.name)){var ie=$r[E.name];for(var ye in ie)ie.hasOwnProperty(ye)&&(ne.hasOwnProperty(ye)&&(ne["_"+ye]=ne[ye]),ne[ye]=ie[ye])}if(ne.name=E.name,E.helperType&&(ne.helperType=E.helperType),E.modeProps)for(var Be in E.modeProps)ne[Be]=E.modeProps[Be];return ne}var $r={};function Ur(a,E){var re=$r.hasOwnProperty(a)?$r[a]:$r[a]={};Tn(E,re)}function aa(a,E){if(E===!0)return E;if(a.copyState)return a.copyState(E);var re={};for(var ne in E){var ie=E[ne];ie instanceof Array&&(ie=ie.concat([])),re[ne]=ie}return re}function Hr(a,E){for(var re;a.innerMode&&(re=a.innerMode(E),!(!re||re.mode==a));)E=re.state,a=re.mode;return re||{mode:a,state:E}}function pa(a,E,re){return a.startState?a.startState(E,re):!0}var ea=function(a,E,re){this.pos=this.start=0,this.string=a,this.tabSize=E||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};ea.prototype.eol=function(){return this.pos>=this.string.length},ea.prototype.sol=function(){return this.pos==this.lineStart},ea.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ea.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},ea.prototype.eat=function(a){var E=this.string.charAt(this.pos),re;if(typeof a=="string"?re=E==a:re=E&&(a.test?a.test(E):a(E)),re)return++this.pos,E},ea.prototype.eatWhile=function(a){for(var E=this.pos;this.eat(a););return this.pos>E},ea.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},ea.prototype.skipToEnd=function(){this.pos=this.string.length},ea.prototype.skipTo=function(a){var E=this.string.indexOf(a,this.pos);if(E>-1)return this.pos=E,!0},ea.prototype.backUp=function(a){this.pos-=a},ea.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Tt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Tt(this.string,this.lineStart,this.tabSize):0)},ea.prototype.indentation=function(){return Tt(this.string,null,this.tabSize)-(this.lineStart?Tt(this.string,this.lineStart,this.tabSize):0)},ea.prototype.match=function(a,E,re){if(typeof a=="string"){var ne=function(Be){return re?Be.toLowerCase():Be},ie=this.string.substr(this.pos,a.length);if(ne(ie)==ne(a))return E!==!1&&(this.pos+=a.length),!0}else{var ye=this.string.slice(this.pos).match(a);return ye&&ye.index>0?null:(ye&&E!==!1&&(this.pos+=ye[0].length),ye)}},ea.prototype.current=function(){return this.string.slice(this.start,this.pos)},ea.prototype.hideFirstChars=function(a,E){this.lineStart+=a;try{return E()}finally{this.lineStart-=a}},ea.prototype.lookAhead=function(a){var E=this.lineOracle;return E&&E.lookAhead(a)},ea.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function jn(a,E){if(E-=a.first,E<0||E>=a.size)throw new Error("There is no line "+(E+a.first)+" in the document.");for(var re=a;!re.lines;)for(var ne=0;;++ne){var ie=re.children[ne],ye=ie.chunkSize();if(E<ye){re=ie;break}E-=ye}return re.lines[E]}function sr(a,E,re){var ne=[],ie=E.line;return a.iter(E.line,re.line+1,function(ye){var Be=ye.text;ie==re.line&&(Be=Be.slice(0,re.ch)),ie==E.line&&(Be=Be.slice(E.ch)),ne.push(Be),++ie}),ne}function Kr(a,E,re){var ne=[];return a.iter(E,re,function(ie){ne.push(ie.text)}),ne}function zr(a,E){var re=E-a.height;if(re)for(var ne=a;ne;ne=ne.parent)ne.height+=re}function ve(a){if(a.parent==null)return null;for(var E=a.parent,re=Se(E.lines,a),ne=E.parent;ne;E=ne,ne=ne.parent)for(var ie=0;ne.children[ie]!=E;++ie)re+=ne.children[ie].chunkSize();return re+E.first}function Ie(a,E){var re=a.first;e:do{for(var ne=0;ne<a.children.length;++ne){var ie=a.children[ne],ye=ie.height;if(E<ye){a=ie;continue e}E-=ye,re+=ie.chunkSize()}return re}while(!a.lines);for(var Be=0;Be<a.lines.length;++Be){var Ke=a.lines[Be],ot=Ke.height;if(E<ot)break;E-=ot}return re+Be}function ut(a,E){return E>=a.first&&E<a.first+a.size}function Le(a,E){return String(a.lineNumberFormatter(E+a.firstLineNumber))}function He(a,E,re){if(re===void 0&&(re=null),!(this instanceof He))return new He(a,E,re);this.line=a,this.ch=E,this.sticky=re}function Vt(a,E){return a.line-E.line||a.ch-E.ch}function et(a,E){return a.sticky==E.sticky&&Vt(a,E)==0}function en(a){return He(a.line,a.ch)}function cn(a,E){return Vt(a,E)<0?E:a}function Xt(a,E){return Vt(a,E)<0?a:E}function an(a,E){return Math.max(a.first,Math.min(E,a.first+a.size-1))}function Kt(a,E){if(E.line<a.first)return He(a.first,0);var re=a.first+a.size-1;return E.line>re?He(re,jn(a,re).text.length):nn(E,jn(a,E.line).text.length)}function nn(a,E){var re=a.ch;return re==null||re>E?He(a.line,E):re<0?He(a.line,0):a}function rt(a,E){for(var re=[],ne=0;ne<E.length;ne++)re[ne]=Kt(a,E[ne]);return re}var Jn=function(a,E){this.state=a,this.lookAhead=E},Bt=function(a,E,re,ne){this.state=E,this.doc=a,this.line=re,this.maxLookAhead=ne||0,this.baseTokens=null,this.baseTokenPos=1};Bt.prototype.lookAhead=function(a){var E=this.doc.getLine(this.line+a);return E!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),E},Bt.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var E=this.baseTokens[this.baseTokenPos+1];return{type:E&&E.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Bt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Bt.fromSaved=function(a,E,re){return E instanceof Jn?new Bt(a,aa(a.mode,E.state),re,E.lookAhead):new Bt(a,aa(a.mode,E),re)},Bt.prototype.save=function(a){var E=a!==!1?aa(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Jn(E,this.maxLookAhead):E};function rr(a,E,re,ne){var ie=[a.state.modeGen],ye={};pr(a,E.text,a.doc.mode,re,function(xt,dn){return ie.push(xt,dn)},ye,ne);for(var Be=re.state,Ke=function(xt){re.baseTokens=ie;var dn=a.state.overlays[xt],yn=1,Wn=0;re.state=!0,pr(a,E.text,dn.mode,re,function(Un,Ir){for(var Fr=yn;Wn<Un;){var oe=ie[yn];oe>Un&&ie.splice(yn,1,Un,ie[yn+1],oe),yn+=2,Wn=Math.min(Un,oe)}if(Ir)if(dn.opaque)ie.splice(Fr,yn-Fr,Un,"overlay "+Ir),yn=Fr+2;else for(;Fr<yn;Fr+=2){var z=ie[Fr+1];ie[Fr+1]=(z?z+" ":"")+"overlay "+Ir}},ye),re.state=Be,re.baseTokens=null,re.baseTokenPos=1},ot=0;ot<a.state.overlays.length;++ot)Ke(ot);return{styles:ie,classes:ye.bgClass||ye.textClass?ye:null}}function Pr(a,E,re){if(!E.styles||E.styles[0]!=a.state.modeGen){var ne=Sn(a,ve(E)),ie=E.text.length>a.options.maxHighlightLength&&aa(a.doc.mode,ne.state),ye=rr(a,E,ne);ie&&(ne.state=ie),E.stateAfter=ne.save(!ie),E.styles=ye.styles,ye.classes?E.styleClasses=ye.classes:E.styleClasses&&(E.styleClasses=null),re===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return E.styles}function Sn(a,E,re){var ne=a.doc,ie=a.display;if(!ne.mode.startState)return new Bt(ne,!0,E);var ye=Zn(a,E,re),Be=ye>ne.first&&jn(ne,ye-1).stateAfter,Ke=Be?Bt.fromSaved(ne,Be,ye):new Bt(ne,pa(ne.mode),ye);return ne.iter(ye,E,function(ot){rn(a,ot.text,Ke);var xt=Ke.line;ot.stateAfter=xt==E-1||xt%5==0||xt>=ie.viewFrom&&xt<ie.viewTo?Ke.save():null,Ke.nextLine()}),re&&(ne.modeFrontier=Ke.line),Ke}function rn(a,E,re,ne){var ie=a.doc.mode,ye=new ea(E,a.options.tabSize,re);for(ye.start=ye.pos=ne||0,E==""&&Cn(ie,re.state);!ye.eol();)Pn(ie,ye,re.state),ye.start=ye.pos}function Cn(a,E){if(a.blankLine)return a.blankLine(E);if(a.innerMode){var re=Hr(a,E);if(re.mode.blankLine)return re.mode.blankLine(re.state)}}function Pn(a,E,re,ne){for(var ie=0;ie<10;ie++){ne&&(ne[0]=Hr(a,re).mode);var ye=a.token(E,re);if(E.pos>E.start)return ye}throw new Error("Mode "+a.name+" failed to advance stream.")}var zn=function(a,E,re){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=E||null,this.state=re};function tr(a,E,re,ne){var ie=a.doc,ye=ie.mode,Be;E=Kt(ie,E);var Ke=jn(ie,E.line),ot=Sn(a,E.line,re),xt=new ea(Ke.text,a.options.tabSize,ot),dn;for(ne&&(dn=[]);(ne||xt.pos<E.ch)&&!xt.eol();)xt.start=xt.pos,Be=Pn(ye,xt,ot.state),ne&&dn.push(new zn(xt,Be,aa(ie.mode,ot.state)));return ne?dn:new zn(xt,Be,ot.state)}function wr(a,E){if(a)for(;;){var re=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!re)break;a=a.slice(0,re.index)+a.slice(re.index+re[0].length);var ne=re[1]?"bgClass":"textClass";E[ne]==null?E[ne]=re[2]:new RegExp("(?:^|\\s)"+re[2]+"(?:$|\\s)").test(E[ne])||(E[ne]+=" "+re[2])}return a}function pr(a,E,re,ne,ie,ye,Be){var Ke=re.flattenSpans;Ke==null&&(Ke=a.options.flattenSpans);var ot=0,xt=null,dn=new ea(E,a.options.tabSize,ne),yn,Wn=a.options.addModeClass&&[null];for(E==""&&wr(Cn(re,ne.state),ye);!dn.eol();){if(dn.pos>a.options.maxHighlightLength?(Ke=!1,Be&&rn(a,E,ne,dn.pos),dn.pos=E.length,yn=null):yn=wr(Pn(re,dn,ne.state,Wn),ye),Wn){var Un=Wn[0].name;Un&&(yn="m-"+(yn?Un+" "+yn:Un))}if(!Ke||xt!=yn){for(;ot<dn.start;)ot=Math.min(dn.start,ot+5e3),ie(ot,xt);xt=yn}dn.start=dn.pos}for(;ot<dn.pos;){var Ir=Math.min(dn.pos,ot+5e3);ie(Ir,xt),ot=Ir}}function Zn(a,E,re){for(var ne,ie,ye=a.doc,Be=re?-1:E-(a.doc.mode.innerMode?1e3:100),Ke=E;Ke>Be;--Ke){if(Ke<=ye.first)return ye.first;var ot=jn(ye,Ke-1),xt=ot.stateAfter;if(xt&&(!re||Ke+(xt instanceof Jn?xt.lookAhead:0)<=ye.modeFrontier))return Ke;var dn=Tt(ot.text,null,a.options.tabSize);(ie==null||ne>dn)&&(ie=Ke-1,ne=dn)}return ie}function Kn(a,E){if(a.modeFrontier=Math.min(a.modeFrontier,E),!(a.highlightFrontier<E-10)){for(var re=a.first,ne=E-1;ne>re;ne--){var ie=jn(a,ne).stateAfter;if(ie&&(!(ie instanceof Jn)||ne+ie.lookAhead<E)){re=ne+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,re)}}var gr=!1,dr=!1;function Yr(){gr=!0}function Wr(){dr=!0}function Zr(a,E,re){this.marker=a,this.from=E,this.to=re}function Qr(a,E){if(a)for(var re=0;re<a.length;++re){var ne=a[re];if(ne.marker==E)return ne}}function ca(a,E){for(var re,ne=0;ne<a.length;++ne)a[ne]!=E&&(re||(re=[])).push(a[ne]);return re}function Xr(a,E){a.markedSpans=a.markedSpans?a.markedSpans.concat([E]):[E],E.marker.attachLine(a)}function la(a,E,re){var ne;if(a)for(var ie=0;ie<a.length;++ie){var ye=a[ie],Be=ye.marker,Ke=ye.from==null||(Be.inclusiveLeft?ye.from<=E:ye.from<E);if(Ke||ye.from==E&&Be.type=="bookmark"&&(!re||!ye.marker.insertLeft)){var ot=ye.to==null||(Be.inclusiveRight?ye.to>=E:ye.to>E);(ne||(ne=[])).push(new Zr(Be,ye.from,ot?null:ye.to))}}return ne}function _r(a,E,re){var ne;if(a)for(var ie=0;ie<a.length;++ie){var ye=a[ie],Be=ye.marker,Ke=ye.to==null||(Be.inclusiveRight?ye.to>=E:ye.to>E);if(Ke||ye.from==E&&Be.type=="bookmark"&&(!re||ye.marker.insertLeft)){var ot=ye.from==null||(Be.inclusiveLeft?ye.from<=E:ye.from<E);(ne||(ne=[])).push(new Zr(Be,ot?null:ye.from-E,ye.to==null?null:ye.to-E))}}return ne}function oa(a,E){if(E.full)return null;var re=ut(a,E.from.line)&&jn(a,E.from.line).markedSpans,ne=ut(a,E.to.line)&&jn(a,E.to.line).markedSpans;if(!re&&!ne)return null;var ie=E.from.ch,ye=E.to.ch,Be=Vt(E.from,E.to)==0,Ke=la(re,ie,Be),ot=_r(ne,ye,Be),xt=E.text.length==1,dn=Ht(E.text).length+(xt?ie:0);if(Ke)for(var yn=0;yn<Ke.length;++yn){var Wn=Ke[yn];if(Wn.to==null){var Un=Qr(ot,Wn.marker);Un?xt&&(Wn.to=Un.to==null?null:Un.to+dn):Wn.to=ie}}if(ot)for(var Ir=0;Ir<ot.length;++Ir){var Fr=ot[Ir];if(Fr.to!=null&&(Fr.to+=dn),Fr.from==null){var oe=Qr(Ke,Fr.marker);oe||(Fr.from=dn,xt&&(Ke||(Ke=[])).push(Fr))}else Fr.from+=dn,xt&&(Ke||(Ke=[])).push(Fr)}Ke&&(Ke=_t(Ke)),ot&&ot!=Ke&&(ot=_t(ot));var z=[Ke];if(!xt){var te=E.text.length-2,ue;if(te>0&&Ke)for(var Ee=0;Ee<Ke.length;++Ee)Ke[Ee].to==null&&(ue||(ue=[])).push(new Zr(Ke[Ee].marker,null,null));for(var Me=0;Me<te;++Me)z.push(ue);z.push(ot)}return z}function _t(a){for(var E=0;E<a.length;++E){var re=a[E];re.from!=null&&re.from==re.to&&re.marker.clearWhenEmpty!==!1&&a.splice(E--,1)}return a.length?a:null}function Ea(a,E,re){var ne=null;if(a.iter(E.line,re.line+1,function(Un){if(Un.markedSpans)for(var Ir=0;Ir<Un.markedSpans.length;++Ir){var Fr=Un.markedSpans[Ir].marker;Fr.readOnly&&(!ne||Se(ne,Fr)==-1)&&(ne||(ne=[])).push(Fr)}}),!ne)return null;for(var ie=[{from:E,to:re}],ye=0;ye<ne.length;++ye)for(var Be=ne[ye],Ke=Be.find(0),ot=0;ot<ie.length;++ot){var xt=ie[ot];if(!(Vt(xt.to,Ke.from)<0||Vt(xt.from,Ke.to)>0)){var dn=[ot,1],yn=Vt(xt.from,Ke.from),Wn=Vt(xt.to,Ke.to);(yn<0||!Be.inclusiveLeft&&!yn)&&dn.push({from:xt.from,to:Ke.from}),(Wn>0||!Be.inclusiveRight&&!Wn)&&dn.push({from:Ke.to,to:xt.to}),ie.splice.apply(ie,dn),ot+=dn.length-3}}return ie}function ia(a){var E=a.markedSpans;if(E){for(var re=0;re<E.length;++re)E[re].marker.detachLine(a);a.markedSpans=null}}function ra(a,E){if(E){for(var re=0;re<E.length;++re)E[re].marker.attachLine(a);a.markedSpans=E}}function fa(a){return a.inclusiveLeft?-1:0}function ha(a){return a.inclusiveRight?1:0}function Br(a,E){var re=a.lines.length-E.lines.length;if(re!=0)return re;var ne=a.find(),ie=E.find(),ye=Vt(ne.from,ie.from)||fa(a)-fa(E);if(ye)return-ye;var Be=Vt(ne.to,ie.to)||ha(a)-ha(E);return Be||E.id-a.id}function Gn(a,E){var re=dr&&a.markedSpans,ne;if(re)for(var ie=void 0,ye=0;ye<re.length;++ye)ie=re[ye],ie.marker.collapsed&&(E?ie.from:ie.to)==null&&(!ne||Br(ne,ie.marker)<0)&&(ne=ie.marker);return ne}function Vr(a){return Gn(a,!0)}function qn(a){return Gn(a,!1)}function hr(a,E){var re=dr&&a.markedSpans,ne;if(re)for(var ie=0;ie<re.length;++ie){var ye=re[ie];ye.marker.collapsed&&(ye.from==null||ye.from<E)&&(ye.to==null||ye.to>E)&&(!ne||Br(ne,ye.marker)<0)&&(ne=ye.marker)}return ne}function or(a,E,re,ne,ie){var ye=jn(a,E),Be=dr&&ye.markedSpans;if(Be)for(var Ke=0;Ke<Be.length;++Ke){var ot=Be[Ke];if(ot.marker.collapsed){var xt=ot.marker.find(0),dn=Vt(xt.from,re)||fa(ot.marker)-fa(ie),yn=Vt(xt.to,ne)||ha(ot.marker)-ha(ie);if(!(dn>=0&&yn<=0||dn<=0&&yn>=0)&&(dn<=0&&(ot.marker.inclusiveRight&&ie.inclusiveLeft?Vt(xt.to,re)>=0:Vt(xt.to,re)>0)||dn>=0&&(ot.marker.inclusiveRight&&ie.inclusiveLeft?Vt(xt.from,ne)<=0:Vt(xt.from,ne)<0)))return!0}}}function er(a){for(var E;E=Vr(a);)a=E.find(-1,!0).line;return a}function Dr(a){for(var E;E=qn(a);)a=E.find(1,!0).line;return a}function Ar(a){for(var E,re;E=qn(a);)a=E.find(1,!0).line,(re||(re=[])).push(a);return re}function ur(a,E){var re=jn(a,E),ne=er(re);return re==ne?E:ve(ne)}function nr(a,E){if(E>a.lastLine())return E;var re=jn(a,E),ne;if(!xr(a,re))return E;for(;ne=qn(re);)re=ne.find(1,!0).line;return ve(re)+1}function xr(a,E){var re=dr&&E.markedSpans;if(re){for(var ne=void 0,ie=0;ie<re.length;++ie)if(ne=re[ie],!!ne.marker.collapsed){if(ne.from==null)return!0;if(!ne.marker.widgetNode&&ne.from==0&&ne.marker.inclusiveLeft&&Or(a,E,ne))return!0}}}function Or(a,E,re){if(re.to==null){var ne=re.marker.find(1,!0);return Or(a,ne.line,Qr(ne.line.markedSpans,re.marker))}if(re.marker.inclusiveRight&&re.to==E.text.length)return!0;for(var ie=void 0,ye=0;ye<E.markedSpans.length;++ye)if(ie=E.markedSpans[ye],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==re.to&&(ie.to==null||ie.to!=re.from)&&(ie.marker.inclusiveLeft||re.marker.inclusiveRight)&&Or(a,E,ie))return!0}function ba(a){a=er(a);for(var E=0,re=a.parent,ne=0;ne<re.lines.length;++ne){var ie=re.lines[ne];if(ie==a)break;E+=ie.height}for(var ye=re.parent;ye;re=ye,ye=re.parent)for(var Be=0;Be<ye.children.length;++Be){var Ke=ye.children[Be];if(Ke==re)break;E+=Ke.height}return E}function da(a){if(a.height==0)return 0;for(var E=a.text.length,re,ne=a;re=Vr(ne);){var ie=re.find(0,!0);ne=ie.from.line,E+=ie.from.ch-ie.to.ch}for(ne=a;re=qn(ne);){var ye=re.find(0,!0);E-=ne.text.length-ye.from.ch,ne=ye.to.line,E+=ne.text.length-ye.to.ch}return E}function ya(a){var E=a.display,re=a.doc;E.maxLine=jn(re,re.first),E.maxLineLength=da(E.maxLine),E.maxLineChanged=!0,re.iter(function(ne){var ie=da(ne);ie>E.maxLineLength&&(E.maxLineLength=ie,E.maxLine=ne)})}var Ma=function(a,E,re){this.text=a,ra(this,E),this.height=re?re(this):1};Ma.prototype.lineNo=function(){return ve(this)},kt(Ma);function _a(a,E,re,ne){a.text=E,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),ia(a),ra(a,re);var ie=ne?ne(a):1;ie!=a.height&&zr(a,ie)}function Na(a){a.parent=null,ia(a)}var Ha={},Da={};function ja(a,E){if(!a||/^\s*$/.test(a))return null;var re=E.addModeClass?Da:Ha;return re[a]||(re[a]=a.replace(/\S+/g,"cm-$&"))}function Gr(a,E){var re=vt("span",null,null,we?"padding-right: .1px":null),ne={pre:vt("pre",[re],"CodeMirror-line"),content:re,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};E.measure={};for(var ie=0;ie<=(E.rest?E.rest.length:0);ie++){var ye=ie?E.rest[ie-1]:E.line,Be=void 0;ne.pos=0,ne.addToken=wi,yr(a.display.measure)&&(Be=pn(ye,a.doc.direction))&&(ne.addToken=li(ne.addToken,Be)),ne.map=[];var Ke=E!=a.display.externalMeasured&&ve(ye);Ua(ye,ne,Pr(a,ye,Ke)),ye.styleClasses&&(ye.styleClasses.bgClass&&(ne.bgClass=Jt(ye.styleClasses.bgClass,ne.bgClass||"")),ye.styleClasses.textClass&&(ne.textClass=Jt(ye.styleClasses.textClass,ne.textClass||""))),ne.map.length==0&&ne.map.push(0,0,ne.content.appendChild(mn(a.display.measure))),ie==0?(E.measure.map=ne.map,E.measure.cache={}):((E.measure.maps||(E.measure.maps=[])).push(ne.map),(E.measure.caches||(E.measure.caches=[])).push({}))}if(we){var ot=ne.content.lastChild;(/\bcm-tab\b/.test(ot.className)||ot.querySelector&&ot.querySelector(".cm-tab"))&&(ne.content.className="cm-tab-wrap-hack")}return wn(a,"renderLine",a,E.line,ne.pre),ne.pre.className&&(ne.textClass=Jt(ne.pre.className,ne.textClass||"")),ne}function bi(a){var E=Nt("span","\u2022","cm-invalidchar");return E.title="\\u"+a.charCodeAt(0).toString(16),E.setAttribute("aria-label",E.title),E}function wi(a,E,re,ne,ie,ye,Be){if(E){var Ke=a.splitSpaces?Pa(E,a.trailingSpace):E,ot=a.cm.state.specialChars,xt=!1,dn;if(!ot.test(E))a.col+=E.length,dn=document.createTextNode(Ke),a.map.push(a.pos,a.pos+E.length,dn),be&&fe<9&&(xt=!0),a.pos+=E.length;else{dn=document.createDocumentFragment();for(var yn=0;;){ot.lastIndex=yn;var Wn=ot.exec(E),Un=Wn?Wn.index-yn:E.length-yn;if(Un){var Ir=document.createTextNode(Ke.slice(yn,yn+Un));be&&fe<9?dn.appendChild(Nt("span",[Ir])):dn.appendChild(Ir),a.map.push(a.pos,a.pos+Un,Ir),a.col+=Un,a.pos+=Un}if(!Wn)break;yn+=Un+1;var Fr=void 0;if(Wn[0]==" "){var oe=a.cm.options.tabSize,z=oe-a.col%oe;Fr=dn.appendChild(Nt("span",En(z),"cm-tab")),Fr.setAttribute("role","presentation"),Fr.setAttribute("cm-text"," "),a.col+=z}else Wn[0]=="\r"||Wn[0]==`
|
|
|
`?(Fr=dn.appendChild(Nt("span",Wn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Fr.setAttribute("cm-text",Wn[0]),a.col+=1):(Fr=a.cm.options.specialCharPlaceholder(Wn[0]),Fr.setAttribute("cm-text",Wn[0]),be&&fe<9?dn.appendChild(Nt("span",[Fr])):dn.appendChild(Fr),a.col+=1);a.map.push(a.pos,a.pos+1,Fr),a.pos++}}if(a.trailingSpace=Ke.charCodeAt(E.length-1)==32,re||ne||ie||xt||ye||Be){var te=re||"";ne&&(te+=ne),ie&&(te+=ie);var ue=Nt("span",[dn],te,ye);if(Be)for(var Ee in Be)Be.hasOwnProperty(Ee)&&Ee!="style"&&Ee!="class"&&ue.setAttribute(Ee,Be[Ee]);return a.content.appendChild(ue)}a.content.appendChild(dn)}}function Pa(a,E){if(a.length>1&&!/ /.test(a))return a;for(var re=E,ne="",ie=0;ie<a.length;ie++){var ye=a.charAt(ie);ye==" "&&re&&(ie==a.length-1||a.charCodeAt(ie+1)==32)&&(ye="\xA0"),ne+=ye,re=ye==" "}return ne}function li(a,E){return function(re,ne,ie,ye,Be,Ke,ot){ie=ie?ie+" cm-force-border":"cm-force-border";for(var xt=re.pos,dn=xt+ne.length;;){for(var yn=void 0,Wn=0;Wn<E.length&&(yn=E[Wn],!(yn.to>xt&&yn.from<=xt));Wn++);if(yn.to>=dn)return a(re,ne,ie,ye,Be,Ke,ot);a(re,ne.slice(0,yn.to-xt),ie,ye,null,Ke,ot),ye=null,ne=ne.slice(yn.to-xt),xt=yn.to}}}function fi(a,E,re,ne){var ie=!ne&&re.widgetNode;ie&&a.map.push(a.pos,a.pos+E,ie),!ne&&a.cm.display.input.needsContentAttribute&&(ie||(ie=a.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",re.id)),ie&&(a.cm.display.input.setUneditable(ie),a.content.appendChild(ie)),a.pos+=E,a.trailingSpace=!1}function Ua(a,E,re){var ne=a.markedSpans,ie=a.text,ye=0;if(!ne){for(var Be=1;Be<re.length;Be+=2)E.addToken(E,ie.slice(ye,ye=re[Be]),ja(re[Be+1],E.cm.options));return}for(var Ke=ie.length,ot=0,xt=1,dn="",yn,Wn,Un=0,Ir,Fr,oe,z,te;;){if(Un==ot){Ir=Fr=oe=Wn="",te=null,z=null,Un=1/0;for(var ue=[],Ee=void 0,Me=0;Me<ne.length;++Me){var Xe=ne[Me],lt=Xe.marker;if(lt.type=="bookmark"&&Xe.from==ot&<.widgetNode)ue.push(lt);else if(Xe.from<=ot&&(Xe.to==null||Xe.to>ot||lt.collapsed&&Xe.to==ot&&Xe.from==ot)){if(Xe.to!=null&&Xe.to!=ot&&Un>Xe.to&&(Un=Xe.to,Fr=""),lt.className&&(Ir+=" "+lt.className),lt.css&&(Wn=(Wn?Wn+";":"")+lt.css),lt.startStyle&&Xe.from==ot&&(oe+=" "+lt.startStyle),lt.endStyle&&Xe.to==Un&&(Ee||(Ee=[])).push(lt.endStyle,Xe.to),lt.title&&((te||(te={})).title=lt.title),lt.attributes)for(var ht in lt.attributes)(te||(te={}))[ht]=lt.attributes[ht];lt.collapsed&&(!z||Br(z.marker,lt)<0)&&(z=Xe)}else Xe.from>ot&&Un>Xe.from&&(Un=Xe.from)}if(Ee)for(var zt=0;zt<Ee.length;zt+=2)Ee[zt+1]==Un&&(Fr+=" "+Ee[zt]);if(!z||z.from==ot)for(var sn=0;sn<ue.length;++sn)fi(E,0,ue[sn]);if(z&&(z.from||0)==ot){if(fi(E,(z.to==null?Ke+1:z.to)-ot,z.marker,z.from==null),z.to==null)return;z.to==ot&&(z=!1)}}if(ot>=Ke)break;for(var An=Math.min(Ke,Un);;){if(dn){var Fn=ot+dn.length;if(!z){var Hn=Fn>An?dn.slice(0,An-ot):dn;E.addToken(E,Hn,yn?yn+Ir:Ir,oe,ot+Hn.length==Un?Fr:"",Wn,te)}if(Fn>=An){dn=dn.slice(An-ot),ot=An;break}ot=Fn,oe=""}dn=ie.slice(ye,ye=re[xt++]),yn=ja(re[xt++],E.cm.options)}}}function Ni(a,E,re){this.line=E,this.rest=Ar(E),this.size=this.rest?ve(Ht(this.rest))-re+1:1,this.node=this.text=null,this.hidden=xr(a,E)}function Va(a,E,re){for(var ne=[],ie,ye=E;ye<re;ye=ie){var Be=new Ni(a.doc,jn(a.doc,ye),ye);ie=ye+Be.size,ne.push(Be)}return ne}var Aa=null;function $a(a){Aa?Aa.ops.push(a):a.ownsGroup=Aa={ops:[a],delayedCallbacks:[]}}function Ja(a){var E=a.delayedCallbacks,re=0;do{for(;re<E.length;re++)E[re].call(null);for(var ne=0;ne<a.ops.length;ne++){var ie=a.ops[ne];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(re<E.length)}function Ba(a,E){var re=a.ownsGroup;if(re)try{Ja(re)}finally{Aa=null,E(re)}}var Xa=null;function ma(a,E){var re=Ln(a,E);if(re.length){var ne=Array.prototype.slice.call(arguments,2),ie;Aa?ie=Aa.delayedCallbacks:Xa?ie=Xa:(ie=Xa=[],setTimeout(xi,0));for(var ye=function(Ke){ie.push(function(){return re[Ke].apply(null,ne)})},Be=0;Be<re.length;++Be)ye(Be)}}function xi(){var a=Xa;Xa=null;for(var E=0;E<a.length;++E)a[E]()}function Bi(a,E,re,ne){for(var ie=0;ie<E.changes.length;ie++){var ye=E.changes[ie];ye=="text"?qi(a,E):ye=="gutter"?Ka(a,E,re,ne):ye=="class"?Ra(a,E):ye=="widget"&&Ca(a,E,ne)}E.changes=null}function Fi(a){return a.node==a.text&&(a.node=Nt("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),be&&fe<8&&(a.node.style.zIndex=2)),a.node}function Rr(a,E){var re=E.bgClass?E.bgClass+" "+(E.line.bgClass||""):E.line.bgClass;if(re&&(re+=" CodeMirror-linebackground"),E.background)re?E.background.className=re:(E.background.parentNode.removeChild(E.background),E.background=null);else if(re){var ne=Fi(E);E.background=ne.insertBefore(Nt("div",null,re),ne.firstChild),a.display.input.setUneditable(E.background)}}function Ti(a,E){var re=a.display.externalMeasured;return re&&re.line==E.line?(a.display.externalMeasured=null,E.measure=re.measure,re.built):Gr(a,E)}function qi(a,E){var re=E.text.className,ne=Ti(a,E);E.text==E.node&&(E.node=ne.pre),E.text.parentNode.replaceChild(ne.pre,E.text),E.text=ne.pre,ne.bgClass!=E.bgClass||ne.textClass!=E.textClass?(E.bgClass=ne.bgClass,E.textClass=ne.textClass,Ra(a,E)):re&&(E.text.className=re)}function Ra(a,E){Rr(a,E),E.line.wrapClass?Fi(E).className=E.line.wrapClass:E.node!=E.text&&(E.node.className="");var re=E.textClass?E.textClass+" "+(E.line.textClass||""):E.line.textClass;E.text.className=re||""}function Ka(a,E,re,ne){if(E.gutter&&(E.node.removeChild(E.gutter),E.gutter=null),E.gutterBackground&&(E.node.removeChild(E.gutterBackground),E.gutterBackground=null),E.line.gutterClass){var ie=Fi(E);E.gutterBackground=Nt("div",null,"CodeMirror-gutter-background "+E.line.gutterClass,"left: "+(a.options.fixedGutter?ne.fixedPos:-ne.gutterTotalWidth)+"px; width: "+ne.gutterTotalWidth+"px"),a.display.input.setUneditable(E.gutterBackground),ie.insertBefore(E.gutterBackground,E.text)}var ye=E.line.gutterMarkers;if(a.options.lineNumbers||ye){var Be=Fi(E),Ke=E.gutter=Nt("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?ne.fixedPos:-ne.gutterTotalWidth)+"px");if(a.display.input.setUneditable(Ke),Be.insertBefore(Ke,E.text),E.line.gutterClass&&(Ke.className+=" "+E.line.gutterClass),a.options.lineNumbers&&(!ye||!ye["CodeMirror-linenumbers"])&&(E.lineNumber=Ke.appendChild(Nt("div",Le(a.options,re),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+ne.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ye)for(var ot=0;ot<a.display.gutterSpecs.length;++ot){var xt=a.display.gutterSpecs[ot].className,dn=ye.hasOwnProperty(xt)&&ye[xt];dn&&Ke.appendChild(Nt("div",[dn],"CodeMirror-gutter-elt","left: "+ne.gutterLeft[xt]+"px; width: "+ne.gutterWidth[xt]+"px"))}}}function Ca(a,E,re){E.alignable&&(E.alignable=null);for(var ne=$e("CodeMirror-linewidget"),ie=E.node.firstChild,ye=void 0;ie;ie=ye)ye=ie.nextSibling,ne.test(ie.className)&&E.node.removeChild(ie);ri(a,E,re)}function za(a,E,re,ne){var ie=Ti(a,E);return E.text=E.node=ie.pre,ie.bgClass&&(E.bgClass=ie.bgClass),ie.textClass&&(E.textClass=ie.textClass),Ra(a,E),Ka(a,E,re,ne),ri(a,E,ne),E.node}function ri(a,E,re){if(ii(a,E.line,E,re,!0),E.rest)for(var ne=0;ne<E.rest.length;ne++)ii(a,E.rest[ne],E,re,!1)}function ii(a,E,re,ne,ie){if(E.widgets)for(var ye=Fi(re),Be=0,Ke=E.widgets;Be<Ke.length;++Be){var ot=Ke[Be],xt=Nt("div",[ot.node],"CodeMirror-linewidget"+(ot.className?" "+ot.className:""));ot.handleMouseEvents||xt.setAttribute("cm-ignore-events","true"),ci(ot,xt,re,ne),a.display.input.setUneditable(xt),ie&&ot.above?ye.insertBefore(xt,re.gutter||re.text):ye.appendChild(xt),ma(ot,"redraw")}}function ci(a,E,re,ne){if(a.noHScroll){(re.alignable||(re.alignable=[])).push(E);var ie=ne.wrapperWidth;E.style.left=ne.fixedPos+"px",a.coverGutter||(ie-=ne.gutterTotalWidth,E.style.paddingLeft=ne.gutterTotalWidth+"px"),E.style.width=ie+"px"}a.coverGutter&&(E.style.zIndex=5,E.style.position="relative",a.noHScroll||(E.style.marginLeft=-ne.gutterTotalWidth+"px"))}function ki(a){if(a.height!=null)return a.height;var E=a.doc.cm;if(!E)return 0;if(!It(document.body,a.node)){var re="position: relative;";a.coverGutter&&(re+="margin-left: -"+E.display.gutters.offsetWidth+"px;"),a.noHScroll&&(re+="width: "+E.display.wrapper.clientWidth+"px;"),it(E.display.measure,Nt("div",[a.node],null,re))}return a.height=a.node.parentNode.offsetHeight}function ti(a,E){for(var re=pt(E);re!=a.wrapper;re=re.parentNode)if(!re||re.nodeType==1&&re.getAttribute("cm-ignore-events")=="true"||re.parentNode==a.sizer&&re!=a.mover)return!0}function zi(a){return a.lineSpace.offsetTop}function yo(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function No(a){if(a.cachedPaddingH)return a.cachedPaddingH;var E=it(a.measure,Nt("pre","x","CodeMirror-line-like")),re=window.getComputedStyle?window.getComputedStyle(E):E.currentStyle,ne={left:parseInt(re.paddingLeft),right:parseInt(re.paddingRight)};return!isNaN(ne.left)&&!isNaN(ne.right)&&(a.cachedPaddingH=ne),ne}function so(a){return Qt-a.display.nativeBarWidth}function Ji(a){return a.display.scroller.clientWidth-so(a)-a.display.barWidth}function Uo(a){return a.display.scroller.clientHeight-so(a)-a.display.barHeight}function Co(a,E,re){var ne=a.options.lineWrapping,ie=ne&&Ji(a);if(!E.measure.heights||ne&&E.measure.width!=ie){var ye=E.measure.heights=[];if(ne){E.measure.width=ie;for(var Be=E.text.firstChild.getClientRects(),Ke=0;Ke<Be.length-1;Ke++){var ot=Be[Ke],xt=Be[Ke+1];Math.abs(ot.bottom-xt.bottom)>2&&ye.push((ot.bottom+xt.top)/2-re.top)}}ye.push(re.bottom-re.top)}}function Ts(a,E,re){if(a.line==E)return{map:a.measure.map,cache:a.measure.cache};for(var ne=0;ne<a.rest.length;ne++)if(a.rest[ne]==E)return{map:a.measure.maps[ne],cache:a.measure.caches[ne]};for(var ie=0;ie<a.rest.length;ie++)if(ve(a.rest[ie])>re)return{map:a.measure.maps[ie],cache:a.measure.caches[ie],before:!0}}function dl(a,E){E=er(E);var re=ve(E),ne=a.display.externalMeasured=new Ni(a.doc,E,re);ne.lineN=re;var ie=ne.built=Gr(a,ne);return ne.text=ie.pre,it(a.display.lineMeasure,ie.pre),ne}function Js(a,E,re,ne){return wo(a,Hi(a,E),re,ne)}function mo(a,E){if(E>=a.display.viewFrom&&E<a.display.viewTo)return a.display.view[So(a,E)];var re=a.display.externalMeasured;if(re&&E>=re.lineN&&E<re.lineN+re.size)return re}function Hi(a,E){var re=ve(E),ne=mo(a,re);ne&&!ne.text?ne=null:ne&&ne.changes&&(Bi(a,ne,re,Xo(a)),a.curOp.forceUpdate=!0),ne||(ne=dl(a,E));var ie=Ts(ne,E,re);return{line:E,view:ne,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function wo(a,E,re,ne,ie){E.before&&(re=-1);var ye=re+(ne||""),Be;return E.cache.hasOwnProperty(ye)?Be=E.cache[ye]:(E.rect||(E.rect=E.view.text.getBoundingClientRect()),E.hasHeights||(Co(a,E.view,E.rect),E.hasHeights=!0),Be=hs(a,E,re,ne),Be.bogus||(E.cache[ye]=Be)),{left:Be.left,right:Be.right,top:ie?Be.rtop:Be.top,bottom:ie?Be.rbottom:Be.bottom}}var ps={left:0,right:0,top:0,bottom:0};function el(a,E,re){for(var ne,ie,ye,Be,Ke,ot,xt=0;xt<a.length;xt+=3)if(Ke=a[xt],ot=a[xt+1],E<Ke?(ie=0,ye=1,Be="left"):E<ot?(ie=E-Ke,ye=ie+1):(xt==a.length-3||E==ot&&a[xt+3]>E)&&(ye=ot-Ke,ie=ye-1,E>=ot&&(Be="right")),ie!=null){if(ne=a[xt+2],Ke==ot&&re==(ne.insertLeft?"left":"right")&&(Be=re),re=="left"&&ie==0)for(;xt&&a[xt-2]==a[xt-3]&&a[xt-1].insertLeft;)ne=a[(xt-=3)+2],Be="left";if(re=="right"&&ie==ot-Ke)for(;xt<a.length-3&&a[xt+3]==a[xt+4]&&!a[xt+5].insertLeft;)ne=a[(xt+=3)+2],Be="right";break}return{node:ne,start:ie,end:ye,collapse:Be,coverStart:Ke,coverEnd:ot}}function ai(a,E){var re=ps;if(E=="left")for(var ne=0;ne<a.length&&(re=a[ne]).left==re.right;ne++);else for(var ie=a.length-1;ie>=0&&(re=a[ie]).left==re.right;ie--);return re}function hs(a,E,re,ne){var ie=el(E.map,re,ne),ye=ie.node,Be=ie.start,Ke=ie.end,ot=ie.collapse,xt;if(ye.nodeType==3){for(var dn=0;dn<4;dn++){for(;Be&&ct(E.line.text.charAt(ie.coverStart+Be));)--Be;for(;ie.coverStart+Ke<ie.coverEnd&&ct(E.line.text.charAt(ie.coverStart+Ke));)++Ke;if(be&&fe<9&&Be==0&&Ke==ie.coverEnd-ie.coverStart?xt=ye.parentNode.getBoundingClientRect():xt=ai(dt(ye,Be,Ke).getClientRects(),ne),xt.left||xt.right||Be==0)break;Ke=Be,Be=Be-1,ot="right"}be&&fe<11&&(xt=As(a.display.measure,xt))}else{Be>0&&(ot=ne="right");var yn;a.options.lineWrapping&&(yn=ye.getClientRects()).length>1?xt=yn[ne=="right"?yn.length-1:0]:xt=ye.getBoundingClientRect()}if(be&&fe<9&&!Be&&(!xt||!xt.left&&!xt.right)){var Wn=ye.parentNode.getClientRects()[0];Wn?xt={left:Wn.left,right:Wn.left+Eo(a.display),top:Wn.top,bottom:Wn.bottom}:xt=ps}for(var Un=xt.top-E.rect.top,Ir=xt.bottom-E.rect.top,Fr=(Un+Ir)/2,oe=E.view.measure.heights,z=0;z<oe.length-1&&!(Fr<oe[z]);z++);var te=z?oe[z-1]:0,ue=oe[z],Ee={left:(ot=="right"?xt.right:xt.left)-E.rect.left,right:(ot=="left"?xt.left:xt.right)-E.rect.left,top:te,bottom:ue};return!xt.left&&!xt.right&&(Ee.bogus=!0),a.options.singleCursorHeightPerLine||(Ee.rtop=Un,Ee.rbottom=Ir),Ee}function As(a,E){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!lr(a))return E;var re=screen.logicalXDPI/screen.deviceXDPI,ne=screen.logicalYDPI/screen.deviceYDPI;return{left:E.left*re,right:E.right*re,top:E.top*ne,bottom:E.bottom*ne}}function ns(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var E=0;E<a.rest.length;E++)a.measure.caches[E]={}}function Is(a){a.display.externalMeasure=null,bt(a.display.lineMeasure);for(var E=0;E<a.display.view.length;E++)ns(a.display.view[E])}function ms(a){Is(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function rs(){return Re&&tt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ns(){return Re&&tt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Yo(a){var E=0;if(a.widgets)for(var re=0;re<a.widgets.length;++re)a.widgets[re].above&&(E+=ki(a.widgets[re]));return E}function zo(a,E,re,ne,ie){if(!ie){var ye=Yo(E);re.top+=ye,re.bottom+=ye}if(ne=="line")return re;ne||(ne="local");var Be=ba(E);if(ne=="local"?Be+=zi(a.display):Be-=a.display.viewOffset,ne=="page"||ne=="window"){var Ke=a.display.lineSpace.getBoundingClientRect();Be+=Ke.top+(ne=="window"?0:Ns());var ot=Ke.left+(ne=="window"?0:rs());re.left+=ot,re.right+=ot}return re.top+=Be,re.bottom+=Be,re}function tl(a,E,re){if(re=="div")return E;var ne=E.left,ie=E.top;if(re=="page")ne-=rs(),ie-=Ns();else if(re=="local"||!re){var ye=a.display.sizer.getBoundingClientRect();ne+=ye.left,ie+=ye.top}var Be=a.display.lineSpace.getBoundingClientRect();return{left:ne-Be.left,top:ie-Be.top}}function as(a,E,re,ne,ie){return ne||(ne=jn(a.doc,E.line)),zo(a,ne,Js(a,ne,E.ch,ie),re)}function Xi(a,E,re,ne,ie,ye){ne=ne||jn(a.doc,E.line),ie||(ie=Hi(a,ne));function Be(Ir,Fr){var oe=wo(a,ie,Ir,Fr?"right":"left",ye);return Fr?oe.left=oe.right:oe.right=oe.left,zo(a,ne,oe,re)}var Ke=pn(ne,a.doc.direction),ot=E.ch,xt=E.sticky;if(ot>=ne.text.length?(ot=ne.text.length,xt="before"):ot<=0&&(ot=0,xt="after"),!Ke)return Be(xt=="before"?ot-1:ot,xt=="before");function dn(Ir,Fr,oe){var z=Ke[Fr],te=z.level==1;return Be(oe?Ir-1:Ir,te!=oe)}var yn=Pt(Ke,ot,xt),Wn=Dt,Un=dn(ot,yn,xt=="before");return Wn!=null&&(Un.other=dn(ot,Wn,xt!="before")),Un}function mi(a,E){var re=0;E=Kt(a.doc,E),a.options.lineWrapping||(re=Eo(a.display)*E.ch);var ne=jn(a.doc,E.line),ie=ba(ne)+zi(a.display);return{left:re,right:re,top:ie,bottom:ie+ne.height}}function ei(a,E,re,ne,ie){var ye=He(a,E,re);return ye.xRel=ie,ne&&(ye.outside=ne),ye}function eo(a,E,re){var ne=a.doc;if(re+=a.display.viewOffset,re<0)return ei(ne.first,0,null,-1,-1);var ie=Ie(ne,re),ye=ne.first+ne.size-1;if(ie>ye)return ei(ne.first+ne.size-1,jn(ne,ye).text.length,null,1,1);E<0&&(E=0);for(var Be=jn(ne,ie);;){var Ke=vo(a,Be,ie,E,re),ot=hr(Be,Ke.ch+(Ke.xRel>0||Ke.outside>0?1:0));if(!ot)return Ke;var xt=ot.find(1);if(xt.line==ie)return xt;Be=jn(ne,ie=xt.line)}}function to(a,E,re,ne){ne-=Yo(E);var ie=E.text.length,ye=gt(function(Be){return wo(a,re,Be-1).bottom<=ne},ie,0);return ie=gt(function(Be){return wo(a,re,Be).top>ne},ye,ie),{begin:ye,end:ie}}function ji(a,E,re,ne){re||(re=Hi(a,E));var ie=zo(a,E,wo(a,re,ne),"line").top;return to(a,E,re,ie)}function _i(a,E,re,ne){return a.bottom<=re?!1:a.top>re?!0:(ne?a.left:a.right)>E}function vo(a,E,re,ne,ie){ie-=ba(E);var ye=Hi(a,E),Be=Yo(E),Ke=0,ot=E.text.length,xt=!0,dn=pn(E,a.doc.direction);if(dn){var yn=(a.options.lineWrapping?go:To)(a,E,re,ye,dn,ne,ie);xt=yn.level!=1,Ke=xt?yn.from:yn.to-1,ot=xt?yn.to:yn.from-1}var Wn=null,Un=null,Ir=gt(function(Me){var Xe=wo(a,ye,Me);return Xe.top+=Be,Xe.bottom+=Be,_i(Xe,ne,ie,!1)?(Xe.top<=ie&&Xe.left<=ne&&(Wn=Me,Un=Xe),!0):!1},Ke,ot),Fr,oe,z=!1;if(Un){var te=ne-Un.left<Un.right-ne,ue=te==xt;Ir=Wn+(ue?0:1),oe=ue?"after":"before",Fr=te?Un.left:Un.right}else{!xt&&(Ir==ot||Ir==Ke)&&Ir++,oe=Ir==0?"after":Ir==E.text.length?"before":wo(a,ye,Ir-(xt?1:0)).bottom+Be<=ie==xt?"after":"before";var Ee=Xi(a,He(re,Ir,oe),"line",E,ye);Fr=Ee.left,z=ie<Ee.top?-1:ie>=Ee.bottom?1:0}return Ir=$t(E.text,Ir,1),ei(re,Ir,oe,z,ne-Fr)}function To(a,E,re,ne,ie,ye,Be){var Ke=gt(function(yn){var Wn=ie[yn],Un=Wn.level!=1;return _i(Xi(a,He(re,Un?Wn.to:Wn.from,Un?"before":"after"),"line",E,ne),ye,Be,!0)},0,ie.length-1),ot=ie[Ke];if(Ke>0){var xt=ot.level!=1,dn=Xi(a,He(re,xt?ot.from:ot.to,xt?"after":"before"),"line",E,ne);_i(dn,ye,Be,!0)&&dn.top>Be&&(ot=ie[Ke-1])}return ot}function go(a,E,re,ne,ie,ye,Be){var Ke=to(a,E,ne,Be),ot=Ke.begin,xt=Ke.end;/\s/.test(E.text.charAt(xt-1))&&xt--;for(var dn=null,yn=null,Wn=0;Wn<ie.length;Wn++){var Un=ie[Wn];if(!(Un.from>=xt||Un.to<=ot)){var Ir=Un.level!=1,Fr=wo(a,ne,Ir?Math.min(xt,Un.to)-1:Math.max(ot,Un.from)).right,oe=Fr<ye?ye-Fr+1e9:Fr-ye;(!dn||yn>oe)&&(dn=Un,yn=oe)}}return dn||(dn=ie[ie.length-1]),dn.from<ot&&(dn={from:ot,to:dn.to,level:dn.level}),dn.to>xt&&(dn={from:dn.from,to:xt,level:dn.level}),dn}var Wi;function $i(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Wi==null){Wi=Nt("pre",null,"CodeMirror-line-like");for(var E=0;E<49;++E)Wi.appendChild(document.createTextNode("x")),Wi.appendChild(Nt("br"));Wi.appendChild(document.createTextNode("x"))}it(a.measure,Wi);var re=Wi.offsetHeight/50;return re>3&&(a.cachedTextHeight=re),bt(a.measure),re||1}function Eo(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var E=Nt("span","xxxxxxxxxx"),re=Nt("pre",[E],"CodeMirror-line-like");it(a.measure,re);var ne=E.getBoundingClientRect(),ie=(ne.right-ne.left)/10;return ie>2&&(a.cachedCharWidth=ie),ie||10}function Xo(a){for(var E=a.display,re={},ne={},ie=E.gutters.clientLeft,ye=E.gutters.firstChild,Be=0;ye;ye=ye.nextSibling,++Be){var Ke=a.display.gutterSpecs[Be].className;re[Ke]=ye.offsetLeft+ye.clientLeft+ie,ne[Ke]=ye.clientWidth}return{fixedPos:is(E),gutterTotalWidth:E.gutters.offsetWidth,gutterLeft:re,gutterWidth:ne,wrapperWidth:E.wrapper.clientWidth}}function is(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Fs(a){var E=$i(a.display),re=a.options.lineWrapping,ne=re&&Math.max(5,a.display.scroller.clientWidth/Eo(a.display)-3);return function(ie){if(xr(a.doc,ie))return 0;var ye=0;if(ie.widgets)for(var Be=0;Be<ie.widgets.length;Be++)ie.widgets[Be].height&&(ye+=ie.widgets[Be].height);return re?ye+(Math.ceil(ie.text.length/ne)||1)*E:ye+E}}function _s(a){var E=a.doc,re=Fs(a);E.iter(function(ne){var ie=re(ne);ie!=ne.height&&zr(ne,ie)})}function Ho(a,E,re,ne){var ie=a.display;if(!re&&pt(E).getAttribute("cm-not-content")=="true")return null;var ye,Be,Ke=ie.lineSpace.getBoundingClientRect();try{ye=E.clientX-Ke.left,Be=E.clientY-Ke.top}catch(yn){return null}var ot=eo(a,ye,Be),xt;if(ne&&ot.xRel>0&&(xt=jn(a.doc,ot.line).text).length==ot.ch){var dn=Tt(xt,xt.length,a.options.tabSize)-xt.length;ot=He(ot.line,Math.max(0,Math.round((ye-No(a.display).left)/Eo(a.display))-dn))}return ot}function So(a,E){if(E>=a.display.viewTo||(E-=a.display.viewFrom,E<0))return null;for(var re=a.display.view,ne=0;ne<re.length;ne++)if(E-=re[ne].size,E<0)return ne}function Ki(a,E,re,ne){E==null&&(E=a.doc.first),re==null&&(re=a.doc.first+a.doc.size),ne||(ne=0);var ie=a.display;if(ne&&re<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>E)&&(ie.updateLineNumbers=E),a.curOp.viewChanged=!0,E>=ie.viewTo)dr&&ur(a.doc,E)<ie.viewTo&&Oo(a);else if(re<=ie.viewFrom)dr&&nr(a.doc,re+ne)>ie.viewFrom?Oo(a):(ie.viewFrom+=ne,ie.viewTo+=ne);else if(E<=ie.viewFrom&&re>=ie.viewTo)Oo(a);else if(E<=ie.viewFrom){var ye=lo(a,re,re+ne,1);ye?(ie.view=ie.view.slice(ye.index),ie.viewFrom=ye.lineN,ie.viewTo+=ne):Oo(a)}else if(re>=ie.viewTo){var Be=lo(a,E,E,-1);Be?(ie.view=ie.view.slice(0,Be.index),ie.viewTo=Be.lineN):Oo(a)}else{var Ke=lo(a,E,E,-1),ot=lo(a,re,re+ne,1);Ke&&ot?(ie.view=ie.view.slice(0,Ke.index).concat(Va(a,Ke.lineN,ot.lineN)).concat(ie.view.slice(ot.index)),ie.viewTo+=ne):Oo(a)}var xt=ie.externalMeasured;xt&&(re<xt.lineN?xt.lineN+=ne:E<xt.lineN+xt.size&&(ie.externalMeasured=null))}function Ro(a,E,re){a.curOp.viewChanged=!0;var ne=a.display,ie=a.display.externalMeasured;if(ie&&E>=ie.lineN&&E<ie.lineN+ie.size&&(ne.externalMeasured=null),!(E<ne.viewFrom||E>=ne.viewTo)){var ye=ne.view[So(a,E)];if(ye.node!=null){var Be=ye.changes||(ye.changes=[]);Se(Be,re)==-1&&Be.push(re)}}}function Oo(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function lo(a,E,re,ne){var ie=So(a,E),ye,Be=a.display.view;if(!dr||re==a.doc.first+a.doc.size)return{index:ie,lineN:re};for(var Ke=a.display.viewFrom,ot=0;ot<ie;ot++)Ke+=Be[ot].size;if(Ke!=E){if(ne>0){if(ie==Be.length-1)return null;ye=Ke+Be[ie].size-E,ie++}else ye=Ke-E;E+=ye,re+=ye}for(;ur(a.doc,re)!=re;){if(ie==(ne<0?0:Be.length-1))return null;re+=ne*Be[ie-(ne<0?1:0)].size,ie+=ne}return{index:ie,lineN:re}}function Rs(a,E,re){var ne=a.display,ie=ne.view;ie.length==0||E>=ne.viewTo||re<=ne.viewFrom?(ne.view=Va(a,E,re),ne.viewFrom=E):(ne.viewFrom>E?ne.view=Va(a,E,ne.viewFrom).concat(ne.view):ne.viewFrom<E&&(ne.view=ne.view.slice(So(a,E))),ne.viewFrom=E,ne.viewTo<re?ne.view=ne.view.concat(Va(a,ne.viewTo,re)):ne.viewTo>re&&(ne.view=ne.view.slice(0,So(a,re)))),ne.viewTo=re}function Us(a){for(var E=a.display.view,re=0,ne=0;ne<E.length;ne++){var ie=E[ne];!ie.hidden&&(!ie.node||ie.changes)&&++re}return re}function gs(a){a.display.input.showSelection(a.display.input.prepareSelection())}function kl(a,E){E===void 0&&(E=!0);for(var re=a.doc,ne={},ie=ne.cursors=document.createDocumentFragment(),ye=ne.selection=document.createDocumentFragment(),Be=0;Be<re.sel.ranges.length;Be++)if(!(!E&&Be==re.sel.primIndex)){var Ke=re.sel.ranges[Be];if(!(Ke.from().line>=a.display.viewTo||Ke.to().line<a.display.viewFrom)){var ot=Ke.empty();(ot||a.options.showCursorWhenSelecting)&&nl(a,Ke.head,ie),ot||Os(a,Ke,ye)}}return ne}function nl(a,E,re){var ne=Xi(a,E,"div",null,null,!a.options.singleCursorHeightPerLine),ie=re.appendChild(Nt("div","\xA0","CodeMirror-cursor"));if(ie.style.left=ne.left+"px",ie.style.top=ne.top+"px",ie.style.height=Math.max(0,ne.bottom-ne.top)*a.options.cursorHeight+"px",ne.other){var ye=re.appendChild(Nt("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ye.style.display="",ye.style.left=ne.other.left+"px",ye.style.top=ne.other.top+"px",ye.style.height=(ne.other.bottom-ne.other.top)*.85+"px"}}function zs(a,E){return a.top-E.top||a.left-E.left}function Os(a,E,re){var ne=a.display,ie=a.doc,ye=document.createDocumentFragment(),Be=No(a.display),Ke=Be.left,ot=Math.max(ne.sizerWidth,Ji(a)-ne.sizer.offsetLeft)-Be.right,xt=ie.direction=="ltr";function dn(ue,Ee,Me,Xe){Ee<0&&(Ee=0),Ee=Math.round(Ee),Xe=Math.round(Xe),ye.appendChild(Nt("div",null,"CodeMirror-selected","position: absolute; left: "+ue+`px;
|
|
|
top: `+Ee+"px; width: "+(Me==null?ot-ue:Me)+`px;
|
|
|
height: `+(Xe-Ee)+"px"))}function yn(ue,Ee,Me){var Xe=jn(ie,ue),lt=Xe.text.length,ht,zt;function sn(Hn,ir){return as(a,He(ue,Hn),"div",Xe,ir)}function An(Hn,ir,Xn){var Cr=ji(a,Xe,null,Hn),Tr=ir=="ltr"==(Xn=="after")?"left":"right",kr=Xn=="after"?Cr.begin:Cr.end-(/\s/.test(Xe.text.charAt(Cr.end-1))?2:1);return sn(kr,Tr)[Tr]}var Fn=pn(Xe,ie.direction);return yt(Fn,Ee||0,Me==null?lt:Me,function(Hn,ir,Xn,Cr){var Tr=Xn=="ltr",kr=sn(Hn,Tr?"left":"right"),jr=sn(ir-1,Tr?"right":"left"),qr=Ee==null&&Hn==0,Sa=Me==null&&ir==lt,na=Cr==0,Oa=!Fn||Cr==Fn.length-1;if(jr.top-kr.top<=3){var Fa=(xt?qr:Sa)&&na,Ga=(xt?Sa:qr)&&Oa,ka=Fa?Ke:(Tr?kr:jr).left,ni=Ga?ot:(Tr?jr:kr).right;dn(ka,kr.top,ni-ka,kr.bottom)}else{var Ya,Wa,mr,sa;Tr?(Ya=xt&&qr&&na?Ke:kr.left,Wa=xt?ot:An(Hn,Xn,"before"),mr=xt?Ke:An(ir,Xn,"after"),sa=xt&&Sa&&Oa?ot:jr.right):(Ya=xt?An(Hn,Xn,"before"):Ke,Wa=!xt&&qr&&na?ot:kr.right,mr=!xt&&Sa&&Oa?Ke:jr.left,sa=xt?An(ir,Xn,"after"):ot),dn(Ya,kr.top,Wa-Ya,kr.bottom),kr.bottom<jr.top&&dn(Ke,kr.bottom,null,jr.top),dn(mr,jr.top,sa-mr,jr.bottom)}(!ht||zs(kr,ht)<0)&&(ht=kr),zs(jr,ht)<0&&(ht=jr),(!zt||zs(kr,zt)<0)&&(zt=kr),zs(jr,zt)<0&&(zt=jr)}),{start:ht,end:zt}}var Wn=E.from(),Un=E.to();if(Wn.line==Un.line)yn(Wn.line,Wn.ch,Un.ch);else{var Ir=jn(ie,Wn.line),Fr=jn(ie,Un.line),oe=er(Ir)==er(Fr),z=yn(Wn.line,Wn.ch,oe?Ir.text.length+1:null).end,te=yn(Un.line,oe?0:null,Un.ch).start;oe&&(z.top<te.top-2?(dn(z.right,z.top,null,z.bottom),dn(Ke,te.top,te.left,te.bottom)):dn(z.right,z.top,te.left-z.right,z.bottom)),z.bottom<te.top&&dn(Ke,z.bottom,null,te.top)}re.appendChild(ye)}function vs(a){if(a.state.focused){var E=a.display;clearInterval(E.blinker);var re=!0;E.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?E.blinker=setInterval(function(){a.hasFocus()||bs(a),E.cursorDiv.style.visibility=(re=!re)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(E.cursorDiv.style.visibility="hidden")}}function fl(a){a.state.focused||(a.display.input.focus(),al(a))}function rl(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,bs(a))},100)}function al(a,E){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(wn(a,"focus",a,E),a.state.focused=!0,qe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),we&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),vs(a))}function bs(a,E){a.state.delayingBlurEvent||(a.state.focused&&(wn(a,"blur",a,E),a.state.focused=!1,nt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ys(a){for(var E=a.display,re=E.lineDiv.offsetTop,ne=0;ne<E.view.length;ne++){var ie=E.view[ne],ye=a.options.lineWrapping,Be=void 0,Ke=0;if(!ie.hidden){if(be&&fe<8){var ot=ie.node.offsetTop+ie.node.offsetHeight;Be=ot-re,re=ot}else{var xt=ie.node.getBoundingClientRect();Be=xt.bottom-xt.top,!ye&&ie.text.firstChild&&(Ke=ie.text.firstChild.getBoundingClientRect().right-xt.left-1)}var dn=ie.line.height-Be;if((dn>.005||dn<-.005)&&(zr(ie.line,Be),Es(ie.line),ie.rest))for(var yn=0;yn<ie.rest.length;yn++)Es(ie.rest[yn]);if(Ke>a.display.sizerWidth){var Wn=Math.ceil(Ke/Eo(a.display));Wn>a.display.maxLineLength&&(a.display.maxLineLength=Wn,a.display.maxLine=ie.line,a.display.maxLineChanged=!0)}}}}function Es(a){if(a.widgets)for(var E=0;E<a.widgets.length;++E){var re=a.widgets[E],ne=re.node.parentNode;ne&&(re.height=ne.offsetHeight)}}function os(a,E,re){var ne=re&&re.top!=null?Math.max(0,re.top):a.scroller.scrollTop;ne=Math.floor(ne-zi(a));var ie=re&&re.bottom!=null?re.bottom:ne+a.wrapper.clientHeight,ye=Ie(E,ne),Be=Ie(E,ie);if(re&&re.ensure){var Ke=re.ensure.from.line,ot=re.ensure.to.line;Ke<ye?(ye=Ke,Be=Ie(E,ba(jn(E,Ke))+a.wrapper.clientHeight)):Math.min(ot,E.lastLine())>=Be&&(ye=Ie(E,ba(jn(E,ot))-a.wrapper.clientHeight),Be=ot)}return{from:ye,to:Math.max(Be,ye+1)}}function Hs(a,E){if(!ln(a,"scrollCursorIntoView")){var re=a.display,ne=re.sizer.getBoundingClientRect(),ie=null;if(E.top+ne.top<0?ie=!0:E.bottom+ne.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!At){var ye=Nt("div","\u200B",null,`position: absolute;
|
|
|
top: `+(E.top-re.viewOffset-zi(a.display))+`px;
|
|
|
height: `+(E.bottom-E.top+so(a)+re.barHeight)+`px;
|
|
|
left: `+E.left+"px; width: "+Math.max(2,E.right-E.left)+"px;");a.display.lineSpace.appendChild(ye),ye.scrollIntoView(ie),a.display.lineSpace.removeChild(ye)}}}function pl(a,E,re,ne){ne==null&&(ne=0);var ie;!a.options.lineWrapping&&E==re&&(E=E.ch?He(E.line,E.sticky=="before"?E.ch-1:E.ch,"after"):E,re=E.sticky=="before"?He(E.line,E.ch+1,"before"):E);for(var ye=0;ye<5;ye++){var Be=!1,Ke=Xi(a,E),ot=!re||re==E?Ke:Xi(a,re);ie={left:Math.min(Ke.left,ot.left),top:Math.min(Ke.top,ot.top)-ne,right:Math.max(Ke.left,ot.left),bottom:Math.max(Ke.bottom,ot.bottom)+ne};var xt=ks(a,ie),dn=a.doc.scrollTop,yn=a.doc.scrollLeft;if(xt.scrollTop!=null&&(jt(a,xt.scrollTop),Math.abs(a.doc.scrollTop-dn)>1&&(Be=!0)),xt.scrollLeft!=null&&(Vi(a,xt.scrollLeft),Math.abs(a.doc.scrollLeft-yn)>1&&(Be=!0)),!Be)break}return ie}function _l(a,E){var re=ks(a,E);re.scrollTop!=null&&jt(a,re.scrollTop),re.scrollLeft!=null&&Vi(a,re.scrollLeft)}function ks(a,E){var re=a.display,ne=$i(a.display);E.top<0&&(E.top=0);var ie=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:re.scroller.scrollTop,ye=Uo(a),Be={};E.bottom-E.top>ye&&(E.bottom=E.top+ye);var Ke=a.doc.height+yo(re),ot=E.top<ne,xt=E.bottom>Ke-ne;if(E.top<ie)Be.scrollTop=ot?0:E.top;else if(E.bottom>ie+ye){var dn=Math.min(E.top,(xt?Ke:E.bottom)-ye);dn!=ie&&(Be.scrollTop=dn)}var yn=a.options.fixedGutter?0:re.gutters.offsetWidth,Wn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:re.scroller.scrollLeft-yn,Un=Ji(a)-re.gutters.offsetWidth,Ir=E.right-E.left>Un;return Ir&&(E.right=E.left+Un),E.left<10?Be.scrollLeft=0:E.left<Wn?Be.scrollLeft=Math.max(0,E.left+yn-(Ir?0:10)):E.right>Un+Wn-3&&(Be.scrollLeft=E.right+(Ir?0:10)-Un),Be}function Ss(a,E){E!=null&&(uo(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+E)}function jo(a){uo(a);var E=a.getCursor();a.curOp.scrollToPos={from:E,to:E,margin:a.options.cursorScrollMargin}}function xs(a,E,re){(E!=null||re!=null)&&uo(a),E!=null&&(a.curOp.scrollLeft=E),re!=null&&(a.curOp.scrollTop=re)}function il(a,E){uo(a),a.curOp.scrollToPos=E}function uo(a){var E=a.curOp.scrollToPos;if(E){a.curOp.scrollToPos=null;var re=mi(a,E.from),ne=mi(a,E.to);js(a,re,ne,E.margin)}}function js(a,E,re,ne){var ie=ks(a,{left:Math.min(E.left,re.left),top:Math.min(E.top,re.top)-ne,right:Math.max(E.right,re.right),bottom:Math.max(E.bottom,re.bottom)+ne});xs(a,ie.scrollLeft,ie.scrollTop)}function jt(a,E){Math.abs(a.doc.scrollTop-E)<2||(b||Nn(a,{top:E}),ao(a,E,!0),b&&Nn(a),Et(a,100))}function ao(a,E,re){E=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,E)),!(a.display.scroller.scrollTop==E&&!re)&&(a.doc.scrollTop=E,a.display.scrollbars.setScrollTop(E),a.display.scroller.scrollTop!=E&&(a.display.scroller.scrollTop=E))}function Vi(a,E,re,ne){E=Math.max(0,Math.min(E,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((re?E==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-E)<2)&&!ne)&&(a.doc.scrollLeft=E,va(a),a.display.scroller.scrollLeft!=E&&(a.display.scroller.scrollLeft=E),a.display.scrollbars.setScrollLeft(E))}function Ds(a){var E=a.display,re=E.gutters.offsetWidth,ne=Math.round(a.doc.height+yo(a.display));return{clientHeight:E.scroller.clientHeight,viewHeight:E.wrapper.clientHeight,scrollWidth:E.scroller.scrollWidth,clientWidth:E.scroller.clientWidth,viewWidth:E.wrapper.clientWidth,barLeft:a.options.fixedGutter?re:0,docHeight:ne,scrollHeight:ne+so(a)+E.barHeight,nativeBarWidth:E.nativeBarWidth,gutterWidth:re}}var Qo=function(a,E,re){this.cm=re;var ne=this.vert=Nt("div",[Nt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=Nt("div",[Nt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ne.tabIndex=ie.tabIndex=-1,a(ne),a(ie),Mt(ne,"scroll",function(){ne.clientHeight&&E(ne.scrollTop,"vertical")}),Mt(ie,"scroll",function(){ie.clientWidth&&E(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,be&&fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Qo.prototype.update=function(a){var E=a.scrollWidth>a.clientWidth+1,re=a.scrollHeight>a.clientHeight+1,ne=a.nativeBarWidth;if(re){this.vert.style.display="block",this.vert.style.bottom=E?ne+"px":"0";var ie=a.viewHeight-(E?ne:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(E){this.horiz.style.display="block",this.horiz.style.right=re?ne+"px":"0",this.horiz.style.left=a.barLeft+"px";var ye=a.viewWidth-a.barLeft-(re?ne:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ye)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(ne==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:re?ne:0,bottom:E?ne:0}},Qo.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Qo.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Qo.prototype.zeroWidthHack=function(){var a=We&&!Fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ye,this.disableVert=new Ye},Qo.prototype.enableZeroWidthBar=function(a,E,re){a.style.pointerEvents="auto";function ne(){var ie=a.getBoundingClientRect(),ye=re=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);ye!=a?a.style.pointerEvents="none":E.set(1e3,ne)}E.set(1e3,ne)},Qo.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var ol=function(){};ol.prototype.update=function(){return{bottom:0,right:0}},ol.prototype.setScrollLeft=function(){},ol.prototype.setScrollTop=function(){},ol.prototype.clear=function(){};function qo(a,E){E||(E=Ds(a));var re=a.display.barWidth,ne=a.display.barHeight;Jo(a,E);for(var ie=0;ie<4&&re!=a.display.barWidth||ne!=a.display.barHeight;ie++)re!=a.display.barWidth&&a.options.lineWrapping&&ys(a),Jo(a,Ds(a)),re=a.display.barWidth,ne=a.display.barHeight}function Jo(a,E){var re=a.display,ne=re.scrollbars.update(E);re.sizer.style.paddingRight=(re.barWidth=ne.right)+"px",re.sizer.style.paddingBottom=(re.barHeight=ne.bottom)+"px",re.heightForcer.style.borderBottom=ne.bottom+"px solid transparent",ne.right&&ne.bottom?(re.scrollbarFiller.style.display="block",re.scrollbarFiller.style.height=ne.bottom+"px",re.scrollbarFiller.style.width=ne.right+"px"):re.scrollbarFiller.style.display="",ne.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(re.gutterFiller.style.display="block",re.gutterFiller.style.height=ne.bottom+"px",re.gutterFiller.style.width=E.gutterWidth+"px"):re.gutterFiller.style.display=""}var sl={native:Qo,null:ol};function Go(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&nt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new sl[a.options.scrollbarStyle](function(E){a.display.wrapper.insertBefore(E,a.display.scrollbarFiller),Mt(E,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),E.setAttribute("cm-not-content","true")},function(E,re){re=="horizontal"?Vi(a,E):jt(a,E)},a),a.display.scrollbars.addClass&&qe(a.display.wrapper,a.display.scrollbars.addClass)}var Ul=0;function io(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:++Ul},$a(a.curOp)}function ss(a){var E=a.curOp;E&&Ba(E,function(re){for(var ne=0;ne<re.ops.length;ne++)re.ops[ne].cm.curOp=null;iu(re)})}function iu(a){for(var E=a.ops,re=0;re<E.length;re++)hl(E[re]);for(var ne=0;ne<E.length;ne++)Gs(E[ne]);for(var ie=0;ie<E.length;ie++)Ws(E[ie]);for(var ye=0;ye<E.length;ye++)zl(E[ye]);for(var Be=0;Be<E.length;Be++)se(E[Be])}function hl(a){var E=a.cm,re=E.display;_n(E),a.updateMaxLine&&ya(E),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<re.viewFrom||a.scrollToPos.to.line>=re.viewTo)||re.maxLineChanged&&E.options.lineWrapping,a.update=a.mustUpdate&&new tn(E,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Gs(a){a.updatedDisplay=a.mustUpdate&&Vn(a.cm,a.update)}function Ws(a){var E=a.cm,re=E.display;a.updatedDisplay&&ys(E),a.barMeasure=Ds(E),re.maxLineChanged&&!E.options.lineWrapping&&(a.adjustWidthTo=Js(E,re.maxLine,re.maxLine.text.length).left+3,E.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(re.scroller.clientWidth,re.sizer.offsetLeft+a.adjustWidthTo+so(E)+E.display.barWidth),a.maxScrollLeft=Math.max(0,re.sizer.offsetLeft+a.adjustWidthTo-Ji(E))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=re.input.prepareSelection())}function zl(a){var E=a.cm;a.adjustWidthTo!=null&&(E.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<E.doc.scrollLeft&&Vi(E,Math.min(E.display.scroller.scrollLeft,a.maxScrollLeft),!0),E.display.maxLineChanged=!1);var re=a.focus&&a.focus==St();a.preparedSelection&&E.display.input.showSelection(a.preparedSelection,re),(a.updatedDisplay||a.startHeight!=E.doc.height)&&qo(E,a.barMeasure),a.updatedDisplay&&gi(E,a.barMeasure),a.selectionChanged&&vs(E),E.state.focused&&a.updateInput&&E.display.input.reset(a.typing),re&&fl(a.cm)}function se(a){var E=a.cm,re=E.display,ne=E.doc;if(a.updatedDisplay&&$n(E,a.update),re.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(re.wheelStartX=re.wheelStartY=null),a.scrollTop!=null&&ao(E,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Vi(E,a.scrollLeft,!0,!0),a.scrollToPos){var ie=pl(E,Kt(ne,a.scrollToPos.from),Kt(ne,a.scrollToPos.to),a.scrollToPos.margin);Hs(E,ie)}var ye=a.maybeHiddenMarkers,Be=a.maybeUnhiddenMarkers;if(ye)for(var Ke=0;Ke<ye.length;++Ke)ye[Ke].lines.length||wn(ye[Ke],"hide");if(Be)for(var ot=0;ot<Be.length;++ot)Be[ot].lines.length&&wn(Be[ot],"unhide");re.wrapper.offsetHeight&&(ne.scrollTop=E.display.scroller.scrollTop),a.changeObjs&&wn(E,"changes",E,a.changeObjs),a.update&&a.update.finish()}function Ae(a,E){if(a.curOp)return E();io(a);try{return E()}finally{ss(a)}}function ke(a,E){return function(){if(a.curOp)return E.apply(a,arguments);io(a);try{return E.apply(a,arguments)}finally{ss(a)}}}function Ue(a){return function(){if(this.curOp)return a.apply(this,arguments);io(this);try{return a.apply(this,arguments)}finally{ss(this)}}}function mt(a){return function(){var E=this.cm;if(!E||E.curOp)return a.apply(this,arguments);io(E);try{return a.apply(this,arguments)}finally{ss(E)}}}function Et(a,E){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(E,Zt(Lt,a))}function Lt(a){var E=a.doc;if(!(E.highlightFrontier>=a.display.viewTo)){var re=+new Date+a.options.workTime,ne=Sn(a,E.highlightFrontier),ie=[];E.iter(ne.line,Math.min(E.first+E.size,a.display.viewTo+500),function(ye){if(ne.line>=a.display.viewFrom){var Be=ye.styles,Ke=ye.text.length>a.options.maxHighlightLength?aa(E.mode,ne.state):null,ot=rr(a,ye,ne,!0);Ke&&(ne.state=Ke),ye.styles=ot.styles;var xt=ye.styleClasses,dn=ot.classes;dn?ye.styleClasses=dn:xt&&(ye.styleClasses=null);for(var yn=!Be||Be.length!=ye.styles.length||xt!=dn&&(!xt||!dn||xt.bgClass!=dn.bgClass||xt.textClass!=dn.textClass),Wn=0;!yn&&Wn<Be.length;++Wn)yn=Be[Wn]!=ye.styles[Wn];yn&&ie.push(ne.line),ye.stateAfter=ne.save(),ne.nextLine()}else ye.text.length<=a.options.maxHighlightLength&&rn(a,ye.text,ne),ye.stateAfter=ne.line%5==0?ne.save():null,ne.nextLine();if(+new Date>re)return Et(a,a.options.workDelay),!0}),E.highlightFrontier=ne.line,E.modeFrontier=Math.max(E.modeFrontier,ne.line),ie.length&&Ae(a,function(){for(var ye=0;ye<ie.length;ye++)Ro(a,ie[ye],"text")})}}var tn=function(a,E,re){var ne=a.display;this.viewport=E,this.visible=os(ne,a.doc,E),this.editorIsHidden=!ne.wrapper.offsetWidth,this.wrapperHeight=ne.wrapper.clientHeight,this.wrapperWidth=ne.wrapper.clientWidth,this.oldDisplayWidth=Ji(a),this.force=re,this.dims=Xo(a),this.events=[]};tn.prototype.signal=function(a,E){xn(a,E)&&this.events.push(arguments)},tn.prototype.finish=function(){for(var a=0;a<this.events.length;a++)wn.apply(null,this.events[a])};function _n(a){var E=a.display;!E.scrollbarsClipped&&E.scroller.offsetWidth&&(E.nativeBarWidth=E.scroller.offsetWidth-E.scroller.clientWidth,E.heightForcer.style.height=so(a)+"px",E.sizer.style.marginBottom=-E.nativeBarWidth+"px",E.sizer.style.borderRightWidth=so(a)+"px",E.scrollbarsClipped=!0)}function Mn(a){if(a.hasFocus())return null;var E=St();if(!E||!It(a.display.lineDiv,E))return null;var re={activeElt:E};if(window.getSelection){var ne=window.getSelection();ne.anchorNode&&ne.extend&&It(a.display.lineDiv,ne.anchorNode)&&(re.anchorNode=ne.anchorNode,re.anchorOffset=ne.anchorOffset,re.focusNode=ne.focusNode,re.focusOffset=ne.focusOffset)}return re}function bn(a){if(!(!a||!a.activeElt||a.activeElt==St())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&It(document.body,a.anchorNode)&&It(document.body,a.focusNode))){var E=window.getSelection(),re=document.createRange();re.setEnd(a.anchorNode,a.anchorOffset),re.collapse(!1),E.removeAllRanges(),E.addRange(re),E.extend(a.focusNode,a.focusOffset)}}function Vn(a,E){var re=a.display,ne=a.doc;if(E.editorIsHidden)return Oo(a),!1;if(!E.force&&E.visible.from>=re.viewFrom&&E.visible.to<=re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo)&&re.renderedView==re.view&&Us(a)==0)return!1;pi(a)&&(Oo(a),E.dims=Xo(a));var ie=ne.first+ne.size,ye=Math.max(E.visible.from-a.options.viewportMargin,ne.first),Be=Math.min(ie,E.visible.to+a.options.viewportMargin);re.viewFrom<ye&&ye-re.viewFrom<20&&(ye=Math.max(ne.first,re.viewFrom)),re.viewTo>Be&&re.viewTo-Be<20&&(Be=Math.min(ie,re.viewTo)),dr&&(ye=ur(a.doc,ye),Be=nr(a.doc,Be));var Ke=ye!=re.viewFrom||Be!=re.viewTo||re.lastWrapHeight!=E.wrapperHeight||re.lastWrapWidth!=E.wrapperWidth;Rs(a,ye,Be),re.viewOffset=ba(jn(a.doc,re.viewFrom)),a.display.mover.style.top=re.viewOffset+"px";var ot=Us(a);if(!Ke&&ot==0&&!E.force&&re.renderedView==re.view&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo))return!1;var xt=Mn(a);return ot>4&&(re.lineDiv.style.display="none"),Ia(a,re.updateLineNumbers,E.dims),ot>4&&(re.lineDiv.style.display=""),re.renderedView=re.view,bn(xt),bt(re.cursorDiv),bt(re.selectionDiv),re.gutters.style.height=re.sizer.style.minHeight=0,Ke&&(re.lastWrapHeight=E.wrapperHeight,re.lastWrapWidth=E.wrapperWidth,Et(a,400)),re.updateLineNumbers=null,!0}function $n(a,E){for(var re=E.viewport,ne=!0;;ne=!1){if(!ne||!a.options.lineWrapping||E.oldDisplayWidth==Ji(a)){if(re&&re.top!=null&&(re={top:Math.min(a.doc.height+yo(a.display)-Uo(a),re.top)}),E.visible=os(a.display,a.doc,re),E.visible.from>=a.display.viewFrom&&E.visible.to<=a.display.viewTo)break}else ne&&(E.visible=os(a.display,a.doc,re));if(!Vn(a,E))break;ys(a);var ie=Ds(a);gs(a),qo(a,ie),gi(a,ie),E.force=!1}E.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(E.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Nn(a,E){var re=new tn(a,E);if(Vn(a,re)){ys(a),$n(a,re);var ne=Ds(a);gs(a),qo(a,ne),gi(a,ne),re.finish()}}function Ia(a,E,re){var ne=a.display,ie=a.options.lineNumbers,ye=ne.lineDiv,Be=ye.firstChild;function Ke(Ir){var Fr=Ir.nextSibling;return we&&We&&a.display.currentWheelTarget==Ir?Ir.style.display="none":Ir.parentNode.removeChild(Ir),Fr}for(var ot=ne.view,xt=ne.viewFrom,dn=0;dn<ot.length;dn++){var yn=ot[dn];if(!yn.hidden)if(!yn.node||yn.node.parentNode!=ye){var Wn=za(a,yn,xt,re);ye.insertBefore(Wn,Be)}else{for(;Be!=yn.node;)Be=Ke(Be);var Un=ie&&E!=null&&E<=xt&&yn.lineNumber;yn.changes&&(Se(yn.changes,"gutter")>-1&&(Un=!1),Bi(a,yn,xt,re)),Un&&(bt(yn.lineNumber),yn.lineNumber.appendChild(document.createTextNode(Le(a.options,xt)))),Be=yn.node.nextSibling}xt+=yn.size}for(;Be;)Be=Ke(Be)}function Qa(a){var E=a.gutters.offsetWidth;a.sizer.style.marginLeft=E+"px"}function gi(a,E){a.display.sizer.style.minHeight=E.docHeight+"px",a.display.heightForcer.style.top=E.docHeight+"px",a.display.gutters.style.height=E.docHeight+a.display.barHeight+so(a)+"px"}function va(a){var E=a.display,re=E.view;if(!(!E.alignWidgets&&(!E.gutters.firstChild||!a.options.fixedGutter))){for(var ne=is(E)-E.scroller.scrollLeft+a.doc.scrollLeft,ie=E.gutters.offsetWidth,ye=ne+"px",Be=0;Be<re.length;Be++)if(!re[Be].hidden){a.options.fixedGutter&&(re[Be].gutter&&(re[Be].gutter.style.left=ye),re[Be].gutterBackground&&(re[Be].gutterBackground.style.left=ye));var Ke=re[Be].alignable;if(Ke)for(var ot=0;ot<Ke.length;ot++)Ke[ot].style.left=ye}a.options.fixedGutter&&(E.gutters.style.left=ne+ie+"px")}}function pi(a){if(!a.options.lineNumbers)return!1;var E=a.doc,re=Le(a.options,E.first+E.size-1),ne=a.display;if(re.length!=ne.lineNumChars){var ie=ne.measure.appendChild(Nt("div",[Nt("div",re)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ye=ie.firstChild.offsetWidth,Be=ie.offsetWidth-ye;return ne.lineGutter.style.width="",ne.lineNumInnerWidth=Math.max(ye,ne.lineGutter.offsetWidth-Be)+1,ne.lineNumWidth=ne.lineNumInnerWidth+Be,ne.lineNumChars=ne.lineNumInnerWidth?re.length:-1,ne.lineGutter.style.width=ne.lineNumWidth+"px",Qa(a.display),!0}return!1}function La(a,E){for(var re=[],ne=!1,ie=0;ie<a.length;ie++){var ye=a[ie],Be=null;if(typeof ye!="string"&&(Be=ye.style,ye=ye.className),ye=="CodeMirror-linenumbers")if(E)ne=!0;else continue;re.push({className:ye,style:Be})}return E&&!ne&&re.push({className:"CodeMirror-linenumbers",style:null}),re}function Ui(a){var E=a.gutters,re=a.gutterSpecs;bt(E),a.lineGutter=null;for(var ne=0;ne<re.length;++ne){var ie=re[ne],ye=ie.className,Be=ie.style,Ke=E.appendChild(Nt("div",null,"CodeMirror-gutter "+ye));Be&&(Ke.style.cssText=Be),ye=="CodeMirror-linenumbers"&&(a.lineGutter=Ke,Ke.style.width=(a.lineNumWidth||1)+"px")}E.style.display=re.length?"":"none",Qa(a)}function yi(a){Ui(a.display),Ki(a),va(a)}function ta(a,E,re,ne){var ie=this;this.input=re,ie.scrollbarFiller=Nt("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=Nt("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=vt("div",null,"CodeMirror-code"),ie.selectionDiv=Nt("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=Nt("div",null,"CodeMirror-cursors"),ie.measure=Nt("div",null,"CodeMirror-measure"),ie.lineMeasure=Nt("div",null,"CodeMirror-measure"),ie.lineSpace=vt("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var ye=vt("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=Nt("div",[ye],null,"position: relative"),ie.sizer=Nt("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=Nt("div",null,null,"position: absolute; height: "+Qt+"px; width: 1px;"),ie.gutters=Nt("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=Nt("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=Nt("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),be&&fe<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!we&&!(b&&Je)&&(ie.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(ie.wrapper):a(ie.wrapper)),ie.viewFrom=ie.viewTo=E.first,ie.reportedViewFrom=ie.reportedViewTo=E.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=La(ne.gutters,ne.lineNumbers),Ui(ie),re.init(ie)}var Ai=0,Ei=null;be?Ei=-.53:b?Ei=15:Re?Ei=-.7:Ge&&(Ei=-1/3);function Ii(a){var E=a.wheelDeltaX,re=a.wheelDeltaY;return E==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(E=a.detail),re==null&&a.detail&&a.axis==a.VERTICAL_AXIS?re=a.detail:re==null&&(re=a.wheelDelta),{x:E,y:re}}function Ri(a){var E=Ii(a);return E.x*=Ei,E.y*=Ei,E}function xo(a,E){var re=Ii(E),ne=re.x,ie=re.y,ye=a.display,Be=ye.scroller,Ke=Be.scrollWidth>Be.clientWidth,ot=Be.scrollHeight>Be.clientHeight;if(ne&&Ke||ie&&ot){if(ie&&We&&we){e:for(var xt=E.target,dn=ye.view;xt!=Be;xt=xt.parentNode)for(var yn=0;yn<dn.length;yn++)if(dn[yn].node==xt){a.display.currentWheelTarget=xt;break e}}if(ne&&!b&&!xe&&Ei!=null){ie&&ot&&jt(a,Math.max(0,Be.scrollTop+ie*Ei)),Vi(a,Math.max(0,Be.scrollLeft+ne*Ei)),(!ie||ie&&ot)&&Yt(E),ye.wheelStartX=null;return}if(ie&&Ei!=null){var Wn=ie*Ei,Un=a.doc.scrollTop,Ir=Un+ye.wrapper.clientHeight;Wn<0?Un=Math.max(0,Un+Wn-50):Ir=Math.min(a.doc.height,Ir+Wn+50),Nn(a,{top:Un,bottom:Ir})}Ai<20&&(ye.wheelStartX==null?(ye.wheelStartX=Be.scrollLeft,ye.wheelStartY=Be.scrollTop,ye.wheelDX=ne,ye.wheelDY=ie,setTimeout(function(){if(ye.wheelStartX!=null){var Fr=Be.scrollLeft-ye.wheelStartX,oe=Be.scrollTop-ye.wheelStartY,z=oe&&ye.wheelDY&&oe/ye.wheelDY||Fr&&ye.wheelDX&&Fr/ye.wheelDX;ye.wheelStartX=ye.wheelStartY=null,z&&(Ei=(Ei*Ai+z)/(Ai+1),++Ai)}},200)):(ye.wheelDX+=ne,ye.wheelDY+=ie))}}var ui=function(a,E){this.ranges=a,this.primIndex=E};ui.prototype.primary=function(){return this.ranges[this.primIndex]},ui.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var E=0;E<this.ranges.length;E++){var re=this.ranges[E],ne=a.ranges[E];if(!et(re.anchor,ne.anchor)||!et(re.head,ne.head))return!1}return!0},ui.prototype.deepCopy=function(){for(var a=[],E=0;E<this.ranges.length;E++)a[E]=new x(en(this.ranges[E].anchor),en(this.ranges[E].head));return new ui(a,this.primIndex)},ui.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},ui.prototype.contains=function(a,E){E||(E=a);for(var re=0;re<this.ranges.length;re++){var ne=this.ranges[re];if(Vt(E,ne.from())>=0&&Vt(a,ne.to())<=0)return re}return-1};var x=function(a,E){this.anchor=a,this.head=E};x.prototype.from=function(){return Xt(this.anchor,this.head)},x.prototype.to=function(){return cn(this.anchor,this.head)},x.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ee(a,E,re){var ne=a&&a.options.selectionsMayTouch,ie=E[re];E.sort(function(Wn,Un){return Vt(Wn.from(),Un.from())}),re=Se(E,ie);for(var ye=1;ye<E.length;ye++){var Be=E[ye],Ke=E[ye-1],ot=Vt(Ke.to(),Be.from());if(ne&&!Be.empty()?ot>0:ot>=0){var xt=Xt(Ke.from(),Be.from()),dn=cn(Ke.to(),Be.to()),yn=Ke.empty()?Be.from()==Be.head:Ke.from()==Ke.head;ye<=re&&--re,E.splice(--ye,2,new x(yn?dn:xt,yn?xt:dn))}}return new ui(E,re)}function Ne(a,E){return new ui([new x(a,E||a)],0)}function Ot(a){return a.text?He(a.from.line+a.text.length-1,Ht(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Rn(a,E){if(Vt(a,E.from)<0)return a;if(Vt(a,E.to)<=0)return Ot(E);var re=a.line+E.text.length-(E.to.line-E.from.line)-1,ne=a.ch;return a.line==E.to.line&&(ne+=Ot(E).ch-E.to.ch),He(re,ne)}function fr(a,E){for(var re=[],ne=0;ne<a.sel.ranges.length;ne++){var ie=a.sel.ranges[ne];re.push(new x(Rn(ie.anchor,E),Rn(ie.head,E)))}return ee(a.cm,re,a.sel.primIndex)}function Mr(a,E,re){return a.line==E.line?He(re.line,a.ch-E.ch+re.ch):He(re.line+(a.line-E.line),a.ch)}function hn(a,E,re){for(var ne=[],ie=He(a.first,0),ye=ie,Be=0;Be<E.length;Be++){var Ke=E[Be],ot=Mr(Ke.from,ie,ye),xt=Mr(Ot(Ke),ie,ye);if(ie=Ke.to,ye=xt,re=="around"){var dn=a.sel.ranges[Be],yn=Vt(dn.head,dn.anchor)<0;ne[Be]=new x(yn?xt:ot,yn?ot:xt)}else ne[Be]=new x(ot,ot)}return new ui(ne,a.sel.primIndex)}function wa(a){a.doc.mode=Jr(a.options,a.doc.modeOption),hi(a)}function hi(a){a.doc.iter(function(E){E.stateAfter&&(E.stateAfter=null),E.styles&&(E.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,Et(a,100),a.state.modeGen++,a.curOp&&Ki(a)}function Bn(a,E){return E.from.ch==0&&E.to.ch==0&&Ht(E.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function no(a,E,re,ne){function ie(te){return re?re[te]:null}function ye(te,ue,Ee){_a(te,ue,Ee,ne),ma(te,"change",te,E)}function Be(te,ue){for(var Ee=[],Me=te;Me<ue;++Me)Ee.push(new Ma(xt[Me],ie(Me),ne));return Ee}var Ke=E.from,ot=E.to,xt=E.text,dn=jn(a,Ke.line),yn=jn(a,ot.line),Wn=Ht(xt),Un=ie(xt.length-1),Ir=ot.line-Ke.line;if(E.full)a.insert(0,Be(0,xt.length)),a.remove(xt.length,a.size-xt.length);else if(Bn(a,E)){var Fr=Be(0,xt.length-1);ye(yn,yn.text,Un),Ir&&a.remove(Ke.line,Ir),Fr.length&&a.insert(Ke.line,Fr)}else if(dn==yn)if(xt.length==1)ye(dn,dn.text.slice(0,Ke.ch)+Wn+dn.text.slice(ot.ch),Un);else{var oe=Be(1,xt.length-1);oe.push(new Ma(Wn+dn.text.slice(ot.ch),Un,ne)),ye(dn,dn.text.slice(0,Ke.ch)+xt[0],ie(0)),a.insert(Ke.line+1,oe)}else if(xt.length==1)ye(dn,dn.text.slice(0,Ke.ch)+xt[0]+yn.text.slice(ot.ch),ie(0)),a.remove(Ke.line+1,Ir);else{ye(dn,dn.text.slice(0,Ke.ch)+xt[0],ie(0)),ye(yn,Wn+yn.text.slice(ot.ch),Un);var z=Be(1,xt.length-1);Ir>1&&a.remove(Ke.line+1,Ir-1),a.insert(Ke.line+1,z)}ma(a,"change",a,E)}function Ao(a,E,re){function ne(ie,ye,Be){if(ie.linked)for(var Ke=0;Ke<ie.linked.length;++Ke){var ot=ie.linked[Ke];if(ot.doc!=ye){var xt=Be&&ot.sharedHist;re&&!xt||(E(ot.doc,xt),ne(ot.doc,ie,xt))}}}ne(a,null,!0)}function ml(a,E){if(E.cm)throw new Error("This document is already in use.");a.doc=E,E.cm=a,_s(a),wa(a),Vs(a),a.options.lineWrapping||ya(a),a.options.mode=E.modeOption,Ki(a)}function Vs(a){(a.doc.direction=="rtl"?qe:nt)(a.display.lineDiv,"CodeMirror-rtl")}function co(a){Ae(a,function(){Vs(a),Ki(a)})}function Ls(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 ko(a,E){var re={from:en(E.from),to:Ot(E),text:sr(a,E.from,E.to)};return vl(a,re,E.from.line,E.to.line+1),Ao(a,function(ne){return vl(ne,re,E.from.line,E.to.line+1)},!0),re}function Cs(a){for(;a.length;){var E=Ht(a);if(E.ranges)a.pop();else break}}function Zs(a,E){if(E)return Cs(a.done),Ht(a.done);if(a.done.length&&!Ht(a.done).ranges)return Ht(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Ht(a.done)}function gl(a,E,re,ne){var ie=a.history;ie.undone.length=0;var ye=+new Date,Be,Ke;if((ie.lastOp==ne||ie.lastOrigin==E.origin&&E.origin&&(E.origin.charAt(0)=="+"&&ie.lastModTime>ye-(a.cm?a.cm.options.historyEventDelay:500)||E.origin.charAt(0)=="*"))&&(Be=Zs(ie,ie.lastOp==ne)))Ke=Ht(Be.changes),Vt(E.from,E.to)==0&&Vt(E.from,Ke.to)==0?Ke.to=Ot(E):Be.changes.push(ko(a,E));else{var ot=Ht(ie.done);for((!ot||!ot.ranges)&&Ms(a.sel,ie.done),Be={changes:[ko(a,E)],generation:ie.generation},ie.done.push(Be);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(re),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=ye,ie.lastOp=ie.lastSelOp=ne,ie.lastOrigin=ie.lastSelOrigin=E.origin,Ke||wn(a,"historyAdded")}function mu(a,E,re,ne){var ie=E.charAt(0);return ie=="*"||ie=="+"&&re.ranges.length==ne.ranges.length&&re.somethingSelected()==ne.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Hl(a,E,re,ne){var ie=a.history,ye=ne&&ne.origin;re==ie.lastSelOp||ye&&ie.lastSelOrigin==ye&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==ye||mu(a,ye,Ht(ie.done),E))?ie.done[ie.done.length-1]=E:Ms(E,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=ye,ie.lastSelOp=re,ne&&ne.clearRedo!==!1&&Cs(ie.undone)}function Ms(a,E){var re=Ht(E);re&&re.ranges&&re.equals(a)||E.push(a)}function vl(a,E,re,ne){var ie=E["spans_"+a.id],ye=0;a.iter(Math.max(a.first,re),Math.min(a.first+a.size,ne),function(Be){Be.markedSpans&&((ie||(ie=E["spans_"+a.id]={}))[ye]=Be.markedSpans),++ye})}function ou(a){if(!a)return null;for(var E,re=0;re<a.length;++re)a[re].marker.explicitlyCleared?E||(E=a.slice(0,re)):E&&E.push(a[re]);return E?E.length?E:null:a}function bl(a,E){var re=E["spans_"+a.id];if(!re)return null;for(var ne=[],ie=0;ie<E.text.length;++ie)ne.push(ou(re[ie]));return ne}function yl(a,E){var re=bl(a,E),ne=oa(a,E);if(!re)return ne;if(!ne)return re;for(var ie=0;ie<re.length;++ie){var ye=re[ie],Be=ne[ie];if(ye&&Be)e:for(var Ke=0;Ke<Be.length;++Ke){for(var ot=Be[Ke],xt=0;xt<ye.length;++xt)if(ye[xt].marker==ot.marker)continue e;ye.push(ot)}else Be&&(re[ie]=Be)}return re}function $s(a,E,re){for(var ne=[],ie=0;ie<a.length;++ie){var ye=a[ie];if(ye.ranges){ne.push(re?ui.prototype.deepCopy.call(ye):ye);continue}var Be=ye.changes,Ke=[];ne.push({changes:Ke});for(var ot=0;ot<Be.length;++ot){var xt=Be[ot],dn=void 0;if(Ke.push({from:xt.from,to:xt.to,text:xt.text}),E)for(var yn in xt)(dn=yn.match(/^spans_(\d+)$/))&&Se(E,Number(dn[1]))>-1&&(Ht(Ke)[yn]=xt[yn],delete xt[yn])}}return ne}function jl(a,E,re,ne){if(ne){var ie=a.anchor;if(re){var ye=Vt(E,ie)<0;ye!=Vt(re,ie)<0?(ie=E,E=re):ye!=Vt(E,re)<0&&(E=re)}return new x(ie,E)}else return new x(re||E,E)}function Dl(a,E,re,ne,ie){ie==null&&(ie=a.cm&&(a.cm.display.shift||a.extend)),Za(a,new ui([jl(a.sel.primary(),E,re,ie)],0),ne)}function Gl(a,E,re){for(var ne=[],ie=a.cm&&(a.cm.display.shift||a.extend),ye=0;ye<a.sel.ranges.length;ye++)ne[ye]=jl(a.sel.ranges[ye],E[ye],null,ie);var Be=ee(a.cm,ne,a.sel.primIndex);Za(a,Be,re)}function El(a,E,re,ne){var ie=a.sel.ranges.slice(0);ie[E]=re,Za(a,ee(a.cm,ie,a.sel.primIndex),ne)}function Lr(a,E,re,ne){Za(a,Ne(E,re),ne)}function ga(a,E,re){var ne={ranges:E.ranges,update:function(ie){this.ranges=[];for(var ye=0;ye<ie.length;ye++)this.ranges[ye]=new x(Kt(a,ie[ye].anchor),Kt(a,ie[ye].head))},origin:re&&re.origin};return wn(a,"beforeSelectionChange",a,ne),a.cm&&wn(a.cm,"beforeSelectionChange",a.cm,ne),ne.ranges!=E.ranges?ee(a.cm,ne.ranges,ne.ranges.length-1):E}function oi(a,E,re){var ne=a.history.done,ie=Ht(ne);ie&&ie.ranges?(ne[ne.length-1]=E,Oi(a,E,re)):Za(a,E,re)}function Za(a,E,re){Oi(a,E,re),Hl(a,a.sel,a.cm?a.cm.curOp.id:NaN,re)}function Oi(a,E,re){(xn(a,"beforeSelectionChange")||a.cm&&xn(a.cm,"beforeSelectionChange"))&&(E=ga(a,E,re));var ne=re&&re.bias||(Vt(E.primary().head,a.sel.primary().head)<0?-1:1);Wo(a,ls(a,E,ne,!0)),!(re&&re.scroll===!1)&&a.cm&&jo(a.cm)}function Wo(a,E){E.equals(a.sel)||(a.sel=E,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,In(a.cm)),ma(a,"cursorActivity",a))}function Ps(a){Wo(a,ls(a,a.sel,null,!1))}function ls(a,E,re,ne){for(var ie,ye=0;ye<E.ranges.length;ye++){var Be=E.ranges[ye],Ke=E.ranges.length==a.sel.ranges.length&&a.sel.ranges[ye],ot=Bs(a,Be.anchor,Ke&&Ke.anchor,re,ne),xt=Bs(a,Be.head,Ke&&Ke.head,re,ne);(ie||ot!=Be.anchor||xt!=Be.head)&&(ie||(ie=E.ranges.slice(0,ye)),ie[ye]=new x(ot,xt))}return ie?ee(a.cm,ie,E.primIndex):E}function us(a,E,re,ne,ie){var ye=jn(a,E.line);if(ye.markedSpans)for(var Be=0;Be<ye.markedSpans.length;++Be){var Ke=ye.markedSpans[Be],ot=Ke.marker,xt="selectLeft"in ot?!ot.selectLeft:ot.inclusiveLeft,dn="selectRight"in ot?!ot.selectRight:ot.inclusiveRight;if((Ke.from==null||(xt?Ke.from<=E.ch:Ke.from<E.ch))&&(Ke.to==null||(dn?Ke.to>=E.ch:Ke.to>E.ch))){if(ie&&(wn(ot,"beforeCursorEnter"),ot.explicitlyCleared))if(ye.markedSpans){--Be;continue}else break;if(!ot.atomic)continue;if(re){var yn=ot.find(ne<0?1:-1),Wn=void 0;if((ne<0?dn:xt)&&(yn=Do(a,yn,-ne,yn&&yn.line==E.line?ye:null)),yn&&yn.line==E.line&&(Wn=Vt(yn,re))&&(ne<0?Wn<0:Wn>0))return us(a,yn,E,ne,ie)}var Un=ot.find(ne<0?-1:1);return(ne<0?xt:dn)&&(Un=Do(a,Un,ne,Un.line==E.line?ye:null)),Un?us(a,Un,E,ne,ie):null}}return E}function Bs(a,E,re,ne,ie){var ye=ne||1,Be=us(a,E,re,ye,ie)||!ie&&us(a,E,re,ye,!0)||us(a,E,re,-ye,ie)||!ie&&us(a,E,re,-ye,!0);return Be||(a.cantEdit=!0,He(a.first,0))}function Do(a,E,re,ne){return re<0&&E.ch==0?E.line>a.first?Kt(a,He(E.line-1)):null:re>0&&E.ch==(ne||jn(a,E.line)).text.length?E.line<a.first+a.size-1?He(E.line+1,0):null:new He(E.line,E.ch+re)}function Ks(a){a.setSelection(He(a.firstLine(),0),He(a.lastLine()),st)}function Lo(a,E,re){var ne={canceled:!1,from:E.from,to:E.to,text:E.text,origin:E.origin,cancel:function(){return ne.canceled=!0}};return re&&(ne.update=function(ie,ye,Be,Ke){ie&&(ne.from=Kt(a,ie)),ye&&(ne.to=Kt(a,ye)),Be&&(ne.text=Be),Ke!==void 0&&(ne.origin=Ke)}),wn(a,"beforeChange",a,ne),a.cm&&wn(a.cm,"beforeChange",a.cm,ne),ne.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:ne.from,to:ne.to,text:ne.text,origin:ne.origin}}function Sl(a,E,re){if(a.cm){if(!a.cm.curOp)return ke(a.cm,Sl)(a,E,re);if(a.cm.state.suppressEdits)return}if(!((xn(a,"beforeChange")||a.cm&&xn(a.cm,"beforeChange"))&&(E=Lo(a,E,!0),!E))){var ne=gr&&!re&&Ea(a,E.from,E.to);if(ne)for(var ie=ne.length-1;ie>=0;--ie)gu(a,{from:ne[ie].from,to:ne[ie].to,text:ie?[""]:E.text,origin:E.origin});else gu(a,E)}}function gu(a,E){if(!(E.text.length==1&&E.text[0]==""&&Vt(E.from,E.to)==0)){var re=fr(a,E);gl(a,E,re,a.cm?a.cm.curOp.id:NaN),Vl(a,E,re,oa(a,E));var ne=[];Ao(a,function(ie,ye){!ye&&Se(ne,ie.history)==-1&&(Lu(ie.history,E),ne.push(ie.history)),Vl(ie,E,null,oa(ie,E))})}}function Wl(a,E,re){var ne=a.cm&&a.cm.state.suppressEdits;if(!(ne&&!re)){for(var ie=a.history,ye,Be=a.sel,Ke=E=="undo"?ie.done:ie.undone,ot=E=="undo"?ie.undone:ie.done,xt=0;xt<Ke.length&&(ye=Ke[xt],!(re?ye.ranges&&!ye.equals(a.sel):!ye.ranges));xt++);if(xt!=Ke.length){for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(ye=Ke.pop(),ye.ranges){if(Ms(ye,ot),re&&!ye.equals(a.sel)){Za(a,ye,{clearRedo:!1});return}Be=ye}else if(ne){Ke.push(ye);return}else break;var dn=[];Ms(Be,ot),ot.push({changes:dn,generation:ie.generation}),ie.generation=ye.generation||++ie.maxGeneration;for(var yn=xn(a,"beforeChange")||a.cm&&xn(a.cm,"beforeChange"),Wn=function(Fr){var oe=ye.changes[Fr];if(oe.origin=E,yn&&!Lo(a,oe,!1))return Ke.length=0,{};dn.push(ko(a,oe));var z=Fr?fr(a,oe):Ht(Ke);Vl(a,oe,z,yl(a,oe)),!Fr&&a.cm&&a.cm.scrollIntoView({from:oe.from,to:Ot(oe)});var te=[];Ao(a,function(ue,Ee){!Ee&&Se(te,ue.history)==-1&&(Lu(ue.history,oe),te.push(ue.history)),Vl(ue,oe,null,yl(ue,oe))})},Un=ye.changes.length-1;Un>=0;--Un){var Ir=Wn(Un);if(Ir)return Ir.v}}}}function vu(a,E){if(E!=0&&(a.first+=E,a.sel=new ui(gn(a.sel.ranges,function(ie){return new x(He(ie.anchor.line+E,ie.anchor.ch),He(ie.head.line+E,ie.head.ch))}),a.sel.primIndex),a.cm)){Ki(a.cm,a.first,a.first-E,E);for(var re=a.cm.display,ne=re.viewFrom;ne<re.viewTo;ne++)Ro(a.cm,ne,"gutter")}}function Vl(a,E,re,ne){if(a.cm&&!a.cm.curOp)return ke(a.cm,Vl)(a,E,re,ne);if(E.to.line<a.first){vu(a,E.text.length-1-(E.to.line-E.from.line));return}if(!(E.from.line>a.lastLine())){if(E.from.line<a.first){var ie=E.text.length-1-(a.first-E.from.line);vu(a,ie),E={from:He(a.first,0),to:He(E.to.line+ie,E.to.ch),text:[Ht(E.text)],origin:E.origin}}var ye=a.lastLine();E.to.line>ye&&(E={from:E.from,to:He(ye,jn(a,ye).text.length),text:[E.text[0]],origin:E.origin}),E.removed=sr(a,E.from,E.to),re||(re=fr(a,E)),a.cm?zc(a.cm,E,ne):no(a,E,ne),Oi(a,re,st),a.cantEdit&&Bs(a,He(a.firstLine(),0))&&(a.cantEdit=!1)}}function zc(a,E,re){var ne=a.doc,ie=a.display,ye=E.from,Be=E.to,Ke=!1,ot=ye.line;a.options.lineWrapping||(ot=ve(er(jn(ne,ye.line))),ne.iter(ot,Be.line+1,function(Un){if(Un==ie.maxLine)return Ke=!0,!0})),ne.sel.contains(E.from,E.to)>-1&&In(a),no(ne,E,re,Fs(a)),a.options.lineWrapping||(ne.iter(ot,ye.line+E.text.length,function(Un){var Ir=da(Un);Ir>ie.maxLineLength&&(ie.maxLine=Un,ie.maxLineLength=Ir,ie.maxLineChanged=!0,Ke=!1)}),Ke&&(a.curOp.updateMaxLine=!0)),Kn(ne,ye.line),Et(a,400);var xt=E.text.length-(Be.line-ye.line)-1;E.full?Ki(a):ye.line==Be.line&&E.text.length==1&&!Bn(a.doc,E)?Ro(a,ye.line,"text"):Ki(a,ye.line,Be.line+1,xt);var dn=xn(a,"changes"),yn=xn(a,"change");if(yn||dn){var Wn={from:ye,to:Be,text:E.text,removed:E.removed,origin:E.origin};yn&&ma(a,"change",a,Wn),dn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Wn)}a.display.selForContextMenu=null}function ll(a,E,re,ne,ie){var ye;ne||(ne=re),Vt(ne,re)<0&&(ye=[ne,re],re=ye[0],ne=ye[1]),typeof E=="string"&&(E=a.splitLines(E)),Sl(a,{from:re,to:ne,text:E,origin:ie})}function Vo(a,E,re,ne){re<a.line?a.line+=ne:E<a.line&&(a.line=E,a.ch=0)}function uc(a,E,re,ne){for(var ie=0;ie<a.length;++ie){var ye=a[ie],Be=!0;if(ye.ranges){ye.copied||(ye=a[ie]=ye.deepCopy(),ye.copied=!0);for(var Ke=0;Ke<ye.ranges.length;Ke++)Vo(ye.ranges[Ke].anchor,E,re,ne),Vo(ye.ranges[Ke].head,E,re,ne);continue}for(var ot=0;ot<ye.changes.length;++ot){var xt=ye.changes[ot];if(re<xt.from.line)xt.from=He(xt.from.line+ne,xt.from.ch),xt.to=He(xt.to.line+ne,xt.to.ch);else if(E<=xt.to.line){Be=!1;break}}Be||(a.splice(0,ie+1),ie=0)}}function Lu(a,E){var re=E.from.line,ne=E.to.line,ie=E.text.length-(ne-re)-1;uc(a.done,re,ne,ie),uc(a.undone,re,ne,ie)}function Zl(a,E,re,ne){var ie=E,ye=E;return typeof E=="number"?ye=jn(a,an(a,E)):ie=ve(E),ie==null?null:(ne(ye,ie)&&a.cm&&Ro(a.cm,ie,re),ye)}function $l(a){this.lines=a,this.parent=null;for(var E=0,re=0;re<a.length;++re)a[re].parent=this,E+=a[re].height;this.height=E}$l.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,E){for(var re=a,ne=a+E;re<ne;++re){var ie=this.lines[re];this.height-=ie.height,Na(ie),ma(ie,"delete")}this.lines.splice(a,E)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,E,re){this.height+=re,this.lines=this.lines.slice(0,a).concat(E).concat(this.lines.slice(a));for(var ne=0;ne<E.length;++ne)E[ne].parent=this},iterN:function(a,E,re){for(var ne=a+E;a<ne;++a)if(re(this.lines[a]))return!0}};function Kl(a){this.children=a;for(var E=0,re=0,ne=0;ne<a.length;++ne){var ie=a[ne];E+=ie.chunkSize(),re+=ie.height,ie.parent=this}this.size=E,this.height=re,this.parent=null}Kl.prototype={chunkSize:function(){return this.size},removeInner:function(a,E){this.size-=E;for(var re=0;re<this.children.length;++re){var ne=this.children[re],ie=ne.chunkSize();if(a<ie){var ye=Math.min(E,ie-a),Be=ne.height;if(ne.removeInner(a,ye),this.height-=Be-ne.height,ie==ye&&(this.children.splice(re--,1),ne.parent=null),(E-=ye)==0)break;a=0}else a-=ie}if(this.size-E<25&&(this.children.length>1||!(this.children[0]instanceof $l))){var Ke=[];this.collapse(Ke),this.children=[new $l(Ke)],this.children[0].parent=this}},collapse:function(a){for(var E=0;E<this.children.length;++E)this.children[E].collapse(a)},insertInner:function(a,E,re){this.size+=E.length,this.height+=re;for(var ne=0;ne<this.children.length;++ne){var ie=this.children[ne],ye=ie.chunkSize();if(a<=ye){if(ie.insertInner(a,E,re),ie.lines&&ie.lines.length>50){for(var Be=ie.lines.length%25+25,Ke=Be;Ke<ie.lines.length;){var ot=new $l(ie.lines.slice(Ke,Ke+=25));ie.height-=ot.height,this.children.splice(++ne,0,ot),ot.parent=this}ie.lines=ie.lines.slice(0,Be),this.maybeSpill()}break}a-=ye}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var E=a.children.splice(a.children.length-5,5),re=new Kl(E);if(a.parent){a.size-=re.size,a.height-=re.height;var ie=Se(a.parent.children,a);a.parent.children.splice(ie+1,0,re)}else{var ne=new Kl(a.children);ne.parent=a,a.children=[ne,re],a=ne}re.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,E,re){for(var ne=0;ne<this.children.length;++ne){var ie=this.children[ne],ye=ie.chunkSize();if(a<ye){var Be=Math.min(E,ye-a);if(ie.iterN(a,Be,re))return!0;if((E-=Be)==0)break;a=0}else a-=ye}}};var Ll=function(a,E,re){if(re)for(var ne in re)re.hasOwnProperty(ne)&&(this[ne]=re[ne]);this.doc=a,this.node=E};Ll.prototype.clear=function(){var a=this.doc.cm,E=this.line.widgets,re=this.line,ne=ve(re);if(!(ne==null||!E)){for(var ie=0;ie<E.length;++ie)E[ie]==this&&E.splice(ie--,1);E.length||(re.widgets=null);var ye=ki(this);zr(re,Math.max(0,re.height-ye)),a&&(Ae(a,function(){Mu(a,re,-ye),Ro(a,ne,"widget")}),ma(a,"lineWidgetCleared",a,this,ne))}},Ll.prototype.changed=function(){var a=this,E=this.height,re=this.doc.cm,ne=this.line;this.height=null;var ie=ki(this)-E;ie&&(xr(this.doc,ne)||zr(ne,ne.height+ie),re&&Ae(re,function(){re.curOp.forceUpdate=!0,Mu(re,ne,ie),ma(re,"lineWidgetChanged",re,a,ve(ne))}))},kt(Ll);function Mu(a,E,re){ba(E)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Ss(a,re)}function cc(a,E,re,ne){var ie=new Ll(a,re,ne),ye=a.cm;return ye&&ie.noHScroll&&(ye.display.alignWidgets=!0),Zl(a,E,"widget",function(Be){var Ke=Be.widgets||(Be.widgets=[]);if(ie.insertAt==null?Ke.push(ie):Ke.splice(Math.min(Ke.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=Be,ye&&!xr(a,Be)){var ot=ba(Be)<a.scrollTop;zr(Be,Be.height+ki(ie)),ot&&Ss(ye,ie.height),ye.curOp.forceUpdate=!0}return!0}),ye&&ma(ye,"lineWidgetAdded",ye,ie,typeof E=="number"?E:ve(E)),ie}var bu=0,Ys=function(a,E){this.lines=[],this.type=E,this.doc=a,this.id=++bu};Ys.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,E=a&&!a.curOp;if(E&&io(a),xn(this,"clear")){var re=this.find();re&&ma(this,"clear",re.from,re.to)}for(var ne=null,ie=null,ye=0;ye<this.lines.length;++ye){var Be=this.lines[ye],Ke=Qr(Be.markedSpans,this);a&&!this.collapsed?Ro(a,ve(Be),"text"):a&&(Ke.to!=null&&(ie=ve(Be)),Ke.from!=null&&(ne=ve(Be))),Be.markedSpans=ca(Be.markedSpans,Ke),Ke.from==null&&this.collapsed&&!xr(this.doc,Be)&&a&&zr(Be,$i(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ot=0;ot<this.lines.length;++ot){var xt=er(this.lines[ot]),dn=da(xt);dn>a.display.maxLineLength&&(a.display.maxLine=xt,a.display.maxLineLength=dn,a.display.maxLineChanged=!0)}ne!=null&&a&&this.collapsed&&Ki(a,ne,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Ps(a.doc)),a&&ma(a,"markerCleared",a,this,ne,ie),E&&ss(a),this.parent&&this.parent.clear()}},Ys.prototype.find=function(a,E){a==null&&this.type=="bookmark"&&(a=1);for(var re,ne,ie=0;ie<this.lines.length;++ie){var ye=this.lines[ie],Be=Qr(ye.markedSpans,this);if(Be.from!=null&&(re=He(E?ye:ve(ye),Be.from),a==-1))return re;if(Be.to!=null&&(ne=He(E?ye:ve(ye),Be.to),a==1))return ne}return re&&{from:re,to:ne}},Ys.prototype.changed=function(){var a=this,E=this.find(-1,!0),re=this,ne=this.doc.cm;!E||!ne||Ae(ne,function(){var ie=E.line,ye=ve(E.line),Be=mo(ne,ye);if(Be&&(ns(Be),ne.curOp.selectionChanged=ne.curOp.forceUpdate=!0),ne.curOp.updateMaxLine=!0,!xr(re.doc,ie)&&re.height!=null){var Ke=re.height;re.height=null;var ot=ki(re)-Ke;ot&&zr(ie,ie.height+ot)}ma(ne,"markerChanged",ne,a)})},Ys.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var E=this.doc.cm.curOp;(!E.maybeHiddenMarkers||Se(E.maybeHiddenMarkers,this)==-1)&&(E.maybeUnhiddenMarkers||(E.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Ys.prototype.detachLine=function(a){if(this.lines.splice(Se(this.lines,a),1),!this.lines.length&&this.doc.cm){var E=this.doc.cm.curOp;(E.maybeHiddenMarkers||(E.maybeHiddenMarkers=[])).push(this)}},kt(Ys);function xl(a,E,re,ne,ie){if(ne&&ne.shared)return Hc(a,E,re,ne,ie);if(a.cm&&!a.cm.curOp)return ke(a.cm,xl)(a,E,re,ne,ie);var ye=new Ys(a,ie),Be=Vt(E,re);if(ne&&Tn(ne,ye,!1),Be>0||Be==0&&ye.clearWhenEmpty!==!1)return ye;if(ye.replacedWith&&(ye.collapsed=!0,ye.widgetNode=vt("span",[ye.replacedWith],"CodeMirror-widget"),ne.handleMouseEvents||ye.widgetNode.setAttribute("cm-ignore-events","true"),ne.insertLeft&&(ye.widgetNode.insertLeft=!0)),ye.collapsed){if(or(a,E.line,E,re,ye)||E.line!=re.line&&or(a,re.line,E,re,ye))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wr()}ye.addToHistory&&gl(a,{from:E,to:re,origin:"markText"},a.sel,NaN);var Ke=E.line,ot=a.cm,xt;if(a.iter(Ke,re.line+1,function(yn){ot&&ye.collapsed&&!ot.options.lineWrapping&&er(yn)==ot.display.maxLine&&(xt=!0),ye.collapsed&&Ke!=E.line&&zr(yn,0),Xr(yn,new Zr(ye,Ke==E.line?E.ch:null,Ke==re.line?re.ch:null)),++Ke}),ye.collapsed&&a.iter(E.line,re.line+1,function(yn){xr(a,yn)&&zr(yn,0)}),ye.clearOnEnter&&Mt(ye,"beforeCursorEnter",function(){return ye.clear()}),ye.readOnly&&(Yr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ye.collapsed&&(ye.id=++bu,ye.atomic=!0),ot){if(xt&&(ot.curOp.updateMaxLine=!0),ye.collapsed)Ki(ot,E.line,re.line+1);else if(ye.className||ye.startStyle||ye.endStyle||ye.css||ye.attributes||ye.title)for(var dn=E.line;dn<=re.line;dn++)Ro(ot,dn,"text");ye.atomic&&Ps(ot.doc),ma(ot,"markerAdded",ot,ye)}return ye}var Ml=function(a,E){this.markers=a,this.primary=E;for(var re=0;re<a.length;++re)a[re].parent=this};Ml.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();ma(this,"clear")}},Ml.prototype.find=function(a,E){return this.primary.find(a,E)},kt(Ml);function Hc(a,E,re,ne,ie){ne=Tn(ne),ne.shared=!1;var ye=[xl(a,E,re,ne,ie)],Be=ye[0],Ke=ne.widgetNode;return Ao(a,function(ot){Ke&&(ne.widgetNode=Ke.cloneNode(!0)),ye.push(xl(ot,Kt(ot,E),Kt(ot,re),ne,ie));for(var xt=0;xt<ot.linked.length;++xt)if(ot.linked[xt].isParent)return;Be=Ht(ye)}),new Ml(ye,Be)}function Pu(a){return a.findMarks(He(a.first,0),a.clipPos(He(a.lastLine())),function(E){return E.parent})}function yu(a,E){for(var re=0;re<E.length;re++){var ne=E[re],ie=ne.find(),ye=a.clipPos(ie.from),Be=a.clipPos(ie.to);if(Vt(ye,Be)){var Ke=xl(a,ye,Be,ne.primary,ne.primary.type);ne.markers.push(Ke),Ke.parent=ne}}}function dc(a){for(var E=function(ne){var ie=a[ne],ye=[ie.primary.doc];Ao(ie.primary.doc,function(ot){return ye.push(ot)});for(var Be=0;Be<ie.markers.length;Be++){var Ke=ie.markers[Be];Se(ye,Ke.doc)==-1&&(Ke.parent=null,ie.markers.splice(Be--,1))}},re=0;re<a.length;re++)E(re)}var Bu=0,Mo=function(a,E,re,ne,ie){if(!(this instanceof Mo))return new Mo(a,E,re,ne,ie);re==null&&(re=0),Kl.call(this,[new $l([new Ma("",null)])]),this.first=re,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=re;var ye=He(re,0);this.sel=Ne(ye),this.history=new Ls(null),this.id=++Bu,this.modeOption=E,this.lineSep=ne,this.direction=ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),no(this,{from:ye,to:ye,text:a}),Za(this,Ne(ye),st)};Mo.prototype=he(Kl.prototype,{constructor:Mo,iter:function(a,E,re){re?this.iterN(a-this.first,E-a,re):this.iterN(this.first,this.first+this.size,a)},insert:function(a,E){for(var re=0,ne=0;ne<E.length;++ne)re+=E[ne].height;this.insertInner(a-this.first,E,re)},remove:function(a,E){this.removeInner(a-this.first,E)},getValue:function(a){var E=Kr(this,this.first,this.first+this.size);return a===!1?E:E.join(a||this.lineSeparator())},setValue:mt(function(a){var E=He(this.first,0),re=this.first+this.size-1;Sl(this,{from:E,to:He(re,jn(this,re).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&xs(this.cm,0,0),Za(this,Ne(E),st)}),replaceRange:function(a,E,re,ne){E=Kt(this,E),re=re?Kt(this,re):E,ll(this,a,E,re,ne)},getRange:function(a,E,re){var ne=sr(this,Kt(this,a),Kt(this,E));return re===!1?ne:ne.join(re||this.lineSeparator())},getLine:function(a){var E=this.getLineHandle(a);return E&&E.text},getLineHandle:function(a){if(ut(this,a))return jn(this,a)},getLineNumber:function(a){return ve(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=jn(this,a)),er(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Kt(this,a)},getCursor:function(a){var E=this.sel.primary(),re;return a==null||a=="head"?re=E.head:a=="anchor"?re=E.anchor:a=="end"||a=="to"||a===!1?re=E.to():re=E.from(),re},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:mt(function(a,E,re){Lr(this,Kt(this,typeof a=="number"?He(a,E||0):a),null,re)}),setSelection:mt(function(a,E,re){Lr(this,Kt(this,a),Kt(this,E||a),re)}),extendSelection:mt(function(a,E,re){Dl(this,Kt(this,a),E&&Kt(this,E),re)}),extendSelections:mt(function(a,E){Gl(this,rt(this,a),E)}),extendSelectionsBy:mt(function(a,E){var re=gn(this.sel.ranges,a);Gl(this,rt(this,re),E)}),setSelections:mt(function(a,E,re){if(a.length){for(var ne=[],ie=0;ie<a.length;ie++)ne[ie]=new x(Kt(this,a[ie].anchor),Kt(this,a[ie].head));E==null&&(E=Math.min(a.length-1,this.sel.primIndex)),Za(this,ee(this.cm,ne,E),re)}}),addSelection:mt(function(a,E,re){var ne=this.sel.ranges.slice(0);ne.push(new x(Kt(this,a),Kt(this,E||a))),Za(this,ee(this.cm,ne,ne.length-1),re)}),getSelection:function(a){for(var E=this.sel.ranges,re,ne=0;ne<E.length;ne++){var ie=sr(this,E[ne].from(),E[ne].to());re=re?re.concat(ie):ie}return a===!1?re:re.join(a||this.lineSeparator())},getSelections:function(a){for(var E=[],re=this.sel.ranges,ne=0;ne<re.length;ne++){var ie=sr(this,re[ne].from(),re[ne].to());a!==!1&&(ie=ie.join(a||this.lineSeparator())),E[ne]=ie}return E},replaceSelection:function(a,E,re){for(var ne=[],ie=0;ie<this.sel.ranges.length;ie++)ne[ie]=a;this.replaceSelections(ne,E,re||"+input")},replaceSelections:mt(function(a,E,re){for(var ne=[],ie=this.sel,ye=0;ye<ie.ranges.length;ye++){var Be=ie.ranges[ye];ne[ye]={from:Be.from(),to:Be.to(),text:this.splitLines(a[ye]),origin:re}}for(var Ke=E&&E!="end"&&hn(this,ne,E),ot=ne.length-1;ot>=0;ot--)Sl(this,ne[ot]);Ke?oi(this,Ke):this.cm&&jo(this.cm)}),undo:mt(function(){Wl(this,"undo")}),redo:mt(function(){Wl(this,"redo")}),undoSelection:mt(function(){Wl(this,"undo",!0)}),redoSelection:mt(function(){Wl(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,E=0,re=0,ne=0;ne<a.done.length;ne++)a.done[ne].ranges||++E;for(var ie=0;ie<a.undone.length;ie++)a.undone[ie].ranges||++re;return{undo:E,redo:re}},clearHistory:function(){var a=this;this.history=new Ls(this.history.maxGeneration),Ao(this,function(E){return E.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:$s(this.history.done),undone:$s(this.history.undone)}},setHistory:function(a){var E=this.history=new Ls(this.history.maxGeneration);E.done=$s(a.done.slice(0),null,!0),E.undone=$s(a.undone.slice(0),null,!0)},setGutterMarker:mt(function(a,E,re){return Zl(this,a,"gutter",function(ne){var ie=ne.gutterMarkers||(ne.gutterMarkers={});return ie[E]=re,!re&&ge(ie)&&(ne.gutterMarkers=null),!0})}),clearGutter:mt(function(a){var E=this;this.iter(function(re){re.gutterMarkers&&re.gutterMarkers[a]&&Zl(E,re,"gutter",function(){return re.gutterMarkers[a]=null,ge(re.gutterMarkers)&&(re.gutterMarkers=null),!0})})}),lineInfo:function(a){var E;if(typeof a=="number"){if(!ut(this,a)||(E=a,a=jn(this,a),!a))return null}else if(E=ve(a),E==null)return null;return{line:E,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:mt(function(a,E,re){return Zl(this,a,E=="gutter"?"gutter":"class",function(ne){var ie=E=="text"?"textClass":E=="background"?"bgClass":E=="gutter"?"gutterClass":"wrapClass";if(!ne[ie])ne[ie]=re;else{if($e(re).test(ne[ie]))return!1;ne[ie]+=" "+re}return!0})}),removeLineClass:mt(function(a,E,re){return Zl(this,a,E=="gutter"?"gutter":"class",function(ne){var ie=E=="text"?"textClass":E=="background"?"bgClass":E=="gutter"?"gutterClass":"wrapClass",ye=ne[ie];if(ye)if(re==null)ne[ie]=null;else{var Be=ye.match($e(re));if(!Be)return!1;var Ke=Be.index+Be[0].length;ne[ie]=ye.slice(0,Be.index)+(!Be.index||Ke==ye.length?"":" ")+ye.slice(Ke)||null}else return!1;return!0})}),addLineWidget:mt(function(a,E,re){return cc(this,a,E,re)}),removeLineWidget:function(a){a.clear()},markText:function(a,E,re){return xl(this,Kt(this,a),Kt(this,E),re,re&&re.type||"range")},setBookmark:function(a,E){var re={replacedWith:E&&(E.nodeType==null?E.widget:E),insertLeft:E&&E.insertLeft,clearWhenEmpty:!1,shared:E&&E.shared,handleMouseEvents:E&&E.handleMouseEvents};return a=Kt(this,a),xl(this,a,a,re,"bookmark")},findMarksAt:function(a){a=Kt(this,a);var E=[],re=jn(this,a.line).markedSpans;if(re)for(var ne=0;ne<re.length;++ne){var ie=re[ne];(ie.from==null||ie.from<=a.ch)&&(ie.to==null||ie.to>=a.ch)&&E.push(ie.marker.parent||ie.marker)}return E},findMarks:function(a,E,re){a=Kt(this,a),E=Kt(this,E);var ne=[],ie=a.line;return this.iter(a.line,E.line+1,function(ye){var Be=ye.markedSpans;if(Be)for(var Ke=0;Ke<Be.length;Ke++){var ot=Be[Ke];!(ot.to!=null&&ie==a.line&&a.ch>=ot.to||ot.from==null&&ie!=a.line||ot.from!=null&&ie==E.line&&ot.from>=E.ch)&&(!re||re(ot.marker))&&ne.push(ot.marker.parent||ot.marker)}++ie}),ne},getAllMarks:function(){var a=[];return this.iter(function(E){var re=E.markedSpans;if(re)for(var ne=0;ne<re.length;++ne)re[ne].from!=null&&a.push(re[ne].marker)}),a},posFromIndex:function(a){var E,re=this.first,ne=this.lineSeparator().length;return this.iter(function(ie){var ye=ie.text.length+ne;if(ye>a)return E=a,!0;a-=ye,++re}),Kt(this,He(re,E))},indexFromPos:function(a){a=Kt(this,a);var E=a.ch;if(a.line<this.first||a.ch<0)return 0;var re=this.lineSeparator().length;return this.iter(this.first,a.line,function(ne){E+=ne.text.length+re}),E},copy:function(a){var E=new Mo(Kr(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return E.scrollTop=this.scrollTop,E.scrollLeft=this.scrollLeft,E.sel=this.sel,E.extend=!1,a&&(E.history.undoDepth=this.history.undoDepth,E.setHistory(this.getHistory())),E},linkedDoc:function(a){a||(a={});var E=this.first,re=this.first+this.size;a.from!=null&&a.from>E&&(E=a.from),a.to!=null&&a.to<re&&(re=a.to);var ne=new Mo(Kr(this,E,re),a.mode||this.modeOption,E,this.lineSep,this.direction);return a.sharedHist&&(ne.history=this.history),(this.linked||(this.linked=[])).push({doc:ne,sharedHist:a.sharedHist}),ne.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],yu(ne,Pu(this)),ne},unlinkDoc:function(a){if(a instanceof Zi&&(a=a.doc),this.linked)for(var E=0;E<this.linked.length;++E){var re=this.linked[E];if(re.doc==a){this.linked.splice(E,1),a.unlinkDoc(this),dc(Pu(this));break}}if(a.history==this.history){var ne=[a.id];Ao(a,function(ie){return ne.push(ie.id)},!0),a.history=new Ls(null),a.history.done=$s(this.history.done,ne),a.history.undone=$s(this.history.undone,ne)}},iterLinkedDocs:function(a){Ao(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):ar(a)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:mt(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(E){return E.order=null}),this.cm&&co(this.cm))})}),Mo.prototype.eachLine=Mo.prototype.iter;var Fu=0;function _u(a){var E=this;if(Eu(E),!(ln(E,a)||ti(E.display,a))){Yt(a),be&&(Fu=+new Date);var re=Ho(E,a,!0),ne=a.dataTransfer.files;if(!(!re||E.isReadOnly()))if(ne&&ne.length&&window.FileReader&&window.File)for(var ie=ne.length,ye=Array(ie),Be=0,Ke=function(){++Be==ie&&ke(E,function(){re=Kt(E.doc,re);var Un={from:re,to:re,text:E.doc.splitLines(ye.filter(function(Ir){return Ir!=null}).join(E.doc.lineSeparator())),origin:"paste"};Sl(E.doc,Un),oi(E.doc,Ne(Kt(E.doc,re),Kt(E.doc,Ot(Un))))})()},ot=function(Un,Ir){if(E.options.allowDropFileTypes&&Se(E.options.allowDropFileTypes,Un.type)==-1){Ke();return}var Fr=new FileReader;Fr.onerror=function(){return Ke()},Fr.onload=function(){var oe=Fr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(oe)){Ke();return}ye[Ir]=oe,Ke()},Fr.readAsText(Un)},xt=0;xt<ne.length;xt++)ot(ne[xt],xt);else{if(E.state.draggingText&&E.doc.sel.contains(re)>-1){E.state.draggingText(a),setTimeout(function(){return E.display.input.focus()},20);return}try{var dn=a.dataTransfer.getData("Text");if(dn){var yn;if(E.state.draggingText&&!E.state.draggingText.copy&&(yn=E.listSelections()),Oi(E.doc,Ne(re,re)),yn)for(var Wn=0;Wn<yn.length;++Wn)ll(E.doc,"",yn[Wn].anchor,yn[Wn].head,"drag");E.replaceSelection(dn,"around","paste"),E.display.input.focus()}}catch(Un){}}}}function fc(a,E){if(be&&(!a.state.draggingText||+new Date-Fu<100)){Ct(E);return}if(!(ln(a,E)||ti(a.display,E))&&(E.dataTransfer.setData("Text",a.getSelection()),E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setDragImage&&!Ge)){var re=Nt("img",null,null,"position: fixed; left: 0; top: 0;");re.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",xe&&(re.width=re.height=1,a.display.wrapper.appendChild(re),re._top=re.offsetTop),E.dataTransfer.setDragImage(re,0,0),xe&&re.parentNode.removeChild(re)}}function jc(a,E){var re=Ho(a,E);if(re){var ne=document.createDocumentFragment();nl(a,re,ne),a.display.dragCursor||(a.display.dragCursor=Nt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),it(a.display.dragCursor,ne)}}function Eu(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function pc(a){if(document.getElementsByClassName){for(var E=document.getElementsByClassName("CodeMirror"),re=[],ne=0;ne<E.length;ne++){var ie=E[ne].CodeMirror;ie&&re.push(ie)}re.length&&re[0].operation(function(){for(var ye=0;ye<re.length;ye++)a(re[ye])})}}var Uu=!1;function zu(){Uu||(Gc(),Uu=!0)}function Gc(){var a;Mt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,pc(hc)},100))}),Mt(window,"blur",function(){return pc(bs)})}function hc(a){var E=a.display;E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.scrollbarsClipped=!1,a.setSize()}for(var Cl={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"},Yl=0;Yl<10;Yl++)Cl[Yl+48]=Cl[Yl+96]=String(Yl);for(var wl=65;wl<=90;wl++)Cl[wl]=String.fromCharCode(wl);for(var su=1;su<=12;su++)Cl[su+111]=Cl[su+63235]="F"+su;var Xs={};Xs.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"},Xs.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"},Xs.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"},Xs.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"]},Xs.default=We?Xs.macDefault:Xs.pcDefault;function mc(a){var E=a.split(/-(?!$)/);a=E[E.length-1];for(var re,ne,ie,ye,Be=0;Be<E.length-1;Be++){var Ke=E[Be];if(/^(cmd|meta|m)$/i.test(Ke))ye=!0;else if(/^a(lt)?$/i.test(Ke))re=!0;else if(/^(c|ctrl|control)$/i.test(Ke))ne=!0;else if(/^s(hift)?$/i.test(Ke))ie=!0;else throw new Error("Unrecognized modifier name: "+Ke)}return re&&(a="Alt-"+a),ne&&(a="Ctrl-"+a),ye&&(a="Cmd-"+a),ie&&(a="Shift-"+a),a}function gc(a){var E={};for(var re in a)if(a.hasOwnProperty(re)){var ne=a[re];if(/^(name|fallthrough|(de|at)tach)$/.test(re))continue;if(ne=="..."){delete a[re];continue}for(var ie=gn(re.split(" "),mc),ye=0;ye<ie.length;ye++){var Be=void 0,Ke=void 0;ye==ie.length-1?(Ke=ie.join(" "),Be=ne):(Ke=ie.slice(0,ye+1).join(" "),Be="...");var ot=E[Ke];if(!ot)E[Ke]=Be;else if(ot!=Be)throw new Error("Inconsistent bindings for "+Ke)}delete a[re]}for(var xt in E)a[xt]=E[xt];return a}function Pl(a,E,re,ne){E=uu(E);var ie=E.call?E.call(a,ne):E[a];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&re(ie))return"handled";if(E.fallthrough){if(Object.prototype.toString.call(E.fallthrough)!="[object Array]")return Pl(a,E.fallthrough,re,ne);for(var ye=0;ye<E.fallthrough.length;ye++){var Be=Pl(a,E.fallthrough[ye],re,ne);if(Be)return Be}}}function lu(a){var E=typeof a=="string"?a:Cl[a.keyCode];return E=="Ctrl"||E=="Alt"||E=="Shift"||E=="Mod"}function Hu(a,E,re){var ne=a;return E.altKey&&ne!="Alt"&&(a="Alt-"+a),(ze?E.metaKey:E.ctrlKey)&&ne!="Ctrl"&&(a="Ctrl-"+a),(ze?E.ctrlKey:E.metaKey)&&ne!="Mod"&&(a="Cmd-"+a),!re&&E.shiftKey&&ne!="Shift"&&(a="Shift-"+a),a}function vc(a,E){if(xe&&a.keyCode==34&&a.char)return!1;var re=Cl[a.keyCode];return re==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(re=a.code),Hu(re,a,E))}function uu(a){return typeof a=="string"?Xs[a]:a}function Bl(a,E){for(var re=a.doc.sel.ranges,ne=[],ie=0;ie<re.length;ie++){for(var ye=E(re[ie]);ne.length&&Vt(ye.from,Ht(ne).to)<=0;){var Be=ne.pop();if(Vt(Be.from,ye.from)<0){ye.from=Be.from;break}}ne.push(ye)}Ae(a,function(){for(var Ke=ne.length-1;Ke>=0;Ke--)ll(a.doc,"",ne[Ke].from,ne[Ke].to,"+delete");jo(a)})}function Su(a,E,re){var ne=$t(a.text,E+re,re);return ne<0||ne>a.text.length?null:ne}function xu(a,E,re){var ne=Su(a,E.ch,re);return ne==null?null:new He(E.line,ne,re<0?"after":"before")}function cu(a,E,re,ne,ie){if(a){E.doc.direction=="rtl"&&(ie=-ie);var ye=pn(re,E.doc.direction);if(ye){var Be=ie<0?Ht(ye):ye[0],Ke=ie<0==(Be.level==1),ot=Ke?"after":"before",xt;if(Be.level>0||E.doc.direction=="rtl"){var dn=Hi(E,re);xt=ie<0?re.text.length-1:0;var yn=wo(E,dn,xt).top;xt=gt(function(Wn){return wo(E,dn,Wn).top==yn},ie<0==(Be.level==1)?Be.from:Be.to-1,xt),ot=="before"&&(xt=Su(re,xt,1))}else xt=ie<0?Be.to:Be.from;return new He(ne,xt,ot)}}return new He(ne,ie<0?re.text.length:0,ie<0?"before":"after")}function bc(a,E,re,ne){var ie=pn(E,a.doc.direction);if(!ie)return xu(E,re,ne);re.ch>=E.text.length?(re.ch=E.text.length,re.sticky="before"):re.ch<=0&&(re.ch=0,re.sticky="after");var ye=Pt(ie,re.ch,re.sticky),Be=ie[ye];if(a.doc.direction=="ltr"&&Be.level%2==0&&(ne>0?Be.to>re.ch:Be.from<re.ch))return xu(E,re,ne);var Ke=function(z,te){return Su(E,z instanceof He?z.ch:z,te)},ot,xt=function(z){return a.options.lineWrapping?(ot=ot||Hi(a,E),ji(a,E,ot,z)):{begin:0,end:E.text.length}},dn=xt(re.sticky=="before"?Ke(re,-1):re.ch);if(a.doc.direction=="rtl"||Be.level==1){var yn=Be.level==1==ne<0,Wn=Ke(re,yn?1:-1);if(Wn!=null&&(yn?Wn<=Be.to&&Wn<=dn.end:Wn>=Be.from&&Wn>=dn.begin)){var Un=yn?"before":"after";return new He(re.line,Wn,Un)}}var Ir=function(z,te,ue){for(var Ee=function(ht,zt){return zt?new He(re.line,Ke(ht,1),"before"):new He(re.line,ht,"after")};z>=0&&z<ie.length;z+=te){var Me=ie[z],Xe=te>0==(Me.level!=1),lt=Xe?ue.begin:Ke(ue.end,-1);if(Me.from<=lt&<<Me.to||(lt=Xe?Me.from:Ke(Me.to,-1),ue.begin<=lt&<<ue.end))return Ee(lt,Xe)}},Fr=Ir(ye+ne,ne,dn);if(Fr)return Fr;var oe=ne>0?dn.end:Ke(dn.begin,-1);return oe!=null&&!(ne>0&&oe==E.text.length)&&(Fr=Ir(ne>0?0:ie.length-1,ne,xt(oe)),Fr)?Fr:null}var Xl={selectAll:Ks,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),st)},killLine:function(a){return Bl(a,function(E){if(E.empty()){var re=jn(a.doc,E.head.line).text.length;return E.head.ch==re&&E.head.line<a.lastLine()?{from:E.head,to:He(E.head.line+1,0)}:{from:E.head,to:He(E.head.line,re)}}else return{from:E.from(),to:E.to()}})},deleteLine:function(a){return Bl(a,function(E){return{from:He(E.from().line,0),to:Kt(a.doc,He(E.to().line+1,0))}})},delLineLeft:function(a){return Bl(a,function(E){return{from:He(E.from().line,0),to:E.from()}})},delWrappedLineLeft:function(a){return Bl(a,function(E){var re=a.charCoords(E.head,"div").top+5,ne=a.coordsChar({left:0,top:re},"div");return{from:ne,to:E.from()}})},delWrappedLineRight:function(a){return Bl(a,function(E){var re=a.charCoords(E.head,"div").top+5,ne=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:re},"div");return{from:E.from(),to:ne}})},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(He(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(He(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(E){return Cu(a,E.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(E){return Ec(a,E.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(E){return yc(a,E.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(E){var re=a.cursorCoords(E.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:re},"div")},Gt)},goLineLeft:function(a){return a.extendSelectionsBy(function(E){var re=a.cursorCoords(E.head,"div").top+5;return a.coordsChar({left:0,top:re},"div")},Gt)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(E){var re=a.cursorCoords(E.head,"div").top+5,ne=a.coordsChar({left:0,top:re},"div");return ne.ch<a.getLine(ne.line).search(/\S/)?Ec(a,E.head):ne},Gt)},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 E=[],re=a.listSelections(),ne=a.options.tabSize,ie=0;ie<re.length;ie++){var ye=re[ie].from(),Be=Tt(a.getLine(ye.line),ye.ch,ne);E.push(En(ne-Be%ne))}a.replaceSelections(E)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Ae(a,function(){for(var E=a.listSelections(),re=[],ne=0;ne<E.length;ne++)if(E[ne].empty()){var ie=E[ne].head,ye=jn(a.doc,ie.line).text;if(ye){if(ie.ch==ye.length&&(ie=new He(ie.line,ie.ch-1)),ie.ch>0)ie=new He(ie.line,ie.ch+1),a.replaceRange(ye.charAt(ie.ch-1)+ye.charAt(ie.ch-2),He(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>a.doc.first){var Be=jn(a.doc,ie.line-1).text;Be&&(ie=new He(ie.line,1),a.replaceRange(ye.charAt(0)+a.doc.lineSeparator()+Be.charAt(Be.length-1),He(ie.line-1,Be.length-1),ie,"+transpose"))}}re.push(new x(ie,ie))}a.setSelections(re)})},newlineAndIndent:function(a){return Ae(a,function(){for(var E=a.listSelections(),re=E.length-1;re>=0;re--)a.replaceRange(a.doc.lineSeparator(),E[re].anchor,E[re].head,"+input");E=a.listSelections();for(var ne=0;ne<E.length;ne++)a.indentLine(E[ne].from().line,null,!0);jo(a)})},openLine:function(a){return a.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function Cu(a,E){var re=jn(a.doc,E),ne=er(re);return ne!=re&&(E=ve(ne)),cu(!0,a,ne,E,1)}function yc(a,E){var re=jn(a.doc,E),ne=Dr(re);return ne!=re&&(E=ve(ne)),cu(!0,a,re,E,-1)}function Ec(a,E){var re=Cu(a,E.line),ne=jn(a.doc,re.line),ie=pn(ne,a.doc.direction);if(!ie||ie[0].level==0){var ye=Math.max(re.ch,ne.text.search(/\S/)),Be=E.line==re.line&&E.ch<=ye&&E.ch;return He(re.line,Be?0:ye,re.sticky)}return re}function Po(a,E,re){if(typeof E=="string"&&(E=Xl[E],!E))return!1;a.display.input.ensurePolled();var ne=a.display.shift,ie=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),re&&(a.display.shift=!1),ie=E(a)!=on}finally{a.display.shift=ne,a.state.suppressEdits=!1}return ie}function Sc(a,E,re){for(var ne=0;ne<a.state.keyMaps.length;ne++){var ie=Pl(E,a.state.keyMaps[ne],re,a);if(ie)return ie}return a.options.extraKeys&&Pl(E,a.options.extraKeys,re,a)||Pl(E,a.options.keyMap,re,a)}var ju=new Ye;function Ql(a,E,re,ne){var ie=a.state.keySeq;if(ie){if(lu(E))return"handled";if(/\'$/.test(E)?a.state.keySeq=null:ju.set(50,function(){a.state.keySeq==ie&&(a.state.keySeq=null,a.display.input.reset())}),Gu(a,ie+" "+E,re,ne))return!0}return Gu(a,E,re,ne)}function Gu(a,E,re,ne){var ie=Sc(a,E,ne);return ie=="multi"&&(a.state.keySeq=E),ie=="handled"&&ma(a,"keyHandled",a,E,re),(ie=="handled"||ie=="multi")&&(Yt(re),vs(a)),!!ie}function wu(a,E){var re=vc(E,!0);return re?E.shiftKey&&!a.state.keySeq?Ql(a,"Shift-"+re,E,function(ne){return Po(a,ne,!0)})||Ql(a,re,E,function(ne){if(typeof ne=="string"?/^go[A-Z]/.test(ne):ne.motion)return Po(a,ne)}):Ql(a,re,E,function(ne){return Po(a,ne)}):!1}function xc(a,E,re){return Ql(a,"'"+re+"'",E,function(ne){return Po(a,ne,!0)})}var Wu=null;function Tl(a){var E=this;if(!(a.target&&a.target!=E.display.input.getField())&&(E.curOp.focus=St(),!ln(E,a))){be&&fe<11&&a.keyCode==27&&(a.returnValue=!1);var re=a.keyCode;E.display.shift=re==16||a.shiftKey;var ne=wu(E,a);xe&&(Wu=ne?re:null,!ne&&re==88&&!wt&&(We?a.metaKey:a.ctrlKey)&&E.replaceSelection("",null,"cut")),b&&!We&&!ne&&re==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),re==18&&!/\bCodeMirror-crosshair\b/.test(E.display.lineDiv.className)&&ql(E)}}function ql(a){var E=a.display.lineDiv;qe(E,"CodeMirror-crosshair");function re(ne){(ne.keyCode==18||!ne.altKey)&&(nt(E,"CodeMirror-crosshair"),kn(document,"keyup",re),kn(document,"mouseover",re))}Mt(document,"keyup",re),Mt(document,"mouseover",re)}function Cc(a){a.keyCode==16&&(this.doc.sel.shift=!1),ln(this,a)}function Vu(a){var E=this;if(!(a.target&&a.target!=E.display.input.getField())&&!(ti(E.display,a)||ln(E,a)||a.ctrlKey&&!a.altKey||We&&a.metaKey)){var re=a.keyCode,ne=a.charCode;if(xe&&re==Wu){Wu=null,Yt(a);return}if(!(xe&&(!a.which||a.which<10)&&wu(E,a))){var ie=String.fromCharCode(ne==null?re:ne);ie!="\b"&&(xc(E,a,ie)||E.display.input.onKeyPress(a))}}}var Zu=400,Tu=function(a,E,re){this.time=a,this.pos=E,this.button=re};Tu.prototype.compare=function(a,E,re){return this.time+Zu>a&&Vt(E,this.pos)==0&&re==this.button};var Jl,eu;function wc(a,E){var re=+new Date;return eu&&eu.compare(re,a,E)?(Jl=eu=null,"triple"):Jl&&Jl.compare(re,a,E)?(eu=new Tu(re,a,E),Jl=null,"double"):(Jl=new Tu(re,a,E),eu=null,"single")}function $u(a){var E=this,re=E.display;if(!(ln(E,a)||re.activeTouch&&re.input.supportsTouch())){if(re.input.ensurePolled(),re.shift=a.shiftKey,ti(re,a)){we||(re.scroller.draggable=!1,setTimeout(function(){return re.scroller.draggable=!0},100));return}if(!Bo(E,a)){var ne=Ho(E,a),ie=de(a),ye=ne?wc(ne,ie):"single";window.focus(),ie==1&&E.state.selectingText&&E.state.selectingText(a),!(ne&&Ku(E,ie,ne,ye,a))&&(ie==1?ne?Tc(E,ne,ye,a):pt(a)==re.scroller&&Yt(a):ie==2?(ne&&Dl(E.doc,ne),setTimeout(function(){return re.input.focus()},20)):ie==3&&(_e?E.display.input.onContextMenu(a):rl(E)))}}}function Ku(a,E,re,ne,ie){var ye="Click";return ne=="double"?ye="Double"+ye:ne=="triple"&&(ye="Triple"+ye),ye=(E==1?"Left":E==2?"Middle":"Right")+ye,Ql(a,Hu(ye,ie),ie,function(Be){if(typeof Be=="string"&&(Be=Xl[Be]),!Be)return!1;var Ke=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ke=Be(a,re)!=on}finally{a.state.suppressEdits=!1}return Ke})}function fo(a,E,re){var ne=a.getOption("configureMouse"),ie=ne?ne(a,E,re):{};if(ie.unit==null){var ye=Ve?re.shiftKey&&re.metaKey:re.altKey;ie.unit=ye?"rectangle":E=="single"?"char":E=="double"?"word":"line"}return(ie.extend==null||a.doc.extend)&&(ie.extend=a.doc.extend||re.shiftKey),ie.addNew==null&&(ie.addNew=We?re.metaKey:re.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(We?re.altKey:re.ctrlKey)),ie}function Tc(a,E,re,ne){be?setTimeout(Zt(fl,a),0):a.curOp.focus=St();var ie=fo(a,re,ne),ye=a.doc.sel,Be;a.options.dragDrop&&qt&&!a.isReadOnly()&&re=="single"&&(Be=ye.contains(E))>-1&&(Vt((Be=ye.ranges[Be]).from(),E)<0||E.xRel>0)&&(Vt(Be.to(),E)>0||E.xRel<0)?Wc(a,ne,E,ie):cs(a,ne,E,ie)}function Wc(a,E,re,ne){var ie=a.display,ye=!1,Be=ke(a,function(xt){we&&(ie.scroller.draggable=!1),a.state.draggingText=!1,kn(ie.wrapper.ownerDocument,"mouseup",Be),kn(ie.wrapper.ownerDocument,"mousemove",Ke),kn(ie.scroller,"dragstart",ot),kn(ie.scroller,"drop",Be),ye||(Yt(xt),ne.addNew||Dl(a.doc,re,null,null,ne.extend),we&&!Ge||be&&fe==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Ke=function(xt){ye=ye||Math.abs(E.clientX-xt.clientX)+Math.abs(E.clientY-xt.clientY)>=10},ot=function(){return ye=!0};we&&(ie.scroller.draggable=!0),a.state.draggingText=Be,Be.copy=!ne.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Mt(ie.wrapper.ownerDocument,"mouseup",Be),Mt(ie.wrapper.ownerDocument,"mousemove",Ke),Mt(ie.scroller,"dragstart",ot),Mt(ie.scroller,"drop",Be),rl(a),setTimeout(function(){return ie.input.focus()},20)}function Yu(a,E,re){if(re=="char")return new x(E,E);if(re=="word")return a.findWordAt(E);if(re=="line")return new x(He(E.line,0),Kt(a.doc,He(E.line+1,0)));var ne=re(a,E);return new x(ne.from,ne.to)}function cs(a,E,re,ne){var ie=a.display,ye=a.doc;Yt(E);var Be,Ke,ot=ye.sel,xt=ot.ranges;if(ne.addNew&&!ne.extend?(Ke=ye.sel.contains(re),Ke>-1?Be=xt[Ke]:Be=new x(re,re)):(Be=ye.sel.primary(),Ke=ye.sel.primIndex),ne.unit=="rectangle")ne.addNew||(Be=new x(re,re)),re=Ho(a,E,!0,!0),Ke=-1;else{var dn=Yu(a,re,ne.unit);ne.extend?Be=jl(Be,dn.anchor,dn.head,ne.extend):Be=dn}ne.addNew?Ke==-1?(Ke=xt.length,Za(ye,ee(a,xt.concat([Be]),Ke),{scroll:!1,origin:"*mouse"})):xt.length>1&&xt[Ke].empty()&&ne.unit=="char"&&!ne.extend?(Za(ye,ee(a,xt.slice(0,Ke).concat(xt.slice(Ke+1)),0),{scroll:!1,origin:"*mouse"}),ot=ye.sel):El(ye,Ke,Be,Ut):(Ke=0,Za(ye,new ui([Be],0),Ut),ot=ye.sel);var yn=re;function Wn(ue){if(Vt(yn,ue)!=0)if(yn=ue,ne.unit=="rectangle"){for(var Ee=[],Me=a.options.tabSize,Xe=Tt(jn(ye,re.line).text,re.ch,Me),lt=Tt(jn(ye,ue.line).text,ue.ch,Me),ht=Math.min(Xe,lt),zt=Math.max(Xe,lt),sn=Math.min(re.line,ue.line),An=Math.min(a.lastLine(),Math.max(re.line,ue.line));sn<=An;sn++){var Fn=jn(ye,sn).text,Hn=On(Fn,ht,Me);ht==zt?Ee.push(new x(He(sn,Hn),He(sn,Hn))):Fn.length>Hn&&Ee.push(new x(He(sn,Hn),He(sn,On(Fn,zt,Me))))}Ee.length||Ee.push(new x(re,re)),Za(ye,ee(a,ot.ranges.slice(0,Ke).concat(Ee),Ke),{origin:"*mouse",scroll:!1}),a.scrollIntoView(ue)}else{var ir=Be,Xn=Yu(a,ue,ne.unit),Cr=ir.anchor,Tr;Vt(Xn.anchor,Cr)>0?(Tr=Xn.head,Cr=Xt(ir.from(),Xn.anchor)):(Tr=Xn.anchor,Cr=cn(ir.to(),Xn.head));var kr=ot.ranges.slice(0);kr[Ke]=Ac(a,new x(Kt(ye,Cr),Tr)),Za(ye,ee(a,kr,Ke),Ut)}}var Un=ie.wrapper.getBoundingClientRect(),Ir=0;function Fr(ue){var Ee=++Ir,Me=Ho(a,ue,!0,ne.unit=="rectangle");if(Me)if(Vt(Me,yn)!=0){a.curOp.focus=St(),Wn(Me);var Xe=os(ie,ye);(Me.line>=Xe.to||Me.line<Xe.from)&&setTimeout(ke(a,function(){Ir==Ee&&Fr(ue)}),150)}else{var lt=ue.clientY<Un.top?-20:ue.clientY>Un.bottom?20:0;lt&&setTimeout(ke(a,function(){Ir==Ee&&(ie.scroller.scrollTop+=lt,Fr(ue))}),50)}}function oe(ue){a.state.selectingText=!1,Ir=1/0,ue&&(Yt(ue),ie.input.focus()),kn(ie.wrapper.ownerDocument,"mousemove",z),kn(ie.wrapper.ownerDocument,"mouseup",te),ye.history.lastSelOrigin=null}var z=ke(a,function(ue){ue.buttons===0||!de(ue)?oe(ue):Fr(ue)}),te=ke(a,oe);a.state.selectingText=te,Mt(ie.wrapper.ownerDocument,"mousemove",z),Mt(ie.wrapper.ownerDocument,"mouseup",te)}function Ac(a,E){var re=E.anchor,ne=E.head,ie=jn(a.doc,re.line);if(Vt(re,ne)==0&&re.sticky==ne.sticky)return E;var ye=pn(ie);if(!ye)return E;var Be=Pt(ye,re.ch,re.sticky),Ke=ye[Be];if(Ke.from!=re.ch&&Ke.to!=re.ch)return E;var ot=Be+(Ke.from==re.ch==(Ke.level!=1)?0:1);if(ot==0||ot==ye.length)return E;var xt;if(ne.line!=re.line)xt=(ne.line-re.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var dn=Pt(ye,ne.ch,ne.sticky),yn=dn-Be||(ne.ch-re.ch)*(Ke.level==1?-1:1);dn==ot-1||dn==ot?xt=yn<0:xt=yn>0}var Wn=ye[ot+(xt?-1:0)],Un=xt==(Wn.level==1),Ir=Un?Wn.from:Wn.to,Fr=Un?"after":"before";return re.ch==Ir&&re.sticky==Fr?E:new x(new He(re.line,Ir,Fr),ne)}function Xu(a,E,re,ne){var ie,ye;if(E.touches)ie=E.touches[0].clientX,ye=E.touches[0].clientY;else try{ie=E.clientX,ye=E.clientY}catch(Wn){return!1}if(ie>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;ne&&Yt(E);var Be=a.display,Ke=Be.lineDiv.getBoundingClientRect();if(ye>Ke.bottom||!xn(a,re))return vn(E);ye-=Ke.top-Be.viewOffset;for(var ot=0;ot<a.display.gutterSpecs.length;++ot){var xt=Be.gutters.childNodes[ot];if(xt&&xt.getBoundingClientRect().right>=ie){var dn=Ie(a.doc,ye),yn=a.display.gutterSpecs[ot];return wn(a,re,a,dn,yn.className,E),vn(E)}}}function Bo(a,E){return Xu(a,E,"gutterClick",!0)}function Ic(a,E){ti(a.display,E)||Nc(a,E)||ln(a,E,"contextmenu")||_e||a.display.input.onContextMenu(E)}function Nc(a,E){return xn(a,"gutterContextMenu")?Xu(a,E,"gutterContextMenu",!1):!1}function Qu(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ms(a)}var Fl={toString:function(){return"CodeMirror.Init"}},qu={},tu={};function Rc(a){var E=a.optionHandlers;function re(ne,ie,ye,Be){a.defaults[ne]=ie,ye&&(E[ne]=Be?function(Ke,ot,xt){xt!=Fl&&ye(Ke,ot,xt)}:ye)}a.defineOption=re,a.Init=Fl,re("value","",function(ne,ie){return ne.setValue(ie)},!0),re("mode",null,function(ne,ie){ne.doc.modeOption=ie,wa(ne)},!0),re("indentUnit",2,wa,!0),re("indentWithTabs",!1),re("smartIndent",!0),re("tabSize",4,function(ne){hi(ne),ms(ne),Ki(ne)},!0),re("lineSeparator",null,function(ne,ie){if(ne.doc.lineSep=ie,!!ie){var ye=[],Be=ne.doc.first;ne.doc.iter(function(ot){for(var xt=0;;){var dn=ot.text.indexOf(ie,xt);if(dn==-1)break;xt=dn+ie.length,ye.push(He(Be,dn))}Be++});for(var Ke=ye.length-1;Ke>=0;Ke--)ll(ne.doc,ie,ye[Ke],He(ye[Ke].line,ye[Ke].ch+ie.length))}}),re("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ne,ie,ye){ne.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),ye!=Fl&&ne.refresh()}),re("specialCharPlaceholder",bi,function(ne){return ne.refresh()},!0),re("electricChars",!0),re("inputStyle",Je?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),re("spellcheck",!1,function(ne,ie){return ne.getInputField().spellcheck=ie},!0),re("autocorrect",!1,function(ne,ie){return ne.getInputField().autocorrect=ie},!0),re("autocapitalize",!1,function(ne,ie){return ne.getInputField().autocapitalize=ie},!0),re("rtlMoveVisually",!Ze),re("wholeLineUpdateBefore",!0),re("theme","default",function(ne){Qu(ne),yi(ne)},!0),re("keyMap","default",function(ne,ie,ye){var Be=uu(ie),Ke=ye!=Fl&&uu(ye);Ke&&Ke.detach&&Ke.detach(ne,Be),Be.attach&&Be.attach(ne,Ke||null)}),re("extraKeys",null),re("configureMouse",null),re("lineWrapping",!1,Ju,!0),re("gutters",[],function(ne,ie){ne.display.gutterSpecs=La(ie,ne.options.lineNumbers),yi(ne)},!0),re("fixedGutter",!0,function(ne,ie){ne.display.gutters.style.left=ie?is(ne.display)+"px":"0",ne.refresh()},!0),re("coverGutterNextToScrollbar",!1,function(ne){return qo(ne)},!0),re("scrollbarStyle","native",function(ne){Go(ne),qo(ne),ne.display.scrollbars.setScrollTop(ne.doc.scrollTop),ne.display.scrollbars.setScrollLeft(ne.doc.scrollLeft)},!0),re("lineNumbers",!1,function(ne,ie){ne.display.gutterSpecs=La(ne.options.gutters,ie),yi(ne)},!0),re("firstLineNumber",1,yi,!0),re("lineNumberFormatter",function(ne){return ne},yi,!0),re("showCursorWhenSelecting",!1,gs,!0),re("resetSelectionOnContextMenu",!0),re("lineWiseCopyCut",!0),re("pasteLinesPerSelection",!0),re("selectionsMayTouch",!1),re("readOnly",!1,function(ne,ie){ie=="nocursor"&&(bs(ne),ne.display.input.blur()),ne.display.input.readOnlyChanged(ie)}),re("screenReaderLabel",null,function(ne,ie){ie=ie===""?null:ie,ne.display.input.screenReaderLabelChanged(ie)}),re("disableInput",!1,function(ne,ie){ie||ne.display.input.reset()},!0),re("dragDrop",!0,Oc),re("allowDropFileTypes",null),re("cursorBlinkRate",530),re("cursorScrollMargin",0),re("cursorHeight",1,gs,!0),re("singleCursorHeightPerLine",!0,gs,!0),re("workTime",100),re("workDelay",100),re("flattenSpans",!0,hi,!0),re("addModeClass",!1,hi,!0),re("pollInterval",100),re("undoDepth",200,function(ne,ie){return ne.doc.history.undoDepth=ie}),re("historyEventDelay",1250),re("viewportMargin",10,function(ne){return ne.refresh()},!0),re("maxHighlightLength",1e4,hi,!0),re("moveInputWithCursor",!0,function(ne,ie){ie||ne.display.input.resetPosition()}),re("tabindex",null,function(ne,ie){return ne.display.input.getField().tabIndex=ie||""}),re("autofocus",null),re("direction","ltr",function(ne,ie){return ne.doc.setDirection(ie)},!0),re("phrases",null)}function Oc(a,E,re){var ne=re&&re!=Fl;if(!E!=!ne){var ie=a.display.dragFunctions,ye=E?Mt:kn;ye(a.display.scroller,"dragstart",ie.start),ye(a.display.scroller,"dragenter",ie.enter),ye(a.display.scroller,"dragover",ie.over),ye(a.display.scroller,"dragleave",ie.leave),ye(a.display.scroller,"drop",ie.drop)}}function Ju(a){a.options.lineWrapping?(qe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(nt(a.display.wrapper,"CodeMirror-wrap"),ya(a)),_s(a),Ki(a),ms(a),setTimeout(function(){return qo(a)},100)}function Zi(a,E){var re=this;if(!(this instanceof Zi))return new Zi(a,E);this.options=E=E?Tn(E):{},Tn(qu,E,!1);var ne=E.value;typeof ne=="string"?ne=new Mo(ne,E.mode,null,E.lineSeparator,E.direction):E.mode&&(ne.modeOption=E.mode),this.doc=ne;var ie=new Zi.inputStyles[E.inputStyle](this),ye=this.display=new ta(a,ne,ie,E);ye.wrapper.CodeMirror=this,Qu(this),E.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Go(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 Ye,keySeq:null,specialChars:null},E.autofocus&&!Je&&ye.input.focus(),be&&fe<11&&setTimeout(function(){return re.display.input.reset(!0)},20),ec(this),zu(),io(this),this.curOp.forceUpdate=!0,ml(this,ne),E.autofocus&&!Je||this.hasFocus()?setTimeout(function(){re.hasFocus()&&!re.state.focused&&al(re)},20):bs(this);for(var Be in tu)tu.hasOwnProperty(Be)&&tu[Be](this,E[Be],Fl);pi(this),E.finishInit&&E.finishInit(this);for(var Ke=0;Ke<du.length;++Ke)du[Ke](this);ss(this),we&&E.lineWrapping&&getComputedStyle(ye.lineDiv).textRendering=="optimizelegibility"&&(ye.lineDiv.style.textRendering="auto")}Zi.defaults=qu,Zi.optionHandlers=tu;function ec(a){var E=a.display;Mt(E.scroller,"mousedown",ke(a,$u)),be&&fe<11?Mt(E.scroller,"dblclick",ke(a,function(ot){if(!ln(a,ot)){var xt=Ho(a,ot);if(!(!xt||Bo(a,ot)||ti(a.display,ot))){Yt(ot);var dn=a.findWordAt(xt);Dl(a.doc,dn.anchor,dn.head)}}})):Mt(E.scroller,"dblclick",function(ot){return ln(a,ot)||Yt(ot)}),Mt(E.scroller,"contextmenu",function(ot){return Ic(a,ot)}),Mt(E.input.getField(),"contextmenu",function(ot){E.scroller.contains(ot.target)||Ic(a,ot)});var re,ne={end:0};function ie(){E.activeTouch&&(re=setTimeout(function(){return E.activeTouch=null},1e3),ne=E.activeTouch,ne.end=+new Date)}function ye(ot){if(ot.touches.length!=1)return!1;var xt=ot.touches[0];return xt.radiusX<=1&&xt.radiusY<=1}function Be(ot,xt){if(xt.left==null)return!0;var dn=xt.left-ot.left,yn=xt.top-ot.top;return dn*dn+yn*yn>20*20}Mt(E.scroller,"touchstart",function(ot){if(!ln(a,ot)&&!ye(ot)&&!Bo(a,ot)){E.input.ensurePolled(),clearTimeout(re);var xt=+new Date;E.activeTouch={start:xt,moved:!1,prev:xt-ne.end<=300?ne:null},ot.touches.length==1&&(E.activeTouch.left=ot.touches[0].pageX,E.activeTouch.top=ot.touches[0].pageY)}}),Mt(E.scroller,"touchmove",function(){E.activeTouch&&(E.activeTouch.moved=!0)}),Mt(E.scroller,"touchend",function(ot){var xt=E.activeTouch;if(xt&&!ti(E,ot)&&xt.left!=null&&!xt.moved&&new Date-xt.start<300){var dn=a.coordsChar(E.activeTouch,"page"),yn;!xt.prev||Be(xt,xt.prev)?yn=new x(dn,dn):!xt.prev.prev||Be(xt,xt.prev.prev)?yn=a.findWordAt(dn):yn=new x(He(dn.line,0),Kt(a.doc,He(dn.line+1,0))),a.setSelection(yn.anchor,yn.head),a.focus(),Yt(ot)}ie()}),Mt(E.scroller,"touchcancel",ie),Mt(E.scroller,"scroll",function(){E.scroller.clientHeight&&(jt(a,E.scroller.scrollTop),Vi(a,E.scroller.scrollLeft,!0),wn(a,"scroll",a))}),Mt(E.scroller,"mousewheel",function(ot){return xo(a,ot)}),Mt(E.scroller,"DOMMouseScroll",function(ot){return xo(a,ot)}),Mt(E.wrapper,"scroll",function(){return E.wrapper.scrollTop=E.wrapper.scrollLeft=0}),E.dragFunctions={enter:function(ot){ln(a,ot)||Ct(ot)},over:function(ot){ln(a,ot)||(jc(a,ot),Ct(ot))},start:function(ot){return fc(a,ot)},drop:ke(a,_u),leave:function(ot){ln(a,ot)||Eu(a)}};var Ke=E.input.getField();Mt(Ke,"keyup",function(ot){return Cc.call(a,ot)}),Mt(Ke,"keydown",ke(a,Tl)),Mt(Ke,"keypress",ke(a,Vu)),Mt(Ke,"focus",function(ot){return al(a,ot)}),Mt(Ke,"blur",function(ot){return bs(a,ot)})}var du=[];Zi.defineInitHook=function(a){return du.push(a)};function fu(a,E,re,ne){var ie=a.doc,ye;re==null&&(re="add"),re=="smart"&&(ie.mode.indent?ye=Sn(a,E).state:re="prev");var Be=a.options.tabSize,Ke=jn(ie,E),ot=Tt(Ke.text,null,Be);Ke.stateAfter&&(Ke.stateAfter=null);var xt=Ke.text.match(/^\s*/)[0],dn;if(!ne&&!/\S/.test(Ke.text))dn=0,re="not";else if(re=="smart"&&(dn=ie.mode.indent(ye,Ke.text.slice(xt.length),Ke.text),dn==on||dn>150)){if(!ne)return;re="prev"}re=="prev"?E>ie.first?dn=Tt(jn(ie,E-1).text,null,Be):dn=0:re=="add"?dn=ot+a.options.indentUnit:re=="subtract"?dn=ot-a.options.indentUnit:typeof re=="number"&&(dn=ot+re),dn=Math.max(0,dn);var yn="",Wn=0;if(a.options.indentWithTabs)for(var Un=Math.floor(dn/Be);Un;--Un)Wn+=Be,yn+=" ";if(Wn<dn&&(yn+=En(dn-Wn)),yn!=xt)return ll(ie,yn,He(E,0),He(E,xt.length),"+input"),Ke.stateAfter=null,!0;for(var Ir=0;Ir<ie.sel.ranges.length;Ir++){var Fr=ie.sel.ranges[Ir];if(Fr.head.line==E&&Fr.head.ch<xt.length){var oe=He(E,xt.length);El(ie,Ir,new x(oe,oe));break}}}var ws=null;function nu(a){ws=a}function Au(a,E,re,ne,ie){var ye=a.doc;a.display.shift=!1,ne||(ne=ye.sel);var Be=+new Date-200,Ke=ie=="paste"||a.state.pasteIncoming>Be,ot=ar(E),xt=null;if(Ke&&ne.ranges.length>1)if(ws&&ws.text.join(`
|
|
|
`)==E){if(ne.ranges.length%ws.text.length==0){xt=[];for(var dn=0;dn<ws.text.length;dn++)xt.push(ye.splitLines(ws.text[dn]))}}else ot.length==ne.ranges.length&&a.options.pasteLinesPerSelection&&(xt=gn(ot,function(z){return[z]}));for(var yn=a.curOp.updateInput,Wn=ne.ranges.length-1;Wn>=0;Wn--){var Un=ne.ranges[Wn],Ir=Un.from(),Fr=Un.to();Un.empty()&&(re&&re>0?Ir=He(Ir.line,Ir.ch-re):a.state.overwrite&&!Ke?Fr=He(Fr.line,Math.min(jn(ye,Fr.line).text.length,Fr.ch+Ht(ot).length)):Ke&&ws&&ws.lineWise&&ws.text.join(`
|
|
|
`)==ot.join(`
|
|
|
`)&&(Ir=Fr=He(Ir.line,0)));var oe={from:Ir,to:Fr,text:xt?xt[Wn%xt.length]:ot,origin:ie||(Ke?"paste":a.state.cutIncoming>Be?"cut":"+input")};Sl(a.doc,oe),ma(a,"inputRead",a,oe)}E&&!Ke&&tc(a,E),jo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=yn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Iu(a,E){var re=a.clipboardData&&a.clipboardData.getData("Text");if(re)return a.preventDefault(),!E.isReadOnly()&&!E.options.disableInput&&Ae(E,function(){return Au(E,re,0,null,"paste")}),!0}function tc(a,E){if(!(!a.options.electricChars||!a.options.smartIndent))for(var re=a.doc.sel,ne=re.ranges.length-1;ne>=0;ne--){var ie=re.ranges[ne];if(!(ie.head.ch>100||ne&&re.ranges[ne-1].head.line==ie.head.line)){var ye=a.getModeAt(ie.head),Be=!1;if(ye.electricChars){for(var Ke=0;Ke<ye.electricChars.length;Ke++)if(E.indexOf(ye.electricChars.charAt(Ke))>-1){Be=fu(a,ie.head.line,"smart");break}}else ye.electricInput&&ye.electricInput.test(jn(a.doc,ie.head.line).text.slice(0,ie.head.ch))&&(Be=fu(a,ie.head.line,"smart"));Be&&ma(a,"electricInput",a,ie.head.line)}}}function nc(a){for(var E=[],re=[],ne=0;ne<a.doc.sel.ranges.length;ne++){var ie=a.doc.sel.ranges[ne].head.line,ye={anchor:He(ie,0),head:He(ie+1,0)};re.push(ye),E.push(a.getRange(ye.anchor,ye.head))}return{text:E,ranges:re}}function Nu(a,E,re,ne){a.setAttribute("autocorrect",re?"":"off"),a.setAttribute("autocapitalize",ne?"":"off"),a.setAttribute("spellcheck",!!E)}function rc(){var a=Nt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),E=Nt("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return we?a.style.width="1000px":a.setAttribute("wrap","off"),at&&(a.style.border="1px solid black"),Nu(a),E}function Vc(a){var E=a.optionHandlers,re=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(ne,ie){var ye=this.options,Be=ye[ne];ye[ne]==ie&&ne!="mode"||(ye[ne]=ie,E.hasOwnProperty(ne)&&ke(this,E[ne])(this,ie,Be),wn(this,"optionChange",this,ne))},getOption:function(ne){return this.options[ne]},getDoc:function(){return this.doc},addKeyMap:function(ne,ie){this.state.keyMaps[ie?"push":"unshift"](uu(ne))},removeKeyMap:function(ne){for(var ie=this.state.keyMaps,ye=0;ye<ie.length;++ye)if(ie[ye]==ne||ie[ye].name==ne)return ie.splice(ye,1),!0},addOverlay:Ue(function(ne,ie){var ye=ne.token?ne:a.getMode(this.options,ne);if(ye.startState)throw new Error("Overlays may not be stateful.");un(this.state.overlays,{mode:ye,modeSpec:ne,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(Be){return Be.priority}),this.state.modeGen++,Ki(this)}),removeOverlay:Ue(function(ne){for(var ie=this.state.overlays,ye=0;ye<ie.length;++ye){var Be=ie[ye].modeSpec;if(Be==ne||typeof ne=="string"&&Be.name==ne){ie.splice(ye,1),this.state.modeGen++,Ki(this);return}}}),indentLine:Ue(function(ne,ie,ye){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),ut(this.doc,ne)&&fu(this,ne,ie,ye)}),indentSelection:Ue(function(ne){for(var ie=this.doc.sel.ranges,ye=-1,Be=0;Be<ie.length;Be++){var Ke=ie[Be];if(Ke.empty())Ke.head.line>ye&&(fu(this,Ke.head.line,ne,!0),ye=Ke.head.line,Be==this.doc.sel.primIndex&&jo(this));else{var ot=Ke.from(),xt=Ke.to(),dn=Math.max(ye,ot.line);ye=Math.min(this.lastLine(),xt.line-(xt.ch?0:1))+1;for(var yn=dn;yn<ye;++yn)fu(this,yn,ne);var Wn=this.doc.sel.ranges;ot.ch==0&&ie.length==Wn.length&&Wn[Be].from().ch>0&&El(this.doc,Be,new x(ot,Wn[Be].to()),st)}}}),getTokenAt:function(ne,ie){return tr(this,ne,ie)},getLineTokens:function(ne,ie){return tr(this,He(ne),ie,!0)},getTokenTypeAt:function(ne){ne=Kt(this.doc,ne);var ie=Pr(this,jn(this.doc,ne.line)),ye=0,Be=(ie.length-1)/2,Ke=ne.ch,ot;if(Ke==0)ot=ie[2];else for(;;){var xt=ye+Be>>1;if((xt?ie[xt*2-1]:0)>=Ke)Be=xt;else if(ie[xt*2+1]<Ke)ye=xt+1;else{ot=ie[xt*2+2];break}}var dn=ot?ot.indexOf("overlay "):-1;return dn<0?ot:dn==0?null:ot.slice(0,dn-1)},getModeAt:function(ne){var ie=this.doc.mode;return ie.innerMode?a.innerMode(ie,this.getTokenAt(ne).state).mode:ie},getHelper:function(ne,ie){return this.getHelpers(ne,ie)[0]},getHelpers:function(ne,ie){var ye=[];if(!re.hasOwnProperty(ie))return ye;var Be=re[ie],Ke=this.getModeAt(ne);if(typeof Ke[ie]=="string")Be[Ke[ie]]&&ye.push(Be[Ke[ie]]);else if(Ke[ie])for(var ot=0;ot<Ke[ie].length;ot++){var xt=Be[Ke[ie][ot]];xt&&ye.push(xt)}else Ke.helperType&&Be[Ke.helperType]?ye.push(Be[Ke.helperType]):Be[Ke.name]&&ye.push(Be[Ke.name]);for(var dn=0;dn<Be._global.length;dn++){var yn=Be._global[dn];yn.pred(Ke,this)&&Se(ye,yn.val)==-1&&ye.push(yn.val)}return ye},getStateAfter:function(ne,ie){var ye=this.doc;return ne=an(ye,ne==null?ye.first+ye.size-1:ne),Sn(this,ne+1,ie).state},cursorCoords:function(ne,ie){var ye,Be=this.doc.sel.primary();return ne==null?ye=Be.head:typeof ne=="object"?ye=Kt(this.doc,ne):ye=ne?Be.from():Be.to(),Xi(this,ye,ie||"page")},charCoords:function(ne,ie){return as(this,Kt(this.doc,ne),ie||"page")},coordsChar:function(ne,ie){return ne=tl(this,ne,ie||"page"),eo(this,ne.left,ne.top)},lineAtHeight:function(ne,ie){return ne=tl(this,{top:ne,left:0},ie||"page").top,Ie(this.doc,ne+this.display.viewOffset)},heightAtLine:function(ne,ie,ye){var Be=!1,Ke;if(typeof ne=="number"){var ot=this.doc.first+this.doc.size-1;ne<this.doc.first?ne=this.doc.first:ne>ot&&(ne=ot,Be=!0),Ke=jn(this.doc,ne)}else Ke=ne;return zo(this,Ke,{top:0,left:0},ie||"page",ye||Be).top+(Be?this.doc.height-ba(Ke):0)},defaultTextHeight:function(){return $i(this.display)},defaultCharWidth:function(){return Eo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ne,ie,ye,Be,Ke){var ot=this.display;ne=Xi(this,Kt(this.doc,ne));var xt=ne.bottom,dn=ne.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),ot.sizer.appendChild(ie),Be=="over")xt=ne.top;else if(Be=="above"||Be=="near"){var yn=Math.max(ot.wrapper.clientHeight,this.doc.height),Wn=Math.max(ot.sizer.clientWidth,ot.lineSpace.clientWidth);(Be=="above"||ne.bottom+ie.offsetHeight>yn)&&ne.top>ie.offsetHeight?xt=ne.top-ie.offsetHeight:ne.bottom+ie.offsetHeight<=yn&&(xt=ne.bottom),dn+ie.offsetWidth>Wn&&(dn=Wn-ie.offsetWidth)}ie.style.top=xt+"px",ie.style.left=ie.style.right="",Ke=="right"?(dn=ot.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(Ke=="left"?dn=0:Ke=="middle"&&(dn=(ot.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=dn+"px"),ye&&_l(this,{left:dn,top:xt,right:dn+ie.offsetWidth,bottom:xt+ie.offsetHeight})},triggerOnKeyDown:Ue(Tl),triggerOnKeyPress:Ue(Vu),triggerOnKeyUp:Cc,triggerOnMouseDown:Ue($u),execCommand:function(ne){if(Xl.hasOwnProperty(ne))return Xl[ne].call(null,this)},triggerElectric:Ue(function(ne){tc(this,ne)}),findPosH:function(ne,ie,ye,Be){var Ke=1;ie<0&&(Ke=-1,ie=-ie);for(var ot=Kt(this.doc,ne),xt=0;xt<ie&&(ot=Ru(this.doc,ot,Ke,ye,Be),!ot.hitSide);++xt);return ot},moveH:Ue(function(ne,ie){var ye=this;this.extendSelectionsBy(function(Be){return ye.display.shift||ye.doc.extend||Be.empty()?Ru(ye.doc,Be.head,ne,ie,ye.options.rtlMoveVisually):ne<0?Be.from():Be.to()},Gt)}),deleteH:Ue(function(ne,ie){var ye=this.doc.sel,Be=this.doc;ye.somethingSelected()?Be.replaceSelection("",null,"+delete"):Bl(this,function(Ke){var ot=Ru(Be,Ke.head,ne,ie,!1);return ne<0?{from:ot,to:Ke.head}:{from:Ke.head,to:ot}})}),findPosV:function(ne,ie,ye,Be){var Ke=1,ot=Be;ie<0&&(Ke=-1,ie=-ie);for(var xt=Kt(this.doc,ne),dn=0;dn<ie;++dn){var yn=Xi(this,xt,"div");if(ot==null?ot=yn.left:yn.left=ot,xt=kc(this,yn,Ke,ye),xt.hitSide)break}return xt},moveV:Ue(function(ne,ie){var ye=this,Be=this.doc,Ke=[],ot=!this.display.shift&&!Be.extend&&Be.sel.somethingSelected();if(Be.extendSelectionsBy(function(dn){if(ot)return ne<0?dn.from():dn.to();var yn=Xi(ye,dn.head,"div");dn.goalColumn!=null&&(yn.left=dn.goalColumn),Ke.push(yn.left);var Wn=kc(ye,yn,ne,ie);return ie=="page"&&dn==Be.sel.primary()&&Ss(ye,as(ye,Wn,"div").top-yn.top),Wn},Gt),Ke.length)for(var xt=0;xt<Be.sel.ranges.length;xt++)Be.sel.ranges[xt].goalColumn=Ke[xt]}),findWordAt:function(ne){var ie=this.doc,ye=jn(ie,ne.line).text,Be=ne.ch,Ke=ne.ch;if(ye){var ot=this.getHelper(ne,"wordChars");(ne.sticky=="before"||Ke==ye.length)&&Be?--Be:++Ke;for(var xt=ye.charAt(Be),dn=je(xt,ot)?function(yn){return je(yn,ot)}:/\s/.test(xt)?function(yn){return/\s/.test(yn)}:function(yn){return!/\s/.test(yn)&&!je(yn)};Be>0&&dn(ye.charAt(Be-1));)--Be;for(;Ke<ye.length&&dn(ye.charAt(Ke));)++Ke}return new x(He(ne.line,Be),He(ne.line,Ke))},toggleOverwrite:function(ne){ne!=null&&ne==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?qe(this.display.cursorDiv,"CodeMirror-overwrite"):nt(this.display.cursorDiv,"CodeMirror-overwrite"),wn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==St()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Ue(function(ne,ie){xs(this,ne,ie)}),getScrollInfo:function(){var ne=this.display.scroller;return{left:ne.scrollLeft,top:ne.scrollTop,height:ne.scrollHeight-so(this)-this.display.barHeight,width:ne.scrollWidth-so(this)-this.display.barWidth,clientHeight:Uo(this),clientWidth:Ji(this)}},scrollIntoView:Ue(function(ne,ie){ne==null?(ne={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof ne=="number"?ne={from:He(ne,0),to:null}:ne.from==null&&(ne={from:ne,to:null}),ne.to||(ne.to=ne.from),ne.margin=ie||0,ne.from.line!=null?il(this,ne):js(this,ne.from,ne.to,ne.margin)}),setSize:Ue(function(ne,ie){var ye=this,Be=function(ot){return typeof ot=="number"||/^\d+$/.test(String(ot))?ot+"px":ot};ne!=null&&(this.display.wrapper.style.width=Be(ne)),ie!=null&&(this.display.wrapper.style.height=Be(ie)),this.options.lineWrapping&&Is(this);var Ke=this.display.viewFrom;this.doc.iter(Ke,this.display.viewTo,function(ot){if(ot.widgets){for(var xt=0;xt<ot.widgets.length;xt++)if(ot.widgets[xt].noHScroll){Ro(ye,Ke,"widget");break}}++Ke}),this.curOp.forceUpdate=!0,wn(this,"refresh",this)}),operation:function(ne){return Ae(this,ne)},startOperation:function(){return io(this)},endOperation:function(){return ss(this)},refresh:Ue(function(){var ne=this.display.cachedTextHeight;Ki(this),this.curOp.forceUpdate=!0,ms(this),xs(this,this.doc.scrollLeft,this.doc.scrollTop),Qa(this.display),(ne==null||Math.abs(ne-$i(this.display))>.5||this.options.lineWrapping)&&_s(this),wn(this,"refresh",this)}),swapDoc:Ue(function(ne){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),ml(this,ne),ms(this),this.display.input.reset(),xs(this,ne.scrollLeft,ne.scrollTop),this.curOp.forceScroll=!0,ma(this,"swapDoc",this,ie),ie}),phrase:function(ne){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,ne)?ie[ne]:ne},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}},kt(a),a.registerHelper=function(ne,ie,ye){re.hasOwnProperty(ne)||(re[ne]=a[ne]={_global:[]}),re[ne][ie]=ye},a.registerGlobalHelper=function(ne,ie,ye,Be){a.registerHelper(ne,ie,Be),re[ne]._global.push({pred:ye,val:Be})}}function Ru(a,E,re,ne,ie){var ye=E,Be=re,Ke=jn(a,E.line),ot=ie&&a.direction=="rtl"?-re:re;function xt(){var te=E.line+ot;return te<a.first||te>=a.first+a.size?!1:(E=new He(te,E.ch,E.sticky),Ke=jn(a,te))}function dn(te){var ue;if(ne=="codepoint"){var Ee=Ke.text.charCodeAt(E.ch+(ne>0?0:-1));isNaN(Ee)?ue=null:ue=new He(E.line,Math.max(0,Math.min(Ke.text.length,E.ch+re*(Ee>=55296&&Ee<56320?2:1))),-re)}else ie?ue=bc(a.cm,Ke,E,re):ue=xu(Ke,E,re);if(ue==null)if(!te&&xt())E=cu(ie,a.cm,Ke,E.line,ot);else return!1;else E=ue;return!0}if(ne=="char"||ne=="codepoint")dn();else if(ne=="column")dn(!0);else if(ne=="word"||ne=="group")for(var yn=null,Wn=ne=="group",Un=a.cm&&a.cm.getHelper(E,"wordChars"),Ir=!0;!(re<0&&!dn(!Ir));Ir=!1){var Fr=Ke.text.charAt(E.ch)||`
|
|
|
`,oe=je(Fr,Un)?"w":Wn&&Fr==`
|
|
|
`?"n":!Wn||/\s/.test(Fr)?null:"p";if(Wn&&!Ir&&!oe&&(oe="s"),yn&&yn!=oe){re<0&&(re=1,dn(),E.sticky="after");break}if(oe&&(yn=oe),re>0&&!dn(!Ir))break}var z=Bs(a,E,ye,Be,!0);return et(ye,z)&&(z.hitSide=!0),z}function kc(a,E,re,ne){var ie=a.doc,ye=E.left,Be;if(ne=="page"){var Ke=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ot=Math.max(Ke-.5*$i(a.display),3);Be=(re>0?E.bottom:E.top)+re*ot}else ne=="line"&&(Be=re>0?E.bottom+3:E.top-3);for(var xt;xt=eo(a,ye,Be),!!xt.outside;){if(re<0?Be<=0:Be>=ie.height){xt.hitSide=!0;break}Be+=re*5}return xt}var Di=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ye,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Di.prototype.init=function(a){var E=this,re=this,ne=re.cm,ie=re.div=a.lineDiv;Nu(ie,ne.options.spellcheck,ne.options.autocorrect,ne.options.autocapitalize);function ye(Ke){for(var ot=Ke.target;ot;ot=ot.parentNode){if(ot==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ot.className))break}return!1}Mt(ie,"paste",function(Ke){!ye(Ke)||ln(ne,Ke)||Iu(Ke,ne)||fe<=11&&setTimeout(ke(ne,function(){return E.updateFromDOM()}),20)}),Mt(ie,"compositionstart",function(Ke){E.composing={data:Ke.data,done:!1}}),Mt(ie,"compositionupdate",function(Ke){E.composing||(E.composing={data:Ke.data,done:!1})}),Mt(ie,"compositionend",function(Ke){E.composing&&(Ke.data!=E.composing.data&&E.readFromDOMSoon(),E.composing.done=!0)}),Mt(ie,"touchstart",function(){return re.forceCompositionEnd()}),Mt(ie,"input",function(){E.composing||E.readFromDOMSoon()});function Be(Ke){if(!(!ye(Ke)||ln(ne,Ke))){if(ne.somethingSelected())nu({lineWise:!1,text:ne.getSelections()}),Ke.type=="cut"&&ne.replaceSelection("",null,"cut");else if(ne.options.lineWiseCopyCut){var ot=nc(ne);nu({lineWise:!0,text:ot.text}),Ke.type=="cut"&&ne.operation(function(){ne.setSelections(ot.ranges,0,st),ne.replaceSelection("",null,"cut")})}else return;if(Ke.clipboardData){Ke.clipboardData.clearData();var xt=ws.text.join(`
|
|
|
`);if(Ke.clipboardData.setData("Text",xt),Ke.clipboardData.getData("Text")==xt){Ke.preventDefault();return}}var dn=rc(),yn=dn.firstChild;ne.display.lineSpace.insertBefore(dn,ne.display.lineSpace.firstChild),yn.value=ws.text.join(`
|
|
|
`);var Wn=document.activeElement;Rt(yn),setTimeout(function(){ne.display.lineSpace.removeChild(dn),Wn.focus(),Wn==ie&&re.showPrimarySelection()},50)}}Mt(ie,"copy",Be),Mt(ie,"cut",Be)},Di.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Di.prototype.prepareSelection=function(){var a=kl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Di.prototype.showSelection=function(a,E){!a||!this.cm.display.view.length||((a.focus||E)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Di.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Di.prototype.showPrimarySelection=function(){var a=this.getSelection(),E=this.cm,re=E.doc.sel.primary(),ne=re.from(),ie=re.to();if(E.display.viewTo==E.display.viewFrom||ne.line>=E.display.viewTo||ie.line<E.display.viewFrom){a.removeAllRanges();return}var ye=Al(E,a.anchorNode,a.anchorOffset),Be=Al(E,a.focusNode,a.focusOffset);if(!(ye&&!ye.bad&&Be&&!Be.bad&&Vt(Xt(ye,Be),ne)==0&&Vt(cn(ye,Be),ie)==0)){var Ke=E.display.view,ot=ne.line>=E.display.viewFrom&&ac(E,ne)||{node:Ke[0].measure.map[2],offset:0},xt=ie.line<E.display.viewTo&&ac(E,ie);if(!xt){var dn=Ke[Ke.length-1].measure,yn=dn.maps?dn.maps[dn.maps.length-1]:dn.map;xt={node:yn[yn.length-1],offset:yn[yn.length-2]-yn[yn.length-3]}}if(!ot||!xt){a.removeAllRanges();return}var Wn=a.rangeCount&&a.getRangeAt(0),Un;try{Un=dt(ot.node,ot.offset,xt.offset,xt.node)}catch(Ir){}Un&&(!b&&E.state.focused?(a.collapse(ot.node,ot.offset),Un.collapsed||(a.removeAllRanges(),a.addRange(Un))):(a.removeAllRanges(),a.addRange(Un)),Wn&&a.anchorNode==null?a.addRange(Wn):b&&this.startGracePeriod()),this.rememberSelection()}},Di.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)},Di.prototype.showMultipleSelections=function(a){it(this.cm.display.cursorDiv,a.cursors),it(this.cm.display.selectionDiv,a.selection)},Di.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Di.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var E=a.getRangeAt(0).commonAncestorContainer;return It(this.div,E)},Di.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Di.prototype.blur=function(){this.div.blur()},Di.prototype.getField=function(){return this.div},Di.prototype.supportsTouch=function(){return!0},Di.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Ae(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function E(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,E))}this.polling.set(this.cm.options.pollInterval,E)},Di.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Di.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),E=this.cm;if(tt&&Re&&this.cm.display.gutterSpecs.length&&Dc(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var re=Al(E,a.anchorNode,a.anchorOffset),ne=Al(E,a.focusNode,a.focusOffset);re&&ne&&Ae(E,function(){Za(E.doc,Ne(re,ne),st),(re.bad||ne.bad)&&(E.curOp.selectionChanged=!0)})}}},Di.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,E=a.display,re=a.doc.sel.primary(),ne=re.from(),ie=re.to();if(ne.ch==0&&ne.line>a.firstLine()&&(ne=He(ne.line-1,jn(a.doc,ne.line-1).length)),ie.ch==jn(a.doc,ie.line).text.length&&ie.line<a.lastLine()&&(ie=He(ie.line+1,0)),ne.line<E.viewFrom||ie.line>E.viewTo-1)return!1;var ye,Be,Ke;ne.line==E.viewFrom||(ye=So(a,ne.line))==0?(Be=ve(E.view[0].line),Ke=E.view[0].node):(Be=ve(E.view[ye].line),Ke=E.view[ye-1].node.nextSibling);var ot=So(a,ie.line),xt,dn;if(ot==E.view.length-1?(xt=E.viewTo-1,dn=E.lineDiv.lastChild):(xt=ve(E.view[ot+1].line)-1,dn=E.view[ot+1].node.previousSibling),!Ke)return!1;for(var yn=a.doc.splitLines(Lc(a,Ke,dn,Be,xt)),Wn=sr(a.doc,He(Be,0),He(xt,jn(a.doc,xt).text.length));yn.length>1&&Wn.length>1;)if(Ht(yn)==Ht(Wn))yn.pop(),Wn.pop(),xt--;else if(yn[0]==Wn[0])yn.shift(),Wn.shift(),Be++;else break;for(var Un=0,Ir=0,Fr=yn[0],oe=Wn[0],z=Math.min(Fr.length,oe.length);Un<z&&Fr.charCodeAt(Un)==oe.charCodeAt(Un);)++Un;for(var te=Ht(yn),ue=Ht(Wn),Ee=Math.min(te.length-(yn.length==1?Un:0),ue.length-(Wn.length==1?Un:0));Ir<Ee&&te.charCodeAt(te.length-Ir-1)==ue.charCodeAt(ue.length-Ir-1);)++Ir;if(yn.length==1&&Wn.length==1&&Be==ne.line)for(;Un&&Un>ne.ch&&te.charCodeAt(te.length-Ir-1)==ue.charCodeAt(ue.length-Ir-1);)Un--,Ir++;yn[yn.length-1]=te.slice(0,te.length-Ir).replace(/^\u200b+/,""),yn[0]=yn[0].slice(Un).replace(/\u200b+$/,"");var Me=He(Be,Un),Xe=He(xt,Wn.length?Ht(Wn).length-Ir:0);if(yn.length>1||yn[0]||Vt(Me,Xe))return ll(a.doc,yn,Me,Xe,"+input"),!0},Di.prototype.ensurePolled=function(){this.forceCompositionEnd()},Di.prototype.reset=function(){this.forceCompositionEnd()},Di.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Di.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))},Di.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Ae(this.cm,function(){return Ki(a.cm)})},Di.prototype.setUneditable=function(a){a.contentEditable="false"},Di.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||ke(this.cm,Au)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Di.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Di.prototype.onContextMenu=function(){},Di.prototype.resetPosition=function(){},Di.prototype.needsContentAttribute=!0;function ac(a,E){var re=mo(a,E.line);if(!re||re.hidden)return null;var ne=jn(a.doc,E.line),ie=Ts(re,ne,E.line),ye=pn(ne,a.doc.direction),Be="left";if(ye){var Ke=Pt(ye,E.ch);Be=Ke%2?"right":"left"}var ot=el(ie.map,E.ch,Be);return ot.offset=ot.collapse=="right"?ot.end:ot.start,ot}function Dc(a){for(var E=a;E;E=E.parentNode)if(/CodeMirror-gutter-wrapper/.test(E.className))return!0;return!1}function ru(a,E){return E&&(a.bad=!0),a}function Lc(a,E,re,ne,ie){var ye="",Be=!1,Ke=a.doc.lineSeparator(),ot=!1;function xt(Un){return function(Ir){return Ir.id==Un}}function dn(){Be&&(ye+=Ke,ot&&(ye+=Ke),Be=ot=!1)}function yn(Un){Un&&(dn(),ye+=Un)}function Wn(Un){if(Un.nodeType==1){var Ir=Un.getAttribute("cm-text");if(Ir){yn(Ir);return}var Fr=Un.getAttribute("cm-marker"),oe;if(Fr){var z=a.findMarks(He(ne,0),He(ie+1,0),xt(+Fr));z.length&&(oe=z[0].find(0))&&yn(sr(a.doc,oe.from,oe.to).join(Ke));return}if(Un.getAttribute("contenteditable")=="false")return;var te=/^(pre|div|p|li|table|br)$/i.test(Un.nodeName);if(!/^br$/i.test(Un.nodeName)&&Un.textContent.length==0)return;te&&dn();for(var ue=0;ue<Un.childNodes.length;ue++)Wn(Un.childNodes[ue]);/^(pre|p)$/i.test(Un.nodeName)&&(ot=!0),te&&(Be=!0)}else Un.nodeType==3&&yn(Un.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Wn(E),E!=re;)E=E.nextSibling,ot=!1;return ye}function Al(a,E,re){var ne;if(E==a.display.lineDiv){if(ne=a.display.lineDiv.childNodes[re],!ne)return ru(a.clipPos(He(a.display.viewTo-1)),!0);E=null,re=0}else for(ne=E;;ne=ne.parentNode){if(!ne||ne==a.display.lineDiv)return null;if(ne.parentNode&&ne.parentNode==a.display.lineDiv)break}for(var ie=0;ie<a.display.view.length;ie++){var ye=a.display.view[ie];if(ye.node==ne)return Mc(ye,E,re)}}function Mc(a,E,re){var ne=a.text.firstChild,ie=!1;if(!E||!It(ne,E))return ru(He(ve(a.line),0),!0);if(E==ne&&(ie=!0,E=ne.childNodes[re],re=0,!E)){var ye=a.rest?Ht(a.rest):a.line;return ru(He(ve(ye),ye.text.length),ie)}var Be=E.nodeType==3?E:null,Ke=E;for(!Be&&E.childNodes.length==1&&E.firstChild.nodeType==3&&(Be=E.firstChild,re&&(re=Be.nodeValue.length));Ke.parentNode!=ne;)Ke=Ke.parentNode;var ot=a.measure,xt=ot.maps;function dn(oe,z,te){for(var ue=-1;ue<(xt?xt.length:0);ue++)for(var Ee=ue<0?ot.map:xt[ue],Me=0;Me<Ee.length;Me+=3){var Xe=Ee[Me+2];if(Xe==oe||Xe==z){var lt=ve(ue<0?a.line:a.rest[ue]),ht=Ee[Me]+te;return(te<0||Xe!=oe)&&(ht=Ee[Me+(te?1:0)]),He(lt,ht)}}}var yn=dn(Be,Ke,re);if(yn)return ru(yn,ie);for(var Wn=Ke.nextSibling,Un=Be?Be.nodeValue.length-re:0;Wn;Wn=Wn.nextSibling){if(yn=dn(Wn,Wn.firstChild,0),yn)return ru(He(yn.line,yn.ch-Un),ie);Un+=Wn.textContent.length}for(var Ir=Ke.previousSibling,Fr=re;Ir;Ir=Ir.previousSibling){if(yn=dn(Ir,Ir.firstChild,-1),yn)return ru(He(yn.line,yn.ch+Fr),ie);Fr+=Ir.textContent.length}}var ro=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new Ye,this.hasSelection=!1,this.composing=null};ro.prototype.init=function(a){var E=this,re=this,ne=this.cm;this.createField(a);var ie=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),at&&(ie.style.width="0px"),Mt(ie,"input",function(){be&&fe>=9&&E.hasSelection&&(E.hasSelection=null),re.poll()}),Mt(ie,"paste",function(Be){ln(ne,Be)||Iu(Be,ne)||(ne.state.pasteIncoming=+new Date,re.fastPoll())});function ye(Be){if(!ln(ne,Be)){if(ne.somethingSelected())nu({lineWise:!1,text:ne.getSelections()});else if(ne.options.lineWiseCopyCut){var Ke=nc(ne);nu({lineWise:!0,text:Ke.text}),Be.type=="cut"?ne.setSelections(Ke.ranges,null,st):(re.prevInput="",ie.value=Ke.text.join(`
|
|
|
`),Rt(ie))}else return;Be.type=="cut"&&(ne.state.cutIncoming=+new Date)}}Mt(ie,"cut",ye),Mt(ie,"copy",ye),Mt(a.scroller,"paste",function(Be){if(!(ti(a,Be)||ln(ne,Be))){if(!ie.dispatchEvent){ne.state.pasteIncoming=+new Date,re.focus();return}var Ke=new Event("paste");Ke.clipboardData=Be.clipboardData,ie.dispatchEvent(Ke)}}),Mt(a.lineSpace,"selectstart",function(Be){ti(a,Be)||Yt(Be)}),Mt(ie,"compositionstart",function(){var Be=ne.getCursor("from");re.composing&&re.composing.range.clear(),re.composing={start:Be,range:ne.markText(Be,ne.getCursor("to"),{className:"CodeMirror-composing"})}}),Mt(ie,"compositionend",function(){re.composing&&(re.poll(),re.composing.range.clear(),re.composing=null)})},ro.prototype.createField=function(a){this.wrapper=rc(),this.textarea=this.wrapper.firstChild},ro.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ro.prototype.prepareSelection=function(){var a=this.cm,E=a.display,re=a.doc,ne=kl(a);if(a.options.moveInputWithCursor){var ie=Xi(a,re.sel.primary().head,"div"),ye=E.wrapper.getBoundingClientRect(),Be=E.lineDiv.getBoundingClientRect();ne.teTop=Math.max(0,Math.min(E.wrapper.clientHeight-10,ie.top+Be.top-ye.top)),ne.teLeft=Math.max(0,Math.min(E.wrapper.clientWidth-10,ie.left+Be.left-ye.left))}return ne},ro.prototype.showSelection=function(a){var E=this.cm,re=E.display;it(re.cursorDiv,a.cursors),it(re.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ro.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var E=this.cm;if(E.somethingSelected()){this.prevInput="";var re=E.getSelection();this.textarea.value=re,E.state.focused&&Rt(this.textarea),be&&fe>=9&&(this.hasSelection=re)}else a||(this.prevInput=this.textarea.value="",be&&fe>=9&&(this.hasSelection=null))}},ro.prototype.getField=function(){return this.textarea},ro.prototype.supportsTouch=function(){return!1},ro.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Je||St()!=this.textarea))try{this.textarea.focus()}catch(a){}},ro.prototype.blur=function(){this.textarea.blur()},ro.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ro.prototype.receivedFocus=function(){this.slowPoll()},ro.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ro.prototype.fastPoll=function(){var a=!1,E=this;E.pollingFast=!0;function re(){var ne=E.poll();!ne&&!a?(a=!0,E.polling.set(60,re)):(E.pollingFast=!1,E.slowPoll())}E.polling.set(20,re)},ro.prototype.poll=function(){var a=this,E=this.cm,re=this.textarea,ne=this.prevInput;if(this.contextMenuPending||!E.state.focused||Er(re)&&!ne&&!this.composing||E.isReadOnly()||E.options.disableInput||E.state.keySeq)return!1;var ie=re.value;if(ie==ne&&!E.somethingSelected())return!1;if(be&&fe>=9&&this.hasSelection===ie||We&&/[\uf700-\uf7ff]/.test(ie))return E.display.input.reset(),!1;if(E.doc.sel==E.display.selForContextMenu){var ye=ie.charCodeAt(0);if(ye==8203&&!ne&&(ne="\u200B"),ye==8666)return this.reset(),this.cm.execCommand("undo")}for(var Be=0,Ke=Math.min(ne.length,ie.length);Be<Ke&&ne.charCodeAt(Be)==ie.charCodeAt(Be);)++Be;return Ae(E,function(){Au(E,ie.slice(Be),ne.length-Be,null,a.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?re.value=a.prevInput="":a.prevInput=ie,a.composing&&(a.composing.range.clear(),a.composing.range=E.markText(a.composing.start,E.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ro.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ro.prototype.onKeyPress=function(){be&&fe>=9&&(this.hasSelection=null),this.fastPoll()},ro.prototype.onContextMenu=function(a){var E=this,re=E.cm,ne=re.display,ie=E.textarea;E.contextMenuPending&&E.contextMenuPending();var ye=Ho(re,a),Be=ne.scroller.scrollTop;if(!ye||xe)return;var Ke=re.options.resetSelectionOnContextMenu;Ke&&re.doc.sel.contains(ye)==-1&&ke(re,Za)(re.doc,Ne(ye),st);var ot=ie.style.cssText,xt=E.wrapper.style.cssText,dn=E.wrapper.offsetParent.getBoundingClientRect();E.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(a.clientY-dn.top-5)+"px; left: "+(a.clientX-dn.left-5)+`px;
|
|
|
z-index: 1000; background: `+(be?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var yn;we&&(yn=window.scrollY),ne.input.focus(),we&&window.scrollTo(null,yn),ne.input.reset(),re.somethingSelected()||(ie.value=E.prevInput=" "),E.contextMenuPending=Un,ne.selForContextMenu=re.doc.sel,clearTimeout(ne.detectingSelectAll);function Wn(){if(ie.selectionStart!=null){var Fr=re.somethingSelected(),oe="\u200B"+(Fr?ie.value:"");ie.value="\u21DA",ie.value=oe,E.prevInput=Fr?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=oe.length,ne.selForContextMenu=re.doc.sel}}function Un(){if(E.contextMenuPending==Un&&(E.contextMenuPending=!1,E.wrapper.style.cssText=xt,ie.style.cssText=ot,be&&fe<9&&ne.scrollbars.setScrollTop(ne.scroller.scrollTop=Be),ie.selectionStart!=null)){(!be||be&&fe<9)&&Wn();var Fr=0,oe=function(){ne.selForContextMenu==re.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&E.prevInput=="\u200B"?ke(re,Ks)(re):Fr++<10?ne.detectingSelectAll=setTimeout(oe,500):(ne.selForContextMenu=null,ne.input.reset())};ne.detectingSelectAll=setTimeout(oe,200)}}if(be&&fe>=9&&Wn(),_e){Ct(a);var Ir=function(){kn(window,"mouseup",Ir),setTimeout(Un,20)};Mt(window,"mouseup",Ir)}else setTimeout(Un,50)},ro.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ro.prototype.setUneditable=function(){},ro.prototype.needsContentAttribute=!1;function Zc(a,E){if(E=E?Tn(E):{},E.value=a.value,!E.tabindex&&a.tabIndex&&(E.tabindex=a.tabIndex),!E.placeholder&&a.placeholder&&(E.placeholder=a.placeholder),E.autofocus==null){var re=St();E.autofocus=re==a||a.getAttribute("autofocus")!=null&&re==document.body}function ne(){a.value=Ke.getValue()}var ie;if(a.form&&(Mt(a.form,"submit",ne),!E.leaveSubmitMethodAlone)){var ye=a.form;ie=ye.submit;try{var Be=ye.submit=function(){ne(),ye.submit=ie,ye.submit(),ye.submit=Be}}catch(ot){}}E.finishInit=function(ot){ot.save=ne,ot.getTextArea=function(){return a},ot.toTextArea=function(){ot.toTextArea=isNaN,ne(),a.parentNode.removeChild(ot.getWrapperElement()),a.style.display="",a.form&&(kn(a.form,"submit",ne),!E.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ie))}},a.style.display="none";var Ke=Zi(function(ot){return a.parentNode.insertBefore(ot,a.nextSibling)},E);return Ke}function Pc(a){a.off=kn,a.on=Mt,a.wheelEventPixels=Ri,a.Doc=Mo,a.splitLines=ar,a.countColumn=Tt,a.findColumn=On,a.isWordChar=Te,a.Pass=on,a.signal=wn,a.Line=Ma,a.changeEnd=Ot,a.scrollbarModel=sl,a.Pos=He,a.cmpPos=Vt,a.modes=cr,a.mimeModes=Yn,a.resolveMode=Nr,a.getMode=Jr,a.modeExtensions=$r,a.extendMode=Ur,a.copyState=aa,a.startState=pa,a.innerMode=Hr,a.commands=Xl,a.keyMap=Xs,a.keyName=vc,a.isModifierKey=lu,a.lookupKey=Pl,a.normalizeKeyMap=gc,a.StringStream=ea,a.SharedTextMarker=Ml,a.TextMarker=Ys,a.LineWidget=Ll,a.e_preventDefault=Yt,a.e_stopPropagation=Ft,a.e_stop=Ct,a.addClass=qe,a.contains=It,a.rmClass=nt,a.keyNames=Cl}Rc(Zi),Vc(Zi);var ic="iter insert remove copy getEditor constructor".split(" ");for(var Ou in Mo.prototype)Mo.prototype.hasOwnProperty(Ou)&&Se(ic,Ou)<0&&(Zi.prototype[Ou]=function(a){return function(){return a.apply(this.doc,arguments)}}(Mo.prototype[Ou]));return kt(Mo),Zi.inputStyles={textarea:ro,contenteditable:Di},Zi.defineMode=function(a){!Zi.defaults.mode&&a!="null"&&(Zi.defaults.mode=a),Sr.apply(this,arguments)},Zi.defineMIME=br,Zi.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Zi.defineMIME("text/plain","null"),Zi.defineExtension=function(a,E){Zi.prototype[a]=E},Zi.defineDocExtension=function(a,E){Mo.prototype[a]=E},Zi.fromTextArea=Zc,Pc(Zi),Zi.version="5.58.2",Zi})},25419:function(Ce,ae,y){(function(b){b(y(89780),y(15525),y(98101))})(function(b){"use strict";b.defineMode("markdown",function(me,le){var pe=b.getMode(me,"text/html"),be=pe.name=="null";function fe(Tt){if(b.findModeByName){var Ye=b.findModeByName(Tt);Ye&&(Tt=Ye.mime||Ye.mimes[0])}var Se=b.getMode(me,Tt);return Se.name=="null"?null:Se}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 we={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 Oe in we)we.hasOwnProperty(Oe)&&le.tokenTypeOverrides[Oe]&&(we[Oe]=le.tokenTypeOverrides[Oe]);var Re=/^([*\-_])(?:\s*\1){2,}\s*$/,xe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ge=/^\[(x| )\](?=\s)/i,Fe=le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,At=/^ {0,3}(?:\={1,}|-{2,})\s*$/,at=/^[^#!\[\]*_\\<>` "'(~:]+/,tt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Je=/^\s*\[[^\]]+?\]:.*$/,We=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,Ve=" ";function Ze(Tt,Ye,Se){return Ye.f=Ye.inline=Se,Se(Tt,Ye)}function Qe(Tt,Ye,Se){return Ye.f=Ye.block=Se,Se(Tt,Ye)}function ze(Tt){return!Tt||!/\S/.test(Tt.string)}function _e(Tt){if(Tt.linkTitle=!1,Tt.linkHref=!1,Tt.linkText=!1,Tt.em=!1,Tt.strong=!1,Tt.strikethrough=!1,Tt.quote=0,Tt.indentedCode=!1,Tt.f==nt){var Ye=be;if(!Ye){var Se=b.innerMode(pe,Tt.htmlState);Ye=Se.mode.name=="xml"&&Se.state.tagStart===null&&!Se.state.context&&Se.state.tokenize.isInText}Ye&&(Tt.f=vt,Tt.block=$e,Tt.htmlState=null)}return Tt.trailingSpace=0,Tt.trailingSpaceNewLine=!1,Tt.prevLine=Tt.thisLine,Tt.thisLine={stream:null},null}function $e(Tt,Ye){var Se=Tt.column()===Ye.indentation,Qt=ze(Ye.prevLine.stream),on=Ye.indentedCode,st=Ye.prevLine.hr,Ut=Ye.list!==!1,Gt=(Ye.listStack[Ye.listStack.length-1]||0)+3;Ye.indentedCode=!1;var On=Ye.indentation;if(Ye.indentationDiff===null&&(Ye.indentationDiff=Ye.indentation,Ut)){for(Ye.list=null;On<Ye.listStack[Ye.listStack.length-1];)Ye.listStack.pop(),Ye.listStack.length?Ye.indentation=Ye.listStack[Ye.listStack.length-1]:Ye.list=!1;Ye.list!==!1&&(Ye.indentationDiff=On-Ye.listStack[Ye.listStack.length-1])}var ft=!Qt&&!st&&!Ye.prevLine.header&&(!Ut||!on)&&!Ye.prevLine.fencedCodeEnd,En=(Ye.list===!1||st||Qt)&&Ye.indentation<=Gt&&Tt.match(Re),Ht=null;if(Ye.indentationDiff>=4&&(on||Ye.prevLine.fencedCodeEnd||Ye.prevLine.header||Qt))return Tt.skipToEnd(),Ye.indentedCode=!0,we.code;if(Tt.eatSpace())return null;if(Se&&Ye.indentation<=Gt&&(Ht=Tt.match(Fe))&&Ht[1].length<=6)return Ye.quote=0,Ye.header=Ht[1].length,Ye.thisLine.header=!0,le.highlightFormatting&&(Ye.formatting="header"),Ye.f=Ye.inline,it(Ye);if(Ye.indentation<=Gt&&Tt.eat(">"))return Ye.quote=Se?1:Ye.quote+1,le.highlightFormatting&&(Ye.formatting="quote"),Tt.eatSpace(),it(Ye);if(!En&&!Ye.setext&&Se&&Ye.indentation<=Gt&&(Ht=Tt.match(xe))){var gn=Ht[1]?"ol":"ul";return Ye.indentation=On+Tt.current().length,Ye.list=!0,Ye.quote=0,Ye.listStack.push(Ye.indentation),Ye.em=!1,Ye.strong=!1,Ye.code=!1,Ye.strikethrough=!1,le.taskLists&&Tt.match(Ge,!1)&&(Ye.taskList=!0),Ye.f=Ye.inline,le.highlightFormatting&&(Ye.formatting=["list","list-"+gn]),it(Ye)}else{if(Se&&Ye.indentation<=Gt&&(Ht=Tt.match(tt,!0)))return Ye.quote=0,Ye.fencedEndRE=new RegExp(Ht[1]+"+ *$"),Ye.localMode=le.fencedCodeBlockHighlighting&&fe(Ht[2]||le.fencedCodeBlockDefaultMode),Ye.localMode&&(Ye.localState=b.startState(Ye.localMode)),Ye.f=Ye.block=bt,le.highlightFormatting&&(Ye.formatting="code-block"),Ye.code=-1,it(Ye);if(Ye.setext||(!ft||!Ut)&&!Ye.quote&&Ye.list===!1&&!Ye.code&&!En&&!Je.test(Tt.string)&&(Ht=Tt.lookAhead(1))&&(Ht=Ht.match(At)))return Ye.setext?(Ye.header=Ye.setext,Ye.setext=0,Tt.skipToEnd(),le.highlightFormatting&&(Ye.formatting="header")):(Ye.header=Ht[0].charAt(0)=="="?1:2,Ye.setext=Ye.header),Ye.thisLine.header=!0,Ye.f=Ye.inline,it(Ye);if(En)return Tt.skipToEnd(),Ye.hr=!0,Ye.thisLine.hr=!0,we.hr;if(Tt.peek()==="[")return Ze(Tt,Ye,Jt)}return Ze(Tt,Ye,Ye.inline)}function nt(Tt,Ye){var Se=pe.token(Tt,Ye.htmlState);if(!be){var Qt=b.innerMode(pe,Ye.htmlState);(Qt.mode.name=="xml"&&Qt.state.tagStart===null&&!Qt.state.context&&Qt.state.tokenize.isInText||Ye.md_inside&&Tt.current().indexOf(">")>-1)&&(Ye.f=vt,Ye.block=$e,Ye.htmlState=null)}return Se}function bt(Tt,Ye){var Se=Ye.listStack[Ye.listStack.length-1]||0,Qt=Ye.indentation<Se,on=Se+3;if(Ye.fencedEndRE&&Ye.indentation<=on&&(Qt||Tt.match(Ye.fencedEndRE))){le.highlightFormatting&&(Ye.formatting="code-block");var st;return Qt||(st=it(Ye)),Ye.localMode=Ye.localState=null,Ye.block=$e,Ye.f=vt,Ye.fencedEndRE=null,Ye.code=0,Ye.thisLine.fencedCodeEnd=!0,Qt?Qe(Tt,Ye,Ye.block):st}else return Ye.localMode?Ye.localMode.token(Tt,Ye.localState):(Tt.skipToEnd(),we.code)}function it(Tt){var Ye=[];if(Tt.formatting){Ye.push(we.formatting),typeof Tt.formatting=="string"&&(Tt.formatting=[Tt.formatting]);for(var Se=0;Se<Tt.formatting.length;Se++)Ye.push(we.formatting+"-"+Tt.formatting[Se]),Tt.formatting[Se]==="header"&&Ye.push(we.formatting+"-"+Tt.formatting[Se]+"-"+Tt.header),Tt.formatting[Se]==="quote"&&(!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=Tt.quote?Ye.push(we.formatting+"-"+Tt.formatting[Se]+"-"+Tt.quote):Ye.push("error"))}if(Tt.taskOpen)return Ye.push("meta"),Ye.length?Ye.join(" "):null;if(Tt.taskClosed)return Ye.push("property"),Ye.length?Ye.join(" "):null;if(Tt.linkHref?Ye.push(we.linkHref,"url"):(Tt.strong&&Ye.push(we.strong),Tt.em&&Ye.push(we.em),Tt.strikethrough&&Ye.push(we.strikethrough),Tt.emoji&&Ye.push(we.emoji),Tt.linkText&&Ye.push(we.linkText),Tt.code&&Ye.push(we.code),Tt.image&&Ye.push(we.image),Tt.imageAltText&&Ye.push(we.imageAltText,"link"),Tt.imageMarker&&Ye.push(we.imageMarker)),Tt.header&&Ye.push(we.header,we.header+"-"+Tt.header),Tt.quote&&(Ye.push(we.quote),!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=Tt.quote?Ye.push(we.quote+"-"+Tt.quote):Ye.push(we.quote+"-"+le.maxBlockquoteDepth)),Tt.list!==!1){var Qt=(Tt.listStack.length-1)%3;Qt?Qt===1?Ye.push(we.list2):Ye.push(we.list3):Ye.push(we.list1)}return Tt.trailingSpaceNewLine?Ye.push("trailing-space-new-line"):Tt.trailingSpace&&Ye.push("trailing-space-"+(Tt.trailingSpace%2?"a":"b")),Ye.length?Ye.join(" "):null}function Nt(Tt,Ye){if(Tt.match(at,!0))return it(Ye)}function vt(Tt,Ye){var Se=Ye.text(Tt,Ye);if(typeof Se!="undefined")return Se;if(Ye.list)return Ye.list=null,it(Ye);if(Ye.taskList){var Qt=Tt.match(Ge,!0)[1]===" ";return Qt?Ye.taskOpen=!0:Ye.taskClosed=!0,le.highlightFormatting&&(Ye.formatting="task"),Ye.taskList=!1,it(Ye)}if(Ye.taskOpen=!1,Ye.taskClosed=!1,Ye.header&&Tt.match(/^#+$/,!0))return le.highlightFormatting&&(Ye.formatting="header"),it(Ye);var on=Tt.next();if(Ye.linkTitle){Ye.linkTitle=!1;var st=on;on==="("&&(st=")"),st=(st+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ut="^\\s*(?:[^"+st+"\\\\]+|\\\\\\\\|\\\\.)"+st;if(Tt.match(new RegExp(Ut),!0))return we.linkHref}if(on==="`"){var Gt=Ye.formatting;le.highlightFormatting&&(Ye.formatting="code"),Tt.eatWhile("`");var On=Tt.current().length;if(Ye.code==0&&(!Ye.quote||On==1))return Ye.code=On,it(Ye);if(On==Ye.code){var ft=it(Ye);return Ye.code=0,ft}else return Ye.formatting=Gt,it(Ye)}else if(Ye.code)return it(Ye);if(on==="\\"&&(Tt.next(),le.highlightFormatting)){var En=it(Ye),Ht=we.formatting+"-escape";return En?En+" "+Ht:Ht}if(on==="!"&&Tt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ye.imageMarker=!0,Ye.image=!0,le.highlightFormatting&&(Ye.formatting="image"),it(Ye);if(on==="["&&Ye.imageMarker&&Tt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ye.imageMarker=!1,Ye.imageAltText=!0,le.highlightFormatting&&(Ye.formatting="image"),it(Ye);if(on==="]"&&Ye.imageAltText){le.highlightFormatting&&(Ye.formatting="image");var En=it(Ye);return Ye.imageAltText=!1,Ye.image=!1,Ye.inline=Ye.f=It,En}if(on==="["&&!Ye.image)return Ye.linkText&&Tt.match(/^.*?\]/)||(Ye.linkText=!0,le.highlightFormatting&&(Ye.formatting="link")),it(Ye);if(on==="]"&&Ye.linkText){le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return Ye.linkText=!1,Ye.inline=Ye.f=Tt.match(/\(.*?\)| ?\[.*?\]/,!1)?It:vt,En}if(on==="<"&&Tt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=dt,le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return En?En+=" ":En="",En+we.linkInline}if(on==="<"&&Tt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=dt,le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return En?En+=" ":En="",En+we.linkEmail}if(le.xml&&on==="<"&&Tt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var gn=Tt.string.indexOf(">",Tt.pos);if(gn!=-1){var un=Tt.string.substring(Tt.start,gn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(un)&&(Ye.md_inside=!0)}return Tt.backUp(1),Ye.htmlState=b.startState(pe),Qe(Tt,Ye,nt)}if(le.xml&&on==="<"&&Tt.match(/^\/\w*?>/))return Ye.md_inside=!1,"tag";if(on==="*"||on==="_"){for(var De=1,he=Tt.pos==1?" ":Tt.string.charAt(Tt.pos-2);De<3&&Tt.eat(on);)De++;var ce=Tt.peek()||" ",Te=!/\s/.test(ce)&&(!We.test(ce)||/\s/.test(he)||We.test(he)),je=!/\s/.test(he)&&(!We.test(he)||/\s/.test(ce)||We.test(ce)),ge=null,Pe=null;if(De%2&&(!Ye.em&&Te&&(on==="*"||!je||We.test(he))?ge=!0:Ye.em==on&&je&&(on==="*"||!Te||We.test(ce))&&(ge=!1)),De>1&&(!Ye.strong&&Te&&(on==="*"||!je||We.test(he))?Pe=!0:Ye.strong==on&&je&&(on==="*"||!Te||We.test(ce))&&(Pe=!1)),Pe!=null||ge!=null){le.highlightFormatting&&(Ye.formatting=ge==null?"strong":Pe==null?"em":"strong em"),ge===!0&&(Ye.em=on),Pe===!0&&(Ye.strong=on);var ft=it(Ye);return ge===!1&&(Ye.em=!1),Pe===!1&&(Ye.strong=!1),ft}}else if(on===" "&&(Tt.eat("*")||Tt.eat("_"))){if(Tt.peek()===" ")return it(Ye);Tt.backUp(1)}if(le.strikethrough){if(on==="~"&&Tt.eatWhile(on)){if(Ye.strikethrough){le.highlightFormatting&&(Ye.formatting="strikethrough");var ft=it(Ye);return Ye.strikethrough=!1,ft}else if(Tt.match(/^[^\s]/,!1))return Ye.strikethrough=!0,le.highlightFormatting&&(Ye.formatting="strikethrough"),it(Ye)}else if(on===" "&&Tt.match(/^~~/,!0)){if(Tt.peek()===" ")return it(Ye);Tt.backUp(2)}}if(le.emoji&&on===":"&&Tt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ye.emoji=!0,le.highlightFormatting&&(Ye.formatting="emoji");var ct=it(Ye);return Ye.emoji=!1,ct}return on===" "&&(Tt.match(/^ +$/,!1)?Ye.trailingSpace++:Ye.trailingSpace&&(Ye.trailingSpaceNewLine=!0)),it(Ye)}function dt(Tt,Ye){var Se=Tt.next();if(Se===">"){Ye.f=Ye.inline=vt,le.highlightFormatting&&(Ye.formatting="link");var Qt=it(Ye);return Qt?Qt+=" ":Qt="",Qt+we.linkInline}return Tt.match(/^[^>]+/,!0),we.linkInline}function It(Tt,Ye){if(Tt.eatSpace())return null;var Se=Tt.next();return Se==="("||Se==="["?(Ye.f=Ye.inline=qe(Se==="("?")":"]"),le.highlightFormatting&&(Ye.formatting="link-string"),Ye.linkHref=!0,it(Ye)):"error"}var St={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function qe(Tt){return function(Ye,Se){var Qt=Ye.next();if(Qt===Tt){Se.f=Se.inline=vt,le.highlightFormatting&&(Se.formatting="link-string");var on=it(Se);return Se.linkHref=!1,on}return Ye.match(St[Tt]),Se.linkHref=!0,it(Se)}}function Jt(Tt,Ye){return Tt.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ye.f=Rt,Tt.next(),le.highlightFormatting&&(Ye.formatting="link"),Ye.linkText=!0,it(Ye)):Ze(Tt,Ye,vt)}function Rt(Tt,Ye){if(Tt.match(/^\]:/,!0)){Ye.f=Ye.inline=Zt,le.highlightFormatting&&(Ye.formatting="link");var Se=it(Ye);return Ye.linkText=!1,Se}return Tt.match(/^([^\]\\]|\\.)+/,!0),we.linkText}function Zt(Tt,Ye){return Tt.eatSpace()?null:(Tt.match(/^[^\s]+/,!0),Tt.peek()===void 0?Ye.linkTitle=!0:Tt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ye.f=Ye.inline=vt,we.linkHref+" url")}var Tn={startState:function(){return{f:$e,prevLine:{stream:null},thisLine:{stream:null},block:$e,htmlState:null,indentation:0,inline:vt,text:Nt,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(Tt){return{f:Tt.f,prevLine:Tt.prevLine,thisLine:Tt.thisLine,block:Tt.block,htmlState:Tt.htmlState&&b.copyState(pe,Tt.htmlState),indentation:Tt.indentation,localMode:Tt.localMode,localState:Tt.localMode?b.copyState(Tt.localMode,Tt.localState):null,inline:Tt.inline,text:Tt.text,formatting:!1,linkText:Tt.linkText,linkTitle:Tt.linkTitle,linkHref:Tt.linkHref,code:Tt.code,em:Tt.em,strong:Tt.strong,strikethrough:Tt.strikethrough,emoji:Tt.emoji,header:Tt.header,setext:Tt.setext,hr:Tt.hr,taskList:Tt.taskList,list:Tt.list,listStack:Tt.listStack.slice(0),quote:Tt.quote,indentedCode:Tt.indentedCode,trailingSpace:Tt.trailingSpace,trailingSpaceNewLine:Tt.trailingSpaceNewLine,md_inside:Tt.md_inside,fencedEndRE:Tt.fencedEndRE}},token:function(Tt,Ye){if(Ye.formatting=!1,Tt!=Ye.thisLine.stream){if(Ye.header=0,Ye.hr=!1,Tt.match(/^\s*$/,!0))return _e(Ye),null;if(Ye.prevLine=Ye.thisLine,Ye.thisLine={stream:Tt},Ye.taskList=!1,Ye.trailingSpace=0,Ye.trailingSpaceNewLine=!1,!Ye.localState&&(Ye.f=Ye.block,Ye.f!=nt)){var Se=Tt.match(/^\s*/,!0)[0].replace(/\t/g,Ve).length;if(Ye.indentation=Se,Ye.indentationDiff=null,Se>0)return null}}return Ye.f(Tt,Ye)},innerMode:function(Tt){return Tt.block==nt?{state:Tt.htmlState,mode:pe}:Tt.localState?{state:Tt.localState,mode:Tt.localMode}:{state:Tt,mode:Tn}},indent:function(Tt,Ye,Se){return Tt.block==nt&&pe.indent?pe.indent(Tt.htmlState,Ye,Se):Tt.localState&&Tt.localMode.indent?Tt.localMode.indent(Tt.localState,Ye,Se):b.Pass},blankLine:_e,getType:it,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Tn},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";b.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 me=0;me<b.modeInfo.length;me++){var le=b.modeInfo[me];le.mimes&&(le.mime=le.mimes[0])}b.findModeByMIME=function(pe){pe=pe.toLowerCase();for(var be=0;be<b.modeInfo.length;be++){var fe=b.modeInfo[be];if(fe.mime==pe)return fe;if(fe.mimes){for(var we=0;we<fe.mimes.length;we++)if(fe.mimes[we]==pe)return fe}}if(/\+xml$/.test(pe))return b.findModeByMIME("application/xml");if(/\+json$/.test(pe))return b.findModeByMIME("application/json")},b.findModeByExtension=function(pe){pe=pe.toLowerCase();for(var be=0;be<b.modeInfo.length;be++){var fe=b.modeInfo[be];if(fe.ext){for(var we=0;we<fe.ext.length;we++)if(fe.ext[we]==pe)return fe}}},b.findModeByFileName=function(pe){for(var be=0;be<b.modeInfo.length;be++){var fe=b.modeInfo[be];if(fe.file&&fe.file.test(pe))return fe}var we=pe.lastIndexOf("."),Oe=we>-1&&pe.substring(we+1,pe.length);if(Oe)return b.findModeByExtension(Oe)},b.findModeByName=function(pe){pe=pe.toLowerCase();for(var be=0;be<b.modeInfo.length;be++){var fe=b.modeInfo[be];if(fe.name.toLowerCase()==pe)return fe;if(fe.alias){for(var we=0;we<fe.alias.length;we++)if(fe.alias[we].toLowerCase()==pe)return fe}}}})},67549:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";b.defineMode("stex",function(me,le){"use strict";function pe(at,tt){at.cmdState.push(tt)}function be(at){return at.cmdState.length>0?at.cmdState[at.cmdState.length-1]:null}function fe(at){var tt=at.cmdState.pop();tt&&tt.closeBracket()}function we(at){for(var tt=at.cmdState,Je=tt.length-1;Je>=0;Je--){var We=tt[Je];if(We.name!="DEFAULT")return We}return{styleIdentifier:function(){return null}}}function Oe(at,tt,Je){return function(){this.name=at,this.bracketNo=0,this.style=tt,this.styles=Je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Re={};Re.importmodule=Oe("importmodule","tag",["string","builtin"]),Re.documentclass=Oe("documentclass","tag",["","atom"]),Re.usepackage=Oe("usepackage","tag",["atom"]),Re.begin=Oe("begin","tag",["atom"]),Re.end=Oe("end","tag",["atom"]),Re.label=Oe("label","tag",["atom"]),Re.ref=Oe("ref","tag",["atom"]),Re.eqref=Oe("eqref","tag",["atom"]),Re.cite=Oe("cite","tag",["atom"]),Re.bibitem=Oe("bibitem","tag",["atom"]),Re.Bibitem=Oe("Bibitem","tag",["atom"]),Re.RBibitem=Oe("RBibitem","tag",["atom"]),Re.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function xe(at,tt){at.f=tt}function Ge(at,tt){var Je;if(at.match(/^\\[a-zA-Z@]+/)){var We=at.current().slice(1);return Je=Re.hasOwnProperty(We)?Re[We]:Re.DEFAULT,Je=new Je,pe(tt,Je),xe(tt,At),Je.style}if(at.match(/^\\[$&%#{}_]/)||at.match(/^\\[,;!\/\\]/))return"tag";if(at.match("\\["))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"\\]")}),"keyword";if(at.match("\\("))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"\\)")}),"keyword";if(at.match("$$"))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"$$")}),"keyword";if(at.match("$"))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"$")}),"keyword";var Ve=at.next();if(Ve=="%")return at.skipToEnd(),"comment";if(Ve=="}"||Ve=="]"){if(Je=be(tt),Je)Je.closeBracket(Ve),xe(tt,At);else return"error";return"bracket"}else return Ve=="{"||Ve=="["?(Je=Re.DEFAULT,Je=new Je,pe(tt,Je),"bracket"):/\d/.test(Ve)?(at.eatWhile(/[\w.%]/),"atom"):(at.eatWhile(/[\w\-_]/),Je=we(tt),Je.name=="begin"&&(Je.argument=at.current()),Je.styleIdentifier())}function Fe(at,tt,Je){if(at.eatSpace())return null;if(Je&&at.match(Je))return xe(tt,Ge),"keyword";if(at.match(/^\\[a-zA-Z@]+/))return"tag";if(at.match(/^[a-zA-Z]+/))return"variable-2";if(at.match(/^\\[$&%#{}_]/)||at.match(/^\\[,;!\/]/)||at.match(/^[\^_&]/))return"tag";if(at.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(at.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var We=at.next();return We=="{"||We=="}"||We=="["||We=="]"||We=="("||We==")"?"bracket":We=="%"?(at.skipToEnd(),"comment"):"error"}function At(at,tt){var Je=at.peek(),We;return Je=="{"||Je=="["?(We=be(tt),We.openBracket(Je),at.eat(Je),xe(tt,Ge),"bracket"):/[ \t\r]/.test(Je)?(at.eat(Je),null):(xe(tt,Ge),fe(tt),Ge(at,tt))}return{startState:function(){var at=le.inMathMode?function(tt,Je){return Fe(tt,Je)}:Ge;return{cmdState:[],f:at}},copyState:function(at){return{cmdState:at.cmdState.slice(),f:at.f}},token:function(at,tt){return tt.f(at,tt)},blankLine:function(at){at.f=Ge,at.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";var me={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};b.defineMode("xml",function(pe,be){var fe=pe.indentUnit,we={},Oe=be.htmlMode?me:le;for(var Re in Oe)we[Re]=Oe[Re];for(var Re in be)we[Re]=be[Re];var xe,Ge;function Fe(dt,It){function St(Rt){return It.tokenize=Rt,Rt(dt,It)}var qe=dt.next();if(qe=="<")return dt.eat("!")?dt.eat("[")?dt.match("CDATA[")?St(tt("atom","]]>")):null:dt.match("--")?St(tt("comment","-->")):dt.match("DOCTYPE",!0,!0)?(dt.eatWhile(/[\w\._\-]/),St(Je(1))):null:dt.eat("?")?(dt.eatWhile(/[\w\._\-]/),It.tokenize=tt("meta","?>"),"meta"):(xe=dt.eat("/")?"closeTag":"openTag",It.tokenize=At,"tag bracket");if(qe=="&"){var Jt;return dt.eat("#")?dt.eat("x")?Jt=dt.eatWhile(/[a-fA-F\d]/)&&dt.eat(";"):Jt=dt.eatWhile(/[\d]/)&&dt.eat(";"):Jt=dt.eatWhile(/[\w\.\-:]/)&&dt.eat(";"),Jt?"atom":"error"}else return dt.eatWhile(/[^&<]/),null}Fe.isInText=!0;function At(dt,It){var St=dt.next();if(St==">"||St=="/"&&dt.eat(">"))return It.tokenize=Fe,xe=St==">"?"endTag":"selfcloseTag","tag bracket";if(St=="=")return xe="equals",null;if(St=="<"){It.tokenize=Fe,It.state=Qe,It.tagName=It.tagStart=null;var qe=It.tokenize(dt,It);return qe?qe+" tag error":"tag error"}else return/[\'\"]/.test(St)?(It.tokenize=at(St),It.stringStartCol=dt.column(),It.tokenize(dt,It)):(dt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function at(dt){var It=function(St,qe){for(;!St.eol();)if(St.next()==dt){qe.tokenize=At;break}return"string"};return It.isInAttribute=!0,It}function tt(dt,It){return function(St,qe){for(;!St.eol();){if(St.match(It)){qe.tokenize=Fe;break}St.next()}return dt}}function Je(dt){return function(It,St){for(var qe;(qe=It.next())!=null;){if(qe=="<")return St.tokenize=Je(dt+1),St.tokenize(It,St);if(qe==">")if(dt==1){St.tokenize=Fe;break}else return St.tokenize=Je(dt-1),St.tokenize(It,St)}return"meta"}}function We(dt,It,St){this.prev=dt.context,this.tagName=It,this.indent=dt.indented,this.startOfLine=St,(we.doNotIndent.hasOwnProperty(It)||dt.context&&dt.context.noIndent)&&(this.noIndent=!0)}function Ve(dt){dt.context&&(dt.context=dt.context.prev)}function Ze(dt,It){for(var St;;){if(!dt.context||(St=dt.context.tagName,!we.contextGrabbers.hasOwnProperty(St)||!we.contextGrabbers[St].hasOwnProperty(It)))return;Ve(dt)}}function Qe(dt,It,St){return dt=="openTag"?(St.tagStart=It.column(),ze):dt=="closeTag"?_e:Qe}function ze(dt,It,St){return dt=="word"?(St.tagName=It.current(),Ge="tag",bt):we.allowMissingTagName&&dt=="endTag"?(Ge="tag bracket",bt(dt,It,St)):(Ge="error",ze)}function _e(dt,It,St){if(dt=="word"){var qe=It.current();return St.context&&St.context.tagName!=qe&&we.implicitlyClosed.hasOwnProperty(St.context.tagName)&&Ve(St),St.context&&St.context.tagName==qe||we.matchClosing===!1?(Ge="tag",$e):(Ge="tag error",nt)}else return we.allowMissingTagName&&dt=="endTag"?(Ge="tag bracket",$e(dt,It,St)):(Ge="error",nt)}function $e(dt,It,St){return dt!="endTag"?(Ge="error",$e):(Ve(St),Qe)}function nt(dt,It,St){return Ge="error",$e(dt,It,St)}function bt(dt,It,St){if(dt=="word")return Ge="attribute",it;if(dt=="endTag"||dt=="selfcloseTag"){var qe=St.tagName,Jt=St.tagStart;return St.tagName=St.tagStart=null,dt=="selfcloseTag"||we.autoSelfClosers.hasOwnProperty(qe)?Ze(St,qe):(Ze(St,qe),St.context=new We(St,qe,Jt==St.indented)),Qe}return Ge="error",bt}function it(dt,It,St){return dt=="equals"?Nt:(we.allowMissing||(Ge="error"),bt(dt,It,St))}function Nt(dt,It,St){return dt=="string"?vt:dt=="word"&&we.allowUnquoted?(Ge="string",bt):(Ge="error",bt(dt,It,St))}function vt(dt,It,St){return dt=="string"?vt:bt(dt,It,St)}return{startState:function(dt){var It={tokenize:Fe,state:Qe,indented:dt||0,tagName:null,tagStart:null,context:null};return dt!=null&&(It.baseIndent=dt),It},token:function(dt,It){if(!It.tagName&&dt.sol()&&(It.indented=dt.indentation()),dt.eatSpace())return null;xe=null;var St=It.tokenize(dt,It);return(St||xe)&&St!="comment"&&(Ge=null,It.state=It.state(xe||St,dt,It),Ge&&(St=Ge=="error"?St+" error":Ge)),St},indent:function(dt,It,St){var qe=dt.context;if(dt.tokenize.isInAttribute)return dt.tagStart==dt.indented?dt.stringStartCol+1:dt.indented+fe;if(qe&&qe.noIndent)return b.Pass;if(dt.tokenize!=At&&dt.tokenize!=Fe)return St?St.match(/^(\s*)/)[0].length:0;if(dt.tagName)return we.multilineTagIndentPastTag!==!1?dt.tagStart+dt.tagName.length+2:dt.tagStart+fe*(we.multilineTagIndentFactor||1);if(we.alignCDATA&&/<!\[CDATA\[/.test(It))return 0;var Jt=It&&/^<(\/)?([\w_:\.-]*)/.exec(It);if(Jt&&Jt[1])for(;qe;)if(qe.tagName==Jt[2]){qe=qe.prev;break}else if(we.implicitlyClosed.hasOwnProperty(qe.tagName))qe=qe.prev;else break;else if(Jt)for(;qe;){var Rt=we.contextGrabbers[qe.tagName];if(Rt&&Rt.hasOwnProperty(Jt[2]))qe=qe.prev;else break}for(;qe&&qe.prev&&!qe.startOfLine;)qe=qe.prev;return qe?qe.indent+fe:dt.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:we.htmlMode?"html":"xml",helperType:we.htmlMode?"html":"xml",skipAttribute:function(dt){dt.state==Nt&&(dt.state=bt)},xmlCurrentTag:function(dt){return dt.tagName?{name:dt.tagName,close:dt.type=="closeTag"}:null},xmlCurrentContext:function(dt){for(var It=[],St=dt.context;St;St=St.prev)St.tagName&&It.push(St.tagName);return It.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b=",",me=" ",le="";function pe(fe){for(var we=[],Oe=String(fe||le),Re=Oe.indexOf(b),xe=0,Ge=!1,Fe;!Ge;)Re===-1&&(Re=Oe.length,Ge=!0),Fe=Oe.slice(xe,Re).trim(),(Fe||!Ge)&&we.push(Fe),xe=Re+1,Re=Oe.indexOf(b,xe);return we}function be(fe,we){var Oe=we||{},Re=Oe.padLeft===!1?le:me,xe=Oe.padRight?me:le;return fe[fe.length-1]===le&&(fe=fe.concat(le)),fe.join(xe+b+Re).trim()}},86204:function(Ce){"use strict";var ae=typeof Reflect=="object"?Reflect:null,y=ae&&typeof ae.apply=="function"?ae.apply:function(Qe,ze,_e){return Function.prototype.apply.call(Qe,ze,_e)},b;ae&&typeof ae.ownKeys=="function"?b=ae.ownKeys:Object.getOwnPropertySymbols?b=function(Qe){return Object.getOwnPropertyNames(Qe).concat(Object.getOwnPropertySymbols(Qe))}:b=function(Qe){return Object.getOwnPropertyNames(Qe)};function me(Ze){console&&console.warn&&console.warn(Ze)}var le=Number.isNaN||function(Qe){return Qe!==Qe};function pe(){pe.init.call(this)}Ce.exports=pe,Ce.exports.once=Je,pe.EventEmitter=pe,pe.prototype._events=void 0,pe.prototype._eventsCount=0,pe.prototype._maxListeners=void 0;var be=10;function fe(Ze){if(typeof Ze!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ze)}Object.defineProperty(pe,"defaultMaxListeners",{enumerable:!0,get:function(){return be},set:function(Ze){if(typeof Ze!="number"||Ze<0||le(Ze))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ze+".");be=Ze}}),pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},pe.prototype.setMaxListeners=function(Qe){if(typeof Qe!="number"||Qe<0||le(Qe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Qe+".");return this._maxListeners=Qe,this};function we(Ze){return Ze._maxListeners===void 0?pe.defaultMaxListeners:Ze._maxListeners}pe.prototype.getMaxListeners=function(){return we(this)},pe.prototype.emit=function(Qe){for(var ze=[],_e=1;_e<arguments.length;_e++)ze.push(arguments[_e]);var $e=Qe==="error",nt=this._events;if(nt!==void 0)$e=$e&&nt.error===void 0;else if(!$e)return!1;if($e){var bt;if(ze.length>0&&(bt=ze[0]),bt instanceof Error)throw bt;var it=new Error("Unhandled error."+(bt?" ("+bt.message+")":""));throw it.context=bt,it}var Nt=nt[Qe];if(Nt===void 0)return!1;if(typeof Nt=="function")y(Nt,this,ze);else for(var vt=Nt.length,dt=At(Nt,vt),_e=0;_e<vt;++_e)y(dt[_e],this,ze);return!0};function Oe(Ze,Qe,ze,_e){var $e,nt,bt;if(fe(ze),nt=Ze._events,nt===void 0?(nt=Ze._events=Object.create(null),Ze._eventsCount=0):(nt.newListener!==void 0&&(Ze.emit("newListener",Qe,ze.listener?ze.listener:ze),nt=Ze._events),bt=nt[Qe]),bt===void 0)bt=nt[Qe]=ze,++Ze._eventsCount;else if(typeof bt=="function"?bt=nt[Qe]=_e?[ze,bt]:[bt,ze]:_e?bt.unshift(ze):bt.push(ze),$e=we(Ze),$e>0&&bt.length>$e&&!bt.warned){bt.warned=!0;var it=new Error("Possible EventEmitter memory leak detected. "+bt.length+" "+String(Qe)+" listeners added. Use emitter.setMaxListeners() to increase limit");it.name="MaxListenersExceededWarning",it.emitter=Ze,it.type=Qe,it.count=bt.length,me(it)}return Ze}pe.prototype.addListener=function(Qe,ze){return Oe(this,Qe,ze,!1)},pe.prototype.on=pe.prototype.addListener,pe.prototype.prependListener=function(Qe,ze){return Oe(this,Qe,ze,!0)};function Re(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function xe(Ze,Qe,ze){var _e={fired:!1,wrapFn:void 0,target:Ze,type:Qe,listener:ze},$e=Re.bind(_e);return $e.listener=ze,_e.wrapFn=$e,$e}pe.prototype.once=function(Qe,ze){return fe(ze),this.on(Qe,xe(this,Qe,ze)),this},pe.prototype.prependOnceListener=function(Qe,ze){return fe(ze),this.prependListener(Qe,xe(this,Qe,ze)),this},pe.prototype.removeListener=function(Qe,ze){var _e,$e,nt,bt,it;if(fe(ze),$e=this._events,$e===void 0)return this;if(_e=$e[Qe],_e===void 0)return this;if(_e===ze||_e.listener===ze)--this._eventsCount===0?this._events=Object.create(null):(delete $e[Qe],$e.removeListener&&this.emit("removeListener",Qe,_e.listener||ze));else if(typeof _e!="function"){for(nt=-1,bt=_e.length-1;bt>=0;bt--)if(_e[bt]===ze||_e[bt].listener===ze){it=_e[bt].listener,nt=bt;break}if(nt<0)return this;nt===0?_e.shift():at(_e,nt),_e.length===1&&($e[Qe]=_e[0]),$e.removeListener!==void 0&&this.emit("removeListener",Qe,it||ze)}return this},pe.prototype.off=pe.prototype.removeListener,pe.prototype.removeAllListeners=function(Qe){var ze,_e,$e;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Qe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Qe]),this;if(arguments.length===0){var nt=Object.keys(_e),bt;for($e=0;$e<nt.length;++$e)bt=nt[$e],bt!=="removeListener"&&this.removeAllListeners(bt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(ze=_e[Qe],typeof ze=="function")this.removeListener(Qe,ze);else if(ze!==void 0)for($e=ze.length-1;$e>=0;$e--)this.removeListener(Qe,ze[$e]);return this};function Ge(Ze,Qe,ze){var _e=Ze._events;if(_e===void 0)return[];var $e=_e[Qe];return $e===void 0?[]:typeof $e=="function"?ze?[$e.listener||$e]:[$e]:ze?tt($e):At($e,$e.length)}pe.prototype.listeners=function(Qe){return Ge(this,Qe,!0)},pe.prototype.rawListeners=function(Qe){return Ge(this,Qe,!1)},pe.listenerCount=function(Ze,Qe){return typeof Ze.listenerCount=="function"?Ze.listenerCount(Qe):Fe.call(Ze,Qe)},pe.prototype.listenerCount=Fe;function Fe(Ze){var Qe=this._events;if(Qe!==void 0){var ze=Qe[Ze];if(typeof ze=="function")return 1;if(ze!==void 0)return ze.length}return 0}pe.prototype.eventNames=function(){return this._eventsCount>0?b(this._events):[]};function At(Ze,Qe){for(var ze=new Array(Qe),_e=0;_e<Qe;++_e)ze[_e]=Ze[_e];return ze}function at(Ze,Qe){for(;Qe+1<Ze.length;Qe++)Ze[Qe]=Ze[Qe+1];Ze.pop()}function tt(Ze){for(var Qe=new Array(Ze.length),ze=0;ze<Qe.length;++ze)Qe[ze]=Ze[ze].listener||Ze[ze];return Qe}function Je(Ze,Qe){return new Promise(function(ze,_e){function $e(bt){Ze.removeListener(Qe,nt),_e(bt)}function nt(){typeof Ze.removeListener=="function"&&Ze.removeListener("error",$e),ze([].slice.call(arguments))}Ve(Ze,Qe,nt,{once:!0}),Qe!=="error"&&We(Ze,$e,{once:!0})})}function We(Ze,Qe,ze){typeof Ze.on=="function"&&Ve(Ze,"error",Qe,ze)}function Ve(Ze,Qe,ze,_e){if(typeof Ze.on=="function")_e.once?Ze.once(Qe,ze):Ze.on(Qe,ze);else if(typeof Ze.addEventListener=="function")Ze.addEventListener(Qe,function $e(nt){_e.once&&Ze.removeEventListener(Qe,$e),ze(nt)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ze)}},58847:function(Ce){"use strict";var ae=Object.prototype.hasOwnProperty,y=Object.prototype.toString,b=Object.defineProperty,me=Object.getOwnPropertyDescriptor,le=function(Oe){return typeof Array.isArray=="function"?Array.isArray(Oe):y.call(Oe)==="[object Array]"},pe=function(Oe){if(!Oe||y.call(Oe)!=="[object Object]")return!1;var Re=ae.call(Oe,"constructor"),xe=Oe.constructor&&Oe.constructor.prototype&&ae.call(Oe.constructor.prototype,"isPrototypeOf");if(Oe.constructor&&!Re&&!xe)return!1;var Ge;for(Ge in Oe);return typeof Ge=="undefined"||ae.call(Oe,Ge)},be=function(Oe,Re){b&&Re.name==="__proto__"?b(Oe,Re.name,{enumerable:!0,configurable:!0,value:Re.newValue,writable:!0}):Oe[Re.name]=Re.newValue},fe=function(Oe,Re){if(Re==="__proto__")if(ae.call(Oe,Re)){if(me)return me(Oe,Re).value}else return;return Oe[Re]};Ce.exports=function we(){var Oe,Re,xe,Ge,Fe,At,at=arguments[0],tt=1,Je=arguments.length,We=!1;for(typeof at=="boolean"&&(We=at,at=arguments[1]||{},tt=2),(at==null||typeof at!="object"&&typeof at!="function")&&(at={});tt<Je;++tt)if(Oe=arguments[tt],Oe!=null)for(Re in Oe)xe=fe(at,Re),Ge=fe(Oe,Re),at!==Ge&&(We&&Ge&&(pe(Ge)||(Fe=le(Ge)))?(Fe?(Fe=!1,At=xe&&le(xe)?xe:[]):At=xe&&pe(xe)?xe:{},be(at,{name:Re,newValue:we(We,At,Ge)})):typeof Ge!="undefined"&&be(at,{name:Re,newValue:Ge}));return at}},46963:function(Ce){"use strict";Ce.exports=y;var ae=/[#.]/g;function y(b,me){for(var le=b||"",pe=me||"div",be={},fe=0,we,Oe,Re;fe<le.length;)ae.lastIndex=fe,Re=ae.exec(le),we=le.slice(fe,Re?Re.index:le.length),we&&(Oe?Oe==="#"?be.id=we:be.className?be.className.push(we):be.className=[we]:pe=we,fe+=we.length),Re&&(Oe=Re[0],fe++);return{type:"element",tagName:pe,properties:be,children:[]}}},5641:function(Ce,ae,y){"use strict";var b=y(88914),me=y(47178),le=y(46963),pe=y(92848).Q,be=y(58951).Q;Ce.exports=we;var fe={}.hasOwnProperty;function we(tt,Je,We){var Ve=We?at(We):null;return Ze;function Ze(ze,_e){var $e=le(ze,Je),nt=Array.prototype.slice.call(arguments,2),bt=$e.tagName.toLowerCase(),it;if($e.tagName=Ve&&fe.call(Ve,bt)?Ve[bt]:bt,_e&&Oe(_e,$e)&&(nt.unshift(_e),_e=null),_e)for(it in _e)Qe($e.properties,it,_e[it]);return xe($e.children,nt),$e.tagName==="template"&&($e.content={type:"root",children:$e.children},$e.children=[]),$e}function Qe(ze,_e,$e){var nt,bt,it;$e==null||$e!==$e||(nt=b(tt,_e),bt=nt.property,it=$e,typeof it=="string"&&(nt.spaceSeparated?it=pe(it):nt.commaSeparated?it=be(it):nt.commaOrSpaceSeparated&&(it=pe(be(it).join(" ")))),bt==="style"&&typeof $e!="string"&&(it=At(it)),bt==="className"&&ze.className&&(it=ze.className.concat(it)),ze[bt]=Ge(nt,bt,it))}}function Oe(tt,Je){return typeof tt=="string"||"length"in tt||Re(Je.tagName,tt)}function Re(tt,Je){var We=Je.type;return tt==="input"||!We||typeof We!="string"?!1:typeof Je.children=="object"&&"length"in Je.children?!0:(We=We.toLowerCase(),tt==="button"?We!=="menu"&&We!=="submit"&&We!=="reset"&&We!=="button":"value"in Je)}function xe(tt,Je){var We,Ve;if(typeof Je=="string"||typeof Je=="number"){tt.push({type:"text",value:String(Je)});return}if(typeof Je=="object"&&"length"in Je){for(We=-1,Ve=Je.length;++We<Ve;)xe(tt,Je[We]);return}if(typeof Je!="object"||!("type"in Je))throw new Error("Expected node, nodes, or string, got `"+Je+"`");tt.push(Je)}function Ge(tt,Je,We){var Ve,Ze,Qe;if(typeof We!="object"||!("length"in We))return Fe(tt,Je,We);for(Ze=We.length,Ve=-1,Qe=[];++Ve<Ze;)Qe[Ve]=Fe(tt,Je,We[Ve]);return Qe}function Fe(tt,Je,We){var Ve=We;return tt.number||tt.positiveNumber?!isNaN(Ve)&&Ve!==""&&(Ve=Number(Ve)):(tt.boolean||tt.overloadedBoolean)&&typeof Ve=="string"&&(Ve===""||me(We)===me(Je))&&(Ve=!0),Ve}function At(tt){var Je=[],We;for(We in tt)Je.push([We,tt[We]].join(": "));return Je.join("; ")}function at(tt){for(var Je=tt.length,We=-1,Ve={},Ze;++We<Je;)Ze=tt[We],Ve[Ze.toLowerCase()]=Ze;return Ve}},82073:function(Ce,ae,y){"use strict";var b=y(18795),me=y(5641),le=me(b,"div");le.displayName="html",Ce.exports=le},43621:function(Ce,ae,y){"use strict";Ce.exports=y(82073)},60976:function(Ce){"use strict";var ae=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,y=/\n/g,b=/^\s*/,me=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,le=/^:\s*/,pe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,be=/^[;\s]*/,fe=/^\s+|\s+$/g,we=`
|
|
|
`,Oe="/",Re="*",xe="",Ge="comment",Fe="declaration";function At(tt,Je){if(typeof tt!="string")throw new TypeError("First argument must be a string");if(!tt)return[];Je=Je||{};var We=1,Ve=1;function Ze(dt){var It=dt.match(y);It&&(We+=It.length);var St=dt.lastIndexOf(we);Ve=~St?dt.length-St:Ve+dt.length}function Qe(){var dt={line:We,column:Ve};return function(It){return It.position=new ze(dt),nt(),It}}function ze(dt){this.start=dt,this.end={line:We,column:Ve},this.source=Je.source}ze.prototype.content=tt;function _e(dt){var It=new Error(Je.source+":"+We+":"+Ve+": "+dt);if(It.reason=dt,It.filename=Je.source,It.line=We,It.column=Ve,It.source=tt,!Je.silent)throw It}function $e(dt){var It=dt.exec(tt);if(It){var St=It[0];return Ze(St),tt=tt.slice(St.length),It}}function nt(){$e(b)}function bt(dt){var It;for(dt=dt||[];It=it();)It!==!1&&dt.push(It);return dt}function it(){var dt=Qe();if(!(Oe!=tt.charAt(0)||Re!=tt.charAt(1))){for(var It=2;xe!=tt.charAt(It)&&(Re!=tt.charAt(It)||Oe!=tt.charAt(It+1));)++It;if(It+=2,xe===tt.charAt(It-1))return _e("End of comment missing");var St=tt.slice(2,It-2);return Ve+=2,Ze(St),tt=tt.slice(It),Ve+=2,dt({type:Ge,comment:St})}}function Nt(){var dt=Qe(),It=$e(me);if(It){if(it(),!$e(le))return _e("property missing ':'");var St=$e(pe),qe=dt({type:Fe,property:at(It[0].replace(ae,xe)),value:St?at(St[0].replace(ae,xe)):xe});return $e(be),qe}}function vt(){var dt=[];bt(dt);for(var It;It=Nt();)It!==!1&&(dt.push(It),bt(dt));return dt}return nt(),vt()}function at(tt){return tt?tt.replace(fe,xe):xe}Ce.exports=At},91241:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=97&&b<=122||b>=65&&b<=90}},21127:function(Ce,ae,y){"use strict";var b=y(91241),me=y(22347);Ce.exports=le;function le(pe){return b(pe)||me(pe)}},22347:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=48&&b<=57}},65207:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=97&&b<=102||b>=65&&b<=70||b>=48&&b<=57}},2859:function(Ce,ae,y){"use strict";y.d(ae,{hP:function(){return un}});var b=function(De,he){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,Te){ce.__proto__=Te}||function(ce,Te){for(var je in Te)Object.prototype.hasOwnProperty.call(Te,je)&&(ce[je]=Te[je])})(De,he)};function me(De,he){function ce(){this.constructor=De}b(De,he),De.prototype=he===null?Object.create(he):(ce.prototype=he.prototype,new ce)}function le(De,he,ce,Te){return new(ce||(ce=Promise))(function(je,ge){function Pe(gt){try{$t(Te.next(gt))}catch(yt){ge(yt)}}function ct(gt){try{$t(Te.throw(gt))}catch(yt){ge(yt)}}function $t(gt){var yt;gt.done?je(gt.value):(yt=gt.value,yt instanceof ce?yt:new ce(function(Dt){Dt(yt)})).then(Pe,ct)}$t((Te=Te.apply(De,he||[])).next())})}function pe(De,he){var ce,Te,je,ge,Pe={label:0,sent:function(){if(1&je[0])throw je[1];return je[1]},trys:[],ops:[]};return ge={next:ct(0),throw:ct(1),return:ct(2)},typeof Symbol=="function"&&(ge[Symbol.iterator]=function(){return this}),ge;function ct($t){return function(gt){return function(yt){if(ce)throw new TypeError("Generator is already executing.");for(;Pe;)try{if(ce=1,Te&&(je=2&yt[0]?Te.return:yt[0]?Te.throw||((je=Te.return)&&je.call(Te),0):Te.next)&&!(je=je.call(Te,yt[1])).done)return je;switch(Te=0,je&&(yt=[2&yt[0],je.value]),yt[0]){case 0:case 1:je=yt;break;case 4:return Pe.label++,{value:yt[1],done:!1};case 5:Pe.label++,Te=yt[1],yt=[0];continue;case 7:yt=Pe.ops.pop(),Pe.trys.pop();continue;default:if(je=Pe.trys,!((je=je.length>0&&je[je.length-1])||yt[0]!==6&&yt[0]!==2)){Pe=0;continue}if(yt[0]===3&&(!je||yt[1]>je[0]&&yt[1]<je[3])){Pe.label=yt[1];break}if(yt[0]===6&&Pe.label<je[1]){Pe.label=je[1],je=yt;break}if(je&&Pe.label<je[2]){Pe.label=je[2],Pe.ops.push(yt);break}je[2]&&Pe.ops.pop(),Pe.trys.pop();continue}yt=he.call(De,Pe)}catch(Dt){yt=[6,Dt],Te=0}finally{ce=je=0}if(5&yt[0])throw yt[1];return{value:yt[0]?yt[1]:void 0,done:!0}}([$t,gt])}}}function be(){for(var De=0,he=0,ce=arguments.length;he<ce;he++)De+=arguments[he].length;var Te=Array(De),je=0;for(he=0;he<ce;he++)for(var ge=arguments[he],Pe=0,ct=ge.length;Pe<ct;Pe++,je++)Te[je]=ge[Pe];return Te}var fe=function(){function De(){}return De.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},De.setAttributes=function(he,ce){for(var Te=0,je=ce;Te<je.length;Te++){var ge=je[Te],Pe=ge[0],ct=ge[1];he.setAttribute(Pe,ct)}},De.createRect=function(he,ce,Te){var je=document.createElementNS("http://www.w3.org/2000/svg","rect");return je.setAttribute("width",he.toString()),je.setAttribute("height",ce.toString()),Te&&De.setAttributes(je,Te),je},De.createLine=function(he,ce,Te,je,ge){var Pe=document.createElementNS("http://www.w3.org/2000/svg","line");return Pe.setAttribute("x1",he.toString()),Pe.setAttribute("y1",ce.toString()),Pe.setAttribute("x2",Te.toString()),Pe.setAttribute("y2",je.toString()),ge&&De.setAttributes(Pe,ge),Pe},De.createPolygon=function(he,ce){var Te=document.createElementNS("http://www.w3.org/2000/svg","polygon");return Te.setAttribute("points",he),ce&&De.setAttributes(Te,ce),Te},De.createCircle=function(he,ce){var Te=document.createElementNS("http://www.w3.org/2000/svg","circle");return Te.setAttribute("cx",(he/2).toString()),Te.setAttribute("cy",(he/2).toString()),Te.setAttribute("r",he.toString()),ce&&De.setAttributes(Te,ce),Te},De.createEllipse=function(he,ce,Te){var je=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return je.setAttribute("cx",(he/2).toString()),je.setAttribute("cy",(ce/2).toString()),je.setAttribute("rx",(he/2).toString()),je.setAttribute("ry",(ce/2).toString()),Te&&De.setAttributes(je,Te),je},De.createGroup=function(he){var ce=document.createElementNS("http://www.w3.org/2000/svg","g");return he&&De.setAttributes(ce,he),ce},De.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},De.createMarker=function(he,ce,Te,je,ge,Pe,ct){var $t=document.createElementNS("http://www.w3.org/2000/svg","marker");return De.setAttributes($t,[["id",he],["orient",ce],["markerWidth",Te.toString()],["markerHeight",je.toString()],["refX",ge.toString()],["refY",Pe.toString()]]),$t.appendChild(ct),$t},De.createText=function(he){var ce=document.createElementNS("http://www.w3.org/2000/svg","text");return ce.setAttribute("x","0"),ce.setAttribute("y","0"),he&&De.setAttributes(ce,he),ce},De.createTSpan=function(he,ce){var Te=document.createElementNS("http://www.w3.org/2000/svg","tspan");return Te.textContent=he,ce&&De.setAttributes(Te,ce),Te},De.createImage=function(he){var ce=document.createElementNS("http://www.w3.org/2000/svg","image");return he&&De.setAttributes(ce,he),ce},De.createPoint=function(he,ce){var Te=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return Te.x=he,Te.y=ce,Te},De.createPath=function(he,ce){var Te=document.createElementNS("http://www.w3.org/2000/svg","path");return Te.setAttribute("d",he),ce&&De.setAttributes(Te,ce),Te},De}(),we=function(){function De(){}return De.addKey=function(he){De.key=he},Object.defineProperty(De,"isLicensed",{get:function(){return!!De.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(De.key)},enumerable:!1,configurable:!0}),De}(),Oe=function(){function De(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return De.prototype.rasterize=function(he,ce,Te){var je=this;return new Promise(function(ge){var Pe=Te!==void 0?Te:document.createElement("canvas");he===null&&(je.markersOnly=!0,je.naturalSize=!1);var ct=document.createElementNS("http://www.w3.org/2000/svg","svg");ct.setAttribute("xmlns","http://www.w3.org/2000/svg"),ct.setAttribute("width",ce.width.baseVal.valueAsString),ct.setAttribute("height",ce.height.baseVal.valueAsString),ct.setAttribute("viewBox","0 0 "+ce.viewBox.baseVal.width.toString()+" "+ce.viewBox.baseVal.height.toString()),ct.innerHTML=ce.innerHTML,je.naturalSize===!0?(ct.width.baseVal.value=he.naturalWidth,ct.height.baseVal.value=he.naturalHeight):je.width!==void 0&&je.height!==void 0&&(ct.width.baseVal.value=je.width,ct.height.baseVal.value=je.height),Pe.width=ct.width.baseVal.value,Pe.height=ct.height.baseVal.value;var $t=ct.outerHTML,gt=Pe.getContext("2d");je.markersOnly!==!0&>.drawImage(he,0,0,Pe.width,Pe.height);var yt=window.URL,Dt=new Image(Pe.width,Pe.height);Dt.setAttribute("crossOrigin","anonymous");var Pt=new Blob([$t],{type:"image/svg+xml"}),Wt=yt.createObjectURL(Pt);Dt.onload=function(){gt.drawImage(Dt,0,0),yt.revokeObjectURL(Wt);var pn=Pe.toDataURL(je.imageType,je.imageQuality);ge(pn)},Dt.src=Wt})},De}(),Re=function(){},xe=function(){function De(he){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+he+"_"}return Object.defineProperty(De.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(De.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(De.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),De.prototype.addClass=function(he){return this.styleSheet===void 0&&this.addStyleSheet(),he.name=""+this.classNamePrefix+he.localName,this.classes.push(he),this.styleSheet.sheet.insertRule("."+he.name+" {"+he.style+"}",this.styleSheet.sheet.cssRules.length),he},De.prototype.addRule=function(he){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(he),this.styleSheet.sheet.insertRule(he.selector+" {"+he.style+"}",this.styleSheet.sheet.cssRules.length)},De.prototype.addStyleSheet=function(){var he;this.styleSheet=document.createElement("style"),((he=this.styleSheetRoot)!==null&&he!==void 0?he:document.head).appendChild(this.styleSheet),this.addRule(new Ge("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Ge("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new Ge("@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;
|
|
|
`))},De.prototype.removeStyleSheet=function(){var he;this.styleSheet&&(((he=this.styleSheetRoot)!==null&&he!==void 0?he:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},De}(),Ge=function(De,he){this.selector=De,this.style=he},Fe=function(De,he){this.localName=De,this.style=he},At=function(){function De(he,ce,Te,je,ge){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=he,this.displayMode=ce,this.markerItems=Te,this.uiStyleSettings=je,this.styles=ge,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return De.prototype.show=function(he){var ce=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=he,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var Te=document.createElement("div");Te.className=this.toolbarBlockStyleClass.name,Te.style.whiteSpace="nowrap",this.uiContainer.appendChild(Te),this.addActionButton(Te,'<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(Te,'<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(Te,'<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(Te,'<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(Te,'<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(Te,'<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(Te,'<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(Te,'<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(ge){var Pe=document.createElement("div");Pe.className=""+ce.toolbarButtonStyleClass.name,Pe.setAttribute("data-type-name",ge.typeName),Pe.innerHTML=ge.icon,Pe.addEventListener("click",function(){ce.markerToolbarButtonClicked(Pe,ge)}),ce.buttons.push(Pe),ce.markerButtons.push(Pe)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var je=document.createElement("div");je.className=this.toolbarBlockStyleClass.name,je.style.whiteSpace="nowrap",je.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(je),this.addActionButton(je,'<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(je,'<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()},De.prototype.addButtonClickListener=function(he){this.buttonClickListeners.push(he)},De.prototype.removeButtonClickListener=function(he){this.buttonClickListeners.indexOf(he)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(he),1)},De.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},De.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var he=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ce=0;ce<this.markerButtons.length;ce++)ce<he||ce===he&&this.markerButtons.length-1===he?this.markerButtonBlock.appendChild(this.markerButtons[ce]):(ce===he&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[ce]))}},De.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")},De.prototype.resetButtonStyles=function(){var he=this;this.buttons.forEach(function(ce){ce.className=ce.className.replace(he.uiStyleSettings.toolbarButtonStyleColorsClassName?he.uiStyleSettings.toolbarButtonStyleColorsClassName:he.toolbarButtonStyleColorsClass.name,"").trim(),ce.className=ce.className.replace(he.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?he.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:he.toolbarActiveButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(he.uiStyleSettings.toolbarButtonStyleColorsClassName?he.uiStyleSettings.toolbarButtonStyleColorsClassName:he.toolbarButtonStyleColorsClass.name)})},De.prototype.addActionButton=function(he,ce,Te){var je=this,ge=document.createElement("div");switch(ge.className=""+this.toolbarButtonStyleClass.name,ge.innerHTML=ce,ge.setAttribute("data-action",Te),ge.addEventListener("click",function(){je.actionToolbarButtonClicked(ge,Te)}),Te){case"select":ge.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ge.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ge.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ge.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ge.style.fill=this.uiStyleSettings.closeButtonColor}he.appendChild(ge),this.buttons.push(ge)},De.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 he=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Fe("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*he)+`px;
|
|
|
padding: `+he+`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 Ge("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},De.prototype.markerToolbarButtonClicked=function(he,ce){this.setActiveButton(he),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Te){return Te("marker",ce)}),this.markerButtonOverflowBlock.style.display="none"},De.prototype.actionToolbarButtonClicked=function(he,ce){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Te){return Te("action",ce)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},De.prototype.setActiveButton=function(he){this.resetButtonStyles(),he.className=he.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),he.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},De.prototype.setActiveMarkerButton=function(he){var ce=this.markerButtons.find(function(Te){return Te.getAttribute("data-type-name")===he});ce&&this.setActiveButton(ce)},De.prototype.setCurrentMarker=function(he){var ce=this;this.currentMarker=he,this.buttons.filter(function(Te){return/delete|notes/.test(Te.getAttribute("data-action"))}).forEach(function(Te){ce.currentMarker===void 0?(Te.style.fillOpacity="0.4",Te.style.pointerEvents="none"):(Te.style.fillOpacity="1",Te.style.pointerEvents="all")})},De}(),at=function(){function De(he,ce,Te,je){this.panels=[],this.panelButtons=[],this.markerjsContainer=he,this.displayMode=ce,this.uiStyleSettings=Te,this.styles=je,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return De.prototype.addStyles=function(){var he;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 ce=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: `+((he=this.uiStyleSettings.toolboxBackgroundColor)!==null&&he!==void 0?he:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Fe("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
padding: `+ce+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.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 Ge("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},De.prototype.show=function(he){var ce;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=he,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},De.prototype.setPanelButtons=function(he){var ce,Te,je=this;this.panels=he,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Te=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Te!==void 0?Te:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ge){var Pe;ge.uiStyleSettings=je.uiStyleSettings;var ct=document.createElement("div");ct.className=je.toolboxButtonStyleClass.name+" "+((Pe=je.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Pe!==void 0?Pe:je.toolboxButtonStyleColorsClass.name),ct.innerHTML=ge.icon,ct.title=ge.title,ct.addEventListener("click",function(){je.panelButtonClick(ge)}),je.panelButtons.push(ct),je.buttonRow.appendChild(ct)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},De.prototype.panelButtonClick=function(he){var ce=this,Te=-1;if(he!==this.activePanel){Te=this.panels.indexOf(he),this.panelRow.innerHTML="";var je=he.getUi();je.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(je),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=he}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ce.displayMode==="inline"?ce.panelRow.style.display="none":ce.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ge,Pe){var ct,$t;ge.className=ce.toolboxButtonStyleClass.name+" "+(Pe===Te?""+((ct=ce.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ct!==void 0?ct:ce.toolboxActiveButtonStyleColorsClass.name):""+(($t=ce.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&$t!==void 0?$t:ce.toolboxButtonStyleColorsClass.name))})},De}(),tt=function(De,he){this.title=De,this.icon=he},Je=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Pe.colors=[],Pe.addTransparent=!1,Pe.colorBoxes=[],Pe.colors=Te,Pe.currentColor=je,Pe.setCurrentColor=Pe.setCurrentColor.bind(Pe),Pe.getColorBox=Pe.getColorBox.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.whiteSpace="nowrap",this.colors.forEach(function(je){var ge=ce.getColorBox(je);Te.appendChild(ge),ce.colorBoxes.push(ge)}),Te},he.prototype.getColorBox=function(ce){var Te=this,je=this.uiStyleSettings.toolbarHeight/4,ge=this.uiStyleSettings.toolbarHeight-je,Pe=document.createElement("div");Pe.style.display="inline-block",Pe.style.boxSizing="content-box",Pe.style.width=ge-2+"px",Pe.style.height=ge-2+"px",Pe.style.padding="1px",Pe.style.marginRight="2px",Pe.style.marginBottom="2px",Pe.style.borderWidth="2px",Pe.style.borderStyle="solid",Pe.style.borderRadius=(ge+2)/2+"px",Pe.style.borderColor=ce===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Pe.addEventListener("click",function(){Te.setCurrentColor(ce,Pe)});var ct=document.createElement("div");return ct.style.display="inline-block",ct.style.width=ge-2+"px",ct.style.height=ge-2+"px",ct.style.backgroundColor=ce,ct.style.borderRadius=ge/2+"px",ce==="transparent"&&(ct.style.fill=this.uiStyleSettings.toolboxAccentColor,ct.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),Pe.appendChild(ct),Pe},he.prototype.setCurrentColor=function(ce,Te){var je=this;this.currentColor=ce,this.colorBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ce)},he}(tt),We=function(){function De(he,ce,Te){this._state="new",this._isSelected=!1,this._container=he,this._overlayContainer=ce,this.globalSettings=Te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(De.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),De.prototype.ownsTarget=function(he){return!1},Object.defineProperty(De.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),De.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},De.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},De.prototype.pointerDown=function(he,ce){},De.prototype.dblClick=function(he,ce){},De.prototype.manipulate=function(he){},De.prototype.pointerUp=function(he){this.stateChanged()},De.prototype.dispose=function(){},De.prototype.addMarkerVisualToContainer=function(he){this.container.childNodes.length>0?this.container.insertBefore(he,this.container.childNodes[0]):this.container.appendChild(he)},De.prototype.getState=function(){return{typeName:De.typeName,state:this.state,notes:this.notes}},De.prototype.restoreState=function(he){this._state=he.state,this.notes=he.notes},De.prototype.scale=function(he,ce){},De.prototype.colorChanged=function(he){this.onColorChanged&&this.onColorChanged(he),this.stateChanged()},De.prototype.fillColorChanged=function(he){this.onFillColorChanged&&this.onFillColorChanged(he),this.stateChanged()},De.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var he=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),he.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(he)&&this.onStateChanged(this)}},De.typeName="MarkerBase",De}(),Ve=function(){function De(){this.findGripByVisual=this.findGripByVisual.bind(this)}return De.prototype.findGripByVisual=function(he){return this.topLeft.ownsTarget(he)?this.topLeft:this.topCenter.ownsTarget(he)?this.topCenter:this.topRight.ownsTarget(he)?this.topRight:this.centerLeft.ownsTarget(he)?this.centerLeft:this.centerRight.ownsTarget(he)?this.centerRight:this.bottomLeft.ownsTarget(he)?this.bottomLeft:this.bottomCenter.ownsTarget(he)?this.bottomCenter:this.bottomRight.ownsTarget(he)?this.bottomRight:void 0},De}(),Ze=function(){function De(){this.GRIP_SIZE=10,this.visual=fe.createGroup(),this.visual.appendChild(fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return De.prototype.ownsTarget=function(he){return he===this.visual||he===this.visual.childNodes[0]||he===this.visual.childNodes[1]},De}(),Qe=function(){function De(){}return De.toITransformMatrix=function(he){return{a:he.a,b:he.b,c:he.c,d:he.d,e:he.e,f:he.f}},De.toSVGMatrix=function(he,ce){return he.a=ce.a,he.b=ce.b,he.c=ce.c,he.d=ce.d,he.e=ce.e,he.f=ce.f,he},De}(),ze=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.left=0,ge.top=0,ge.width=0,ge.height=0,ge.defaultSize={x:50,y:20},ge.offsetX=0,ge.offsetY=0,ge.rotationAngle=0,ge.CB_DISTANCE=10,ge._suppressMarkerCreateEvent=!1,ge.container.transform.baseVal.appendItem(fe.createTransform()),ge.setupControlBox(),ge}return me(he,De),Object.defineProperty(he.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"visual",{get:function(){return this._visual},set:function(ce){this._visual=ce;var Te=fe.createTransform();this._visual.transform.baseVal.appendItem(Te)},enumerable:!1,configurable:!0}),he.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!!(this.controlGrips.findGripByVisual(ce)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ce))},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.left=ce.x,this.top=ce.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var je=this.unrotatePoint(ce);if(this.manipulationStartX=je.x,this.manipulationStartY=je.y,this.offsetX=je.x-this.left,this.offsetY=je.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Te)){this.activeGrip=this.rotatorGrip;var ge=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ge.x-this.width/2,this.top=ge.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Pe=this.container.transform.baseVal.getItem(0);Pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},he.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},he.prototype.moveVisual=function(ce){this.visual.style.transform="translate("+ce.x+"px, "+ce.y+"px)"},he.prototype.manipulate=function(ce){var Te=this.unrotatePoint(ce);this.state==="creating"?this.resize(ce):this.state==="move"?(this.left=this.manipulationStartLeft+(Te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Te):this.state==="rotate"&&this.rotate(ce)},he.prototype.resize=function(ce){var Te=this.manipulationStartLeft,je=this.manipulationStartWidth,ge=this.manipulationStartTop,Pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Te=this.manipulationStartLeft+ce.x-this.manipulationStartX,je=this.manipulationStartWidth+this.manipulationStartLeft-Te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:je=this.manipulationStartWidth+ce.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ge=this.manipulationStartTop+ce.y-this.manipulationStartY,Pe=this.manipulationStartHeight+this.manipulationStartTop-ge;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Pe=this.manipulationStartHeight+ce.y-this.manipulationStartY}je>=0?(this.left=Te,this.width=je):(this.left=Te+je,this.width=-je),Pe>=0?(this.top=ge,this.height=Pe):(this.top=ge+Pe,this.height=-Pe),this.setSize()},he.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},he.prototype.rotate=function(ce){if(Math.abs(ce.x-this.centerX)>.1){var Te=Math.sign(ce.x-this.centerX);this.rotationAngle=180*Math.atan((ce.y-this.centerY)/(ce.x-this.centerX))/Math.PI+90*Te,this.applyRotation()}},he.prototype.applyRotation=function(){var ce=this.container.transform.baseVal.getItem(0);ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ce,0)},he.prototype.rotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM(),je=fe.createPoint(ce.x,ce.y);return{x:(je=je.matrixTransform(Te)).x,y:je.y}},he.prototype.unrotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM();Te=Te.inverse();var je=fe.createPoint(ce.x,ce.y);return{x:(je=je.matrixTransform(Te)).x,y:je.y}},he.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},he.prototype.setupControlBox=function(){this.controlBox=fe.createGroup();var ce=fe.createTransform();ce.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ce),this.container.appendChild(this.controlBox),this.controlRect=fe.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=fe.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 Ve,this.addControlGrips(),this.controlBox.style.display="none"},he.prototype.adjustControlBox=function(){var ce=this.controlBox.transform.baseVal.getItem(0);ce.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ce,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()},he.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()},he.prototype.createGrip=function(){var ce=new Ze;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},he.prototype.positionGrips=function(){var ce=this.controlGrips.topLeft.GRIP_SIZE,Te=-ce/2,je=Te,ge=(this.width+this.CB_DISTANCE)/2-ce/2,Pe=(this.height+this.CB_DISTANCE)/2-ce/2,ct=this.height+this.CB_DISTANCE-ce/2,$t=this.width+this.CB_DISTANCE-ce/2;this.positionGrip(this.controlGrips.topLeft.visual,Te,je),this.positionGrip(this.controlGrips.topCenter.visual,ge,je),this.positionGrip(this.controlGrips.topRight.visual,$t,je),this.positionGrip(this.controlGrips.centerLeft.visual,Te,Pe),this.positionGrip(this.controlGrips.centerRight.visual,$t,Pe),this.positionGrip(this.controlGrips.bottomLeft.visual,Te,ct),this.positionGrip(this.controlGrips.bottomCenter.visual,ge,ct),this.positionGrip(this.controlGrips.bottomRight.visual,$t,ct),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ge,je-3*this.CB_DISTANCE)},he.prototype.positionGrip=function(ce,Te,je){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,je),ce.transform.baseVal.replaceItem(ge,0)},he.prototype.hideControlBox=function(){this.controlBox.style.display="none"},he.prototype.showControlBox=function(){this.controlBox.style.display=""},he.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Qe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Qe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.left=Te.left,this.top=Te.top,this.width=Te.width,this.height=Te.height,this.rotationAngle=Te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Te.containerTransformMatrix))},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te);var je=this.rotatePoint({x:this.left,y:this.top}),ge=this.unrotatePoint({x:je.x*ce,y:je.y*Te});this.left=ge.x,this.top=ge.y,this.width=this.width*ce,this.height=this.height*Te,this.adjustControlBox()},he}(We),_e=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.opacity=1,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual)},he.prototype.createVisual=function(){this.visual=fe.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)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},he.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},he.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize()},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},he.prototype.setFillColor=function(ce){this.fillColor=ce,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},he.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},he.title="Rectangle marker",he}(ze),$e=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Pe.widths=[],Pe.widthBoxes=[],Pe.widths=Te,Pe.currentWidth=je,Pe.setCurrentWidth=Pe.setCurrentWidth.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.widths.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.flexGrow="2",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=je===ce.currentWidth?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentWidth(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.innerText=je.toString(),Pe.style.marginRight="5px",ge.appendChild(Pe);var ct=document.createElement("div");ct.style.minHeight="20px",ct.style.flexGrow="2",ct.style.display="flex",ct.style.alignItems="center";var $t=document.createElement("hr");$t.style.minWidth="20px",$t.style.border="0px",$t.style.borderTop=je+"px solid "+ce.uiStyleSettings.toolboxColor,$t.style.flexGrow="2",ct.appendChild($t),ge.appendChild(ct),ce.widthBoxes.push(ge)}),Te},he.prototype.setCurrentWidth=function(ce,Te){var je=this;this.currentWidth=ce,this.widthBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},he}(tt),nt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Pe.styles=[],Pe.styleBoxes=[],Pe.styles=Te,Pe.currentStyle=je,Pe.setCurrentStyle=Pe.setCurrentStyle.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.styles.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.styles.length-5+"%",ge.style.borderColor=je===ce.currentStyle?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentStyle(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.overflow="hidden";var ct=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+ce.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(je!==""?'stroke-dasharray="'+je+'"':"")+` />
|
|
|
</svg>`;Pe.innerHTML=ct,ge.appendChild(Pe),ce.styleBoxes.push(ge)}),Te},he.prototype.setCurrentStyle=function(ce,Te){var je=this;this.currentStyle=ce,this.styleBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},he}(tt),bt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="FrameMarker",he.title="Frame marker",he.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',he}(_e),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"},Nt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.x1=0,ge.y1=0,ge.x2=0,ge.y2=0,ge.defaultLength=50,ge.manipulationStartX=0,ge.manipulationStartY=0,ge.manipulationStartX1=0,ge.manipulationStartY1=0,ge.manipulationStartX2=0,ge.manipulationStartY2=0,ge.setupControlBox(),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!(!this.grip1.ownsTarget(ce)&&!this.grip2.ownsTarget(ce))},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartX=ce.x,this.manipulationStartY=ce.y,this.state==="new"&&(this.x1=ce.x,this.y1=ce.y,this.x2=ce.x,this.y2=ce.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(Te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},he.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),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(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},he.prototype.adjustVisual=function(){},he.prototype.manipulate=function(ce){this.state==="creating"?this.resize(ce):this.state==="move"?(this.x1=this.manipulationStartX1+ce.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ce.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ce.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ce.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ce)},he.prototype.resize=function(ce){switch(this.activeGrip){case this.grip1:this.x1=ce.x,this.y1=ce.y;break;case this.grip2:case void 0:this.x2=ce.x,this.y2=ce.y}this.adjustVisual(),this.adjustControlBox()},he.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},he.prototype.setupControlBox=function(){this.controlBox=fe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},he.prototype.adjustControlBox=function(){this.positionGrips()},he.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},he.prototype.createGrip=function(){var ce=new Ze;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},he.prototype.positionGrips=function(){var ce=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ce/2,this.y1-ce/2),this.positionGrip(this.grip2.visual,this.x2-ce/2,this.y2-ce/2)},he.prototype.positionGrip=function(ce,Te,je){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,je),ce.transform.baseVal.replaceItem(ge,0)},he.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.x1=Te.x1,this.y1=Te.y1,this.x2=Te.x2,this.y2=Te.y2},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.x1=this.x1*ce,this.y1=this.y1*Te,this.x2=this.x2*ce,this.y2=this.y2*Te,this.adjustVisual(),this.adjustControlBox()},he}(We),vt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorLine&&ce!==this.visibleLine)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=fe.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)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},he.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()),fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.createVisual(),this.adjustVisual()},he.typeName="LineMarker",he.title="Line marker",he.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',he}(Nt),dt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Pe.fonts=[],Pe.fontBoxes=[],Pe.fonts=Te,Pe.currentFont=je,Pe.setCurrentFont=Pe.setCurrentFont.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.flexGrow="2",this.fonts.forEach(function(je){var ge=document.createElement("div");ge.style.display="inline-block",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.fonts.length-5+"%",ge.style.borderColor=je===ce.currentFont?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentFont(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.style.display="flex",Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.fontFamily=je,Pe.style.overflow="hidden";var ct=document.createElement("div");ct.style.whiteSpace="nowrap",ct.style.overflow="hidden",ct.style.textOverflow="ellipsis",ct.innerHTML="The quick brown fox jumps over the lazy dog",Pe.appendChild(ct),ge.appendChild(Pe),ce.fontBoxes.push(ge)}),Te},he.prototype.setCurrentFont=function(ce,Te){var je=this;this.currentFont=ce,this.fontBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},he}(tt),It=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.color="transparent",ge.padding=5,ge.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ge.text=ge.DEFAULT_TEXT,ge.isMoved=!1,ge.color=je.defaultColor,ge.fontFamily=je.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setColor=ge.setColor.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.renderText=ge.renderText.bind(ge),ge.sizeText=ge.sizeText.bind(ge),ge.textEditDivClicked=ge.textEditDivClicked.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.setSize=ge.setSize.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.colorPanel=new Je("Color",je.defaultColorSet,je.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge}return me(he,De),he.prototype.ownsTarget=function(ce){if(De.prototype.ownsTarget.call(this,ce)||ce===this.visual||ce===this.textElement||ce===this.bgRectangle)return!0;var Te=!1;return this.textElement.childNodes.forEach(function(je){je===ce&&(Te=!0)}),Te},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.bgRectangle=fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.renderText=function(){var ce=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(Te){ce.textElement.appendChild(fe.createTSpan(Te.trim()===""?" ":Te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},he.prototype.getTextScale=function(){var ce=this.textElement.getBBox(),Te=1;if(ce.width>0&&ce.height>0){var je=(1*this.width-this.width*this.padding*2/100)/ce.width,ge=(1*this.height-this.height*this.padding*2/100)/ce.height;Te=Math.min(je,ge)}return Te},he.prototype.getTextPosition=function(ce){var Te=this.textElement.getBBox(),je=0,ge=0;return Te.width>0&&Te.height>0&&(je=(this.width-Te.width*ce)/2,ge=this.height/2-Te.height*ce/2),{x:je,y:ge}},he.prototype.sizeText=function(){var ce=this.textElement.getBBox(),Te=this.getTextScale(),je=this.getTextPosition(Te);je.y-=ce.y*Te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+je.x+"px, "+je.y+"px) scale("+Te+", "+Te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(je.x,je.y),this.textElement.transform.baseVal.getItem(1).setScale(Te,Te))},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.isMoved=!0,this.setSize(),this.sizeText()},he.prototype.setSize=function(){De.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},he.prototype.pointerUp=function(ce){var Te=this.state;Te==="creating"&&(this._suppressMarkerCreateEvent=!0),De.prototype.pointerUp.call(this,ce),this.setSize(),(Te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},he.prototype.showTextEditor=function(){var ce=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(Te){Te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Te=Number.parseFloat(ce.textEditor.style.fontSize);ce.textEditor.clientWidth>=Number.parseInt(ce.textEditor.style.maxWidth)&&Te>.9;)Te-=.1,ce.textEditor.style.fontSize=Math.max(Te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Te){if(Te.clipboardData){var je=Te.clipboardData.getData("text"),ge=window.getSelection();if(!ge.rangeCount)return!1;ge.deleteFromDocument(),ge.getRangeAt(0).insertNode(document.createTextNode(je)),Te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ce.textEditDivClicked(ce.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},he.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ce=this.getTextScale(),Te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),je=this.textElement.getBBox(),ge={x:je.width*ce,y:je.height*ce};Te.x-=ge.x/2,Te.y-=ge.y/2,this.textEditor.style.top=Te.y+"px",this.textEditor.style.left=Te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Te.x+"px",this.textEditor.style.fontSize=Math.max(16*ce,12)+"px",this.textElement.style.display="none"}},he.prototype.textEditDivClicked=function(ce){this.text=ce.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},he.prototype.select=function(){De.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},he.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),De.prototype.deselect.call(this)},he.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},he.prototype.setColor=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["fill",ce]]),this.color=ce,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ce)},he.prototype.setFont=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},he.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},he.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.color=Te.color,this.fontFamily=Te.fontFamily,this.padding=Te.padding,this.text=Te.text,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize(),this.sizeText(),this.positionTextEditor()},he.typeName="TextMarker",he.title="Text marker",he.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>',he}(ze),St=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.color="transparent",ge.lineWidth=3,ge.drawing=!1,ge.pixelRatio=1,ge.color=je.defaultColor,ge.lineWidth=je.defaultStrokeWidth,ge.pixelRatio=je.freehandPixelRatio,ge.setColor=ge.setColor.bind(ge),ge.addCanvas=ge.addCanvas.bind(ge),ge.finishCreation=ge.finishCreation.bind(ge),ge.setLineWidth=ge.setLineWidth.bind(ge),ge.colorPanel=new Je("Color",je.defaultColorSet,je.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.lineWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.lineWidthPanel.onWidthChanged=ge.setLineWidth,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.drawingImage)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.drawingImage=fe.createImage(),this.visual.appendChild(this.drawingImage);var ce=fe.createTransform();this.visual.transform.baseVal.appendItem(ce),this.addMarkerVisualToContainer(this.visual)},he.prototype.pointerDown=function(ce,Te){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(ce.x,ce.y),this.drawing=!0):De.prototype.pointerDown.call(this,ce,Te)},he.prototype.manipulate=function(ce){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ce.x,ce.y),this.canvasContext.stroke()):De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},he.prototype.pointerUp=function(ce){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):De.prototype.pointerUp.call(this,ce)},he.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)},he.prototype.select=function(){this.state==="creating"&&this.finishCreation(),De.prototype.select.call(this)},he.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),De.prototype.deselect.call(this)},he.prototype.finishCreation=function(){for(var ce=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],je=Te[0],ge=Te[1],Pe=Te[2],ct=Te[3],$t=!1,gt=0;gt<this.canvasElement.height;gt++)for(var yt=0;yt<this.canvasElement.width;yt++)ce.data[gt*this.canvasElement.width*4+4*yt+3]>0&&($t=!0,gt<ge&&(ge=gt),yt<je&&(je=yt),gt>ct&&(ct=gt),yt>Pe&&(Pe=yt));if($t){this.left=je/this.pixelRatio,this.top=ge/this.pixelRatio,this.width=(Pe-je)/this.pixelRatio,this.height=(ct-ge)/this.pixelRatio;var Dt=document.createElement("canvas");Dt.width=Pe-je,Dt.height=ct-ge,Dt.getContext("2d").putImageData(this.canvasContext.getImageData(je,ge,Pe-je,ct-ge),0,0),this.drawingImgUrl=Dt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},he.prototype.setDrawingImage=function(){fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},he.prototype.setColor=function(ce){this.color=ce,this.colorChanged(ce)},he.prototype.setLineWidth=function(ce){this.lineWidth=ce},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({drawingImgUrl:this.drawingImgUrl},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){this.createVisual(),De.prototype.restoreState.call(this,ce),this.drawingImgUrl=ce.drawingImgUrl,this.setDrawingImage()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setDrawingImage()},he.typeName="FreehandMarker",he.title="Freehand marker",he.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>',he}(ze),qe=function(De){function he(ce,Te,je){var ge=De.call(this,ce,je||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ge.typeBoxes=[],ge.currentType=Te,ge.setCurrentType=ge.setCurrentType.bind(ge),ge}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2";for(var je=function(ct){var $t="both";switch(ct){case 0:$t="both";break;case 1:$t="start";break;case 2:$t="end";break;case 3:$t="none"}var gt=document.createElement("div");if(gt.style.display="flex",gt.style.flexGrow="2",gt.style.alignItems="center",gt.style.justifyContent="space-between",gt.style.padding="5px",gt.style.borderWidth="2px",gt.style.borderStyle="solid",gt.style.borderColor=$t===ge.currentType?ge.uiStyleSettings.toolboxAccentColor:"transparent",gt.addEventListener("click",function(){ce.setCurrentType($t,gt)}),Te.appendChild(gt),$t==="both"||$t==="start"){var yt=document.createElement("div");yt.style.display="flex",yt.style.alignItems="center",yt.style.minHeight="20px",yt.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="`+(ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,yt.style.marginLeft="5px",gt.appendChild(yt)}var Dt=document.createElement("div");Dt.style.display="flex",Dt.style.alignItems="center",Dt.style.minHeight="20px",Dt.style.flexGrow="2";var Pt=document.createElement("hr");if(Pt.style.minWidth="20px",Pt.style.border="0px",Pt.style.borderTop="3px solid "+(ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxColor:"#eeeeee"),Pt.style.flexGrow="2",Dt.appendChild(Pt),gt.appendChild(Dt),$t==="both"||$t==="end"){var Wt=document.createElement("div");Wt.style.display="flex",Wt.style.alignItems="center",Wt.style.minHeight="20px",Wt.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="`+(ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Wt.style.marginRight="5px",gt.appendChild(Wt)}ge.typeBoxes.push(gt)},ge=this,Pe=0;Pe<4;Pe++)je(Pe);return Te},he.prototype.setCurrentType=function(ce,Te){var je=this;this.currentType=ce,this.typeBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},he}(tt),Jt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.arrowType="end",ge.arrowBaseHeight=10,ge.arrowBaseWidth=10,ge.getArrowPoints=ge.getArrowPoints.bind(ge),ge.setArrowType=ge.setArrowType.bind(ge),ge.arrowTypePanel=new qe("Arrow type","end"),ge.arrowTypePanel.onArrowTypeChanged=ge.setArrowType,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.arrow1&&ce!==this.arrow2)},he.prototype.getArrowPoints=function(ce,Te){var je=this.arrowBaseWidth+2*this.strokeWidth,ge=this.arrowBaseHeight+2*this.strokeWidth;return ce-je/2+","+(Te+ge/2)+" "+ce+","+(Te-ge/2)+" "+(ce+je/2)+","+(Te+ge/2)},he.prototype.createTips=function(){this.arrow1=fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow2)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"&&this.createTips()},he.prototype.adjustVisual=function(){if(De.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",fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),fe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ce=0;Math.abs(this.x1-this.x2)>.1&&(ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Te=this.arrow1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Te,0);var je=this.arrow2.transform.baseVal.getItem(0);je.setRotate(ce+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(je,0)}},he.prototype.setArrowType=function(ce){this.arrowType=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({arrowType:this.arrowType},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.arrowType=Te.arrowType,this.createTips(),this.adjustVisual()},he.typeName="ArrowMarker",he.title="Arrow marker",he.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',he}(vt),Rt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor=je.defaultFillColor,ge.strokeWidth=0,ge.fillPanel=new Je("Color",je.defaultColorSet,je.defaultFillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="CoverMarker",he.title="Cover marker",he.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',he}(_e),Zt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Pe.opacities=[],Pe.opacityBoxes=[],Pe.opacities=Te,Pe.currentOpacity=je,Pe.setCurrentOpacity=Pe.setCurrentOpacity.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",Te.style.justifyContent="space-between",this.opacities.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="center",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=je===ce.currentOpacity?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentOpacity(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.innerText=100*je+"%",ge.appendChild(Pe),ce.opacityBoxes.push(ge)}),Te},he.prototype.setCurrentOpacity=function(ce,Te){var je=this;this.currentOpacity=ce,this.opacityBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},he}(tt),Tn=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.setOpacity=ge.setOpacity.bind(ge),ge.fillColor=je.defaultHighlightColor,ge.strokeWidth=0,ge.opacity=je.defaultHighlightOpacity,ge.fillPanel=new Je("Color",je.defaultColorSet,ge.fillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge.opacityPanel=new Zt("Opacity",je.defaultOpacitySteps,ge.opacity),ge.opacityPanel.onOpacityChanged=ge.setOpacity,ge}return me(he,De),he.prototype.setOpacity=function(ce){this.opacity=ce,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="HighlightMarker",he.title="Highlight marker",he.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>',he}(Rt),Tt='<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>',Ye='<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>',Se=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.bgColor="transparent",ge.tipPosition={x:0,y:0},ge.tipBase1Position={x:0,y:0},ge.tipBase2Position={x:0,y:0},ge.tipMoving=!1,ge.color=je.defaultStrokeColor,ge.bgColor=je.defaultFillColor,ge.fontFamily=je.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setBgColor=ge.setBgColor.bind(ge),ge.getTipPoints=ge.getTipPoints.bind(ge),ge.positionTip=ge.positionTip.bind(ge),ge.setTipPoints=ge.setTipPoints.bind(ge),ge.colorPanel=new Je("Text color",je.defaultColorSet,ge.color,Tt),ge.colorPanel.onColorChanged=ge.setColor,ge.bgColorPanel=new Je("Fill color",je.defaultColorSet,ge.bgColor,Ye),ge.bgColorPanel.onColorChanged=ge.setBgColor,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.tipGrip=new Ze,ge.tipGrip.visual.transform.baseVal.appendItem(fe.createTransform()),ge.controlBox.appendChild(ge.tipGrip.visual),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return De.prototype.ownsTarget.call(this,ce)||this.tipGrip.ownsTarget(ce)||this.tip===ce},he.prototype.createTip=function(){fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},he.prototype.pointerDown=function(ce,Te){this.state==="new"&&De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):De.prototype.pointerDown.call(this,ce,Te)},he.prototype.pointerUp=function(ce){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,De.prototype.pointerUp.call(this,ce);else{var Te=this.state==="creating";De.prototype.pointerUp.call(this,ce),this.setTipPoints(Te),this.positionTip()}},he.prototype.manipulate=function(ce){if(this.tipMoving){var Te=this.unrotatePoint(ce);this.tipPosition={x:Te.x-this.manipulationStartLeft,y:Te.y-this.manipulationStartTop},this.positionTip()}else De.prototype.manipulate.call(this,ce)},he.prototype.setBgColor=function(ce){this.bgRectangle&&this.tip&&(fe.setAttributes(this.bgRectangle,[["fill",ce]]),fe.setAttributes(this.tip,[["fill",ce]])),this.bgColor=ce,this.fillColorChanged(ce)},he.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},he.prototype.setTipPoints=function(ce){ce===void 0&&(ce=!1);var Te=Math.min(this.height/2,15),je=this.height/5;ce&&(this.tipPosition={x:Te+je/2,y:this.height+20});var ge=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ge<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(je=this.width/5,Te=Math.min(this.width/2,15),this.tipBase1Position={x:Te,y:0},this.tipBase2Position={x:Te+je,y:0}):(this.tipBase1Position={x:0,y:Te},this.tipBase2Position={x:0,y:Te+je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ge<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(je=this.width/5,Te=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Te-je,y:0},this.tipBase2Position={x:this.width-Te,y:0}):(this.tipBase1Position={x:this.width,y:Te},this.tipBase2Position={x:this.width,y:Te+je}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ge<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(je=this.width/5,Te=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-Te-je,y:this.height},this.tipBase2Position={x:this.width-Te,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-Te-je},this.tipBase2Position={x:this.width,y:this.height-Te}):ge<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(je=this.width/5,Te=Math.min(this.width/2,15),this.tipBase1Position={x:Te,y:this.height},this.tipBase2Position={x:Te+je,y:this.height}):(this.tipBase1Position={x:0,y:this.height-Te},this.tipBase2Position={x:0,y:this.height-Te-je})},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.positionTip()},he.prototype.positionTip=function(){fe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var ce=this.tipGrip.visual.transform.baseVal.getItem(0);ce.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(ce,0)},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),he.prototype.select=function(){this.positionTip(),De.prototype.select.call(this)},he.prototype.getState=function(){var ce=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.bgColor=Te.bgColor,this.tipPosition=Te.tipPosition,De.prototype.restoreState.call(this,ce),this.createTip(),this.setTipPoints()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.tipPosition={x:this.tipPosition.x*ce,y:this.tipPosition.y*Te},this.positionTip()},he.typeName="CalloutMarker",he.title="Callout marker",he.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>',he}(It),Qt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.opacity=1,ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.fillColor=je.defaultFillColor,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.setOpacity=ge.setOpacity.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge.strokePanel=new Je("Line color",be(je.defaultColorSet,["transparent"]),je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.fillPanel=new Je("Fill color",be(je.defaultColorSet,["transparent"]),ge.fillColor,Ye),ge.fillPanel.onColorChanged=ge.setFillColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge.opacityPanel=new Zt("Opacity",je.defaultOpacitySteps,ge.opacity),ge.opacityPanel.onOpacityChanged=ge.setOpacity,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual)},he.prototype.createVisual=function(){this.visual=fe.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)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},he.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},he.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize()},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},he.prototype.setFillColor=function(ce){this.fillColor=ce,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(ce),this.stateChanged()},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},he.prototype.setOpacity=function(ce){this.opacity=ce,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},he.typeName="EllipseMarker",he.title="Ellipse marker",he.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>',he}(ze),on=function(De){function he(ce,Te,je){return De.call(this,ce,Te,je)||this}return me(he,De),Object.defineProperty(he.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.tip1&&ce!==this.tip2)},he.prototype.createTips=function(){this.tip1=fe.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(fe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=fe.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(fe.createTransform()),this.visual.appendChild(this.tip2)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"&&this.createTips()},he.prototype.adjustVisual=function(){if(De.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(fe.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()]]),fe.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 ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Te=this.tip1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Te,0);var je=this.tip2.transform.baseVal.getItem(0);je.setRotate(ce+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(je,0)}},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce),this.createTips(),this.adjustVisual()},he.typeName="MeasurementMarker",he.title="Measurement marker",he.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>',he}(vt),st=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokePanel.colors=je.defaultColorSet,ge.fillColor="transparent",ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="EllipseFrameMarker",he.title="Ellipse frame marker",he.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>',he}(Qt),Ut=function(){function De(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),De.prototype.addUndoStep=function(he){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(he)||(this.undoStack.push(he),JSON.stringify(this.lastRedoStep)!==JSON.stringify(he)&&this.redoStack.splice(0,this.redoStack.length))},De.prototype.replaceLastUndoStep=function(he){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=he)},De.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},De.prototype.undo=function(){if(this.undoStack.length>1){var he=this.undoStack.pop();return he!==void 0&&this.redoStack.push(he),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},De.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},De}(),Gt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.curveX=0,ge.curveY=0,ge.manipulationStartCurveX=0,ge.manipulationStartCurveY=0,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.positionGrips=ge.positionGrips.bind(ge),ge.addControlGrips=ge.addControlGrips.bind(ge),ge.adjustVisual=ge.adjustVisual.bind(ge),ge.setupControlBox=ge.setupControlBox.bind(ge),ge.resize=ge.resize.bind(ge),ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorCurve&&ce!==this.visibleCurve&&!this.curveGrip.ownsTarget(ce))},he.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorCurve=fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=fe.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)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ce.x,this.curveY=ce.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Te)&&(this.activeGrip=this.curveGrip,this._state="resize")},he.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},he.prototype.setupControlBox=function(){De.prototype.setupControlBox.call(this),this.curveControlLine1=fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=fe.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)},he.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,De.prototype.addControlGrips.call(this)},he.prototype.positionGrips=function(){De.prototype.positionGrips.call(this);var ce=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ce/2,this.curveY-ce/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()))},he.prototype.manipulate=function(ce){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ce.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ce.y-this.manipulationStartY),De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){this.activeGrip===this.curveGrip&&(this.curveX=ce.x,this.curveY=ce.y),De.prototype.resize.call(this,ce),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual()},he.prototype.scale=function(ce,Te){this.curveX=this.curveX*ce,this.curveY=this.curveY*Te,De.prototype.scale.call(this,ce,Te)},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.curveX=Te.curveX,this.curveY=Te.curveY,this.createVisual(),this.adjustVisual()},he.typeName="CurveMarker",he.title="Curve marker",he.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>',he}(Nt),On=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.textColor="transparent",ge.fontSize="1rem",ge.isMoved=!1,ge.captionText="Caption",ge.PADDING=5,ge.captionBoxWidth=0,ge.captionBoxHeight=0,ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.fillColor=je.defaultFillColor,ge.textColor=je.defaultStrokeColor,ge.fontFamily=je.defaultFontFamily,ge.fontSize=je.defaultCaptionFontSize,ge.captionText=je.defaultCaptionText,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge.sizeCaption=ge.sizeCaption.bind(ge),ge.setCaptionText=ge.setCaptionText.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.finishTextEditing=ge.finishTextEditing.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.setTextColor=ge.setTextColor.bind(ge),ge.strokePanel=new Je("Line color",be(je.defaultColorSet,["transparent"]),ge.strokeColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.fillPanel=new Je("Fill color",be(je.defaultColorSet,["transparent"]),ge.fillColor,Ye),ge.fillPanel.onColorChanged=ge.setFillColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.textColorPanel=new Je("Text color",je.defaultColorSet,ge.textColor,Tt),ge.textColorPanel.onColorChanged=ge.setTextColor,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.frame&&ce!==this.captionBg&&ce!==this.captionElement)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=fe.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=fe.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()},he.prototype.setCaptionText=function(ce){this.captionText=ce,this.captionElement.textContent=this.captionText,this.sizeCaption()},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},he.prototype.sizeCaption=function(){var ce=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ce.width+2*this.PADDING,this.captionBoxHeight=ce.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),fe.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')"]]),fe.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')"]])},he.prototype.showTextEditor=function(){var ce=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(Te){Te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Te){Te.key==="Enter"&&ce.finishTextEditing(ce.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},he.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"))},he.prototype.finishTextEditing=function(ce){this.setCaptionText(ce.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},he.prototype.setFont=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},he.prototype.setTextColor=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["fill",ce]]),this.textColor=ce,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},he.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},he.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},he.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.frame&&fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},he.prototype.setFillColor=function(ce){this.fillColor=ce,this.captionBg&&fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ce),this.stateChanged()},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=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},De.prototype.getState.call(this));return ce.typeName=this.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.textColor=Te.textColor,this.fontFamily=Te.fontFamily,this.captionText=Te.captionText,this.fontSize=Te.fontSize,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},he.typeName="CaptionFrameMarker",he.title="Caption frame marker",he.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>',he}(ze),ft=function(){function De(he,ce){ce===void 0&&(ce=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=he,this.cancelable=ce}return Object.defineProperty(De.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),De.prototype.preventDefault=function(){this._defaultPrevented=!0},De}(),En=function(De){function he(ce,Te,je){var ge=De.call(this,ce,!1)||this;return ge.dataUrl=Te,ge.state=je,ge}return me(he,De),he}(ft),Ht=function(De){function he(ce,Te,je){je===void 0&&(je=!1);var ge=De.call(this,ce,je)||this;return ge.marker=Te,ge}return me(he,De),he}(ft),gn=function(){function De(){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 De.prototype.addEventListener=function(he,ce){this[he].push(ce)},De.prototype.removeEventListener=function(he,ce){var Te=this[he].indexOf(ce);Te>-1&&this[he].splice(Te,1)},De}(),un=function(){function De(he){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 Ut,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 gn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=De.instanceCounter++,this.styles=new xe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=he,this.targetRoot=document.body,this.width=he.clientWidth,this.height=he.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(De.prototype,"ALL_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,st,Qt,Tn,Se,on,Rt,vt,Gt,On]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,Qt,Tn,Se]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"BASIC_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,Tn]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(he){var ce=this;this._availableMarkerTypes.splice(0),he.forEach(function(Te){if(typeof Te=="string"){var je=ce.ALL_MARKER_TYPES.find(function(ge){return ge.typeName===Te});je!==void 0&&ce._availableMarkerTypes.push(je)}else ce._availableMarkerTypes.push(Te)})},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(he){this._zoomLevel=he,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(De.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),De.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),we.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},De.prototype.show=function(){var he=this;this.styles.styleSheetRoot===void 0&&Re.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Re.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ce){return ce(new ft(he))})},De.prototype.render=function(){return le(this,void 0,void 0,function(){var he;return pe(this,function(ce){switch(ce.label){case 0:return this.setCurrentMarker(),(he=new Oe).naturalSize=this.renderAtNaturalSize,he.imageType=this.renderImageType,he.imageQuality=this.renderImageQuality,he.markersOnly=this.renderMarkersOnly,he.width=this.renderWidth,he.height=this.renderHeight,[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ce.sent(),[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ce.sent()]}})})},De.prototype.close=function(he){var ce=this;if(he===void 0&&(he=!1),this.isOpen){var Te=!1;he||this.eventListeners.beforeclose.forEach(function(je){var ge=new ft(ce,!0);je(ge),ge.defaultPrevented&&(Te=!0)}),Te||(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(je){return je(new ft(ce))}),this.detachEvents(),this._isOpen=!1)}},De.prototype.addMarkersToToolbar=function(){for(var he,ce=[],Te=0;Te<arguments.length;Te++)ce[Te]=arguments[Te];(he=this._availableMarkerTypes).push.apply(he,ce)},De.prototype.addRenderEventListener=function(he){this.addEventListener("render",function(ce){he(ce.dataUrl,ce.state)})},De.prototype.removeRenderEventListener=function(he){},De.prototype.addCloseEventListener=function(he){this.addEventListener("close",function(){he()})},De.prototype.removeCloseEventListener=function(he){},De.prototype.setupResizeObserver=function(){var he=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){he.resize(he.target.clientWidth,he.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return he.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},De.prototype.onPopupTargetResize=function(){var he=1*this.target.clientWidth/this.target.clientHeight,ce=this.editorCanvas.clientWidth/he>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*he:this.editorCanvas.clientWidth,Te=ce<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/he;this.resize(ce,Te)},De.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},De.prototype.resize=function(he,ce){this._isResizing=!0;var Te=he/this.imageWidth,je=ce/this.imageHeight;this.imageWidth=Math.round(he),this.imageHeight=Math.round(ce),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(Te,je),this._isResizing=!1},De.prototype.scaleMarkers=function(he,ce){var Te,je=this;this._currentMarker&&this._currentMarker instanceof It?this._currentMarker.scale(he,ce):(Te=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ge){ge!==je._currentMarker&&ge.scale(he,ce)}),Te!==void 0&&this.setCurrentMarker(Te)},De.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"},De.prototype.setTopLeft=function(){var he=this.editingTarget.getBoundingClientRect(),ce=this.editorCanvas.getBoundingClientRect();this.left=he.left-ce.left,this.top=he.top-ce.top},De.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)},De.prototype.addDefs=function(){for(var he,ce=[],Te=0;Te<arguments.length;Te++)ce[Te]=arguments[Te];this.defs=fe.createDefs(),this.addDefsToImage(),(he=this.defs).append.apply(he,ce)},De.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},De.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)},De.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},De.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},De.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)},De.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},De.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)},De.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 he=document.createElement("a");he.href="https://markerjs.com/",he.target="_blank",he.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>',he.title="Powered by marker.js",he.style.display="grid",he.style.alignItems="center",he.style.justifyItems="center",he.style.padding="3px",he.style.width="20px",he.style.height="20px",this.logoUI.appendChild(he),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},De.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")},De.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"},De.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},De.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 he=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=he+"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 At(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 at(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},De.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},De.prototype.removeMarker=function(he){this.markerImage.removeChild(he.container),this.markers.indexOf(he)>-1&&this.markers.splice(this.markers.indexOf(he),1),he.dispose()},De.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())},De.prototype.toolbarButtonClicked=function(he,ce){if(he==="marker"&&ce!==void 0)this.createNewMarker(ce);else if(he==="action")switch(ce){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()}},De.prototype.deleteSelectedMarker=function(){var he=this;if(this._currentMarker!==void 0){var ce=!1;if(this.eventListeners.markerbeforedelete.forEach(function(je){var ge=new Ht(he,he._currentMarker,!0);je(ge),ge.defaultPrevented&&(ce=!0)}),!ce){var Te=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(je){return je(new Ht(he,Te))})}}},De.prototype.clear=function(){var he=this,ce=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Pe){var ct=new Ht(he,void 0,!0);Pe(ct),ct.defaultPrevented&&(ce=!0)}),!ce)){this.setCurrentMarker();for(var Te=function(Pe){var ct=je.markers[Pe];je.setCurrentMarker(je.markers[Pe]),je._currentMarker.dispose(),je.markerImage.removeChild(je._currentMarker.container),je.markers.splice(je.markers.indexOf(je._currentMarker),1),je.eventListeners.markerdelete.forEach(function($t){return $t(new Ht(he,ct))})},je=this,ge=this.markers.length-1;ge>=0;ge--)Te(ge);this.addUndoStep()}},Object.defineProperty(De.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),De.prototype.showNotesEditor=function(){var he;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=(he=this._currentMarker.notes)!==null&&he!==void 0?he:"",this.overlayContainer.appendChild(this.notesArea))},De.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)},De.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},De.prototype.addUndoStep=function(){var he=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ce=this.getState(),Te=this.undoRedoManager.getLastUndoStep();if(!Te||Te.width===ce.width&&Te.height===ce.height){var je=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ce),je<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ge){return ge(new ft(he))})}else this.undoRedoManager.replaceLastUndoStep(ce),this.eventListeners.statechange.forEach(function(ge){return ge(new ft(he))})}},De.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},De.prototype.undoStep=function(){var he=this,ce=this.undoRedoManager.undo();ce!==void 0&&(this.restoreState(ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Te){return Te(new ft(he))}))},De.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},De.prototype.redoStep=function(){var he=this,ce=this.undoRedoManager.redo();ce!==void 0&&(this.restoreState(ce),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(Te){return Te(new ft(he))}))},De.prototype.stepZoom=function(){var he=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=he<this.zoomSteps.length-1?this.zoomSteps[he+1]:this.zoomSteps[0]},De.prototype.panTo=function(he){this.contentDiv.scrollBy({left:this.prevPanPoint.x-he.x,top:this.prevPanPoint.y-he.y}),this.prevPanPoint=he},De.prototype.startRenderAndClose=function(){return le(this,void 0,void 0,function(){var he,ce,Te=this;return pe(this,function(je){switch(je.label){case 0:return[4,this.render()];case 1:return he=je.sent(),ce=this.getState(),this.eventListeners.render.forEach(function(ge){return ge(new En(Te,he,ce))}),this.close(!0),[2]}})})},De.prototype.getState=function(he){he===!0&&this.setCurrentMarker();var ce={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(Te){return ce.markers.push(Te.getState())}),ce},De.prototype.restoreState=function(he){var ce=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);he.markers.forEach(function(Te){var je=ce._availableMarkerTypes.find(function(Pe){return Pe.typeName===Te.typeName});if(je!==void 0){var ge=ce.addNewMarker(je);ge.restoreState(Te),ce.markers.push(ge)}}),he.width&&he.height&&(he.width!==this.imageWidth||he.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/he.width,this.imageHeight/he.height),this.eventListeners.restorestate.forEach(function(Te){return Te(new ft(ce))})},De.prototype.addNewMarker=function(he){var ce=fe.createGroup();return this.markerImage.appendChild(ce),new he(ce,this.overlayContainer,this.settings)},De.prototype.createNewMarker=function(he){var ce,Te=this;(ce=typeof he=="string"?this._availableMarkerTypes.find(function(je){return je.typeName===he}):he)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(ce),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(ce.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(je){return je(new Ht(Te,Te._currentMarker))}))},De.prototype.markerCreated=function(he){var ce=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(he),this.setCurrentMarker(he),he instanceof St&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(St):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(Te){return Te(new Ht(ce,ce._currentMarker))})},De.prototype.colorChanged=function(he){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=he,this.settings.defaultStrokeColor=he)},De.prototype.fillColorChanged=function(he){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=he)},De.prototype.markerStateChanged=function(he){var ce=this;this.eventListeners.markerchange.forEach(function(Te){return Te(new Ht(ce,he))})},De.prototype.setCurrentMarker=function(he){var ce=this;this._currentMarker!==he&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(Te){return Te(new Ht(ce,ce._currentMarker))})),this._currentMarker=he,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(Te){return Te(new Ht(ce,ce._currentMarker))}))},De.prototype.onPointerDown=function(he){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||he.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var ce=this.markers.find(function(Te){return Te.ownsTarget(he.target)});ce!==void 0?(this.setCurrentMarker(ce),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(he.clientX,he.clientY),he.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:he.clientX,y:he.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(he.clientX,he.clientY))},De.prototype.onDblClick=function(he){if(this._isFocused||this.focus(),this.mode==="select"){var ce=this.markers.find(function(Te){return Te.ownsTarget(he.target)});ce!==void 0&&ce!==this._currentMarker&&this.setCurrentMarker(ce),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(he.clientX,he.clientY),he.target):this.setCurrentMarker()}},De.prototype.onPointerMove=function(he){this.touchPoints!==1&&he.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||he.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(he.clientX,he.clientY)):this.zoomLevel>1&&this.panTo({x:he.clientX,y:he.clientY}))},De.prototype.onPointerUp=function(he){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(he.clientX,he.clientY)),this.isDragging=!1,this.addUndoStep()},De.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},De.prototype.onKeyUp=function(he){this._currentMarker===void 0||this.notesArea!==void 0||he.key!=="Delete"&&he.key!=="Backspace"||this.deleteSelectedMarker()},De.prototype.clientToLocalCoordinates=function(he,ce){var Te=this.markerImage.getBoundingClientRect();return{x:(he-Te.left)/this.zoomLevel,y:(ce-Te.top)/this.zoomLevel}},De.prototype.onWindowResize=function(){this.positionUI()},De.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var he=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=he+"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()},De.prototype.addLicenseKey=function(he){we.addKey(he)},De.prototype.addEventListener=function(he,ce){this.eventListeners.addEventListener(he,ce)},De.prototype.removeEventListener=function(he,ce){this.eventListeners.removeEventListener(he,ce)},De.prototype.renderState=function(he){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(he),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(De.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),De.prototype.focus=function(){var he=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ce){return ce(new ft(he))}))},De.prototype.blur=function(){var he=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ce){return ce(new ft(he))}))},De.instanceCounter=0,De}()},67842:function(Ce){"use strict";var ae,y=59;Ce.exports=b;function b(me){var le="&"+me+";",pe;return ae=ae||document.createElement("i"),ae.innerHTML=le,pe=ae.textContent,pe.charCodeAt(pe.length-1)===y&&me!=="semi"||pe===le?!1:pe}},12256:function(Ce,ae,y){"use strict";var b=y(47854),me=y(80501),le=y(22347),pe=y(65207),be=y(21127),fe=y(67842);Ce.exports=Tn;var we={}.hasOwnProperty,Oe=String.fromCharCode,Re=Function.prototype,xe={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Ge=9,Fe=10,At=12,at=32,tt=38,Je=59,We=60,Ve=61,Ze=35,Qe=88,ze=120,_e=65533,$e="named",nt="hexadecimal",bt="decimal",it={};it[nt]=16,it[bt]=10;var Nt={};Nt[$e]=be,Nt[bt]=le,Nt[nt]=pe;var vt=1,dt=2,It=3,St=4,qe=5,Jt=6,Rt=7,Zt={};Zt[vt]="Named character references must be terminated by a semicolon",Zt[dt]="Numeric character references must be terminated by a semicolon",Zt[It]="Named character references cannot be empty",Zt[St]="Numeric character references cannot be empty",Zt[qe]="Named character references must be known",Zt[Jt]="Numeric character references cannot be disallowed",Zt[Rt]="Numeric character references cannot be outside the permissible Unicode range";function Tn(Qt,on){var st={},Ut,Gt;on||(on={});for(Gt in xe)Ut=on[Gt],st[Gt]=Ut==null?xe[Gt]:Ut;return(st.position.indent||st.position.start)&&(st.indent=st.position.indent||[],st.position=st.position.start),Tt(Qt,st)}function Tt(Qt,on){var st=on.additional,Ut=on.nonTerminated,Gt=on.text,On=on.reference,ft=on.warning,En=on.textContext,Ht=on.referenceContext,gn=on.warningContext,un=on.position,De=on.indent||[],he=Qt.length,ce=0,Te=-1,je=un.column||1,ge=un.line||1,Pe="",ct=[],$t,gt,yt,Dt,Pt,Wt,pn,fn,Mt,Ln,kn,wn,ln,In,xn,kt,Yt,Ft,vn;for(typeof st=="string"&&(st=st.charCodeAt(0)),kt=Ct(),fn=ft?pt:Re,ce--,he++;++ce<he;)if(Pt===Fe&&(je=De[Te]||1),Pt=Qt.charCodeAt(ce),Pt===tt){if(pn=Qt.charCodeAt(ce+1),pn===Ge||pn===Fe||pn===At||pn===at||pn===tt||pn===We||pn!==pn||st&&pn===st){Pe+=Oe(Pt),je++;continue}for(ln=ce+1,wn=ln,vn=ln,pn===Ze?(vn=++wn,pn=Qt.charCodeAt(vn),pn===Qe||pn===ze?(In=nt,vn=++wn):In=bt):In=$e,$t="",kn="",Dt="",xn=Nt[In],vn--;++vn<he&&(pn=Qt.charCodeAt(vn),!!xn(pn));)Dt+=Oe(pn),In===$e&&we.call(b,Dt)&&($t=Dt,kn=b[Dt]);yt=Qt.charCodeAt(vn)===Je,yt&&(vn++,gt=In===$e?fe(Dt):!1,gt&&($t=Dt,kn=gt)),Ft=1+vn-ln,!yt&&!Ut||(Dt?In===$e?(yt&&!kn?fn(qe,1):($t!==Dt&&(vn=wn+$t.length,Ft=1+vn-wn,yt=!1),yt||(Mt=$t?vt:It,on.attribute?(pn=Qt.charCodeAt(vn),pn===Ve?(fn(Mt,Ft),kn=null):be(pn)?kn=null:fn(Mt,Ft)):fn(Mt,Ft))),Wt=kn):(yt||fn(dt,Ft),Wt=parseInt(Dt,it[In]),Ye(Wt)?(fn(Rt,Ft),Wt=Oe(_e)):Wt in me?(fn(Jt,Ft),Wt=me[Wt]):(Ln="",Se(Wt)&&fn(Jt,Ft),Wt>65535&&(Wt-=65536,Ln+=Oe(Wt>>>10|55296),Wt=56320|Wt&1023),Wt=Ln+Oe(Wt))):In!==$e&&fn(St,Ft)),Wt?(de(),kt=Ct(),ce=vn-1,je+=vn-ln+1,ct.push(Wt),Yt=Ct(),Yt.offset++,On&&On.call(Ht,Wt,{start:kt,end:Yt},Qt.slice(ln-1,vn)),kt=Yt):(Dt=Qt.slice(ln-1,vn),Pe+=Dt,je+=Dt.length,ce=vn-1)}else Pt===10&&(ge++,Te++,je=0),Pt===Pt?(Pe+=Oe(Pt),je++):de();return ct.join("");function Ct(){return{line:ge,column:je,offset:ce+(un.offset||0)}}function pt(qt,Dn){var mn=Ct();mn.column+=Dn,mn.offset+=Dn,ft.call(gn,Zt[qt],mn,qt)}function de(){Pe&&(ct.push(Pe),Gt&&Gt.call(En,Pe,{start:kt,end:Ct()}),Pe="")}}function Ye(Qt){return Qt>=55296&&Qt<=57343||Qt>1114111}function Se(Qt){return Qt>=1&&Qt<=8||Qt===11||Qt>=13&&Qt<=31||Qt>=127&&Qt<=159||Qt>=64976&&Qt<=65007||(Qt&65535)===65535||(Qt&65535)===65534}},68398:function(Ce,ae,y){var b=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var me=function(le){var pe=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,be=0,fe={},we={manual:le.Prism&&le.Prism.manual,disableWorkerMessageHandler:le.Prism&&le.Prism.disableWorkerMessageHandler,util:{encode:function Ve(Ze){return Ze instanceof Oe?new Oe(Ze.type,Ve(Ze.content),Ze.alias):Array.isArray(Ze)?Ze.map(Ve):Ze.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(Ve){return Object.prototype.toString.call(Ve).slice(8,-1)},objId:function(Ve){return Ve.__id||Object.defineProperty(Ve,"__id",{value:++be}),Ve.__id},clone:function Ve(Ze,Qe){Qe=Qe||{};var ze,_e;switch(we.util.type(Ze)){case"Object":if(_e=we.util.objId(Ze),Qe[_e])return Qe[_e];ze={},Qe[_e]=ze;for(var $e in Ze)Ze.hasOwnProperty($e)&&(ze[$e]=Ve(Ze[$e],Qe));return ze;case"Array":return _e=we.util.objId(Ze),Qe[_e]?Qe[_e]:(ze=[],Qe[_e]=ze,Ze.forEach(function(nt,bt){ze[bt]=Ve(nt,Qe)}),ze);default:return Ze}},getLanguage:function(Ve){for(;Ve;){var Ze=pe.exec(Ve.className);if(Ze)return Ze[1].toLowerCase();Ve=Ve.parentElement}return"none"},setLanguage:function(Ve,Ze){Ve.className=Ve.className.replace(RegExp(pe,"gi"),""),Ve.classList.add("language-"+Ze)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(ze){var Ve=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(ze.stack)||[])[1];if(Ve){var Ze=document.getElementsByTagName("script");for(var Qe in Ze)if(Ze[Qe].src==Ve)return Ze[Qe]}return null}},isActive:function(Ve,Ze,Qe){for(var ze="no-"+Ze;Ve;){var _e=Ve.classList;if(_e.contains(Ze))return!0;if(_e.contains(ze))return!1;Ve=Ve.parentElement}return!!Qe}},languages:{plain:fe,plaintext:fe,text:fe,txt:fe,extend:function(Ve,Ze){var Qe=we.util.clone(we.languages[Ve]);for(var ze in Ze)Qe[ze]=Ze[ze];return Qe},insertBefore:function(Ve,Ze,Qe,ze){ze=ze||we.languages;var _e=ze[Ve],$e={};for(var nt in _e)if(_e.hasOwnProperty(nt)){if(nt==Ze)for(var bt in Qe)Qe.hasOwnProperty(bt)&&($e[bt]=Qe[bt]);Qe.hasOwnProperty(nt)||($e[nt]=_e[nt])}var it=ze[Ve];return ze[Ve]=$e,we.languages.DFS(we.languages,function(Nt,vt){vt===it&&Nt!=Ve&&(this[Nt]=$e)}),$e},DFS:function Ve(Ze,Qe,ze,_e){_e=_e||{};var $e=we.util.objId;for(var nt in Ze)if(Ze.hasOwnProperty(nt)){Qe.call(Ze,nt,Ze[nt],ze||nt);var bt=Ze[nt],it=we.util.type(bt);it==="Object"&&!_e[$e(bt)]?(_e[$e(bt)]=!0,Ve(bt,Qe,null,_e)):it==="Array"&&!_e[$e(bt)]&&(_e[$e(bt)]=!0,Ve(bt,Qe,nt,_e))}}},plugins:{},highlightAll:function(Ve,Ze){we.highlightAllUnder(document,Ve,Ze)},highlightAllUnder:function(Ve,Ze,Qe){var ze={callback:Qe,container:Ve,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};we.hooks.run("before-highlightall",ze),ze.elements=Array.prototype.slice.apply(ze.container.querySelectorAll(ze.selector)),we.hooks.run("before-all-elements-highlight",ze);for(var _e=0,$e;$e=ze.elements[_e++];)we.highlightElement($e,Ze===!0,ze.callback)},highlightElement:function(Ve,Ze,Qe){var ze=we.util.getLanguage(Ve),_e=we.languages[ze];we.util.setLanguage(Ve,ze);var $e=Ve.parentElement;$e&&$e.nodeName.toLowerCase()==="pre"&&we.util.setLanguage($e,ze);var nt=Ve.textContent,bt={element:Ve,language:ze,grammar:_e,code:nt};function it(vt){bt.highlightedCode=vt,we.hooks.run("before-insert",bt),bt.element.innerHTML=bt.highlightedCode,we.hooks.run("after-highlight",bt),we.hooks.run("complete",bt),Qe&&Qe.call(bt.element)}if(we.hooks.run("before-sanity-check",bt),$e=bt.element.parentElement,$e&&$e.nodeName.toLowerCase()==="pre"&&!$e.hasAttribute("tabindex")&&$e.setAttribute("tabindex","0"),!bt.code){we.hooks.run("complete",bt),Qe&&Qe.call(bt.element);return}if(we.hooks.run("before-highlight",bt),!bt.grammar){it(we.util.encode(bt.code));return}if(Ze&&le.Worker){var Nt=new Worker(we.filename);Nt.onmessage=function(vt){it(vt.data)},Nt.postMessage(JSON.stringify({language:bt.language,code:bt.code,immediateClose:!0}))}else it(we.highlight(bt.code,bt.grammar,bt.language))},highlight:function(Ve,Ze,Qe){var ze={code:Ve,grammar:Ze,language:Qe};if(we.hooks.run("before-tokenize",ze),!ze.grammar)throw new Error('The language "'+ze.language+'" has no grammar.');return ze.tokens=we.tokenize(ze.code,ze.grammar),we.hooks.run("after-tokenize",ze),Oe.stringify(we.util.encode(ze.tokens),ze.language)},tokenize:function(Ve,Ze){var Qe=Ze.rest;if(Qe){for(var ze in Qe)Ze[ze]=Qe[ze];delete Ze.rest}var _e=new Ge;return Fe(_e,_e.head,Ve),xe(Ve,_e,Ze,_e.head,0),at(_e)},hooks:{all:{},add:function(Ve,Ze){var Qe=we.hooks.all;Qe[Ve]=Qe[Ve]||[],Qe[Ve].push(Ze)},run:function(Ve,Ze){var Qe=we.hooks.all[Ve];if(!(!Qe||!Qe.length))for(var ze=0,_e;_e=Qe[ze++];)_e(Ze)}},Token:Oe};le.Prism=we;function Oe(Ve,Ze,Qe,ze){this.type=Ve,this.content=Ze,this.alias=Qe,this.length=(ze||"").length|0}Oe.stringify=function Ve(Ze,Qe){if(typeof Ze=="string")return Ze;if(Array.isArray(Ze)){var ze="";return Ze.forEach(function(it){ze+=Ve(it,Qe)}),ze}var _e={type:Ze.type,content:Ve(Ze.content,Qe),tag:"span",classes:["token",Ze.type],attributes:{},language:Qe},$e=Ze.alias;$e&&(Array.isArray($e)?Array.prototype.push.apply(_e.classes,$e):_e.classes.push($e)),we.hooks.run("wrap",_e);var nt="";for(var bt in _e.attributes)nt+=" "+bt+'="'+(_e.attributes[bt]||"").replace(/"/g,""")+'"';return"<"+_e.tag+' class="'+_e.classes.join(" ")+'"'+nt+">"+_e.content+"</"+_e.tag+">"};function Re(Ve,Ze,Qe,ze){Ve.lastIndex=Ze;var _e=Ve.exec(Qe);if(_e&&ze&&_e[1]){var $e=_e[1].length;_e.index+=$e,_e[0]=_e[0].slice($e)}return _e}function xe(Ve,Ze,Qe,ze,_e,$e){for(var nt in Qe)if(!(!Qe.hasOwnProperty(nt)||!Qe[nt])){var bt=Qe[nt];bt=Array.isArray(bt)?bt:[bt];for(var it=0;it<bt.length;++it){if($e&&$e.cause==nt+","+it)return;var Nt=bt[it],vt=Nt.inside,dt=!!Nt.lookbehind,It=!!Nt.greedy,St=Nt.alias;if(It&&!Nt.pattern.global){var qe=Nt.pattern.toString().match(/[imsuy]*$/)[0];Nt.pattern=RegExp(Nt.pattern.source,qe+"g")}for(var Jt=Nt.pattern||Nt,Rt=ze.next,Zt=_e;Rt!==Ze.tail&&!($e&&Zt>=$e.reach);Zt+=Rt.value.length,Rt=Rt.next){var Tn=Rt.value;if(Ze.length>Ve.length)return;if(!(Tn instanceof Oe)){var Tt=1,Ye;if(It){if(Ye=Re(Jt,Zt,Ve,dt),!Ye||Ye.index>=Ve.length)break;var st=Ye.index,Se=Ye.index+Ye[0].length,Qt=Zt;for(Qt+=Rt.value.length;st>=Qt;)Rt=Rt.next,Qt+=Rt.value.length;if(Qt-=Rt.value.length,Zt=Qt,Rt.value instanceof Oe)continue;for(var on=Rt;on!==Ze.tail&&(Qt<Se||typeof on.value=="string");on=on.next)Tt++,Qt+=on.value.length;Tt--,Tn=Ve.slice(Zt,Qt),Ye.index-=Zt}else if(Ye=Re(Jt,0,Tn,dt),!Ye)continue;var st=Ye.index,Ut=Ye[0],Gt=Tn.slice(0,st),On=Tn.slice(st+Ut.length),ft=Zt+Tn.length;$e&&ft>$e.reach&&($e.reach=ft);var En=Rt.prev;Gt&&(En=Fe(Ze,En,Gt),Zt+=Gt.length),At(Ze,En,Tt);var Ht=new Oe(nt,vt?we.tokenize(Ut,vt):Ut,St,Ut);if(Rt=Fe(Ze,En,Ht),On&&Fe(Ze,Rt,On),Tt>1){var gn={cause:nt+","+it,reach:ft};xe(Ve,Ze,Qe,Rt.prev,Zt,gn),$e&&gn.reach>$e.reach&&($e.reach=gn.reach)}}}}}}function Ge(){var Ve={value:null,prev:null,next:null},Ze={value:null,prev:Ve,next:null};Ve.next=Ze,this.head=Ve,this.tail=Ze,this.length=0}function Fe(Ve,Ze,Qe){var ze=Ze.next,_e={value:Qe,prev:Ze,next:ze};return Ze.next=_e,ze.prev=_e,Ve.length++,_e}function At(Ve,Ze,Qe){for(var ze=Ze.next,_e=0;_e<Qe&&ze!==Ve.tail;_e++)ze=ze.next;Ze.next=ze,ze.prev=Ze,Ve.length-=_e}function at(Ve){for(var Ze=[],Qe=Ve.head.next;Qe!==Ve.tail;)Ze.push(Qe.value),Qe=Qe.next;return Ze}if(!le.document)return le.addEventListener&&(we.disableWorkerMessageHandler||le.addEventListener("message",function(Ve){var Ze=JSON.parse(Ve.data),Qe=Ze.language,ze=Ze.code,_e=Ze.immediateClose;le.postMessage(we.highlight(ze,we.languages[Qe],Qe)),_e&&le.close()},!1)),we;var tt=we.util.currentScript();tt&&(we.filename=tt.src,tt.hasAttribute("data-manual")&&(we.manual=!0));function Je(){we.manual||we.highlightAll()}if(!we.manual){var We=document.readyState;We==="loading"||We==="interactive"&&tt&&tt.defer?document.addEventListener("DOMContentLoaded",Je):window.requestAnimationFrame?window.requestAnimationFrame(Je):window.setTimeout(Je,16)}return we}(b);Ce.exports&&(Ce.exports=me),typeof y.g!="undefined"&&(y.g.Prism=me)},88914:function(Ce,ae,y){"use strict";var b=y(47178),me=y(19095),le=y(1969),pe="data";Ce.exports=Oe;var be=/^data[-\w.:]+$/i,fe=/-[a-z]/g,we=/[A-Z]/g;function Oe(At,at){var tt=b(at),Je=at,We=le;return tt in At.normal?At.property[At.normal[tt]]:(tt.length>4&&tt.slice(0,4)===pe&&be.test(at)&&(at.charAt(4)==="-"?Je=Re(at):at=xe(at),We=me),new We(Je,at))}function Re(At){var at=At.slice(5).replace(fe,Fe);return pe+at.charAt(0).toUpperCase()+at.slice(1)}function xe(At){var at=At.slice(4);return fe.test(at)?At:(at=at.replace(we,Ge),at.charAt(0)!=="-"&&(at="-"+at),pe+at)}function Ge(At){return"-"+At.toLowerCase()}function Fe(At){return At.charAt(1).toUpperCase()}},18795:function(Ce,ae,y){"use strict";var b=y(83576),me=y(8179),le=y(59780),pe=y(68244),be=y(20019),fe=y(38567);Ce.exports=b([le,me,pe,be,fe])},20019:function(Ce,ae,y){"use strict";var b=y(70167),me=y(79318),le=b.booleanish,pe=b.number,be=b.spaceSeparated;Ce.exports=me({transform:fe,properties:{ariaActiveDescendant:null,ariaAtomic:le,ariaAutoComplete:null,ariaBusy:le,ariaChecked:le,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:be,ariaCurrent:null,ariaDescribedBy:be,ariaDetails:null,ariaDisabled:le,ariaDropEffect:be,ariaErrorMessage:null,ariaExpanded:le,ariaFlowTo:be,ariaGrabbed:le,ariaHasPopup:null,ariaHidden:le,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:be,ariaLevel:pe,ariaLive:null,ariaModal:le,ariaMultiLine:le,ariaMultiSelectable:le,ariaOrientation:null,ariaOwns:be,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:le,ariaReadOnly:le,ariaRelevant:null,ariaRequired:le,ariaRoleDescription:be,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:le,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}});function fe(we,Oe){return Oe==="role"?Oe:"aria-"+Oe.slice(4).toLowerCase()}},38567:function(Ce,ae,y){"use strict";var b=y(70167),me=y(79318),le=y(85804),pe=b.boolean,be=b.overloadedBoolean,fe=b.booleanish,we=b.number,Oe=b.spaceSeparated,Re=b.commaSeparated;Ce.exports=me({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:le,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Re,acceptCharset:Oe,accessKey:Oe,action:null,allow:null,allowFullScreen:pe,allowPaymentRequest:pe,allowUserMedia:pe,alt:null,as:null,async:pe,autoCapitalize:null,autoComplete:Oe,autoFocus:pe,autoPlay:pe,capture:pe,charSet:null,checked:pe,cite:null,className:Oe,cols:we,colSpan:null,content:null,contentEditable:fe,controls:pe,controlsList:Oe,coords:we|Re,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pe,defer:pe,dir:null,dirName:null,disabled:pe,download:be,draggable:fe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pe,formTarget:null,headers:Oe,height:we,hidden:pe,high:we,href:null,hrefLang:null,htmlFor:Oe,httpEquiv:Oe,id:null,imageSizes:null,imageSrcSet:Re,inputMode:null,integrity:null,is:null,isMap:pe,itemId:null,itemProp:Oe,itemRef:Oe,itemScope:pe,itemType:Oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pe,low:we,manifest:null,max:null,maxLength:we,media:null,method:null,min:null,minLength:we,multiple:pe,muted:pe,name:null,nonce:null,noModule:pe,noValidate:pe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pe,optimum:we,pattern:null,ping:Oe,placeholder:null,playsInline:pe,poster:null,preload:null,readOnly:pe,referrerPolicy:null,rel:Oe,required:pe,reversed:pe,rows:we,rowSpan:we,sandbox:Oe,scope:null,scoped:pe,seamless:pe,selected:pe,shape:null,size:we,sizes:null,slot:null,span:we,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:Re,start:we,step:null,style:null,tabIndex:we,target:null,title:null,translate:null,type:null,typeMustMatch:pe,useMap:null,value:fe,width:we,wrap:null,align:null,aLink:null,archive:Oe,axis:null,background:null,bgColor:null,border:we,borderColor:null,bottomMargin:we,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pe,declare:pe,event:null,face:null,frame:null,frameBorder:null,hSpace:we,leftMargin:we,link:null,longDesc:null,lowSrc:null,marginHeight:we,marginWidth:we,noResize:pe,noHref:pe,noShade:pe,noWrap:pe,object:null,profile:null,prompt:null,rev:null,rightMargin:we,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:we,valueType:null,version:null,vAlign:null,vLink:null,vSpace:we,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pe,disableRemotePlayback:pe,prefix:null,property:null,results:we,security:null,unselectable:null}})},85804:function(Ce,ae,y){"use strict";var b=y(56432);Ce.exports=me;function me(le,pe){return b(le,pe.toLowerCase())}},56432:function(Ce){"use strict";Ce.exports=ae;function ae(y,b){return b in y?y[b]:b}},79318:function(Ce,ae,y){"use strict";var b=y(47178),me=y(44347),le=y(19095);Ce.exports=pe;function pe(be){var fe=be.space,we=be.mustUseProperty||[],Oe=be.attributes||{},Re=be.properties,xe=be.transform,Ge={},Fe={},At,at;for(At in Re)at=new le(At,xe(Oe,At),Re[At],fe),we.indexOf(At)!==-1&&(at.mustUseProperty=!0),Ge[At]=at,Fe[b(At)]=At,Fe[b(at.attribute)]=At;return new me(Ge,Fe,fe)}},19095:function(Ce,ae,y){"use strict";var b=y(1969),me=y(70167);Ce.exports=be,be.prototype=new b,be.prototype.defined=!0;var le=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],pe=le.length;function be(we,Oe,Re,xe){var Ge=-1,Fe;for(fe(this,"space",xe),b.call(this,we,Oe);++Ge<pe;)Fe=le[Ge],fe(this,Fe,(Re&me[Fe])===me[Fe])}function fe(we,Oe,Re){Re&&(we[Oe]=Re)}},1969:function(Ce){"use strict";Ce.exports=y;var ae=y.prototype;ae.space=null,ae.attribute=null,ae.property=null,ae.boolean=!1,ae.booleanish=!1,ae.overloadedBoolean=!1,ae.number=!1,ae.commaSeparated=!1,ae.spaceSeparated=!1,ae.commaOrSpaceSeparated=!1,ae.mustUseProperty=!1,ae.defined=!1;function y(b,me){this.property=b,this.attribute=me}},83576:function(Ce,ae,y){"use strict";var b=y(97270),me=y(44347);Ce.exports=le;function le(pe){for(var be=pe.length,fe=[],we=[],Oe=-1,Re,xe;++Oe<be;)Re=pe[Oe],fe.push(Re.property),we.push(Re.normal),xe=Re.space;return new me(b.apply(null,fe),b.apply(null,we),xe)}},44347:function(Ce){"use strict";Ce.exports=y;var ae=y.prototype;ae.space=null,ae.normal={},ae.property={};function y(b,me,le){this.property=b,this.normal=me,le&&(this.space=le)}},70167:function(Ce,ae){"use strict";var y=0;ae.boolean=b(),ae.booleanish=b(),ae.overloadedBoolean=b(),ae.number=b(),ae.spaceSeparated=b(),ae.commaSeparated=b(),ae.commaOrSpaceSeparated=b();function b(){return Math.pow(2,++y)}},8179:function(Ce,ae,y){"use strict";var b=y(79318);Ce.exports=b({space:"xlink",transform:me,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function me(le,pe){return"xlink:"+pe.slice(5).toLowerCase()}},59780:function(Ce,ae,y){"use strict";var b=y(79318);Ce.exports=b({space:"xml",transform:me,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function me(le,pe){return"xml:"+pe.slice(3).toLowerCase()}},68244:function(Ce,ae,y){"use strict";var b=y(79318),me=y(85804);Ce.exports=b({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:me,properties:{xmlns:null,xmlnsXLink:null}})},47178:function(Ce){"use strict";Ce.exports=ae;function ae(y){return y.toLowerCase()}},6551:function(Ce,ae,y){"use strict";y.d(ae,{ZP:function(){return we}});var b=y(72190),me=y(59301),le=y(47273),pe=0,be=(0,le.Z)();function fe(){var Oe;return be?(Oe=pe,pe+=1):Oe="TEST_OR_SSR",Oe}function we(Oe){var Re=me.useState(),xe=(0,b.Z)(Re,2),Ge=xe[0],Fe=xe[1];return me.useEffect(function(){Fe("rc_select_".concat(fe()))},[]),Oe||Ge}},37463:function(Ce,ae,y){"use strict";y.d(ae,{Ac:function(){return ln},Xo:function(){return xn},Wx:function(){return Yt},ZP:function(){return zr},lk:function(){return Qe}});var b=y(60499),me=y(77654),le=y(18642),pe=y(85899),be=y(72190),fe=y(42244),we=y(43749),Oe=y(18929),Re=y(48736),xe=y(59301),Ge=y(92310),Fe=y.n(Ge),At=y(34280),at=y(49658),tt=y(8654),Je=function(Ie){var ut=Ie.className,Le=Ie.customizeIcon,He=Ie.customizeIconProps,Vt=Ie.children,et=Ie.onMouseDown,en=Ie.onClick,cn=typeof Le=="function"?Le(He):Le;return xe.createElement("span",{className:ut,onMouseDown:function(an){an.preventDefault(),et==null||et(an)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:en,"aria-hidden":!0},cn!==void 0?cn:xe.createElement("span",{className:Fe()(ut.split(/\s+/).map(function(Xt){return"".concat(Xt,"-icon")}))},Vt))},We=Je,Ve=function(Ie,ut,Le,He,Vt){var et=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,en=arguments.length>6?arguments[6]:void 0,cn=arguments.length>7?arguments[7]:void 0,Xt=xe.useMemo(function(){if((0,we.Z)(He)==="object")return He.clearIcon;if(Vt)return Vt},[He,Vt]),an=xe.useMemo(function(){return!!(!et&&He&&(Le.length||en)&&!(cn==="combobox"&&en===""))},[He,et,Le.length,en,cn]);return{allowClear:an,clearIcon:xe.createElement(We,{className:"".concat(Ie,"-clear"),onMouseDown:ut,customizeIcon:Xt},"\xD7")}},Ze=xe.createContext(null);function Qe(){return xe.useContext(Ze)}function ze(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=xe.useState(!1),ut=(0,be.Z)(Ie,2),Le=ut[0],He=ut[1],Vt=xe.useRef(null),et=function(){window.clearTimeout(Vt.current)};xe.useEffect(function(){return et},[]);var en=function(Xt,an){et(),Vt.current=window.setTimeout(function(){He(Xt),an&&an()},ve)};return[Le,en,et]}function _e(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=xe.useRef(null),ut=xe.useRef(null);xe.useEffect(function(){return function(){window.clearTimeout(ut.current)}},[]);function Le(He){(He||Ie.current===null)&&(Ie.current=He),window.clearTimeout(ut.current),ut.current=window.setTimeout(function(){Ie.current=null},ve)}return[function(){return Ie.current},Le]}function $e(ve,Ie,ut,Le){var He=xe.useRef(null);He.current={open:Ie,triggerOpen:ut,customizedTrigger:Le},xe.useEffect(function(){function Vt(et){var en;if(!((en=He.current)!==null&&en!==void 0&&en.customizedTrigger)){var cn=et.target;cn.shadowRoot&&et.composed&&(cn=et.composedPath()[0]||cn),He.current.open&&ve().filter(function(Xt){return Xt}).every(function(Xt){return!Xt.contains(cn)&&Xt!==cn})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Vt),function(){return window.removeEventListener("mousedown",Vt)}},[])}var nt=y(10228);function bt(ve){return ve&&![nt.Z.ESC,nt.Z.SHIFT,nt.Z.BACKSPACE,nt.Z.TAB,nt.Z.WIN_KEY,nt.Z.ALT,nt.Z.META,nt.Z.WIN_KEY_RIGHT,nt.Z.CTRL,nt.Z.SEMICOLON,nt.Z.EQUALS,nt.Z.CAPS_LOCK,nt.Z.CONTEXT_MENU,nt.Z.F1,nt.Z.F2,nt.Z.F3,nt.Z.F4,nt.Z.F5,nt.Z.F6,nt.Z.F7,nt.Z.F8,nt.Z.F9,nt.Z.F10,nt.Z.F11,nt.Z.F12].includes(ve)}var it=y(26112),Nt=y(83836);function vt(ve,Ie,ut){var Le=(0,pe.Z)((0,pe.Z)({},ve),ut?Ie:{});return Object.keys(Ie).forEach(function(He){var Vt=Ie[He];typeof Vt=="function"&&(Le[He]=function(){for(var et,en=arguments.length,cn=new Array(en),Xt=0;Xt<en;Xt++)cn[Xt]=arguments[Xt];return Vt.apply(void 0,cn),(et=ve[He])===null||et===void 0?void 0:et.call.apply(et,[ve].concat(cn))})}),Le}var dt=vt,It=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],St=function(Ie,ut){var Le=Ie.prefixCls,He=Ie.id,Vt=Ie.inputElement,et=Ie.autoFocus,en=Ie.autoComplete,cn=Ie.editable,Xt=Ie.activeDescendantId,an=Ie.value,Kt=Ie.open,nn=Ie.attrs,rt=(0,fe.Z)(Ie,It),Jn=Vt||xe.createElement("input",null),Bt=Jn,rr=Bt.ref,Pr=Bt.props;return(0,Re.Kp)(!("maxLength"in Jn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Jn=xe.cloneElement(Jn,(0,pe.Z)((0,pe.Z)((0,pe.Z)({type:"search"},dt(rt,Pr,!0)),{},{id:He,ref:(0,tt.sQ)(ut,rr),autoComplete:en||"off",autoFocus:et,className:Fe()("".concat(Le,"-selection-search-input"),Pr==null?void 0:Pr.className),role:"combobox","aria-expanded":Kt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(He,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(He,"_list"),"aria-activedescendant":Kt?Xt:void 0},nn),{},{value:cn?an:"",readOnly:!cn,unselectable:cn?null:"on",style:(0,pe.Z)((0,pe.Z)({},Pr.style),{},{opacity:cn?null:0})})),Jn},qe=xe.forwardRef(St),Jt=qe;function Rt(ve){return Array.isArray(ve)?ve:ve!==void 0?[ve]:[]}var Zt=typeof window!="undefined"&&window.document&&window.document.documentElement,Tn=Zt;function Tt(ve){return ve!=null}function Ye(ve){return!ve&&ve!==0}function Se(ve){return["string","number"].includes((0,we.Z)(ve))}function Qt(ve){var Ie=void 0;return ve&&(Se(ve.title)?Ie=ve.title.toString():Se(ve.label)&&(Ie=ve.label.toString())),Ie}function on(ve,Ie){Tn?xe.useLayoutEffect(ve,Ie):xe.useEffect(ve,Ie)}function st(ve){var Ie;return(Ie=ve.key)!==null&&Ie!==void 0?Ie:ve.value}var Ut=function(Ie){Ie.preventDefault(),Ie.stopPropagation()},Gt=function(Ie){var ut=Ie.id,Le=Ie.prefixCls,He=Ie.values,Vt=Ie.open,et=Ie.searchValue,en=Ie.autoClearSearchValue,cn=Ie.inputRef,Xt=Ie.placeholder,an=Ie.disabled,Kt=Ie.mode,nn=Ie.showSearch,rt=Ie.autoFocus,Jn=Ie.autoComplete,Bt=Ie.activeDescendantId,rr=Ie.tabIndex,Pr=Ie.removeIcon,Sn=Ie.maxTagCount,rn=Ie.maxTagTextLength,Cn=Ie.maxTagPlaceholder,Pn=Cn===void 0?function(or){return"+ ".concat(or.length," ...")}:Cn,zn=Ie.tagRender,tr=Ie.onToggleOpen,wr=Ie.onRemove,pr=Ie.onInputChange,Zn=Ie.onInputPaste,Kn=Ie.onInputKeyDown,gr=Ie.onInputMouseDown,dr=Ie.onInputCompositionStart,Yr=Ie.onInputCompositionEnd,Wr=Ie.onInputBlur,Zr=xe.useRef(null),Qr=(0,xe.useState)(0),ca=(0,be.Z)(Qr,2),Xr=ca[0],la=ca[1],_r=(0,xe.useState)(!1),oa=(0,be.Z)(_r,2),_t=oa[0],Ea=oa[1],ia="".concat(Le,"-selection"),ra=Vt||Kt==="multiple"&&en===!1||Kt==="tags"?et:"",fa=Kt==="tags"||Kt==="multiple"&&en===!1||nn&&(Vt||_t);on(function(){la(Zr.current.scrollWidth)},[ra]);var ha=function(er,Dr,Ar,ur,nr){return xe.createElement("span",{title:Qt(er),className:Fe()("".concat(ia,"-item"),(0,le.Z)({},"".concat(ia,"-item-disabled"),Ar))},xe.createElement("span",{className:"".concat(ia,"-item-content")},Dr),ur&&xe.createElement(We,{className:"".concat(ia,"-item-remove"),onMouseDown:Ut,onClick:nr,customizeIcon:Pr},"\xD7"))},Br=function(er,Dr,Ar,ur,nr,xr){var Or=function(da){Ut(da),tr(!Vt)};return xe.createElement("span",{onMouseDown:Or},zn({label:Dr,value:er,disabled:Ar,closable:ur,onClose:nr,isMaxTag:!!xr}))},Gn=function(er){var Dr=er.disabled,Ar=er.label,ur=er.value,nr=!an&&!Dr,xr=Ar;if(typeof rn=="number"&&(typeof Ar=="string"||typeof Ar=="number")){var Or=String(xr);Or.length>rn&&(xr="".concat(Or.slice(0,rn),"..."))}var ba=function(ya){ya&&ya.stopPropagation(),wr(er)};return typeof zn=="function"?Br(ur,xr,Dr,nr,ba):ha(er,xr,Dr,nr,ba)},Vr=function(er){if(!He.length)return null;var Dr=typeof Pn=="function"?Pn(er):Pn;return typeof zn=="function"?Br(void 0,Dr,!1,!1,void 0,!0):ha({title:Dr},Dr,!1)},qn=xe.createElement("div",{className:"".concat(ia,"-search"),style:{width:Xr},onFocus:function(){Ea(!0)},onBlur:function(){Ea(!1)}},xe.createElement(Jt,{ref:cn,open:Vt,prefixCls:Le,id:ut,inputElement:null,disabled:an,autoFocus:rt,autoComplete:Jn,editable:fa,activeDescendantId:Bt,value:ra,onKeyDown:Kn,onMouseDown:gr,onChange:pr,onPaste:Zn,onCompositionStart:dr,onCompositionEnd:Yr,onBlur:Wr,tabIndex:rr,attrs:(0,it.Z)(Ie,!0)}),xe.createElement("span",{ref:Zr,className:"".concat(ia,"-search-mirror"),"aria-hidden":!0},ra,"\xA0")),hr=xe.createElement(Nt.Z,{prefixCls:"".concat(ia,"-overflow"),data:He,renderItem:Gn,renderRest:Vr,suffix:qn,itemKey:st,maxCount:Sn});return xe.createElement("span",{className:"".concat(ia,"-wrap")},hr,!He.length&&!ra&&xe.createElement("span",{className:"".concat(ia,"-placeholder")},Xt))},On=Gt,ft=function(Ie){var ut=Ie.inputElement,Le=Ie.prefixCls,He=Ie.id,Vt=Ie.inputRef,et=Ie.disabled,en=Ie.autoFocus,cn=Ie.autoComplete,Xt=Ie.activeDescendantId,an=Ie.mode,Kt=Ie.open,nn=Ie.values,rt=Ie.placeholder,Jn=Ie.tabIndex,Bt=Ie.showSearch,rr=Ie.searchValue,Pr=Ie.activeValue,Sn=Ie.maxLength,rn=Ie.onInputKeyDown,Cn=Ie.onInputMouseDown,Pn=Ie.onInputChange,zn=Ie.onInputPaste,tr=Ie.onInputCompositionStart,wr=Ie.onInputCompositionEnd,pr=Ie.onInputBlur,Zn=Ie.title,Kn=xe.useState(!1),gr=(0,be.Z)(Kn,2),dr=gr[0],Yr=gr[1],Wr=an==="combobox",Zr=Wr||Bt,Qr=nn[0],ca=rr||"";Wr&&Pr&&!dr&&(ca=Pr),xe.useEffect(function(){Wr&&Yr(!1)},[Wr,Pr]);var Xr=an!=="combobox"&&!Kt&&!Bt?!1:!!ca,la=Zn===void 0?Qt(Qr):Zn,_r=xe.useMemo(function(){return Qr?null:xe.createElement("span",{className:"".concat(Le,"-selection-placeholder"),style:Xr?{visibility:"hidden"}:void 0},rt)},[Qr,Xr,rt,Le]);return xe.createElement("span",{className:"".concat(Le,"-selection-wrap")},xe.createElement("span",{className:"".concat(Le,"-selection-search")},xe.createElement(Jt,{ref:Vt,prefixCls:Le,id:He,open:Kt,inputElement:ut,disabled:et,autoFocus:en,autoComplete:cn,editable:Zr,activeDescendantId:Xt,value:ca,onKeyDown:rn,onMouseDown:Cn,onChange:function(_t){Yr(!0),Pn(_t)},onPaste:zn,onCompositionStart:tr,onCompositionEnd:wr,onBlur:pr,tabIndex:Jn,attrs:(0,it.Z)(Ie,!0),maxLength:Wr?Sn:void 0})),!Wr&&Qr?xe.createElement("span",{className:"".concat(Le,"-selection-item"),title:la,style:Xr?{visibility:"hidden"}:void 0},Qr.label):null,_r)},En=ft,Ht=function(Ie,ut){var Le=(0,xe.useRef)(null),He=(0,xe.useRef)(!1),Vt=Ie.prefixCls,et=Ie.open,en=Ie.mode,cn=Ie.showSearch,Xt=Ie.tokenWithEnter,an=Ie.disabled,Kt=Ie.prefix,nn=Ie.autoClearSearchValue,rt=Ie.onSearch,Jn=Ie.onSearchSubmit,Bt=Ie.onToggleOpen,rr=Ie.onInputKeyDown,Pr=Ie.onInputBlur,Sn=Ie.domRef;xe.useImperativeHandle(ut,function(){return{focus:function(la){Le.current.focus(la)},blur:function(){Le.current.blur()}}});var rn=_e(0),Cn=(0,be.Z)(rn,2),Pn=Cn[0],zn=Cn[1],tr=function(la){var _r=la.which,oa=Le.current instanceof HTMLTextAreaElement;!oa&&et&&(_r===nt.Z.UP||_r===nt.Z.DOWN)&&la.preventDefault(),rr&&rr(la),_r===nt.Z.ENTER&&en==="tags"&&!He.current&&!et&&(Jn==null||Jn(la.target.value)),!(oa&&!et&&~[nt.Z.UP,nt.Z.DOWN,nt.Z.LEFT,nt.Z.RIGHT].indexOf(_r))&&bt(_r)&&Bt(!0)},wr=function(){zn(!0)},pr=(0,xe.useRef)(null),Zn=function(la){rt(la,!0,He.current)!==!1&&Bt(!0)},Kn=function(){He.current=!0},gr=function(la){He.current=!1,en!=="combobox"&&Zn(la.target.value)},dr=function(la){var _r=la.target.value;if(Xt&&pr.current&&/[\r\n]/.test(pr.current)){var oa=pr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");_r=_r.replace(oa,pr.current)}pr.current=null,Zn(_r)},Yr=function(la){var _r=la.clipboardData,oa=_r==null?void 0:_r.getData("text");pr.current=oa||""},Wr=function(la){var _r=la.target;if(_r!==Le.current){var oa=document.body.style.msTouchAction!==void 0;oa?setTimeout(function(){Le.current.focus()}):Le.current.focus()}},Zr=function(la){var _r=Pn();la.target!==Le.current&&!_r&&!(en==="combobox"&&an)&&la.preventDefault(),(en!=="combobox"&&(!cn||!_r)||!et)&&(et&&nn!==!1&&rt("",!0,!1),Bt())},Qr={inputRef:Le,onInputKeyDown:tr,onInputMouseDown:wr,onInputChange:dr,onInputPaste:Yr,onInputCompositionStart:Kn,onInputCompositionEnd:gr,onInputBlur:Pr},ca=en==="multiple"||en==="tags"?xe.createElement(On,(0,b.Z)({},Ie,Qr)):xe.createElement(En,(0,b.Z)({},Ie,Qr));return xe.createElement("div",{ref:Sn,className:"".concat(Vt,"-selector"),onClick:Wr,onMouseDown:Zr},Kt&&xe.createElement("div",{className:"".concat(Vt,"-prefix")},Kt),ca)},gn=xe.forwardRef(Ht),un=gn,De=y(68196),he=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ce=function(Ie){var ut=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"}}},Te=function(Ie,ut){var Le=Ie.prefixCls,He=Ie.disabled,Vt=Ie.visible,et=Ie.children,en=Ie.popupElement,cn=Ie.animation,Xt=Ie.transitionName,an=Ie.dropdownStyle,Kt=Ie.dropdownClassName,nn=Ie.direction,rt=nn===void 0?"ltr":nn,Jn=Ie.placement,Bt=Ie.builtinPlacements,rr=Ie.dropdownMatchSelectWidth,Pr=Ie.dropdownRender,Sn=Ie.dropdownAlign,rn=Ie.getPopupContainer,Cn=Ie.empty,Pn=Ie.getTriggerDOMNode,zn=Ie.onPopupVisibleChange,tr=Ie.onPopupMouseEnter,wr=(0,fe.Z)(Ie,he),pr="".concat(Le,"-dropdown"),Zn=en;Pr&&(Zn=Pr(en));var Kn=xe.useMemo(function(){return Bt||ce(rr)},[Bt,rr]),gr=cn?"".concat(pr,"-").concat(cn):Xt,dr=typeof rr=="number",Yr=xe.useMemo(function(){return dr?null:rr===!1?"minWidth":"width"},[rr,dr]),Wr=an;dr&&(Wr=(0,pe.Z)((0,pe.Z)({},Wr),{},{width:rr}));var Zr=xe.useRef(null);return xe.useImperativeHandle(ut,function(){return{getPopupElement:function(){var ca;return(ca=Zr.current)===null||ca===void 0?void 0:ca.popupElement}}}),xe.createElement(De.Z,(0,b.Z)({},wr,{showAction:zn?["click"]:[],hideAction:zn?["click"]:[],popupPlacement:Jn||(rt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Kn,prefixCls:pr,popupTransitionName:gr,popup:xe.createElement("div",{onMouseEnter:tr},Zn),ref:Zr,stretch:Yr,popupAlign:Sn,popupVisible:Vt,getPopupContainer:rn,popupClassName:Fe()(Kt,(0,le.Z)({},"".concat(pr,"-empty"),Cn)),popupStyle:Wr,getTriggerDOMNode:Pn,onPopupVisibleChange:zn}),et)},je=xe.forwardRef(Te),ge=je,Pe=y(48745);function ct(ve,Ie){var ut=ve.key,Le;return"value"in ve&&(Le=ve.value),ut!=null?ut:Le!==void 0?Le:"rc-index-key-".concat(Ie)}function $t(ve){return typeof ve!="undefined"&&!Number.isNaN(ve)}function gt(ve,Ie){var ut=ve||{},Le=ut.label,He=ut.value,Vt=ut.options,et=ut.groupLabel,en=Le||(Ie?"children":"label");return{label:en,value:He||"value",options:Vt||"options",groupLabel:et||en}}function yt(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ut=Ie.fieldNames,Le=Ie.childrenAsData,He=[],Vt=gt(ut,!1),et=Vt.label,en=Vt.value,cn=Vt.options,Xt=Vt.groupLabel;function an(Kt,nn){Array.isArray(Kt)&&Kt.forEach(function(rt){if(nn||!(cn in rt)){var Jn=rt[en];He.push({key:ct(rt,He.length),groupOption:nn,data:rt,label:rt[et],value:Jn})}else{var Bt=rt[Xt];Bt===void 0&&Le&&(Bt=rt.label),He.push({key:ct(rt,He.length),group:!0,data:rt,label:Bt}),an(rt[cn],!0)}})}return an(ve,!1),He}function Dt(ve){var Ie=(0,pe.Z)({},ve);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,Re.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var Pt=function(Ie,ut,Le){if(!ut||!ut.length)return null;var He=!1,Vt=function en(cn,Xt){var an=(0,Pe.Z)(Xt),Kt=an[0],nn=an.slice(1);if(!Kt)return[cn];var rt=cn.split(Kt);return He=He||rt.length>1,rt.reduce(function(Jn,Bt){return[].concat((0,me.Z)(Jn),(0,me.Z)(en(Bt,nn)))},[]).filter(Boolean)},et=Vt(Ie,ut);return He?typeof Le!="undefined"?et.slice(0,Le):et:null},Wt=xe.createContext(null),pn=Wt;function fn(ve){var Ie=ve.visible,ut=ve.values;if(!Ie)return null;var Le=50;return xe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ut.slice(0,Le).map(function(He){var Vt=He.label,et=He.value;return["number","string"].includes((0,we.Z)(Vt))?Vt:et}).join(", ")),ut.length>Le?", ...":null)}var Mt=["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"],Ln=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],kn=function(Ie){return Ie==="tags"||Ie==="multiple"},wn=xe.forwardRef(function(ve,Ie){var ut,Le=ve.id,He=ve.prefixCls,Vt=ve.className,et=ve.showSearch,en=ve.tagRender,cn=ve.direction,Xt=ve.omitDomProps,an=ve.displayValues,Kt=ve.onDisplayValuesChange,nn=ve.emptyOptions,rt=ve.notFoundContent,Jn=rt===void 0?"Not Found":rt,Bt=ve.onClear,rr=ve.mode,Pr=ve.disabled,Sn=ve.loading,rn=ve.getInputElement,Cn=ve.getRawInputElement,Pn=ve.open,zn=ve.defaultOpen,tr=ve.onDropdownVisibleChange,wr=ve.activeValue,pr=ve.onActiveValueChange,Zn=ve.activeDescendantId,Kn=ve.searchValue,gr=ve.autoClearSearchValue,dr=ve.onSearch,Yr=ve.onSearchSplit,Wr=ve.tokenSeparators,Zr=ve.allowClear,Qr=ve.prefix,ca=ve.suffixIcon,Xr=ve.clearIcon,la=ve.OptionList,_r=ve.animation,oa=ve.transitionName,_t=ve.dropdownStyle,Ea=ve.dropdownClassName,ia=ve.dropdownMatchSelectWidth,ra=ve.dropdownRender,fa=ve.dropdownAlign,ha=ve.placement,Br=ve.builtinPlacements,Gn=ve.getPopupContainer,Vr=ve.showAction,qn=Vr===void 0?[]:Vr,hr=ve.onFocus,or=ve.onBlur,er=ve.onKeyUp,Dr=ve.onKeyDown,Ar=ve.onMouseDown,ur=(0,fe.Z)(ve,Mt),nr=kn(rr),xr=(et!==void 0?et:nr)||rr==="combobox",Or=(0,pe.Z)({},ur);Ln.forEach(function(mi){delete Or[mi]}),Xt==null||Xt.forEach(function(mi){delete Or[mi]});var ba=xe.useState(!1),da=(0,be.Z)(ba,2),ya=da[0],Ma=da[1];xe.useEffect(function(){Ma((0,at.Z)())},[]);var _a=xe.useRef(null),Na=xe.useRef(null),Ha=xe.useRef(null),Da=xe.useRef(null),ja=xe.useRef(null),Gr=xe.useRef(!1),bi=ze(),wi=(0,be.Z)(bi,3),Pa=wi[0],li=wi[1],fi=wi[2];xe.useImperativeHandle(Ie,function(){var mi,ei;return{focus:(mi=Da.current)===null||mi===void 0?void 0:mi.focus,blur:(ei=Da.current)===null||ei===void 0?void 0:ei.blur,scrollTo:function(to){var ji;return(ji=ja.current)===null||ji===void 0?void 0:ji.scrollTo(to)},nativeElement:_a.current||Na.current}});var Ua=xe.useMemo(function(){var mi;if(rr!=="combobox")return Kn;var ei=(mi=an[0])===null||mi===void 0?void 0:mi.value;return typeof ei=="string"||typeof ei=="number"?String(ei):""},[Kn,rr,an]),Ni=rr==="combobox"&&typeof rn=="function"&&rn()||null,Va=typeof Cn=="function"&&Cn(),Aa=(0,tt.x1)(Na,Va==null||(ut=Va.props)===null||ut===void 0?void 0:ut.ref),$a=xe.useState(!1),Ja=(0,be.Z)($a,2),Ba=Ja[0],Xa=Ja[1];(0,At.Z)(function(){Xa(!0)},[]);var ma=(0,Oe.Z)(!1,{defaultValue:zn,value:Pn}),xi=(0,be.Z)(ma,2),Bi=xi[0],Fi=xi[1],Rr=Ba?Bi:!1,Ti=!Jn&&nn;(Pr||Ti&&Rr&&rr==="combobox")&&(Rr=!1);var qi=Ti?!1:Rr,Ra=xe.useCallback(function(mi){var ei=mi!==void 0?mi:!Rr;Pr||(Fi(ei),Rr!==ei&&(tr==null||tr(ei)))},[Pr,Rr,Fi,tr]),Ka=xe.useMemo(function(){return(Wr||[]).some(function(mi){return[`
|
|
|
`,`\r
|
|
|
`].includes(mi)})},[Wr]),Ca=xe.useContext(pn)||{},za=Ca.maxCount,ri=Ca.rawValues,ii=function(ei,eo,to){if(!(nr&&$t(za)&&(ri==null?void 0:ri.size)>=za)){var ji=!0,_i=ei;pr==null||pr(null);var vo=Pt(ei,Wr,$t(za)?za-ri.size:void 0),To=to?null:vo;return rr!=="combobox"&&To&&(_i="",Yr==null||Yr(To),Ra(!1),ji=!1),dr&&Ua!==_i&&dr(_i,{source:eo?"typing":"effect"}),ji}},ci=function(ei){!ei||!ei.trim()||dr(ei,{source:"submit"})};xe.useEffect(function(){!Rr&&!nr&&rr!=="combobox"&&ii("",!1,!1)},[Rr]),xe.useEffect(function(){Bi&&Pr&&Fi(!1),Pr&&!Gr.current&&li(!1)},[Pr]);var ki=_e(),ti=(0,be.Z)(ki,2),zi=ti[0],yo=ti[1],No=xe.useRef(!1),so=function(ei){var eo=zi(),to=ei.key,ji=to==="Enter";if(ji&&(rr!=="combobox"&&ei.preventDefault(),Rr||Ra(!0)),yo(!!Ua),to==="Backspace"&&!eo&&nr&&!Ua&&an.length){for(var _i=(0,me.Z)(an),vo=null,To=_i.length-1;To>=0;To-=1){var go=_i[To];if(!go.disabled){_i.splice(To,1),vo=go;break}}vo&&Kt(_i,{type:"remove",values:[vo]})}for(var Wi=arguments.length,$i=new Array(Wi>1?Wi-1:0),Eo=1;Eo<Wi;Eo++)$i[Eo-1]=arguments[Eo];if(Rr&&(!ji||!No.current)){var Xo;ji&&(No.current=!0),(Xo=ja.current)===null||Xo===void 0||Xo.onKeyDown.apply(Xo,[ei].concat($i))}Dr==null||Dr.apply(void 0,[ei].concat($i))},Ji=function(ei){for(var eo=arguments.length,to=new Array(eo>1?eo-1:0),ji=1;ji<eo;ji++)to[ji-1]=arguments[ji];if(Rr){var _i;(_i=ja.current)===null||_i===void 0||_i.onKeyUp.apply(_i,[ei].concat(to))}ei.key==="Enter"&&(No.current=!1),er==null||er.apply(void 0,[ei].concat(to))},Uo=function(ei){var eo=an.filter(function(to){return to!==ei});Kt(eo,{type:"remove",values:[ei]})},Co=function(){No.current=!1},Ts=xe.useRef(!1),dl=function(){li(!0),Pr||(hr&&!Ts.current&&hr.apply(void 0,arguments),qn.includes("focus")&&Ra(!0)),Ts.current=!0},Js=function(){Gr.current=!0,li(!1,function(){Ts.current=!1,Gr.current=!1,Ra(!1)}),!Pr&&(Ua&&(rr==="tags"?dr(Ua,{source:"submit"}):rr==="multiple"&&dr("",{source:"blur"})),or&&or.apply(void 0,arguments))},mo=[];xe.useEffect(function(){return function(){mo.forEach(function(mi){return clearTimeout(mi)}),mo.splice(0,mo.length)}},[]);var Hi=function(ei){var eo,to=ei.target,ji=(eo=Ha.current)===null||eo===void 0?void 0:eo.getPopupElement();if(ji&&ji.contains(to)){var _i=setTimeout(function(){var Wi=mo.indexOf(_i);if(Wi!==-1&&mo.splice(Wi,1),fi(),!ya&&!ji.contains(document.activeElement)){var $i;($i=Da.current)===null||$i===void 0||$i.focus()}});mo.push(_i)}for(var vo=arguments.length,To=new Array(vo>1?vo-1:0),go=1;go<vo;go++)To[go-1]=arguments[go];Ar==null||Ar.apply(void 0,[ei].concat(To))},wo=xe.useState({}),ps=(0,be.Z)(wo,2),el=ps[1];function ai(){el({})}var hs;Va&&(hs=function(ei){Ra(ei)}),$e(function(){var mi;return[_a.current,(mi=Ha.current)===null||mi===void 0?void 0:mi.getPopupElement()]},qi,Ra,!!Va);var As=xe.useMemo(function(){return(0,pe.Z)((0,pe.Z)({},ve),{},{notFoundContent:Jn,open:Rr,triggerOpen:qi,id:Le,showSearch:xr,multiple:nr,toggleOpen:Ra})},[ve,Jn,qi,Rr,Le,xr,nr,Ra]),ns=!!ca||Sn,Is;ns&&(Is=xe.createElement(We,{className:Fe()("".concat(He,"-arrow"),(0,le.Z)({},"".concat(He,"-arrow-loading"),Sn)),customizeIcon:ca,customizeIconProps:{loading:Sn,searchValue:Ua,open:Rr,focused:Pa,showSearch:xr}}));var ms=function(){var ei;Bt==null||Bt(),(ei=Da.current)===null||ei===void 0||ei.focus(),Kt([],{type:"clear",values:an}),ii("",!1,!1)},rs=Ve(He,ms,an,Zr,Xr,Pr,Ua,rr),Ns=rs.allowClear,Yo=rs.clearIcon,zo=xe.createElement(la,{ref:ja}),tl=Fe()(He,Vt,(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(He,"-focused"),Pa),"".concat(He,"-multiple"),nr),"".concat(He,"-single"),!nr),"".concat(He,"-allow-clear"),Zr),"".concat(He,"-show-arrow"),ns),"".concat(He,"-disabled"),Pr),"".concat(He,"-loading"),Sn),"".concat(He,"-open"),Rr),"".concat(He,"-customize-input"),Ni),"".concat(He,"-show-search"),xr)),as=xe.createElement(ge,{ref:Ha,disabled:Pr,prefixCls:He,visible:qi,popupElement:zo,animation:_r,transitionName:oa,dropdownStyle:_t,dropdownClassName:Ea,direction:cn,dropdownMatchSelectWidth:ia,dropdownRender:ra,dropdownAlign:fa,placement:ha,builtinPlacements:Br,getPopupContainer:Gn,empty:nn,getTriggerDOMNode:function(ei){return Na.current||ei},onPopupVisibleChange:hs,onPopupMouseEnter:ai},Va?xe.cloneElement(Va,{ref:Aa}):xe.createElement(un,(0,b.Z)({},ve,{domRef:Na,prefixCls:He,inputElement:Ni,ref:Da,id:Le,prefix:Qr,showSearch:xr,autoClearSearchValue:gr,mode:rr,activeDescendantId:Zn,tagRender:en,values:an,open:Rr,onToggleOpen:Ra,activeValue:wr,searchValue:Ua,onSearch:ii,onSearchSubmit:ci,onRemove:Uo,tokenWithEnter:Ka,onInputBlur:Co}))),Xi;return Va?Xi=as:Xi=xe.createElement("div",(0,b.Z)({className:tl},Or,{ref:_a,onMouseDown:Hi,onKeyDown:so,onKeyUp:Ji,onFocus:dl,onBlur:Js}),xe.createElement(fn,{visible:Pa&&!Rr,values:an}),as,Is,Ns&&Yo),xe.createElement(Ze.Provider,{value:As},Xi)}),ln=wn,In=function(){return null};In.isSelectOptGroup=!0;var xn=In,kt=function(){return null};kt.isSelectOption=!0;var Yt=kt,Ft=y(80547),vn=y(2738),Ct=y(48911);function pt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var de=["disabled","title","children","style","className"];function qt(ve){return typeof ve=="string"||typeof ve=="number"}var Dn=function(Ie,ut){var Le=Qe(),He=Le.prefixCls,Vt=Le.id,et=Le.open,en=Le.multiple,cn=Le.mode,Xt=Le.searchValue,an=Le.toggleOpen,Kt=Le.notFoundContent,nn=Le.onPopupScroll,rt=xe.useContext(pn),Jn=rt.maxCount,Bt=rt.flattenOptions,rr=rt.onActiveValue,Pr=rt.defaultActiveFirstOption,Sn=rt.onSelect,rn=rt.menuItemSelectedIcon,Cn=rt.rawValues,Pn=rt.fieldNames,zn=rt.virtual,tr=rt.direction,wr=rt.listHeight,pr=rt.listItemHeight,Zn=rt.optionRender,Kn="".concat(He,"-item"),gr=(0,Ft.Z)(function(){return Bt},[et,Bt],function(Vr,qn){return qn[0]&&Vr[1]!==qn[1]}),dr=xe.useRef(null),Yr=xe.useMemo(function(){return en&&$t(Jn)&&(Cn==null?void 0:Cn.size)>=Jn},[en,Jn,Cn==null?void 0:Cn.size]),Wr=function(qn){qn.preventDefault()},Zr=function(qn){var hr;(hr=dr.current)===null||hr===void 0||hr.scrollTo(typeof qn=="number"?{index:qn}:qn)},Qr=xe.useCallback(function(Vr){return cn==="combobox"?!1:Cn.has(Vr)},[cn,(0,me.Z)(Cn).toString(),Cn.size]),ca=function(qn){for(var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,or=gr.length,er=0;er<or;er+=1){var Dr=(qn+er*hr+or)%or,Ar=gr[Dr]||{},ur=Ar.group,nr=Ar.data;if(!ur&&!(nr!=null&&nr.disabled)&&(Qr(nr.value)||!Yr))return Dr}return-1},Xr=xe.useState(function(){return ca(0)}),la=(0,be.Z)(Xr,2),_r=la[0],oa=la[1],_t=function(qn){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;oa(qn);var or={source:hr?"keyboard":"mouse"},er=gr[qn];if(!er){rr(null,-1,or);return}rr(er.value,qn,or)};(0,xe.useEffect)(function(){_t(Pr!==!1?ca(0):-1)},[gr.length,Xt]);var Ea=xe.useCallback(function(Vr){return cn==="combobox"?String(Vr).toLowerCase()===Xt.toLowerCase():Cn.has(Vr)},[cn,Xt,(0,me.Z)(Cn).toString(),Cn.size]);(0,xe.useEffect)(function(){var Vr=setTimeout(function(){if(!en&&et&&Cn.size===1){var hr=Array.from(Cn)[0],or=gr.findIndex(function(er){var Dr=er.data;return Xt?String(Dr.value).startsWith(Xt):Dr.value===hr});or!==-1&&(_t(or),Zr(or))}});if(et){var qn;(qn=dr.current)===null||qn===void 0||qn.scrollTo(void 0)}return function(){return clearTimeout(Vr)}},[et,Xt]);var ia=function(qn){qn!==void 0&&Sn(qn,{selected:!Cn.has(qn)}),en||an(!1)};if(xe.useImperativeHandle(ut,function(){return{onKeyDown:function(qn){var hr=qn.which,or=qn.ctrlKey;switch(hr){case nt.Z.N:case nt.Z.P:case nt.Z.UP:case nt.Z.DOWN:{var er=0;if(hr===nt.Z.UP?er=-1:hr===nt.Z.DOWN?er=1:pt()&&or&&(hr===nt.Z.N?er=1:hr===nt.Z.P&&(er=-1)),er!==0){var Dr=ca(_r+er,er);Zr(Dr),_t(Dr,!0)}break}case nt.Z.TAB:case nt.Z.ENTER:{var Ar,ur=gr[_r];ur&&!(ur!=null&&(Ar=ur.data)!==null&&Ar!==void 0&&Ar.disabled)&&!Yr?ia(ur.value):ia(void 0),et&&qn.preventDefault();break}case nt.Z.ESC:an(!1),et&&qn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(qn){Zr(qn)}}}),gr.length===0)return xe.createElement("div",{role:"listbox",id:"".concat(Vt,"_list"),className:"".concat(Kn,"-empty"),onMouseDown:Wr},Kt);var ra=Object.keys(Pn).map(function(Vr){return Pn[Vr]}),fa=function(qn){return qn.label};function ha(Vr,qn){var hr=Vr.group;return{role:hr?"presentation":"option",id:"".concat(Vt,"_list_").concat(qn)}}var Br=function(qn){var hr=gr[qn];if(!hr)return null;var or=hr.data||{},er=or.value,Dr=hr.group,Ar=(0,it.Z)(or,!0),ur=fa(hr);return hr?xe.createElement("div",(0,b.Z)({"aria-label":typeof ur=="string"&&!Dr?ur:null},Ar,{key:qn},ha(hr,qn),{"aria-selected":Ea(er)}),er):null},Gn={role:"listbox",id:"".concat(Vt,"_list")};return xe.createElement(xe.Fragment,null,zn&&xe.createElement("div",(0,b.Z)({},Gn,{style:{height:0,width:0,overflow:"hidden"}}),Br(_r-1),Br(_r),Br(_r+1)),xe.createElement(Ct.Z,{itemKey:"key",ref:dr,data:gr,height:wr,itemHeight:pr,fullHeight:!1,onMouseDown:Wr,onScroll:nn,virtual:zn,direction:tr,innerProps:zn?null:Gn},function(Vr,qn){var hr=Vr.group,or=Vr.groupOption,er=Vr.data,Dr=Vr.label,Ar=Vr.value,ur=er.key;if(hr){var nr,xr=(nr=er.title)!==null&&nr!==void 0?nr:qt(Dr)?Dr.toString():void 0;return xe.createElement("div",{className:Fe()(Kn,"".concat(Kn,"-group"),er.className),title:xr},Dr!==void 0?Dr:ur)}var Or=er.disabled,ba=er.title,da=er.children,ya=er.style,Ma=er.className,_a=(0,fe.Z)(er,de),Na=(0,vn.Z)(_a,ra),Ha=Qr(Ar),Da=Or||!Ha&&Yr,ja="".concat(Kn,"-option"),Gr=Fe()(Kn,ja,Ma,(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(ja,"-grouped"),or),"".concat(ja,"-active"),_r===qn&&!Da),"".concat(ja,"-disabled"),Da),"".concat(ja,"-selected"),Ha)),bi=fa(Vr),wi=!rn||typeof rn=="function"||Ha,Pa=typeof bi=="number"?bi:bi||Ar,li=qt(Pa)?Pa.toString():void 0;return ba!==void 0&&(li=ba),xe.createElement("div",(0,b.Z)({},(0,it.Z)(Na),zn?{}:ha(Vr,qn),{"aria-selected":Ea(Ar),className:Gr,title:li,onMouseMove:function(){_r===qn||Da||_t(qn)},onClick:function(){Da||ia(Ar)},style:ya}),xe.createElement("div",{className:"".concat(ja,"-content")},typeof Zn=="function"?Zn(Vr,{index:qn}):Pa),xe.isValidElement(rn)||Ha,wi&&xe.createElement(We,{className:"".concat(Kn,"-option-state"),customizeIcon:rn,customizeIconProps:{value:Ar,disabled:Da,isSelected:Ha}},Ha?"\u2713":null))}))},mn=xe.forwardRef(Dn),vr=mn,yr=function(ve,Ie){var ut=xe.useRef({values:new Map,options:new Map}),Le=xe.useMemo(function(){var Vt=ut.current,et=Vt.values,en=Vt.options,cn=ve.map(function(Kt){if(Kt.label===void 0){var nn;return(0,pe.Z)((0,pe.Z)({},Kt),{},{label:(nn=et.get(Kt.value))===null||nn===void 0?void 0:nn.label})}return Kt}),Xt=new Map,an=new Map;return cn.forEach(function(Kt){Xt.set(Kt.value,Kt),an.set(Kt.value,Ie.get(Kt.value)||en.get(Kt.value))}),ut.current.values=Xt,ut.current.options=an,cn},[ve,Ie]),He=xe.useCallback(function(Vt){return Ie.get(Vt)||ut.current.options.get(Vt)},[Ie]);return[Le,He]};function ar(ve,Ie){return Rt(ve).join("").toUpperCase().includes(Ie)}var Er=function(ve,Ie,ut,Le,He){return xe.useMemo(function(){if(!ut||Le===!1)return ve;var Vt=Ie.options,et=Ie.label,en=Ie.value,cn=[],Xt=typeof Le=="function",an=ut.toUpperCase(),Kt=Xt?Le:function(rt,Jn){return He?ar(Jn[He],an):Jn[Vt]?ar(Jn[et!=="children"?et:"label"],an):ar(Jn[en],an)},nn=Xt?function(rt){return Dt(rt)}:function(rt){return rt};return ve.forEach(function(rt){if(rt[Vt]){var Jn=Kt(ut,nn(rt));if(Jn)cn.push(rt);else{var Bt=rt[Vt].filter(function(rr){return Kt(ut,nn(rr))});Bt.length&&cn.push((0,pe.Z)((0,pe.Z)({},rt),{},(0,le.Z)({},Vt,Bt)))}return}Kt(ut,nn(rt))&&cn.push(rt)}),cn},[ve,Le,He,ut,Ie])},wt=y(6551),Qn=y(11592),lr=["children","value"],cr=["children"];function Yn(ve){var Ie=ve,ut=Ie.key,Le=Ie.props,He=Le.children,Vt=Le.value,et=(0,fe.Z)(Le,lr);return(0,pe.Z)({key:ut,value:Vt!==void 0?Vt:ut,children:He},et)}function Sr(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Qn.Z)(ve).map(function(ut,Le){if(!xe.isValidElement(ut)||!ut.type)return null;var He=ut,Vt=He.type.isSelectOptGroup,et=He.key,en=He.props,cn=en.children,Xt=(0,fe.Z)(en,cr);return Ie||!Vt?Yn(ut):(0,pe.Z)((0,pe.Z)({key:"__RC_SELECT_GRP__".concat(et===null?Le:et,"__"),label:et},Xt),{},{options:Sr(cn)})}).filter(function(ut){return ut})}var br=function(Ie,ut,Le,He,Vt){return xe.useMemo(function(){var et=Ie,en=!Ie;en&&(et=Sr(ut));var cn=new Map,Xt=new Map,an=function(rt,Jn,Bt){Bt&&typeof Bt=="string"&&rt.set(Jn[Bt],Jn)},Kt=function nn(rt){for(var Jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=0;Bt<rt.length;Bt+=1){var rr=rt[Bt];!rr[Le.options]||Jn?(cn.set(rr[Le.value],rr),an(Xt,rr,Le.label),an(Xt,rr,He),an(Xt,rr,Vt)):nn(rr[Le.options],!0)}};return Kt(et),{options:et,valueOptions:cn,labelOptions:Xt}},[Ie,ut,Le,He,Vt])},Nr=br;function Jr(ve){var Ie=xe.useRef();Ie.current=ve;var ut=xe.useCallback(function(){return Ie.current.apply(Ie,arguments)},[]);return ut}function $r(ve){var Ie=ve.mode,ut=ve.options,Le=ve.children,He=ve.backfill,Vt=ve.allowClear,et=ve.placeholder,en=ve.getInputElement,cn=ve.showSearch,Xt=ve.onSearch,an=ve.defaultOpen,Kt=ve.autoFocus,nn=ve.labelInValue,rt=ve.value,Jn=ve.inputValue,Bt=ve.optionLabelProp,rr=isMultiple(Ie),Pr=cn!==void 0?cn:rr||Ie==="combobox",Sn=ut||convertChildrenToData(Le);if(warning(Ie!=="tags"||Sn.every(function(zn){return!zn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ie==="tags"||Ie==="combobox"){var rn=Sn.some(function(zn){return zn.options?zn.options.some(function(tr){return typeof("value"in tr?tr.value:tr.key)=="number"}):typeof("value"in zn?zn.value:zn.key)=="number"});warning(!rn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ie!=="combobox"||!Bt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ie==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(Ie==="combobox"||!en,"`getInputElement` only work with `combobox` mode."),noteOnce(Ie!=="combobox"||!en||!Vt||!et,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Xt&&!Pr&&Ie!=="combobox"&&Ie!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!an||Kt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),rt!=null){var Cn=toArray(rt);warning(!nn||Cn.every(function(zn){return _typeof(zn)==="object"&&("key"in zn||"value"in zn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!rr||Array.isArray(rt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Le){var Pn=null;toNodeArray(Le).some(function(zn){if(!React.isValidElement(zn)||!zn.type)return!1;var tr=zn,wr=tr.type;if(wr.isSelectOption)return!1;if(wr.isSelectOptGroup){var pr=toNodeArray(zn.props.children).every(function(Zn){return!React.isValidElement(Zn)||!zn.type||Zn.type.isSelectOption?!0:(Pn=Zn.type,!1)});return!pr}return Pn=wr,!0}),Pn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Pn.displayName||Pn.name||Pn,"`.")),warning(Jn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ur(ve,Ie){if(ve){var ut=function Le(He){for(var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=0;et<He.length;et++){var en=He[et];if(en[Ie==null?void 0:Ie.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Vt&&Array.isArray(en[Ie==null?void 0:Ie.options])&&Le(en[Ie==null?void 0:Ie.options],!0))break}};ut(ve)}}var aa=null,Hr=["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"],pa=["inputValue"];function ea(ve){return!ve||(0,we.Z)(ve)!=="object"}var jn=xe.forwardRef(function(ve,Ie){var ut=ve.id,Le=ve.mode,He=ve.prefixCls,Vt=He===void 0?"rc-select":He,et=ve.backfill,en=ve.fieldNames,cn=ve.inputValue,Xt=ve.searchValue,an=ve.onSearch,Kt=ve.autoClearSearchValue,nn=Kt===void 0?!0:Kt,rt=ve.onSelect,Jn=ve.onDeselect,Bt=ve.dropdownMatchSelectWidth,rr=Bt===void 0?!0:Bt,Pr=ve.filterOption,Sn=ve.filterSort,rn=ve.optionFilterProp,Cn=ve.optionLabelProp,Pn=ve.options,zn=ve.optionRender,tr=ve.children,wr=ve.defaultActiveFirstOption,pr=ve.menuItemSelectedIcon,Zn=ve.virtual,Kn=ve.direction,gr=ve.listHeight,dr=gr===void 0?200:gr,Yr=ve.listItemHeight,Wr=Yr===void 0?20:Yr,Zr=ve.labelRender,Qr=ve.value,ca=ve.defaultValue,Xr=ve.labelInValue,la=ve.onChange,_r=ve.maxCount,oa=(0,fe.Z)(ve,Hr),_t=(0,wt.ZP)(ut),Ea=kn(Le),ia=!!(!Pn&&tr),ra=xe.useMemo(function(){return Pr===void 0&&Le==="combobox"?!1:Pr},[Pr,Le]),fa=xe.useMemo(function(){return gt(en,ia)},[JSON.stringify(en),ia]),ha=(0,Oe.Z)("",{value:Xt!==void 0?Xt:cn,postState:function(Ka){return Ka||""}}),Br=(0,be.Z)(ha,2),Gn=Br[0],Vr=Br[1],qn=Nr(Pn,tr,fa,rn,Cn),hr=qn.valueOptions,or=qn.labelOptions,er=qn.options,Dr=xe.useCallback(function(Ra){var Ka=Rt(Ra);return Ka.map(function(Ca){var za,ri,ii,ci,ki;if(ea(Ca))za=Ca;else{var ti;ii=Ca.key,ri=Ca.label,za=(ti=Ca.value)!==null&&ti!==void 0?ti:ii}var zi=hr.get(za);if(zi){var yo;if(ri===void 0&&(ri=zi==null?void 0:zi[Cn||fa.label]),ii===void 0&&(ii=(yo=zi==null?void 0:zi.key)!==null&&yo!==void 0?yo:za),ci=zi==null?void 0:zi.disabled,ki=zi==null?void 0:zi.title,0)var No}return{label:ri,value:za,key:ii,disabled:ci,title:ki}})},[fa,Cn,hr]),Ar=(0,Oe.Z)(ca,{value:Qr}),ur=(0,be.Z)(Ar,2),nr=ur[0],xr=ur[1],Or=xe.useMemo(function(){var Ra,Ka=Ea&&nr===null?[]:nr,Ca=Dr(Ka);return Le==="combobox"&&Ye((Ra=Ca[0])===null||Ra===void 0?void 0:Ra.value)?[]:Ca},[nr,Dr,Le,Ea]),ba=yr(Or,hr),da=(0,be.Z)(ba,2),ya=da[0],Ma=da[1],_a=xe.useMemo(function(){if(!Le&&ya.length===1){var Ra=ya[0];if(Ra.value===null&&(Ra.label===null||Ra.label===void 0))return[]}return ya.map(function(Ka){var Ca;return(0,pe.Z)((0,pe.Z)({},Ka),{},{label:(Ca=typeof Zr=="function"?Zr(Ka):Ka.label)!==null&&Ca!==void 0?Ca:Ka.value})})},[Le,ya,Zr]),Na=xe.useMemo(function(){return new Set(ya.map(function(Ra){return Ra.value}))},[ya]);xe.useEffect(function(){if(Le==="combobox"){var Ra,Ka=(Ra=ya[0])===null||Ra===void 0?void 0:Ra.value;Vr(Tt(Ka)?String(Ka):"")}},[ya]);var Ha=Jr(function(Ra,Ka){var Ca=Ka!=null?Ka:Ra;return(0,le.Z)((0,le.Z)({},fa.value,Ra),fa.label,Ca)}),Da=xe.useMemo(function(){if(Le!=="tags")return er;var Ra=(0,me.Z)(er),Ka=function(za){return hr.has(za)};return(0,me.Z)(ya).sort(function(Ca,za){return Ca.value<za.value?-1:1}).forEach(function(Ca){var za=Ca.value;Ka(za)||Ra.push(Ha(za,Ca.label))}),Ra},[Ha,er,hr,ya,Le]),ja=Er(Da,fa,Gn,ra,rn),Gr=xe.useMemo(function(){return Le!=="tags"||!Gn||ja.some(function(Ra){return Ra[rn||"value"]===Gn})||ja.some(function(Ra){return Ra[fa.value]===Gn})?ja:[Ha(Gn)].concat((0,me.Z)(ja))},[Ha,rn,Le,ja,Gn,fa]),bi=function Ra(Ka){var Ca=(0,me.Z)(Ka).sort(function(za,ri){return Sn(za,ri,{searchValue:Gn})});return Ca.map(function(za){return Array.isArray(za.options)?(0,pe.Z)((0,pe.Z)({},za),{},{options:za.options.length>0?Ra(za.options):za.options}):za})},wi=xe.useMemo(function(){return Sn?bi(Gr):Gr},[Gr,Sn,Gn]),Pa=xe.useMemo(function(){return yt(wi,{fieldNames:fa,childrenAsData:ia})},[wi,fa,ia]),li=function(Ka){var Ca=Dr(Ka);if(xr(Ca),la&&(Ca.length!==ya.length||Ca.some(function(ii,ci){var ki;return((ki=ya[ci])===null||ki===void 0?void 0:ki.value)!==(ii==null?void 0:ii.value)}))){var za=Xr?Ca:Ca.map(function(ii){return ii.value}),ri=Ca.map(function(ii){return Dt(Ma(ii.value))});la(Ea?za:za[0],Ea?ri:ri[0])}},fi=xe.useState(null),Ua=(0,be.Z)(fi,2),Ni=Ua[0],Va=Ua[1],Aa=xe.useState(0),$a=(0,be.Z)(Aa,2),Ja=$a[0],Ba=$a[1],Xa=wr!==void 0?wr:Le!=="combobox",ma=xe.useCallback(function(Ra,Ka){var Ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},za=Ca.source,ri=za===void 0?"keyboard":za;Ba(Ka),et&&Le==="combobox"&&Ra!==null&&ri==="keyboard"&&Va(String(Ra))},[et,Le]),xi=function(Ka,Ca,za){var ri=function(){var Uo,Co=Ma(Ka);return[Xr?{label:Co==null?void 0:Co[fa.label],value:Ka,key:(Uo=Co==null?void 0:Co.key)!==null&&Uo!==void 0?Uo:Ka}:Ka,Dt(Co)]};if(Ca&&rt){var ii=ri(),ci=(0,be.Z)(ii,2),ki=ci[0],ti=ci[1];rt(ki,ti)}else if(!Ca&&Jn&&za!=="clear"){var zi=ri(),yo=(0,be.Z)(zi,2),No=yo[0],so=yo[1];Jn(No,so)}},Bi=Jr(function(Ra,Ka){var Ca,za=Ea?Ka.selected:!0;za?Ca=Ea?[].concat((0,me.Z)(ya),[Ra]):[Ra]:Ca=ya.filter(function(ri){return ri.value!==Ra}),li(Ca),xi(Ra,za),Le==="combobox"?Va(""):(!kn||nn)&&(Vr(""),Va(""))}),Fi=function(Ka,Ca){li(Ka);var za=Ca.type,ri=Ca.values;(za==="remove"||za==="clear")&&ri.forEach(function(ii){xi(ii.value,!1,za)})},Rr=function(Ka,Ca){if(Vr(Ka),Va(null),Ca.source==="submit"){var za=(Ka||"").trim();if(za){var ri=Array.from(new Set([].concat((0,me.Z)(Na),[za])));li(ri),xi(za,!0),Vr("")}return}Ca.source!=="blur"&&(Le==="combobox"&&li(Ka),an==null||an(Ka))},Ti=function(Ka){var Ca=Ka;Le!=="tags"&&(Ca=Ka.map(function(ri){var ii=or.get(ri);return ii==null?void 0:ii.value}).filter(function(ri){return ri!==void 0}));var za=Array.from(new Set([].concat((0,me.Z)(Na),(0,me.Z)(Ca))));li(za),za.forEach(function(ri){xi(ri,!0)})},qi=xe.useMemo(function(){var Ra=Zn!==!1&&rr!==!1;return(0,pe.Z)((0,pe.Z)({},qn),{},{flattenOptions:Pa,onActiveValue:ma,defaultActiveFirstOption:Xa,onSelect:Bi,menuItemSelectedIcon:pr,rawValues:Na,fieldNames:fa,virtual:Ra,direction:Kn,listHeight:dr,listItemHeight:Wr,childrenAsData:ia,maxCount:_r,optionRender:zn})},[_r,qn,Pa,ma,Xa,Bi,pr,Na,fa,Zn,rr,Kn,dr,Wr,ia,zn]);return xe.createElement(pn.Provider,{value:qi},xe.createElement(ln,(0,b.Z)({},oa,{id:_t,prefixCls:Vt,ref:Ie,omitDomProps:pa,mode:Le,displayValues:_a,onDisplayValuesChange:Fi,direction:Kn,searchValue:Gn,onSearch:Rr,autoClearSearchValue:nn,onSearchSplit:Ti,dropdownMatchSelectWidth:rr,OptionList:vr,emptyOptions:!Pa.length,activeValue:Ni,activeDescendantId:"".concat(_t,"_list_").concat(Ja)})))}),sr=jn;sr.Option=Yt,sr.OptGroup=xn;var Kr=sr,zr=Kr},22711:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{ResizableTextArea:function(){return dt},default:function(){return Jt}});var b=y(60499),me=y(18642),le=y(85899),pe=y(77654),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(36901),xe=y(66003),Ge=y(30292),Fe=y(18929),At=y(59301),at=y(43749),tt=y(29301),Je=y(34280),We=y(16089),Ve=`
|
|
|
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;
|
|
|
`,Ze=["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"],Qe={},ze;function _e(Rt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tn=Rt.getAttribute("id")||Rt.getAttribute("data-reactid")||Rt.getAttribute("name");if(Zt&&Qe[Tn])return Qe[Tn];var Tt=window.getComputedStyle(Rt),Ye=Tt.getPropertyValue("box-sizing")||Tt.getPropertyValue("-moz-box-sizing")||Tt.getPropertyValue("-webkit-box-sizing"),Se=parseFloat(Tt.getPropertyValue("padding-bottom"))+parseFloat(Tt.getPropertyValue("padding-top")),Qt=parseFloat(Tt.getPropertyValue("border-bottom-width"))+parseFloat(Tt.getPropertyValue("border-top-width")),on=Ze.map(function(Ut){return"".concat(Ut,":").concat(Tt.getPropertyValue(Ut))}).join(";"),st={sizingStyle:on,paddingSize:Se,borderSize:Qt,boxSizing:Ye};return Zt&&Tn&&(Qe[Tn]=st),st}function $e(Rt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ze||(ze=document.createElement("textarea"),ze.setAttribute("tab-index","-1"),ze.setAttribute("aria-hidden","true"),ze.setAttribute("name","hiddenTextarea"),document.body.appendChild(ze)),Rt.getAttribute("wrap")?ze.setAttribute("wrap",Rt.getAttribute("wrap")):ze.removeAttribute("wrap");var Ye=_e(Rt,Zt),Se=Ye.paddingSize,Qt=Ye.borderSize,on=Ye.boxSizing,st=Ye.sizingStyle;ze.setAttribute("style","".concat(st,";").concat(Ve)),ze.value=Rt.value||Rt.placeholder||"";var Ut=void 0,Gt=void 0,On,ft=ze.scrollHeight;if(on==="border-box"?ft+=Qt:on==="content-box"&&(ft-=Se),Tn!==null||Tt!==null){ze.value=" ";var En=ze.scrollHeight-Se;Tn!==null&&(Ut=En*Tn,on==="border-box"&&(Ut=Ut+Se+Qt),ft=Math.max(Ut,ft)),Tt!==null&&(Gt=En*Tt,on==="border-box"&&(Gt=Gt+Se+Qt),On=ft>Gt?"":"hidden",ft=Math.min(Gt,ft))}var Ht={height:ft,overflowY:On,resize:"none"};return Ut&&(Ht.minHeight=Ut),Gt&&(Ht.maxHeight=Gt),Ht}var nt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],bt=0,it=1,Nt=2,vt=At.forwardRef(function(Rt,Zt){var Tn=Rt,Tt=Tn.prefixCls,Ye=Tn.defaultValue,Se=Tn.value,Qt=Tn.autoSize,on=Tn.onResize,st=Tn.className,Ut=Tn.style,Gt=Tn.disabled,On=Tn.onChange,ft=Tn.onInternalAutoSize,En=(0,fe.Z)(Tn,nt),Ht=(0,Fe.Z)(Ye,{value:Se,postState:function(Yt){return Yt!=null?Yt:""}}),gn=(0,be.Z)(Ht,2),un=gn[0],De=gn[1],he=function(Yt){De(Yt.target.value),On==null||On(Yt)},ce=At.useRef();At.useImperativeHandle(Zt,function(){return{textArea:ce.current}});var Te=At.useMemo(function(){return Qt&&(0,at.Z)(Qt)==="object"?[Qt.minRows,Qt.maxRows]:[]},[Qt]),je=(0,be.Z)(Te,2),ge=je[0],Pe=je[1],ct=!!Qt,$t=function(){try{if(document.activeElement===ce.current){var Yt=ce.current,Ft=Yt.selectionStart,vn=Yt.selectionEnd,Ct=Yt.scrollTop;ce.current.setSelectionRange(Ft,vn),ce.current.scrollTop=Ct}}catch(pt){}},gt=At.useState(Nt),yt=(0,be.Z)(gt,2),Dt=yt[0],Pt=yt[1],Wt=At.useState(),pn=(0,be.Z)(Wt,2),fn=pn[0],Mt=pn[1],Ln=function(){Pt(bt)};(0,Je.Z)(function(){ct&&Ln()},[Se,ge,Pe,ct]),(0,Je.Z)(function(){if(Dt===bt)Pt(it);else if(Dt===it){var kt=$e(ce.current,!1,ge,Pe);Pt(Nt),Mt(kt)}else $t()},[Dt]);var kn=At.useRef(),wn=function(){We.Z.cancel(kn.current)},ln=function(Yt){Dt===Nt&&(on==null||on(Yt),Qt&&(wn(),kn.current=(0,We.Z)(function(){Ln()})))};At.useEffect(function(){return wn},[]);var In=ct?fn:null,xn=(0,le.Z)((0,le.Z)({},Ut),In);return(Dt===bt||Dt===it)&&(xn.overflowY="hidden",xn.overflowX="hidden"),At.createElement(tt.Z,{onResize:ln,disabled:!(Qt||on)},At.createElement("textarea",(0,b.Z)({},En,{ref:ce,style:xn,className:Oe()(Tt,st,(0,me.Z)({},"".concat(Tt,"-disabled"),Gt)),disabled:Gt,value:un,onChange:he})))}),dt=vt,It=["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"],St=At.forwardRef(function(Rt,Zt){var Tn,Tt=Rt.defaultValue,Ye=Rt.value,Se=Rt.onFocus,Qt=Rt.onBlur,on=Rt.onChange,st=Rt.allowClear,Ut=Rt.maxLength,Gt=Rt.onCompositionStart,On=Rt.onCompositionEnd,ft=Rt.suffix,En=Rt.prefixCls,Ht=En===void 0?"rc-textarea":En,gn=Rt.showCount,un=Rt.count,De=Rt.className,he=Rt.style,ce=Rt.disabled,Te=Rt.hidden,je=Rt.classNames,ge=Rt.styles,Pe=Rt.onResize,ct=Rt.onClear,$t=Rt.onPressEnter,gt=Rt.readOnly,yt=Rt.autoSize,Dt=Rt.onKeyDown,Pt=(0,fe.Z)(Rt,It),Wt=(0,Fe.Z)(Tt,{value:Ye,defaultValue:Tt}),pn=(0,be.Z)(Wt,2),fn=pn[0],Mt=pn[1],Ln=fn==null?"":String(fn),kn=At.useState(!1),wn=(0,be.Z)(kn,2),ln=wn[0],In=wn[1],xn=At.useRef(!1),kt=At.useState(null),Yt=(0,be.Z)(kt,2),Ft=Yt[0],vn=Yt[1],Ct=(0,At.useRef)(null),pt=(0,At.useRef)(null),de=function(){var sr;return(sr=pt.current)===null||sr===void 0?void 0:sr.textArea},qt=function(){de().focus()};(0,At.useImperativeHandle)(Zt,function(){var jn;return{resizableTextArea:pt.current,focus:qt,blur:function(){de().blur()},nativeElement:((jn=Ct.current)===null||jn===void 0?void 0:jn.nativeElement)||de()}}),(0,At.useEffect)(function(){In(function(jn){return!ce&&jn})},[ce]);var Dn=At.useState(null),mn=(0,be.Z)(Dn,2),vr=mn[0],yr=mn[1];At.useEffect(function(){if(vr){var jn;(jn=de()).setSelectionRange.apply(jn,(0,pe.Z)(vr))}},[vr]);var ar=(0,xe.Z)(un,gn),Er=(Tn=ar.max)!==null&&Tn!==void 0?Tn:Ut,wt=Number(Er)>0,Qn=ar.strategy(Ln),lr=!!Er&&Qn>Er,cr=function(sr,Kr){var zr=Kr;!xn.current&&ar.exceedFormatter&&ar.max&&ar.strategy(Kr)>ar.max&&(zr=ar.exceedFormatter(Kr,{max:ar.max}),Kr!==zr&&yr([de().selectionStart||0,de().selectionEnd||0])),Mt(zr),(0,Ge.rJ)(sr.currentTarget,sr,on,zr)},Yn=function(sr){xn.current=!0,Gt==null||Gt(sr)},Sr=function(sr){xn.current=!1,cr(sr,sr.currentTarget.value),On==null||On(sr)},br=function(sr){cr(sr,sr.target.value)},Nr=function(sr){sr.key==="Enter"&&$t&&$t(sr),Dt==null||Dt(sr)},Jr=function(sr){In(!0),Se==null||Se(sr)},$r=function(sr){In(!1),Qt==null||Qt(sr)},Ur=function(sr){Mt(""),qt(),(0,Ge.rJ)(de(),sr,on)},aa=ft,Hr;ar.show&&(ar.showFormatter?Hr=ar.showFormatter({value:Ln,count:Qn,maxLength:Er}):Hr="".concat(Qn).concat(wt?" / ".concat(Er):""),aa=At.createElement(At.Fragment,null,aa,At.createElement("span",{className:Oe()("".concat(Ht,"-data-count"),je==null?void 0:je.count),style:ge==null?void 0:ge.count},Hr)));var pa=function(sr){var Kr;Pe==null||Pe(sr),(Kr=de())!==null&&Kr!==void 0&&Kr.style.height&&vn(!0)},ea=!yt&&!gn&&!st;return At.createElement(Re.BaseInput,{ref:Ct,value:Ln,allowClear:st,handleReset:Ur,suffix:aa,prefixCls:Ht,classNames:(0,le.Z)((0,le.Z)({},je),{},{affixWrapper:Oe()(je==null?void 0:je.affixWrapper,(0,me.Z)((0,me.Z)({},"".concat(Ht,"-show-count"),gn),"".concat(Ht,"-textarea-allow-clear"),st))}),disabled:ce,focused:ln,className:Oe()(De,lr&&"".concat(Ht,"-out-of-range")),style:(0,le.Z)((0,le.Z)({},he),Ft&&!ea?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Hr=="string"?Hr:void 0}},hidden:Te,readOnly:gt,onClear:ct},At.createElement(dt,(0,b.Z)({},Pt,{autoSize:yt,maxLength:Ut,onKeyDown:Nr,onChange:br,onFocus:Jr,onBlur:$r,onCompositionStart:Yn,onCompositionEnd:Sr,className:Oe()(je==null?void 0:je.textarea),style:(0,le.Z)((0,le.Z)({},ge==null?void 0:ge.textarea),{},{resize:he==null?void 0:he.resize}),disabled:ce,prefixCls:Ht,onResize:pa,ref:pt,readOnly:gt})))}),qe=St,Jt=qe},639:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(60499),me=y(18642),le=y(85899),pe=y(72190),be=y(42244),fe=y(59301),we=y(92310),Oe=y.n(we),Re=y(26112),xe=y(30699),Ge=function(_e){for(var $e=_e.prefixCls,nt=_e.level,bt=_e.isStart,it=_e.isEnd,Nt="".concat($e,"-indent-unit"),vt=[],dt=0;dt<nt;dt+=1)vt.push(fe.createElement("span",{key:dt,className:Oe()(Nt,(0,me.Z)((0,me.Z)({},"".concat(Nt,"-start"),bt[dt]),"".concat(Nt,"-end"),it[dt]))}));return fe.createElement("span",{"aria-hidden":"true",className:"".concat($e,"-indent")},vt)},Fe=fe.memo(Ge),At=y(65065),at=y(34061),tt=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Je="open",We="close",Ve="---",Ze=function(_e){var $e,nt,bt,it=_e.eventKey,Nt=_e.className,vt=_e.style,dt=_e.dragOver,It=_e.dragOverGapTop,St=_e.dragOverGapBottom,qe=_e.isLeaf,Jt=_e.isStart,Rt=_e.isEnd,Zt=_e.expanded,Tn=_e.selected,Tt=_e.checked,Ye=_e.halfChecked,Se=_e.loading,Qt=_e.domRef,on=_e.active,st=_e.data,Ut=_e.onMouseMove,Gt=_e.selectable,On=(0,be.Z)(_e,tt),ft=fe.useContext(xe.k),En=fe.useContext(xe.y),Ht=fe.useRef(null),gn=fe.useState(!1),un=(0,pe.Z)(gn,2),De=un[0],he=un[1],ce=!!(ft.disabled||_e.disabled||($e=En.nodeDisabled)!==null&&$e!==void 0&&$e.call(En,st)),Te=fe.useMemo(function(){return!ft.checkable||_e.checkable===!1?!1:ft.checkable},[ft.checkable,_e.checkable]),je=function(Qn){ce||ft.onNodeSelect(Qn,(0,at.F)(_e))},ge=function(Qn){ce||!Te||_e.disableCheckbox||ft.onNodeCheck(Qn,(0,at.F)(_e),!Tt)},Pe=fe.useMemo(function(){return typeof Gt=="boolean"?Gt:ft.selectable},[Gt,ft.selectable]),ct=function(Qn){ft.onNodeClick(Qn,(0,at.F)(_e)),Pe?je(Qn):ge(Qn)},$t=function(Qn){ft.onNodeDoubleClick(Qn,(0,at.F)(_e))},gt=function(Qn){ft.onNodeMouseEnter(Qn,(0,at.F)(_e))},yt=function(Qn){ft.onNodeMouseLeave(Qn,(0,at.F)(_e))},Dt=function(Qn){ft.onNodeContextMenu(Qn,(0,at.F)(_e))},Pt=fe.useMemo(function(){return!!(ft.draggable&&(!ft.draggable.nodeDraggable||ft.draggable.nodeDraggable(st)))},[ft.draggable,st]),Wt=function(Qn){Qn.stopPropagation(),he(!0),ft.onNodeDragStart(Qn,_e);try{Qn.dataTransfer.setData("text/plain","")}catch(lr){}},pn=function(Qn){Qn.preventDefault(),Qn.stopPropagation(),ft.onNodeDragEnter(Qn,_e)},fn=function(Qn){Qn.preventDefault(),Qn.stopPropagation(),ft.onNodeDragOver(Qn,_e)},Mt=function(Qn){Qn.stopPropagation(),ft.onNodeDragLeave(Qn,_e)},Ln=function(Qn){Qn.stopPropagation(),he(!1),ft.onNodeDragEnd(Qn,_e)},kn=function(Qn){Qn.preventDefault(),Qn.stopPropagation(),he(!1),ft.onNodeDrop(Qn,_e)},wn=function(Qn){Se||ft.onNodeExpand(Qn,(0,at.F)(_e))},ln=fe.useMemo(function(){var wt=(0,At.Z)(ft.keyEntities,it)||{},Qn=wt.children;return!!(Qn||[]).length},[ft.keyEntities,it]),In=fe.useMemo(function(){return qe===!1?!1:qe||!ft.loadData&&!ln||ft.loadData&&_e.loaded&&!ln},[qe,ft.loadData,ln,_e.loaded]);fe.useEffect(function(){Se||typeof ft.loadData=="function"&&Zt&&!In&&!_e.loaded&&ft.onNodeLoad((0,at.F)(_e))},[Se,ft.loadData,ft.onNodeLoad,Zt,In,_e]);var xn=fe.useMemo(function(){var wt;return(wt=ft.draggable)!==null&&wt!==void 0&&wt.icon?fe.createElement("span",{className:"".concat(ft.prefixCls,"-draggable-icon")},ft.draggable.icon):null},[ft.draggable]),kt=function(Qn){var lr=_e.switcherIcon||ft.switcherIcon;return typeof lr=="function"?lr((0,le.Z)((0,le.Z)({},_e),{},{isLeaf:Qn})):lr},Yt=function(){if(In){var Qn=kt(!0);return Qn!==!1?fe.createElement("span",{className:Oe()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher-noop"))},Qn):null}var lr=kt(!1);return lr!==!1?fe.createElement("span",{onClick:wn,className:Oe()("".concat(ft.prefixCls,"-switcher"),"".concat(ft.prefixCls,"-switcher_").concat(Zt?Je:We))},lr):null},Ft=fe.useMemo(function(){if(!Te)return null;var wt=typeof Te!="boolean"?Te:null;return fe.createElement("span",{className:Oe()("".concat(ft.prefixCls,"-checkbox"),(0,me.Z)((0,me.Z)((0,me.Z)({},"".concat(ft.prefixCls,"-checkbox-checked"),Tt),"".concat(ft.prefixCls,"-checkbox-indeterminate"),!Tt&&Ye),"".concat(ft.prefixCls,"-checkbox-disabled"),ce||_e.disableCheckbox)),onClick:ge,role:"checkbox","aria-checked":Ye?"mixed":Tt,"aria-disabled":ce||_e.disableCheckbox,"aria-label":"Select ".concat(typeof _e.title=="string"?_e.title:"tree node")},wt)},[Te,Tt,Ye,ce,_e.disableCheckbox,_e.title]),vn=fe.useMemo(function(){return In?null:Zt?Je:We},[In,Zt]),Ct=fe.useMemo(function(){return fe.createElement("span",{className:Oe()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__").concat(vn||"docu"),(0,me.Z)({},"".concat(ft.prefixCls,"-icon_loading"),Se))})},[ft.prefixCls,vn,Se]),pt=fe.useMemo(function(){var wt=!!ft.draggable,Qn=!_e.disabled&&wt&&ft.dragOverNodeKey===it;return Qn?ft.dropIndicatorRender({dropPosition:ft.dropPosition,dropLevelOffset:ft.dropLevelOffset,indent:ft.indent,prefixCls:ft.prefixCls,direction:ft.direction}):null},[ft.dropPosition,ft.dropLevelOffset,ft.indent,ft.prefixCls,ft.direction,ft.draggable,ft.dragOverNodeKey,ft.dropIndicatorRender]),de=fe.useMemo(function(){var wt=_e.title,Qn=wt===void 0?Ve:wt,lr="".concat(ft.prefixCls,"-node-content-wrapper"),cr;if(ft.showIcon){var Yn=_e.icon||ft.icon;cr=Yn?fe.createElement("span",{className:Oe()("".concat(ft.prefixCls,"-iconEle"),"".concat(ft.prefixCls,"-icon__customize"))},typeof Yn=="function"?Yn(_e):Yn):Ct}else ft.loadData&&Se&&(cr=Ct);var Sr;return typeof Qn=="function"?Sr=Qn(st):ft.titleRender?Sr=ft.titleRender(st):Sr=Qn,fe.createElement("span",{ref:Ht,title:typeof Qn=="string"?Qn:"",className:Oe()(lr,"".concat(lr,"-").concat(vn||"normal"),(0,me.Z)({},"".concat(ft.prefixCls,"-node-selected"),!ce&&(Tn||De))),onMouseEnter:gt,onMouseLeave:yt,onContextMenu:Dt,onClick:ct,onDoubleClick:$t},cr,fe.createElement("span",{className:"".concat(ft.prefixCls,"-title")},Sr),pt)},[ft.prefixCls,ft.showIcon,_e,ft.icon,Ct,ft.titleRender,st,vn,gt,yt,Dt,ct,$t]),qt=(0,Re.Z)(On,{aria:!0,data:!0}),Dn=(0,At.Z)(ft.keyEntities,it)||{},mn=Dn.level,vr=Rt[Rt.length-1],yr=!ce&&Pt,ar=ft.draggingNodeKey===it,Er=Gt!==void 0?{"aria-selected":!!Gt}:void 0;return fe.createElement("div",(0,b.Z)({ref:Qt,role:"treeitem","aria-expanded":qe?void 0:Zt,className:Oe()(Nt,"".concat(ft.prefixCls,"-treenode"),(bt={},(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)(bt,"".concat(ft.prefixCls,"-treenode-disabled"),ce),"".concat(ft.prefixCls,"-treenode-switcher-").concat(Zt?"open":"close"),!qe),"".concat(ft.prefixCls,"-treenode-checkbox-checked"),Tt),"".concat(ft.prefixCls,"-treenode-checkbox-indeterminate"),Ye),"".concat(ft.prefixCls,"-treenode-selected"),Tn),"".concat(ft.prefixCls,"-treenode-loading"),Se),"".concat(ft.prefixCls,"-treenode-active"),on),"".concat(ft.prefixCls,"-treenode-leaf-last"),vr),"".concat(ft.prefixCls,"-treenode-draggable"),Pt),"dragging",ar),(0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)((0,me.Z)(bt,"drop-target",ft.dropTargetKey===it),"drop-container",ft.dropContainerKey===it),"drag-over",!ce&&dt),"drag-over-gap-top",!ce&&It),"drag-over-gap-bottom",!ce&&St),"filter-node",(nt=ft.filterTreeNode)===null||nt===void 0?void 0:nt.call(ft,(0,at.F)(_e))),"".concat(ft.prefixCls,"-treenode-leaf"),In))),style:vt,draggable:yr,onDragStart:yr?Wt:void 0,onDragEnter:Pt?pn:void 0,onDragOver:Pt?fn:void 0,onDragLeave:Pt?Mt:void 0,onDrop:Pt?kn:void 0,onDragEnd:Pt?Ln:void 0,onMouseMove:Ut},Er,qt),fe.createElement(Fe,{prefixCls:ft.prefixCls,level:mn,isStart:Jt,isEnd:Rt}),xn,Yt(),Ft,de)};Ze.isTreeNode=1;var Qe=Ze},30699:function(Ce,ae,y){"use strict";y.d(ae,{k:function(){return me},y:function(){return le}});var b=y(59301),me=b.createContext(null),le=b.createContext({})},87632:function(Ce,ae,y){"use strict";y.d(ae,{OF:function(){return it.Z},y6:function(){return We.y},ZP:function(){return ce}});var b=y(60499),me=y(43749),le=y(85899),pe=y(77654),be=y(38705),fe=y(17212),we=y(15793),Oe=y(39153),Re=y(55401),xe=y(18642),Ge=y(92310),Fe=y.n(Ge),At=y(10228),at=y(26112),tt=y(48736),Je=y(59301),We=y(30699),Ve=function(je){var ge=je.dropPosition,Pe=je.dropLevelOffset,ct=je.indent,$t={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ge){case-1:$t.top=0,$t.left=-Pe*ct;break;case 1:$t.bottom=0,$t.left=-Pe*ct;break;case 0:$t.bottom=0,$t.left=ct;break}return Je.createElement("div",{style:$t})},Ze=Ve;function Qe(Te){if(Te==null)throw new TypeError("Cannot destructure "+Te)}var ze=y(72190),_e=y(42244),$e=y(34280),nt=y(48911),bt=y(77900),it=y(639);function Nt(Te,je){var ge=Je.useState(!1),Pe=(0,ze.Z)(ge,2),ct=Pe[0],$t=Pe[1];(0,$e.Z)(function(){if(ct)return Te(),function(){je()}},[ct]),(0,$e.Z)(function(){return $t(!0),function(){$t(!1)}},[])}var vt=Nt,dt=y(34061),It=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],St=Je.forwardRef(function(Te,je){var ge=Te.className,Pe=Te.style,ct=Te.motion,$t=Te.motionNodes,gt=Te.motionType,yt=Te.onMotionStart,Dt=Te.onMotionEnd,Pt=Te.active,Wt=Te.treeNodeRequiredProps,pn=(0,_e.Z)(Te,It),fn=Je.useState(!0),Mt=(0,ze.Z)(fn,2),Ln=Mt[0],kn=Mt[1],wn=Je.useContext(We.k),ln=wn.prefixCls,In=$t&>!=="hide";(0,$e.Z)(function(){$t&&In!==Ln&&kn(In)},[$t]);var xn=function(){$t&&yt()},kt=Je.useRef(!1),Yt=function(){$t&&!kt.current&&(kt.current=!0,Dt())};vt(xn,Yt);var Ft=function(Ct){In===Ct&&Yt()};return $t?Je.createElement(bt.default,(0,b.Z)({ref:je,visible:Ln},ct,{motionAppear:gt==="show",onVisibleChanged:Ft}),function(vn,Ct){var pt=vn.className,de=vn.style;return Je.createElement("div",{ref:Ct,className:Fe()("".concat(ln,"-treenode-motion"),pt),style:de},$t.map(function(qt){var Dn=Object.assign({},(Qe(qt.data),qt.data)),mn=qt.title,vr=qt.key,yr=qt.isStart,ar=qt.isEnd;delete Dn.children;var Er=(0,dt.H8)(vr,Wt);return Je.createElement(it.Z,(0,b.Z)({},Dn,Er,{title:mn,active:Pt,data:qt.data,key:vr,isStart:yr,isEnd:ar}))}))}):Je.createElement(it.Z,(0,b.Z)({domRef:je,className:ge,style:Pe},pn,{active:Pt}))}),qe=St;function Jt(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ge=Te.length,Pe=je.length;if(Math.abs(ge-Pe)!==1)return{add:!1,key:null};function ct($t,gt){var yt=new Map;$t.forEach(function(Pt){yt.set(Pt,!0)});var Dt=gt.filter(function(Pt){return!yt.has(Pt)});return Dt.length===1?Dt[0]:null}return ge<Pe?{add:!0,key:ct(Te,je)}:{add:!1,key:ct(je,Te)}}function Rt(Te,je,ge){var Pe=Te.findIndex(function(yt){return yt.key===ge}),ct=Te[Pe+1],$t=je.findIndex(function(yt){return yt.key===ge});if(ct){var gt=je.findIndex(function(yt){return yt.key===ct.key});return je.slice($t+1,gt)}return je.slice($t+1)}var Zt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Tn={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Tt=function(){},Ye="RC_TREE_MOTION_".concat(Math.random()),Se={key:Ye},Qt={key:Ye,level:0,index:0,pos:"0",node:Se,nodes:[Se]},on={parent:null,children:[],pos:Qt.pos,data:Se,title:null,key:Ye,isStart:[],isEnd:[]};function st(Te,je,ge,Pe){return je===!1||!ge?Te:Te.slice(0,Math.ceil(ge/Pe)+1)}function Ut(Te){var je=Te.key,ge=Te.pos;return(0,dt.km)(je,ge)}function Gt(Te){for(var je=String(Te.data.key),ge=Te;ge.parent;)ge=ge.parent,je="".concat(ge.data.key," > ").concat(je);return je}var On=Je.forwardRef(function(Te,je){var ge=Te.prefixCls,Pe=Te.data,ct=Te.selectable,$t=Te.checkable,gt=Te.expandedKeys,yt=Te.selectedKeys,Dt=Te.checkedKeys,Pt=Te.loadedKeys,Wt=Te.loadingKeys,pn=Te.halfCheckedKeys,fn=Te.keyEntities,Mt=Te.disabled,Ln=Te.dragging,kn=Te.dragOverNodeKey,wn=Te.dropPosition,ln=Te.motion,In=Te.height,xn=Te.itemHeight,kt=Te.virtual,Yt=Te.scrollWidth,Ft=Te.focusable,vn=Te.activeItem,Ct=Te.focused,pt=Te.tabIndex,de=Te.onKeyDown,qt=Te.onFocus,Dn=Te.onBlur,mn=Te.onActiveChange,vr=Te.onListChangeStart,yr=Te.onListChangeEnd,ar=(0,_e.Z)(Te,Zt),Er=Je.useRef(null),wt=Je.useRef(null);Je.useImperativeHandle(je,function(){return{scrollTo:function(en){Er.current.scrollTo(en)},getIndentWidth:function(){return wt.current.offsetWidth}}});var Qn=Je.useState(gt),lr=(0,ze.Z)(Qn,2),cr=lr[0],Yn=lr[1],Sr=Je.useState(Pe),br=(0,ze.Z)(Sr,2),Nr=br[0],Jr=br[1],$r=Je.useState(Pe),Ur=(0,ze.Z)($r,2),aa=Ur[0],Hr=Ur[1],pa=Je.useState([]),ea=(0,ze.Z)(pa,2),jn=ea[0],sr=ea[1],Kr=Je.useState(null),zr=(0,ze.Z)(Kr,2),ve=zr[0],Ie=zr[1],ut=Je.useRef(Pe);ut.current=Pe;function Le(){var et=ut.current;Jr(et),Hr(et),sr([]),Ie(null),yr()}(0,$e.Z)(function(){Yn(gt);var et=Jt(cr,gt);if(et.key!==null)if(et.add){var en=Nr.findIndex(function(rt){var Jn=rt.key;return Jn===et.key}),cn=st(Rt(Nr,Pe,et.key),kt,In,xn),Xt=Nr.slice();Xt.splice(en+1,0,on),Hr(Xt),sr(cn),Ie("show")}else{var an=Pe.findIndex(function(rt){var Jn=rt.key;return Jn===et.key}),Kt=st(Rt(Pe,Nr,et.key),kt,In,xn),nn=Pe.slice();nn.splice(an+1,0,on),Hr(nn),sr(Kt),Ie("hide")}else Nr!==Pe&&(Jr(Pe),Hr(Pe))},[gt,Pe]),Je.useEffect(function(){Ln||Le()},[Ln]);var He=ln?aa:Pe,Vt={expandedKeys:gt,selectedKeys:yt,loadedKeys:Pt,loadingKeys:Wt,checkedKeys:Dt,halfCheckedKeys:pn,dragOverNodeKey:kn,dropPosition:wn,keyEntities:fn};return Je.createElement(Je.Fragment,null,Ct&&vn&&Je.createElement("span",{style:Tn,"aria-live":"assertive"},Gt(vn)),Je.createElement("div",null,Je.createElement("input",{style:Tn,disabled:Ft===!1||Mt,tabIndex:Ft!==!1?pt:null,onKeyDown:de,onFocus:qt,onBlur:Dn,value:"",onChange:Tt,"aria-label":"for screen reader"})),Je.createElement("div",{className:"".concat(ge,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Je.createElement("div",{className:"".concat(ge,"-indent")},Je.createElement("div",{ref:wt,className:"".concat(ge,"-indent-unit")}))),Je.createElement(nt.Z,(0,b.Z)({},ar,{data:He,itemKey:Ut,height:In,fullHeight:!1,virtual:kt,itemHeight:xn,scrollWidth:Yt,prefixCls:"".concat(ge,"-list"),ref:Er,role:"tree",onVisibleChange:function(en){en.every(function(cn){return Ut(cn)!==Ye})&&Le()}}),function(et){var en=et.pos,cn=Object.assign({},(Qe(et.data),et.data)),Xt=et.title,an=et.key,Kt=et.isStart,nn=et.isEnd,rt=(0,dt.km)(an,en);delete cn.key,delete cn.children;var Jn=(0,dt.H8)(rt,Vt);return Je.createElement(qe,(0,b.Z)({},cn,Jn,{title:Xt,active:!!vn&&an===vn.key,pos:en,data:et.data,isStart:Kt,isEnd:nn,motion:ln,motionNodes:an===Ye?jn:null,motionType:ve,onMotionStart:vr,onMotionEnd:Le,treeNodeRequiredProps:Vt,onMouseMove:function(){mn(null)}}))}))}),ft=On,En=y(82661),Ht=y(34643),gn=y(65065),un=10,De=function(Te){(0,Oe.Z)(ge,Te);var je=(0,Re.Z)(ge);function ge(){var Pe;(0,be.Z)(this,ge);for(var ct=arguments.length,$t=new Array(ct),gt=0;gt<ct;gt++)$t[gt]=arguments[gt];return Pe=je.call.apply(je,[this].concat($t)),(0,xe.Z)((0,we.Z)(Pe),"destroyed",!1),(0,xe.Z)((0,we.Z)(Pe),"delayedDragEnterLogic",void 0),(0,xe.Z)((0,we.Z)(Pe),"loadingRetryTimes",{}),(0,xe.Z)((0,we.Z)(Pe),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,dt.w$)()}),(0,xe.Z)((0,we.Z)(Pe),"dragStartMousePosition",null),(0,xe.Z)((0,we.Z)(Pe),"dragNodeProps",null),(0,xe.Z)((0,we.Z)(Pe),"currentMouseOverDroppableNodeKey",null),(0,xe.Z)((0,we.Z)(Pe),"listRef",Je.createRef()),(0,xe.Z)((0,we.Z)(Pe),"onNodeDragStart",function(yt,Dt){var Pt=Pe.state,Wt=Pt.expandedKeys,pn=Pt.keyEntities,fn=Pe.props.onDragStart,Mt=Dt.eventKey;Pe.dragNodeProps=Dt,Pe.dragStartMousePosition={x:yt.clientX,y:yt.clientY};var Ln=(0,En._5)(Wt,Mt);Pe.setState({draggingNodeKey:Mt,dragChildrenKeys:(0,En.wA)(Mt,pn),indent:Pe.listRef.current.getIndentWidth()}),Pe.setExpandedKeys(Ln),window.addEventListener("dragend",Pe.onWindowDragEnd),fn==null||fn({event:yt,node:(0,dt.F)(Dt)})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDragEnter",function(yt,Dt){var Pt=Pe.state,Wt=Pt.expandedKeys,pn=Pt.keyEntities,fn=Pt.dragChildrenKeys,Mt=Pt.flattenNodes,Ln=Pt.indent,kn=Pe.props,wn=kn.onDragEnter,ln=kn.onExpand,In=kn.allowDrop,xn=kn.direction,kt=Dt.pos,Yt=Dt.eventKey;if(Pe.currentMouseOverDroppableNodeKey!==Yt&&(Pe.currentMouseOverDroppableNodeKey=Yt),!Pe.dragNodeProps){Pe.resetDragState();return}var Ft=(0,En.OM)(yt,Pe.dragNodeProps,Dt,Ln,Pe.dragStartMousePosition,In,Mt,pn,Wt,xn),vn=Ft.dropPosition,Ct=Ft.dropLevelOffset,pt=Ft.dropTargetKey,de=Ft.dropContainerKey,qt=Ft.dropTargetPos,Dn=Ft.dropAllowed,mn=Ft.dragOverNodeKey;if(fn.includes(pt)||!Dn){Pe.resetDragState();return}if(Pe.delayedDragEnterLogic||(Pe.delayedDragEnterLogic={}),Object.keys(Pe.delayedDragEnterLogic).forEach(function(vr){clearTimeout(Pe.delayedDragEnterLogic[vr])}),Pe.dragNodeProps.eventKey!==Dt.eventKey&&(yt.persist(),Pe.delayedDragEnterLogic[kt]=window.setTimeout(function(){if(Pe.state.draggingNodeKey!==null){var vr=(0,pe.Z)(Wt),yr=(0,gn.Z)(pn,Dt.eventKey);yr&&(yr.children||[]).length&&(vr=(0,En.L0)(Wt,Dt.eventKey)),Pe.props.hasOwnProperty("expandedKeys")||Pe.setExpandedKeys(vr),ln==null||ln(vr,{node:(0,dt.F)(Dt),expanded:!0,nativeEvent:yt.nativeEvent})}},800)),Pe.dragNodeProps.eventKey===pt&&Ct===0){Pe.resetDragState();return}Pe.setState({dragOverNodeKey:mn,dropPosition:vn,dropLevelOffset:Ct,dropTargetKey:pt,dropContainerKey:de,dropTargetPos:qt,dropAllowed:Dn}),wn==null||wn({event:yt,node:(0,dt.F)(Dt),expandedKeys:Wt})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDragOver",function(yt,Dt){var Pt=Pe.state,Wt=Pt.dragChildrenKeys,pn=Pt.flattenNodes,fn=Pt.keyEntities,Mt=Pt.expandedKeys,Ln=Pt.indent,kn=Pe.props,wn=kn.onDragOver,ln=kn.allowDrop,In=kn.direction;if(Pe.dragNodeProps){var xn=(0,En.OM)(yt,Pe.dragNodeProps,Dt,Ln,Pe.dragStartMousePosition,ln,pn,fn,Mt,In),kt=xn.dropPosition,Yt=xn.dropLevelOffset,Ft=xn.dropTargetKey,vn=xn.dropContainerKey,Ct=xn.dropTargetPos,pt=xn.dropAllowed,de=xn.dragOverNodeKey;Wt.includes(Ft)||!pt||(Pe.dragNodeProps.eventKey===Ft&&Yt===0?Pe.state.dropPosition===null&&Pe.state.dropLevelOffset===null&&Pe.state.dropTargetKey===null&&Pe.state.dropContainerKey===null&&Pe.state.dropTargetPos===null&&Pe.state.dropAllowed===!1&&Pe.state.dragOverNodeKey===null||Pe.resetDragState():kt===Pe.state.dropPosition&&Yt===Pe.state.dropLevelOffset&&Ft===Pe.state.dropTargetKey&&vn===Pe.state.dropContainerKey&&Ct===Pe.state.dropTargetPos&&pt===Pe.state.dropAllowed&&de===Pe.state.dragOverNodeKey||Pe.setState({dropPosition:kt,dropLevelOffset:Yt,dropTargetKey:Ft,dropContainerKey:vn,dropTargetPos:Ct,dropAllowed:pt,dragOverNodeKey:de}),wn==null||wn({event:yt,node:(0,dt.F)(Dt)}))}}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDragLeave",function(yt,Dt){Pe.currentMouseOverDroppableNodeKey===Dt.eventKey&&!yt.currentTarget.contains(yt.relatedTarget)&&(Pe.resetDragState(),Pe.currentMouseOverDroppableNodeKey=null);var Pt=Pe.props.onDragLeave;Pt==null||Pt({event:yt,node:(0,dt.F)(Dt)})}),(0,xe.Z)((0,we.Z)(Pe),"onWindowDragEnd",function(yt){Pe.onNodeDragEnd(yt,null,!0),window.removeEventListener("dragend",Pe.onWindowDragEnd)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDragEnd",function(yt,Dt){var Pt=Pe.props.onDragEnd;Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),Pt==null||Pt({event:yt,node:(0,dt.F)(Dt)}),Pe.dragNodeProps=null,window.removeEventListener("dragend",Pe.onWindowDragEnd)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDrop",function(yt,Dt){var Pt,Wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pn=Pe.state,fn=pn.dragChildrenKeys,Mt=pn.dropPosition,Ln=pn.dropTargetKey,kn=pn.dropTargetPos,wn=pn.dropAllowed;if(wn){var ln=Pe.props.onDrop;if(Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),Ln!==null){var In=(0,le.Z)((0,le.Z)({},(0,dt.H8)(Ln,Pe.getTreeNodeRequiredProps())),{},{active:((Pt=Pe.getActiveItem())===null||Pt===void 0?void 0:Pt.key)===Ln,data:(0,gn.Z)(Pe.state.keyEntities,Ln).node}),xn=fn.includes(Ln);(0,tt.ZP)(!xn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var kt=(0,En.yx)(kn),Yt={event:yt,node:(0,dt.F)(In),dragNode:Pe.dragNodeProps?(0,dt.F)(Pe.dragNodeProps):null,dragNodesKeys:[Pe.dragNodeProps.eventKey].concat(fn),dropToGap:Mt!==0,dropPosition:Mt+Number(kt[kt.length-1])};Wt||ln==null||ln(Yt),Pe.dragNodeProps=null}}}),(0,xe.Z)((0,we.Z)(Pe),"cleanDragState",function(){var yt=Pe.state.draggingNodeKey;yt!==null&&Pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Pe.dragStartMousePosition=null,Pe.currentMouseOverDroppableNodeKey=null}),(0,xe.Z)((0,we.Z)(Pe),"triggerExpandActionExpand",function(yt,Dt){var Pt=Pe.state,Wt=Pt.expandedKeys,pn=Pt.flattenNodes,fn=Dt.expanded,Mt=Dt.key,Ln=Dt.isLeaf;if(!(Ln||yt.shiftKey||yt.metaKey||yt.ctrlKey)){var kn=pn.filter(function(ln){return ln.key===Mt})[0],wn=(0,dt.F)((0,le.Z)((0,le.Z)({},(0,dt.H8)(Mt,Pe.getTreeNodeRequiredProps())),{},{data:kn.data}));Pe.setExpandedKeys(fn?(0,En._5)(Wt,Mt):(0,En.L0)(Wt,Mt)),Pe.onNodeExpand(yt,wn)}}),(0,xe.Z)((0,we.Z)(Pe),"onNodeClick",function(yt,Dt){var Pt=Pe.props,Wt=Pt.onClick,pn=Pt.expandAction;pn==="click"&&Pe.triggerExpandActionExpand(yt,Dt),Wt==null||Wt(yt,Dt)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDoubleClick",function(yt,Dt){var Pt=Pe.props,Wt=Pt.onDoubleClick,pn=Pt.expandAction;pn==="doubleClick"&&Pe.triggerExpandActionExpand(yt,Dt),Wt==null||Wt(yt,Dt)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeSelect",function(yt,Dt){var Pt=Pe.state.selectedKeys,Wt=Pe.state,pn=Wt.keyEntities,fn=Wt.fieldNames,Mt=Pe.props,Ln=Mt.onSelect,kn=Mt.multiple,wn=Dt.selected,ln=Dt[fn.key],In=!wn;In?kn?Pt=(0,En.L0)(Pt,ln):Pt=[ln]:Pt=(0,En._5)(Pt,ln);var xn=Pt.map(function(kt){var Yt=(0,gn.Z)(pn,kt);return Yt?Yt.node:null}).filter(Boolean);Pe.setUncontrolledState({selectedKeys:Pt}),Ln==null||Ln(Pt,{event:"select",selected:In,node:Dt,selectedNodes:xn,nativeEvent:yt.nativeEvent})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeCheck",function(yt,Dt,Pt){var Wt=Pe.state,pn=Wt.keyEntities,fn=Wt.checkedKeys,Mt=Wt.halfCheckedKeys,Ln=Pe.props,kn=Ln.checkStrictly,wn=Ln.onCheck,ln=Dt.key,In,xn={event:"check",node:Dt,checked:Pt,nativeEvent:yt.nativeEvent};if(kn){var kt=Pt?(0,En.L0)(fn,ln):(0,En._5)(fn,ln),Yt=(0,En._5)(Mt,ln);In={checked:kt,halfChecked:Yt},xn.checkedNodes=kt.map(function(qt){return(0,gn.Z)(pn,qt)}).filter(Boolean).map(function(qt){return qt.node}),Pe.setUncontrolledState({checkedKeys:kt})}else{var Ft=(0,Ht.S)([].concat((0,pe.Z)(fn),[ln]),!0,pn),vn=Ft.checkedKeys,Ct=Ft.halfCheckedKeys;if(!Pt){var pt=new Set(vn);pt.delete(ln);var de=(0,Ht.S)(Array.from(pt),{checked:!1,halfCheckedKeys:Ct},pn);vn=de.checkedKeys,Ct=de.halfCheckedKeys}In=vn,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=Ct,vn.forEach(function(qt){var Dn=(0,gn.Z)(pn,qt);if(Dn){var mn=Dn.node,vr=Dn.pos;xn.checkedNodes.push(mn),xn.checkedNodesPositions.push({node:mn,pos:vr})}}),Pe.setUncontrolledState({checkedKeys:vn},!1,{halfCheckedKeys:Ct})}wn==null||wn(In,xn)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeLoad",function(yt){var Dt,Pt=yt.key,Wt=Pe.state.keyEntities,pn=(0,gn.Z)(Wt,Pt);if(!(pn!=null&&(Dt=pn.children)!==null&&Dt!==void 0&&Dt.length)){var fn=new Promise(function(Mt,Ln){Pe.setState(function(kn){var wn=kn.loadedKeys,ln=wn===void 0?[]:wn,In=kn.loadingKeys,xn=In===void 0?[]:In,kt=Pe.props,Yt=kt.loadData,Ft=kt.onLoad;if(!Yt||ln.includes(Pt)||xn.includes(Pt))return null;var vn=Yt(yt);return vn.then(function(){var Ct=Pe.state.loadedKeys,pt=(0,En.L0)(Ct,Pt);Ft==null||Ft(pt,{event:"load",node:yt}),Pe.setUncontrolledState({loadedKeys:pt}),Pe.setState(function(de){return{loadingKeys:(0,En._5)(de.loadingKeys,Pt)}}),Mt()}).catch(function(Ct){if(Pe.setState(function(de){return{loadingKeys:(0,En._5)(de.loadingKeys,Pt)}}),Pe.loadingRetryTimes[Pt]=(Pe.loadingRetryTimes[Pt]||0)+1,Pe.loadingRetryTimes[Pt]>=un){var pt=Pe.state.loadedKeys;(0,tt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Pe.setUncontrolledState({loadedKeys:(0,En.L0)(pt,Pt)}),Mt()}Ln(Ct)}),{loadingKeys:(0,En.L0)(xn,Pt)}})});return fn.catch(function(){}),fn}}),(0,xe.Z)((0,we.Z)(Pe),"onNodeMouseEnter",function(yt,Dt){var Pt=Pe.props.onMouseEnter;Pt==null||Pt({event:yt,node:Dt})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeMouseLeave",function(yt,Dt){var Pt=Pe.props.onMouseLeave;Pt==null||Pt({event:yt,node:Dt})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeContextMenu",function(yt,Dt){var Pt=Pe.props.onRightClick;Pt&&(yt.preventDefault(),Pt({event:yt,node:Dt}))}),(0,xe.Z)((0,we.Z)(Pe),"onFocus",function(){var yt=Pe.props.onFocus;Pe.setState({focused:!0});for(var Dt=arguments.length,Pt=new Array(Dt),Wt=0;Wt<Dt;Wt++)Pt[Wt]=arguments[Wt];yt==null||yt.apply(void 0,Pt)}),(0,xe.Z)((0,we.Z)(Pe),"onBlur",function(){var yt=Pe.props.onBlur;Pe.setState({focused:!1}),Pe.onActiveChange(null);for(var Dt=arguments.length,Pt=new Array(Dt),Wt=0;Wt<Dt;Wt++)Pt[Wt]=arguments[Wt];yt==null||yt.apply(void 0,Pt)}),(0,xe.Z)((0,we.Z)(Pe),"getTreeNodeRequiredProps",function(){var yt=Pe.state,Dt=yt.expandedKeys,Pt=yt.selectedKeys,Wt=yt.loadedKeys,pn=yt.loadingKeys,fn=yt.checkedKeys,Mt=yt.halfCheckedKeys,Ln=yt.dragOverNodeKey,kn=yt.dropPosition,wn=yt.keyEntities;return{expandedKeys:Dt||[],selectedKeys:Pt||[],loadedKeys:Wt||[],loadingKeys:pn||[],checkedKeys:fn||[],halfCheckedKeys:Mt||[],dragOverNodeKey:Ln,dropPosition:kn,keyEntities:wn}}),(0,xe.Z)((0,we.Z)(Pe),"setExpandedKeys",function(yt){var Dt=Pe.state,Pt=Dt.treeData,Wt=Dt.fieldNames,pn=(0,dt.oH)(Pt,yt,Wt);Pe.setUncontrolledState({expandedKeys:yt,flattenNodes:pn},!0)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeExpand",function(yt,Dt){var Pt=Pe.state.expandedKeys,Wt=Pe.state,pn=Wt.listChanging,fn=Wt.fieldNames,Mt=Pe.props,Ln=Mt.onExpand,kn=Mt.loadData,wn=Dt.expanded,ln=Dt[fn.key];if(!pn){var In=Pt.includes(ln),xn=!wn;if((0,tt.ZP)(wn&&In||!wn&&!In,"Expand state not sync with index check"),Pt=xn?(0,En.L0)(Pt,ln):(0,En._5)(Pt,ln),Pe.setExpandedKeys(Pt),Ln==null||Ln(Pt,{node:Dt,expanded:xn,nativeEvent:yt.nativeEvent}),xn&&kn){var kt=Pe.onNodeLoad(Dt);kt&&kt.then(function(){var Yt=(0,dt.oH)(Pe.state.treeData,Pt,fn);Pe.setUncontrolledState({flattenNodes:Yt})}).catch(function(){var Yt=Pe.state.expandedKeys,Ft=(0,En._5)(Yt,ln);Pe.setExpandedKeys(Ft)})}}}),(0,xe.Z)((0,we.Z)(Pe),"onListChangeStart",function(){Pe.setUncontrolledState({listChanging:!0})}),(0,xe.Z)((0,we.Z)(Pe),"onListChangeEnd",function(){setTimeout(function(){Pe.setUncontrolledState({listChanging:!1})})}),(0,xe.Z)((0,we.Z)(Pe),"onActiveChange",function(yt){var Dt=Pe.state.activeKey,Pt=Pe.props,Wt=Pt.onActiveChange,pn=Pt.itemScrollOffset,fn=pn===void 0?0:pn;Dt!==yt&&(Pe.setState({activeKey:yt}),yt!==null&&Pe.scrollTo({key:yt,offset:fn}),Wt==null||Wt(yt))}),(0,xe.Z)((0,we.Z)(Pe),"getActiveItem",function(){var yt=Pe.state,Dt=yt.activeKey,Pt=yt.flattenNodes;return Dt===null?null:Pt.find(function(Wt){var pn=Wt.key;return pn===Dt})||null}),(0,xe.Z)((0,we.Z)(Pe),"offsetActiveKey",function(yt){var Dt=Pe.state,Pt=Dt.flattenNodes,Wt=Dt.activeKey,pn=Pt.findIndex(function(Ln){var kn=Ln.key;return kn===Wt});pn===-1&&yt<0&&(pn=Pt.length),pn=(pn+yt+Pt.length)%Pt.length;var fn=Pt[pn];if(fn){var Mt=fn.key;Pe.onActiveChange(Mt)}else Pe.onActiveChange(null)}),(0,xe.Z)((0,we.Z)(Pe),"onKeyDown",function(yt){var Dt=Pe.state,Pt=Dt.activeKey,Wt=Dt.expandedKeys,pn=Dt.checkedKeys,fn=Dt.fieldNames,Mt=Pe.props,Ln=Mt.onKeyDown,kn=Mt.checkable,wn=Mt.selectable;switch(yt.which){case At.Z.UP:{Pe.offsetActiveKey(-1),yt.preventDefault();break}case At.Z.DOWN:{Pe.offsetActiveKey(1),yt.preventDefault();break}}var ln=Pe.getActiveItem();if(ln&&ln.data){var In=Pe.getTreeNodeRequiredProps(),xn=ln.data.isLeaf===!1||!!(ln.data[fn.children]||[]).length,kt=(0,dt.F)((0,le.Z)((0,le.Z)({},(0,dt.H8)(Pt,In)),{},{data:ln.data,active:!0}));switch(yt.which){case At.Z.LEFT:{xn&&Wt.includes(Pt)?Pe.onNodeExpand({},kt):ln.parent&&Pe.onActiveChange(ln.parent.key),yt.preventDefault();break}case At.Z.RIGHT:{xn&&!Wt.includes(Pt)?Pe.onNodeExpand({},kt):ln.children&&ln.children.length&&Pe.onActiveChange(ln.children[0].key),yt.preventDefault();break}case At.Z.ENTER:case At.Z.SPACE:{kn&&!kt.disabled&&kt.checkable!==!1&&!kt.disableCheckbox?Pe.onNodeCheck({},kt,!pn.includes(Pt)):!kn&&wn&&!kt.disabled&&kt.selectable!==!1&&Pe.onNodeSelect({},kt);break}}}Ln==null||Ln(yt)}),(0,xe.Z)((0,we.Z)(Pe),"setUncontrolledState",function(yt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Pe.destroyed){var Wt=!1,pn=!0,fn={};Object.keys(yt).forEach(function(Mt){if(Pe.props.hasOwnProperty(Mt)){pn=!1;return}Wt=!0,fn[Mt]=yt[Mt]}),Wt&&(!Dt||pn)&&Pe.setState((0,le.Z)((0,le.Z)({},fn),Pt))}}),(0,xe.Z)((0,we.Z)(Pe),"scrollTo",function(yt){Pe.listRef.current.scrollTo(yt)}),Pe}return(0,fe.Z)(ge,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ct=this.props,$t=ct.activeKey,gt=ct.itemScrollOffset,yt=gt===void 0?0:gt;$t!==void 0&&$t!==this.state.activeKey&&(this.setState({activeKey:$t}),$t!==null&&this.scrollTo({key:$t,offset:yt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ct=this.state,$t=ct.focused,gt=ct.flattenNodes,yt=ct.keyEntities,Dt=ct.draggingNodeKey,Pt=ct.activeKey,Wt=ct.dropLevelOffset,pn=ct.dropContainerKey,fn=ct.dropTargetKey,Mt=ct.dropPosition,Ln=ct.dragOverNodeKey,kn=ct.indent,wn=this.props,ln=wn.prefixCls,In=wn.className,xn=wn.style,kt=wn.showLine,Yt=wn.focusable,Ft=wn.tabIndex,vn=Ft===void 0?0:Ft,Ct=wn.selectable,pt=wn.showIcon,de=wn.icon,qt=wn.switcherIcon,Dn=wn.draggable,mn=wn.checkable,vr=wn.checkStrictly,yr=wn.disabled,ar=wn.motion,Er=wn.loadData,wt=wn.filterTreeNode,Qn=wn.height,lr=wn.itemHeight,cr=wn.scrollWidth,Yn=wn.virtual,Sr=wn.titleRender,br=wn.dropIndicatorRender,Nr=wn.onContextMenu,Jr=wn.onScroll,$r=wn.direction,Ur=wn.rootClassName,aa=wn.rootStyle,Hr=(0,at.Z)(this.props,{aria:!0,data:!0}),pa;Dn&&((0,me.Z)(Dn)==="object"?pa=Dn:typeof Dn=="function"?pa={nodeDraggable:Dn}:pa={});var ea={prefixCls:ln,selectable:Ct,showIcon:pt,icon:de,switcherIcon:qt,draggable:pa,draggingNodeKey:Dt,checkable:mn,checkStrictly:vr,disabled:yr,keyEntities:yt,dropLevelOffset:Wt,dropContainerKey:pn,dropTargetKey:fn,dropPosition:Mt,dragOverNodeKey:Ln,indent:kn,direction:$r,dropIndicatorRender:br,loadData:Er,filterTreeNode:wt,titleRender:Sr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Je.createElement(We.k.Provider,{value:ea},Je.createElement("div",{className:Fe()(ln,In,Ur,(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(ln,"-show-line"),kt),"".concat(ln,"-focused"),$t),"".concat(ln,"-active-focused"),Pt!==null)),style:aa},Je.createElement(ft,(0,b.Z)({ref:this.listRef,prefixCls:ln,style:xn,data:gt,disabled:yr,selectable:Ct,checkable:!!mn,motion:ar,dragging:Dt!==null,height:Qn,itemHeight:lr,virtual:Yn,focusable:Yt,focused:$t,tabIndex:vn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Nr,onScroll:Jr,scrollWidth:cr},this.getTreeNodeRequiredProps(),Hr))))}}],[{key:"getDerivedStateFromProps",value:function(ct,$t){var gt=$t.prevProps,yt={prevProps:ct};function Dt(vn){return!gt&&ct.hasOwnProperty(vn)||gt&>[vn]!==ct[vn]}var Pt,Wt=$t.fieldNames;if(Dt("fieldNames")&&(Wt=(0,dt.w$)(ct.fieldNames),yt.fieldNames=Wt),Dt("treeData")?Pt=ct.treeData:Dt("children")&&((0,tt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Pt=(0,dt.zn)(ct.children)),Pt){yt.treeData=Pt;var pn=(0,dt.I8)(Pt,{fieldNames:Wt});yt.keyEntities=(0,le.Z)((0,xe.Z)({},Ye,Qt),pn.keyEntities)}var fn=yt.keyEntities||$t.keyEntities;if(Dt("expandedKeys")||gt&&Dt("autoExpandParent"))yt.expandedKeys=ct.autoExpandParent||!gt&&ct.defaultExpandParent?(0,En.r7)(ct.expandedKeys,fn):ct.expandedKeys;else if(!gt&&ct.defaultExpandAll){var Mt=(0,le.Z)({},fn);delete Mt[Ye];var Ln=[];Object.keys(Mt).forEach(function(vn){var Ct=Mt[vn];Ct.children&&Ct.children.length&&Ln.push(Ct.key)}),yt.expandedKeys=Ln}else!gt&&ct.defaultExpandedKeys&&(yt.expandedKeys=ct.autoExpandParent||ct.defaultExpandParent?(0,En.r7)(ct.defaultExpandedKeys,fn):ct.defaultExpandedKeys);if(yt.expandedKeys||delete yt.expandedKeys,Pt||yt.expandedKeys){var kn=(0,dt.oH)(Pt||$t.treeData,yt.expandedKeys||$t.expandedKeys,Wt);yt.flattenNodes=kn}if(ct.selectable&&(Dt("selectedKeys")?yt.selectedKeys=(0,En.BT)(ct.selectedKeys,ct):!gt&&ct.defaultSelectedKeys&&(yt.selectedKeys=(0,En.BT)(ct.defaultSelectedKeys,ct))),ct.checkable){var wn;if(Dt("checkedKeys")?wn=(0,En.E6)(ct.checkedKeys)||{}:!gt&&ct.defaultCheckedKeys?wn=(0,En.E6)(ct.defaultCheckedKeys)||{}:Pt&&(wn=(0,En.E6)(ct.checkedKeys)||{checkedKeys:$t.checkedKeys,halfCheckedKeys:$t.halfCheckedKeys}),wn){var ln=wn,In=ln.checkedKeys,xn=In===void 0?[]:In,kt=ln.halfCheckedKeys,Yt=kt===void 0?[]:kt;if(!ct.checkStrictly){var Ft=(0,Ht.S)(xn,!0,fn);xn=Ft.checkedKeys,Yt=Ft.halfCheckedKeys}yt.checkedKeys=xn,yt.halfCheckedKeys=Yt}}return Dt("loadedKeys")&&(yt.loadedKeys=ct.loadedKeys),yt}}]),ge}(Je.Component);(0,xe.Z)(De,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ze,allowDrop:function(){return!0},expandAction:!1}),(0,xe.Z)(De,"TreeNode",it.Z);var he=De,ce=he},82661:function(Ce,ae,y){"use strict";y.d(ae,{BT:function(){return Je},E6:function(){return Ze},L0:function(){return xe},OM:function(){return tt},_5:function(){return Re},r7:function(){return Qe},wA:function(){return Fe},yx:function(){return Ge}});var b=y(77654),me=y(43749),le=y(48736),pe=y(59301),be=y(639),fe=y(65065),we=y(34061),Oe=null;function Re(ze,_e){if(!ze)return[];var $e=ze.slice(),nt=$e.indexOf(_e);return nt>=0&&$e.splice(nt,1),$e}function xe(ze,_e){var $e=(ze||[]).slice();return $e.indexOf(_e)===-1&&$e.push(_e),$e}function Ge(ze){return ze.split("-")}function Fe(ze,_e){var $e=[],nt=(0,fe.Z)(_e,ze);function bt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];it.forEach(function(Nt){var vt=Nt.key,dt=Nt.children;$e.push(vt),bt(dt)})}return bt(nt.children),$e}function At(ze){if(ze.parent){var _e=Ge(ze.pos);return Number(_e[_e.length-1])===ze.parent.children.length-1}return!1}function at(ze){var _e=Ge(ze.pos);return Number(_e[_e.length-1])===0}function tt(ze,_e,$e,nt,bt,it,Nt,vt,dt,It){var St,qe=ze.clientX,Jt=ze.clientY,Rt=ze.target.getBoundingClientRect(),Zt=Rt.top,Tn=Rt.height,Tt=(It==="rtl"?-1:1)*(((bt==null?void 0:bt.x)||0)-qe),Ye=(Tt-12)/nt,Se=dt.filter(function(ce){var Te;return(Te=vt[ce])===null||Te===void 0||(Te=Te.children)===null||Te===void 0?void 0:Te.length}),Qt=(0,fe.Z)(vt,$e.eventKey);if(Jt<Zt+Tn/2){var on=Nt.findIndex(function(ce){return ce.key===Qt.key}),st=on<=0?0:on-1,Ut=Nt[st].key;Qt=(0,fe.Z)(vt,Ut)}var Gt=Qt.key,On=Qt,ft=Qt.key,En=0,Ht=0;if(!Se.includes(Gt))for(var gn=0;gn<Ye&&At(Qt);gn+=1)Qt=Qt.parent,Ht+=1;var un=_e.data,De=Qt.node,he=!0;return at(Qt)&&Qt.level===0&&Jt<Zt+Tn/2&&it({dragNode:un,dropNode:De,dropPosition:-1})&&Qt.key===$e.eventKey?En=-1:(On.children||[]).length&&Se.includes(ft)?it({dragNode:un,dropNode:De,dropPosition:0})?En=0:he=!1:Ht===0?Ye>-1.5?it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1:it({dragNode:un,dropNode:De,dropPosition:0})?En=0:it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1:it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1,{dropPosition:En,dropLevelOffset:Ht,dropTargetKey:Qt.key,dropTargetPos:Qt.pos,dragOverNodeKey:ft,dropContainerKey:En===0?null:((St=Qt.parent)===null||St===void 0?void 0:St.key)||null,dropAllowed:he}}function Je(ze,_e){if(ze){var $e=_e.multiple;return $e?ze.slice():ze.length?[ze[0]]:ze}}var We=function(_e){return _e};function Ve(ze,_e){if(!ze)return[];var $e=_e||{},nt=$e.processProps,bt=nt===void 0?We:nt,it=Array.isArray(ze)?ze:[ze];return it.map(function(Nt){var vt=Nt.children,dt=_objectWithoutProperties(Nt,Oe),It=Ve(vt,_e);return React.createElement(TreeNode,_extends({key:dt.key},bt(dt)),It)})}function Ze(ze){if(!ze)return null;var _e;if(Array.isArray(ze))_e={checkedKeys:ze,halfCheckedKeys:void 0};else if((0,me.Z)(ze)==="object")_e={checkedKeys:ze.checked||void 0,halfCheckedKeys:ze.halfChecked||void 0};else return(0,le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return _e}function Qe(ze,_e){var $e=new Set;function nt(bt){if(!$e.has(bt)){var it=(0,fe.Z)(_e,bt);if(it){$e.add(bt);var Nt=it.parent,vt=it.node;vt.disabled||Nt&&nt(Nt.key)}}}return(ze||[]).forEach(function(bt){nt(bt)}),(0,b.Z)($e)}},34643:function(Ce,ae,y){"use strict";y.d(ae,{S:function(){return we}});var b=y(48736),me=y(65065);function le(Oe,Re){var xe=new Set;return Oe.forEach(function(Ge){Re.has(Ge)||xe.add(Ge)}),xe}function pe(Oe){var Re=Oe||{},xe=Re.disabled,Ge=Re.disableCheckbox,Fe=Re.checkable;return!!(xe||Ge)||Fe===!1}function be(Oe,Re,xe,Ge){for(var Fe=new Set(Oe),At=new Set,at=0;at<=xe;at+=1){var tt=Re.get(at)||new Set;tt.forEach(function(Ze){var Qe=Ze.key,ze=Ze.node,_e=Ze.children,$e=_e===void 0?[]:_e;Fe.has(Qe)&&!Ge(ze)&&$e.filter(function(nt){return!Ge(nt.node)}).forEach(function(nt){Fe.add(nt.key)})})}for(var Je=new Set,We=xe;We>=0;We-=1){var Ve=Re.get(We)||new Set;Ve.forEach(function(Ze){var Qe=Ze.parent,ze=Ze.node;if(!(Ge(ze)||!Ze.parent||Je.has(Ze.parent.key))){if(Ge(Ze.parent.node)){Je.add(Qe.key);return}var _e=!0,$e=!1;(Qe.children||[]).filter(function(nt){return!Ge(nt.node)}).forEach(function(nt){var bt=nt.key,it=Fe.has(bt);_e&&!it&&(_e=!1),!$e&&(it||At.has(bt))&&($e=!0)}),_e&&Fe.add(Qe.key),$e&&At.add(Qe.key),Je.add(Qe.key)}})}return{checkedKeys:Array.from(Fe),halfCheckedKeys:Array.from(le(At,Fe))}}function fe(Oe,Re,xe,Ge,Fe){for(var At=new Set(Oe),at=new Set(Re),tt=0;tt<=Ge;tt+=1){var Je=xe.get(tt)||new Set;Je.forEach(function(Qe){var ze=Qe.key,_e=Qe.node,$e=Qe.children,nt=$e===void 0?[]:$e;!At.has(ze)&&!at.has(ze)&&!Fe(_e)&&nt.filter(function(bt){return!Fe(bt.node)}).forEach(function(bt){At.delete(bt.key)})})}at=new Set;for(var We=new Set,Ve=Ge;Ve>=0;Ve-=1){var Ze=xe.get(Ve)||new Set;Ze.forEach(function(Qe){var ze=Qe.parent,_e=Qe.node;if(!(Fe(_e)||!Qe.parent||We.has(Qe.parent.key))){if(Fe(Qe.parent.node)){We.add(ze.key);return}var $e=!0,nt=!1;(ze.children||[]).filter(function(bt){return!Fe(bt.node)}).forEach(function(bt){var it=bt.key,Nt=At.has(it);$e&&!Nt&&($e=!1),!nt&&(Nt||at.has(it))&&(nt=!0)}),$e||At.delete(ze.key),nt&&at.add(ze.key),We.add(ze.key)}})}return{checkedKeys:Array.from(At),halfCheckedKeys:Array.from(le(at,At))}}function we(Oe,Re,xe,Ge){var Fe=[],At;Ge?At=Ge:At=pe;var at=new Set(Oe.filter(function(Ve){var Ze=!!(0,me.Z)(xe,Ve);return Ze||Fe.push(Ve),Ze})),tt=new Map,Je=0;Object.keys(xe).forEach(function(Ve){var Ze=xe[Ve],Qe=Ze.level,ze=tt.get(Qe);ze||(ze=new Set,tt.set(Qe,ze)),ze.add(Ze),Je=Math.max(Je,Qe)}),(0,b.ZP)(!Fe.length,"Tree missing follow keys: ".concat(Fe.slice(0,100).map(function(Ve){return"'".concat(Ve,"'")}).join(", ")));var We;return Re===!0?We=be(at,tt,Je,At):We=fe(at,Re.halfCheckedKeys,tt,Je,At),We}},65065:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(me,le){return me[le]}},34061:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return Qe},H8:function(){return Ze},I8:function(){return Ve},km:function(){return Fe},oH:function(){return Je},w$:function(){return At},zn:function(){return tt}});var b=y(43749),me=y(77654),le=y(85899),pe=y(42244),be=y(11592),fe=y(2738),we=y(48736),Oe=y(65065),Re=["children"];function xe(ze,_e){return"".concat(ze,"-").concat(_e)}function Ge(ze){return ze&&ze.type&&ze.type.isTreeNode}function Fe(ze,_e){return ze!=null?ze:_e}function At(ze){var _e=ze||{},$e=_e.title,nt=_e._title,bt=_e.key,it=_e.children,Nt=$e||"title";return{title:Nt,_title:nt||[Nt],key:bt||"key",children:it||"children"}}function at(ze,_e){var $e=new Map;function nt(bt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(bt||[]).forEach(function(Nt){var vt=Nt[_e.key],dt=Nt[_e.children];warning(vt!=null,"Tree node must have a certain key: [".concat(it).concat(vt,"]"));var It=String(vt);warning(!$e.has(It)||vt===null||vt===void 0,"Same 'key' exist in the Tree: ".concat(It)),$e.set(It,!0),nt(dt,"".concat(it).concat(It," > "))})}nt(ze)}function tt(ze){function _e($e){var nt=(0,be.Z)($e);return nt.map(function(bt){if(!Ge(bt))return(0,we.ZP)(!bt,"Tree/TreeNode can only accept TreeNode as children."),null;var it=bt.key,Nt=bt.props,vt=Nt.children,dt=(0,pe.Z)(Nt,Re),It=(0,le.Z)({key:it},dt),St=_e(vt);return St.length&&(It.children=St),It}).filter(function(bt){return bt})}return _e(ze)}function Je(ze,_e,$e){var nt=At($e),bt=nt._title,it=nt.key,Nt=nt.children,vt=new Set(_e===!0?[]:_e),dt=[];function It(St){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return St.map(function(Jt,Rt){for(var Zt=xe(qe?qe.pos:"0",Rt),Tn=Fe(Jt[it],Zt),Tt,Ye=0;Ye<bt.length;Ye+=1){var Se=bt[Ye];if(Jt[Se]!==void 0){Tt=Jt[Se];break}}var Qt=Object.assign((0,fe.Z)(Jt,[].concat((0,me.Z)(bt),[it,Nt])),{title:Tt,key:Tn,parent:qe,pos:Zt,children:null,data:Jt,isStart:[].concat((0,me.Z)(qe?qe.isStart:[]),[Rt===0]),isEnd:[].concat((0,me.Z)(qe?qe.isEnd:[]),[Rt===St.length-1])});return dt.push(Qt),_e===!0||vt.has(Tn)?Qt.children=It(Jt[Nt]||[],Qt):Qt.children=[],Qt})}return It(ze),dt}function We(ze,_e,$e){var nt={};(0,b.Z)($e)==="object"?nt=$e:nt={externalGetKey:$e},nt=nt||{};var bt=nt,it=bt.childrenPropName,Nt=bt.externalGetKey,vt=bt.fieldNames,dt=At(vt),It=dt.key,St=dt.children,qe=it||St,Jt;Nt?typeof Nt=="string"?Jt=function(Tn){return Tn[Nt]}:typeof Nt=="function"&&(Jt=function(Tn){return Nt(Tn)}):Jt=function(Tn,Tt){return Fe(Tn[It],Tt)};function Rt(Zt,Tn,Tt,Ye){var Se=Zt?Zt[qe]:ze,Qt=Zt?xe(Tt.pos,Tn):"0",on=Zt?[].concat((0,me.Z)(Ye),[Zt]):[];if(Zt){var st=Jt(Zt,Qt),Ut={node:Zt,index:Tn,pos:Qt,key:st,parentPos:Tt.node?Tt.pos:null,level:Tt.level+1,nodes:on};_e(Ut)}Se&&Se.forEach(function(Gt,On){Rt(Gt,On,{node:Zt,pos:Qt,level:Tt?Tt.level+1:-1},on)})}Rt(null)}function Ve(ze){var _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=_e.initWrapper,nt=_e.processEntity,bt=_e.onProcessFinished,it=_e.externalGetKey,Nt=_e.childrenPropName,vt=_e.fieldNames,dt=arguments.length>2?arguments[2]:void 0,It=it||dt,St={},qe={},Jt={posEntities:St,keyEntities:qe};return $e&&(Jt=$e(Jt)||Jt),We(ze,function(Rt){var Zt=Rt.node,Tn=Rt.index,Tt=Rt.pos,Ye=Rt.key,Se=Rt.parentPos,Qt=Rt.level,on=Rt.nodes,st={node:Zt,nodes:on,index:Tn,key:Ye,pos:Tt,level:Qt},Ut=Fe(Ye,Tt);St[Tt]=st,qe[Ut]=st,st.parent=St[Se],st.parent&&(st.parent.children=st.parent.children||[],st.parent.children.push(st)),nt&&nt(st,Jt)},{externalGetKey:It,childrenPropName:Nt,fieldNames:vt}),bt&&bt(Jt),Jt}function Ze(ze,_e){var $e=_e.expandedKeys,nt=_e.selectedKeys,bt=_e.loadedKeys,it=_e.loadingKeys,Nt=_e.checkedKeys,vt=_e.halfCheckedKeys,dt=_e.dragOverNodeKey,It=_e.dropPosition,St=_e.keyEntities,qe=(0,Oe.Z)(St,ze),Jt={eventKey:ze,expanded:$e.indexOf(ze)!==-1,selected:nt.indexOf(ze)!==-1,loaded:bt.indexOf(ze)!==-1,loading:it.indexOf(ze)!==-1,checked:Nt.indexOf(ze)!==-1,halfChecked:vt.indexOf(ze)!==-1,pos:String(qe?qe.pos:""),dragOver:dt===ze&&It===0,dragOverGapTop:dt===ze&&It===-1,dragOverGapBottom:dt===ze&&It===1};return Jt}function Qe(ze){var _e=ze.data,$e=ze.expanded,nt=ze.selected,bt=ze.checked,it=ze.loaded,Nt=ze.loading,vt=ze.halfChecked,dt=ze.dragOver,It=ze.dragOverGapTop,St=ze.dragOverGapBottom,qe=ze.pos,Jt=ze.active,Rt=ze.eventKey,Zt=(0,le.Z)((0,le.Z)({},_e),{},{expanded:$e,selected:nt,checked:bt,loaded:it,loading:Nt,halfChecked:vt,dragOver:dt,dragOverGapTop:It,dragOverGapBottom:St,pos:qe,active:Jt,key:Rt});return"props"in Zt||Object.defineProperty(Zt,"props",{get:function(){return(0,we.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ze}}),Zt}},8224:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(4676);function me(le,pe,be,fe){var we=b.unstable_batchedUpdates?function(Re){b.unstable_batchedUpdates(be,Re)}:be;return le!=null&&le.addEventListener&&le.addEventListener(pe,we,fe),{remove:function(){le!=null&&le.removeEventListener&&le.removeEventListener(pe,we,fe)}}}},48911:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return un}});var b=y(60499),me=y(43749),le=y(85899),pe=y(18642),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(29301),xe=y(70425),Ge=y(34280),Fe=y(59301),At=y(4676),at=Fe.forwardRef(function(De,he){var ce=De.height,Te=De.offsetY,je=De.offsetX,ge=De.children,Pe=De.prefixCls,ct=De.onInnerResize,$t=De.innerProps,gt=De.rtl,yt=De.extra,Dt={},Pt={display:"flex",flexDirection:"column"};return Te!==void 0&&(Dt={height:ce,position:"relative",overflow:"hidden"},Pt=(0,le.Z)((0,le.Z)({},Pt),{},(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({transform:"translateY(".concat(Te,"px)")},gt?"marginRight":"marginLeft",-je),"position","absolute"),"left",0),"right",0),"top",0))),Fe.createElement("div",{style:Dt},Fe.createElement(Re.Z,{onResize:function(pn){var fn=pn.offsetHeight;fn&&ct&&ct()}},Fe.createElement("div",(0,b.Z)({style:Pt,className:Oe()((0,pe.Z)({},"".concat(Pe,"-holder-inner"),Pe)),ref:he},$t),ge,yt)))});at.displayName="Filler";var tt=at;function Je(De){var he=De.children,ce=De.setRef,Te=Fe.useCallback(function(je){ce(je)},[]);return Fe.cloneElement(he,{ref:Te})}function We(De,he,ce,Te,je,ge,Pe,ct){var $t=ct.getKey;return De.slice(he,ce+1).map(function(gt,yt){var Dt=he+yt,Pt=Pe(gt,Dt,{style:{width:Te},offsetX:je}),Wt=$t(gt);return Fe.createElement(Je,{key:Wt,setRef:function(fn){return ge(gt,fn)}},Pt)})}function Ve(De,he,ce,Te){var je=ce-De,ge=he-ce,Pe=Math.min(je,ge)*2;if(Te<=Pe){var ct=Math.floor(Te/2);return Te%2?ce+ct+1:ce-ct}return je>ge?ce-(Te-ge):ce+(Te-je)}function Ze(De,he,ce){var Te=De.length,je=he.length,ge,Pe;if(Te===0&&je===0)return null;Te<je?(ge=De,Pe=he):(ge=he,Pe=De);var ct={__EMPTY_ITEM__:!0};function $t(pn){return pn!==void 0?ce(pn):ct}for(var gt=null,yt=Math.abs(Te-je)!==1,Dt=0;Dt<Pe.length;Dt+=1){var Pt=$t(ge[Dt]),Wt=$t(Pe[Dt]);if(Pt!==Wt){gt=Dt,yt=yt||Pt!==$t(Pe[Dt+1]);break}}return gt===null?null:{index:gt,multiple:yt}}function Qe(De,he,ce){var Te=Fe.useState(De),je=(0,be.Z)(Te,2),ge=je[0],Pe=je[1],ct=Fe.useState(null),$t=(0,be.Z)(ct,2),gt=$t[0],yt=$t[1];return Fe.useEffect(function(){var Dt=Ze(ge||[],De||[],he);(Dt==null?void 0:Dt.index)!==void 0&&(ce==null||ce(Dt.index),yt(De[Dt.index])),Pe(De)},[De]),[gt]}var ze=y(16089),_e=(typeof navigator=="undefined"?"undefined":(0,me.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),$e=_e,nt=function(De,he,ce,Te){var je=(0,Fe.useRef)(!1),ge=(0,Fe.useRef)(null);function Pe(){clearTimeout(ge.current),je.current=!0,ge.current=setTimeout(function(){je.current=!1},50)}var ct=(0,Fe.useRef)({top:De,bottom:he,left:ce,right:Te});return ct.current.top=De,ct.current.bottom=he,ct.current.left=ce,ct.current.right=Te,function($t,gt){var yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Dt=$t?gt<0&&ct.current.left||gt>0&&ct.current.right:gt<0&&ct.current.top||gt>0&&ct.current.bottom;return yt&&Dt?(clearTimeout(ge.current),je.current=!1):(!Dt||je.current)&&Pe(),!je.current&&Dt}};function bt(De,he,ce,Te,je,ge,Pe){var ct=(0,Fe.useRef)(0),$t=(0,Fe.useRef)(null),gt=(0,Fe.useRef)(null),yt=(0,Fe.useRef)(!1),Dt=nt(he,ce,Te,je);function Pt(kn,wn){if(ze.Z.cancel($t.current),!Dt(!1,wn)){var ln=kn;if(!ln._virtualHandled)ln._virtualHandled=!0;else return;ct.current+=wn,gt.current=wn,$e||ln.preventDefault(),$t.current=(0,ze.Z)(function(){var In=yt.current?10:1;Pe(ct.current*In,!1),ct.current=0})}}function Wt(kn,wn){Pe(wn,!0),$e||kn.preventDefault()}var pn=(0,Fe.useRef)(null),fn=(0,Fe.useRef)(null);function Mt(kn){if(De){ze.Z.cancel(fn.current),fn.current=(0,ze.Z)(function(){pn.current=null},2);var wn=kn.deltaX,ln=kn.deltaY,In=kn.shiftKey,xn=wn,kt=ln;(pn.current==="sx"||!pn.current&&In&&ln&&!wn)&&(xn=ln,kt=0,pn.current="sx");var Yt=Math.abs(xn),Ft=Math.abs(kt);pn.current===null&&(pn.current=ge&&Yt>Ft?"x":"y"),pn.current==="y"?Pt(kn,kt):Wt(kn,xn)}}function Ln(kn){De&&(yt.current=kn.detail===gt.current)}return[Mt,Ln]}function it(De,he,ce,Te){var je=Fe.useMemo(function(){return[new Map,[]]},[De,ce.id,Te]),ge=(0,be.Z)(je,2),Pe=ge[0],ct=ge[1],$t=function(yt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yt,Pt=Pe.get(yt),Wt=Pe.get(Dt);if(Pt===void 0||Wt===void 0)for(var pn=De.length,fn=ct.length;fn<pn;fn+=1){var Mt,Ln=De[fn],kn=he(Ln);Pe.set(kn,fn);var wn=(Mt=ce.get(kn))!==null&&Mt!==void 0?Mt:Te;if(ct[fn]=(ct[fn-1]||0)+wn,kn===yt&&(Pt=fn),kn===Dt&&(Wt=fn),Pt!==void 0&&Wt!==void 0)break}return{top:ct[Pt-1]||0,bottom:ct[Wt]}};return $t}var Nt=y(38705),vt=y(17212),dt=function(){function De(){(0,Nt.Z)(this,De),(0,pe.Z)(this,"maps",void 0),(0,pe.Z)(this,"id",0),(0,pe.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,vt.Z)(De,[{key:"set",value:function(ce,Te){this.diffRecords.set(ce,this.maps[ce]),this.maps[ce]=Te,this.id+=1}},{key:"get",value:function(ce){return this.maps[ce]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),De}(),It=dt;function St(De){var he=parseFloat(De);return isNaN(he)?0:he}function qe(De,he,ce){var Te=Fe.useState(0),je=(0,be.Z)(Te,2),ge=je[0],Pe=je[1],ct=(0,Fe.useRef)(new Map),$t=(0,Fe.useRef)(new It),gt=(0,Fe.useRef)(0);function yt(){gt.current+=1}function Dt(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;yt();var pn=function(){var Ln=!1;ct.current.forEach(function(kn,wn){if(kn&&kn.offsetParent){var ln=kn.offsetHeight,In=getComputedStyle(kn),xn=In.marginTop,kt=In.marginBottom,Yt=St(xn),Ft=St(kt),vn=ln+Yt+Ft;$t.current.get(wn)!==vn&&($t.current.set(wn,vn),Ln=!0)}}),Ln&&Pe(function(kn){return kn+1})};if(Wt)pn();else{gt.current+=1;var fn=gt.current;Promise.resolve().then(function(){fn===gt.current&&pn()})}}function Pt(Wt,pn){var fn=De(Wt),Mt=ct.current.get(fn);pn?(ct.current.set(fn,pn),Dt()):ct.current.delete(fn),!Mt!=!pn&&(pn?he==null||he(Wt):ce==null||ce(Wt))}return(0,Fe.useEffect)(function(){return yt},[]),[Pt,Dt,$t.current,ge]}var Jt=14/15;function Rt(De,he,ce){var Te=(0,Fe.useRef)(!1),je=(0,Fe.useRef)(0),ge=(0,Fe.useRef)(0),Pe=(0,Fe.useRef)(null),ct=(0,Fe.useRef)(null),$t,gt=function(Wt){if(Te.current){var pn=Math.ceil(Wt.touches[0].pageX),fn=Math.ceil(Wt.touches[0].pageY),Mt=je.current-pn,Ln=ge.current-fn,kn=Math.abs(Mt)>Math.abs(Ln);kn?je.current=pn:ge.current=fn;var wn=ce(kn,kn?Mt:Ln,!1,Wt);wn&&Wt.preventDefault(),clearInterval(ct.current),wn&&(ct.current=setInterval(function(){kn?Mt*=Jt:Ln*=Jt;var ln=Math.floor(kn?Mt:Ln);(!ce(kn,ln,!0)||Math.abs(ln)<=.1)&&clearInterval(ct.current)},16))}},yt=function(){Te.current=!1,$t()},Dt=function(Wt){$t(),Wt.touches.length===1&&!Te.current&&(Te.current=!0,je.current=Math.ceil(Wt.touches[0].pageX),ge.current=Math.ceil(Wt.touches[0].pageY),Pe.current=Wt.target,Pe.current.addEventListener("touchmove",gt,{passive:!1}),Pe.current.addEventListener("touchend",yt,{passive:!0}))};$t=function(){Pe.current&&(Pe.current.removeEventListener("touchmove",gt),Pe.current.removeEventListener("touchend",yt))},(0,Ge.Z)(function(){return De&&he.current.addEventListener("touchstart",Dt,{passive:!0}),function(){var Pt;(Pt=he.current)===null||Pt===void 0||Pt.removeEventListener("touchstart",Dt),$t(),clearInterval(ct.current)}},[De])}function Zt(De){return Math.floor(Math.pow(De,.5))}function Tn(De,he){var ce="touches"in De?De.touches[0]:De;return ce[he?"pageX":"pageY"]-window[he?"scrollX":"scrollY"]}function Tt(De,he,ce){Fe.useEffect(function(){var Te=he.current;if(De&&Te){var je=!1,ge,Pe,ct=function(){ze.Z.cancel(ge)},$t=function Pt(){ct(),ge=(0,ze.Z)(function(){ce(Pe),Pt()})},gt=function(){je=!1,ct()},yt=function(Wt){if(!(Wt.target.draggable||Wt.button!==0)){var pn=Wt;pn._virtualHandled||(pn._virtualHandled=!0,je=!0)}},Dt=function(Wt){if(je){var pn=Tn(Wt,!1),fn=Te.getBoundingClientRect(),Mt=fn.top,Ln=fn.bottom;if(pn<=Mt){var kn=Mt-pn;Pe=-Zt(kn),$t()}else if(pn>=Ln){var wn=pn-Ln;Pe=Zt(wn),$t()}else ct()}};return Te.addEventListener("mousedown",yt),Te.ownerDocument.addEventListener("mouseup",gt),Te.ownerDocument.addEventListener("mousemove",Dt),Te.ownerDocument.addEventListener("dragend",gt),function(){Te.removeEventListener("mousedown",yt),Te.ownerDocument.removeEventListener("mouseup",gt),Te.ownerDocument.removeEventListener("mousemove",Dt),Te.ownerDocument.removeEventListener("dragend",gt),ct()}}},[De])}var Ye=10;function Se(De,he,ce,Te,je,ge,Pe,ct){var $t=Fe.useRef(),gt=Fe.useState(null),yt=(0,be.Z)(gt,2),Dt=yt[0],Pt=yt[1];return(0,Ge.Z)(function(){if(Dt&&Dt.times<Ye){if(!De.current){Pt(function(ar){return(0,le.Z)({},ar)});return}ge();var Wt=Dt.targetAlign,pn=Dt.originAlign,fn=Dt.index,Mt=Dt.offset,Ln=De.current.clientHeight,kn=!1,wn=Wt,ln=null;if(Ln){for(var In=Wt||pn,xn=0,kt=0,Yt=0,Ft=Math.min(he.length-1,fn),vn=0;vn<=Ft;vn+=1){var Ct=je(he[vn]);kt=xn;var pt=ce.get(Ct);Yt=kt+(pt===void 0?Te:pt),xn=Yt}for(var de=In==="top"?Mt:Ln-Mt,qt=Ft;qt>=0;qt-=1){var Dn=je(he[qt]),mn=ce.get(Dn);if(mn===void 0){kn=!0;break}if(de-=mn,de<=0)break}switch(In){case"top":ln=kt-Mt;break;case"bottom":ln=Yt-Ln+Mt;break;default:{var vr=De.current.scrollTop,yr=vr+Ln;kt<vr?wn="top":Yt>yr&&(wn="bottom")}}ln!==null&&Pe(ln),ln!==Dt.lastTop&&(kn=!0)}kn&&Pt((0,le.Z)((0,le.Z)({},Dt),{},{times:Dt.times+1,targetAlign:wn,lastTop:ln}))}},[Dt,De.current]),function(Wt){if(Wt==null){ct();return}if(ze.Z.cancel($t.current),typeof Wt=="number")Pe(Wt);else if(Wt&&(0,me.Z)(Wt)==="object"){var pn,fn=Wt.align;"index"in Wt?pn=Wt.index:pn=he.findIndex(function(kn){return je(kn)===Wt.key});var Mt=Wt.offset,Ln=Mt===void 0?0:Mt;Pt({times:0,index:pn,offset:Ln,originAlign:fn})}}}var Qt=Fe.forwardRef(function(De,he){var ce=De.prefixCls,Te=De.rtl,je=De.scrollOffset,ge=De.scrollRange,Pe=De.onStartMove,ct=De.onStopMove,$t=De.onScroll,gt=De.horizontal,yt=De.spinSize,Dt=De.containerSize,Pt=De.style,Wt=De.thumbStyle,pn=De.showScrollBar,fn=Fe.useState(!1),Mt=(0,be.Z)(fn,2),Ln=Mt[0],kn=Mt[1],wn=Fe.useState(null),ln=(0,be.Z)(wn,2),In=ln[0],xn=ln[1],kt=Fe.useState(null),Yt=(0,be.Z)(kt,2),Ft=Yt[0],vn=Yt[1],Ct=!Te,pt=Fe.useRef(),de=Fe.useRef(),qt=Fe.useState(pn),Dn=(0,be.Z)(qt,2),mn=Dn[0],vr=Dn[1],yr=Fe.useRef(),ar=function(){pn===!0||pn===!1||(clearTimeout(yr.current),vr(!0),yr.current=setTimeout(function(){vr(!1)},3e3))},Er=ge-Dt||0,wt=Dt-yt||0,Qn=Fe.useMemo(function(){if(je===0||Er===0)return 0;var Ur=je/Er;return Ur*wt},[je,Er,wt]),lr=function(aa){aa.stopPropagation(),aa.preventDefault()},cr=Fe.useRef({top:Qn,dragging:Ln,pageY:In,startTop:Ft});cr.current={top:Qn,dragging:Ln,pageY:In,startTop:Ft};var Yn=function(aa){kn(!0),xn(Tn(aa,gt)),vn(cr.current.top),Pe(),aa.stopPropagation(),aa.preventDefault()};Fe.useEffect(function(){var Ur=function(ea){ea.preventDefault()},aa=pt.current,Hr=de.current;return aa.addEventListener("touchstart",Ur,{passive:!1}),Hr.addEventListener("touchstart",Yn,{passive:!1}),function(){aa.removeEventListener("touchstart",Ur),Hr.removeEventListener("touchstart",Yn)}},[]);var Sr=Fe.useRef();Sr.current=Er;var br=Fe.useRef();br.current=wt,Fe.useEffect(function(){if(Ln){var Ur,aa=function(ea){var jn=cr.current,sr=jn.dragging,Kr=jn.pageY,zr=jn.startTop;ze.Z.cancel(Ur);var ve=pt.current.getBoundingClientRect(),Ie=Dt/(gt?ve.width:ve.height);if(sr){var ut=(Tn(ea,gt)-Kr)*Ie,Le=zr;!Ct&>?Le-=ut:Le+=ut;var He=Sr.current,Vt=br.current,et=Vt?Le/Vt:0,en=Math.ceil(et*He);en=Math.max(en,0),en=Math.min(en,He),Ur=(0,ze.Z)(function(){$t(en,gt)})}},Hr=function(){kn(!1),ct()};return window.addEventListener("mousemove",aa,{passive:!0}),window.addEventListener("touchmove",aa,{passive:!0}),window.addEventListener("mouseup",Hr,{passive:!0}),window.addEventListener("touchend",Hr,{passive:!0}),function(){window.removeEventListener("mousemove",aa),window.removeEventListener("touchmove",aa),window.removeEventListener("mouseup",Hr),window.removeEventListener("touchend",Hr),ze.Z.cancel(Ur)}}},[Ln]),Fe.useEffect(function(){return ar(),function(){clearTimeout(yr.current)}},[je]),Fe.useImperativeHandle(he,function(){return{delayHidden:ar}});var Nr="".concat(ce,"-scrollbar"),Jr={position:"absolute",visibility:mn?null:"hidden"},$r={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return gt?(Object.assign(Jr,{height:8,left:0,right:0,bottom:0}),Object.assign($r,(0,pe.Z)({height:"100%",width:yt},Ct?"left":"right",Qn))):(Object.assign(Jr,(0,pe.Z)({width:8,top:0,bottom:0},Ct?"right":"left",0)),Object.assign($r,{width:"100%",height:yt,top:Qn})),Fe.createElement("div",{ref:pt,className:Oe()(Nr,(0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(Nr,"-horizontal"),gt),"".concat(Nr,"-vertical"),!gt),"".concat(Nr,"-visible"),mn)),style:(0,le.Z)((0,le.Z)({},Jr),Pt),onMouseDown:lr,onMouseMove:ar},Fe.createElement("div",{ref:de,className:Oe()("".concat(Nr,"-thumb"),(0,pe.Z)({},"".concat(Nr,"-thumb-moving"),Ln)),style:(0,le.Z)((0,le.Z)({},$r),Wt),onMouseDown:Yn}))}),on=Qt,st=20;function Ut(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ce=De/he*De;return isNaN(ce)&&(ce=0),ce=Math.max(ce,st),Math.floor(ce)}var Gt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],On=[],ft={overflowY:"auto",overflowAnchor:"none"};function En(De,he){var ce=De.prefixCls,Te=ce===void 0?"rc-virtual-list":ce,je=De.className,ge=De.height,Pe=De.itemHeight,ct=De.fullHeight,$t=ct===void 0?!0:ct,gt=De.style,yt=De.data,Dt=De.children,Pt=De.itemKey,Wt=De.virtual,pn=De.direction,fn=De.scrollWidth,Mt=De.component,Ln=Mt===void 0?"div":Mt,kn=De.onScroll,wn=De.onVirtualScroll,ln=De.onVisibleChange,In=De.innerProps,xn=De.extraRender,kt=De.styles,Yt=De.showScrollBar,Ft=Yt===void 0?"optional":Yt,vn=(0,fe.Z)(De,Gt),Ct=Fe.useCallback(function(qn){return typeof Pt=="function"?Pt(qn):qn==null?void 0:qn[Pt]},[Pt]),pt=qe(Ct,null,null),de=(0,be.Z)(pt,4),qt=de[0],Dn=de[1],mn=de[2],vr=de[3],yr=!!(Wt!==!1&&ge&&Pe),ar=Fe.useMemo(function(){return Object.values(mn.maps).reduce(function(qn,hr){return qn+hr},0)},[mn.id,mn.maps]),Er=yr&&yt&&(Math.max(Pe*yt.length,ar)>ge||!!fn),wt=pn==="rtl",Qn=Oe()(Te,(0,pe.Z)({},"".concat(Te,"-rtl"),wt),je),lr=yt||On,cr=(0,Fe.useRef)(),Yn=(0,Fe.useRef)(),Sr=(0,Fe.useRef)(),br=(0,Fe.useState)(0),Nr=(0,be.Z)(br,2),Jr=Nr[0],$r=Nr[1],Ur=(0,Fe.useState)(0),aa=(0,be.Z)(Ur,2),Hr=aa[0],pa=aa[1],ea=(0,Fe.useState)(!1),jn=(0,be.Z)(ea,2),sr=jn[0],Kr=jn[1],zr=function(){Kr(!0)},ve=function(){Kr(!1)},Ie={getKey:Ct};function ut(qn){$r(function(hr){var or;typeof qn=="function"?or=qn(hr):or=qn;var er=wr(or);return cr.current.scrollTop=er,er})}var Le=(0,Fe.useRef)({start:0,end:lr.length}),He=(0,Fe.useRef)(),Vt=Qe(lr,Ct),et=(0,be.Z)(Vt,1),en=et[0];He.current=en;var cn=Fe.useMemo(function(){if(!yr)return{scrollHeight:void 0,start:0,end:lr.length-1,offset:void 0};if(!Er){var qn;return{scrollHeight:((qn=Yn.current)===null||qn===void 0?void 0:qn.offsetHeight)||0,start:0,end:lr.length-1,offset:void 0}}for(var hr=0,or,er,Dr,Ar=lr.length,ur=0;ur<Ar;ur+=1){var nr=lr[ur],xr=Ct(nr),Or=mn.get(xr),ba=hr+(Or===void 0?Pe:Or);ba>=Jr&&or===void 0&&(or=ur,er=hr),ba>Jr+ge&&Dr===void 0&&(Dr=ur),hr=ba}return or===void 0&&(or=0,er=0,Dr=Math.ceil(ge/Pe)),Dr===void 0&&(Dr=lr.length-1),Dr=Math.min(Dr+1,lr.length-1),{scrollHeight:hr,start:or,end:Dr,offset:er}},[Er,yr,Jr,lr,vr,ge]),Xt=cn.scrollHeight,an=cn.start,Kt=cn.end,nn=cn.offset;Le.current.start=an,Le.current.end=Kt,Fe.useLayoutEffect(function(){var qn=mn.getRecord();if(qn.size===1){var hr=Array.from(qn.keys())[0],or=qn.get(hr),er=lr[an];if(er&&or===void 0){var Dr=Ct(er);if(Dr===hr){var Ar=mn.get(hr),ur=Ar-Pe;ut(function(nr){return nr+ur})}}}mn.resetRecord()},[Xt]);var rt=Fe.useState({width:0,height:ge}),Jn=(0,be.Z)(rt,2),Bt=Jn[0],rr=Jn[1],Pr=function(hr){rr({width:hr.offsetWidth,height:hr.offsetHeight})},Sn=(0,Fe.useRef)(),rn=(0,Fe.useRef)(),Cn=Fe.useMemo(function(){return Ut(Bt.width,fn)},[Bt.width,fn]),Pn=Fe.useMemo(function(){return Ut(Bt.height,Xt)},[Bt.height,Xt]),zn=Xt-ge,tr=(0,Fe.useRef)(zn);tr.current=zn;function wr(qn){var hr=qn;return Number.isNaN(tr.current)||(hr=Math.min(hr,tr.current)),hr=Math.max(hr,0),hr}var pr=Jr<=0,Zn=Jr>=zn,Kn=Hr<=0,gr=Hr>=fn,dr=nt(pr,Zn,Kn,gr),Yr=function(){return{x:wt?-Hr:Hr,y:Jr}},Wr=(0,Fe.useRef)(Yr()),Zr=(0,xe.zX)(function(qn){if(wn){var hr=(0,le.Z)((0,le.Z)({},Yr()),qn);(Wr.current.x!==hr.x||Wr.current.y!==hr.y)&&(wn(hr),Wr.current=hr)}});function Qr(qn,hr){var or=qn;hr?((0,At.flushSync)(function(){pa(or)}),Zr()):ut(or)}function ca(qn){var hr=qn.currentTarget.scrollTop;hr!==Jr&&ut(hr),kn==null||kn(qn),Zr()}var Xr=function(hr){var or=hr,er=fn?fn-Bt.width:0;return or=Math.max(or,0),or=Math.min(or,er),or},la=(0,xe.zX)(function(qn,hr){hr?((0,At.flushSync)(function(){pa(function(or){var er=or+(wt?-qn:qn);return Xr(er)})}),Zr()):ut(function(or){var er=or+qn;return er})}),_r=bt(yr,pr,Zn,Kn,gr,!!fn,la),oa=(0,be.Z)(_r,2),_t=oa[0],Ea=oa[1];Rt(yr,cr,function(qn,hr,or,er){var Dr=er;return dr(qn,hr,or)?!1:!Dr||!Dr._virtualHandled?(Dr&&(Dr._virtualHandled=!0),_t({preventDefault:function(){},deltaX:qn?hr:0,deltaY:qn?0:hr}),!0):!1}),Tt(Er,cr,function(qn){ut(function(hr){return hr+qn})}),(0,Ge.Z)(function(){function qn(or){var er=pr&&or.detail<0,Dr=Zn&&or.detail>0;yr&&!er&&!Dr&&or.preventDefault()}var hr=cr.current;return hr.addEventListener("wheel",_t,{passive:!1}),hr.addEventListener("DOMMouseScroll",Ea,{passive:!0}),hr.addEventListener("MozMousePixelScroll",qn,{passive:!1}),function(){hr.removeEventListener("wheel",_t),hr.removeEventListener("DOMMouseScroll",Ea),hr.removeEventListener("MozMousePixelScroll",qn)}},[yr,pr,Zn]),(0,Ge.Z)(function(){if(fn){var qn=Xr(Hr);pa(qn),Zr({x:qn})}},[Bt.width,fn]);var ia=function(){var hr,or;(hr=Sn.current)===null||hr===void 0||hr.delayHidden(),(or=rn.current)===null||or===void 0||or.delayHidden()},ra=Se(cr,lr,mn,Pe,Ct,function(){return Dn(!0)},ut,ia);Fe.useImperativeHandle(he,function(){return{nativeElement:Sr.current,getScrollInfo:Yr,scrollTo:function(hr){function or(er){return er&&(0,me.Z)(er)==="object"&&("left"in er||"top"in er)}or(hr)?(hr.left!==void 0&&pa(Xr(hr.left)),ra(hr.top)):ra(hr)}}}),(0,Ge.Z)(function(){if(ln){var qn=lr.slice(an,Kt+1);ln(qn,lr)}},[an,Kt,lr]);var fa=it(lr,Ct,mn,Pe),ha=xn==null?void 0:xn({start:an,end:Kt,virtual:Er,offsetX:Hr,offsetY:nn,rtl:wt,getSize:fa}),Br=We(lr,an,Kt,fn,Hr,qt,Dt,Ie),Gn=null;ge&&(Gn=(0,le.Z)((0,pe.Z)({},$t?"height":"maxHeight",ge),ft),yr&&(Gn.overflowY="hidden",fn&&(Gn.overflowX="hidden"),sr&&(Gn.pointerEvents="none")));var Vr={};return wt&&(Vr.dir="rtl"),Fe.createElement("div",(0,b.Z)({ref:Sr,style:(0,le.Z)((0,le.Z)({},gt),{},{position:"relative"}),className:Qn},Vr,vn),Fe.createElement(Re.Z,{onResize:Pr},Fe.createElement(Ln,{className:"".concat(Te,"-holder"),style:Gn,ref:cr,onScroll:ca,onMouseEnter:ia},Fe.createElement(tt,{prefixCls:Te,height:Xt,offsetX:Hr,offsetY:nn,scrollWidth:fn,onInnerResize:Dn,ref:Yn,innerProps:In,rtl:wt,extra:ha},Br))),Er&&Xt>ge&&Fe.createElement(on,{ref:Sn,prefixCls:Te,scrollOffset:Jr,scrollRange:Xt,rtl:wt,onScroll:Qr,onStartMove:zr,onStopMove:ve,spinSize:Pn,containerSize:Bt.height,style:kt==null?void 0:kt.verticalScrollBar,thumbStyle:kt==null?void 0:kt.verticalScrollBarThumb,showScrollBar:Ft}),Er&&fn>Bt.width&&Fe.createElement(on,{ref:rn,prefixCls:Te,scrollOffset:Hr,scrollRange:fn,rtl:wt,onScroll:Qr,onStartMove:zr,onStopMove:ve,spinSize:Cn,containerSize:Bt.width,horizontal:!0,style:kt==null?void 0:kt.horizontalScrollBar,thumbStyle:kt==null?void 0:kt.horizontalScrollBarThumb,showScrollBar:Ft}))}var Ht=Fe.forwardRef(En);Ht.displayName="List";var gn=Ht,un=gn},66328:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ye}});var b=y(42244),me=y(77654),le=y(18642),pe=y(59301),be=y(60499);function fe(Se,Qt){var on=Object.keys(Se);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Se);Qt&&(st=st.filter(function(Ut){return Object.getOwnPropertyDescriptor(Se,Ut).enumerable})),on.push.apply(on,st)}return on}function we(Se){for(var Qt=1;Qt<arguments.length;Qt++){var on=arguments[Qt]!=null?arguments[Qt]:{};Qt%2?fe(Object(on),!0).forEach(function(st){(0,le.Z)(Se,st,on[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Se,Object.getOwnPropertyDescriptors(on)):fe(Object(on)).forEach(function(st){Object.defineProperty(Se,st,Object.getOwnPropertyDescriptor(on,st))})}return Se}function Oe(Se){var Qt=Se.length;if(Qt===0||Qt===1)return Se;if(Qt===2)return[Se[0],Se[1],"".concat(Se[0],".").concat(Se[1]),"".concat(Se[1],".").concat(Se[0])];if(Qt===3)return[Se[0],Se[1],Se[2],"".concat(Se[0],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[2]),"".concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[0])];if(Qt>=4)return[Se[0],Se[1],Se[2],Se[3],"".concat(Se[0],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[3]),"".concat(Se[3],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[1],".").concat(Se[0])]}var Re={};function xe(Se){if(Se.length===0||Se.length===1)return Se;var Qt=Se.join(".");return Re[Qt]||(Re[Qt]=Oe(Se)),Re[Qt]}function Ge(Se){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=arguments.length>2?arguments[2]:void 0,st=Se.filter(function(Gt){return Gt!=="token"}),Ut=xe(st);return Ut.reduce(function(Gt,On){return we(we({},Gt),on[On])},Qt)}function Fe(Se){return Se.join(" ")}function At(Se,Qt){var on=0;return function(st){return on+=1,st.map(function(Ut,Gt){return at({node:Ut,stylesheet:Se,useInlineStyles:Qt,key:"code-segment-".concat(on,"-").concat(Gt)})})}}function at(Se){var Qt=Se.node,on=Se.stylesheet,st=Se.style,Ut=st===void 0?{}:st,Gt=Se.useInlineStyles,On=Se.key,ft=Qt.properties,En=Qt.type,Ht=Qt.tagName,gn=Qt.value;if(En==="text")return gn;if(Ht){var un=At(on,Gt),De;if(!Gt)De=we(we({},ft),{},{className:Fe(ft.className)});else{var he=Object.keys(on).reduce(function(ge,Pe){return Pe.split(".").forEach(function(ct){ge.includes(ct)||ge.push(ct)}),ge},[]),ce=ft.className&&ft.className.includes("token")?["token"]:[],Te=ft.className&&ce.concat(ft.className.filter(function(ge){return!he.includes(ge)}));De=we(we({},ft),{},{className:Fe(Te)||void 0,style:Ge(ft.className,Object.assign({},ft.style,Ut),on)})}var je=un(Qt.children);return pe.createElement(Ht,(0,be.Z)({key:On},De),je)}}var tt=function(Se,Qt){var on=Se.listLanguages();return on.indexOf(Qt)!==-1},Je=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function We(Se,Qt){var on=Object.keys(Se);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Se);Qt&&(st=st.filter(function(Ut){return Object.getOwnPropertyDescriptor(Se,Ut).enumerable})),on.push.apply(on,st)}return on}function Ve(Se){for(var Qt=1;Qt<arguments.length;Qt++){var on=arguments[Qt]!=null?arguments[Qt]:{};Qt%2?We(Object(on),!0).forEach(function(st){(0,le.Z)(Se,st,on[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Se,Object.getOwnPropertyDescriptors(on)):We(Object(on)).forEach(function(st){Object.defineProperty(Se,st,Object.getOwnPropertyDescriptor(on,st))})}return Se}var Ze=/\n/g;function Qe(Se){return Se.match(Ze)}function ze(Se){var Qt=Se.lines,on=Se.startingLineNumber,st=Se.style;return Qt.map(function(Ut,Gt){var On=Gt+on;return pe.createElement("span",{key:"line-".concat(Gt),className:"react-syntax-highlighter-line-number",style:typeof st=="function"?st(On):st},"".concat(On,`
|
|
|
`))})}function _e(Se){var Qt=Se.codeString,on=Se.codeStyle,st=Se.containerStyle,Ut=st===void 0?{float:"left",paddingRight:"10px"}:st,Gt=Se.numberStyle,On=Gt===void 0?{}:Gt,ft=Se.startingLineNumber;return pe.createElement("code",{style:Object.assign({},on,Ut)},ze({lines:Qt.replace(/\n$/,"").split(`
|
|
|
`),style:On,startingLineNumber:ft}))}function $e(Se){return"".concat(Se.toString().length,".25em")}function nt(Se,Qt){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(Se),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:Qt},children:[{type:"text",value:Se}]}}function bt(Se,Qt,on){var st={display:"inline-block",minWidth:$e(on),paddingRight:"1em",textAlign:"right",userSelect:"none"},Ut=typeof Se=="function"?Se(Qt):Se,Gt=Ve(Ve({},st),Ut);return Gt}function it(Se){var Qt=Se.children,on=Se.lineNumber,st=Se.lineNumberStyle,Ut=Se.largestLineNumber,Gt=Se.showInlineLineNumbers,On=Se.lineProps,ft=On===void 0?{}:On,En=Se.className,Ht=En===void 0?[]:En,gn=Se.showLineNumbers,un=Se.wrapLongLines,De=Se.wrapLines,he=De===void 0?!1:De,ce=he?Ve({},typeof ft=="function"?ft(on):ft):{};if(ce.className=ce.className?[].concat((0,me.Z)(ce.className.trim().split(/\s+/)),(0,me.Z)(Ht)):Ht,on&&Gt){var Te=bt(st,on,Ut);Qt.unshift(nt(on,Te))}return un&gn&&(ce.style=Ve({display:"flex"},ce.style)),{type:"element",tagName:"span",properties:ce,children:Qt}}function Nt(Se){for(var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],st=0;st<Se.length;st++){var Ut=Se[st];if(Ut.type==="text")on.push(it({children:[Ut],className:(0,me.Z)(new Set(Qt))}));else if(Ut.children){var Gt=Qt.concat(Ut.properties.className);Nt(Ut.children,Gt).forEach(function(On){return on.push(On)})}}return on}function vt(Se,Qt,on,st,Ut,Gt,On,ft,En){var Ht,gn=Nt(Se.value),un=[],De=-1,he=0;function ce(gt,yt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return it({children:gt,lineNumber:yt,lineNumberStyle:ft,largestLineNumber:On,showInlineLineNumbers:Ut,lineProps:on,className:Dt,showLineNumbers:st,wrapLongLines:En,wrapLines:Qt})}function Te(gt,yt){if(st&&yt&&Ut){var Dt=bt(ft,yt,On);gt.unshift(nt(yt,Dt))}return gt}function je(gt,yt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Qt||Dt.length>0?ce(gt,yt,Dt):Te(gt,yt)}for(var ge=function(){var yt=gn[he],Dt=yt.children[0].value,Pt=Qe(Dt);if(Pt){var Wt=Dt.split(`
|
|
|
`);Wt.forEach(function(pn,fn){var Mt=st&&un.length+Gt,Ln={type:"text",value:"".concat(pn,`
|
|
|
`)};if(fn===0){var kn=gn.slice(De+1,he).concat(it({children:[Ln],className:yt.properties.className})),wn=je(kn,Mt);un.push(wn)}else if(fn===Wt.length-1){var ln=gn[he+1]&&gn[he+1].children&&gn[he+1].children[0],In={type:"text",value:"".concat(pn)};if(ln){var xn=it({children:[In],className:yt.properties.className});gn.splice(he+1,0,xn)}else{var kt=[In],Yt=je(kt,Mt,yt.properties.className);un.push(Yt)}}else{var Ft=[Ln],vn=je(Ft,Mt,yt.properties.className);un.push(vn)}}),De=he}he++};he<gn.length;)ge();if(De!==gn.length-1){var Pe=gn.slice(De+1,gn.length);if(Pe&&Pe.length){var ct=st&&un.length+Gt,$t=je(Pe,ct);un.push($t)}}return Qt?un:(Ht=[]).concat.apply(Ht,un)}function dt(Se){var Qt=Se.rows,on=Se.stylesheet,st=Se.useInlineStyles;return Qt.map(function(Ut,Gt){return at({node:Ut,stylesheet:on,useInlineStyles:st,key:"code-segment-".concat(Gt)})})}function It(Se){return Se&&typeof Se.highlightAuto!="undefined"}function St(Se){var Qt=Se.astGenerator,on=Se.language,st=Se.code,Ut=Se.defaultCodeValue;if(It(Qt)){var Gt=tt(Qt,on);return on==="text"?{value:Ut,language:"text"}:Gt?Qt.highlight(on,st):Qt.highlightAuto(st)}try{return on&&on!=="text"?{value:Qt.highlight(st,on)}:{value:Ut}}catch(On){return{value:Ut}}}function qe(Se,Qt){return function(st){var Ut,Gt,On=st.language,ft=st.children,En=st.style,Ht=En===void 0?Qt:En,gn=st.customStyle,un=gn===void 0?{}:gn,De=st.codeTagProps,he=De===void 0?{className:On?"language-".concat(On):void 0,style:Ve(Ve({},Ht['code[class*="language-"]']),Ht['code[class*="language-'.concat(On,'"]')])}:De,ce=st.useInlineStyles,Te=ce===void 0?!0:ce,je=st.showLineNumbers,ge=je===void 0?!1:je,Pe=st.showInlineLineNumbers,ct=Pe===void 0?!0:Pe,$t=st.startingLineNumber,gt=$t===void 0?1:$t,yt=st.lineNumberContainerStyle,Dt=st.lineNumberStyle,Pt=Dt===void 0?{}:Dt,Wt=st.wrapLines,pn=st.wrapLongLines,fn=pn===void 0?!1:pn,Mt=st.lineProps,Ln=Mt===void 0?{}:Mt,kn=st.renderer,wn=st.PreTag,ln=wn===void 0?"pre":wn,In=st.CodeTag,xn=In===void 0?"code":In,kt=st.code,Yt=kt===void 0?(Array.isArray(ft)?ft[0]:ft)||"":kt,Ft=st.astGenerator,vn=(0,b.Z)(st,Je);Ft=Ft||Se;var Ct=ge?pe.createElement(_e,{containerStyle:yt,codeStyle:he.style||{},numberStyle:Pt,startingLineNumber:gt,codeString:Yt}):null,pt=Ht.hljs||Ht['pre[class*="language-"]']||{backgroundColor:"#fff"},de=It(Ft)?"hljs":"prismjs",qt=Te?Object.assign({},vn,{style:Object.assign({},pt,un)}):Object.assign({},vn,{className:vn.className?"".concat(de," ").concat(vn.className):de,style:Object.assign({},un)});if(fn?he.style=Ve({whiteSpace:"pre-wrap"},he.style):he.style=Ve({whiteSpace:"pre"},he.style),!Ft)return pe.createElement(ln,qt,Ct,pe.createElement(xn,he,Yt));(Wt===void 0&&kn||fn)&&(Wt=!0),kn=kn||dt;var Dn=[{type:"text",value:Yt}],mn=St({astGenerator:Ft,language:On,code:Yt,defaultCodeValue:Dn});mn.language===null&&(mn.value=Dn);var vr=(Ut=(Gt=Yt.match(/\n/g))===null||Gt===void 0?void 0:Gt.length)!==null&&Ut!==void 0?Ut:0,yr=gt+vr,ar=vt(mn,Wt,Ln,ge,ct,gt,yr,Pt,fn);return pe.createElement(ln,qt,pe.createElement(xn,he,!ct&&Ct,kn({rows:ar,stylesheet:Ht,useInlineStyles:Te})))}}var Jt={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Rt=y(11594),Zt=y.n(Rt),Tn=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Tt=qe(Zt(),Jt);Tt.supportedLanguages=Tn;var Ye=Tt},18369:function(Ce,ae){"use strict";ae.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(Ce,ae,y){"use strict";y(84126);var b=y(59301),me=60103;if(ae.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var le=Symbol.for;me=le("react.element"),ae.Fragment=le("react.fragment")}var pe=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,be=Object.prototype.hasOwnProperty,fe={key:!0,ref:!0,__self:!0,__source:!0};function we(Oe,Re,xe){var Ge,Fe={},At=null,at=null;xe!==void 0&&(At=""+xe),Re.key!==void 0&&(At=""+Re.key),Re.ref!==void 0&&(at=Re.ref);for(Ge in Re)be.call(Re,Ge)&&!fe.hasOwnProperty(Ge)&&(Fe[Ge]=Re[Ge]);if(Oe&&Oe.defaultProps)for(Ge in Re=Oe.defaultProps,Re)Fe[Ge]===void 0&&(Fe[Ge]=Re[Ge]);return{$$typeof:me,type:Oe,key:At,ref:at,props:Fe,_owner:pe.current}}ae.jsx=we,ae.jsxs=we},37712:function(Ce,ae,y){"use strict";Ce.exports=y(19524)},95489:function(Ce,ae,y){"use strict";var b=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof y.g=="object"?y.g:{},me=_e();b.Prism={manual:!0,disableWorkerMessageHandler:!0};var le=y(43621),pe=y(12256),be=y(68398),fe=y(70614),we=y(54212),Oe=y(9720),Re=y(88786);me();var xe={}.hasOwnProperty;function Ge(){}Ge.prototype=be;var Fe=new Ge;Ce.exports=Fe,Fe.highlight=tt,Fe.register=At,Fe.alias=at,Fe.registered=Je,Fe.listLanguages=We,At(fe),At(we),At(Oe),At(Re),Fe.util.encode=Qe,Fe.Token.stringify=Ve;function At($e){if(typeof $e!="function"||!$e.displayName)throw new Error("Expected `function` for `grammar`, got `"+$e+"`");Fe.languages[$e.displayName]===void 0&&$e(Fe)}function at($e,nt){var bt=Fe.languages,it=$e,Nt,vt,dt,It;nt&&(it={},it[$e]=nt);for(Nt in it)for(vt=it[Nt],vt=typeof vt=="string"?[vt]:vt,dt=vt.length,It=-1;++It<dt;)bt[vt[It]]=bt[Nt]}function tt($e,nt){var bt=be.highlight,it;if(typeof $e!="string")throw new Error("Expected `string` for `value`, got `"+$e+"`");if(Fe.util.type(nt)==="Object")it=nt,nt=null;else{if(typeof nt!="string")throw new Error("Expected `string` for `name`, got `"+nt+"`");if(xe.call(Fe.languages,nt))it=Fe.languages[nt];else throw new Error("Unknown language: `"+nt+"` is not registered")}return bt.call(this,$e,it,nt)}function Je($e){if(typeof $e!="string")throw new Error("Expected `string` for `language`, got `"+$e+"`");return xe.call(Fe.languages,$e)}function We(){var $e=Fe.languages,nt=[],bt;for(bt in $e)xe.call($e,bt)&&typeof $e[bt]=="object"&&nt.push(bt);return nt}function Ve($e,nt,bt){var it;return typeof $e=="string"?{type:"text",value:$e}:Fe.util.type($e)==="Array"?Ze($e,nt):(it={type:$e.type,content:Fe.Token.stringify($e.content,nt,bt),tag:"span",classes:["token",$e.type],attributes:{},language:nt,parent:bt},$e.alias&&(it.classes=it.classes.concat($e.alias)),Fe.hooks.run("wrap",it),le(it.tag+"."+it.classes.join("."),ze(it.attributes),it.content))}function Ze($e,nt){for(var bt=[],it=$e.length,Nt=-1,vt;++Nt<it;)vt=$e[Nt],vt!==""&&vt!==null&&vt!==void 0&&bt.push(vt);for(Nt=-1,it=bt.length;++Nt<it;)vt=bt[Nt],bt[Nt]=Fe.Token.stringify(vt,nt,bt);return bt}function Qe($e){return $e}function ze($e){var nt;for(nt in $e)$e[nt]=pe($e[nt]);return $e}function _e(){var $e="Prism"in b,nt=$e?b.Prism:void 0;return bt;function bt(){$e?b.Prism=nt:delete b.Prism,$e=void 0,nt=void 0}}},11594:function(Ce,ae,y){"use strict";var b=y(95489);Ce.exports=b,b.register(y(79007)),b.register(y(15465)),b.register(y(42746)),b.register(y(93281)),b.register(y(95143)),b.register(y(65924)),b.register(y(65043)),b.register(y(43556)),b.register(y(14901)),b.register(y(4248)),b.register(y(17758)),b.register(y(33335)),b.register(y(17427)),b.register(y(22956)),b.register(y(56007)),b.register(y(45652)),b.register(y(33819)),b.register(y(84230)),b.register(y(20803)),b.register(y(65235)),b.register(y(52406)),b.register(y(79571)),b.register(y(3058)),b.register(y(51422)),b.register(y(1618)),b.register(y(2505)),b.register(y(51274)),b.register(y(23796)),b.register(y(13979)),b.register(y(87994)),b.register(y(47035)),b.register(y(36142)),b.register(y(85290)),b.register(y(7407)),b.register(y(79440)),b.register(y(7110)),b.register(y(73435)),b.register(y(91372)),b.register(y(63663)),b.register(y(92987)),b.register(y(91657)),b.register(y(34367)),b.register(y(35348)),b.register(y(26841)),b.register(y(87071)),b.register(y(13652)),b.register(y(87648)),b.register(y(10617)),b.register(y(5348)),b.register(y(71053)),b.register(y(69820)),b.register(y(41929)),b.register(y(51837)),b.register(y(4182)),b.register(y(22117)),b.register(y(95627)),b.register(y(34265)),b.register(y(50618)),b.register(y(32126)),b.register(y(26737)),b.register(y(90134)),b.register(y(51348)),b.register(y(60841)),b.register(y(42857)),b.register(y(81269)),b.register(y(31134)),b.register(y(83125)),b.register(y(9438)),b.register(y(27771)),b.register(y(86549)),b.register(y(37079)),b.register(y(59250)),b.register(y(81226)),b.register(y(65245)),b.register(y(25040)),b.register(y(40284)),b.register(y(39187)),b.register(y(34302)),b.register(y(90515)),b.register(y(33534)),b.register(y(9885)),b.register(y(76364)),b.register(y(56452)),b.register(y(8477)),b.register(y(58230)),b.register(y(66192)),b.register(y(81084)),b.register(y(50318)),b.register(y(95769)),b.register(y(14155)),b.register(y(92823)),b.register(y(63092)),b.register(y(21550)),b.register(y(29710)),b.register(y(2050)),b.register(y(67967)),b.register(y(29138)),b.register(y(67915)),b.register(y(54853)),b.register(y(68330)),b.register(y(76823)),b.register(y(86712)),b.register(y(72252)),b.register(y(78634)),b.register(y(43583)),b.register(y(23328)),b.register(y(74494)),b.register(y(46745)),b.register(y(22152)),b.register(y(83698)),b.register(y(26619)),b.register(y(53990)),b.register(y(7093)),b.register(y(4005)),b.register(y(53510)),b.register(y(24799)),b.register(y(97443)),b.register(y(80746)),b.register(y(17015)),b.register(y(89246)),b.register(y(487)),b.register(y(79539)),b.register(y(15628)),b.register(y(14320)),b.register(y(73222)),b.register(y(92486)),b.register(y(24103)),b.register(y(40604)),b.register(y(23109)),b.register(y(32082)),b.register(y(77674)),b.register(y(37524)),b.register(y(6658)),b.register(y(24824)),b.register(y(22776)),b.register(y(89700)),b.register(y(99296)),b.register(y(39940)),b.register(y(34973)),b.register(y(98135)),b.register(y(36907)),b.register(y(3567)),b.register(y(23763)),b.register(y(33978)),b.register(y(40472)),b.register(y(44695)),b.register(y(98096)),b.register(y(51478)),b.register(y(16928)),b.register(y(13586)),b.register(y(37164)),b.register(y(25153)),b.register(y(33245)),b.register(y(32218)),b.register(y(65626)),b.register(y(60090)),b.register(y(40722)),b.register(y(37783)),b.register(y(41224)),b.register(y(71365)),b.register(y(42846)),b.register(y(32964)),b.register(y(78830)),b.register(y(88799)),b.register(y(66791)),b.register(y(41735)),b.register(y(13490)),b.register(y(7383)),b.register(y(66894)),b.register(y(45779)),b.register(y(27734)),b.register(y(91889)),b.register(y(55965)),b.register(y(37326)),b.register(y(92949)),b.register(y(5681)),b.register(y(70696)),b.register(y(35790)),b.register(y(25777)),b.register(y(65889)),b.register(y(53852)),b.register(y(97719)),b.register(y(63839)),b.register(y(67623)),b.register(y(32530)),b.register(y(8938)),b.register(y(55259)),b.register(y(67411)),b.register(y(15375)),b.register(y(12093)),b.register(y(83588)),b.register(y(94127)),b.register(y(21294)),b.register(y(38709)),b.register(y(15008)),b.register(y(96549)),b.register(y(5221)),b.register(y(27447)),b.register(y(73191)),b.register(y(75542)),b.register(y(50323)),b.register(y(44298)),b.register(y(9634)),b.register(y(75266)),b.register(y(48139)),b.register(y(97534)),b.register(y(90826)),b.register(y(63919)),b.register(y(68862)),b.register(y(39523)),b.register(y(31207)),b.register(y(75308)),b.register(y(45315)),b.register(y(13794)),b.register(y(41299)),b.register(y(98177)),b.register(y(48780)),b.register(y(79793)),b.register(y(52085)),b.register(y(65411)),b.register(y(84750)),b.register(y(88216)),b.register(y(66433)),b.register(y(34855)),b.register(y(12998)),b.register(y(10202)),b.register(y(41186)),b.register(y(68963)),b.register(y(5569)),b.register(y(69435)),b.register(y(42766)),b.register(y(46449)),b.register(y(89032)),b.register(y(40241)),b.register(y(24812)),b.register(y(16747)),b.register(y(73584)),b.register(y(79243)),b.register(y(31788)),b.register(y(60871)),b.register(y(21023)),b.register(y(14693)),b.register(y(8743)),b.register(y(1689)),b.register(y(69210)),b.register(y(58710)),b.register(y(60452)),b.register(y(92784)),b.register(y(36489)),b.register(y(78380)),b.register(y(10409)),b.register(y(6539)),b.register(y(82028)),b.register(y(62282)),b.register(y(55686)),b.register(y(70889)),b.register(y(37116)),b.register(y(66963)),b.register(y(21078)),b.register(y(96198)),b.register(y(17723)),b.register(y(67771)),b.register(y(30307)),b.register(y(8921)),b.register(y(13429)),b.register(y(65197)),b.register(y(88904)),b.register(y(35)),b.register(y(86095)),b.register(y(76998)),b.register(y(14409)),b.register(y(33460)),b.register(y(28108))},79007:function(Ce){"use strict";Ce.exports=ae,ae.displayName="abap",ae.aliases=[];function ae(y){y.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(Ce){"use strict";Ce.exports=ae,ae.displayName="abnf",ae.aliases=[];function ae(y){(function(b){var me="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";b.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+me+"|<"+me+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(y)}},42746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="actionscript",ae.aliases=[];function ae(y){y.languages.actionscript=y.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),y.languages.actionscript["class-name"].alias="function",delete y.languages.actionscript.parameter,delete y.languages.actionscript["literal-property"],y.languages.markup&&y.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:y.languages.markup}})}},93281:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ada",ae.aliases=[];function ae(y){y.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(Ce){"use strict";Ce.exports=ae,ae.displayName="agda",ae.aliases=[];function ae(y){(function(b){b.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(y)}},65924:function(Ce){"use strict";Ce.exports=ae,ae.displayName="al",ae.aliases=[];function ae(y){y.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(Ce){"use strict";Ce.exports=ae,ae.displayName="antlr4",ae.aliases=["g4"];function ae(y){y.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},y.languages.g4=y.languages.antlr4}},43556:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apacheconf",ae.aliases=[];function ae(y){y.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=me,me.displayName="apex",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,fe=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return be.source});function we(Re){return RegExp(Re.replace(/<CLASS-NAME>/g,function(){return fe}),"i")}var Oe={keyword:be,punctuation:/[()\[\]{};,:.<>]/};pe.languages.apex={comment:pe.languages.clike.comment,string:pe.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:pe.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:we(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:Oe},{pattern:we(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:Oe},{pattern:we(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:Oe}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:be,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(le)}},4248:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apl",ae.aliases=[];function ae(y){y.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(Ce){"use strict";Ce.exports=ae,ae.displayName="applescript",ae.aliases=[];function ae(y){y.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(Ce){"use strict";Ce.exports=ae,ae.displayName="aql",ae.aliases=[];function ae(y){y.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=me,me.displayName="arduino",me.aliases=["ino"];function me(le){le.register(b),le.languages.arduino=le.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),le.languages.ino=le.languages.arduino}},22956:function(Ce){"use strict";Ce.exports=ae,ae.displayName="arff",ae.aliases=[];function ae(y){y.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(Ce){"use strict";Ce.exports=ae,ae.displayName="asciidoc",ae.aliases=["adoc"];function ae(y){(function(b){var me={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},le=b.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:me,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:me.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:me,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function pe(be){be=be.split(" ");for(var fe={},we=0,Oe=be.length;we<Oe;we++)fe[be[we]]=le[be[we]];return fe}me.inside.interpreted.inside.rest=pe("macro inline replacement entity"),le["passthrough-block"].inside.rest=pe("macro"),le["literal-block"].inside.rest=pe("callout"),le.table.inside.rest=pe("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),le["other-block"].inside.rest=pe("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),le.title.inside.rest=pe("macro inline replacement entity"),b.hooks.add("wrap",function(be){be.type==="entity"&&(be.attributes.title=be.content.value.replace(/&/,"&"))}),b.languages.adoc=b.languages.asciidoc})(y)}},45652:function(Ce){"use strict";Ce.exports=ae,ae.displayName="asm6502",ae.aliases=[];function ae(y){y.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}},33819:function(Ce){"use strict";Ce.exports=ae,ae.displayName="asmatmel",ae.aliases=[];function ae(y){y.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=me,me.displayName="aspnet",me.aliases=[];function me(le){le.register(b),le.languages.aspnet=le.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:le.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:le.languages.csharp}}}),le.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,le.languages.insertBefore("inside","punctuation",{directive:le.languages.aspnet.directive},le.languages.aspnet.tag.inside["attr-value"]),le.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),le.languages.insertBefore("aspnet",le.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:le.languages.csharp||{}}})}},20803:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autohotkey",ae.aliases=[];function ae(y){y.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autoit",ae.aliases=[];function ae(y){y.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avisynth",ae.aliases=["avs"];function ae(y){(function(b){function me(Re,xe){return Re.replace(/<<(\d+)>>/g,function(Ge,Fe){return xe[+Fe]})}function le(Re,xe,Ge){return RegExp(me(Re,xe),Ge||"")}var pe=/bool|clip|float|int|string|val/.source,be=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),fe=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),we=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),Oe=[be,fe,we].join("|");b.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:le(/\b(?:<<0>>)\s+("?)\w+\1/.source,[pe],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:le(/\b(?:<<0>>)\b/.source,[Oe],"i"),alias:"function"},"type-cast":{pattern:le(/\b(?:<<0>>)(?=\s*\()/.source,[pe],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},b.languages.avs=b.languages.avisynth})(y)}},79571:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avroIdl",ae.aliases=[];function ae(y){y.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},y.languages.avdl=y.languages["avro-idl"]}},3058:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bash",ae.aliases=["shell"];function ae(y){(function(b){var me="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",le={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},pe={bash:le,environment:{pattern:RegExp("\\$"+me),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+me),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};b.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+me),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:le}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:pe.entity}}],environment:{pattern:RegExp("\\$?"+me),alias:"constant"},variable:pe.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},le.inside=b.languages.bash;for(var be=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],fe=pe.variable[1].inside,we=0;we<be.length;we++)fe[be[we]]=b.languages.bash[be[we]];b.languages.shell=b.languages.bash})(y)}},51422:function(Ce){"use strict";Ce.exports=ae,ae.displayName="basic",ae.aliases=[];function ae(y){y.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="batch",ae.aliases=[];function ae(y){(function(b){var me=/%%?[~:\w]+%?|!\S+!/,le={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},pe=/"(?:[\\"]"|[^"])*"(?!")/,be=/(?:\b|-)\d+\b/;b.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:pe,parameter:le,variable:me,number:be,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:pe,parameter:le,variable:me,number:be,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:pe,parameter:le,variable:[me,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:be,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:pe,parameter:le,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:me,number:be,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(y)}},2505:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bbcode",ae.aliases=["shortcode"];function ae(y){y.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},y.languages.shortcode=y.languages.bbcode}},51274:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bicep",ae.aliases=[];function ae(y){y.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},y.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=y.languages.bicep}},23796:function(Ce){"use strict";Ce.exports=ae,ae.displayName="birb",ae.aliases=[];function ae(y){y.languages.birb=y.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),y.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="bison",me.aliases=[];function me(le){le.register(b),le.languages.bison=le.languages.extend("c",{}),le.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:le.languages.c}},comment:le.languages.c.comment,string:le.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bnf",ae.aliases=["rbnf"];function ae(y){y.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},y.languages.rbnf=y.languages.bnf}},47035:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brainfuck",ae.aliases=[];function ae(y){y.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brightscript",ae.aliases=[];function ae(y){y.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},y.languages.brightscript["directive-statement"].inside.expression.inside=y.languages.brightscript}},85290:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bro",ae.aliases=[];function ae(y){y.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bsl",ae.aliases=[];function ae(y){y.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},y.languages.oscript=y.languages.bsl}},79440:function(Ce){"use strict";Ce.exports=ae,ae.displayName="c",ae.aliases=[];function ae(y){y.languages.c=y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},y.languages.c.string],char:y.languages.c.char,comment:y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:y.languages.c}}}}),y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete y.languages.c.boolean}},7110:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cfscript",ae.aliases=[];function ae(y){y.languages.cfscript=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),y.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete y.languages.cfscript["class-name"],y.languages.cfc=y.languages.cfscript}},73435:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=me,me.displayName="chaiscript",me.aliases=[];function me(le){le.register(b),le.languages.chaiscript=le.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[le.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),le.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),le.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:le.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cil",ae.aliases=[];function ae(y){y.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clike",ae.aliases=[];function ae(y){y.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clojure",ae.aliases=[];function ae(y){y.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cmake",ae.aliases=[];function ae(y){y.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cobol",ae.aliases=[];function ae(y){y.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coffeescript",ae.aliases=["coffee"];function ae(y){(function(b){var me=/#(?!\{).+/,le={pattern:/#\{[^}]+\}/,alias:"variable"};b.languages.coffeescript=b.languages.extend("javascript",{comment:me,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:le}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),b.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:me,interpolation:le}}}),b.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:b.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:le}}]}),b.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete b.languages.coffeescript["template-string"],b.languages.coffee=b.languages.coffeescript})(y)}},35348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="concurnas",ae.aliases=["conc"];function ae(y){y.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},y.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},string:/[\s\S]+/}}}),y.languages.conc=y.languages.concurnas}},26841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coq",ae.aliases=[];function ae(y){(function(b){for(var me=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,le=0;le<2;le++)me=me.replace(/<self>/g,function(){return me});me=me.replace(/<self>/g,"[]"),b.languages.coq={comment:RegExp(me),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return me})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(me),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(y)}},87071:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="cpp",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,fe=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return be.source});pe.languages.cpp=pe.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return be.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:be,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),pe.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return fe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),pe.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:pe.languages.cpp}}}}),pe.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),pe.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:pe.languages.extend("cpp",{})}}),pe.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},pe.languages.cpp["base-clause"])}(le)}},13652:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=me,me.displayName="crystal",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.crystal=pe.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,pe.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),pe.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:pe.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:pe.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(le)}},87648:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csharp",ae.aliases=["dotnet","cs"];function ae(y){(function(b){function me(Tn,Tt){return Tn.replace(/<<(\d+)>>/g,function(Ye,Se){return"(?:"+Tt[+Se]+")"})}function le(Tn,Tt,Ye){return RegExp(me(Tn,Tt),Ye||"")}function pe(Tn,Tt){for(var Ye=0;Ye<Tt;Ye++)Tn=Tn.replace(/<<self>>/g,function(){return"(?:"+Tn+")"});return Tn.replace(/<<self>>/g,"[^\\s\\S]")}var be={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function fe(Tn){return"\\b(?:"+Tn.trim().replace(/ /g,"|")+")\\b"}var we=fe(be.typeDeclaration),Oe=RegExp(fe(be.type+" "+be.typeDeclaration+" "+be.contextual+" "+be.other)),Re=fe(be.typeDeclaration+" "+be.contextual+" "+be.other),xe=fe(be.type+" "+be.typeDeclaration+" "+be.other),Ge=pe(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),Fe=pe(/\((?:[^()]|<<self>>)*\)/.source,2),At=/@?\b[A-Za-z_]\w*\b/.source,at=me(/<<0>>(?:\s*<<1>>)?/.source,[At,Ge]),tt=me(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Re,at]),Je=/\[\s*(?:,\s*)*\]/.source,We=me(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[tt,Je]),Ve=me(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Ge,Fe,Je]),Ze=me(/\(<<0>>+(?:,<<0>>+)+\)/.source,[Ve]),Qe=me(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[Ze,tt,Je]),ze={keyword:Oe,punctuation:/[<>()?,.:[\]]/},_e=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,$e=/"(?:\\.|[^\\"\r\n])*"/.source,nt=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;b.languages.csharp=b.languages.extend("clike",{string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[nt]),lookbehind:!0,greedy:!0},{pattern:le(/(^|[^@$\\])<<0>>/.source,[$e]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[tt]),lookbehind:!0,inside:ze},{pattern:le(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[At,Qe]),lookbehind:!0,inside:ze},{pattern:le(/(\busing\s+)<<0>>(?=\s*=)/.source,[At]),lookbehind:!0},{pattern:le(/(\b<<0>>\s+)<<1>>/.source,[we,at]),lookbehind:!0,inside:ze},{pattern:le(/(\bcatch\s*\(\s*)<<0>>/.source,[tt]),lookbehind:!0,inside:ze},{pattern:le(/(\bwhere\s+)<<0>>/.source,[At]),lookbehind:!0},{pattern:le(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[We]),lookbehind:!0,inside:ze},{pattern:le(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Qe,xe,At]),inside:ze}],keyword:Oe,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),b.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),b.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:le(/([(,]\s*)<<0>>(?=\s*:)/.source,[At]),lookbehind:!0,alias:"punctuation"}}),b.languages.insertBefore("csharp","class-name",{namespace:{pattern:le(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[At]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:le(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Fe]),lookbehind:!0,alias:"class-name",inside:ze},"return-type":{pattern:le(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Qe,tt]),inside:ze,alias:"class-name"},"constructor-invocation":{pattern:le(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Qe]),lookbehind:!0,inside:ze,alias:"class-name"},"generic-method":{pattern:le(/<<0>>\s*<<1>>(?=\s*\()/.source,[At,Ge]),inside:{function:le(/^<<0>>/.source,[At]),generic:{pattern:RegExp(Ge),alias:"class-name",inside:ze}}},"type-list":{pattern:le(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[we,at,At,Qe,Oe.source,Fe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:le(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[at,Fe]),lookbehind:!0,greedy:!0,inside:b.languages.csharp},keyword:Oe,"class-name":{pattern:RegExp(Qe),greedy:!0,inside:ze},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var bt=$e+"|"+_e,it=me(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[bt]),Nt=pe(me(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[it]),2),vt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,dt=me(/<<0>>(?:\s*\(<<1>>*\))?/.source,[tt,Nt]);b.languages.insertBefore("csharp","class-name",{attribute:{pattern:le(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[vt,dt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:le(/^<<0>>(?=\s*:)/.source,[vt]),alias:"keyword"},"attribute-arguments":{pattern:le(/\(<<0>>*\)/.source,[Nt]),inside:b.languages.csharp},"class-name":{pattern:RegExp(tt),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var It=/:[^}\r\n]+/.source,St=pe(me(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[it]),2),qe=me(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[St,It]),Jt=pe(me(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[bt]),2),Rt=me(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Jt,It]);function Zt(Tn,Tt){return{interpolation:{pattern:le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Tn]),lookbehind:!0,inside:{"format-string":{pattern:le(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Tt,It]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:b.languages.csharp}}},string:/[\s\S]+/}}b.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:le(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[qe]),lookbehind:!0,greedy:!0,inside:Zt(qe,St)},{pattern:le(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Rt]),lookbehind:!0,greedy:!0,inside:Zt(Rt,Jt)}],char:{pattern:RegExp(_e),greedy:!0}}),b.languages.dotnet=b.languages.cs=b.languages.csharp})(y)}},10617:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=me,me.displayName="cshtml",me.aliases=["razor"];function me(le){le.register(b),function(pe){var be=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,fe=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function we(We,Ve){for(var Ze=0;Ze<Ve;Ze++)We=We.replace(/<self>/g,function(){return"(?:"+We+")"});return We.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+fe+")").replace(/<comment>/g,"(?:"+be+")")}var Oe=we(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),Re=we(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),xe=we(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),Ge=we(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),Fe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,At=/(?!\d)[^\s>\/=$<%]+/.source+Fe+/\s*\/?>/.source,at=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+At+"|"+we(/<\1/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+At+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+At+")";pe.languages.cshtml=pe.languages.extend("markup",{});var tt=pe.languages.insertBefore("csharp","string",{html:{pattern:RegExp(at),greedy:!0,inside:pe.languages.cshtml}},{csharp:pe.languages.extend("csharp",{})}),Je={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:tt};pe.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[xe,/(?:code|functions)\s*/.source+xe,/(?:for|foreach|lock|switch|using|while)\s*/.source+Oe+/\s*/.source+xe,/do\s*/.source+xe+/\s*while\s*/.source+Oe+/(?:\s*;)?/.source,/try\s*/.source+xe+/\s*catch\s*/.source+Oe+/\s*/.source+xe+/\s*finally\s*/.source+xe,/if\s*/.source+Oe+/\s*/.source+xe+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+Oe+")?"+/\s*/.source+xe+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:Je}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:Je}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+Oe+")(?:"+/[?!]?\.\w+\b/.source+"|"+Oe+"|"+Re+"|"+Ge+Oe+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:Je}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),pe.languages.razor=pe.languages.cshtml}(le)}},5348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csp",ae.aliases=[];function ae(y){(function(b){function me(le){return RegExp(/([ \t])/.source+"(?:"+le+")"+/(?=[\s;]|$)/.source,"i")}b.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:me(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:me(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:me(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:me(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:me(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:me(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:me(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(y)}},71053:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cssExtras",ae.aliases=[];function ae(y){(function(b){var me=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,le;b.languages.css.selector={pattern:b.languages.css.selector.pattern,lookbehind:!0,inside:le={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+me.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[me,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},b.languages.css.atrule.inside["selector-function-argument"].inside=le,b.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var pe={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},be={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};b.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:pe,number:be,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:pe,number:be})})(y)}},54212:function(Ce){"use strict";Ce.exports=ae,ae.displayName="css",ae.aliases=[];function ae(y){(function(b){var me=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;b.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+me.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+me.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+me.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:me,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css;var le=b.languages.markup;le&&(le.tag.addInlined("style","css"),le.tag.addAttribute("style","css"))})(y)}},69820:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csv",ae.aliases=[];function ae(y){y.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cypher",ae.aliases=[];function ae(y){y.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(Ce){"use strict";Ce.exports=ae,ae.displayName="d",ae.aliases=[];function ae(y){y.languages.d=y.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),y.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),y.languages.insertBefore("d","keyword",{property:/\B@\w*/}),y.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dart",ae.aliases=[];function ae(y){(function(b){var me=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};b.languages.dart=b.languages.extend("clike",{"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:me,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),b.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.dart}}},string:/[\s\S]+/}},string:void 0}),b.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),b.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":pe,keyword:me,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(y)}},22117:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dataweave",ae.aliases=[];function ae(y){(function(b){b.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(y)}},95627:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dax",ae.aliases=[];function ae(y){y.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dhall",ae.aliases=[];function ae(y){y.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},y.languages.dhall.string.inside.interpolation.inside.expression.inside=y.languages.dhall}},50618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="diff",ae.aliases=[];function ae(y){(function(b){b.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var me={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(me).forEach(function(le){var pe=me[le],be=[];/^\w+$/.test(le)||be.push(/\w+/.exec(le)[0]),le==="diff"&&be.push("bold"),b.languages.diff[le]={pattern:RegExp("^(?:["+pe+`].*(?:\r
|
|
|
?|
|
|
|
|(?![\\s\\S])))+`,"m"),alias:be,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(le)[0]}}}}),Object.defineProperty(b.languages.diff,"PREFIXES",{value:me})})(y)}},32126:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="django",me.aliases=["jinja2"];function me(le){le.register(b),function(pe){pe.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var be=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,fe=pe.languages["markup-templating"];pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"django",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"django")}),pe.languages.jinja2=pe.languages.django,pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"jinja2",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"jinja2")})}(le)}},26737:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dnsZoneFile",ae.aliases=[];function ae(y){y.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},y.languages["dns-zone"]=y.languages["dns-zone-file"]}},90134:function(Ce){"use strict";Ce.exports=ae,ae.displayName="docker",ae.aliases=["dockerfile"];function ae(y){(function(b){var me=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,le=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return me}),pe=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,be=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return pe}),fe={pattern:RegExp(pe),greedy:!0},we={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function Oe(Re,xe){return Re=Re.replace(/<OPT>/g,function(){return be}).replace(/<SP>/g,function(){return le}),RegExp(Re,xe)}b.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:Oe(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[fe,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:Oe(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:we,string:fe,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:we},b.languages.dockerfile=b.languages.docker})(y)}},51348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dot",ae.aliases=["gv"];function ae(y){(function(b){var me="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",le={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:b.languages.markup}};function pe(be,fe){return RegExp(be.replace(/<ID>/g,function(){return me}),fe)}b.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:pe(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:le},"attr-value":{pattern:pe(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:le},"attr-name":{pattern:pe(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:le},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:pe(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:le},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},b.languages.gv=b.languages.dot})(y)}},60841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ebnf",ae.aliases=[];function ae(y){y.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(Ce){"use strict";Ce.exports=ae,ae.displayName="editorconfig",ae.aliases=[];function ae(y){y.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(Ce){"use strict";Ce.exports=ae,ae.displayName="eiffel",ae.aliases=[];function ae(y){y.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="ejs",me.aliases=["eta"];function me(le){le.register(b),function(pe){pe.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:pe.languages.javascript}},pe.hooks.add("before-tokenize",function(be){var fe=/<%(?!%)[\s\S]+?%>/g;pe.languages["markup-templating"].buildPlaceholders(be,"ejs",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"ejs")}),pe.languages.eta=pe.languages.ejs}(le)}},83125:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elixir",ae.aliases=[];function ae(y){y.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},y.languages.elixir.string.forEach(function(b){b.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:y.languages.elixir}}}})}},9438:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elm",ae.aliases=[];function ae(y){y.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(Ce,ae,y){"use strict";var b=y(75308),me=y(51478);Ce.exports=le,le.displayName="erb",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:be.languages.ruby}},be.hooks.add("before-tokenize",function(fe){var we=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"erb",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"erb")})}(pe)}},86549:function(Ce){"use strict";Ce.exports=ae,ae.displayName="erlang",ae.aliases=[];function ae(y){y.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(Ce,ae,y){"use strict";var b=y(33978),me=y(51478);Ce.exports=le,le.displayName="etlua",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:be.languages.lua}},be.hooks.add("before-tokenize",function(fe){var we=/<%[\s\S]+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"etlua",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"etlua")})}(pe)}},59250:function(Ce){"use strict";Ce.exports=ae,ae.displayName="excelFormula",ae.aliases=[];function ae(y){y.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},y.languages.xlsx=y.languages.xls=y.languages["excel-formula"]}},81226:function(Ce){"use strict";Ce.exports=ae,ae.displayName="factor",ae.aliases=[];function ae(y){(function(b){var me={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},le={number:/\\[^\s']|%\w/},pe={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:me},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:me},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:me}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:le.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:le}},be=function(Re){return(Re+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},fe=function(Re){return new RegExp("(^|\\s)(?:"+Re.map(be).join("|")+")(?=\\s|$)")},we={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(we).forEach(function(Re){pe[Re].pattern=fe(we[Re])});var Oe=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];pe.combinators.pattern=fe(Oe),b.languages.factor=pe})(y)}},65245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="$false",ae.aliases=[];function ae(y){(function(b){b.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(y)}},25040:function(Ce){"use strict";Ce.exports=ae,ae.displayName="firestoreSecurityRules",ae.aliases=[];function ae(y){y.languages["firestore-security-rules"]=y.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete y.languages["firestore-security-rules"]["class-name"],y.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(Ce){"use strict";Ce.exports=ae,ae.displayName="flow",ae.aliases=[];function ae(y){(function(b){b.languages.flow=b.languages.extend("javascript",{}),b.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),b.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete b.languages.flow.parameter,b.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(b.languages.flow.keyword)||(b.languages.flow.keyword=[b.languages.flow.keyword]),b.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(y)}},39187:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fortran",ae.aliases=[];function ae(y){y.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fsharp",ae.aliases=[];function ae(y){y.languages.fsharp=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),y.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),y.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),y.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:y.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="ftl",me.aliases=[];function me(le){le.register(b),function(pe){for(var be=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,fe=0;fe<2;fe++)be=be.replace(/<expr>/g,function(){return be});be=be.replace(/<expr>/g,/[^\s\S]/.source);var we={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return be})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return be})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};we.string[1].inside.interpolation.inside.rest=we,pe.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}}},pe.hooks.add("before-tokenize",function(Oe){var Re=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return be}),"gi");pe.languages["markup-templating"].buildPlaceholders(Oe,"ftl",Re)}),pe.hooks.add("after-tokenize",function(Oe){pe.languages["markup-templating"].tokenizePlaceholders(Oe,"ftl")})}(le)}},33534:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gap",ae.aliases=[];function ae(y){y.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},y.languages.gap.shell.inside.gap.inside=y.languages.gap}},9885:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gcode",ae.aliases=[];function ae(y){y.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gdscript",ae.aliases=[];function ae(y){y.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gedcom",ae.aliases=[];function ae(y){y.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gherkin",ae.aliases=[];function ae(y){(function(b){var me=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;b.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+me+")(?:"+me+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(me),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(y)}},58230:function(Ce){"use strict";Ce.exports=ae,ae.displayName="git",ae.aliases=[];function ae(y){y.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="glsl",me.aliases=[];function me(le){le.register(b),le.languages.glsl=le.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gml",ae.aliases=[];function ae(y){y.languages.gamemakerlanguage=y.languages.gml=y.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gn",ae.aliases=["gni"];function ae(y){y.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},y.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=y.languages.gn,y.languages.gni=y.languages.gn}},95769:function(Ce){"use strict";Ce.exports=ae,ae.displayName="goModule",ae.aliases=[];function ae(y){y.languages["go-mod"]=y.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(Ce){"use strict";Ce.exports=ae,ae.displayName="go",ae.aliases=[];function ae(y){y.languages.go=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete y.languages.go["class-name"]}},92823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="graphql",ae.aliases=[];function ae(y){y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},y.hooks.add("after-tokenize",function(me){if(me.language!=="graphql")return;var le=me.tokens.filter(function(Je){return typeof Je!="string"&&Je.type!=="comment"&&Je.type!=="scalar"}),pe=0;function be(Je){return le[pe+Je]}function fe(Je,We){We=We||0;for(var Ve=0;Ve<Je.length;Ve++){var Ze=be(Ve+We);if(!Ze||Ze.type!==Je[Ve])return!1}return!0}function we(Je,We){for(var Ve=1,Ze=pe;Ze<le.length;Ze++){var Qe=le[Ze],ze=Qe.content;if(Qe.type==="punctuation"&&typeof ze=="string"){if(Je.test(ze))Ve++;else if(We.test(ze)&&(Ve--,Ve===0))return Ze}}return-1}function Oe(Je,We){var Ve=Je.alias;Ve?Array.isArray(Ve)||(Je.alias=Ve=[Ve]):Je.alias=Ve=[],Ve.push(We)}for(;pe<le.length;){var Re=le[pe++];if(Re.type==="keyword"&&Re.content==="mutation"){var xe=[];if(fe(["definition-mutation","punctuation"])&&be(1).content==="("){pe+=2;var Ge=we(/^\($/,/^\)$/);if(Ge===-1)continue;for(;pe<Ge;pe++){var Fe=be(0);Fe.type==="variable"&&(Oe(Fe,"variable-input"),xe.push(Fe.content))}pe=Ge+1}if(fe(["punctuation","property-query"])&&be(0).content==="{"&&(pe++,Oe(be(0),"property-mutation"),xe.length>0)){var At=we(/^\{$/,/^\}$/);if(At===-1)continue;for(var at=pe;at<At;at++){var tt=le[at];tt.type==="variable"&&xe.indexOf(tt.content)>=0&&Oe(tt,"variable-input")}}}}})}},63092:function(Ce){"use strict";Ce.exports=ae,ae.displayName="groovy",ae.aliases=[];function ae(y){y.languages.groovy=y.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),y.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),y.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),y.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),y.hooks.add("wrap",function(b){if(b.language==="groovy"&&b.type==="string"){var me=b.content.value[0];if(me!="'"){var le=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;me==="$"&&(le=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),b.content.value=b.content.value.replace(/</g,"<").replace(/&/g,"&"),b.content=y.highlight(b.content.value,{expression:{pattern:le,lookbehind:!0,inside:y.languages.groovy}}),b.classes.push(me==="/"?"regex":"gstring")}}})}},21550:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=me,me.displayName="haml",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:pe.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:pe.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:pe.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:pe.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:pe.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var be="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",fe=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],we={},Oe=0,Re=fe.length;Oe<Re;Oe++){var xe=fe[Oe];xe=typeof xe=="string"?{filter:xe,language:xe}:xe,pe.languages[xe.language]&&(we["filter-"+xe.filter]={pattern:RegExp(be.replace("{{filter_name}}",function(){return xe.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[xe.language,"language-"+xe.language],inside:pe.languages[xe.language]}}})}pe.languages.insertBefore("haml","filter",we)}(le)}},29710:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="handlebars",me.aliases=["hbs"];function me(le){le.register(b),function(pe){pe.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},pe.hooks.add("before-tokenize",function(be){var fe=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;pe.languages["markup-templating"].buildPlaceholders(be,"handlebars",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"handlebars")}),pe.languages.hbs=pe.languages.handlebars}(le)}},2050:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haskell",ae.aliases=["hs"];function ae(y){y.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},y.languages.hs=y.languages.haskell}},67967:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haxe",ae.aliases=[];function ae(y){y.languages.haxe=y.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),y.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:y.languages.haxe}}},string:/[\s\S]+/}}}),y.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),y.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hcl",ae.aliases=[];function ae(y){y.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="hlsl",me.aliases=[];function me(le){le.register(b),le.languages.hlsl=le.languages.extend("c",{"class-name":[le.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hoon",ae.aliases=[];function ae(y){y.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hpkp",ae.aliases=[];function ae(y){y.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hsts",ae.aliases=[];function ae(y){y.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(Ce){"use strict";Ce.exports=ae,ae.displayName="http",ae.aliases=[];function ae(y){(function(b){function me(xe){return RegExp("(^(?:"+xe+"):[ ]*(?![ ]))[^]+","i")}b.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:b.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:me(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:b.languages.csp},{pattern:me(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:b.languages.hpkp},{pattern:me(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:b.languages.hsts},{pattern:me(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var le=b.languages,pe={"application/javascript":le.javascript,"application/json":le.json||le.javascript,"application/xml":le.xml,"text/xml":le.xml,"text/html":le.html,"text/css":le.css,"text/plain":le.plain},be={"application/json":!0,"application/xml":!0};function fe(xe){var Ge=xe.replace(/^[a-z]+\//,""),Fe="\\w+/(?:[\\w.-]+\\+)+"+Ge+"(?![+\\w.-])";return"(?:"+xe+"|"+Fe+")"}var we;for(var Oe in pe)if(pe[Oe]){we=we||{};var Re=be[Oe]?fe(Oe):Oe;we[Oe.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Re+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:pe[Oe]}}we&&b.languages.insertBefore("http","header",we)})(y)}},72252:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ichigojam",ae.aliases=[];function ae(y){y.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icon",ae.aliases=[];function ae(y){y.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icuMessageFormat",ae.aliases=[];function ae(y){(function(b){function me(Oe,Re){return Re<=0?/[]/.source:Oe.replace(/<SELF>/g,function(){return me(Oe,Re-1)})}var le=/'[{}:=,](?:[^']|'')*'(?!')/,pe={pattern:/''/,greedy:!0,alias:"operator"},be={pattern:le,greedy:!0,inside:{escape:pe}},fe=me(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return le.source}),8),we={pattern:RegExp(fe),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};b.languages["icu-message-format"]={argument:{pattern:RegExp(fe),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":we,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":we,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+me(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:pe,string:be},we.inside.message.inside=b.languages["icu-message-format"],b.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=b.languages["icu-message-format"]})(y)}},23328:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=me,me.displayName="idris",me.aliases=["idr"];function me(le){le.register(b),le.languages.idris=le.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),le.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),le.languages.idr=le.languages.idris}},74494:function(Ce){"use strict";Ce.exports=ae,ae.displayName="iecst",ae.aliases=[];function ae(y){y.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ignore",ae.aliases=["gitignore","hgignore","npmignore"];function ae(y){(function(b){b.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},b.languages.gitignore=b.languages.ignore,b.languages.hgignore=b.languages.ignore,b.languages.npmignore=b.languages.ignore})(y)}},22152:function(Ce){"use strict";Ce.exports=ae,ae.displayName="inform7",ae.aliases=[];function ae(y){y.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},y.languages.inform7.string.inside.substitution.inside.rest=y.languages.inform7,y.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ini",ae.aliases=[];function ae(y){y.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(Ce){"use strict";Ce.exports=ae,ae.displayName="io",ae.aliases=[];function ae(y){y.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}},53990:function(Ce){"use strict";Ce.exports=ae,ae.displayName="j",ae.aliases=[];function ae(y){y.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="java",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};b.languages.java=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:me,function:[b.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),b.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),b.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":pe,keyword:me,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return me.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(y)}},4005:function(Ce,ae,y){"use strict";var b=y(7093),me=y(53510);Ce.exports=le,le.displayName="javadoc",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,we=/#\s*\w+(?:\s*\([^()]*\))?/.source,Oe=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return we});be.languages.javadoc=be.languages.extend("javadoclike",{}),be.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+Oe+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:be.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:fe,lookbehind:!0,inside:be.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:fe,lookbehind:!0,inside:{tag:be.languages.markup.tag,entity:be.languages.markup.entity,code:{pattern:/.+/,inside:be.languages.java,alias:"language-java"}}}}}],tag:be.languages.markup.tag,entity:be.languages.markup.entity}),be.languages.javadoclike.addSupport("java",be.languages.javadoc)}(pe)}},53510:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javadoclike",ae.aliases=[];function ae(y){(function(b){var me=b.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function le(be,fe){var we="doc-comment",Oe=b.languages[be];if(Oe){var Re=Oe[we];if(!Re){var xe={};xe[we]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},Oe=b.languages.insertBefore(be,"comment",xe),Re=Oe[we]}if(Re instanceof RegExp&&(Re=Oe[we]={pattern:Re}),Array.isArray(Re))for(var Ge=0,Fe=Re.length;Ge<Fe;Ge++)Re[Ge]instanceof RegExp&&(Re[Ge]={pattern:Re[Ge]}),fe(Re[Ge]);else fe(Re)}}function pe(be,fe){typeof be=="string"&&(be=[be]),be.forEach(function(we){le(we,function(Oe){Oe.inside||(Oe.inside={}),Oe.inside.rest=fe})})}Object.defineProperty(me,"addSupport",{value:pe}),me.addSupport(["java","javascript","php"],me)})(y)}},88786:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javascript",ae.aliases=["js"];function ae(y){y.languages.javascript=y.languages.extend("clike",{"class-name":[y.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,y.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),y.languages.markup&&(y.languages.markup.tag.addInlined("script","javascript"),y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),y.languages.js=y.languages.javascript}},24799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javastacktrace",ae.aliases=[];function ae(y){y.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jexl",ae.aliases=[];function ae(y){y.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jolie",ae.aliases=[];function ae(y){y.languages.jolie=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),y.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jq",ae.aliases=[];function ae(y){(function(b){var me=/\\\((?:[^()]|\([^()]*\))*\)/.source,le=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return me})),pe={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+me),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},be=b.languages.jq={comment:/#.*/,property:{pattern:RegExp(le.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:pe},string:{pattern:le,lookbehind:!0,greedy:!0,inside:pe},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};pe.interpolation.inside.content.inside=be})(y)}},89246:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsExtras",ae.aliases=[];function ae(y){(function(b){b.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+b.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),b.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+b.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),b.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function me(Oe,Re){return RegExp(Oe.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Re)}b.languages.insertBefore("javascript","keyword",{imports:{pattern:me(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:b.languages.javascript},exports:{pattern:me(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:b.languages.javascript}}),b.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),b.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),b.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:me(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var le=["function","function-variable","method","method-variable","property-access"],pe=0;pe<le.length;pe++){var be=le[pe],fe=b.languages.javascript[be];b.util.type(fe)==="RegExp"&&(fe=b.languages.javascript[be]={pattern:fe});var we=fe.inside||{};fe.inside=we,we["maybe-class-name"]=/^[A-Z][\s\S]*/}})(y)}},487:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsTemplates",ae.aliases=[];function ae(y){(function(b){var me=b.languages.javascript["template-string"],le=me.pattern.source,pe=me.inside.interpolation,be=pe.inside["interpolation-punctuation"],fe=pe.pattern.source;function we(at,tt){if(b.languages[at])return{pattern:RegExp("((?:"+tt+")\\s*)"+le),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:at}}}}b.languages.javascript["template-string"]=[we("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),we("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),we("svg",/\bsvg/.source),we("markdown",/\b(?:markdown|md)/.source),we("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),we("sql",/\bsql/.source),me].filter(Boolean);function Oe(at,tt){return"___"+tt.toUpperCase()+"_"+at+"___"}function Re(at,tt,Je){var We={code:at,grammar:tt,language:Je};return b.hooks.run("before-tokenize",We),We.tokens=b.tokenize(We.code,We.grammar),b.hooks.run("after-tokenize",We),We.tokens}function xe(at){var tt={};tt["interpolation-punctuation"]=be;var Je=b.tokenize(at,tt);if(Je.length===3){var We=[1,1];We.push.apply(We,Re(Je[1],b.languages.javascript,"javascript")),Je.splice.apply(Je,We)}return new b.Token("interpolation",Je,pe.alias,at)}function Ge(at,tt,Je){var We=b.tokenize(at,{interpolation:{pattern:RegExp(fe),lookbehind:!0}}),Ve=0,Ze={},Qe=We.map(function(nt){if(typeof nt=="string")return nt;for(var bt=nt.content,it;at.indexOf(it=Oe(Ve++,Je))!==-1;);return Ze[it]=bt,it}).join(""),ze=Re(Qe,tt,Je),_e=Object.keys(Ze);Ve=0;function $e(nt){for(var bt=0;bt<nt.length;bt++){if(Ve>=_e.length)return;var it=nt[bt];if(typeof it=="string"||typeof it.content=="string"){var Nt=_e[Ve],vt=typeof it=="string"?it:it.content,dt=vt.indexOf(Nt);if(dt!==-1){++Ve;var It=vt.substring(0,dt),St=xe(Ze[Nt]),qe=vt.substring(dt+Nt.length),Jt=[];if(It&&Jt.push(It),Jt.push(St),qe){var Rt=[qe];$e(Rt),Jt.push.apply(Jt,Rt)}typeof it=="string"?(nt.splice.apply(nt,[bt,1].concat(Jt)),bt+=Jt.length-1):it.content=Jt}}else{var Zt=it.content;Array.isArray(Zt)?$e(Zt):$e([Zt])}}}return $e(ze),new b.Token(Je,ze,"language-"+Je,at)}var Fe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};b.hooks.add("after-tokenize",function(at){if(!(at.language in Fe))return;function tt(Je){for(var We=0,Ve=Je.length;We<Ve;We++){var Ze=Je[We];if(typeof Ze!="string"){var Qe=Ze.content;if(!Array.isArray(Qe)){typeof Qe!="string"&&tt([Qe]);continue}if(Ze.type==="template-string"){var ze=Qe[1];if(Qe.length===3&&typeof ze!="string"&&ze.type==="embedded-code"){var _e=At(ze),$e=ze.alias,nt=Array.isArray($e)?$e[0]:$e,bt=b.languages[nt];if(!bt)continue;Qe[1]=Ge(_e,bt,nt)}}else tt(Qe)}}}tt(at.tokens)});function At(at){return typeof at=="string"?at:Array.isArray(at)?at.map(At).join(""):At(at.content)}})(y)}},79539:function(Ce,ae,y){"use strict";var b=y(53510),me=y(92784);Ce.exports=le,le.displayName="jsdoc",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=be.languages.javascript,we=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,Oe="(@(?:arg|argument|param|property)\\s+(?:"+we+"\\s+)?)";be.languages.jsdoc=be.languages.extend("javadoclike",{parameter:{pattern:RegExp(Oe+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),be.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(Oe+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:fe,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return we})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+we),lookbehind:!0,inside:{string:fe.string,number:fe.number,boolean:fe.boolean,keyword:be.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:fe,alias:"language-javascript"}}}}),be.languages.javadoclike.addSupport("javascript",be.languages.jsdoc)}(pe)}},15628:function(Ce){"use strict";Ce.exports=ae,ae.displayName="json",ae.aliases=["webmanifest"];function ae(y){y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},y.languages.webmanifest=y.languages.json}},14320:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=me,me.displayName="json5",me.aliases=[];function me(le){le.register(b),function(pe){var be=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;pe.languages.json5=pe.languages.extend("json",{property:[{pattern:RegExp(be.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:be,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(le)}},73222:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=me,me.displayName="jsonp",me.aliases=[];function me(le){le.register(b),le.languages.jsonp=le.languages.extend("json",{punctuation:/[{}[\]();,.]/}),le.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsstacktrace",ae.aliases=[];function ae(y){y.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsx",ae.aliases=[];function ae(y){(function(b){var me=b.util.clone(b.languages.javascript),le=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,pe=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,be=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function fe(Re,xe){return Re=Re.replace(/<S>/g,function(){return le}).replace(/<BRACES>/g,function(){return pe}).replace(/<SPREAD>/g,function(){return be}),RegExp(Re,xe)}be=fe(be).source,b.languages.jsx=b.languages.extend("markup",me),b.languages.jsx.tag.pattern=fe(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),b.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,b.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,b.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,b.languages.jsx.tag.inside.comment=me.comment,b.languages.insertBefore("inside","attr-name",{spread:{pattern:fe(/<SPREAD>/.source),inside:b.languages.jsx}},b.languages.jsx.tag),b.languages.insertBefore("inside","special-attr",{script:{pattern:fe(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:b.languages.jsx}}},b.languages.jsx.tag);var we=function(Re){return Re?typeof Re=="string"?Re:typeof Re.content=="string"?Re.content:Re.content.map(we).join(""):""},Oe=function(Re){for(var xe=[],Ge=0;Ge<Re.length;Ge++){var Fe=Re[Ge],At=!1;if(typeof Fe!="string"&&(Fe.type==="tag"&&Fe.content[0]&&Fe.content[0].type==="tag"?Fe.content[0].content[0].content==="</"?xe.length>0&&xe[xe.length-1].tagName===we(Fe.content[0].content[1])&&xe.pop():Fe.content[Fe.content.length-1].content==="/>"||xe.push({tagName:we(Fe.content[0].content[1]),openedBraces:0}):xe.length>0&&Fe.type==="punctuation"&&Fe.content==="{"?xe[xe.length-1].openedBraces++:xe.length>0&&xe[xe.length-1].openedBraces>0&&Fe.type==="punctuation"&&Fe.content==="}"?xe[xe.length-1].openedBraces--:At=!0),(At||typeof Fe=="string")&&xe.length>0&&xe[xe.length-1].openedBraces===0){var at=we(Fe);Ge<Re.length-1&&(typeof Re[Ge+1]=="string"||Re[Ge+1].type==="plain-text")&&(at+=we(Re[Ge+1]),Re.splice(Ge+1,1)),Ge>0&&(typeof Re[Ge-1]=="string"||Re[Ge-1].type==="plain-text")&&(at=we(Re[Ge-1])+at,Re.splice(Ge-1,1),Ge--),Re[Ge]=new b.Token("plain-text",at,null,at)}Fe.content&&typeof Fe.content!="string"&&Oe(Fe.content)}};b.hooks.add("after-tokenize",function(Re){Re.language!=="jsx"&&Re.language!=="tsx"||Oe(Re.tokens)})})(y)}},40604:function(Ce){"use strict";Ce.exports=ae,ae.displayName="julia",ae.aliases=[];function ae(y){y.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keepalived",ae.aliases=[];function ae(y){y.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keyman",ae.aliases=[];function ae(y){y.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kotlin",ae.aliases=["kt","kts"];function ae(y){(function(b){b.languages.kotlin=b.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete b.languages.kotlin["class-name"];var me={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:b.languages.kotlin}};b.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:me},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:me},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete b.languages.kotlin.string,b.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),b.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),b.languages.kt=b.languages.kotlin,b.languages.kts=b.languages.kotlin})(y)}},37524:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kumir",ae.aliases=["kum"];function ae(y){(function(b){var me=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function le(pe,be){return RegExp(pe.replace(/<nonId>/g,me),be)}b.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:le(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:le(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:le(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:le(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:le(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:le(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:le(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:le(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},b.languages.kum=b.languages.kumir})(y)}},6658:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kusto",ae.aliases=[];function ae(y){y.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(Ce){"use strict";Ce.exports=ae,ae.displayName="latex",ae.aliases=["tex","context"];function ae(y){(function(b){var me=/\\(?:[^a-z()[\]]|[a-z*]+)/i,le={"equation-command":{pattern:me,alias:"regex"}};b.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:le,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:le,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:me,alias:"selector"},punctuation:/[[\]{}&]/},b.languages.tex=b.languages.latex,b.languages.context=b.languages.latex})(y)}},22776:function(Ce,ae,y){"use strict";var b=y(51478),me=y(53852);Ce.exports=le,le.displayName="latte",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:be.languages.php}};var fe=be.languages.extend("markup",{});be.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:be.languages.php}}}}}},fe.tag),be.hooks.add("before-tokenize",function(we){if(we.language==="latte"){var Oe=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;be.languages["markup-templating"].buildPlaceholders(we,"latte",Oe),we.grammar=fe}}),be.hooks.add("after-tokenize",function(we){be.languages["markup-templating"].tokenizePlaceholders(we,"latte")})}(pe)}},89700:function(Ce){"use strict";Ce.exports=ae,ae.displayName="less",ae.aliases=[];function ae(y){y.languages.less=y.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),y.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=me,me.displayName="lilypond",me.aliases=[];function me(le){le.register(b),function(pe){for(var be=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,fe=5,we=0;we<fe;we++)be=be.replace(/<expr>/g,function(){return be});be=be.replace(/<expr>/g,/[^\s\S]/.source);var Oe=pe.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return be}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:pe.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};Oe["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=Oe,pe.languages.ly=Oe}(le)}},39940:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="liquid",me.aliases=[];function me(le){le.register(b),le.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},le.hooks.add("before-tokenize",function(pe){var be=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,fe=!1;le.languages["markup-templating"].buildPlaceholders(pe,"liquid",be,function(we){var Oe=/^\{%-?\s*(\w+)/.exec(we);if(Oe){var Re=Oe[1];if(Re==="raw"&&!fe)return fe=!0,!0;if(Re==="endraw")return fe=!1,!0}return!fe})}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"liquid")})}},34973:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lisp",ae.aliases=[];function ae(y){(function(b){function me(at){return RegExp(/(\()/.source+"(?:"+at+")"+/(?=[\s\)])/.source)}function le(at){return RegExp(/([\s([])/.source+"(?:"+at+")"+/(?=[\s)])/.source)}var pe=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,be="&"+pe,fe="(\\()",we="(?=\\))",Oe="(?=\\s)",Re=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,xe={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+pe+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+pe),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+pe),alias:"property"},splice:{pattern:RegExp(",@?"+pe),alias:["symbol","variable"]},keyword:[{pattern:RegExp(fe+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+Oe),lookbehind:!0},{pattern:RegExp(fe+"(?:append|by|collect|concat|do|finally|for|in|return)"+Oe),lookbehind:!0}],declare:{pattern:me(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:me(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:le(/nil|t/.source),lookbehind:!0},number:{pattern:le(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(fe+"def(?:const|custom|group|var)\\s+"+pe),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(pe)}},defun:{pattern:RegExp(fe+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+pe+/\s+\(/.source+Re+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+pe),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(fe+"lambda\\s+\\(\\s*(?:&?"+pe+"(?:\\s+&?"+pe+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(fe+pe),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Ge={"lisp-marker":RegExp(be),varform:{pattern:RegExp(/\(/.source+pe+/\s+(?=\S)/.source+Re+/\)/.source),inside:xe},argument:{pattern:RegExp(/(^|[\s(])/.source+pe),lookbehind:!0,alias:"variable"},rest:xe},Fe="\\S+(?:\\s+\\S+)*",At={pattern:RegExp(fe+Re+we),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Fe),inside:Ge},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Fe),inside:Ge},keys:{pattern:RegExp("&key\\s+"+Fe+"(?:\\s+&allow-other-keys)?"),inside:Ge},argument:{pattern:RegExp(pe),alias:"variable"},punctuation:/[()]/}};xe.lambda.inside.arguments=At,xe.defun.inside.arguments=b.util.clone(At),xe.defun.inside.arguments.inside.sublist=At,b.languages.lisp=xe,b.languages.elisp=xe,b.languages.emacs=xe,b.languages["emacs-lisp"]=xe})(y)}},98135:function(Ce){"use strict";Ce.exports=ae,ae.displayName="livescript",ae.aliases=[];function ae(y){y.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},y.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=y.languages.livescript}},36907:function(Ce){"use strict";Ce.exports=ae,ae.displayName="llvm",ae.aliases=[];function ae(y){(function(b){b.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(y)}},3567:function(Ce){"use strict";Ce.exports=ae,ae.displayName="log",ae.aliases=[];function ae(y){y.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:y.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lolcode",ae.aliases=[];function ae(y){y.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lua",ae.aliases=[];function ae(y){y.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(Ce){"use strict";Ce.exports=ae,ae.displayName="magma",ae.aliases=[];function ae(y){y.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(Ce){"use strict";Ce.exports=ae,ae.displayName="makefile",ae.aliases=[];function ae(y){y.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},98096:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markdown",ae.aliases=["md"];function ae(y){(function(b){var me=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function le(Ge){return Ge=Ge.replace(/<inner>/g,function(){return me}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Ge+")")}var pe=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,be=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return pe}),fe=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;b.languages.markdown=b.languages.extend("markup",{}),b.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:b.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+be+fe+"(?:"+be+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+be+fe+")(?:"+be+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(pe),inside:b.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+be+")"+fe+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+be+"$"),inside:{"table-header":{pattern:RegExp(pe),alias:"important",inside:b.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:le(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:le(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:le(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:le(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Ge){["url","bold","italic","strike","code-snippet"].forEach(function(Fe){Ge!==Fe&&(b.languages.markdown[Ge].inside.content.inside[Fe]=b.languages.markdown[Fe])})}),b.hooks.add("after-tokenize",function(Ge){if(Ge.language!=="markdown"&&Ge.language!=="md")return;function Fe(At){if(!(!At||typeof At=="string"))for(var at=0,tt=At.length;at<tt;at++){var Je=At[at];if(Je.type!=="code"){Fe(Je.content);continue}var We=Je.content[1],Ve=Je.content[3];if(We&&Ve&&We.type==="code-language"&&Ve.type==="code-block"&&typeof We.content=="string"){var Ze=We.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");Ze=(/[a-z][\w-]*/i.exec(Ze)||[""])[0].toLowerCase();var Qe="language-"+Ze;Ve.alias?typeof Ve.alias=="string"?Ve.alias=[Ve.alias,Qe]:Ve.alias.push(Qe):Ve.alias=[Qe]}}}Fe(Ge.tokens)}),b.hooks.add("wrap",function(Ge){if(Ge.type==="code-block"){for(var Fe="",At=0,at=Ge.classes.length;At<at;At++){var tt=Ge.classes[At],Je=/language-(.+)/.exec(tt);if(Je){Fe=Je[1];break}}var We=b.languages[Fe];if(We)Ge.content=b.highlight(xe(Ge.content.value),We,Fe);else if(Fe&&Fe!=="none"&&b.plugins.autoloader){var Ve="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);Ge.attributes.id=Ve,b.plugins.autoloader.loadLanguages(Fe,function(){var Ze=document.getElementById(Ve);Ze&&(Ze.innerHTML=b.highlight(Ze.textContent,b.languages[Fe],Fe))})}}});var we=RegExp(b.languages.markup.tag.pattern.source,"gi"),Oe={amp:"&",lt:"<",gt:">",quot:'"'},Re=String.fromCodePoint||String.fromCharCode;function xe(Ge){var Fe=Ge.replace(we,"");return Fe=Fe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(At,at){if(at=at.toLowerCase(),at[0]==="#"){var tt;return at[1]==="x"?tt=parseInt(at.slice(2),16):tt=Number(at.slice(1)),Re(tt)}else{var Je=Oe[at];return Je||At}}),Fe}b.languages.md=b.languages.markdown})(y)}},51478:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markupTemplating",ae.aliases=[];function ae(y){(function(b){function me(le,pe){return"___"+le.toUpperCase()+pe+"___"}Object.defineProperties(b.languages["markup-templating"]={},{buildPlaceholders:{value:function(le,pe,be,fe){if(le.language===pe){var we=le.tokenStack=[];le.code=le.code.replace(be,function(Oe){if(typeof fe=="function"&&!fe(Oe))return Oe;for(var Re=we.length,xe;le.code.indexOf(xe=me(pe,Re))!==-1;)++Re;return we[Re]=Oe,xe}),le.grammar=b.languages.markup}}},tokenizePlaceholders:{value:function(le,pe){if(le.language!==pe||!le.tokenStack)return;le.grammar=b.languages[pe];var be=0,fe=Object.keys(le.tokenStack);function we(Oe){for(var Re=0;Re<Oe.length&&!(be>=fe.length);Re++){var xe=Oe[Re];if(typeof xe=="string"||xe.content&&typeof xe.content=="string"){var Ge=fe[be],Fe=le.tokenStack[Ge],At=typeof xe=="string"?xe:xe.content,at=me(pe,Ge),tt=At.indexOf(at);if(tt>-1){++be;var Je=At.substring(0,tt),We=new b.Token(pe,b.tokenize(Fe,le.grammar),"language-"+pe,Fe),Ve=At.substring(tt+at.length),Ze=[];Je&&Ze.push.apply(Ze,we([Je])),Ze.push(We),Ve&&Ze.push.apply(Ze,we([Ve])),typeof xe=="string"?Oe.splice.apply(Oe,[Re,1].concat(Ze)):xe.content=Ze}}else xe.content&&we(xe.content)}return Oe}we(le.tokens)}}})})(y)}},70614:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markup",ae.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function ae(y){y.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},y.languages.markup.tag.inside["attr-value"].inside.entity=y.languages.markup.entity,y.languages.markup.doctype.inside["internal-subset"].inside=y.languages.markup,y.hooks.add("wrap",function(b){b.type==="entity"&&(b.attributes.title=b.content.value.replace(/&/,"&"))}),Object.defineProperty(y.languages.markup.tag,"addInlined",{value:function(me,le){var pe={};pe["language-"+le]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:y.languages[le]},pe.cdata=/^<!\[CDATA\[|\]\]>$/i;var be={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:pe}};be["language-"+le]={pattern:/[\s\S]+/,inside:y.languages[le]};var fe={};fe[me]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return me}),"i"),lookbehind:!0,greedy:!0,inside:be},y.languages.insertBefore("markup","cdata",fe)}}),Object.defineProperty(y.languages.markup.tag,"addAttribute",{value:function(b,me){y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+b+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[me,"language-"+me],inside:y.languages[me]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),y.languages.html=y.languages.markup,y.languages.mathml=y.languages.markup,y.languages.svg=y.languages.markup,y.languages.xml=y.languages.extend("markup",{}),y.languages.ssml=y.languages.xml,y.languages.atom=y.languages.xml,y.languages.rss=y.languages.xml}},16928:function(Ce){"use strict";Ce.exports=ae,ae.displayName="matlab",ae.aliases=[];function ae(y){y.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(Ce){"use strict";Ce.exports=ae,ae.displayName="maxscript",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;b.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+me.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+me.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:me,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(y)}},37164:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mel",ae.aliases=[];function ae(y){y.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},y.languages.mel.code.inside.rest=y.languages.mel}},25153:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mermaid",ae.aliases=[];function ae(y){y.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mizar",ae.aliases=[];function ae(y){y.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mongodb",ae.aliases=[];function ae(y){(function(b){var me=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],le=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];me=me.map(function(be){return be.replace("$","\\$")});var pe="(?:"+me.join("|")+")\\b";b.languages.mongodb=b.languages.extend("javascript",{}),b.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+pe+"(?:\\1)?$")}}}),b.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},b.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+le.join("|")+")\\b"),alias:"keyword"}})})(y)}},65626:function(Ce){"use strict";Ce.exports=ae,ae.displayName="monkey",ae.aliases=[];function ae(y){y.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(Ce){"use strict";Ce.exports=ae,ae.displayName="moonscript",ae.aliases=["moon"];function ae(y){y.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},y.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=y.languages.moonscript,y.languages.moon=y.languages.moonscript}},40722:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n1ql",ae.aliases=[];function ae(y){y.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n4js",ae.aliases=["n4jsd"];function ae(y){y.languages.n4js=y.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),y.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),y.languages.n4jsd=y.languages.n4js}},41224:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nand2tetrisHdl",ae.aliases=[];function ae(y){y.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(Ce){"use strict";Ce.exports=ae,ae.displayName="naniscript",ae.aliases=[];function ae(y){(function(b){var me=/\{[^\r\n\[\]{}]*\}/,le={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:me,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};b.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:me,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:le}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:me,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:le},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},b.languages.nani=b.languages.naniscript,b.hooks.add("after-tokenize",function(fe){var we=fe.tokens;we.forEach(function(Oe){if(typeof Oe!="string"&&Oe.type==="generic-text"){var Re=be(Oe);pe(Re)||(Oe.type="bad-line",Oe.content=Re)}})});function pe(fe){for(var we="[]{}",Oe=[],Re=0;Re<fe.length;Re++){var xe=fe[Re],Ge=we.indexOf(xe);if(Ge!==-1){if(Ge%2===0)Oe.push(Ge+1);else if(Oe.pop()!==Ge)return!1}}return Oe.length===0}function be(fe){return typeof fe=="string"?fe:Array.isArray(fe)?fe.map(be).join(""):be(fe.content)}})(y)}},42846:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nasm",ae.aliases=[];function ae(y){y.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}},32964:function(Ce){"use strict";Ce.exports=ae,ae.displayName="neon",ae.aliases=[];function ae(y){y.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nevod",ae.aliases=[];function ae(y){y.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nginx",ae.aliases=[];function ae(y){(function(b){var me=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;b.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:me}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:me}},punctuation:/[{};]/}})(y)}},66791:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nim",ae.aliases=[];function ae(y){y.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nix",ae.aliases=[];function ae(y){y.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},y.languages.nix.string.inside.interpolation.inside=y.languages.nix}},13490:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nsis",ae.aliases=[];function ae(y){y.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="objectivec",me.aliases=["objc"];function me(le){le.register(b),le.languages.objectivec=le.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete le.languages.objectivec["class-name"],le.languages.objc=le.languages.objectivec}},66894:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ocaml",ae.aliases=[];function ae(y){y.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="opencl",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.opencl=pe.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),pe.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var be={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};pe.languages.insertBefore("c","keyword",be),pe.languages.cpp&&(be["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},pe.languages.insertBefore("cpp","keyword",be))}(le)}},27734:function(Ce){"use strict";Ce.exports=ae,ae.displayName="openqasm",ae.aliases=["qasm"];function ae(y){y.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},y.languages.qasm=y.languages.openqasm}},91889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="oz",ae.aliases=[];function ae(y){y.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parigp",ae.aliases=[];function ae(y){y.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var b=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return b=b.map(function(me){return me.split("").join(" *")}).join("|"),RegExp("\\b(?:"+b+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parser",ae.aliases=[];function ae(y){(function(b){var me=b.languages.parser=b.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});me=b.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:me.keyword,variable:me.variable,function:me.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:me.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:me.punctuation}}}),b.languages.insertBefore("inside","punctuation",{expression:me.expression,keyword:me.keyword,variable:me.variable,function:me.function,escape:me.escape,"parser-punctuation":{pattern:me.punctuation,alias:"punctuation"}},me.tag.inside["attr-value"])})(y)}},92949:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascal",ae.aliases=["objectpascal"];function ae(y){y.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},y.languages.pascal.asm.inside=y.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),y.languages.objectpascal=y.languages.pascal}},5681:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascaligo",ae.aliases=[];function ae(y){(function(b){var me=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,le=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return me}),pe=b.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return le}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return le}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return le})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},be=["comment","keyword","builtin","operator","punctuation"].reduce(function(fe,we){return fe[we]=pe[we],fe},{});pe["class-name"].forEach(function(fe){fe.inside=be})})(y)}},70696:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pcaxis",ae.aliases=["px"];function ae(y){y.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},y.languages.px=y.languages.pcaxis}},35790:function(Ce){"use strict";Ce.exports=ae,ae.displayName="peoplecode",ae.aliases=["pcode"];function ae(y){y.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},y.languages.pcode=y.languages.peoplecode}},25777:function(Ce){"use strict";Ce.exports=ae,ae.displayName="perl",ae.aliases=[];function ae(y){(function(b){var me=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;b.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,me].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,me].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,me+/\s*/.source+me].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(y)}},65889:function(Ce,ae,y){"use strict";var b=y(53852);Ce.exports=me,me.displayName="phpExtras",me.aliases=[];function me(le){le.register(b),le.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="php",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,fe=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],we=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,Oe=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Re=/[{}\[\](),:;]/;pe.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:be,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:we,operator:Oe,punctuation:Re};var xe={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:pe.languages.php},Ge=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:xe}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:xe}}];pe.languages.insertBefore("php","variable",{string:Ge,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:be,string:Ge,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,number:we,operator:Oe,punctuation:Re}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),pe.hooks.add("before-tokenize",function(Fe){if(/<\?/.test(Fe.code)){var At=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;pe.languages["markup-templating"].buildPlaceholders(Fe,"php",At)}}),pe.hooks.add("after-tokenize",function(Fe){pe.languages["markup-templating"].tokenizePlaceholders(Fe,"php")})}(le)}},97719:function(Ce,ae,y){"use strict";var b=y(53852),me=y(53510);Ce.exports=le,le.displayName="phpdoc",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;be.languages.phpdoc=be.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+fe+"\\s+)?)\\$\\w+"),lookbehind:!0}}),be.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+fe),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),be.languages.javadoclike.addSupport("php",be.languages.phpdoc)}(pe)}},63839:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=me,me.displayName="plsql",me.aliases=[];function me(le){le.register(b),le.languages.plsql=le.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),le.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powerquery",ae.aliases=[];function ae(y){y.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},y.languages.pq=y.languages.powerquery,y.languages.mscript=y.languages.powerquery}},32530:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powershell",ae.aliases=[];function ae(y){(function(b){var me=b.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};me.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:me},boolean:me.boolean,variable:me.variable}})(y)}},8938:function(Ce){"use strict";Ce.exports=ae,ae.displayName="processing",ae.aliases=[];function ae(y){y.languages.processing=y.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),y.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(Ce){"use strict";Ce.exports=ae,ae.displayName="prolog",ae.aliases=[];function ae(y){y.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="promql",ae.aliases=[];function ae(y){(function(b){var me=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],le=["on","ignoring","group_right","group_left","by","without"],pe=["offset"],be=me.concat(le,pe);b.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+le.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+be.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(y)}},15375:function(Ce){"use strict";Ce.exports=ae,ae.displayName="properties",ae.aliases=[];function ae(y){y.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="protobuf",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;b.languages.protobuf=b.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),b.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:me}},builtin:me,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(y)}},83588:function(Ce){"use strict";Ce.exports=ae,ae.displayName="psl",ae.aliases=[];function ae(y){y.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pug",ae.aliases=[];function ae(y){(function(b){b.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:b.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:b.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:b.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:b.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:b.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:b.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:b.languages.javascript}],punctuation:/[.\-!=|]+/};for(var me=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,le=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],pe={},be=0,fe=le.length;be<fe;be++){var we=le[be];we=typeof we=="string"?{filter:we,language:we}:we,b.languages[we.language]&&(pe["filter-"+we.filter]={pattern:RegExp(me.replace("<filter_name>",function(){return we.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[we.language,"language-"+we.language],inside:b.languages[we.language]}}})}b.languages.insertBefore("pug","filter",pe)})(y)}},21294:function(Ce){"use strict";Ce.exports=ae,ae.displayName="puppet",ae.aliases=[];function ae(y){(function(b){b.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var me=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:b.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];b.languages.puppet.heredoc[0].inside.interpolation=me,b.languages.puppet.string.inside["double-quoted"].inside.interpolation=me})(y)}},38709:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pure",ae.aliases=[];function ae(y){(function(b){b.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var me=["c",{lang:"c++",alias:"cpp"},"fortran"],le=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;me.forEach(function(pe){var be=pe;if(typeof pe!="string"&&(be=pe.alias,pe=pe.lang),b.languages[be]){var fe={};fe["inline-lang-"+be]={pattern:RegExp(le.replace("<lang>",pe.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:b.util.clone(b.languages.pure["inline-lang"].inside)},fe["inline-lang-"+be].inside.rest=b.util.clone(b.languages[be]),b.languages.insertBefore("pure","inline-lang",fe)}}),b.languages.c&&(b.languages.pure["inline-lang"].inside.rest=b.util.clone(b.languages.c))})(y)}},15008:function(Ce){"use strict";Ce.exports=ae,ae.displayName="purebasic",ae.aliases=[];function ae(y){y.languages.purebasic=y.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),y.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete y.languages.purebasic["class-name"],delete y.languages.purebasic.boolean,y.languages.pbfasm=y.languages.purebasic}},96549:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=me,me.displayName="purescript",me.aliases=["purs"];function me(le){le.register(b),le.languages.purescript=le.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[le.languages.haskell.operator[0],le.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),le.languages.purs=le.languages.purescript}},5221:function(Ce){"use strict";Ce.exports=ae,ae.displayName="python",ae.aliases=["py"];function ae(y){y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.python["string-interpolation"].inside.interpolation.inside.rest=y.languages.python,y.languages.py=y.languages.python}},27447:function(Ce){"use strict";Ce.exports=ae,ae.displayName="q",ae.aliases=[];function ae(y){y.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qml",ae.aliases=[];function ae(y){(function(b){for(var me=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,le=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,pe=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return me}).replace(/<comment>/g,function(){return le}),be=0;be<2;be++)pe=pe.replace(/<expr>/g,function(){return pe});pe=pe.replace(/<expr>/g,"[^\\s\\S]"),b.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(y)}},75542:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qore",ae.aliases=[];function ae(y){y.languages.qore=y.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qsharp",ae.aliases=["qs"];function ae(y){(function(b){function me(At,at){return At.replace(/<<(\d+)>>/g,function(tt,Je){return"(?:"+at[+Je]+")"})}function le(At,at,tt){return RegExp(me(At,at),tt||"")}function pe(At,at){for(var tt=0;tt<at;tt++)At=At.replace(/<<self>>/g,function(){return"(?:"+At+")"});return At.replace(/<<self>>/g,"[^\\s\\S]")}var be={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function fe(At){return"\\b(?:"+At.trim().replace(/ /g,"|")+")\\b"}var we=RegExp(fe(be.type+" "+be.other)),Oe=/\b[A-Za-z_]\w*\b/.source,Re=me(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[Oe]),xe={keyword:we,punctuation:/[<>()?,.:[\]]/},Ge=/"(?:\\.|[^\\"])*"/.source;b.languages.qsharp=b.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[Ge]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Re]),lookbehind:!0,inside:xe},{pattern:le(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Re]),lookbehind:!0,inside:xe}],keyword:we,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),b.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Fe=pe(me(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[Ge]),2);b.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:le(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Fe]),greedy:!0,inside:{interpolation:{pattern:le(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Fe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:b.languages.qsharp}}},string:/[\s\S]+/}}})})(y),y.languages.qs=y.languages.qsharp}},44298:function(Ce){"use strict";Ce.exports=ae,ae.displayName="r",ae.aliases=[];function ae(y){y.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=me,me.displayName="racket",me.aliases=["rkt"];function me(le){le.register(b),le.languages.racket=le.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),le.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),le.languages.rkt=le.languages.racket}},75266:function(Ce){"use strict";Ce.exports=ae,ae.displayName="reason",ae.aliases=[];function ae(y){y.languages.reason=y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete y.languages.reason.function}},48139:function(Ce){"use strict";Ce.exports=ae,ae.displayName="regex",ae.aliases=[];function ae(y){(function(b){var me={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},le=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,pe={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},be={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},fe="(?:[^\\\\-]|"+le.source+")",we=RegExp(fe+"-"+fe),Oe={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};b.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:we,inside:{escape:le,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":me,"char-set":be,escape:le}},"special-escape":me,"char-set":pe,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":Oe}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:le,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":Oe}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(y)}},97534:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rego",ae.aliases=[];function ae(y){y.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(Ce){"use strict";Ce.exports=ae,ae.displayName="renpy",ae.aliases=["rpy"];function ae(y){y.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},y.languages.rpy=y.languages.renpy}},63919:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rest",ae.aliases=[];function ae(y){y.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rip",ae.aliases=[];function ae(y){y.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(Ce){"use strict";Ce.exports=ae,ae.displayName="roboconf",ae.aliases=[];function ae(y){y.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(Ce){"use strict";Ce.exports=ae,ae.displayName="robotframework",ae.aliases=[];function ae(y){(function(b){var me={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},le={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function pe(Oe,Re){var xe={};xe["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Ge in Re)xe[Ge]=Re[Ge];return xe.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},xe.variable=le,xe.comment=me,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return Oe}),"im"),alias:"section",inside:xe}}var be={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},fe={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:le}},we={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:le}};b.languages.robotframework={settings:pe("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:pe("Variables"),"test-cases":pe("Test Cases",{"test-name":fe,documentation:be,property:we}),keywords:pe("Keywords",{"keyword-name":fe,documentation:be,property:we}),tasks:pe("Tasks",{"task-name":fe,documentation:be,property:we}),comment:me},b.languages.robot=b.languages.robotframework})(y)}},75308:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ruby",ae.aliases=["rb"];function ae(y){(function(b){b.languages.ruby=b.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),b.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var me={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:b.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete b.languages.ruby.function;var le="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",pe=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;b.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+le+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:me,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:me,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+pe),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+pe+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),b.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+le),greedy:!0,inside:{interpolation:me,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:me,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:me,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+le),greedy:!0,inside:{interpolation:me,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:me,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete b.languages.ruby.string,b.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),b.languages.rb=b.languages.ruby})(y)}},45315:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rust",ae.aliases=[];function ae(y){(function(b){for(var me=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,le=0;le<2;le++)me=me.replace(/<self>/g,function(){return me});me=me.replace(/<self>/g,function(){return/[^\s\S]/.source}),b.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+me),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},b.languages.rust["closure-params"].inside.rest=b.languages.rust,b.languages.rust.attribute.inside.string=b.languages.rust.string})(y)}},13794:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sas",ae.aliases=[];function ae(y){(function(b){var me=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,le=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,pe={pattern:RegExp(me+"[bx]"),alias:"number"},be={pattern:/&[a-z_]\w*/i},fe={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},we={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},Oe=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Re={pattern:RegExp(me),greedy:!0},xe=/[$%@.(){}\[\];,\\]/,Ge={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Fe={function:Ge,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":be,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re},At={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},at={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},tt={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Je={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},We=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,Ve={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return We}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return We}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:Oe,function:Ge,"arg-value":Fe["arg-value"],operator:Fe.operator,argument:Fe.arg,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},Ze={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};b.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return me}),"im"),alias:"language-sql",inside:b.languages.sql},"global-statements":tt,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return me}),"im"),lookbehind:!0,alias:"language-groovy",inside:b.languages.groovy},keyword:Ze,"submit-statement":Je,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return me}),"im"),lookbehind:!0,alias:"language-lua",inside:b.languages.lua},keyword:Ze,"submit-statement":Je,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Fe}},"cas-actions":Ve,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Fe},step:we,keyword:Ze,function:Ge,format:At,altformat:at,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return me}),"im"),lookbehind:!0,inside:Fe},"macro-keyword":fe,"macro-variable":be,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":fe,"macro-variable":be,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:xe}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:Oe,number:le,"numeric-constant":pe}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Fe},"cas-actions":Ve,comment:Oe,function:Ge,format:At,altformat:at,"numeric-constant":pe,datetime:{pattern:RegExp(me+"(?:dt?|t)"),alias:"number"},string:Re,step:we,keyword:Ze,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:le,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:xe}})(y)}},41299:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sass",ae.aliases=[];function ae(y){(function(b){b.languages.sass=b.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),b.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete b.languages.sass.atrule;var me=/\$[-\w]+|#\{\$[-\w]+\}/,le=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];b.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:me,operator:le}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:me,operator:le,important:b.languages.sass.important}}}),delete b.languages.sass.property,delete b.languages.sass.important,b.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(y)}},98177:function(Ce,ae,y){"use strict";var b=y(7093);Ce.exports=me,me.displayName="scala",me.aliases=[];function me(le){le.register(b),le.languages.scala=le.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),le.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:le.languages.scala}}},string:/[\s\S]+/}}}),delete le.languages.scala["class-name"],delete le.languages.scala.function}},48780:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scheme",ae.aliases=[];function ae(y){(function(b){b.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(me({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function me(le){for(var pe in le)le[pe]=le[pe].replace(/<[\w\s]+>/g,function(be){return"(?:"+le[be].trim()+")"});return le[pe]}})(y)}},79793:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scss",ae.aliases=[];function ae(y){y.languages.scss=y.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),y.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),y.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),y.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),y.languages.scss.atrule.inside.rest=y.languages.scss}},52085:function(Ce,ae,y){"use strict";var b=y(3058);Ce.exports=me,me.displayName="shellSession",me.aliases=[];function me(le){le.register(b),function(pe){var be=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");pe.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return be}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:pe.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},pe.languages["sh-session"]=pe.languages.shellsession=pe.languages["shell-session"]}(le)}},65411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smali",ae.aliases=[];function ae(y){y.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smalltalk",ae.aliases=[];function ae(y){y.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="smarty",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:pe.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},pe.languages.smarty["embedded-php"].inside.smarty.inside=pe.languages.smarty,pe.languages.smarty.string[0].inside.interpolation.inside.expression.inside=pe.languages.smarty;var be=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,fe=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return be.source}),"g");pe.hooks.add("before-tokenize",function(we){var Oe="{literal}",Re="{/literal}",xe=!1;pe.languages["markup-templating"].buildPlaceholders(we,"smarty",fe,function(Ge){return Ge===Re&&(xe=!1),xe?!1:(Ge===Oe&&(xe=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"smarty")})}(le)}},66433:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sml",ae.aliases=["smlnj"];function ae(y){(function(b){var me=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;b.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return me.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:me,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},b.languages.sml["class-name"][0].inside=b.languages.sml,b.languages.smlnj=b.languages.sml})(y)}},34855:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solidity",ae.aliases=["sol"];function ae(y){y.languages.solidity=y.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),y.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),y.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),y.languages.sol=y.languages.solidity}},12998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solutionFile",ae.aliases=[];function ae(y){(function(b){var me={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};b.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:me}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:me}},guid:me,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},b.languages.sln=b.languages["solution-file"]})(y)}},10202:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="soy",me.aliases=[];function me(le){le.register(b),function(pe){var be=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,fe=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;pe.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:be,greedy:!0},number:fe,punctuation:/[\[\].?]/}},string:{pattern:be,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:fe,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},pe.hooks.add("before-tokenize",function(we){var Oe=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Re="{literal}",xe="{/literal}",Ge=!1;pe.languages["markup-templating"].buildPlaceholders(we,"soy",Oe,function(Fe){return Fe===xe&&(Ge=!1),Ge?!1:(Fe===Re&&(Ge=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"soy")})}(le)}},41186:function(Ce,ae,y){"use strict";var b=y(58710);Ce.exports=me,me.displayName="sparql",me.aliases=["rq"];function me(le){le.register(b),le.languages.sparql=le.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),le.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),le.languages.rq=le.languages.sparql}},68963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="splunkSpl",ae.aliases=[];function ae(y){y.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sqf",ae.aliases=[];function ae(y){y.languages.sqf=y.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),y.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:y.languages.sqf.comment}}}),delete y.languages.sqf["class-name"]}},69435:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sql",ae.aliases=[];function ae(y){y.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(Ce){"use strict";Ce.exports=ae,ae.displayName="squirrel",ae.aliases=[];function ae(y){y.languages.squirrel=y.languages.extend("clike",{comment:[y.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),y.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),y.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stan",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;b.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+me.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,me],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},b.languages.stan.constraint.inside.expression.inside=b.languages.stan})(y)}},89032:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stylus",ae.aliases=[];function ae(y){(function(b){var me={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},le={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},pe={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:me,number:le,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:me,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:le,punctuation:/[{}()\[\];:,]/};pe.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:pe}},pe.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:pe}},b.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:pe}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:pe}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:pe}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:pe.interpolation}},rest:pe}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:pe.interpolation,comment:pe.comment,punctuation:/[{},]/}},func:pe.func,string:pe.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:pe.interpolation,punctuation:/[{}()\[\];:.]/}})(y)}},40241:function(Ce){"use strict";Ce.exports=ae,ae.displayName="swift",ae.aliases=[];function ae(y){y.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},y.languages.swift["string-literal"].forEach(function(b){b.inside.interpolation.inside=y.languages.swift})}},24812:function(Ce){"use strict";Ce.exports=ae,ae.displayName="systemd",ae.aliases=[];function ae(y){(function(b){var me={pattern:/^[;#].*/m,greedy:!0},le=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;b.languages.systemd={comment:me,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+le+`|(?=[^"\r
|
|
|
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+le+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:me,quoted:{pattern:RegExp(/(^|\s)/.source+le),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(y)}},16747:function(Ce,ae,y){"use strict";var b=y(73584),me=y(87648);Ce.exports=le,le.displayName="t4Cs",le.aliases=[];function le(pe){pe.register(b),pe.register(me),pe.languages.t4=pe.languages["t4-cs"]=pe.languages["t4-templating"].createT4("csharp")}},73584:function(Ce){"use strict";Ce.exports=ae,ae.displayName="t4Templating",ae.aliases=[];function ae(y){(function(b){function me(pe,be,fe){return{pattern:RegExp("<#"+pe+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+pe+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:be,alias:fe}}}}function le(pe){var be=b.languages[pe],fe="language-"+pe;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:me("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:me("=",be,fe),"class-feature":me("\\+",be,fe),standard:me("",be,fe)}}}}b.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:le})})(y)}},79243:function(Ce,ae,y){"use strict";var b=y(73584),me=y(55686);Ce.exports=le,le.displayName="t4Vb",le.aliases=[];function le(pe){pe.register(b),pe.register(me),pe.languages["t4-vb"]=pe.languages["t4-templating"].createT4("vbnet")}},31788:function(Ce,ae,y){"use strict";var b=y(14409);Ce.exports=me,me.displayName="tap",me.aliases=[];function me(le){le.register(b),le.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:le.languages.yaml,alias:"language-yaml"}}}},60871:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tcl",ae.aliases=[];function ae(y){y.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(Ce){"use strict";Ce.exports=ae,ae.displayName="textile",ae.aliases=[];function ae(y){(function(b){var me=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,le=/\)|\((?![^|()\n]+\))/.source;function pe(Ge,Fe){return RegExp(Ge.replace(/<MOD>/g,function(){return"(?:"+me+")"}).replace(/<PAR>/g,function(){return"(?:"+le+")"}),Fe||"")}var be={css:{pattern:/\{[^{}]+\}/,inside:{rest:b.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},fe=b.languages.textile=b.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:pe(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:pe(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:be},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:pe(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:pe(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:be},punctuation:/^[*#]+/}},table:{pattern:pe(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:pe(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:be},punctuation:/\||^\./}},inline:{pattern:pe(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:pe(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:pe(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:pe(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:pe(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:pe(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:pe(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:pe(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:pe(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:be},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:pe(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:pe(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:pe(/(^")<MOD>+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:pe(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:pe(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:pe(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),we=fe.phrase.inside,Oe={inline:we.inline,link:we.link,image:we.image,footnote:we.footnote,acronym:we.acronym,mark:we.mark};fe.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Re=we.inline.inside;Re.bold.inside=Oe,Re.italic.inside=Oe,Re.inserted.inside=Oe,Re.deleted.inside=Oe,Re.span.inside=Oe;var xe=we.table.inside;xe.inline=Oe.inline,xe.link=Oe.link,xe.image=Oe.image,xe.footnote=Oe.footnote,xe.acronym=Oe.acronym,xe.mark=Oe.mark})(y)}},14693:function(Ce){"use strict";Ce.exports=ae,ae.displayName="toml",ae.aliases=[];function ae(y){(function(b){var me=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function le(pe){return pe.replace(/__/g,function(){return me})}b.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(le(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(le(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(y)}},8743:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tremor",ae.aliases=[];function ae(y){(function(b){b.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var me=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;b.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+me+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+me+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(me),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.tremor}}},string:/[\s\S]+/}},b.languages.troy=b.languages.tremor,b.languages.trickle=b.languages.tremor})(y)}},1689:function(Ce,ae,y){"use strict";var b=y(24103),me=y(92784);Ce.exports=le,le.displayName="tsx",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=be.util.clone(be.languages.typescript);be.languages.tsx=be.languages.extend("jsx",fe),delete be.languages.tsx.parameter,delete be.languages.tsx["literal-property"];var we=be.languages.tsx.tag;we.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+we.pattern.source+")",we.pattern.flags),we.lookbehind=!0}(pe)}},69210:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="tt2",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.tt2=pe.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),pe.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),pe.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),pe.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete pe.languages.tt2.string,pe.hooks.add("before-tokenize",function(be){var fe=/\[%[\s\S]+?%\]/g;pe.languages["markup-templating"].buildPlaceholders(be,"tt2",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"tt2")})}(le)}},58710:function(Ce){"use strict";Ce.exports=ae,ae.displayName="turtle",ae.aliases=[];function ae(y){y.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},y.languages.trig=y.languages.turtle}},60452:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="twig",me.aliases=[];function me(le){le.register(b),le.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},le.hooks.add("before-tokenize",function(pe){if(pe.language==="twig"){var be=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;le.languages["markup-templating"].buildPlaceholders(pe,"twig",be)}}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"twig")})}},92784:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typescript",ae.aliases=["ts"];function ae(y){(function(b){b.languages.typescript=b.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),b.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete b.languages.typescript.parameter,delete b.languages.typescript["literal-property"];var me=b.languages.extend("typescript",{});delete me["class-name"],b.languages.typescript["class-name"].inside=me,b.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:me}}}}),b.languages.ts=b.languages.typescript})(y)}},36489:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typoscript",ae.aliases=["tsconfig"];function ae(y){(function(b){var me=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;b.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:me}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:me,number:/^\d+$/,punctuation:/[,|:]/}},keyword:me,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},b.languages.tsconfig=b.languages.typoscript})(y)}},78380:function(Ce){"use strict";Ce.exports=ae,ae.displayName="unrealscript",ae.aliases=["uc","uscript"];function ae(y){y.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},y.languages.uc=y.languages.uscript=y.languages.unrealscript}},10409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uorazor",ae.aliases=[];function ae(y){y.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uri",ae.aliases=["url"];function ae(y){y.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},y.languages.url=y.languages.uri}},82028:function(Ce){"use strict";Ce.exports=ae,ae.displayName="v",ae.aliases=[];function ae(y){(function(b){var me={pattern:/[\s\S]+/,inside:null};b.languages.v=b.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":me}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),me.inside=b.languages.v,b.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),b.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),b.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:b.languages.v.generic.inside}}}})})(y)}},62282:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vala",ae.aliases=[];function ae(y){y.languages.vala=y.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),y.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:y.languages.vala}},string:/[\s\S]+/}}}),y.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(Ce,ae,y){"use strict";var b=y(51422);Ce.exports=me,me.displayName="vbnet",me.aliases=[];function me(le){le.register(b),le.languages.vbnet=le.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="velocity",ae.aliases=[];function ae(y){(function(b){b.languages.velocity=b.languages.extend("markup",{});var me={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};me.variable.inside={string:me.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:me.number,boolean:me.boolean,punctuation:me.punctuation},b.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:me}},variable:me.variable}),b.languages.velocity.tag.inside["attr-value"].inside.rest=b.languages.velocity})(y)}},37116:function(Ce){"use strict";Ce.exports=ae,ae.displayName="verilog",ae.aliases=[];function ae(y){y.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vhdl",ae.aliases=[];function ae(y){y.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vim",ae.aliases=[];function ae(y){y.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(Ce){"use strict";Ce.exports=ae,ae.displayName="visualBasic",ae.aliases=[];function ae(y){y.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},y.languages.vb=y.languages["visual-basic"],y.languages.vba=y.languages["visual-basic"]}},17723:function(Ce){"use strict";Ce.exports=ae,ae.displayName="warpscript",ae.aliases=[];function ae(y){y.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wasm",ae.aliases=[];function ae(y){y.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(Ce){"use strict";Ce.exports=ae,ae.displayName="webIdl",ae.aliases=[];function ae(y){(function(b){var me=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,le="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+me+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,pe={};b.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+me),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp("("+/\bcallback\s+/.source+me+/\s*=\s*/.source+")"+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\btypedef\b\s*)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+me),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+me),lookbehind:!0},RegExp(me+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+me),lookbehind:!0},{pattern:RegExp(le+"(?="+/\s*(?:\.{3}\s*)?/.source+me+/\s*[(),;=]/.source+")"),inside:pe}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var be in b.languages["web-idl"])be!=="class-name"&&(pe[be]=b.languages["web-idl"][be]);b.languages.webidl=b.languages["web-idl"]})(y)}},8921:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wiki",ae.aliases=[];function ae(y){y.languages.wiki=y.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:y.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),y.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:y.languages.markup.tag.inside}}}})}},13429:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wolfram",ae.aliases=["mathematica","wl","nb"];function ae(y){y.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.mathematica=y.languages.wolfram,y.languages.wl=y.languages.wolfram,y.languages.nb=y.languages.wolfram}},65197:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wren",ae.aliases=[];function ae(y){y.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},y.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:y.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xeora",ae.aliases=["xeoracube"];function ae(y){(function(b){b.languages.xeora=b.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),b.languages.insertBefore("inside","punctuation",{variable:b.languages.xeora["function-inline"].inside.variable},b.languages.xeora["function-block"]),b.languages.xeoracube=b.languages.xeora})(y)}},35:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xmlDoc",ae.aliases=[];function ae(y){(function(b){function me(fe,we){b.languages[fe]&&b.languages.insertBefore(fe,"comment",{"doc-comment":we})}var le=b.languages.markup.tag,pe={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:le}},be={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:le}};me("csharp",pe),me("fsharp",pe),me("vbnet",be)})(y)}},86095:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xojo",ae.aliases=[];function ae(y){y.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xquery",ae.aliases=[];function ae(y){(function(b){b.languages.xquery=b.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),b.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,b.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,b.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,b.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:b.languages.xquery,alias:"language-xquery"};var me=function(pe){return typeof pe=="string"?pe:typeof pe.content=="string"?pe.content:pe.content.map(me).join("")},le=function(pe){for(var be=[],fe=0;fe<pe.length;fe++){var we=pe[fe],Oe=!1;if(typeof we!="string"&&(we.type==="tag"&&we.content[0]&&we.content[0].type==="tag"?we.content[0].content[0].content==="</"?be.length>0&&be[be.length-1].tagName===me(we.content[0].content[1])&&be.pop():we.content[we.content.length-1].content==="/>"||be.push({tagName:me(we.content[0].content[1]),openedBraces:0}):be.length>0&&we.type==="punctuation"&&we.content==="{"&&(!pe[fe+1]||pe[fe+1].type!=="punctuation"||pe[fe+1].content!=="{")&&(!pe[fe-1]||pe[fe-1].type!=="plain-text"||pe[fe-1].content!=="{")?be[be.length-1].openedBraces++:be.length>0&&be[be.length-1].openedBraces>0&&we.type==="punctuation"&&we.content==="}"?be[be.length-1].openedBraces--:we.type!=="comment"&&(Oe=!0)),(Oe||typeof we=="string")&&be.length>0&&be[be.length-1].openedBraces===0){var Re=me(we);fe<pe.length-1&&(typeof pe[fe+1]=="string"||pe[fe+1].type==="plain-text")&&(Re+=me(pe[fe+1]),pe.splice(fe+1,1)),fe>0&&(typeof pe[fe-1]=="string"||pe[fe-1].type==="plain-text")&&(Re=me(pe[fe-1])+Re,pe.splice(fe-1,1),fe--),/^\s+$/.test(Re)?pe[fe]=Re:pe[fe]=new b.Token("plain-text",Re,null,Re)}we.content&&typeof we.content!="string"&&le(we.content)}};b.hooks.add("after-tokenize",function(pe){pe.language==="xquery"&&le(pe.tokens)})})(y)}},14409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yaml",ae.aliases=["yml"];function ae(y){(function(b){var me=/[*&][^\s[\]{},]+/,le=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,pe="(?:"+le.source+"(?:[ ]+"+me.source+")?|"+me.source+"(?:[ ]+"+le.source+")?)",be=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),fe=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function we(Oe,Re){Re=(Re||"").replace(/m/g,"")+"m";var xe=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return pe}).replace(/<<value>>/g,function(){return Oe});return RegExp(xe,Re)}b.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return pe})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return pe}).replace(/<<key>>/g,function(){return"(?:"+be+"|"+fe+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:we(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:we(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:we(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:we(fe),lookbehind:!0,greedy:!0},number:{pattern:we(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:le,important:me,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},b.languages.yml=b.languages.yaml})(y)}},33460:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yang",ae.aliases=[];function ae(y){y.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(Ce){"use strict";Ce.exports=ae,ae.displayName="zig",ae.aliases=[];function ae(y){(function(b){function me(Re){return function(){return Re}}var le=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,pe="\\b(?!"+le.source+")(?!\\d)\\w+\\b",be=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,fe=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,me(be)),we=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,me(pe)),Oe="(?!\\s)(?:!?\\s*(?:"+fe+"\\s*)*"+we+")+";b.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,me(Oe)).replace(/<ALIGN>/g,me(be))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,me(Oe)).replace(/<ALIGN>/g,me(be))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:le,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},b.languages.zig["class-name"].forEach(function(Re){Re.inside===null&&(Re.inside=b.languages.zig)})})(y)}},92848:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b="",me=" ",le=/[ \t\n\r\f]+/g;function pe(fe){var we=String(fe||b).trim();return we===b?[]:we.split(le)}function be(fe){return fe.join(me).trim()}},24177:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(be){return be&&be.__esModule?be:{default:be}},me=b(y(39534)),le=y(30883);function pe(be,fe){var we={};return!be||typeof be!="string"||(0,me.default)(be,function(Oe,Re){Oe&&Re&&(we[(0,le.camelCase)(Oe,fe)]=Re)}),we}pe.default=pe,Ce.exports=pe},30883:function(Ce,ae){"use strict";Object.defineProperty(ae,"__esModule",{value:!0}),ae.camelCase=void 0;var y=/^--[a-zA-Z0-9_-]+$/,b=/-([a-z])/g,me=/^[^-]+$/,le=/^-(webkit|moz|ms|o|khtml)-/,pe=/^-(ms)-/,be=function(Re){return!Re||me.test(Re)||y.test(Re)},fe=function(Re,xe){return xe.toUpperCase()},we=function(Re,xe){return"".concat(xe,"-")},Oe=function(Re,xe){return xe===void 0&&(xe={}),be(Re)?Re:(Re=Re.toLowerCase(),xe.reactCompat?Re=Re.replace(pe,we):Re=Re.replace(le,we),Re.replace(b,fe))};ae.camelCase=Oe},39534:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(pe){return pe&&pe.__esModule?pe:{default:pe}};Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=le;const me=b(y(60976));function le(pe,be){let fe=null;if(!pe||typeof pe!="string")return fe;const we=(0,me.default)(pe),Oe=typeof be=="function";return we.forEach(Re=>{if(Re.type!=="declaration")return;const{property:xe,value:Ge}=Re;Oe?be(xe,Ge,Re):Ge&&(fe=fe||{},fe[xe]=Ge)}),fe}},97270:function(Ce){Ce.exports=y;var ae=Object.prototype.hasOwnProperty;function y(){for(var b={},me=0;me<arguments.length;me++){var le=arguments[me];for(var pe in le)ae.call(le,pe)&&(b[pe]=le[pe])}return b}},2331:function(Ce,ae,y){var b={"./doc.svg":70320,"./docx.svg":52188,"./md.svg":44398,"./pdf.svg":27818,"./txt.svg":51597,"./xls.svg":15144,"./xlsx.svg":27098};function me(pe){var be=le(pe);return y(be)}function le(pe){if(!y.o(b,pe)){var be=new Error("Cannot find module '"+pe+"'");throw be.code="MODULE_NOT_FOUND",be}return b[pe]}me.keys=function(){return Object.keys(b)},me.resolve=le,Ce.exports=me,me.id=2331},70320:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/doc.b338bd24.svg"},52188:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/docx.048afd12.svg"},44398:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/md.a2abc2ce.svg"},27818:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/pdf.679109d3.svg"},51597:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/txt.b7dfa7b3.svg"},15144:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/xls.8d4c55bf.svg"},27098:function(Ce,ae,y){"use strict";Ce.exports=y.p+"static/xlsx.33023e0e.svg"},4977:function(Ce){"use strict";Ce.exports="data:image/png;base64,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"},81694:function(Ce){"use strict";Ce.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA30lEQVR4AayT3Q2DMAyECSvBe2EywmRkAJgp/c7FVRClavqjnnyyfRfjQNt1Xf4FbfP4pRDCHCohqRlIuK5rrAHiBBozEPkW/zfo+34A0SeCD+IexUucJsg5Tznnm5oQRfjikdtalC9xMKBRpwnWg3jyBSuSfE7HwnVz48FgT85qBI1E5KKMSzPVBGrpYLAnI8LR+R7Ttm0BQbkb4ycDFyhegYlMrPpLAxWugHjQ4/g01QYY25K5kSwzM5AjieUdaLaxdTI7su8Gbku0dxrnqj9iM2zZ7vgJXMAkg3OdeAcAAP//EkJXrwAAAAZJREFUAwALcNL9RZCtAwAAAABJRU5ErkJggg=="},21373:function(Ce){"use strict";Ce.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFeUlEQVR4AbxXe2xTVRj/zm336EbXdlvH2GQbL3kMRsdA5ekIj4hGICFAQJSsQwQBI0SNf5lFEx8xiFEB/YMCAv4BRIUQ0cUICTPLsrh1RZLiYEvZqzLH1q5bb2/vvcfvtOvW2nvXLiHe3O+e7/6+x/nd73z33JaDCR6Vb7YbLdUtb5VbWxrLq+yecqt9wGK1N+B4pGLvfcME00HSBCr2dmfgJO8OeDztINNPKaWLKUAWpWAACk/heFQSfW2LqhzvLD3coYMkj4QEttb8mbrI6jggB3vv4yQfYV4jivJJabYM8ie8p+8ekt1XsZemKDuOoaoEamooV25teaX1geSUqfwVBZo/Fja+hkQLUE5KosOJ5F9iudQiFAlUVDs2/+hqcWCZzwKl09SCE+KUTkfy56+4HHZ8mI1K/jEEyqtb1rCGkmT5B3QuRXksJ1ZvAT7MlfKqlvrFe25XRicNEWDdiwy/ozL9lTVUtMPj1JHIM6Ik3bBU288ttzr1LDfHGkUWfVeR4Q4G/C8iw64h4K9U1lAtJwcd+3HyVWoTcwQgz5SwmePCzUZtDJZlSIGSGZlQajFAxVITPL08Z3WhyWXjgFBrjGfUjUmvgYvvz4Zfjs6DQnNqlGV8dcfaXKj9rBRq9kwNTVi5Pg+WPpsDs0v18ESRDnLNaWDMTgGjSbuFA0pmg8qxY60ZivPT4IvLPdDzj6DiFQtrNARud/Ngd/lh07JsWDJfD2npXKzTyJ0uU6vjsDHSR+7jhhKc/O4DP5z+6SHINM4cAgyZGti9wQz6LC3MKc2CyvVmKJw5CX52+kJ2M1YxpChcNBwQTgEfhTi0Smozj3jt25wPh7ZMgTXrsFozMkCbgkFoi4QRIHinfoa91e3jWliPbF6ZDQ2tQ+APqpRo3AyQ/MdIKc9O7JH0VA4aOnglc1KYagVycE0tMzNhyC8rJsrAxtq+Jhea2obhb58U5yNIFPuGwvyCtDhbNKBKYG6JDnLw3b3X5QelY+vqHNBnaKAem1TJzuOSeJD8k3mpwPYSJR+GqRKocwyCHdd2IVaBOUZLipbALux2ZycPHQNitGlU12OFTEiw1jmElRiF4xRVAsyzzxtkQ5xsXG6CXKzO767hOFsEICOKj1dewhEzjEsg4hQ9snLu3pAHrocBaO1VJhjtn0ifMIF1S4wwNS8NbrUr90aiCf9rZw+kmmkYy8dKrdWMhb2wzARdvQLc6QmMgQqaURcOCojqSyDLQHErhrsK8SGINWJBbipc/XgumPThr9uJ791w4FgbjLftzJmcCq+uMIFfkMH1SH2Z+GHJz+FxKjSbwqW2cQA+PNcJd9qHITjyJE587VzuAOCPF4WIMMR2RSf62Or7gelhNP7q9YrXuKypC74mQH6LN4eRSzf64O0TLvDhOx1GwldBUK8Be+oLjR7o6Fd+RVmGQa/YT+YV7eZu1hDRoNNswm/GGWZIVvz++N0v2diBR0KblxdLz6wmfOgtuHlivs9us1Thp3wlVuNWMolw/ZJxi/Hx+aTBzi7/4W+qi2acf62khxlDBJjC5A+bpa759MJVhHDPAyHNDFMTfgIV8A9L/p5O4YPjLxdmXTg47fPonDEEIoZmW9n15lNlFRzRbEcif0Xw6NHnE6NvFXUhIAvdHcLxFTsL9N8eKnpPyUmRAHMkhNAm24KLs54rm4f6HlyaDoZHxOtRJ4ANKrm7Axf6J08xnHuj6OA2QlQbRpVAZKJL24jUbFt4Kn9SxiwOuCOEQC+zDQ2KgH+/mDoqokhltztwje/Tmc8eKN7FmmzUqKIkJBCJu/7lrEDT6bJjhnTtdNw7DuFPrrpBrxAMCrLsG5S87i7+srtHKj67v/jFk68b+yNxicZ/AQAA//8saAIFAAAABklEQVQDAKEhEROtXVsXAAAAAElFTkSuQmCC"},90302:function(Ce,ae,y){"use strict";y.d(ae,{ZP:function(){return ze}});const b=-1,me=0,le=1,pe=2,be=3,fe=4,we=5,Oe=6,Re=7,xe=8,Ge=typeof self=="object"?self:globalThis,Fe=(_e,$e)=>{const nt=(it,Nt)=>(_e.set(Nt,it),it),bt=it=>{if(_e.has(it))return _e.get(it);const[Nt,vt]=$e[it];switch(Nt){case me:case b:return nt(vt,it);case le:{const dt=nt([],it);for(const It of vt)dt.push(bt(It));return dt}case pe:{const dt=nt({},it);for(const[It,St]of vt)dt[bt(It)]=bt(St);return dt}case be:return nt(new Date(vt),it);case fe:{const{source:dt,flags:It}=vt;return nt(new RegExp(dt,It),it)}case we:{const dt=nt(new Map,it);for(const[It,St]of vt)dt.set(bt(It),bt(St));return dt}case Oe:{const dt=nt(new Set,it);for(const It of vt)dt.add(bt(It));return dt}case Re:{const{name:dt,message:It}=vt;return nt(new Ge[dt](It),it)}case xe:return nt(BigInt(vt),it);case"BigInt":return nt(Object(BigInt(vt)),it);case"ArrayBuffer":return nt(new Uint8Array(vt).buffer,vt);case"DataView":{const{buffer:dt}=new Uint8Array(vt);return nt(new DataView(dt),vt)}}return nt(new Ge[Nt](vt),it)};return bt},At=_e=>Fe(new Map,_e)(0),at="",{toString:tt}={},{keys:Je}=Object,We=_e=>{const $e=typeof _e;if($e!=="object"||!_e)return[me,$e];const nt=tt.call(_e).slice(8,-1);switch(nt){case"Array":return[le,at];case"Object":return[pe,at];case"Date":return[be,at];case"RegExp":return[fe,at];case"Map":return[we,at];case"Set":return[Oe,at];case"DataView":return[le,nt]}return nt.includes("Array")?[le,nt]:nt.includes("Error")?[Re,nt]:[pe,nt]},Ve=([_e,$e])=>_e===me&&($e==="function"||$e==="symbol"),Ze=(_e,$e,nt,bt)=>{const it=(vt,dt)=>{const It=bt.push(vt)-1;return nt.set(dt,It),It},Nt=vt=>{if(nt.has(vt))return nt.get(vt);let[dt,It]=We(vt);switch(dt){case me:{let qe=vt;switch(It){case"bigint":dt=xe,qe=vt.toString();break;case"function":case"symbol":if(_e)throw new TypeError("unable to serialize "+It);qe=null;break;case"undefined":return it([b],vt)}return it([dt,qe],vt)}case le:{if(It){let Rt=vt;return It==="DataView"?Rt=new Uint8Array(vt.buffer):It==="ArrayBuffer"&&(Rt=new Uint8Array(vt)),it([It,[...Rt]],vt)}const qe=[],Jt=it([dt,qe],vt);for(const Rt of vt)qe.push(Nt(Rt));return Jt}case pe:{if(It)switch(It){case"BigInt":return it([It,vt.toString()],vt);case"Boolean":case"Number":case"String":return it([It,vt.valueOf()],vt)}if($e&&"toJSON"in vt)return Nt(vt.toJSON());const qe=[],Jt=it([dt,qe],vt);for(const Rt of Je(vt))(_e||!Ve(We(vt[Rt])))&&qe.push([Nt(Rt),Nt(vt[Rt])]);return Jt}case be:return it([dt,vt.toISOString()],vt);case fe:{const{source:qe,flags:Jt}=vt;return it([dt,{source:qe,flags:Jt}],vt)}case we:{const qe=[],Jt=it([dt,qe],vt);for(const[Rt,Zt]of vt)(_e||!(Ve(We(Rt))||Ve(We(Zt))))&&qe.push([Nt(Rt),Nt(Zt)]);return Jt}case Oe:{const qe=[],Jt=it([dt,qe],vt);for(const Rt of vt)(_e||!Ve(We(Rt)))&&qe.push(Nt(Rt));return Jt}}const{message:St}=vt;return it([dt,{name:It,message:St}],vt)};return Nt},Qe=(_e,{json:$e,lossy:nt}={})=>{const bt=[];return Ze(!($e||nt),!!$e,new Map,bt)(_e),bt};var ze=typeof structuredClone=="function"?(_e,$e)=>$e&&("json"in $e||"lossy"in $e)?At(Qe(_e,$e)):structuredClone(_e):(_e,$e)=>At(Qe(_e,$e))},11630:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return me},Q:function(){return b}});function b(le){const pe=[],be=String(le||"");let fe=be.indexOf(","),we=0,Oe=!1;for(;!Oe;){fe===-1&&(fe=be.length,Oe=!0);const Re=be.slice(we,fe).trim();(Re||!Oe)&&pe.push(Re),we=fe+1,fe=be.indexOf(",",we)}return pe}function me(le,pe){const be=pe||{};return(le[le.length-1]===""?[...le,""]:le).join((be.padRight?" ":"")+","+(be.padLeft===!1?"":" ")).trim()}},87342:function(Ce,ae,y){"use strict";y.d(ae,{ok:function(){return le},t1:function(){return pe}});function b(be){return be}function me(){}function le(){}function pe(){}},40797:function(Ce,ae,y){"use strict";y.d(ae,{N:function(){return At}});var b=y(81994),me=y(43309);function le(tt,Je){return pe(tt,Je||{})||{type:"root",children:[]}}function pe(tt,Je){const We=be(tt,Je);return We&&Je.afterTransform&&Je.afterTransform(tt,We),We}function be(tt,Je){switch(tt.nodeType){case 1:return xe(tt,Je);case 3:return Oe(tt);case 8:return Re(tt);case 9:return fe(tt,Je);case 10:return we();case 11:return fe(tt,Je);default:return}}function fe(tt,Je){return{type:"root",children:Ge(tt,Je)}}function we(){return{type:"doctype"}}function Oe(tt){return{type:"text",value:tt.nodeValue||""}}function Re(tt){return{type:"comment",value:tt.nodeValue||""}}function xe(tt,Je){const We=tt.namespaceURI,Ve=We===me.t.svg?b.s:b.h,Ze=We===me.t.html?tt.tagName.toLowerCase():tt.tagName,Qe=We===me.t.html&&Ze==="template"?tt.content:tt,ze=tt.getAttributeNames(),_e={};let $e=-1;for(;++$e<ze.length;)_e[ze[$e]]=tt.getAttribute(ze[$e])||"";return Ve(Ze,_e,Ge(Qe,Je))}function Ge(tt,Je){const We=tt.childNodes,Ve=[];let Ze=-1;for(;++Ze<We.length;){const Qe=pe(We[Ze],Je);Qe!==void 0&&Ve.push(Qe)}return Ve}const Fe=new DOMParser;function At(tt,Je){const We=Je!=null&&Je.fragment?at(tt):Fe.parseFromString(tt,"text/html");return le(We)}function at(tt){const Je=document.createElement("template");return Je.innerHTML=tt,Je.content}},91378:function(Ce,ae,y){"use strict";y.d(ae,{l:function(){return Ve}});var b=y(33511);const me=function(vt,dt,It){const St=(0,b.O)(It);if(!vt||!vt.type||!vt.children)throw new Error("Expected parent node");if(typeof dt=="number"){if(dt<0||dt===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(dt=vt.children.indexOf(dt),dt<0)throw new Error("Expected child node or index");for(;++dt<vt.children.length;)if(St(vt.children[dt],dt,vt))return vt.children[dt]},le=function(vt,dt,It,St,qe){const Jt=pe(dt);if(It!=null&&(typeof It!="number"||It<0||It===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(St!=null&&(!St.type||!St.children))throw new Error("Expected valid `parent`");if(It==null!=(St==null))throw new Error("Expected both `index` and `parent`");return Re(vt)?Jt.call(qe,vt,It,St):!1},pe=function(vt){if(vt==null)return Oe;if(typeof vt=="string")return fe(vt);if(typeof vt=="object")return be(vt);if(typeof vt=="function")return we(vt);throw new Error("Expected function, string, or array as `test`")};function be(vt){const dt=[];let It=-1;for(;++It<vt.length;)dt[It]=pe(vt[It]);return we(St);function St(...qe){let Jt=-1;for(;++Jt<dt.length;)if(dt[Jt].apply(this,qe))return!0;return!1}}function fe(vt){return we(dt);function dt(It){return It.tagName===vt}}function we(vt){return dt;function dt(It,St,qe){return!!(Re(It)&&vt.call(this,It,typeof St=="number"?St:void 0,qe||void 0))}}function Oe(vt){return!!(vt&&typeof vt=="object"&&"type"in vt&&vt.type==="element"&&"tagName"in vt&&typeof vt.tagName=="string")}function Re(vt){return vt!==null&&typeof vt=="object"&&"type"in vt&&"tagName"in vt}const xe=/\n/g,Ge=/[\t ]+/g,Fe=pe("br"),At=pe(it),at=pe("p"),tt=pe("tr"),Je=pe(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",bt,Nt]),We=pe(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Ve(vt,dt){const It=dt||{},St="children"in vt?vt.children:[],qe=We(vt),Jt=nt(vt,{whitespace:It.whitespace||"normal",breakBefore:!1,breakAfter:!1}),Rt=[];(vt.type==="text"||vt.type==="comment")&&Rt.push(...ze(vt,{whitespace:Jt,breakBefore:!0,breakAfter:!0}));let Zt=-1;for(;++Zt<St.length;)Rt.push(...Ze(St[Zt],vt,{whitespace:Jt,breakBefore:Zt?void 0:qe,breakAfter:Zt<St.length-1?Fe(St[Zt+1]):qe}));const Tn=[];let Tt;for(Zt=-1;++Zt<Rt.length;){const Ye=Rt[Zt];typeof Ye=="number"?Tt!==void 0&&Ye>Tt&&(Tt=Ye):Ye&&(Tt!==void 0&&Tt>-1&&Tn.push(`
|
|
|
`.repeat(Tt)||" "),Tt=-1,Tn.push(Ye))}return Tn.join("")}function Ze(vt,dt,It){return vt.type==="element"?Qe(vt,dt,It):vt.type==="text"?It.whitespace==="normal"?ze(vt,It):_e(vt):[]}function Qe(vt,dt,It){const St=nt(vt,It),qe=vt.children||[];let Jt=-1,Rt=[];if(Je(vt))return Rt;let Zt,Tn;for(Fe(vt)||tt(vt)&&me(dt,vt,tt)?Tn=`
|
|
|
`:at(vt)?(Zt=2,Tn=2):We(vt)&&(Zt=1,Tn=1);++Jt<qe.length;)Rt=Rt.concat(Ze(qe[Jt],vt,{whitespace:St,breakBefore:Jt?void 0:Zt,breakAfter:Jt<qe.length-1?Fe(qe[Jt+1]):Tn}));return At(vt)&&me(dt,vt,At)&&Rt.push(" "),Zt&&Rt.unshift(Zt),Tn&&Rt.push(Tn),Rt}function ze(vt,dt){const It=String(vt.value),St=[],qe=[];let Jt=0;for(;Jt<=It.length;){xe.lastIndex=Jt;const Tn=xe.exec(It),Tt=Tn&&"index"in Tn?Tn.index:It.length;St.push($e(It.slice(Jt,Tt).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),Jt===0?dt.breakBefore:!0,Tt===It.length?dt.breakAfter:!0)),Jt=Tt+1}let Rt=-1,Zt;for(;++Rt<St.length;)St[Rt].charCodeAt(St[Rt].length-1)===8203||Rt<St.length-1&&St[Rt+1].charCodeAt(0)===8203?(qe.push(St[Rt]),Zt=void 0):St[Rt]?(typeof Zt=="number"&&qe.push(Zt),qe.push(St[Rt]),Zt=0):(Rt===0||Rt===St.length-1)&&qe.push(0);return qe}function _e(vt){return[String(vt.value)]}function $e(vt,dt,It){const St=[];let qe=0,Jt;for(;qe<vt.length;){Ge.lastIndex=qe;const Rt=Ge.exec(vt);Jt=Rt?Rt.index:vt.length,!qe&&!Jt&&Rt&&!dt&&St.push(""),qe!==Jt&&St.push(vt.slice(qe,Jt)),qe=Rt?Jt+Rt[0].length:Jt}return qe!==Jt&&!It&&St.push(""),St.join(" ")}function nt(vt,dt){if(vt.type==="element"){const It=vt.properties||{};switch(vt.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return It.wrap?"pre-wrap":"pre";case"td":case"th":return It.noWrap?"nowrap":dt.whitespace;case"textarea":return"pre-wrap";default:}}return dt.whitespace}function bt(vt){return!!(vt.properties||{}).hidden}function it(vt){return vt.tagName==="td"||vt.tagName==="th"}function Nt(vt){return vt.tagName==="dialog"&&!(vt.properties||{}).open}},81994:function(Ce,ae,y){"use strict";y.d(ae,{h:function(){return Je},s:function(){return We}});var b=y(14470),me=y(11630);const le=/[#.]/g;function pe(Ve,Ze){const Qe=Ve||"",ze={};let _e=0,$e,nt;for(;_e<Qe.length;){le.lastIndex=_e;const bt=le.exec(Qe),it=Qe.slice(_e,bt?bt.index:Qe.length);it&&($e?$e==="#"?ze.id=it:Array.isArray(ze.className)?ze.className.push(it):ze.className=[it]:nt=it,_e+=it.length),bt&&($e=bt[0],_e++)}return{type:"element",tagName:nt||Ze||"div",properties:ze,children:[]}}var be=y(86825),fe=y(13830),we=y(71523);function Oe(Ve,Ze,Qe){const ze=Qe?at(Qe):void 0;function _e($e,nt,...bt){let it;if($e==null){it={type:"root",children:[]};const Nt=nt;bt.unshift(Nt)}else{it=pe($e,Ze);const Nt=it.tagName.toLowerCase(),vt=ze?ze.get(Nt):void 0;if(it.tagName=vt||Nt,Re(nt))bt.unshift(nt);else for(const[dt,It]of Object.entries(nt))xe(Ve,it.properties,dt,It)}for(const Nt of bt)Ge(it.children,Nt);return it.type==="element"&&it.tagName==="template"&&(it.content={type:"root",children:it.children},it.children=[]),it}return _e}function Re(Ve){if(Ve===null||typeof Ve!="object"||Array.isArray(Ve))return!0;if(typeof Ve.type!="string")return!1;const Ze=Ve,Qe=Object.keys(Ve);for(const ze of Qe){const _e=Ze[ze];if(_e&&typeof _e=="object"){if(!Array.isArray(_e))return!0;const $e=_e;for(const nt of $e)if(typeof nt!="number"&&typeof nt!="string")return!0}}return!!("children"in Ve&&Array.isArray(Ve.children))}function xe(Ve,Ze,Qe,ze){const _e=(0,be.s)(Ve,Qe);let $e;if(ze!=null){if(typeof ze=="number"){if(Number.isNaN(ze))return;$e=ze}else typeof ze=="boolean"?$e=ze:typeof ze=="string"?_e.spaceSeparated?$e=(0,we.Q)(ze):_e.commaSeparated?$e=(0,me.Q)(ze):_e.commaOrSpaceSeparated?$e=(0,we.Q)((0,me.Q)(ze).join(" ")):$e=Fe(_e,_e.property,ze):Array.isArray(ze)?$e=[...ze]:$e=_e.property==="style"?At(ze):String(ze);if(Array.isArray($e)){const nt=[];for(const bt of $e)nt.push(Fe(_e,_e.property,bt));$e=nt}_e.property==="className"&&Array.isArray(Ze.className)&&($e=Ze.className.concat($e)),Ze[_e.property]=$e}}function Ge(Ve,Ze){if(Ze!=null)if(typeof Ze=="number"||typeof Ze=="string")Ve.push({type:"text",value:String(Ze)});else if(Array.isArray(Ze))for(const Qe of Ze)Ge(Ve,Qe);else if(typeof Ze=="object"&&"type"in Ze)Ze.type==="root"?Ge(Ve,Ze.children):Ve.push(Ze);else throw new Error("Expected node, nodes, or string, got `"+Ze+"`")}function Fe(Ve,Ze,Qe){if(typeof Qe=="string"){if(Ve.number&&Qe&&!Number.isNaN(Number(Qe)))return Number(Qe);if((Ve.boolean||Ve.overloadedBoolean)&&(Qe===""||(0,fe.F)(Qe)===(0,fe.F)(Ze)))return!0}return Qe}function At(Ve){const Ze=[];for(const[Qe,ze]of Object.entries(Ve))Ze.push([Qe,ze].join(": "));return Ze.join("; ")}function at(Ve){const Ze=new Map;for(const Qe of Ve)Ze.set(Qe.toLowerCase(),Qe);return Ze}const tt=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Je=Oe(b.dy,"div"),We=Oe(b.YP,"g",tt)},52509:function(Ce,ae,y){"use strict";y.d(ae,{J:function(){return b}});function b(me,le){const pe=String(me);let be=pe.indexOf(le),fe=be,we=0,Oe=0;if(typeof le!="string")throw new TypeError("Expected substring");for(;be!==-1;)be===fe?++we>Oe&&(Oe=we):we=1,fe=be+le.length,be=pe.indexOf(le,fe);return Oe}},91614:function(Ce,ae,y){"use strict";y.d(ae,{n:function(){return pe}});function b(Oe){if(typeof Oe!="string")throw new TypeError("Expected a string");return Oe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var me=y(19453),le=y(33511);function pe(Oe,Re,xe){const Ge=xe||{},Fe=(0,le.O)(Ge.ignore||[]),At=be(Re);let at=-1;for(;++at<At.length;)(0,me.S4)(Oe,"text",tt);function tt(We,Ve){let Ze=-1,Qe;for(;++Ze<Ve.length;){const ze=Ve[Ze],_e=Qe?Qe.children:void 0;if(Fe(ze,_e?_e.indexOf(ze):void 0,Qe))return;Qe=ze}if(Qe)return Je(We,Ve)}function Je(We,Ve){const Ze=Ve[Ve.length-1],Qe=At[at][0],ze=At[at][1];let _e=0;const nt=Ze.children.indexOf(We);let bt=!1,it=[];Qe.lastIndex=0;let Nt=Qe.exec(We.value);for(;Nt;){const vt=Nt.index,dt={index:Nt.index,input:Nt.input,stack:[...Ve,We]};let It=ze(...Nt,dt);if(typeof It=="string"&&(It=It.length>0?{type:"text",value:It}:void 0),It===!1?Qe.lastIndex=vt+1:(_e!==vt&&it.push({type:"text",value:We.value.slice(_e,vt)}),Array.isArray(It)?it.push(...It):It&&it.push(It),_e=vt+Nt[0].length,bt=!0),!Qe.global)break;Nt=Qe.exec(We.value)}return bt?(_e<We.value.length&&it.push({type:"text",value:We.value.slice(_e)}),Ze.children.splice(nt,1,...it)):it=[We],nt+it.length}}function be(Oe){const Re=[];if(!Array.isArray(Oe))throw new TypeError("Expected find and replace tuple or list of tuples");const xe=!Oe[0]||Array.isArray(Oe[0])?Oe:[Oe];let Ge=-1;for(;++Ge<xe.length;){const Fe=xe[Ge];Re.push([fe(Fe[0]),we(Fe[1])])}return Re}function fe(Oe){return typeof Oe=="string"?new RegExp(b(Oe),"g"):Oe}function we(Oe){return typeof Oe=="function"?Oe:function(){return Oe}}},77714:function(Ce,ae,y){"use strict";y.d(ae,{B:function(){return me}});const b={};function me(fe,we){const Oe=we||b,Re=typeof Oe.includeImageAlt=="boolean"?Oe.includeImageAlt:!0,xe=typeof Oe.includeHtml=="boolean"?Oe.includeHtml:!0;return le(fe,Re,xe)}function le(fe,we,Oe){if(be(fe)){if("value"in fe)return fe.type==="html"&&!Oe?"":fe.value;if(we&&"alt"in fe&&fe.alt)return fe.alt;if("children"in fe)return pe(fe.children,we,Oe)}return Array.isArray(fe)?pe(fe,we,Oe):""}function pe(fe,we,Oe){const Re=[];let xe=-1;for(;++xe<fe.length;)Re[xe]=le(fe[xe],we,Oe);return Re.join("")}function be(fe){return!!(fe&&typeof fe=="object")}},35691:function(Ce,ae,y){"use strict";y.d(ae,{w:function(){return le}});var b=y(26735),me=y(80722);const le={partial:!0,tokenize:pe};function pe(be,fe,we){return Oe;function Oe(xe){return(0,me.xz)(xe)?(0,b.f)(be,Re,"linePrefix")(xe):Re(xe)}function Re(xe){return xe===null||(0,me.Ch)(xe)?fe(xe):we(xe)}}},26735:function(Ce,ae,y){"use strict";y.d(ae,{f:function(){return me}});var b=y(80722);function me(le,pe,be,fe){const we=fe?fe-1:Number.POSITIVE_INFINITY;let Oe=0;return Re;function Re(Ge){return(0,b.xz)(Ge)?(le.enter(be),xe(Ge)):pe(Ge)}function xe(Ge){return(0,b.xz)(Ge)&&Oe++<we?(le.consume(Ge),xe):(le.exit(be),pe(Ge))}}},80722:function(Ce,ae,y){"use strict";y.d(ae,{AF:function(){return fe},Av:function(){return pe},B8:function(){return Fe},Ch:function(){return Oe},H$:function(){return me},Xh:function(){return Ge},jv:function(){return b},n9:function(){return le},pY:function(){return be},sR:function(){return we},xz:function(){return xe},z3:function(){return Re}});const b=At(/[A-Za-z]/),me=At(/[\dA-Za-z]/),le=At(/[#-'*+\--9=?A-Z^-~]/);function pe(at){return at!==null&&(at<32||at===127)}const be=At(/\d/),fe=At(/[\dA-Fa-f]/),we=At(/[!-/:-@[-`{-~]/);function Oe(at){return at!==null&&at<-2}function Re(at){return at!==null&&(at<0||at===32)}function xe(at){return at===-2||at===-1||at===32}const Ge=At(new RegExp("\\p{P}|\\p{S}","u")),Fe=At(/\s/);function At(at){return tt;function tt(Je){return Je!==null&&Je>-1&&at.test(String.fromCharCode(Je))}}},36335:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return me},d:function(){return b}});function b(le,pe,be,fe){const we=le.length;let Oe=0,Re;if(pe<0?pe=-pe>we?0:we+pe:pe=pe>we?we:pe,be=be>0?be:0,fe.length<1e4)Re=Array.from(fe),Re.unshift(pe,be),le.splice(...Re);else for(be&&le.splice(pe,be);Oe<fe.length;)Re=fe.slice(Oe,Oe+1e4),Re.unshift(pe,0),le.splice(...Re),Oe+=1e4,pe+=1e4}function me(le,pe){return le.length>0?(b(le,le.length,0,pe),le):pe}},97864:function(Ce,ae,y){"use strict";y.d(ae,{r:function(){return me}});var b=y(80722);function me(le){if(le===null||(0,b.z3)(le)||(0,b.B8)(le))return 1;if((0,b.Xh)(le))return 2}},64997:function(Ce,ae,y){"use strict";y.d(ae,{W:function(){return le}});var b=y(36335);const me={}.hasOwnProperty;function le(Oe){const Re={};let xe=-1;for(;++xe<Oe.length;)pe(Re,Oe[xe]);return Re}function pe(Oe,Re){let xe;for(xe in Re){const Fe=(me.call(Oe,xe)?Oe[xe]:void 0)||(Oe[xe]={}),At=Re[xe];let at;if(At)for(at in At){me.call(Fe,at)||(Fe[at]=[]);const tt=At[at];be(Fe[at],Array.isArray(tt)?tt:tt?[tt]:[])}}}function be(Oe,Re){let xe=-1;const Ge=[];for(;++xe<Re.length;)(Re[xe].add==="after"?Oe:Ge).push(Re[xe]);(0,b.d)(Oe,0,0,Ge)}function fe(Oe){const Re={};let xe=-1;for(;++xe<Oe.length;)we(Re,Oe[xe]);return Re}function we(Oe,Re){let xe;for(xe in Re){const Fe=(me.call(Oe,xe)?Oe[xe]:void 0)||(Oe[xe]={}),At=Re[xe];let at;if(At)for(at in At)Fe[at]=At[at]}}},95099:function(Ce,ae,y){"use strict";y.d(ae,{d:function(){return b}});function b(me){return me.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},29960:function(Ce,ae,y){"use strict";y.d(ae,{C:function(){return b}});function b(me,le,pe){const be=[];let fe=-1;for(;++fe<me.length;){const we=me[fe].resolveAll;we&&!be.includes(we)&&(le=we(le,pe),be.push(we))}return le}},14470:function(Ce,ae,y){"use strict";y.d(ae,{dy:function(){return tt},YP:function(){return Je}});class b{constructor(Ve,Ze,Qe){this.normal=Ze,this.property=Ve,Qe&&(this.space=Qe)}}b.prototype.normal={},b.prototype.property={},b.prototype.space=void 0;function me(We,Ve){const Ze={},Qe={};for(const ze of We)Object.assign(Ze,ze.property),Object.assign(Qe,ze.normal);return new b(Ze,Qe,Ve)}var le=y(13830),pe=y(53538);function be(We){const Ve={},Ze={};for(const[Qe,ze]of Object.entries(We.properties)){const _e=new pe.I(Qe,We.transform(We.attributes||{},Qe),ze,We.space);We.mustUseProperty&&We.mustUseProperty.includes(Qe)&&(_e.mustUseProperty=!0),Ve[Qe]=_e,Ze[(0,le.F)(Qe)]=Qe,Ze[(0,le.F)(_e.attribute)]=Qe}return new b(Ve,Ze,We.space)}var fe=y(71337);const we=be({properties:{ariaActiveDescendant:null,ariaAtomic:fe.booleanish,ariaAutoComplete:null,ariaBusy:fe.booleanish,ariaChecked:fe.booleanish,ariaColCount:fe.number,ariaColIndex:fe.number,ariaColSpan:fe.number,ariaControls:fe.spaceSeparated,ariaCurrent:null,ariaDescribedBy:fe.spaceSeparated,ariaDetails:null,ariaDisabled:fe.booleanish,ariaDropEffect:fe.spaceSeparated,ariaErrorMessage:null,ariaExpanded:fe.booleanish,ariaFlowTo:fe.spaceSeparated,ariaGrabbed:fe.booleanish,ariaHasPopup:null,ariaHidden:fe.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:fe.spaceSeparated,ariaLevel:fe.number,ariaLive:null,ariaModal:fe.booleanish,ariaMultiLine:fe.booleanish,ariaMultiSelectable:fe.booleanish,ariaOrientation:null,ariaOwns:fe.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:fe.number,ariaPressed:fe.booleanish,ariaReadOnly:fe.booleanish,ariaRelevant:null,ariaRequired:fe.booleanish,ariaRoleDescription:fe.spaceSeparated,ariaRowCount:fe.number,ariaRowIndex:fe.number,ariaRowSpan:fe.number,ariaSelected:fe.booleanish,ariaSetSize:fe.number,ariaSort:null,ariaValueMax:fe.number,ariaValueMin:fe.number,ariaValueNow:fe.number,ariaValueText:null,role:null},transform(We,Ve){return Ve==="role"?Ve:"aria-"+Ve.slice(4).toLowerCase()}});function Oe(We,Ve){return Ve in We?We[Ve]:Ve}function Re(We,Ve){return Oe(We,Ve.toLowerCase())}const xe=be({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:fe.commaSeparated,acceptCharset:fe.spaceSeparated,accessKey:fe.spaceSeparated,action:null,allow:null,allowFullScreen:fe.boolean,allowPaymentRequest:fe.boolean,allowUserMedia:fe.boolean,alt:null,as:null,async:fe.boolean,autoCapitalize:null,autoComplete:fe.spaceSeparated,autoFocus:fe.boolean,autoPlay:fe.boolean,blocking:fe.spaceSeparated,capture:null,charSet:null,checked:fe.boolean,cite:null,className:fe.spaceSeparated,cols:fe.number,colSpan:null,content:null,contentEditable:fe.booleanish,controls:fe.boolean,controlsList:fe.spaceSeparated,coords:fe.number|fe.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:fe.boolean,defer:fe.boolean,dir:null,dirName:null,disabled:fe.boolean,download:fe.overloadedBoolean,draggable:fe.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:fe.boolean,formTarget:null,headers:fe.spaceSeparated,height:fe.number,hidden:fe.overloadedBoolean,high:fe.number,href:null,hrefLang:null,htmlFor:fe.spaceSeparated,httpEquiv:fe.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:fe.boolean,inputMode:null,integrity:null,is:null,isMap:fe.boolean,itemId:null,itemProp:fe.spaceSeparated,itemRef:fe.spaceSeparated,itemScope:fe.boolean,itemType:fe.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:fe.boolean,low:fe.number,manifest:null,max:null,maxLength:fe.number,media:null,method:null,min:null,minLength:fe.number,multiple:fe.boolean,muted:fe.boolean,name:null,nonce:null,noModule:fe.boolean,noValidate:fe.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:fe.boolean,optimum:fe.number,pattern:null,ping:fe.spaceSeparated,placeholder:null,playsInline:fe.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:fe.boolean,referrerPolicy:null,rel:fe.spaceSeparated,required:fe.boolean,reversed:fe.boolean,rows:fe.number,rowSpan:fe.number,sandbox:fe.spaceSeparated,scope:null,scoped:fe.boolean,seamless:fe.boolean,selected:fe.boolean,shadowRootClonable:fe.boolean,shadowRootDelegatesFocus:fe.boolean,shadowRootMode:null,shape:null,size:fe.number,sizes:null,slot:null,span:fe.number,spellCheck:fe.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe.number,step:null,style:null,tabIndex:fe.number,target:null,title:null,translate:null,type:null,typeMustMatch:fe.boolean,useMap:null,value:fe.booleanish,width:fe.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:fe.spaceSeparated,axis:null,background:null,bgColor:null,border:fe.number,borderColor:null,bottomMargin:fe.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:fe.boolean,declare:fe.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:fe.number,leftMargin:fe.number,link:null,longDesc:null,lowSrc:null,marginHeight:fe.number,marginWidth:fe.number,noResize:fe.boolean,noHref:fe.boolean,noShade:fe.boolean,noWrap:fe.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:fe.number,rules:null,scheme:null,scrolling:fe.booleanish,standby:null,summary:null,text:null,topMargin:fe.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:fe.boolean,disableRemotePlayback:fe.boolean,prefix:null,property:null,results:fe.number,security:null,unselectable:null},space:"html",transform:Re}),Ge=be({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:fe.commaOrSpaceSeparated,accentHeight:fe.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe.number,amplitude:fe.number,arabicForm:null,ascent:fe.number,attributeName:null,attributeType:null,azimuth:fe.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe.number,by:null,calcMode:null,capHeight:fe.number,className:fe.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fe.number,diffuseConstant:fe.number,direction:null,display:null,dur:null,divisor:fe.number,dominantBaseline:null,download:fe.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe.number,enableBackground:null,end:null,event:null,exponent:fe.number,externalResourcesRequired:null,fill:null,fillOpacity:fe.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:fe.commaSeparated,g2:fe.commaSeparated,glyphName:fe.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fe.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe.number,horizOriginX:fe.number,horizOriginY:fe.number,id:null,ideographic:fe.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe.number,k:fe.number,k1:fe.number,k2:fe.number,k3:fe.number,k4:fe.number,kernelMatrix:fe.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fe.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fe.number,overlineThickness:fe.number,paintOrder:null,panose1:null,path:null,pathLength:fe.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:fe.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe.number,pointsAtY:fe.number,pointsAtZ:fe.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:fe.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:fe.commaOrSpaceSeparated,rev:fe.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:fe.commaOrSpaceSeparated,requiredFeatures:fe.commaOrSpaceSeparated,requiredFonts:fe.commaOrSpaceSeparated,requiredFormats:fe.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fe.number,specularExponent:fe.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe.number,strikethroughThickness:fe.number,string:null,stroke:null,strokeDashArray:fe.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe.number,strokeOpacity:fe.number,strokeWidth:null,style:null,surfaceScale:fe.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:fe.commaOrSpaceSeparated,tabIndex:fe.number,tableValues:null,target:null,targetX:fe.number,targetY:fe.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:fe.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fe.number,underlineThickness:fe.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe.number,values:null,vAlphabetic:fe.number,vMathematical:fe.number,vectorEffect:null,vHanging:fe.number,vIdeographic:fe.number,version:null,vertAdvY:fe.number,vertOriginX:fe.number,vertOriginY:fe.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Oe}),Fe=be({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(We,Ve){return"xlink:"+Ve.slice(5).toLowerCase()}}),At=be({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Re}),at=be({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(We,Ve){return"xml:"+Ve.slice(3).toLowerCase()}}),tt=me([we,xe,Fe,At,at],"html"),Je=me([we,Ge,Fe,At,at],"svg")},86825:function(Ce,ae,y){"use strict";y.d(ae,{s:function(){return we}});var b=y(53538),me=y(25629),le=y(13830);const pe=/[A-Z]/g,be=/-[a-z]/g,fe=/^data[-\w.:]+$/i;function we(xe,Ge){const Fe=(0,le.F)(Ge);let At=Ge,at=me.k;if(Fe in xe.normal)return xe.property[xe.normal[Fe]];if(Fe.length>4&&Fe.slice(0,4)==="data"&&fe.test(Ge)){if(Ge.charAt(4)==="-"){const tt=Ge.slice(5).replace(be,Re);At="data"+tt.charAt(0).toUpperCase()+tt.slice(1)}else{const tt=Ge.slice(4);if(!be.test(tt)){let Je=tt.replace(pe,Oe);Je.charAt(0)!=="-"&&(Je="-"+Je),Ge="data"+Je}}at=b.I}return new at(At,Ge)}function Oe(xe){return"-"+xe.toLowerCase()}function Re(xe){return xe.charAt(1).toUpperCase()}},13830:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return b}});function b(me){return me.toLowerCase()}},53538:function(Ce,ae,y){"use strict";y.d(ae,{I:function(){return pe}});var b=y(25629),me=y(71337);const le=Object.keys(me);class pe extends b.k{constructor(we,Oe,Re,xe){let Ge=-1;if(super(we,Oe),be(this,"space",xe),typeof Re=="number")for(;++Ge<le.length;){const Fe=le[Ge];be(this,le[Ge],(Re&me[Fe])===me[Fe])}}}pe.prototype.defined=!0;function be(fe,we,Oe){Oe&&(fe[we]=Oe)}},25629:function(Ce,ae,y){"use strict";y.d(ae,{k:function(){return b}});class b{constructor(le,pe){this.attribute=pe,this.property=le}}b.prototype.attribute="",b.prototype.booleanish=!1,b.prototype.boolean=!1,b.prototype.commaOrSpaceSeparated=!1,b.prototype.commaSeparated=!1,b.prototype.defined=!1,b.prototype.mustUseProperty=!1,b.prototype.number=!1,b.prototype.overloadedBoolean=!1,b.prototype.property="",b.prototype.spaceSeparated=!1,b.prototype.space=void 0},71337:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{boolean:function(){return me},booleanish:function(){return le},commaOrSpaceSeparated:function(){return Oe},commaSeparated:function(){return we},number:function(){return be},overloadedBoolean:function(){return pe},spaceSeparated:function(){return fe}});let b=0;const me=Re(),le=Re(),pe=Re(),be=Re(),fe=Re(),we=Re(),Oe=Re();function Re(){return ed(2,++b)}},24342:function(Ce,ae,y){"use strict";y.d(ae,{UG:function(){return io}});var b={};y.r(b),y.d(b,{attentionMarkers:function(){return fi},contentInitial:function(){return ja},disable:function(){return Ua},document:function(){return Da},flow:function(){return bi},flowInitial:function(){return Gr},insideSpan:function(){return li},string:function(){return wi},text:function(){return Pa}});var me=y(87342),le=y(11630);const pe=/[$_\p{ID_Start}]/u,be=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,fe=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,we=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Re={};function xe(se){return se?pe.test(String.fromCodePoint(se)):!1}function Ge(se,Ae){const Ue=(Ae||Re).jsx?fe:be;return se?Ue.test(String.fromCodePoint(se)):!1}function Fe(se,Ae){return((Ae||Re).jsx?Oe:we).test(se)}const At=/[ \t\n\f\r]/g;function at(se){return typeof se=="object"?se.type==="text"?tt(se.value):!1:tt(se)}function tt(se){return se.replace(At,"")===""}var Je=y(14470),We=y(86825);const Ve={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Ze=y(71523),Qe=y(24177),ze=y(17970);function _e(se){return!se||typeof se!="object"?"":"position"in se||"type"in se?nt(se.position):"start"in se||"end"in se?nt(se):"line"in se||"column"in se?$e(se):""}function $e(se){return bt(se&&se.line)+":"+bt(se&&se.column)}function nt(se){return $e(se&&se.start)+"-"+$e(se&&se.end)}function bt(se){return se&&typeof se=="number"?se:1}class it extends Error{constructor(Ae,ke,Ue){super(),typeof ke=="string"&&(Ue=ke,ke=void 0);let mt="",Et={},Lt=!1;if(ke&&("line"in ke&&"column"in ke?Et={place:ke}:"start"in ke&&"end"in ke?Et={place:ke}:"type"in ke?Et={ancestors:[ke],place:ke.position}:Et=qa({},ke)),typeof Ae=="string"?mt=Ae:!Et.cause&&Ae&&(Lt=!0,mt=Ae.message,Et.cause=Ae),!Et.ruleId&&!Et.source&&typeof Ue=="string"){const _n=Ue.indexOf(":");_n===-1?Et.ruleId=Ue:(Et.source=Ue.slice(0,_n),Et.ruleId=Ue.slice(_n+1))}if(!Et.place&&Et.ancestors&&Et.ancestors){const _n=Et.ancestors[Et.ancestors.length-1];_n&&(Et.place=_n.position)}const tn=Et.place&&"start"in Et.place?Et.place.start:Et.place;this.ancestors=Et.ancestors||void 0,this.cause=Et.cause||void 0,this.column=tn?tn.column:void 0,this.fatal=void 0,this.file="",this.message=mt,this.line=tn?tn.line:void 0,this.name=_e(Et.place)||"1:1",this.place=Et.place||void 0,this.reason=this.message,this.ruleId=Et.ruleId||void 0,this.source=Et.source||void 0,this.stack=Lt&&Et.cause&&typeof Et.cause.stack=="string"?Et.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}it.prototype.file="",it.prototype.name="",it.prototype.reason="",it.prototype.message="",it.prototype.stack="",it.prototype.column=void 0,it.prototype.line=void 0,it.prototype.ancestors=void 0,it.prototype.cause=void 0,it.prototype.fatal=void 0,it.prototype.place=void 0,it.prototype.ruleId=void 0,it.prototype.source=void 0;const Nt={}.hasOwnProperty,vt=new Map,dt=/[A-Z]/g,It=new Set(["table","tbody","thead","tfoot","tr"]),St=new Set(["td","th"]),qe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Jt(se,Ae){if(!Ae||Ae.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const ke=Ae.filePath||void 0;let Ue;if(Ae.development){if(typeof Ae.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");Ue=Gt(ke,Ae.jsxDEV)}else{if(typeof Ae.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof Ae.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");Ue=Ut(ke,Ae.jsx,Ae.jsxs)}const mt={Fragment:Ae.Fragment,ancestors:[],components:Ae.components||{},create:Ue,elementAttributeNameCase:Ae.elementAttributeNameCase||"react",evaluater:Ae.createEvaluater?Ae.createEvaluater():void 0,filePath:ke,ignoreInvalidStyle:Ae.ignoreInvalidStyle||!1,passKeys:Ae.passKeys!==!1,passNode:Ae.passNode||!1,schema:Ae.space==="svg"?Je.YP:Je.dy,stylePropertyNameCase:Ae.stylePropertyNameCase||"dom",tableCellAlignToStyle:Ae.tableCellAlignToStyle!==!1},Et=Rt(mt,se,void 0);return Et&&typeof Et!="string"?Et:mt.create(se,mt.Fragment,{children:Et||void 0},void 0)}function Rt(se,Ae,ke){if(Ae.type==="element")return Zt(se,Ae,ke);if(Ae.type==="mdxFlowExpression"||Ae.type==="mdxTextExpression")return Tn(se,Ae);if(Ae.type==="mdxJsxFlowElement"||Ae.type==="mdxJsxTextElement")return Ye(se,Ae,ke);if(Ae.type==="mdxjsEsm")return Tt(se,Ae);if(Ae.type==="root")return Se(se,Ae,ke);if(Ae.type==="text")return Qt(se,Ae)}function Zt(se,Ae,ke){const Ue=se.schema;let mt=Ue;Ae.tagName.toLowerCase()==="svg"&&Ue.space==="html"&&(mt=Je.YP,se.schema=mt),se.ancestors.push(Ae);const Et=un(se,Ae.tagName,!1),Lt=On(se,Ae);let tn=En(se,Ae);return It.has(Ae.tagName)&&(tn=tn.filter(function(_n){return typeof _n=="string"?!at(_n):!0})),on(se,Lt,Et,Ae),st(Lt,tn),se.ancestors.pop(),se.schema=Ue,se.create(Ae,Et,Lt,ke)}function Tn(se,Ae){if(Ae.data&&Ae.data.estree&&se.evaluater){const Ue=Ae.data.estree.body[0];return(0,me.ok)(Ue.type==="ExpressionStatement"),se.evaluater.evaluateExpression(Ue.expression)}De(se,Ae.position)}function Tt(se,Ae){if(Ae.data&&Ae.data.estree&&se.evaluater)return se.evaluater.evaluateProgram(Ae.data.estree);De(se,Ae.position)}function Ye(se,Ae,ke){const Ue=se.schema;let mt=Ue;Ae.name==="svg"&&Ue.space==="html"&&(mt=Je.YP,se.schema=mt),se.ancestors.push(Ae);const Et=Ae.name===null?se.Fragment:un(se,Ae.name,!0),Lt=ft(se,Ae),tn=En(se,Ae);return on(se,Lt,Et,Ae),st(Lt,tn),se.ancestors.pop(),se.schema=Ue,se.create(Ae,Et,Lt,ke)}function Se(se,Ae,ke){const Ue={};return st(Ue,En(se,Ae)),se.create(Ae,se.Fragment,Ue,ke)}function Qt(se,Ae){return Ae.value}function on(se,Ae,ke,Ue){typeof ke!="string"&&ke!==se.Fragment&&se.passNode&&(Ae.node=Ue)}function st(se,Ae){if(Ae.length>0){const ke=Ae.length>1?Ae:Ae[0];ke&&(se.children=ke)}}function Ut(se,Ae,ke){return Ue;function Ue(mt,Et,Lt,tn){const Mn=Array.isArray(Lt.children)?ke:Ae;return tn?Mn(Et,Lt,tn):Mn(Et,Lt)}}function Gt(se,Ae){return ke;function ke(Ue,mt,Et,Lt){const tn=Array.isArray(Et.children),_n=(0,ze.Pk)(Ue);return Ae(mt,Et,Lt,tn,{columnNumber:_n?_n.column-1:void 0,fileName:se,lineNumber:_n?_n.line:void 0},void 0)}}function On(se,Ae){const ke={};let Ue,mt;for(mt in Ae.properties)if(mt!=="children"&&Nt.call(Ae.properties,mt)){const Et=Ht(se,mt,Ae.properties[mt]);if(Et){const[Lt,tn]=Et;se.tableCellAlignToStyle&&Lt==="align"&&typeof tn=="string"&&St.has(Ae.tagName)?Ue=tn:ke[Lt]=tn}}if(Ue){const Et=ke.style||(ke.style={});Et[se.stylePropertyNameCase==="css"?"text-align":"textAlign"]=Ue}return ke}function ft(se,Ae){const ke={};for(const Ue of Ae.attributes)if(Ue.type==="mdxJsxExpressionAttribute")if(Ue.data&&Ue.data.estree&&se.evaluater){const Et=Ue.data.estree.body[0];(0,me.ok)(Et.type==="ExpressionStatement");const Lt=Et.expression;(0,me.ok)(Lt.type==="ObjectExpression");const tn=Lt.properties[0];(0,me.ok)(tn.type==="SpreadElement"),Object.assign(ke,se.evaluater.evaluateExpression(tn.argument))}else De(se,Ae.position);else{const mt=Ue.name;let Et;if(Ue.value&&typeof Ue.value=="object")if(Ue.value.data&&Ue.value.data.estree&&se.evaluater){const tn=Ue.value.data.estree.body[0];(0,me.ok)(tn.type==="ExpressionStatement"),Et=se.evaluater.evaluateExpression(tn.expression)}else De(se,Ae.position);else Et=Ue.value===null?!0:Ue.value;ke[mt]=Et}return ke}function En(se,Ae){const ke=[];let Ue=-1;const mt=se.passKeys?new Map:vt;for(;++Ue<Ae.children.length;){const Et=Ae.children[Ue];let Lt;if(se.passKeys){const _n=Et.type==="element"?Et.tagName:Et.type==="mdxJsxFlowElement"||Et.type==="mdxJsxTextElement"?Et.name:void 0;if(_n){const Mn=mt.get(_n)||0;Lt=_n+"-"+Mn,mt.set(_n,Mn+1)}}const tn=Rt(se,Et,Lt);tn!==void 0&&ke.push(tn)}return ke}function Ht(se,Ae,ke){const Ue=(0,We.s)(se.schema,Ae);if(!(ke==null||typeof ke=="number"&&Number.isNaN(ke))){if(Array.isArray(ke)&&(ke=Ue.commaSeparated?(0,le.P)(ke):(0,Ze.P)(ke)),Ue.property==="style"){let mt=typeof ke=="object"?ke:gn(se,String(ke));return se.stylePropertyNameCase==="css"&&(mt=he(mt)),["style",mt]}return[se.elementAttributeNameCase==="react"&&Ue.space?Ve[Ue.property]||Ue.property:Ue.attribute,ke]}}function gn(se,Ae){try{return Qe(Ae,{reactCompat:!0})}catch(ke){if(se.ignoreInvalidStyle)return{};const Ue=ke,mt=new it("Cannot parse `style` attribute",{ancestors:se.ancestors,cause:Ue,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw mt.file=se.filePath||void 0,mt.url=qe+"#cannot-parse-style-attribute",mt}}function un(se,Ae,ke){let Ue;if(!ke)Ue={type:"Literal",value:Ae};else if(Ae.includes(".")){const mt=Ae.split(".");let Et=-1,Lt;for(;++Et<mt.length;){const tn=Fe(mt[Et])?{type:"Identifier",name:mt[Et]}:{type:"Literal",value:mt[Et]};Lt=Lt?{type:"MemberExpression",object:Lt,property:tn,computed:!!(Et&&tn.type==="Literal"),optional:!1}:tn}(0,me.ok)(Lt,"always a result"),Ue=Lt}else Ue=Fe(Ae)&&!/^[a-z]/.test(Ae)?{type:"Identifier",name:Ae}:{type:"Literal",value:Ae};if(Ue.type==="Literal"){const mt=Ue.value;return Nt.call(se.components,mt)?se.components[mt]:mt}if(se.evaluater)return se.evaluater.evaluateExpression(Ue);De(se)}function De(se,Ae){const ke=new it("Cannot handle MDX estrees without `createEvaluater`",{ancestors:se.ancestors,place:Ae,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw ke.file=se.filePath||void 0,ke.url=qe+"#cannot-handle-mdx-estrees-without-createevaluater",ke}function he(se){const Ae={};let ke;for(ke in se)Nt.call(se,ke)&&(Ae[ce(ke)]=se[ke]);return Ae}function ce(se){let Ae=se.replace(dt,Te);return Ae.slice(0,3)==="ms-"&&(Ae="-"+Ae),Ae}function Te(se){return"-"+se.toLowerCase()}const je={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ge=y(37712),Pe=y(59301),ct=y(77714),$t=y(36335);class gt{constructor(Ae){this.left=Ae?[...Ae]:[],this.right=[]}get(Ae){if(Ae<0||Ae>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Ae+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Ae<this.left.length?this.left[Ae]:this.right[this.right.length-Ae+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(Ae,ke){const Ue=ke==null?Number.POSITIVE_INFINITY:ke;return Ue<this.left.length?this.left.slice(Ae,Ue):Ae>this.left.length?this.right.slice(this.right.length-Ue+this.left.length,this.right.length-Ae+this.left.length).reverse():this.left.slice(Ae).concat(this.right.slice(this.right.length-Ue+this.left.length).reverse())}splice(Ae,ke,Ue){const mt=ke||0;this.setCursor(Math.trunc(Ae));const Et=this.right.splice(this.right.length-mt,Number.POSITIVE_INFINITY);return Ue&&yt(this.left,Ue),Et.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Ae){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Ae)}pushMany(Ae){this.setCursor(Number.POSITIVE_INFINITY),yt(this.left,Ae)}unshift(Ae){this.setCursor(0),this.right.push(Ae)}unshiftMany(Ae){this.setCursor(0),yt(this.right,Ae.reverse())}setCursor(Ae){if(!(Ae===this.left.length||Ae>this.left.length&&this.right.length===0||Ae<0&&this.left.length===0))if(Ae<this.left.length){const ke=this.left.splice(Ae,Number.POSITIVE_INFINITY);yt(this.right,ke.reverse())}else{const ke=this.right.splice(this.left.length+this.right.length-Ae,Number.POSITIVE_INFINITY);yt(this.left,ke.reverse())}}}function yt(se,Ae){let ke=0;if(Ae.length<1e4)se.push(...Ae);else for(;ke<Ae.length;)se.push(...Ae.slice(ke,ke+1e4)),ke+=1e4}function Dt(se){const Ae={};let ke=-1,Ue,mt,Et,Lt,tn,_n,Mn;const bn=new gt(se);for(;++ke<bn.length;){for(;ke in Ae;)ke=Ae[ke];if(Ue=bn.get(ke),ke&&Ue[1].type==="chunkFlow"&&bn.get(ke-1)[1].type==="listItemPrefix"&&(_n=Ue[1]._tokenizer.events,Et=0,Et<_n.length&&_n[Et][1].type==="lineEndingBlank"&&(Et+=2),Et<_n.length&&_n[Et][1].type==="content"))for(;++Et<_n.length&&_n[Et][1].type!=="content";)_n[Et][1].type==="chunkText"&&(_n[Et][1]._isInFirstContentOfListItem=!0,Et++);if(Ue[0]==="enter")Ue[1].contentType&&(Object.assign(Ae,Pt(bn,ke)),ke=Ae[ke],Mn=!0);else if(Ue[1]._container){for(Et=ke,mt=void 0;Et--;)if(Lt=bn.get(Et),Lt[1].type==="lineEnding"||Lt[1].type==="lineEndingBlank")Lt[0]==="enter"&&(mt&&(bn.get(mt)[1].type="lineEndingBlank"),Lt[1].type="lineEnding",mt=Et);else if(!(Lt[1].type==="linePrefix"||Lt[1].type==="listItemIndent"))break;mt&&(Ue[1].end=qa({},bn.get(mt)[1].start),tn=bn.slice(mt,ke),tn.unshift(Ue),bn.splice(mt,ke-mt+1,tn))}}return(0,$t.d)(se,0,Number.POSITIVE_INFINITY,bn.slice(0)),!Mn}function Pt(se,Ae){const ke=se.get(Ae)[1],Ue=se.get(Ae)[2];let mt=Ae-1;const Et=[];let Lt=ke._tokenizer;Lt||(Lt=Ue.parser[ke.contentType](ke.start),ke._contentTypeTextTrailing&&(Lt._contentTypeTextTrailing=!0));const tn=Lt.events,_n=[],Mn={};let bn,Vn,$n=-1,Nn=ke,Ia=0,Qa=0;const gi=[Qa];for(;Nn;){for(;se.get(++mt)[1]!==Nn;);Et.push(mt),Nn._tokenizer||(bn=Ue.sliceStream(Nn),Nn.next||bn.push(null),Vn&&Lt.defineSkip(Nn.start),Nn._isInFirstContentOfListItem&&(Lt._gfmTasklistFirstContentOfListItem=!0),Lt.write(bn),Nn._isInFirstContentOfListItem&&(Lt._gfmTasklistFirstContentOfListItem=void 0)),Vn=Nn,Nn=Nn.next}for(Nn=ke;++$n<tn.length;)tn[$n][0]==="exit"&&tn[$n-1][0]==="enter"&&tn[$n][1].type===tn[$n-1][1].type&&tn[$n][1].start.line!==tn[$n][1].end.line&&(Qa=$n+1,gi.push(Qa),Nn._tokenizer=void 0,Nn.previous=void 0,Nn=Nn.next);for(Lt.events=[],Nn?(Nn._tokenizer=void 0,Nn.previous=void 0):gi.pop(),$n=gi.length;$n--;){const va=tn.slice(gi[$n],gi[$n+1]),pi=Et.pop();_n.push([pi,pi+va.length-1]),se.splice(pi,2,va)}for(_n.reverse(),$n=-1;++$n<_n.length;)Mn[Ia+_n[$n][0]]=Ia+_n[$n][1],Ia+=_n[$n][1]-_n[$n][0]-1;return Mn}function Wt(se){for(;!Dt(se););return se}var pn=y(64997),fn=y(26735),Mt=y(80722);const Ln={tokenize:kn};function kn(se){const Ae=se.attempt(this.parser.constructs.contentInitial,Ue,mt);let ke;return Ae;function Ue(tn){if(tn===null){se.consume(tn);return}return se.enter("lineEnding"),se.consume(tn),se.exit("lineEnding"),(0,fn.f)(se,Ae,"linePrefix")}function mt(tn){return se.enter("paragraph"),Et(tn)}function Et(tn){const _n=se.enter("chunkText",{contentType:"text",previous:ke});return ke&&(ke.next=_n),ke=_n,Lt(tn)}function Lt(tn){if(tn===null){se.exit("chunkText"),se.exit("paragraph"),se.consume(tn);return}return(0,Mt.Ch)(tn)?(se.consume(tn),se.exit("chunkText"),Et):(se.consume(tn),Lt)}}const wn={tokenize:In},ln={tokenize:xn};function In(se){const Ae=this,ke=[];let Ue=0,mt,Et,Lt;return tn;function tn(La){if(Ue<ke.length){const Ui=ke[Ue];return Ae.containerState=Ui[1],se.attempt(Ui[0].continuation,_n,Mn)(La)}return Mn(La)}function _n(La){if(Ue++,Ae.containerState._closeFlow){Ae.containerState._closeFlow=void 0,mt&&pi();const Ui=Ae.events.length;let yi=Ui,ta;for(;yi--;)if(Ae.events[yi][0]==="exit"&&Ae.events[yi][1].type==="chunkFlow"){ta=Ae.events[yi][1].end;break}va(Ue);let Ai=Ui;for(;Ai<Ae.events.length;)Ae.events[Ai][1].end=qa({},ta),Ai++;return(0,$t.d)(Ae.events,yi+1,0,Ae.events.slice(Ui)),Ae.events.length=Ai,Mn(La)}return tn(La)}function Mn(La){if(Ue===ke.length){if(!mt)return $n(La);if(mt.currentConstruct&&mt.currentConstruct.concrete)return Ia(La);Ae.interrupt=!!(mt.currentConstruct&&!mt._gfmTableDynamicInterruptHack)}return Ae.containerState={},se.check(ln,bn,Vn)(La)}function bn(La){return mt&&pi(),va(Ue),$n(La)}function Vn(La){return Ae.parser.lazy[Ae.now().line]=Ue!==ke.length,Lt=Ae.now().offset,Ia(La)}function $n(La){return Ae.containerState={},se.attempt(ln,Nn,Ia)(La)}function Nn(La){return Ue++,ke.push([Ae.currentConstruct,Ae.containerState]),$n(La)}function Ia(La){if(La===null){mt&&pi(),va(0),se.consume(La);return}return mt=mt||Ae.parser.flow(Ae.now()),se.enter("chunkFlow",{_tokenizer:mt,contentType:"flow",previous:Et}),Qa(La)}function Qa(La){if(La===null){gi(se.exit("chunkFlow"),!0),va(0),se.consume(La);return}return(0,Mt.Ch)(La)?(se.consume(La),gi(se.exit("chunkFlow")),Ue=0,Ae.interrupt=void 0,tn):(se.consume(La),Qa)}function gi(La,Ui){const yi=Ae.sliceStream(La);if(Ui&&yi.push(null),La.previous=Et,Et&&(Et.next=La),Et=La,mt.defineSkip(La.start),mt.write(yi),Ae.parser.lazy[La.start.line]){let ta=mt.events.length;for(;ta--;)if(mt.events[ta][1].start.offset<Lt&&(!mt.events[ta][1].end||mt.events[ta][1].end.offset>Lt))return;const Ai=Ae.events.length;let Ei=Ai,Ii,Ri;for(;Ei--;)if(Ae.events[Ei][0]==="exit"&&Ae.events[Ei][1].type==="chunkFlow"){if(Ii){Ri=Ae.events[Ei][1].end;break}Ii=!0}for(va(Ue),ta=Ai;ta<Ae.events.length;)Ae.events[ta][1].end=qa({},Ri),ta++;(0,$t.d)(Ae.events,Ei+1,0,Ae.events.slice(Ai)),Ae.events.length=ta}}function va(La){let Ui=ke.length;for(;Ui-- >La;){const yi=ke[Ui];Ae.containerState=yi[1],yi[0].exit.call(Ae,se)}ke.length=La}function pi(){mt.write([null]),Et=void 0,mt=void 0,Ae.containerState._closeFlow=void 0}}function xn(se,Ae,ke){return(0,fn.f)(se,se.attempt(this.parser.constructs.document,Ae,ke),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var kt=y(35691);const Yt={resolve:vn,tokenize:Ct},Ft={partial:!0,tokenize:pt};function vn(se){return Dt(se),se}function Ct(se,Ae){let ke;return Ue;function Ue(tn){return se.enter("content"),ke=se.enter("chunkContent",{contentType:"content"}),mt(tn)}function mt(tn){return tn===null?Et(tn):(0,Mt.Ch)(tn)?se.check(Ft,Lt,Et)(tn):(se.consume(tn),mt)}function Et(tn){return se.exit("chunkContent"),se.exit("content"),Ae(tn)}function Lt(tn){return se.consume(tn),se.exit("chunkContent"),ke.next=se.enter("chunkContent",{contentType:"content",previous:ke}),ke=ke.next,mt}}function pt(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return se.exit("chunkContent"),se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),(0,fn.f)(se,Et,"linePrefix")}function Et(Lt){if(Lt===null||(0,Mt.Ch)(Lt))return ke(Lt);const tn=Ue.events[Ue.events.length-1];return!Ue.parser.constructs.disable.null.includes("codeIndented")&&tn&&tn[1].type==="linePrefix"&&tn[2].sliceSerialize(tn[1],!0).length>=4?Ae(Lt):se.interrupt(Ue.parser.constructs.flow,ke,Ae)(Lt)}}const de={tokenize:qt};function qt(se){const Ae=this,ke=se.attempt(kt.w,Ue,se.attempt(this.parser.constructs.flowInitial,mt,(0,fn.f)(se,se.attempt(this.parser.constructs.flow,mt,se.attempt(Yt,mt)),"linePrefix")));return ke;function Ue(Et){if(Et===null){se.consume(Et);return}return se.enter("lineEndingBlank"),se.consume(Et),se.exit("lineEndingBlank"),Ae.currentConstruct=void 0,ke}function mt(Et){if(Et===null){se.consume(Et);return}return se.enter("lineEnding"),se.consume(Et),se.exit("lineEnding"),Ae.currentConstruct=void 0,ke}}const Dn={resolveAll:ar()},mn=yr("string"),vr=yr("text");function yr(se){return{resolveAll:ar(se==="text"?Er:void 0),tokenize:Ae};function Ae(ke){const Ue=this,mt=this.parser.constructs[se],Et=ke.attempt(mt,Lt,tn);return Lt;function Lt(bn){return Mn(bn)?Et(bn):tn(bn)}function tn(bn){if(bn===null){ke.consume(bn);return}return ke.enter("data"),ke.consume(bn),_n}function _n(bn){return Mn(bn)?(ke.exit("data"),Et(bn)):(ke.consume(bn),_n)}function Mn(bn){if(bn===null)return!0;const Vn=mt[bn];let $n=-1;if(Vn)for(;++$n<Vn.length;){const Nn=Vn[$n];if(!Nn.previous||Nn.previous.call(Ue,Ue.previous))return!0}return!1}}}function ar(se){return Ae;function Ae(ke,Ue){let mt=-1,Et;for(;++mt<=ke.length;)Et===void 0?ke[mt]&&ke[mt][1].type==="data"&&(Et=mt,mt++):(!ke[mt]||ke[mt][1].type!=="data")&&(mt!==Et+2&&(ke[Et][1].end=ke[mt-1][1].end,ke.splice(Et+2,mt-Et-2),mt=Et+2),Et=void 0);return se?se(ke,Ue):ke}}function Er(se,Ae){let ke=0;for(;++ke<=se.length;)if((ke===se.length||se[ke][1].type==="lineEnding")&&se[ke-1][1].type==="data"){const Ue=se[ke-1][1],mt=Ae.sliceStream(Ue);let Et=mt.length,Lt=-1,tn=0,_n;for(;Et--;){const Mn=mt[Et];if(typeof Mn=="string"){for(Lt=Mn.length;Mn.charCodeAt(Lt-1)===32;)tn++,Lt--;if(Lt)break;Lt=-1}else if(Mn===-2)_n=!0,tn++;else if(Mn!==-1){Et++;break}}if(Ae._contentTypeTextTrailing&&ke===se.length&&(tn=0),tn){const Mn={type:ke===se.length||_n||tn<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:Et?Lt:Ue.start._bufferIndex+Lt,_index:Ue.start._index+Et,line:Ue.end.line,column:Ue.end.column-tn,offset:Ue.end.offset-tn},end:qa({},Ue.end)};Ue.end=qa({},Mn.start),Ue.start.offset===Ue.end.offset?Object.assign(Ue,Mn):(se.splice(ke,0,["enter",Mn,Ae],["exit",Mn,Ae]),ke+=2)}ke++}return se}const wt={name:"thematicBreak",tokenize:Qn};function Qn(se,Ae,ke){let Ue=0,mt;return Et;function Et(Mn){return se.enter("thematicBreak"),Lt(Mn)}function Lt(Mn){return mt=Mn,tn(Mn)}function tn(Mn){return Mn===mt?(se.enter("thematicBreakSequence"),_n(Mn)):Ue>=3&&(Mn===null||(0,Mt.Ch)(Mn))?(se.exit("thematicBreak"),Ae(Mn)):ke(Mn)}function _n(Mn){return Mn===mt?(se.consume(Mn),Ue++,_n):(se.exit("thematicBreakSequence"),(0,Mt.xz)(Mn)?(0,fn.f)(se,tn,"whitespace")(Mn):tn(Mn))}}const lr={continuation:{tokenize:br},exit:Jr,name:"list",tokenize:Sr},cr={partial:!0,tokenize:$r},Yn={partial:!0,tokenize:Nr};function Sr(se,Ae,ke){const Ue=this,mt=Ue.events[Ue.events.length-1];let Et=mt&&mt[1].type==="linePrefix"?mt[2].sliceSerialize(mt[1],!0).length:0,Lt=0;return tn;function tn(Nn){const Ia=Ue.containerState.type||(Nn===42||Nn===43||Nn===45?"listUnordered":"listOrdered");if(Ia==="listUnordered"?!Ue.containerState.marker||Nn===Ue.containerState.marker:(0,Mt.pY)(Nn)){if(Ue.containerState.type||(Ue.containerState.type=Ia,se.enter(Ia,{_container:!0})),Ia==="listUnordered")return se.enter("listItemPrefix"),Nn===42||Nn===45?se.check(wt,ke,Mn)(Nn):Mn(Nn);if(!Ue.interrupt||Nn===49)return se.enter("listItemPrefix"),se.enter("listItemValue"),_n(Nn)}return ke(Nn)}function _n(Nn){return(0,Mt.pY)(Nn)&&++Lt<10?(se.consume(Nn),_n):(!Ue.interrupt||Lt<2)&&(Ue.containerState.marker?Nn===Ue.containerState.marker:Nn===41||Nn===46)?(se.exit("listItemValue"),Mn(Nn)):ke(Nn)}function Mn(Nn){return se.enter("listItemMarker"),se.consume(Nn),se.exit("listItemMarker"),Ue.containerState.marker=Ue.containerState.marker||Nn,se.check(kt.w,Ue.interrupt?ke:bn,se.attempt(cr,$n,Vn))}function bn(Nn){return Ue.containerState.initialBlankLine=!0,Et++,$n(Nn)}function Vn(Nn){return(0,Mt.xz)(Nn)?(se.enter("listItemPrefixWhitespace"),se.consume(Nn),se.exit("listItemPrefixWhitespace"),$n):ke(Nn)}function $n(Nn){return Ue.containerState.size=Et+Ue.sliceSerialize(se.exit("listItemPrefix"),!0).length,Ae(Nn)}}function br(se,Ae,ke){const Ue=this;return Ue.containerState._closeFlow=void 0,se.check(kt.w,mt,Et);function mt(tn){return Ue.containerState.furtherBlankLines=Ue.containerState.furtherBlankLines||Ue.containerState.initialBlankLine,(0,fn.f)(se,Ae,"listItemIndent",Ue.containerState.size+1)(tn)}function Et(tn){return Ue.containerState.furtherBlankLines||!(0,Mt.xz)(tn)?(Ue.containerState.furtherBlankLines=void 0,Ue.containerState.initialBlankLine=void 0,Lt(tn)):(Ue.containerState.furtherBlankLines=void 0,Ue.containerState.initialBlankLine=void 0,se.attempt(Yn,Ae,Lt)(tn))}function Lt(tn){return Ue.containerState._closeFlow=!0,Ue.interrupt=void 0,(0,fn.f)(se,se.attempt(lr,Ae,ke),"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(tn)}}function Nr(se,Ae,ke){const Ue=this;return(0,fn.f)(se,mt,"listItemIndent",Ue.containerState.size+1);function mt(Et){const Lt=Ue.events[Ue.events.length-1];return Lt&&Lt[1].type==="listItemIndent"&&Lt[2].sliceSerialize(Lt[1],!0).length===Ue.containerState.size?Ae(Et):ke(Et)}}function Jr(se){se.exit(this.containerState.type)}function $r(se,Ae,ke){const Ue=this;return(0,fn.f)(se,mt,"listItemPrefixWhitespace",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function mt(Et){const Lt=Ue.events[Ue.events.length-1];return!(0,Mt.xz)(Et)&&Lt&&Lt[1].type==="listItemPrefixWhitespace"?Ae(Et):ke(Et)}}const Ur={continuation:{tokenize:Hr},exit:pa,name:"blockQuote",tokenize:aa};function aa(se,Ae,ke){const Ue=this;return mt;function mt(Lt){if(Lt===62){const tn=Ue.containerState;return tn.open||(se.enter("blockQuote",{_container:!0}),tn.open=!0),se.enter("blockQuotePrefix"),se.enter("blockQuoteMarker"),se.consume(Lt),se.exit("blockQuoteMarker"),Et}return ke(Lt)}function Et(Lt){return(0,Mt.xz)(Lt)?(se.enter("blockQuotePrefixWhitespace"),se.consume(Lt),se.exit("blockQuotePrefixWhitespace"),se.exit("blockQuotePrefix"),Ae):(se.exit("blockQuotePrefix"),Ae(Lt))}}function Hr(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return(0,Mt.xz)(Lt)?(0,fn.f)(se,Et,"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Lt):Et(Lt)}function Et(Lt){return se.attempt(Ur,Ae,ke)(Lt)}}function pa(se){se.exit("blockQuote")}function ea(se,Ae,ke,Ue,mt,Et,Lt,tn,_n){const Mn=_n||Number.POSITIVE_INFINITY;let bn=0;return Vn;function Vn(va){return va===60?(se.enter(Ue),se.enter(mt),se.enter(Et),se.consume(va),se.exit(Et),$n):va===null||va===32||va===41||(0,Mt.Av)(va)?ke(va):(se.enter(Ue),se.enter(Lt),se.enter(tn),se.enter("chunkString",{contentType:"string"}),Qa(va))}function $n(va){return va===62?(se.enter(Et),se.consume(va),se.exit(Et),se.exit(mt),se.exit(Ue),Ae):(se.enter(tn),se.enter("chunkString",{contentType:"string"}),Nn(va))}function Nn(va){return va===62?(se.exit("chunkString"),se.exit(tn),$n(va)):va===null||va===60||(0,Mt.Ch)(va)?ke(va):(se.consume(va),va===92?Ia:Nn)}function Ia(va){return va===60||va===62||va===92?(se.consume(va),Nn):Nn(va)}function Qa(va){return!bn&&(va===null||va===41||(0,Mt.z3)(va))?(se.exit("chunkString"),se.exit(tn),se.exit(Lt),se.exit(Ue),Ae(va)):bn<Mn&&va===40?(se.consume(va),bn++,Qa):va===41?(se.consume(va),bn--,Qa):va===null||va===32||va===40||(0,Mt.Av)(va)?ke(va):(se.consume(va),va===92?gi:Qa)}function gi(va){return va===40||va===41||va===92?(se.consume(va),Qa):Qa(va)}}function jn(se,Ae,ke,Ue,mt,Et){const Lt=this;let tn=0,_n;return Mn;function Mn(Nn){return se.enter(Ue),se.enter(mt),se.consume(Nn),se.exit(mt),se.enter(Et),bn}function bn(Nn){return tn>999||Nn===null||Nn===91||Nn===93&&!_n||Nn===94&&!tn&&"_hiddenFootnoteSupport"in Lt.parser.constructs?ke(Nn):Nn===93?(se.exit(Et),se.enter(mt),se.consume(Nn),se.exit(mt),se.exit(Ue),Ae):(0,Mt.Ch)(Nn)?(se.enter("lineEnding"),se.consume(Nn),se.exit("lineEnding"),bn):(se.enter("chunkString",{contentType:"string"}),Vn(Nn))}function Vn(Nn){return Nn===null||Nn===91||Nn===93||(0,Mt.Ch)(Nn)||tn++>999?(se.exit("chunkString"),bn(Nn)):(se.consume(Nn),_n||(_n=!(0,Mt.xz)(Nn)),Nn===92?$n:Vn)}function $n(Nn){return Nn===91||Nn===92||Nn===93?(se.consume(Nn),tn++,Vn):Vn(Nn)}}function sr(se,Ae,ke,Ue,mt,Et){let Lt;return tn;function tn($n){return $n===34||$n===39||$n===40?(se.enter(Ue),se.enter(mt),se.consume($n),se.exit(mt),Lt=$n===40?41:$n,_n):ke($n)}function _n($n){return $n===Lt?(se.enter(mt),se.consume($n),se.exit(mt),se.exit(Ue),Ae):(se.enter(Et),Mn($n))}function Mn($n){return $n===Lt?(se.exit(Et),_n(Lt)):$n===null?ke($n):(0,Mt.Ch)($n)?(se.enter("lineEnding"),se.consume($n),se.exit("lineEnding"),(0,fn.f)(se,Mn,"linePrefix")):(se.enter("chunkString",{contentType:"string"}),bn($n))}function bn($n){return $n===Lt||$n===null||(0,Mt.Ch)($n)?(se.exit("chunkString"),Mn($n)):(se.consume($n),$n===92?Vn:bn)}function Vn($n){return $n===Lt||$n===92?(se.consume($n),bn):bn($n)}}function Kr(se,Ae){let ke;return Ue;function Ue(mt){return(0,Mt.Ch)(mt)?(se.enter("lineEnding"),se.consume(mt),se.exit("lineEnding"),ke=!0,Ue):(0,Mt.xz)(mt)?(0,fn.f)(se,Ue,ke?"linePrefix":"lineSuffix")(mt):Ae(mt)}}var zr=y(95099);const ve={name:"definition",tokenize:ut},Ie={partial:!0,tokenize:Le};function ut(se,Ae,ke){const Ue=this;let mt;return Et;function Et(Nn){return se.enter("definition"),Lt(Nn)}function Lt(Nn){return jn.call(Ue,se,tn,ke,"definitionLabel","definitionLabelMarker","definitionLabelString")(Nn)}function tn(Nn){return mt=(0,zr.d)(Ue.sliceSerialize(Ue.events[Ue.events.length-1][1]).slice(1,-1)),Nn===58?(se.enter("definitionMarker"),se.consume(Nn),se.exit("definitionMarker"),_n):ke(Nn)}function _n(Nn){return(0,Mt.z3)(Nn)?Kr(se,Mn)(Nn):Mn(Nn)}function Mn(Nn){return ea(se,bn,ke,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Nn)}function bn(Nn){return se.attempt(Ie,Vn,Vn)(Nn)}function Vn(Nn){return(0,Mt.xz)(Nn)?(0,fn.f)(se,$n,"whitespace")(Nn):$n(Nn)}function $n(Nn){return Nn===null||(0,Mt.Ch)(Nn)?(se.exit("definition"),Ue.parser.defined.push(mt),Ae(Nn)):ke(Nn)}}function Le(se,Ae,ke){return Ue;function Ue(tn){return(0,Mt.z3)(tn)?Kr(se,mt)(tn):ke(tn)}function mt(tn){return sr(se,Et,ke,"definitionTitle","definitionTitleMarker","definitionTitleString")(tn)}function Et(tn){return(0,Mt.xz)(tn)?(0,fn.f)(se,Lt,"whitespace")(tn):Lt(tn)}function Lt(tn){return tn===null||(0,Mt.Ch)(tn)?Ae(tn):ke(tn)}}const He={name:"codeIndented",tokenize:et},Vt={partial:!0,tokenize:en};function et(se,Ae,ke){const Ue=this;return mt;function mt(Mn){return se.enter("codeIndented"),(0,fn.f)(se,Et,"linePrefix",5)(Mn)}function Et(Mn){const bn=Ue.events[Ue.events.length-1];return bn&&bn[1].type==="linePrefix"&&bn[2].sliceSerialize(bn[1],!0).length>=4?Lt(Mn):ke(Mn)}function Lt(Mn){return Mn===null?_n(Mn):(0,Mt.Ch)(Mn)?se.attempt(Vt,Lt,_n)(Mn):(se.enter("codeFlowValue"),tn(Mn))}function tn(Mn){return Mn===null||(0,Mt.Ch)(Mn)?(se.exit("codeFlowValue"),Lt(Mn)):(se.consume(Mn),tn)}function _n(Mn){return se.exit("codeIndented"),Ae(Mn)}}function en(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):(0,Mt.Ch)(Lt)?(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),mt):(0,fn.f)(se,Et,"linePrefix",5)(Lt)}function Et(Lt){const tn=Ue.events[Ue.events.length-1];return tn&&tn[1].type==="linePrefix"&&tn[2].sliceSerialize(tn[1],!0).length>=4?Ae(Lt):(0,Mt.Ch)(Lt)?mt(Lt):ke(Lt)}}const cn={name:"headingAtx",resolve:Xt,tokenize:an};function Xt(se,Ae){let ke=se.length-2,Ue=3,mt,Et;return se[Ue][1].type==="whitespace"&&(Ue+=2),ke-2>Ue&&se[ke][1].type==="whitespace"&&(ke-=2),se[ke][1].type==="atxHeadingSequence"&&(Ue===ke-1||ke-4>Ue&&se[ke-2][1].type==="whitespace")&&(ke-=Ue+1===ke?2:4),ke>Ue&&(mt={type:"atxHeadingText",start:se[Ue][1].start,end:se[ke][1].end},Et={type:"chunkText",start:se[Ue][1].start,end:se[ke][1].end,contentType:"text"},(0,$t.d)(se,Ue,ke-Ue+1,[["enter",mt,Ae],["enter",Et,Ae],["exit",Et,Ae],["exit",mt,Ae]])),se}function an(se,Ae,ke){let Ue=0;return mt;function mt(bn){return se.enter("atxHeading"),Et(bn)}function Et(bn){return se.enter("atxHeadingSequence"),Lt(bn)}function Lt(bn){return bn===35&&Ue++<6?(se.consume(bn),Lt):bn===null||(0,Mt.z3)(bn)?(se.exit("atxHeadingSequence"),tn(bn)):ke(bn)}function tn(bn){return bn===35?(se.enter("atxHeadingSequence"),_n(bn)):bn===null||(0,Mt.Ch)(bn)?(se.exit("atxHeading"),Ae(bn)):(0,Mt.xz)(bn)?(0,fn.f)(se,tn,"whitespace")(bn):(se.enter("atxHeadingText"),Mn(bn))}function _n(bn){return bn===35?(se.consume(bn),_n):(se.exit("atxHeadingSequence"),tn(bn))}function Mn(bn){return bn===null||bn===35||(0,Mt.z3)(bn)?(se.exit("atxHeadingText"),tn(bn)):(se.consume(bn),Mn)}}const Kt={name:"setextUnderline",resolveTo:nn,tokenize:rt};function nn(se,Ae){let ke=se.length,Ue,mt,Et;for(;ke--;)if(se[ke][0]==="enter"){if(se[ke][1].type==="content"){Ue=ke;break}se[ke][1].type==="paragraph"&&(mt=ke)}else se[ke][1].type==="content"&&se.splice(ke,1),!Et&&se[ke][1].type==="definition"&&(Et=ke);const Lt={type:"setextHeading",start:qa({},se[Ue][1].start),end:qa({},se[se.length-1][1].end)};return se[mt][1].type="setextHeadingText",Et?(se.splice(mt,0,["enter",Lt,Ae]),se.splice(Et+1,0,["exit",se[Ue][1],Ae]),se[Ue][1].end=qa({},se[Et][1].end)):se[Ue][1]=Lt,se.push(["exit",Lt,Ae]),se}function rt(se,Ae,ke){const Ue=this;let mt;return Et;function Et(Mn){let bn=Ue.events.length,Vn;for(;bn--;)if(Ue.events[bn][1].type!=="lineEnding"&&Ue.events[bn][1].type!=="linePrefix"&&Ue.events[bn][1].type!=="content"){Vn=Ue.events[bn][1].type==="paragraph";break}return!Ue.parser.lazy[Ue.now().line]&&(Ue.interrupt||Vn)?(se.enter("setextHeadingLine"),mt=Mn,Lt(Mn)):ke(Mn)}function Lt(Mn){return se.enter("setextHeadingLineSequence"),tn(Mn)}function tn(Mn){return Mn===mt?(se.consume(Mn),tn):(se.exit("setextHeadingLineSequence"),(0,Mt.xz)(Mn)?(0,fn.f)(se,_n,"lineSuffix")(Mn):_n(Mn))}function _n(Mn){return Mn===null||(0,Mt.Ch)(Mn)?(se.exit("setextHeadingLine"),Ae(Mn)):ke(Mn)}}const Jn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Bt=["pre","script","style","textarea"],rr={concrete:!0,name:"htmlFlow",resolveTo:rn,tokenize:Cn},Pr={partial:!0,tokenize:zn},Sn={partial:!0,tokenize:Pn};function rn(se){let Ae=se.length;for(;Ae--&&!(se[Ae][0]==="enter"&&se[Ae][1].type==="htmlFlow"););return Ae>1&&se[Ae-2][1].type==="linePrefix"&&(se[Ae][1].start=se[Ae-2][1].start,se[Ae+1][1].start=se[Ae-2][1].start,se.splice(Ae-2,2)),se}function Cn(se,Ae,ke){const Ue=this;let mt,Et,Lt,tn,_n;return Mn;function Mn(Bn){return bn(Bn)}function bn(Bn){return se.enter("htmlFlow"),se.enter("htmlFlowData"),se.consume(Bn),Vn}function Vn(Bn){return Bn===33?(se.consume(Bn),$n):Bn===47?(se.consume(Bn),Et=!0,Qa):Bn===63?(se.consume(Bn),mt=3,Ue.interrupt?Ae:hn):(0,Mt.jv)(Bn)?(se.consume(Bn),Lt=String.fromCharCode(Bn),gi):ke(Bn)}function $n(Bn){return Bn===45?(se.consume(Bn),mt=2,Nn):Bn===91?(se.consume(Bn),mt=5,tn=0,Ia):(0,Mt.jv)(Bn)?(se.consume(Bn),mt=4,Ue.interrupt?Ae:hn):ke(Bn)}function Nn(Bn){return Bn===45?(se.consume(Bn),Ue.interrupt?Ae:hn):ke(Bn)}function Ia(Bn){const no="CDATA[";return Bn===no.charCodeAt(tn++)?(se.consume(Bn),tn===no.length?Ue.interrupt?Ae:ui:Ia):ke(Bn)}function Qa(Bn){return(0,Mt.jv)(Bn)?(se.consume(Bn),Lt=String.fromCharCode(Bn),gi):ke(Bn)}function gi(Bn){if(Bn===null||Bn===47||Bn===62||(0,Mt.z3)(Bn)){const no=Bn===47,Ao=Lt.toLowerCase();return!no&&!Et&&Bt.includes(Ao)?(mt=1,Ue.interrupt?Ae(Bn):ui(Bn)):Jn.includes(Lt.toLowerCase())?(mt=6,no?(se.consume(Bn),va):Ue.interrupt?Ae(Bn):ui(Bn)):(mt=7,Ue.interrupt&&!Ue.parser.lazy[Ue.now().line]?ke(Bn):Et?pi(Bn):La(Bn))}return Bn===45||(0,Mt.H$)(Bn)?(se.consume(Bn),Lt+=String.fromCharCode(Bn),gi):ke(Bn)}function va(Bn){return Bn===62?(se.consume(Bn),Ue.interrupt?Ae:ui):ke(Bn)}function pi(Bn){return(0,Mt.xz)(Bn)?(se.consume(Bn),pi):Ri(Bn)}function La(Bn){return Bn===47?(se.consume(Bn),Ri):Bn===58||Bn===95||(0,Mt.jv)(Bn)?(se.consume(Bn),Ui):(0,Mt.xz)(Bn)?(se.consume(Bn),La):Ri(Bn)}function Ui(Bn){return Bn===45||Bn===46||Bn===58||Bn===95||(0,Mt.H$)(Bn)?(se.consume(Bn),Ui):yi(Bn)}function yi(Bn){return Bn===61?(se.consume(Bn),ta):(0,Mt.xz)(Bn)?(se.consume(Bn),yi):La(Bn)}function ta(Bn){return Bn===null||Bn===60||Bn===61||Bn===62||Bn===96?ke(Bn):Bn===34||Bn===39?(se.consume(Bn),_n=Bn,Ai):(0,Mt.xz)(Bn)?(se.consume(Bn),ta):Ei(Bn)}function Ai(Bn){return Bn===_n?(se.consume(Bn),_n=null,Ii):Bn===null||(0,Mt.Ch)(Bn)?ke(Bn):(se.consume(Bn),Ai)}function Ei(Bn){return Bn===null||Bn===34||Bn===39||Bn===47||Bn===60||Bn===61||Bn===62||Bn===96||(0,Mt.z3)(Bn)?yi(Bn):(se.consume(Bn),Ei)}function Ii(Bn){return Bn===47||Bn===62||(0,Mt.xz)(Bn)?La(Bn):ke(Bn)}function Ri(Bn){return Bn===62?(se.consume(Bn),xo):ke(Bn)}function xo(Bn){return Bn===null||(0,Mt.Ch)(Bn)?ui(Bn):(0,Mt.xz)(Bn)?(se.consume(Bn),xo):ke(Bn)}function ui(Bn){return Bn===45&&mt===2?(se.consume(Bn),Ot):Bn===60&&mt===1?(se.consume(Bn),Rn):Bn===62&&mt===4?(se.consume(Bn),wa):Bn===63&&mt===3?(se.consume(Bn),hn):Bn===93&&mt===5?(se.consume(Bn),Mr):(0,Mt.Ch)(Bn)&&(mt===6||mt===7)?(se.exit("htmlFlowData"),se.check(Pr,hi,x)(Bn)):Bn===null||(0,Mt.Ch)(Bn)?(se.exit("htmlFlowData"),x(Bn)):(se.consume(Bn),ui)}function x(Bn){return se.check(Sn,ee,hi)(Bn)}function ee(Bn){return se.enter("lineEnding"),se.consume(Bn),se.exit("lineEnding"),Ne}function Ne(Bn){return Bn===null||(0,Mt.Ch)(Bn)?x(Bn):(se.enter("htmlFlowData"),ui(Bn))}function Ot(Bn){return Bn===45?(se.consume(Bn),hn):ui(Bn)}function Rn(Bn){return Bn===47?(se.consume(Bn),Lt="",fr):ui(Bn)}function fr(Bn){if(Bn===62){const no=Lt.toLowerCase();return Bt.includes(no)?(se.consume(Bn),wa):ui(Bn)}return(0,Mt.jv)(Bn)&&Lt.length<8?(se.consume(Bn),Lt+=String.fromCharCode(Bn),fr):ui(Bn)}function Mr(Bn){return Bn===93?(se.consume(Bn),hn):ui(Bn)}function hn(Bn){return Bn===62?(se.consume(Bn),wa):Bn===45&&mt===2?(se.consume(Bn),hn):ui(Bn)}function wa(Bn){return Bn===null||(0,Mt.Ch)(Bn)?(se.exit("htmlFlowData"),hi(Bn)):(se.consume(Bn),wa)}function hi(Bn){return se.exit("htmlFlow"),Ae(Bn)}}function Pn(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return(0,Mt.Ch)(Lt)?(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),Et):ke(Lt)}function Et(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):Ae(Lt)}}function zn(se,Ae,ke){return Ue;function Ue(mt){return se.enter("lineEnding"),se.consume(mt),se.exit("lineEnding"),se.attempt(kt.w,Ae,ke)}}const tr={partial:!0,tokenize:Zn},wr={concrete:!0,name:"codeFenced",tokenize:pr};function pr(se,Ae,ke){const Ue=this,mt={partial:!0,tokenize:yi};let Et=0,Lt=0,tn;return _n;function _n(ta){return Mn(ta)}function Mn(ta){const Ai=Ue.events[Ue.events.length-1];return Et=Ai&&Ai[1].type==="linePrefix"?Ai[2].sliceSerialize(Ai[1],!0).length:0,tn=ta,se.enter("codeFenced"),se.enter("codeFencedFence"),se.enter("codeFencedFenceSequence"),bn(ta)}function bn(ta){return ta===tn?(Lt++,se.consume(ta),bn):Lt<3?ke(ta):(se.exit("codeFencedFenceSequence"),(0,Mt.xz)(ta)?(0,fn.f)(se,Vn,"whitespace")(ta):Vn(ta))}function Vn(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("codeFencedFence"),Ue.interrupt?Ae(ta):se.check(tr,Qa,Ui)(ta)):(se.enter("codeFencedFenceInfo"),se.enter("chunkString",{contentType:"string"}),$n(ta))}function $n(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),Vn(ta)):(0,Mt.xz)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),(0,fn.f)(se,Nn,"whitespace")(ta)):ta===96&&ta===tn?ke(ta):(se.consume(ta),$n)}function Nn(ta){return ta===null||(0,Mt.Ch)(ta)?Vn(ta):(se.enter("codeFencedFenceMeta"),se.enter("chunkString",{contentType:"string"}),Ia(ta))}function Ia(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceMeta"),Vn(ta)):ta===96&&ta===tn?ke(ta):(se.consume(ta),Ia)}function Qa(ta){return se.attempt(mt,Ui,gi)(ta)}function gi(ta){return se.enter("lineEnding"),se.consume(ta),se.exit("lineEnding"),va}function va(ta){return Et>0&&(0,Mt.xz)(ta)?(0,fn.f)(se,pi,"linePrefix",Et+1)(ta):pi(ta)}function pi(ta){return ta===null||(0,Mt.Ch)(ta)?se.check(tr,Qa,Ui)(ta):(se.enter("codeFlowValue"),La(ta))}function La(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("codeFlowValue"),pi(ta)):(se.consume(ta),La)}function Ui(ta){return se.exit("codeFenced"),Ae(ta)}function yi(ta,Ai,Ei){let Ii=0;return Ri;function Ri(Ne){return ta.enter("lineEnding"),ta.consume(Ne),ta.exit("lineEnding"),xo}function xo(Ne){return ta.enter("codeFencedFence"),(0,Mt.xz)(Ne)?(0,fn.f)(ta,ui,"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ne):ui(Ne)}function ui(Ne){return Ne===tn?(ta.enter("codeFencedFenceSequence"),x(Ne)):Ei(Ne)}function x(Ne){return Ne===tn?(Ii++,ta.consume(Ne),x):Ii>=Lt?(ta.exit("codeFencedFenceSequence"),(0,Mt.xz)(Ne)?(0,fn.f)(ta,ee,"whitespace")(Ne):ee(Ne)):Ei(Ne)}function ee(Ne){return Ne===null||(0,Mt.Ch)(Ne)?(ta.exit("codeFencedFence"),Ai(Ne)):Ei(Ne)}}}function Zn(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return Lt===null?ke(Lt):(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),Et)}function Et(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):Ae(Lt)}}const Kn=document.createElement("i");function gr(se){const Ae="&"+se+";";Kn.innerHTML=Ae;const ke=Kn.textContent;return ke.charCodeAt(ke.length-1)===59&&se!=="semi"||ke===Ae?!1:ke}const dr={name:"characterReference",tokenize:Yr};function Yr(se,Ae,ke){const Ue=this;let mt=0,Et,Lt;return tn;function tn(Vn){return se.enter("characterReference"),se.enter("characterReferenceMarker"),se.consume(Vn),se.exit("characterReferenceMarker"),_n}function _n(Vn){return Vn===35?(se.enter("characterReferenceMarkerNumeric"),se.consume(Vn),se.exit("characterReferenceMarkerNumeric"),Mn):(se.enter("characterReferenceValue"),Et=31,Lt=Mt.H$,bn(Vn))}function Mn(Vn){return Vn===88||Vn===120?(se.enter("characterReferenceMarkerHexadecimal"),se.consume(Vn),se.exit("characterReferenceMarkerHexadecimal"),se.enter("characterReferenceValue"),Et=6,Lt=Mt.AF,bn):(se.enter("characterReferenceValue"),Et=7,Lt=Mt.pY,bn(Vn))}function bn(Vn){if(Vn===59&&mt){const $n=se.exit("characterReferenceValue");return Lt===Mt.H$&&!gr(Ue.sliceSerialize($n))?ke(Vn):(se.enter("characterReferenceMarker"),se.consume(Vn),se.exit("characterReferenceMarker"),se.exit("characterReference"),Ae)}return Lt(Vn)&&mt++<Et?(se.consume(Vn),bn):ke(Vn)}}const Wr={name:"characterEscape",tokenize:Zr};function Zr(se,Ae,ke){return Ue;function Ue(Et){return se.enter("characterEscape"),se.enter("escapeMarker"),se.consume(Et),se.exit("escapeMarker"),mt}function mt(Et){return(0,Mt.sR)(Et)?(se.enter("characterEscapeValue"),se.consume(Et),se.exit("characterEscapeValue"),se.exit("characterEscape"),Ae):ke(Et)}}const Qr={name:"lineEnding",tokenize:ca};function ca(se,Ae){return ke;function ke(Ue){return se.enter("lineEnding"),se.consume(Ue),se.exit("lineEnding"),(0,fn.f)(se,Ae,"linePrefix")}}var Xr=y(29960);const la={name:"labelEnd",resolveAll:Ea,resolveTo:ia,tokenize:ra},_r={tokenize:fa},oa={tokenize:ha},_t={tokenize:Br};function Ea(se){let Ae=-1;const ke=[];for(;++Ae<se.length;){const Ue=se[Ae][1];if(ke.push(se[Ae]),Ue.type==="labelImage"||Ue.type==="labelLink"||Ue.type==="labelEnd"){const mt=Ue.type==="labelImage"?4:2;Ue.type="data",Ae+=mt}}return se.length!==ke.length&&(0,$t.d)(se,0,se.length,ke),se}function ia(se,Ae){let ke=se.length,Ue=0,mt,Et,Lt,tn;for(;ke--;)if(mt=se[ke][1],Et){if(mt.type==="link"||mt.type==="labelLink"&&mt._inactive)break;se[ke][0]==="enter"&&mt.type==="labelLink"&&(mt._inactive=!0)}else if(Lt){if(se[ke][0]==="enter"&&(mt.type==="labelImage"||mt.type==="labelLink")&&!mt._balanced&&(Et=ke,mt.type!=="labelLink")){Ue=2;break}}else mt.type==="labelEnd"&&(Lt=ke);const _n={type:se[Et][1].type==="labelLink"?"link":"image",start:qa({},se[Et][1].start),end:qa({},se[se.length-1][1].end)},Mn={type:"label",start:qa({},se[Et][1].start),end:qa({},se[Lt][1].end)},bn={type:"labelText",start:qa({},se[Et+Ue+2][1].end),end:qa({},se[Lt-2][1].start)};return tn=[["enter",_n,Ae],["enter",Mn,Ae]],tn=(0,$t.V)(tn,se.slice(Et+1,Et+Ue+3)),tn=(0,$t.V)(tn,[["enter",bn,Ae]]),tn=(0,$t.V)(tn,(0,Xr.C)(Ae.parser.constructs.insideSpan.null,se.slice(Et+Ue+4,Lt-3),Ae)),tn=(0,$t.V)(tn,[["exit",bn,Ae],se[Lt-2],se[Lt-1],["exit",Mn,Ae]]),tn=(0,$t.V)(tn,se.slice(Lt+1)),tn=(0,$t.V)(tn,[["exit",_n,Ae]]),(0,$t.d)(se,Et,se.length,tn),se}function ra(se,Ae,ke){const Ue=this;let mt=Ue.events.length,Et,Lt;for(;mt--;)if((Ue.events[mt][1].type==="labelImage"||Ue.events[mt][1].type==="labelLink")&&!Ue.events[mt][1]._balanced){Et=Ue.events[mt][1];break}return tn;function tn($n){return Et?Et._inactive?Vn($n):(Lt=Ue.parser.defined.includes((0,zr.d)(Ue.sliceSerialize({start:Et.end,end:Ue.now()}))),se.enter("labelEnd"),se.enter("labelMarker"),se.consume($n),se.exit("labelMarker"),se.exit("labelEnd"),_n):ke($n)}function _n($n){return $n===40?se.attempt(_r,bn,Lt?bn:Vn)($n):$n===91?se.attempt(oa,bn,Lt?Mn:Vn)($n):Lt?bn($n):Vn($n)}function Mn($n){return se.attempt(_t,bn,Vn)($n)}function bn($n){return Ae($n)}function Vn($n){return Et._balanced=!0,ke($n)}}function fa(se,Ae,ke){return Ue;function Ue(Vn){return se.enter("resource"),se.enter("resourceMarker"),se.consume(Vn),se.exit("resourceMarker"),mt}function mt(Vn){return(0,Mt.z3)(Vn)?Kr(se,Et)(Vn):Et(Vn)}function Et(Vn){return Vn===41?bn(Vn):ea(se,Lt,tn,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(Vn)}function Lt(Vn){return(0,Mt.z3)(Vn)?Kr(se,_n)(Vn):bn(Vn)}function tn(Vn){return ke(Vn)}function _n(Vn){return Vn===34||Vn===39||Vn===40?sr(se,Mn,ke,"resourceTitle","resourceTitleMarker","resourceTitleString")(Vn):bn(Vn)}function Mn(Vn){return(0,Mt.z3)(Vn)?Kr(se,bn)(Vn):bn(Vn)}function bn(Vn){return Vn===41?(se.enter("resourceMarker"),se.consume(Vn),se.exit("resourceMarker"),se.exit("resource"),Ae):ke(Vn)}}function ha(se,Ae,ke){const Ue=this;return mt;function mt(tn){return jn.call(Ue,se,Et,Lt,"reference","referenceMarker","referenceString")(tn)}function Et(tn){return Ue.parser.defined.includes((0,zr.d)(Ue.sliceSerialize(Ue.events[Ue.events.length-1][1]).slice(1,-1)))?Ae(tn):ke(tn)}function Lt(tn){return ke(tn)}}function Br(se,Ae,ke){return Ue;function Ue(Et){return se.enter("reference"),se.enter("referenceMarker"),se.consume(Et),se.exit("referenceMarker"),mt}function mt(Et){return Et===93?(se.enter("referenceMarker"),se.consume(Et),se.exit("referenceMarker"),se.exit("reference"),Ae):ke(Et)}}const Gn={name:"labelStartImage",resolveAll:la.resolveAll,tokenize:Vr};function Vr(se,Ae,ke){const Ue=this;return mt;function mt(tn){return se.enter("labelImage"),se.enter("labelImageMarker"),se.consume(tn),se.exit("labelImageMarker"),Et}function Et(tn){return tn===91?(se.enter("labelMarker"),se.consume(tn),se.exit("labelMarker"),se.exit("labelImage"),Lt):ke(tn)}function Lt(tn){return tn===94&&"_hiddenFootnoteSupport"in Ue.parser.constructs?ke(tn):Ae(tn)}}var qn=y(97864);const hr={name:"attention",resolveAll:or,tokenize:er};function or(se,Ae){let ke=-1,Ue,mt,Et,Lt,tn,_n,Mn,bn;for(;++ke<se.length;)if(se[ke][0]==="enter"&&se[ke][1].type==="attentionSequence"&&se[ke][1]._close){for(Ue=ke;Ue--;)if(se[Ue][0]==="exit"&&se[Ue][1].type==="attentionSequence"&&se[Ue][1]._open&&Ae.sliceSerialize(se[Ue][1]).charCodeAt(0)===Ae.sliceSerialize(se[ke][1]).charCodeAt(0)){if((se[Ue][1]._close||se[ke][1]._open)&&(se[ke][1].end.offset-se[ke][1].start.offset)%3&&!((se[Ue][1].end.offset-se[Ue][1].start.offset+se[ke][1].end.offset-se[ke][1].start.offset)%3))continue;_n=se[Ue][1].end.offset-se[Ue][1].start.offset>1&&se[ke][1].end.offset-se[ke][1].start.offset>1?2:1;const Vn=qa({},se[Ue][1].end),$n=qa({},se[ke][1].start);Dr(Vn,-_n),Dr($n,_n),Lt={type:_n>1?"strongSequence":"emphasisSequence",start:Vn,end:qa({},se[Ue][1].end)},tn={type:_n>1?"strongSequence":"emphasisSequence",start:qa({},se[ke][1].start),end:$n},Et={type:_n>1?"strongText":"emphasisText",start:qa({},se[Ue][1].end),end:qa({},se[ke][1].start)},mt={type:_n>1?"strong":"emphasis",start:qa({},Lt.start),end:qa({},tn.end)},se[Ue][1].end=qa({},Lt.start),se[ke][1].start=qa({},tn.end),Mn=[],se[Ue][1].end.offset-se[Ue][1].start.offset&&(Mn=(0,$t.V)(Mn,[["enter",se[Ue][1],Ae],["exit",se[Ue][1],Ae]])),Mn=(0,$t.V)(Mn,[["enter",mt,Ae],["enter",Lt,Ae],["exit",Lt,Ae],["enter",Et,Ae]]),Mn=(0,$t.V)(Mn,(0,Xr.C)(Ae.parser.constructs.insideSpan.null,se.slice(Ue+1,ke),Ae)),Mn=(0,$t.V)(Mn,[["exit",Et,Ae],["enter",tn,Ae],["exit",tn,Ae],["exit",mt,Ae]]),se[ke][1].end.offset-se[ke][1].start.offset?(bn=2,Mn=(0,$t.V)(Mn,[["enter",se[ke][1],Ae],["exit",se[ke][1],Ae]])):bn=0,(0,$t.d)(se,Ue-1,ke-Ue+3,Mn),ke=Ue+Mn.length-bn-2;break}}for(ke=-1;++ke<se.length;)se[ke][1].type==="attentionSequence"&&(se[ke][1].type="data");return se}function er(se,Ae){const ke=this.parser.constructs.attentionMarkers.null,Ue=this.previous,mt=(0,qn.r)(Ue);let Et;return Lt;function Lt(_n){return Et=_n,se.enter("attentionSequence"),tn(_n)}function tn(_n){if(_n===Et)return se.consume(_n),tn;const Mn=se.exit("attentionSequence"),bn=(0,qn.r)(_n),Vn=!bn||bn===2&&mt||ke.includes(_n),$n=!mt||mt===2&&bn||ke.includes(Ue);return Mn._open=!!(Et===42?Vn:Vn&&(mt||!$n)),Mn._close=!!(Et===42?$n:$n&&(bn||!Vn)),Ae(_n)}}function Dr(se,Ae){se.column+=Ae,se.offset+=Ae,se._bufferIndex+=Ae}const Ar={name:"autolink",tokenize:ur};function ur(se,Ae,ke){let Ue=0;return mt;function mt(Nn){return se.enter("autolink"),se.enter("autolinkMarker"),se.consume(Nn),se.exit("autolinkMarker"),se.enter("autolinkProtocol"),Et}function Et(Nn){return(0,Mt.jv)(Nn)?(se.consume(Nn),Lt):Nn===64?ke(Nn):Mn(Nn)}function Lt(Nn){return Nn===43||Nn===45||Nn===46||(0,Mt.H$)(Nn)?(Ue=1,tn(Nn)):Mn(Nn)}function tn(Nn){return Nn===58?(se.consume(Nn),Ue=0,_n):(Nn===43||Nn===45||Nn===46||(0,Mt.H$)(Nn))&&Ue++<32?(se.consume(Nn),tn):(Ue=0,Mn(Nn))}function _n(Nn){return Nn===62?(se.exit("autolinkProtocol"),se.enter("autolinkMarker"),se.consume(Nn),se.exit("autolinkMarker"),se.exit("autolink"),Ae):Nn===null||Nn===32||Nn===60||(0,Mt.Av)(Nn)?ke(Nn):(se.consume(Nn),_n)}function Mn(Nn){return Nn===64?(se.consume(Nn),bn):(0,Mt.n9)(Nn)?(se.consume(Nn),Mn):ke(Nn)}function bn(Nn){return(0,Mt.H$)(Nn)?Vn(Nn):ke(Nn)}function Vn(Nn){return Nn===46?(se.consume(Nn),Ue=0,bn):Nn===62?(se.exit("autolinkProtocol").type="autolinkEmail",se.enter("autolinkMarker"),se.consume(Nn),se.exit("autolinkMarker"),se.exit("autolink"),Ae):$n(Nn)}function $n(Nn){if((Nn===45||(0,Mt.H$)(Nn))&&Ue++<63){const Ia=Nn===45?$n:Vn;return se.consume(Nn),Ia}return ke(Nn)}}const nr={name:"htmlText",tokenize:xr};function xr(se,Ae,ke){const Ue=this;let mt,Et,Lt;return tn;function tn(hn){return se.enter("htmlText"),se.enter("htmlTextData"),se.consume(hn),_n}function _n(hn){return hn===33?(se.consume(hn),Mn):hn===47?(se.consume(hn),yi):hn===63?(se.consume(hn),La):(0,Mt.jv)(hn)?(se.consume(hn),Ei):ke(hn)}function Mn(hn){return hn===45?(se.consume(hn),bn):hn===91?(se.consume(hn),Et=0,Ia):(0,Mt.jv)(hn)?(se.consume(hn),pi):ke(hn)}function bn(hn){return hn===45?(se.consume(hn),Nn):ke(hn)}function Vn(hn){return hn===null?ke(hn):hn===45?(se.consume(hn),$n):(0,Mt.Ch)(hn)?(Lt=Vn,Rn(hn)):(se.consume(hn),Vn)}function $n(hn){return hn===45?(se.consume(hn),Nn):Vn(hn)}function Nn(hn){return hn===62?Ot(hn):hn===45?$n(hn):Vn(hn)}function Ia(hn){const wa="CDATA[";return hn===wa.charCodeAt(Et++)?(se.consume(hn),Et===wa.length?Qa:Ia):ke(hn)}function Qa(hn){return hn===null?ke(hn):hn===93?(se.consume(hn),gi):(0,Mt.Ch)(hn)?(Lt=Qa,Rn(hn)):(se.consume(hn),Qa)}function gi(hn){return hn===93?(se.consume(hn),va):Qa(hn)}function va(hn){return hn===62?Ot(hn):hn===93?(se.consume(hn),va):Qa(hn)}function pi(hn){return hn===null||hn===62?Ot(hn):(0,Mt.Ch)(hn)?(Lt=pi,Rn(hn)):(se.consume(hn),pi)}function La(hn){return hn===null?ke(hn):hn===63?(se.consume(hn),Ui):(0,Mt.Ch)(hn)?(Lt=La,Rn(hn)):(se.consume(hn),La)}function Ui(hn){return hn===62?Ot(hn):La(hn)}function yi(hn){return(0,Mt.jv)(hn)?(se.consume(hn),ta):ke(hn)}function ta(hn){return hn===45||(0,Mt.H$)(hn)?(se.consume(hn),ta):Ai(hn)}function Ai(hn){return(0,Mt.Ch)(hn)?(Lt=Ai,Rn(hn)):(0,Mt.xz)(hn)?(se.consume(hn),Ai):Ot(hn)}function Ei(hn){return hn===45||(0,Mt.H$)(hn)?(se.consume(hn),Ei):hn===47||hn===62||(0,Mt.z3)(hn)?Ii(hn):ke(hn)}function Ii(hn){return hn===47?(se.consume(hn),Ot):hn===58||hn===95||(0,Mt.jv)(hn)?(se.consume(hn),Ri):(0,Mt.Ch)(hn)?(Lt=Ii,Rn(hn)):(0,Mt.xz)(hn)?(se.consume(hn),Ii):Ot(hn)}function Ri(hn){return hn===45||hn===46||hn===58||hn===95||(0,Mt.H$)(hn)?(se.consume(hn),Ri):xo(hn)}function xo(hn){return hn===61?(se.consume(hn),ui):(0,Mt.Ch)(hn)?(Lt=xo,Rn(hn)):(0,Mt.xz)(hn)?(se.consume(hn),xo):Ii(hn)}function ui(hn){return hn===null||hn===60||hn===61||hn===62||hn===96?ke(hn):hn===34||hn===39?(se.consume(hn),mt=hn,x):(0,Mt.Ch)(hn)?(Lt=ui,Rn(hn)):(0,Mt.xz)(hn)?(se.consume(hn),ui):(se.consume(hn),ee)}function x(hn){return hn===mt?(se.consume(hn),mt=void 0,Ne):hn===null?ke(hn):(0,Mt.Ch)(hn)?(Lt=x,Rn(hn)):(se.consume(hn),x)}function ee(hn){return hn===null||hn===34||hn===39||hn===60||hn===61||hn===96?ke(hn):hn===47||hn===62||(0,Mt.z3)(hn)?Ii(hn):(se.consume(hn),ee)}function Ne(hn){return hn===47||hn===62||(0,Mt.z3)(hn)?Ii(hn):ke(hn)}function Ot(hn){return hn===62?(se.consume(hn),se.exit("htmlTextData"),se.exit("htmlText"),Ae):ke(hn)}function Rn(hn){return se.exit("htmlTextData"),se.enter("lineEnding"),se.consume(hn),se.exit("lineEnding"),fr}function fr(hn){return(0,Mt.xz)(hn)?(0,fn.f)(se,Mr,"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(hn):Mr(hn)}function Mr(hn){return se.enter("htmlTextData"),Lt(hn)}}const Or={name:"labelStartLink",resolveAll:la.resolveAll,tokenize:ba};function ba(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return se.enter("labelLink"),se.enter("labelMarker"),se.consume(Lt),se.exit("labelMarker"),se.exit("labelLink"),Et}function Et(Lt){return Lt===94&&"_hiddenFootnoteSupport"in Ue.parser.constructs?ke(Lt):Ae(Lt)}}const da={name:"hardBreakEscape",tokenize:ya};function ya(se,Ae,ke){return Ue;function Ue(Et){return se.enter("hardBreakEscape"),se.consume(Et),mt}function mt(Et){return(0,Mt.Ch)(Et)?(se.exit("hardBreakEscape"),Ae(Et)):ke(Et)}}const Ma={name:"codeText",previous:Na,resolve:_a,tokenize:Ha};function _a(se){let Ae=se.length-4,ke=3,Ue,mt;if((se[ke][1].type==="lineEnding"||se[ke][1].type==="space")&&(se[Ae][1].type==="lineEnding"||se[Ae][1].type==="space")){for(Ue=ke;++Ue<Ae;)if(se[Ue][1].type==="codeTextData"){se[ke][1].type="codeTextPadding",se[Ae][1].type="codeTextPadding",ke+=2,Ae-=2;break}}for(Ue=ke-1,Ae++;++Ue<=Ae;)mt===void 0?Ue!==Ae&&se[Ue][1].type!=="lineEnding"&&(mt=Ue):(Ue===Ae||se[Ue][1].type==="lineEnding")&&(se[mt][1].type="codeTextData",Ue!==mt+2&&(se[mt][1].end=se[Ue-1][1].end,se.splice(mt+2,Ue-mt-2),Ae-=Ue-mt-2,Ue=mt+2),mt=void 0);return se}function Na(se){return se!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ha(se,Ae,ke){const Ue=this;let mt=0,Et,Lt;return tn;function tn($n){return se.enter("codeText"),se.enter("codeTextSequence"),_n($n)}function _n($n){return $n===96?(se.consume($n),mt++,_n):(se.exit("codeTextSequence"),Mn($n))}function Mn($n){return $n===null?ke($n):$n===32?(se.enter("space"),se.consume($n),se.exit("space"),Mn):$n===96?(Lt=se.enter("codeTextSequence"),Et=0,Vn($n)):(0,Mt.Ch)($n)?(se.enter("lineEnding"),se.consume($n),se.exit("lineEnding"),Mn):(se.enter("codeTextData"),bn($n))}function bn($n){return $n===null||$n===32||$n===96||(0,Mt.Ch)($n)?(se.exit("codeTextData"),Mn($n)):(se.consume($n),bn)}function Vn($n){return $n===96?(se.consume($n),Et++,Vn):Et===mt?(se.exit("codeTextSequence"),se.exit("codeText"),Ae($n)):(Lt.type="codeTextData",bn($n))}}const Da={42:lr,43:lr,45:lr,48:lr,49:lr,50:lr,51:lr,52:lr,53:lr,54:lr,55:lr,56:lr,57:lr,62:Ur},ja={91:ve},Gr={[-2]:He,[-1]:He,32:He},bi={35:cn,42:wt,45:[Kt,wt],60:rr,61:Kt,95:wt,96:wr,126:wr},wi={38:dr,92:Wr},Pa={[-5]:Qr,[-4]:Qr,[-3]:Qr,33:Gn,38:dr,42:hr,60:[Ar,nr],91:Or,92:[da,Wr],93:la,95:hr,96:Ma},li={null:[hr,Dn]},fi={null:[42,95]},Ua={null:[]};function Ni(se,Ae,ke){let Ue={_bufferIndex:-1,_index:0,line:ke&&ke.line||1,column:ke&&ke.column||1,offset:ke&&ke.offset||0};const mt={},Et=[];let Lt=[],tn=[],_n=!0;const Mn={attempt:Ii(Ai),check:Ii(Ei),consume:Ui,enter:yi,exit:ta,interrupt:Ii(Ei,{interrupt:!0})},bn={code:null,containerState:{},defineSkip:va,events:[],now:gi,parser:se,previous:null,sliceSerialize:Ia,sliceStream:Qa,write:Nn};let Vn=Ae.tokenize.call(bn,Mn),$n;return Ae.resolveAll&&Et.push(Ae),bn;function Nn(x){return Lt=(0,$t.V)(Lt,x),pi(),Lt[Lt.length-1]!==null?[]:(Ri(Ae,0),bn.events=(0,Xr.C)(Et,bn.events,bn),bn.events)}function Ia(x,ee){return Aa(Qa(x),ee)}function Qa(x){return Va(Lt,x)}function gi(){const{_bufferIndex:x,_index:ee,line:Ne,column:Ot,offset:Rn}=Ue;return{_bufferIndex:x,_index:ee,line:Ne,column:Ot,offset:Rn}}function va(x){mt[x.line]=x.column,ui()}function pi(){let x;for(;Ue._index<Lt.length;){const ee=Lt[Ue._index];if(typeof ee=="string")for(x=Ue._index,Ue._bufferIndex<0&&(Ue._bufferIndex=0);Ue._index===x&&Ue._bufferIndex<ee.length;)La(ee.charCodeAt(Ue._bufferIndex));else La(ee)}}function La(x){_n=void 0,$n=x,Vn=Vn(x)}function Ui(x){(0,Mt.Ch)(x)?(Ue.line++,Ue.column=1,Ue.offset+=x===-3?2:1,ui()):x!==-1&&(Ue.column++,Ue.offset++),Ue._bufferIndex<0?Ue._index++:(Ue._bufferIndex++,Ue._bufferIndex===Lt[Ue._index].length&&(Ue._bufferIndex=-1,Ue._index++)),bn.previous=x,_n=!0}function yi(x,ee){const Ne=ee||{};return Ne.type=x,Ne.start=gi(),bn.events.push(["enter",Ne,bn]),tn.push(Ne),Ne}function ta(x){const ee=tn.pop();return ee.end=gi(),bn.events.push(["exit",ee,bn]),ee}function Ai(x,ee){Ri(x,ee.from)}function Ei(x,ee){ee.restore()}function Ii(x,ee){return Ne;function Ne(Ot,Rn,fr){let Mr,hn,wa,hi;return Array.isArray(Ot)?no(Ot):"tokenize"in Ot?no([Ot]):Bn(Ot);function Bn(co){return Ls;function Ls(ko){const Cs=ko!==null&&co[ko],Zs=ko!==null&&co.null,gl=[...Array.isArray(Cs)?Cs:Cs?[Cs]:[],...Array.isArray(Zs)?Zs:Zs?[Zs]:[]];return no(gl)(ko)}}function no(co){return Mr=co,hn=0,co.length===0?fr:Ao(co[hn])}function Ao(co){return Ls;function Ls(ko){return hi=xo(),wa=co,co.partial||(bn.currentConstruct=co),co.name&&bn.parser.constructs.disable.null.includes(co.name)?Vs(ko):co.tokenize.call(ee?Object.assign(Object.create(bn),ee):bn,Mn,ml,Vs)(ko)}}function ml(co){return _n=!0,x(wa,hi),Rn}function Vs(co){return _n=!0,hi.restore(),++hn<Mr.length?Ao(Mr[hn]):fr}}}function Ri(x,ee){x.resolveAll&&!Et.includes(x)&&Et.push(x),x.resolve&&(0,$t.d)(bn.events,ee,bn.events.length-ee,x.resolve(bn.events.slice(ee),bn)),x.resolveTo&&(bn.events=x.resolveTo(bn.events,bn))}function xo(){const x=gi(),ee=bn.previous,Ne=bn.currentConstruct,Ot=bn.events.length,Rn=Array.from(tn);return{from:Ot,restore:fr};function fr(){Ue=x,bn.previous=ee,bn.currentConstruct=Ne,bn.events.length=Ot,tn=Rn,ui()}}function ui(){Ue.line in mt&&Ue.column<2&&(Ue.column=mt[Ue.line],Ue.offset+=mt[Ue.line]-1)}}function Va(se,Ae){const ke=Ae.start._index,Ue=Ae.start._bufferIndex,mt=Ae.end._index,Et=Ae.end._bufferIndex;let Lt;if(ke===mt)Lt=[se[ke].slice(Ue,Et)];else{if(Lt=se.slice(ke,mt),Ue>-1){const tn=Lt[0];typeof tn=="string"?Lt[0]=tn.slice(Ue):Lt.shift()}Et>0&&Lt.push(se[mt].slice(0,Et))}return Lt}function Aa(se,Ae){let ke=-1;const Ue=[];let mt;for(;++ke<se.length;){const Et=se[ke];let Lt;if(typeof Et=="string")Lt=Et;else switch(Et){case-5:{Lt="\r";break}case-4:{Lt=`
|
|
|
`;break}case-3:{Lt=`\r
|
|
|
`;break}case-2:{Lt=Ae?" ":" ";break}case-1:{if(!Ae&&mt)continue;Lt=" ";break}default:Lt=String.fromCharCode(Et)}mt=Et===-2,Ue.push(Lt)}return Ue.join("")}function $a(se){const Ae=se||{},Ue={constructs:(0,pn.W)([b,...Ae.extensions||[]]),content:mt(Ln),defined:[],document:mt(wn),flow:mt(de),lazy:{},string:mt(mn),text:mt(vr)};return Ue;function mt(Et){return Lt;function Lt(tn){return Ni(Ue,Et,tn)}}}const Ja=/[\0\t\n\r]/g;function Ba(){let se=1,Ae="",ke=!0,Ue;return mt;function mt(Et,Lt,tn){const _n=[];let Mn,bn,Vn,$n,Nn;for(Et=Ae+(typeof Et=="string"?Et.toString():new TextDecoder(Lt||void 0).decode(Et)),Vn=0,Ae="",ke&&(Et.charCodeAt(0)===65279&&Vn++,ke=void 0);Vn<Et.length;){if(Ja.lastIndex=Vn,Mn=Ja.exec(Et),$n=Mn&&Mn.index!==void 0?Mn.index:Et.length,Nn=Et.charCodeAt($n),!Mn){Ae=Et.slice(Vn);break}if(Nn===10&&Vn===$n&&Ue)_n.push(-3),Ue=void 0;else switch(Ue&&(_n.push(-5),Ue=void 0),Vn<$n&&(_n.push(Et.slice(Vn,$n)),se+=$n-Vn),Nn){case 0:{_n.push(65533),se++;break}case 9:{for(bn=Math.ceil(se/4)*4,_n.push(-2);se++<bn;)_n.push(-1);break}case 10:{_n.push(-4),se=1;break}default:Ue=!0,se=1}Vn=$n+1}return tn&&(Ue&&_n.push(-5),Ae&&_n.push(Ae),_n.push(null)),_n}}function Xa(se,Ae){const ke=Number.parseInt(se,Ae);return ke<9||ke===11||ke>13&&ke<32||ke>126&&ke<160||ke>55295&&ke<57344||ke>64975&&ke<65008||(ke&65535)===65535||(ke&65535)===65534||ke>1114111?"\uFFFD":String.fromCodePoint(ke)}const ma=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xi(se){return se.replace(ma,Bi)}function Bi(se,Ae,ke){if(Ae)return Ae;if(ke.charCodeAt(0)===35){const mt=ke.charCodeAt(1),Et=mt===120||mt===88;return Xa(ke.slice(Et?2:1),Et?16:10)}return gr(ke)||se}const Fi={}.hasOwnProperty;function Rr(se,Ae,ke){return Ae&&typeof Ae=="object"&&(ke=Ae,Ae=void 0),Ti(ke)(Wt($a(ke).document().write(Ba()(se,Ae,!0))))}function Ti(se){const Ae={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Et(bl),autolinkProtocol:Ii,autolinkEmail:Ii,atxHeading:Et(Hl),blockQuote:Et(ko),characterEscape:Ii,characterReference:Ii,codeFenced:Et(Cs),codeFencedFenceInfo:Lt,codeFencedFenceMeta:Lt,codeIndented:Et(Cs,Lt),codeText:Et(Zs,Lt),codeTextData:Ii,data:Ii,codeFlowValue:Ii,definition:Et(gl),definitionDestinationString:Lt,definitionLabelString:Lt,definitionTitleString:Lt,emphasis:Et(mu),hardBreakEscape:Et(Ms),hardBreakTrailing:Et(Ms),htmlFlow:Et(vl,Lt),htmlFlowData:Ii,htmlText:Et(vl,Lt),htmlTextData:Ii,image:Et(ou),label:Lt,link:Et(bl),listItem:Et($s),listItemValue:$n,listOrdered:Et(yl,Vn),listUnordered:Et(yl),paragraph:Et(jl),reference:Bn,referenceString:Lt,resourceDestinationString:Lt,resourceTitleString:Lt,setextHeading:Et(Hl),strong:Et(Dl),thematicBreak:Et(El)},exit:{atxHeading:_n(),atxHeadingSequence:yi,autolink:_n(),autolinkEmail:Ls,autolinkProtocol:co,blockQuote:_n(),characterEscapeValue:Ri,characterReferenceMarkerHexadecimal:Ao,characterReferenceMarkerNumeric:Ao,characterReferenceValue:ml,characterReference:Vs,codeFenced:_n(gi),codeFencedFence:Qa,codeFencedFenceInfo:Nn,codeFencedFenceMeta:Ia,codeFlowValue:Ri,codeIndented:_n(va),codeText:_n(Ne),codeTextData:Ri,data:Ri,definition:_n(),definitionDestinationString:Ui,definitionLabelString:pi,definitionTitleString:La,emphasis:_n(),hardBreakEscape:_n(ui),hardBreakTrailing:_n(ui),htmlFlow:_n(x),htmlFlowData:Ri,htmlText:_n(ee),htmlTextData:Ri,image:_n(Rn),label:Mr,labelText:fr,lineEnding:xo,link:_n(Ot),listItem:_n(),listOrdered:_n(),listUnordered:_n(),paragraph:_n(),referenceString:no,resourceDestinationString:hn,resourceTitleString:wa,resource:hi,setextHeading:_n(Ei),setextHeadingLineSequence:Ai,setextHeadingText:ta,strong:_n(),thematicBreak:_n()}};Ra(Ae,(se||{}).mdastExtensions||[]);const ke={};return Ue;function Ue(Lr){let ga={type:"root",children:[]};const oi={stack:[ga],tokenStack:[],config:Ae,enter:tn,exit:Mn,buffer:Lt,resume:bn,data:ke},Za=[];let Oi=-1;for(;++Oi<Lr.length;)if(Lr[Oi][1].type==="listOrdered"||Lr[Oi][1].type==="listUnordered")if(Lr[Oi][0]==="enter")Za.push(Oi);else{const Wo=Za.pop();Oi=mt(Lr,Wo,Oi)}for(Oi=-1;++Oi<Lr.length;){const Wo=Ae[Lr[Oi][0]];Fi.call(Wo,Lr[Oi][1].type)&&Wo[Lr[Oi][1].type].call(Object.assign({sliceSerialize:Lr[Oi][2].sliceSerialize},oi),Lr[Oi][1])}if(oi.tokenStack.length>0){const Wo=oi.tokenStack[oi.tokenStack.length-1];(Wo[1]||Ca).call(oi,void 0,Wo[0])}for(ga.position={start:qi(Lr.length>0?Lr[0][1].start:{line:1,column:1,offset:0}),end:qi(Lr.length>0?Lr[Lr.length-2][1].end:{line:1,column:1,offset:0})},Oi=-1;++Oi<Ae.transforms.length;)ga=Ae.transforms[Oi](ga)||ga;return ga}function mt(Lr,ga,oi){let Za=ga-1,Oi=-1,Wo=!1,Ps,ls,us,Bs;for(;++Za<=oi;){const Do=Lr[Za];switch(Do[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Do[0]==="enter"?Oi++:Oi--,Bs=void 0;break}case"lineEndingBlank":{Do[0]==="enter"&&(Ps&&!Bs&&!Oi&&!us&&(us=Za),Bs=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Bs=void 0}if(!Oi&&Do[0]==="enter"&&Do[1].type==="listItemPrefix"||Oi===-1&&Do[0]==="exit"&&(Do[1].type==="listUnordered"||Do[1].type==="listOrdered")){if(Ps){let Ks=Za;for(ls=void 0;Ks--;){const Lo=Lr[Ks];if(Lo[1].type==="lineEnding"||Lo[1].type==="lineEndingBlank"){if(Lo[0]==="exit")continue;ls&&(Lr[ls][1].type="lineEndingBlank",Wo=!0),Lo[1].type="lineEnding",ls=Ks}else if(!(Lo[1].type==="linePrefix"||Lo[1].type==="blockQuotePrefix"||Lo[1].type==="blockQuotePrefixWhitespace"||Lo[1].type==="blockQuoteMarker"||Lo[1].type==="listItemIndent"))break}us&&(!ls||us<ls)&&(Ps._spread=!0),Ps.end=Object.assign({},ls?Lr[ls][1].start:Do[1].end),Lr.splice(ls||Za,0,["exit",Ps,Do[2]]),Za++,oi++}if(Do[1].type==="listItemPrefix"){const Ks={type:"listItem",_spread:!1,start:Object.assign({},Do[1].start),end:void 0};Ps=Ks,Lr.splice(Za,0,["enter",Ks,Do[2]]),Za++,oi++,us=void 0,Bs=!0}}}return Lr[ga][1]._spread=Wo,oi}function Et(Lr,ga){return oi;function oi(Za){tn.call(this,Lr(Za),Za),ga&&ga.call(this,Za)}}function Lt(){this.stack.push({type:"fragment",children:[]})}function tn(Lr,ga,oi){this.stack[this.stack.length-1].children.push(Lr),this.stack.push(Lr),this.tokenStack.push([ga,oi||void 0]),Lr.position={start:qi(ga.start),end:void 0}}function _n(Lr){return ga;function ga(oi){Lr&&Lr.call(this,oi),Mn.call(this,oi)}}function Mn(Lr,ga){const oi=this.stack.pop(),Za=this.tokenStack.pop();if(Za)Za[0].type!==Lr.type&&(ga?ga.call(this,Lr,Za[0]):(Za[1]||Ca).call(this,Lr,Za[0]));else throw new Error("Cannot close `"+Lr.type+"` ("+_e({start:Lr.start,end:Lr.end})+"): it\u2019s not open");oi.position.end=qi(Lr.end)}function bn(){return(0,ct.B)(this.stack.pop())}function Vn(){this.data.expectingFirstListItemValue=!0}function $n(Lr){if(this.data.expectingFirstListItemValue){const ga=this.stack[this.stack.length-2];ga.start=Number.parseInt(this.sliceSerialize(Lr),10),this.data.expectingFirstListItemValue=void 0}}function Nn(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.lang=Lr}function Ia(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.meta=Lr}function Qa(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function gi(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.value=Lr.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function va(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.value=Lr.replace(/(\r?\n|\r)$/g,"")}function pi(Lr){const ga=this.resume(),oi=this.stack[this.stack.length-1];oi.label=ga,oi.identifier=(0,zr.d)(this.sliceSerialize(Lr)).toLowerCase()}function La(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.title=Lr}function Ui(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.url=Lr}function yi(Lr){const ga=this.stack[this.stack.length-1];if(!ga.depth){const oi=this.sliceSerialize(Lr).length;ga.depth=oi}}function ta(){this.data.setextHeadingSlurpLineEnding=!0}function Ai(Lr){const ga=this.stack[this.stack.length-1];ga.depth=this.sliceSerialize(Lr).codePointAt(0)===61?1:2}function Ei(){this.data.setextHeadingSlurpLineEnding=void 0}function Ii(Lr){const oi=this.stack[this.stack.length-1].children;let Za=oi[oi.length-1];(!Za||Za.type!=="text")&&(Za=Gl(),Za.position={start:qi(Lr.start),end:void 0},oi.push(Za)),this.stack.push(Za)}function Ri(Lr){const ga=this.stack.pop();ga.value+=this.sliceSerialize(Lr),ga.position.end=qi(Lr.end)}function xo(Lr){const ga=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oi=ga.children[ga.children.length-1];oi.position.end=qi(Lr.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&Ae.canContainEols.includes(ga.type)&&(Ii.call(this,Lr),Ri.call(this,Lr))}function ui(){this.data.atHardBreak=!0}function x(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.value=Lr}function ee(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.value=Lr}function Ne(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.value=Lr}function Ot(){const Lr=this.stack[this.stack.length-1];if(this.data.inReference){const ga=this.data.referenceType||"shortcut";Lr.type+="Reference",Lr.referenceType=ga,delete Lr.url,delete Lr.title}else delete Lr.identifier,delete Lr.label;this.data.referenceType=void 0}function Rn(){const Lr=this.stack[this.stack.length-1];if(this.data.inReference){const ga=this.data.referenceType||"shortcut";Lr.type+="Reference",Lr.referenceType=ga,delete Lr.url,delete Lr.title}else delete Lr.identifier,delete Lr.label;this.data.referenceType=void 0}function fr(Lr){const ga=this.sliceSerialize(Lr),oi=this.stack[this.stack.length-2];oi.label=xi(ga),oi.identifier=(0,zr.d)(ga).toLowerCase()}function Mr(){const Lr=this.stack[this.stack.length-1],ga=this.resume(),oi=this.stack[this.stack.length-1];if(this.data.inReference=!0,oi.type==="link"){const Za=Lr.children;oi.children=Za}else oi.alt=ga}function hn(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.url=Lr}function wa(){const Lr=this.resume(),ga=this.stack[this.stack.length-1];ga.title=Lr}function hi(){this.data.inReference=void 0}function Bn(){this.data.referenceType="collapsed"}function no(Lr){const ga=this.resume(),oi=this.stack[this.stack.length-1];oi.label=ga,oi.identifier=(0,zr.d)(this.sliceSerialize(Lr)).toLowerCase(),this.data.referenceType="full"}function Ao(Lr){this.data.characterReferenceType=Lr.type}function ml(Lr){const ga=this.sliceSerialize(Lr),oi=this.data.characterReferenceType;let Za;oi?(Za=Xa(ga,oi==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Za=gr(ga);const Oi=this.stack[this.stack.length-1];Oi.value+=Za}function Vs(Lr){const ga=this.stack.pop();ga.position.end=qi(Lr.end)}function co(Lr){Ri.call(this,Lr);const ga=this.stack[this.stack.length-1];ga.url=this.sliceSerialize(Lr)}function Ls(Lr){Ri.call(this,Lr);const ga=this.stack[this.stack.length-1];ga.url="mailto:"+this.sliceSerialize(Lr)}function ko(){return{type:"blockquote",children:[]}}function Cs(){return{type:"code",lang:null,meta:null,value:""}}function Zs(){return{type:"inlineCode",value:""}}function gl(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mu(){return{type:"emphasis",children:[]}}function Hl(){return{type:"heading",depth:0,children:[]}}function Ms(){return{type:"break"}}function vl(){return{type:"html",value:""}}function ou(){return{type:"image",title:null,url:"",alt:null}}function bl(){return{type:"link",title:null,url:"",children:[]}}function yl(Lr){return{type:"list",ordered:Lr.type==="listOrdered",start:null,spread:Lr._spread,children:[]}}function $s(Lr){return{type:"listItem",spread:Lr._spread,checked:null,children:[]}}function jl(){return{type:"paragraph",children:[]}}function Dl(){return{type:"strong",children:[]}}function Gl(){return{type:"text",value:""}}function El(){return{type:"thematicBreak"}}}function qi(se){return{line:se.line,column:se.column,offset:se.offset}}function Ra(se,Ae){let ke=-1;for(;++ke<Ae.length;){const Ue=Ae[ke];Array.isArray(Ue)?Ra(se,Ue):Ka(se,Ue)}}function Ka(se,Ae){let ke;for(ke in Ae)if(Fi.call(Ae,ke))switch(ke){case"canContainEols":{const Ue=Ae[ke];Ue&&se[ke].push(...Ue);break}case"transforms":{const Ue=Ae[ke];Ue&&se[ke].push(...Ue);break}case"enter":case"exit":{const Ue=Ae[ke];Ue&&Object.assign(se[ke],Ue);break}}}function Ca(se,Ae){throw se?new Error("Cannot close `"+se.type+"` ("+_e({start:se.start,end:se.end})+"): a different token (`"+Ae.type+"`, "+_e({start:Ae.start,end:Ae.end})+") is open"):new Error("Cannot close document, a token (`"+Ae.type+"`, "+_e({start:Ae.start,end:Ae.end})+") is still open")}function za(se){const Ae=this;Ae.parser=ke;function ke(Ue){return Rr(Ue,Ol(qa(qa({},Ae.data("settings")),se),{extensions:Ae.data("micromarkExtensions")||[],mdastExtensions:Ae.data("fromMarkdownExtensions")||[]}))}}var ri=y(90302);function ii(se,Ae){const ke=encode(ci(se||""));if(!Ae)return ke;const Ue=ke.indexOf(":"),mt=ke.indexOf("?"),Et=ke.indexOf("#"),Lt=ke.indexOf("/");return Ue<0||Lt>-1&&Ue>Lt||mt>-1&&Ue>mt||Et>-1&&Ue>Et||Ae.test(ke.slice(0,Ue))?ke:""}function ci(se){const Ae=[];let ke=-1,Ue=0,mt=0;for(;++ke<se.length;){const Et=se.charCodeAt(ke);let Lt="";if(Et===37&&(0,Mt.H$)(se.charCodeAt(ke+1))&&(0,Mt.H$)(se.charCodeAt(ke+2)))mt=2;else if(Et<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(Et))||(Lt=String.fromCharCode(Et));else if(Et>55295&&Et<57344){const tn=se.charCodeAt(ke+1);Et<56320&&tn>56319&&tn<57344?(Lt=String.fromCharCode(Et,tn),mt=1):Lt="\uFFFD"}else Lt=String.fromCharCode(Et);Lt&&(Ae.push(se.slice(Ue,ke),encodeURIComponent(Lt)),Ue=ke+mt+1,Lt=""),mt&&(ke+=mt,mt=0)}return Ae.join("")+se.slice(Ue)}function ki(se,Ae){const ke=[{type:"text",value:"\u21A9"}];return Ae>1&&ke.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Ae)}]}),ke}function ti(se,Ae){return"Back to reference "+(se+1)+(Ae>1?"-"+Ae:"")}function zi(se){const Ae=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",ke=se.options.footnoteBackContent||ki,Ue=se.options.footnoteBackLabel||ti,mt=se.options.footnoteLabel||"Footnotes",Et=se.options.footnoteLabelTagName||"h2",Lt=se.options.footnoteLabelProperties||{className:["sr-only"]},tn=[];let _n=-1;for(;++_n<se.footnoteOrder.length;){const Mn=se.footnoteById.get(se.footnoteOrder[_n]);if(!Mn)continue;const bn=se.all(Mn),Vn=String(Mn.identifier).toUpperCase(),$n=ci(Vn.toLowerCase());let Nn=0;const Ia=[],Qa=se.footnoteCounts.get(Vn);for(;Qa!==void 0&&++Nn<=Qa;){Ia.length>0&&Ia.push({type:"text",value:" "});let pi=typeof ke=="string"?ke:ke(_n,Nn);typeof pi=="string"&&(pi={type:"text",value:pi}),Ia.push({type:"element",tagName:"a",properties:{href:"#"+Ae+"fnref-"+$n+(Nn>1?"-"+Nn:""),dataFootnoteBackref:"",ariaLabel:typeof Ue=="string"?Ue:Ue(_n,Nn),className:["data-footnote-backref"]},children:Array.isArray(pi)?pi:[pi]})}const gi=bn[bn.length-1];if(gi&&gi.type==="element"&&gi.tagName==="p"){const pi=gi.children[gi.children.length-1];pi&&pi.type==="text"?pi.value+=" ":gi.children.push({type:"text",value:" "}),gi.children.push(...Ia)}else bn.push(...Ia);const va={type:"element",tagName:"li",properties:{id:Ae+"fn-"+$n},children:se.wrap(bn,!0)};se.patch(Mn,va),tn.push(va)}if(tn.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Et,properties:Ol(qa({},(0,ri.ZP)(Lt)),{id:"footnote-label"}),children:[{type:"text",value:mt}]},{type:"text",value:`
|
|
|
`},{type:"element",tagName:"ol",properties:{},children:se.wrap(tn,!0)},{type:"text",value:`
|
|
|
`}]}}var yo=y(28470);function No(se,Ae){const ke={type:"element",tagName:"blockquote",properties:{},children:se.wrap(se.all(Ae),!0)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function so(se,Ae){const ke={type:"element",tagName:"br",properties:{},children:[]};return se.patch(Ae,ke),[se.applyData(Ae,ke),{type:"text",value:`
|
|
|
`}]}function Ji(se,Ae){const ke=Ae.value?Ae.value+`
|
|
|
`:"",Ue={},mt=Ae.lang?Ae.lang.split(/\s+/):[];mt.length>0&&(Ue.className=["language-"+mt[0]]);let Et={type:"element",tagName:"code",properties:Ue,children:[{type:"text",value:ke}]};return Ae.meta&&(Et.data={meta:Ae.meta}),se.patch(Ae,Et),Et=se.applyData(Ae,Et),Et={type:"element",tagName:"pre",properties:{},children:[Et]},se.patch(Ae,Et),Et}function Uo(se,Ae){const ke={type:"element",tagName:"del",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Co(se,Ae){const ke={type:"element",tagName:"em",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Ts(se,Ae){const ke=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",Ue=String(Ae.identifier).toUpperCase(),mt=ci(Ue.toLowerCase()),Et=se.footnoteOrder.indexOf(Ue);let Lt,tn=se.footnoteCounts.get(Ue);tn===void 0?(tn=0,se.footnoteOrder.push(Ue),Lt=se.footnoteOrder.length):Lt=Et+1,tn+=1,se.footnoteCounts.set(Ue,tn);const _n={type:"element",tagName:"a",properties:{href:"#"+ke+"fn-"+mt,id:ke+"fnref-"+mt+(tn>1?"-"+tn:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Lt)}]};se.patch(Ae,_n);const Mn={type:"element",tagName:"sup",properties:{},children:[_n]};return se.patch(Ae,Mn),se.applyData(Ae,Mn)}function dl(se,Ae){const ke={type:"element",tagName:"h"+Ae.depth,properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Js(se,Ae){if(se.options.allowDangerousHtml){const ke={type:"raw",value:Ae.value};return se.patch(Ae,ke),se.applyData(Ae,ke)}}function mo(se,Ae){const ke=Ae.referenceType;let Ue="]";if(ke==="collapsed"?Ue+="[]":ke==="full"&&(Ue+="["+(Ae.label||Ae.identifier)+"]"),Ae.type==="imageReference")return[{type:"text",value:"!["+Ae.alt+Ue}];const mt=se.all(Ae),Et=mt[0];Et&&Et.type==="text"?Et.value="["+Et.value:mt.unshift({type:"text",value:"["});const Lt=mt[mt.length-1];return Lt&&Lt.type==="text"?Lt.value+=Ue:mt.push({type:"text",value:Ue}),mt}function Hi(se,Ae){const ke=String(Ae.identifier).toUpperCase(),Ue=se.definitionById.get(ke);if(!Ue)return mo(se,Ae);const mt={src:ci(Ue.url||""),alt:Ae.alt};Ue.title!==null&&Ue.title!==void 0&&(mt.title=Ue.title);const Et={type:"element",tagName:"img",properties:mt,children:[]};return se.patch(Ae,Et),se.applyData(Ae,Et)}function wo(se,Ae){const ke={src:ci(Ae.url)};Ae.alt!==null&&Ae.alt!==void 0&&(ke.alt=Ae.alt),Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const Ue={type:"element",tagName:"img",properties:ke,children:[]};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function ps(se,Ae){const ke={type:"text",value:Ae.value.replace(/\r?\n|\r/g," ")};se.patch(Ae,ke);const Ue={type:"element",tagName:"code",properties:{},children:[ke]};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function el(se,Ae){const ke=String(Ae.identifier).toUpperCase(),Ue=se.definitionById.get(ke);if(!Ue)return mo(se,Ae);const mt={href:ci(Ue.url||"")};Ue.title!==null&&Ue.title!==void 0&&(mt.title=Ue.title);const Et={type:"element",tagName:"a",properties:mt,children:se.all(Ae)};return se.patch(Ae,Et),se.applyData(Ae,Et)}function ai(se,Ae){const ke={href:ci(Ae.url)};Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const Ue={type:"element",tagName:"a",properties:ke,children:se.all(Ae)};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function hs(se,Ae,ke){const Ue=se.all(Ae),mt=ke?As(ke):ns(Ae),Et={},Lt=[];if(typeof Ae.checked=="boolean"){const bn=Ue[0];let Vn;bn&&bn.type==="element"&&bn.tagName==="p"?Vn=bn:(Vn={type:"element",tagName:"p",properties:{},children:[]},Ue.unshift(Vn)),Vn.children.length>0&&Vn.children.unshift({type:"text",value:" "}),Vn.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Ae.checked,disabled:!0},children:[]}),Et.className=["task-list-item"]}let tn=-1;for(;++tn<Ue.length;){const bn=Ue[tn];(mt||tn!==0||bn.type!=="element"||bn.tagName!=="p")&&Lt.push({type:"text",value:`
|
|
|
`}),bn.type==="element"&&bn.tagName==="p"&&!mt?Lt.push(...bn.children):Lt.push(bn)}const _n=Ue[Ue.length-1];_n&&(mt||_n.type!=="element"||_n.tagName!=="p")&&Lt.push({type:"text",value:`
|
|
|
`});const Mn={type:"element",tagName:"li",properties:Et,children:Lt};return se.patch(Ae,Mn),se.applyData(Ae,Mn)}function As(se){let Ae=!1;if(se.type==="list"){Ae=se.spread||!1;const ke=se.children;let Ue=-1;for(;!Ae&&++Ue<ke.length;)Ae=ns(ke[Ue])}return Ae}function ns(se){const Ae=se.spread;return Ae==null?se.children.length>1:Ae}function Is(se,Ae){const ke={},Ue=se.all(Ae);let mt=-1;for(typeof Ae.start=="number"&&Ae.start!==1&&(ke.start=Ae.start);++mt<Ue.length;){const Lt=Ue[mt];if(Lt.type==="element"&&Lt.tagName==="li"&&Lt.properties&&Array.isArray(Lt.properties.className)&&Lt.properties.className.includes("task-list-item")){ke.className=["contains-task-list"];break}}const Et={type:"element",tagName:Ae.ordered?"ol":"ul",properties:ke,children:se.wrap(Ue,!0)};return se.patch(Ae,Et),se.applyData(Ae,Et)}function ms(se,Ae){const ke={type:"element",tagName:"p",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function rs(se,Ae){const ke={type:"root",children:se.wrap(se.all(Ae))};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Ns(se,Ae){const ke={type:"element",tagName:"strong",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Yo(se,Ae){const ke=se.all(Ae),Ue=ke.shift(),mt=[];if(Ue){const Lt={type:"element",tagName:"thead",properties:{},children:se.wrap([Ue],!0)};se.patch(Ae.children[0],Lt),mt.push(Lt)}if(ke.length>0){const Lt={type:"element",tagName:"tbody",properties:{},children:se.wrap(ke,!0)},tn=(0,ze.Pk)(Ae.children[1]),_n=(0,ze.rb)(Ae.children[Ae.children.length-1]);tn&&_n&&(Lt.position={start:tn,end:_n}),mt.push(Lt)}const Et={type:"element",tagName:"table",properties:{},children:se.wrap(mt,!0)};return se.patch(Ae,Et),se.applyData(Ae,Et)}function zo(se,Ae,ke){const Ue=ke?ke.children:void 0,Et=(Ue?Ue.indexOf(Ae):1)===0?"th":"td",Lt=ke&&ke.type==="table"?ke.align:void 0,tn=Lt?Lt.length:Ae.children.length;let _n=-1;const Mn=[];for(;++_n<tn;){const Vn=Ae.children[_n],$n={},Nn=Lt?Lt[_n]:void 0;Nn&&($n.align=Nn);let Ia={type:"element",tagName:Et,properties:$n,children:[]};Vn&&(Ia.children=se.all(Vn),se.patch(Vn,Ia),Ia=se.applyData(Vn,Ia)),Mn.push(Ia)}const bn={type:"element",tagName:"tr",properties:{},children:se.wrap(Mn,!0)};return se.patch(Ae,bn),se.applyData(Ae,bn)}function tl(se,Ae){const ke={type:"element",tagName:"td",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}const as=9,Xi=32;function mi(se){const Ae=String(se),ke=/\r?\n|\r/g;let Ue=ke.exec(Ae),mt=0;const Et=[];for(;Ue;)Et.push(ei(Ae.slice(mt,Ue.index),mt>0,!0),Ue[0]),mt=Ue.index+Ue[0].length,Ue=ke.exec(Ae);return Et.push(ei(Ae.slice(mt),mt>0,!1)),Et.join("")}function ei(se,Ae,ke){let Ue=0,mt=se.length;if(Ae){let Et=se.codePointAt(Ue);for(;Et===as||Et===Xi;)Ue++,Et=se.codePointAt(Ue)}if(ke){let Et=se.codePointAt(mt-1);for(;Et===as||Et===Xi;)mt--,Et=se.codePointAt(mt-1)}return mt>Ue?se.slice(Ue,mt):""}function eo(se,Ae){const ke={type:"text",value:mi(String(Ae.value))};return se.patch(Ae,ke),se.applyData(Ae,ke)}function to(se,Ae){const ke={type:"element",tagName:"hr",properties:{},children:[]};return se.patch(Ae,ke),se.applyData(Ae,ke)}const ji={blockquote:No,break:so,code:Ji,delete:Uo,emphasis:Co,footnoteReference:Ts,heading:dl,html:Js,imageReference:Hi,image:wo,inlineCode:ps,linkReference:el,link:ai,listItem:hs,list:Is,paragraph:ms,root:rs,strong:Ns,table:Yo,tableCell:tl,tableRow:zo,text:eo,thematicBreak:to,toml:_i,yaml:_i,definition:_i,footnoteDefinition:_i};function _i(){}const vo={}.hasOwnProperty,To={};function go(se,Ae){const ke=Ae||To,Ue=new Map,mt=new Map,Et=new Map,Lt=qa(qa({},ji),ke.handlers),tn={all:Mn,applyData:$i,definitionById:Ue,footnoteById:mt,footnoteCounts:Et,footnoteOrder:[],handlers:Lt,one:_n,options:ke,patch:Wi,wrap:Xo};return(0,yo.Vn)(se,function(bn){if(bn.type==="definition"||bn.type==="footnoteDefinition"){const Vn=bn.type==="definition"?Ue:mt,$n=String(bn.identifier).toUpperCase();Vn.has($n)||Vn.set($n,bn)}}),tn;function _n(bn,Vn){const $n=bn.type,Nn=tn.handlers[$n];if(vo.call(tn.handlers,$n)&&Nn)return Nn(tn,bn,Vn);if(tn.options.passThrough&&tn.options.passThrough.includes($n)){if("children"in bn){const Qa=bn,{children:gi}=Qa,va=td(Qa,["children"]),pi=(0,ri.ZP)(va);return pi.children=tn.all(bn),pi}return(0,ri.ZP)(bn)}return(tn.options.unknownHandler||Eo)(tn,bn,Vn)}function Mn(bn){const Vn=[];if("children"in bn){const $n=bn.children;let Nn=-1;for(;++Nn<$n.length;){const Ia=tn.one($n[Nn],bn);if(Ia){if(Nn&&$n[Nn-1].type==="break"&&(!Array.isArray(Ia)&&Ia.type==="text"&&(Ia.value=is(Ia.value)),!Array.isArray(Ia)&&Ia.type==="element")){const Qa=Ia.children[0];Qa&&Qa.type==="text"&&(Qa.value=is(Qa.value))}Array.isArray(Ia)?Vn.push(...Ia):Vn.push(Ia)}}}return Vn}}function Wi(se,Ae){se.position&&(Ae.position=(0,ze.FK)(se))}function $i(se,Ae){let ke=Ae;if(se&&se.data){const Ue=se.data.hName,mt=se.data.hChildren,Et=se.data.hProperties;if(typeof Ue=="string")if(ke.type==="element")ke.tagName=Ue;else{const Lt="children"in ke?ke.children:[ke];ke={type:"element",tagName:Ue,properties:{},children:Lt}}ke.type==="element"&&Et&&Object.assign(ke.properties,(0,ri.ZP)(Et)),"children"in ke&&ke.children&&mt!==null&&mt!==void 0&&(ke.children=mt)}return ke}function Eo(se,Ae){const ke=Ae.data||{},Ue="value"in Ae&&!(vo.call(ke,"hProperties")||vo.call(ke,"hChildren"))?{type:"text",value:Ae.value}:{type:"element",tagName:"div",properties:{},children:se.all(Ae)};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function Xo(se,Ae){const ke=[];let Ue=-1;for(Ae&&ke.push({type:"text",value:`
|
|
|
`});++Ue<se.length;)Ue&&ke.push({type:"text",value:`
|
|
|
`}),ke.push(se[Ue]);return Ae&&se.length>0&&ke.push({type:"text",value:`
|
|
|
`}),ke}function is(se){let Ae=0,ke=se.charCodeAt(Ae);for(;ke===9||ke===32;)Ae++,ke=se.charCodeAt(Ae);return se.slice(Ae)}function Fs(se,Ae){const ke=go(se,Ae),Ue=ke.one(se,void 0),mt=zi(ke),Et=Array.isArray(Ue)?{type:"root",children:Ue}:Ue||{type:"root",children:[]};return mt&&((0,me.ok)("children"in Et),Et.children.push({type:"text",value:`
|
|
|
`},mt)),Et}function _s(se,Ae){return se&&"run"in se?function(ke,Ue){return Uc(this,null,function*(){const mt=Fs(ke,qa({file:Ue},Ae));yield se.run(mt,Ue)})}:function(ke,Ue){return Fs(ke,qa({file:Ue},se||Ae))}}function Ho(se){if(se)throw se}var So=y(58847);function Ki(se){if(typeof se!="object"||se===null)return!1;const Ae=Object.getPrototypeOf(se);return(Ae===null||Ae===Object.prototype||Object.getPrototypeOf(Ae)===null)&&!(Symbol.toStringTag in se)&&!(Symbol.iterator in se)}function Ro(){const se=[],Ae={run:ke,use:Ue};return Ae;function ke(...mt){let Et=-1;const Lt=mt.pop();if(typeof Lt!="function")throw new TypeError("Expected function as last argument, not "+Lt);tn(null,...mt);function tn(_n,...Mn){const bn=se[++Et];let Vn=-1;if(_n){Lt(_n);return}for(;++Vn<mt.length;)(Mn[Vn]===null||Mn[Vn]===void 0)&&(Mn[Vn]=mt[Vn]);mt=Mn,bn?Oo(bn,tn)(...Mn):Lt(null,...Mn)}}function Ue(mt){if(typeof mt!="function")throw new TypeError("Expected `middelware` to be a function, not "+mt);return se.push(mt),Ae}}function Oo(se,Ae){let ke;return Ue;function Ue(...Lt){const tn=se.length>Lt.length;let _n;tn&&Lt.push(mt);try{_n=se.apply(this,Lt)}catch(Mn){const bn=Mn;if(tn&&ke)throw bn;return mt(bn)}tn||(_n&&_n.then&&typeof _n.then=="function"?_n.then(Et,mt):_n instanceof Error?mt(_n):Et(_n))}function mt(Lt,...tn){ke||(ke=!0,Ae(Lt,...tn))}function Et(Lt){mt(null,Lt)}}const lo={basename:Rs,dirname:Us,extname:gs,join:kl,sep:"/"};function Rs(se,Ae){if(Ae!==void 0&&typeof Ae!="string")throw new TypeError('"ext" argument must be a string');Os(se);let ke=0,Ue=-1,mt=se.length,Et;if(Ae===void 0||Ae.length===0||Ae.length>se.length){for(;mt--;)if(se.codePointAt(mt)===47){if(Et){ke=mt+1;break}}else Ue<0&&(Et=!0,Ue=mt+1);return Ue<0?"":se.slice(ke,Ue)}if(Ae===se)return"";let Lt=-1,tn=Ae.length-1;for(;mt--;)if(se.codePointAt(mt)===47){if(Et){ke=mt+1;break}}else Lt<0&&(Et=!0,Lt=mt+1),tn>-1&&(se.codePointAt(mt)===Ae.codePointAt(tn--)?tn<0&&(Ue=mt):(tn=-1,Ue=Lt));return ke===Ue?Ue=Lt:Ue<0&&(Ue=se.length),se.slice(ke,Ue)}function Us(se){if(Os(se),se.length===0)return".";let Ae=-1,ke=se.length,Ue;for(;--ke;)if(se.codePointAt(ke)===47){if(Ue){Ae=ke;break}}else Ue||(Ue=!0);return Ae<0?se.codePointAt(0)===47?"/":".":Ae===1&&se.codePointAt(0)===47?"//":se.slice(0,Ae)}function gs(se){Os(se);let Ae=se.length,ke=-1,Ue=0,mt=-1,Et=0,Lt;for(;Ae--;){const tn=se.codePointAt(Ae);if(tn===47){if(Lt){Ue=Ae+1;break}continue}ke<0&&(Lt=!0,ke=Ae+1),tn===46?mt<0?mt=Ae:Et!==1&&(Et=1):mt>-1&&(Et=-1)}return mt<0||ke<0||Et===0||Et===1&&mt===ke-1&&mt===Ue+1?"":se.slice(mt,ke)}function kl(...se){let Ae=-1,ke;for(;++Ae<se.length;)Os(se[Ae]),se[Ae]&&(ke=ke===void 0?se[Ae]:ke+"/"+se[Ae]);return ke===void 0?".":nl(ke)}function nl(se){Os(se);const Ae=se.codePointAt(0)===47;let ke=zs(se,!Ae);return ke.length===0&&!Ae&&(ke="."),ke.length>0&&se.codePointAt(se.length-1)===47&&(ke+="/"),Ae?"/"+ke:ke}function zs(se,Ae){let ke="",Ue=0,mt=-1,Et=0,Lt=-1,tn,_n;for(;++Lt<=se.length;){if(Lt<se.length)tn=se.codePointAt(Lt);else{if(tn===47)break;tn=47}if(tn===47){if(!(mt===Lt-1||Et===1))if(mt!==Lt-1&&Et===2){if(ke.length<2||Ue!==2||ke.codePointAt(ke.length-1)!==46||ke.codePointAt(ke.length-2)!==46){if(ke.length>2){if(_n=ke.lastIndexOf("/"),_n!==ke.length-1){_n<0?(ke="",Ue=0):(ke=ke.slice(0,_n),Ue=ke.length-1-ke.lastIndexOf("/")),mt=Lt,Et=0;continue}}else if(ke.length>0){ke="",Ue=0,mt=Lt,Et=0;continue}}Ae&&(ke=ke.length>0?ke+"/..":"..",Ue=2)}else ke.length>0?ke+="/"+se.slice(mt+1,Lt):ke=se.slice(mt+1,Lt),Ue=Lt-mt-1;mt=Lt,Et=0}else tn===46&&Et>-1?Et++:Et=-1}return ke}function Os(se){if(typeof se!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(se))}const vs={cwd:fl};function fl(){return"/"}function rl(se){return!!(se!==null&&typeof se=="object"&&"href"in se&&se.href&&"protocol"in se&&se.protocol&&se.auth===void 0)}function al(se){if(typeof se=="string")se=new URL(se);else if(!rl(se)){const Ae=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+se+"`");throw Ae.code="ERR_INVALID_ARG_TYPE",Ae}if(se.protocol!=="file:"){const Ae=new TypeError("The URL must be of scheme file");throw Ae.code="ERR_INVALID_URL_SCHEME",Ae}return bs(se)}function bs(se){if(se.hostname!==""){const Ue=new TypeError('File URL host must be "localhost" or empty on darwin');throw Ue.code="ERR_INVALID_FILE_URL_HOST",Ue}const Ae=se.pathname;let ke=-1;for(;++ke<Ae.length;)if(Ae.codePointAt(ke)===37&&Ae.codePointAt(ke+1)===50){const Ue=Ae.codePointAt(ke+2);if(Ue===70||Ue===102){const mt=new TypeError("File URL path must not include encoded / characters");throw mt.code="ERR_INVALID_FILE_URL_PATH",mt}}return decodeURIComponent(Ae)}const ys=["history","path","basename","stem","extname","dirname"];class Es{constructor(Ae){let ke;Ae?rl(Ae)?ke={path:Ae}:typeof Ae=="string"||_l(Ae)?ke={value:Ae}:ke=Ae:ke={},this.cwd="cwd"in ke?"":vs.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let Ue=-1;for(;++Ue<ys.length;){const Et=ys[Ue];Et in ke&&ke[Et]!==void 0&&ke[Et]!==null&&(this[Et]=Et==="history"?[...ke[Et]]:ke[Et])}let mt;for(mt in ke)ys.includes(mt)||(this[mt]=ke[mt])}get basename(){return typeof this.path=="string"?lo.basename(this.path):void 0}set basename(Ae){Hs(Ae,"basename"),os(Ae,"basename"),this.path=lo.join(this.dirname||"",Ae)}get dirname(){return typeof this.path=="string"?lo.dirname(this.path):void 0}set dirname(Ae){pl(this.basename,"dirname"),this.path=lo.join(Ae||"",this.basename)}get extname(){return typeof this.path=="string"?lo.extname(this.path):void 0}set extname(Ae){if(os(Ae,"extname"),pl(this.dirname,"extname"),Ae){if(Ae.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(Ae.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=lo.join(this.dirname,this.stem+(Ae||""))}get path(){return this.history[this.history.length-1]}set path(Ae){rl(Ae)&&(Ae=al(Ae)),Hs(Ae,"path"),this.path!==Ae&&this.history.push(Ae)}get stem(){return typeof this.path=="string"?lo.basename(this.path,this.extname):void 0}set stem(Ae){Hs(Ae,"stem"),os(Ae,"stem"),this.path=lo.join(this.dirname||"",Ae+(this.extname||""))}fail(Ae,ke,Ue){const mt=this.message(Ae,ke,Ue);throw mt.fatal=!0,mt}info(Ae,ke,Ue){const mt=this.message(Ae,ke,Ue);return mt.fatal=void 0,mt}message(Ae,ke,Ue){const mt=new it(Ae,ke,Ue);return this.path&&(mt.name=this.path+":"+mt.name,mt.file=this.path),mt.fatal=!1,this.messages.push(mt),mt}toString(Ae){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(Ae||void 0).decode(this.value)}}function os(se,Ae){if(se&&se.includes(lo.sep))throw new Error("`"+Ae+"` cannot be a path: did not expect `"+lo.sep+"`")}function Hs(se,Ae){if(!se)throw new Error("`"+Ae+"` cannot be empty")}function pl(se,Ae){if(!se)throw new Error("Setting `"+Ae+"` requires `path` to be set too")}function _l(se){return!!(se&&typeof se=="object"&&"byteLength"in se&&"byteOffset"in se)}const ks=function(se){const Ue=this.constructor.prototype,mt=Ue[se],Et=function(){return mt.apply(Et,arguments)};return Object.setPrototypeOf(Et,Ue),Et},Ss={}.hasOwnProperty;class jo extends ks{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ro()}copy(){const Ae=new jo;let ke=-1;for(;++ke<this.attachers.length;){const Ue=this.attachers[ke];Ae.use(...Ue)}return Ae.data(So(!0,{},this.namespace)),Ae}data(Ae,ke){return typeof Ae=="string"?arguments.length===2?(js("data",this.frozen),this.namespace[Ae]=ke,this):Ss.call(this.namespace,Ae)&&this.namespace[Ae]||void 0:Ae?(js("data",this.frozen),this.namespace=Ae,this):this.namespace}freeze(){if(this.frozen)return this;const Ae=this;for(;++this.freezeIndex<this.attachers.length;){const[ke,...Ue]=this.attachers[this.freezeIndex];if(Ue[0]===!1)continue;Ue[0]===!0&&(Ue[0]=void 0);const mt=ke.call(Ae,...Ue);typeof mt=="function"&&this.transformers.use(mt)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(Ae){this.freeze();const ke=Vi(Ae),Ue=this.parser||this.Parser;return il("parse",Ue),Ue(String(ke),ke)}process(Ae,ke){const Ue=this;return this.freeze(),il("process",this.parser||this.Parser),uo("process",this.compiler||this.Compiler),ke?mt(void 0,ke):new Promise(mt);function mt(Et,Lt){const tn=Vi(Ae),_n=Ue.parse(tn);Ue.run(_n,tn,function(bn,Vn,$n){if(bn||!Vn||!$n)return Mn(bn);const Nn=Vn,Ia=Ue.stringify(Nn,$n);Qo(Ia)?$n.value=Ia:$n.result=Ia,Mn(bn,$n)});function Mn(bn,Vn){bn||!Vn?Lt(bn):Et?Et(Vn):((0,me.ok)(ke,"`done` is defined if `resolve` is not"),ke(void 0,Vn))}}}processSync(Ae){let ke=!1,Ue;return this.freeze(),il("processSync",this.parser||this.Parser),uo("processSync",this.compiler||this.Compiler),this.process(Ae,mt),ao("processSync","process",ke),(0,me.ok)(Ue,"we either bailed on an error or have a tree"),Ue;function mt(Et,Lt){ke=!0,Ho(Et),Ue=Lt}}run(Ae,ke,Ue){jt(Ae),this.freeze();const mt=this.transformers;return!Ue&&typeof ke=="function"&&(Ue=ke,ke=void 0),Ue?Et(void 0,Ue):new Promise(Et);function Et(Lt,tn){(0,me.ok)(typeof ke!="function","`file` can\u2019t be a `done` anymore, we checked");const _n=Vi(ke);mt.run(Ae,_n,Mn);function Mn(bn,Vn,$n){const Nn=Vn||Ae;bn?tn(bn):Lt?Lt(Nn):((0,me.ok)(Ue,"`done` is defined if `resolve` is not"),Ue(void 0,Nn,$n))}}}runSync(Ae,ke){let Ue=!1,mt;return this.run(Ae,ke,Et),ao("runSync","run",Ue),(0,me.ok)(mt,"we either bailed on an error or have a tree"),mt;function Et(Lt,tn){Ho(Lt),mt=tn,Ue=!0}}stringify(Ae,ke){this.freeze();const Ue=Vi(ke),mt=this.compiler||this.Compiler;return uo("stringify",mt),jt(Ae),mt(Ae,Ue)}use(Ae,...ke){const Ue=this.attachers,mt=this.namespace;if(js("use",this.frozen),Ae!=null)if(typeof Ae=="function")_n(Ae,ke);else if(typeof Ae=="object")Array.isArray(Ae)?tn(Ae):Lt(Ae);else throw new TypeError("Expected usable value, not `"+Ae+"`");return this;function Et(Mn){if(typeof Mn=="function")_n(Mn,[]);else if(typeof Mn=="object")if(Array.isArray(Mn)){const[bn,...Vn]=Mn;_n(bn,Vn)}else Lt(Mn);else throw new TypeError("Expected usable value, not `"+Mn+"`")}function Lt(Mn){if(!("plugins"in Mn)&&!("settings"in Mn))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");tn(Mn.plugins),Mn.settings&&(mt.settings=So(!0,mt.settings,Mn.settings))}function tn(Mn){let bn=-1;if(Mn!=null)if(Array.isArray(Mn))for(;++bn<Mn.length;){const Vn=Mn[bn];Et(Vn)}else throw new TypeError("Expected a list of plugins, not `"+Mn+"`")}function _n(Mn,bn){let Vn=-1,$n=-1;for(;++Vn<Ue.length;)if(Ue[Vn][0]===Mn){$n=Vn;break}if($n===-1)Ue.push([Mn,...bn]);else if(bn.length>0){let[Nn,...Ia]=bn;const Qa=Ue[$n][1];Ki(Qa)&&Ki(Nn)&&(Nn=So(!0,Qa,Nn)),Ue[$n]=[Mn,Nn,...Ia]}}}}const xs=new jo().freeze();function il(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `parser`")}function uo(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `compiler`")}function js(se,Ae){if(Ae)throw new Error("Cannot call `"+se+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function jt(se){if(!Ki(se)||typeof se.type!="string")throw new TypeError("Expected node, got `"+se+"`")}function ao(se,Ae,ke){if(!ke)throw new Error("`"+se+"` finished async. Use `"+Ae+"` instead")}function Vi(se){return Ds(se)?se:new Es(se)}function Ds(se){return!!(se&&typeof se=="object"&&"message"in se&&"messages"in se)}function Qo(se){return typeof se=="string"||ol(se)}function ol(se){return!!(se&&typeof se=="object"&&"byteLength"in se&&"byteOffset"in se)}const qo="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jo=[],sl={allowDangerousHtml:!0},Go=/^(https?|ircs?|mailto|xmpp)$/i,Ul=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function io(se){const Ae=hl(se),ke=Gs(se);return Ws(Ae.runSync(Ae.parse(ke),ke),se)}function ss(se){return Uc(this,null,function*(){const Ae=hl(se),ke=Gs(se),Ue=yield Ae.run(Ae.parse(ke),ke);return Ws(Ue,se)})}function iu(se){const Ae=hl(se),[ke,Ue]=useState(void 0),[mt,Et]=useState(void 0);if(useEffect(function(){const Lt=Gs(se);Ae.run(Ae.parse(Lt),Lt,function(tn,_n){Ue(tn),Et(_n)})},[se.children,se.rehypePlugins,se.remarkPlugins,se.remarkRehypeOptions]),ke)throw ke;return mt?Ws(mt,se):createElement(Fragment)}function hl(se){const Ae=se.rehypePlugins||Jo,ke=se.remarkPlugins||Jo,Ue=se.remarkRehypeOptions?qa(qa({},se.remarkRehypeOptions),sl):sl;return xs().use(za).use(ke).use(_s,Ue).use(Ae)}function Gs(se){const Ae=se.children||"",ke=new Es;return typeof Ae=="string"?ke.value=Ae:(0,me.t1)("Unexpected value `"+Ae+"` for `children` prop, expected `string`"),ke}function Ws(se,Ae){const ke=Ae.allowedElements,Ue=Ae.allowElement,mt=Ae.components,Et=Ae.disallowedElements,Lt=Ae.skipHtml,tn=Ae.unwrapDisallowed,_n=Ae.urlTransform||zl;for(const bn of Ul)Object.hasOwn(Ae,bn.from)&&(0,me.t1)("Unexpected `"+bn.from+"` prop, "+(bn.to?"use `"+bn.to+"` instead":"remove it")+" (see <"+qo+"#"+bn.id+"> for more info)");return ke&&Et&&(0,me.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),Ae.className&&(se={type:"element",tagName:"div",properties:{className:Ae.className},children:se.type==="root"?se.children:[se]}),(0,yo.Vn)(se,Mn),Jt(se,{Fragment:ge.Fragment,components:mt,ignoreInvalidStyle:!0,jsx:ge.jsx,jsxs:ge.jsxs,passKeys:!0,passNode:!0});function Mn(bn,Vn,$n){if(bn.type==="raw"&&$n&&typeof Vn=="number")return Lt?$n.children.splice(Vn,1):$n.children[Vn]={type:"text",value:bn.value},Vn;if(bn.type==="element"){let Nn;for(Nn in je)if(Object.hasOwn(je,Nn)&&Object.hasOwn(bn.properties,Nn)){const Ia=bn.properties[Nn],Qa=je[Nn];(Qa===null||Qa.includes(bn.tagName))&&(bn.properties[Nn]=_n(String(Ia||""),Nn,bn))}}if(bn.type==="element"){let Nn=ke?!ke.includes(bn.tagName):Et?Et.includes(bn.tagName):!1;if(!Nn&&Ue&&typeof Vn=="number"&&(Nn=!Ue(bn,Vn,$n)),Nn&&$n&&typeof Vn=="number")return tn&&bn.children?$n.children.splice(Vn,1,...bn.children):$n.children.splice(Vn,1),Vn}}}function zl(se){const Ae=se.indexOf(":"),ke=se.indexOf("?"),Ue=se.indexOf("#"),mt=se.indexOf("/");return Ae===-1||mt!==-1&&Ae>mt||ke!==-1&&Ae>ke||Ue!==-1&&Ae>Ue||Go.test(se.slice(0,Ae))?se:""}},84821:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return ui}});var b=y(90302),me=y(87342),le=y(81994),pe=y(14470),be=y(86825);function fe(x){const ee=String(x),Ne=[];return{toOffset:Rn,toPoint:Ot};function Ot(fr){if(typeof fr=="number"&&fr>-1&&fr<=ee.length){let Mr=0;for(;;){let hn=Ne[Mr];if(hn===void 0){const wa=we(ee,Ne[Mr-1]);hn=wa===-1?ee.length+1:wa+1,Ne[Mr]=hn}if(hn>fr)return{line:Mr+1,column:fr-(Mr>0?Ne[Mr-1]:0)+1,offset:fr};Mr++}}}function Rn(fr){if(fr&&typeof fr.line=="number"&&typeof fr.column=="number"&&!Number.isNaN(fr.line)&&!Number.isNaN(fr.column)){for(;Ne.length<fr.line;){const hn=Ne[Ne.length-1],wa=we(ee,hn),hi=wa===-1?ee.length+1:wa+1;if(hn===hi)break;Ne.push(hi)}const Mr=(fr.line>1?Ne[fr.line-2]:0)+fr.column-1;if(Mr<Ne[fr.line-1])return Mr}}}function we(x,ee){const Ne=x.indexOf("\r",ee),Ot=x.indexOf(`
|
|
|
`,ee);return Ot===-1?Ne:Ne===-1||Ne+1===Ot?Ot:Ne<Ot?Ne:Ot}var Oe=y(43309);const Re={}.hasOwnProperty,xe=Object.prototype;function Ge(x,ee){const Ne=ee||{};return Fe({file:Ne.file||void 0,location:!1,schema:Ne.space==="svg"?pe.YP:pe.dy,verbose:Ne.verbose||!1},x)}function Fe(x,ee){let Ne;switch(ee.nodeName){case"#comment":{const Ot=ee;return Ne={type:"comment",value:Ot.data},tt(x,Ot,Ne),Ne}case"#document":case"#document-fragment":{const Ot=ee,Rn="mode"in Ot?Ot.mode==="quirks"||Ot.mode==="limited-quirks":!1;if(Ne={type:"root",children:At(x,ee.childNodes),data:{quirksMode:Rn}},x.file&&x.location){const fr=String(x.file),Mr=fe(fr),hn=Mr.toPoint(0),wa=Mr.toPoint(fr.length);(0,me.ok)(hn,"expected `start`"),(0,me.ok)(wa,"expected `end`"),Ne.position={start:hn,end:wa}}return Ne}case"#documentType":{const Ot=ee;return Ne={type:"doctype"},tt(x,Ot,Ne),Ne}case"#text":{const Ot=ee;return Ne={type:"text",value:Ot.value},tt(x,Ot,Ne),Ne}default:return Ne=at(x,ee),Ne}}function At(x,ee){let Ne=-1;const Ot=[];for(;++Ne<ee.length;){const Rn=Fe(x,ee[Ne]);Ot.push(Rn)}return Ot}function at(x,ee){const Ne=x.schema;x.schema=ee.namespaceURI===Oe.t.svg?pe.YP:pe.dy;let Ot=-1;const Rn={};for(;++Ot<ee.attrs.length;){const hn=ee.attrs[Ot],wa=(hn.prefix?hn.prefix+":":"")+hn.name;Re.call(xe,wa)||(Rn[wa]=hn.value)}const Mr=(x.schema.space==="svg"?le.s:le.h)(ee.tagName,Rn,At(x,ee.childNodes));if(tt(x,ee,Mr),Mr.tagName==="template"){const hn=ee,wa=hn.sourceCodeLocation,hi=wa&&wa.startTag&&We(wa.startTag),Bn=wa&&wa.endTag&&We(wa.endTag),no=Fe(x,hn.content);hi&&Bn&&x.file&&(no.position={start:hi.end,end:Bn.start}),Mr.content=no}return x.schema=Ne,Mr}function tt(x,ee,Ne){if("sourceCodeLocation"in ee&&ee.sourceCodeLocation&&x.file){const Ot=Je(x,Ne,ee.sourceCodeLocation);Ot&&(x.location=!0,Ne.position=Ot)}}function Je(x,ee,Ne){const Ot=We(Ne);if(ee.type==="element"){const Rn=ee.children[ee.children.length-1];if(Ot&&!Ne.endTag&&Rn&&Rn.position&&Rn.position.end&&(Ot.end=Object.assign({},Rn.position.end)),x.verbose){const fr={};let Mr;if(Ne.attrs)for(Mr in Ne.attrs)Re.call(Ne.attrs,Mr)&&(fr[(0,be.s)(x.schema,Mr).property]=We(Ne.attrs[Mr]));(0,me.ok)(Ne.startTag,"a start tag should exist");const hn=We(Ne.startTag),wa=Ne.endTag?We(Ne.endTag):void 0,hi={opening:hn};wa&&(hi.closing=wa),hi.properties=fr,ee.data={position:hi}}}return Ot}function We(x){const ee=Ve({line:x.startLine,column:x.startCol,offset:x.startOffset}),Ne=Ve({line:x.endLine,column:x.endCol,offset:x.endOffset});return ee||Ne?{start:ee,end:Ne}:void 0}function Ve(x){return x.line&&x.column?x:void 0}var Ze=y(11630),Qe=y(71523);const ze={}.hasOwnProperty;function _e(x,ee){const Ne=ee||{};function Ot(Rn,...fr){let Mr=Ot.invalid;const hn=Ot.handlers;if(Rn&&ze.call(Rn,x)){const wa=String(Rn[x]);Mr=ze.call(hn,wa)?hn[wa]:Ot.unknown}if(Mr)return Mr.call(this,Rn,...fr)}return Ot.handlers=Ne.handlers||{},Ot.invalid=Ne.invalid,Ot.unknown=Ne.unknown,Ot}const $e={},nt={}.hasOwnProperty,bt=_e("type",{handlers:{root:Nt,element:qe,text:It,comment:St,doctype:dt}});function it(x,ee){const Ot=(ee||$e).space;return bt(x,Ot==="svg"?pe.YP:pe.dy)}function Nt(x,ee){const Ne={nodeName:"#document",mode:(x.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return Ne.childNodes=Rt(x.children,Ne,ee),Zt(x,Ne),Ne}function vt(x,ee){const Ne={nodeName:"#document-fragment",childNodes:[]};return Ne.childNodes=Rt(x.children,Ne,ee),Zt(x,Ne),Ne}function dt(x){const ee={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Zt(x,ee),ee}function It(x){const ee={nodeName:"#text",value:x.value,parentNode:null};return Zt(x,ee),ee}function St(x){const ee={nodeName:"#comment",data:x.value,parentNode:null};return Zt(x,ee),ee}function qe(x,ee){const Ne=ee;let Ot=Ne;x.type==="element"&&x.tagName.toLowerCase()==="svg"&&Ne.space==="html"&&(Ot=pe.YP);const Rn=[];let fr;if(x.properties){for(fr in x.properties)if(fr!=="children"&&nt.call(x.properties,fr)){const wa=Jt(Ot,fr,x.properties[fr]);wa&&Rn.push(wa)}}const Mr=Ot.space;(0,me.ok)(Mr);const hn={nodeName:x.tagName,tagName:x.tagName,attrs:Rn,namespaceURI:Oe.t[Mr],childNodes:[],parentNode:null};return hn.childNodes=Rt(x.children,hn,Ot),Zt(x,hn),x.tagName==="template"&&x.content&&(hn.content=vt(x.content,Ot)),hn}function Jt(x,ee,Ne){const Ot=(0,be.s)(x,ee);if(Ne===!1||Ne===null||Ne===void 0||typeof Ne=="number"&&Number.isNaN(Ne)||!Ne&&Ot.boolean)return;Array.isArray(Ne)&&(Ne=Ot.commaSeparated?(0,Ze.P)(Ne):(0,Qe.P)(Ne));const Rn={name:Ot.attribute,value:Ne===!0?"":String(Ne)};if(Ot.space&&Ot.space!=="html"&&Ot.space!=="svg"){const fr=Rn.name.indexOf(":");fr<0?Rn.prefix="":(Rn.name=Rn.name.slice(fr+1),Rn.prefix=Ot.attribute.slice(0,fr)),Rn.namespace=Oe.t[Ot.space]}return Rn}function Rt(x,ee,Ne){let Ot=-1;const Rn=[];if(x)for(;++Ot<x.length;){const fr=bt(x[Ot],Ne);fr.parentNode=ee,Rn.push(fr)}return Rn}function Zt(x,ee){const Ne=x.position;Ne&&Ne.start&&Ne.end&&((0,me.ok)(typeof Ne.start.offset=="number"),(0,me.ok)(typeof Ne.end.offset=="number"),ee.sourceCodeLocation={startLine:Ne.start.line,startCol:Ne.start.column,startOffset:Ne.start.offset,endLine:Ne.end.line,endCol:Ne.end.column,endOffset:Ne.end.offset})}const Tn=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Tt=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ye="\uFFFD";var Se;(function(x){x[x.EOF=-1]="EOF",x[x.NULL=0]="NULL",x[x.TABULATION=9]="TABULATION",x[x.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",x[x.LINE_FEED=10]="LINE_FEED",x[x.FORM_FEED=12]="FORM_FEED",x[x.SPACE=32]="SPACE",x[x.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",x[x.QUOTATION_MARK=34]="QUOTATION_MARK",x[x.AMPERSAND=38]="AMPERSAND",x[x.APOSTROPHE=39]="APOSTROPHE",x[x.HYPHEN_MINUS=45]="HYPHEN_MINUS",x[x.SOLIDUS=47]="SOLIDUS",x[x.DIGIT_0=48]="DIGIT_0",x[x.DIGIT_9=57]="DIGIT_9",x[x.SEMICOLON=59]="SEMICOLON",x[x.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",x[x.EQUALS_SIGN=61]="EQUALS_SIGN",x[x.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",x[x.QUESTION_MARK=63]="QUESTION_MARK",x[x.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",x[x.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",x[x.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",x[x.GRAVE_ACCENT=96]="GRAVE_ACCENT",x[x.LATIN_SMALL_A=97]="LATIN_SMALL_A",x[x.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Se||(Se={}));const Qt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function on(x){return x>=55296&&x<=57343}function st(x){return x>=56320&&x<=57343}function Ut(x,ee){return(x-55296)*1024+9216+ee}function Gt(x){return x!==32&&x!==10&&x!==13&&x!==9&&x!==12&&x>=1&&x<=31||x>=127&&x<=159}function On(x){return x>=64976&&x<=65007||Tt.has(x)}var ft;(function(x){x.controlCharacterInInputStream="control-character-in-input-stream",x.noncharacterInInputStream="noncharacter-in-input-stream",x.surrogateInInputStream="surrogate-in-input-stream",x.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",x.endTagWithAttributes="end-tag-with-attributes",x.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",x.unexpectedSolidusInTag="unexpected-solidus-in-tag",x.unexpectedNullCharacter="unexpected-null-character",x.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",x.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",x.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",x.missingEndTagName="missing-end-tag-name",x.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",x.unknownNamedCharacterReference="unknown-named-character-reference",x.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",x.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",x.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",x.eofBeforeTagName="eof-before-tag-name",x.eofInTag="eof-in-tag",x.missingAttributeValue="missing-attribute-value",x.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",x.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",x.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",x.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",x.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",x.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",x.missingDoctypePublicIdentifier="missing-doctype-public-identifier",x.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",x.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",x.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",x.cdataInHtmlContent="cdata-in-html-content",x.incorrectlyOpenedComment="incorrectly-opened-comment",x.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",x.eofInDoctype="eof-in-doctype",x.nestedComment="nested-comment",x.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",x.eofInComment="eof-in-comment",x.incorrectlyClosedComment="incorrectly-closed-comment",x.eofInCdata="eof-in-cdata",x.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",x.nullCharacterReference="null-character-reference",x.surrogateCharacterReference="surrogate-character-reference",x.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",x.controlCharacterReference="control-character-reference",x.noncharacterCharacterReference="noncharacter-character-reference",x.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",x.missingDoctypeName="missing-doctype-name",x.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",x.duplicateAttribute="duplicate-attribute",x.nonConformingDoctype="non-conforming-doctype",x.missingDoctype="missing-doctype",x.misplacedDoctype="misplaced-doctype",x.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",x.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",x.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",x.openElementsLeftAfterEof="open-elements-left-after-eof",x.abandonedHeadElementChild="abandoned-head-element-child",x.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",x.nestedNoscriptInHead="nested-noscript-in-head",x.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ft||(ft={}));const En=65536;class Ht{constructor(ee){this.handler=ee,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=En,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(ee,Ne){const{line:Ot,col:Rn,offset:fr}=this,Mr=Rn+Ne,hn=fr+Ne;return{code:ee,startLine:Ot,endLine:Ot,startCol:Mr,endCol:Mr,startOffset:hn,endOffset:hn}}_err(ee){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(ee,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(ee){if(this.pos!==this.html.length-1){const Ne=this.html.charCodeAt(this.pos+1);if(st(Ne))return this.pos++,this._addGap(),Ut(ee,Ne)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Se.EOF;return this._err(ft.surrogateInInputStream),ee}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(ee,Ne){this.html.length>0?this.html+=ee:this.html=ee,this.endOfChunkHit=!1,this.lastChunkWritten=Ne}insertHtmlAtCurrentPos(ee){this.html=this.html.substring(0,this.pos+1)+ee+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(ee,Ne){if(this.pos+ee.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(Ne)return this.html.startsWith(ee,this.pos);for(let Ot=0;Ot<ee.length;Ot++)if((this.html.charCodeAt(this.pos+Ot)|32)!==ee.charCodeAt(Ot))return!1;return!0}peek(ee){const Ne=this.pos+ee;if(Ne>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Se.EOF;const Ot=this.html.charCodeAt(Ne);return Ot===Se.CARRIAGE_RETURN?Se.LINE_FEED:Ot}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Se.EOF;let ee=this.html.charCodeAt(this.pos);return ee===Se.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Se.LINE_FEED):ee===Se.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,on(ee)&&(ee=this._processSurrogate(ee)),this.handler.onParseError===null||ee>31&&ee<127||ee===Se.LINE_FEED||ee===Se.CARRIAGE_RETURN||ee>159&&ee<64976||this._checkForProblematicCharacters(ee),ee)}_checkForProblematicCharacters(ee){Gt(ee)?this._err(ft.controlCharacterInInputStream):On(ee)&&this._err(ft.noncharacterInInputStream)}retreat(ee){for(this.pos-=ee;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var gn;(function(x){x[x.CHARACTER=0]="CHARACTER",x[x.NULL_CHARACTER=1]="NULL_CHARACTER",x[x.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",x[x.START_TAG=3]="START_TAG",x[x.END_TAG=4]="END_TAG",x[x.COMMENT=5]="COMMENT",x[x.DOCTYPE=6]="DOCTYPE",x[x.EOF=7]="EOF",x[x.HIBERNATION=8]="HIBERNATION"})(gn||(gn={}));function un(x,ee){for(let Ne=x.attrs.length-1;Ne>=0;Ne--)if(x.attrs[Ne].name===ee)return x.attrs[Ne].value;return null}const De=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(x=>x.charCodeAt(0))),he=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(x=>x.charCodeAt(0)));var ce;const Te=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),je=(ce=String.fromCodePoint)!==null&&ce!==void 0?ce:function(x){let ee="";return x>65535&&(x-=65536,ee+=String.fromCharCode(x>>>10&1023|55296),x=56320|x&1023),ee+=String.fromCharCode(x),ee};function ge(x){var ee;return x>=55296&&x<=57343||x>1114111?65533:(ee=Te.get(x))!==null&&ee!==void 0?ee:x}function Pe(x){return je(ge(x))}var ct;(function(x){x[x.NUM=35]="NUM",x[x.SEMI=59]="SEMI",x[x.EQUALS=61]="EQUALS",x[x.ZERO=48]="ZERO",x[x.NINE=57]="NINE",x[x.LOWER_A=97]="LOWER_A",x[x.LOWER_F=102]="LOWER_F",x[x.LOWER_X=120]="LOWER_X",x[x.LOWER_Z=122]="LOWER_Z",x[x.UPPER_A=65]="UPPER_A",x[x.UPPER_F=70]="UPPER_F",x[x.UPPER_Z=90]="UPPER_Z"})(ct||(ct={}));const $t=32;var gt;(function(x){x[x.VALUE_LENGTH=49152]="VALUE_LENGTH",x[x.BRANCH_LENGTH=16256]="BRANCH_LENGTH",x[x.JUMP_TABLE=127]="JUMP_TABLE"})(gt||(gt={}));function yt(x){return x>=ct.ZERO&&x<=ct.NINE}function Dt(x){return x>=ct.UPPER_A&&x<=ct.UPPER_F||x>=ct.LOWER_A&&x<=ct.LOWER_F}function Pt(x){return x>=ct.UPPER_A&&x<=ct.UPPER_Z||x>=ct.LOWER_A&&x<=ct.LOWER_Z||yt(x)}function Wt(x){return x===ct.EQUALS||Pt(x)}var pn;(function(x){x[x.EntityStart=0]="EntityStart",x[x.NumericStart=1]="NumericStart",x[x.NumericDecimal=2]="NumericDecimal",x[x.NumericHex=3]="NumericHex",x[x.NamedEntity=4]="NamedEntity"})(pn||(pn={}));var fn;(function(x){x[x.Legacy=0]="Legacy",x[x.Strict=1]="Strict",x[x.Attribute=2]="Attribute"})(fn||(fn={}));class Mt{constructor(ee,Ne,Ot){this.decodeTree=ee,this.emitCodePoint=Ne,this.errors=Ot,this.state=pn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fn.Strict}startEntity(ee){this.decodeMode=ee,this.state=pn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(ee,Ne){switch(this.state){case pn.EntityStart:return ee.charCodeAt(Ne)===ct.NUM?(this.state=pn.NumericStart,this.consumed+=1,this.stateNumericStart(ee,Ne+1)):(this.state=pn.NamedEntity,this.stateNamedEntity(ee,Ne));case pn.NumericStart:return this.stateNumericStart(ee,Ne);case pn.NumericDecimal:return this.stateNumericDecimal(ee,Ne);case pn.NumericHex:return this.stateNumericHex(ee,Ne);case pn.NamedEntity:return this.stateNamedEntity(ee,Ne)}}stateNumericStart(ee,Ne){return Ne>=ee.length?-1:(ee.charCodeAt(Ne)|$t)===ct.LOWER_X?(this.state=pn.NumericHex,this.consumed+=1,this.stateNumericHex(ee,Ne+1)):(this.state=pn.NumericDecimal,this.stateNumericDecimal(ee,Ne))}addToNumericResult(ee,Ne,Ot,Rn){if(Ne!==Ot){const fr=Ot-Ne;this.result=this.result*Math.pow(Rn,fr)+Number.parseInt(ee.substr(Ne,fr),Rn),this.consumed+=fr}}stateNumericHex(ee,Ne){const Ot=Ne;for(;Ne<ee.length;){const Rn=ee.charCodeAt(Ne);if(yt(Rn)||Dt(Rn))Ne+=1;else return this.addToNumericResult(ee,Ot,Ne,16),this.emitNumericEntity(Rn,3)}return this.addToNumericResult(ee,Ot,Ne,16),-1}stateNumericDecimal(ee,Ne){const Ot=Ne;for(;Ne<ee.length;){const Rn=ee.charCodeAt(Ne);if(yt(Rn))Ne+=1;else return this.addToNumericResult(ee,Ot,Ne,10),this.emitNumericEntity(Rn,2)}return this.addToNumericResult(ee,Ot,Ne,10),-1}emitNumericEntity(ee,Ne){var Ot;if(this.consumed<=Ne)return(Ot=this.errors)===null||Ot===void 0||Ot.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(ee===ct.SEMI)this.consumed+=1;else if(this.decodeMode===fn.Strict)return 0;return this.emitCodePoint(ge(this.result),this.consumed),this.errors&&(ee!==ct.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(ee,Ne){const{decodeTree:Ot}=this;let Rn=Ot[this.treeIndex],fr=(Rn>.VALUE_LENGTH)>>14;for(;Ne<ee.length;Ne++,this.excess++){const Mr=ee.charCodeAt(Ne);if(this.treeIndex=kn(Ot,Rn,this.treeIndex+Math.max(1,fr),Mr),this.treeIndex<0)return this.result===0||this.decodeMode===fn.Attribute&&(fr===0||Wt(Mr))?0:this.emitNotTerminatedNamedEntity();if(Rn=Ot[this.treeIndex],fr=(Rn>.VALUE_LENGTH)>>14,fr!==0){if(Mr===ct.SEMI)return this.emitNamedEntityData(this.treeIndex,fr,this.consumed+this.excess);this.decodeMode!==fn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var ee;const{result:Ne,decodeTree:Ot}=this,Rn=(Ot[Ne]>.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Ne,Rn,this.consumed),(ee=this.errors)===null||ee===void 0||ee.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(ee,Ne,Ot){const{decodeTree:Rn}=this;return this.emitCodePoint(Ne===1?Rn[ee]&~gt.VALUE_LENGTH:Rn[ee+1],Ot),Ne===3&&this.emitCodePoint(Rn[ee+2],Ot),Ot}end(){var ee;switch(this.state){case pn.NamedEntity:return this.result!==0&&(this.decodeMode!==fn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pn.NumericDecimal:return this.emitNumericEntity(0,2);case pn.NumericHex:return this.emitNumericEntity(0,3);case pn.NumericStart:return(ee=this.errors)===null||ee===void 0||ee.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pn.EntityStart:return 0}}}function Ln(x){let ee="";const Ne=new Mt(x,Ot=>ee+=fromCodePoint(Ot));return function(Rn,fr){let Mr=0,hn=0;for(;(hn=Rn.indexOf("&",hn))>=0;){ee+=Rn.slice(Mr,hn),Ne.startEntity(fr);const hi=Ne.write(Rn,hn+1);if(hi<0){Mr=hn+Ne.end();break}Mr=hn+hi,hn=hi===0?Mr+1:Mr}const wa=ee+Rn.slice(Mr);return ee="",wa}}function kn(x,ee,Ne,Ot){const Rn=(ee>.BRANCH_LENGTH)>>7,fr=ee>.JUMP_TABLE;if(Rn===0)return fr!==0&&Ot===fr?Ne:-1;if(fr){const wa=Ot-fr;return wa<0||wa>=Rn?-1:x[Ne+wa]-1}let Mr=Ne,hn=Mr+Rn-1;for(;Mr<=hn;){const wa=Mr+hn>>>1,hi=x[wa];if(hi<Ot)Mr=wa+1;else if(hi>Ot)hn=wa-1;else return x[wa+Rn]}return-1}const wn=null,ln=null;function In(x,ee=fn.Legacy){return wn(x,ee)}function xn(x){return wn(x,fn.Attribute)}function kt(x){return wn(x,fn.Strict)}function Yt(x){return ln(x,fn.Strict)}var Ft;(function(x){x.HTML="http://www.w3.org/1999/xhtml",x.MATHML="http://www.w3.org/1998/Math/MathML",x.SVG="http://www.w3.org/2000/svg",x.XLINK="http://www.w3.org/1999/xlink",x.XML="http://www.w3.org/XML/1998/namespace",x.XMLNS="http://www.w3.org/2000/xmlns/"})(Ft||(Ft={}));var vn;(function(x){x.TYPE="type",x.ACTION="action",x.ENCODING="encoding",x.PROMPT="prompt",x.NAME="name",x.COLOR="color",x.FACE="face",x.SIZE="size"})(vn||(vn={}));var Ct;(function(x){x.NO_QUIRKS="no-quirks",x.QUIRKS="quirks",x.LIMITED_QUIRKS="limited-quirks"})(Ct||(Ct={}));var pt;(function(x){x.A="a",x.ADDRESS="address",x.ANNOTATION_XML="annotation-xml",x.APPLET="applet",x.AREA="area",x.ARTICLE="article",x.ASIDE="aside",x.B="b",x.BASE="base",x.BASEFONT="basefont",x.BGSOUND="bgsound",x.BIG="big",x.BLOCKQUOTE="blockquote",x.BODY="body",x.BR="br",x.BUTTON="button",x.CAPTION="caption",x.CENTER="center",x.CODE="code",x.COL="col",x.COLGROUP="colgroup",x.DD="dd",x.DESC="desc",x.DETAILS="details",x.DIALOG="dialog",x.DIR="dir",x.DIV="div",x.DL="dl",x.DT="dt",x.EM="em",x.EMBED="embed",x.FIELDSET="fieldset",x.FIGCAPTION="figcaption",x.FIGURE="figure",x.FONT="font",x.FOOTER="footer",x.FOREIGN_OBJECT="foreignObject",x.FORM="form",x.FRAME="frame",x.FRAMESET="frameset",x.H1="h1",x.H2="h2",x.H3="h3",x.H4="h4",x.H5="h5",x.H6="h6",x.HEAD="head",x.HEADER="header",x.HGROUP="hgroup",x.HR="hr",x.HTML="html",x.I="i",x.IMG="img",x.IMAGE="image",x.INPUT="input",x.IFRAME="iframe",x.KEYGEN="keygen",x.LABEL="label",x.LI="li",x.LINK="link",x.LISTING="listing",x.MAIN="main",x.MALIGNMARK="malignmark",x.MARQUEE="marquee",x.MATH="math",x.MENU="menu",x.META="meta",x.MGLYPH="mglyph",x.MI="mi",x.MO="mo",x.MN="mn",x.MS="ms",x.MTEXT="mtext",x.NAV="nav",x.NOBR="nobr",x.NOFRAMES="noframes",x.NOEMBED="noembed",x.NOSCRIPT="noscript",x.OBJECT="object",x.OL="ol",x.OPTGROUP="optgroup",x.OPTION="option",x.P="p",x.PARAM="param",x.PLAINTEXT="plaintext",x.PRE="pre",x.RB="rb",x.RP="rp",x.RT="rt",x.RTC="rtc",x.RUBY="ruby",x.S="s",x.SCRIPT="script",x.SEARCH="search",x.SECTION="section",x.SELECT="select",x.SOURCE="source",x.SMALL="small",x.SPAN="span",x.STRIKE="strike",x.STRONG="strong",x.STYLE="style",x.SUB="sub",x.SUMMARY="summary",x.SUP="sup",x.TABLE="table",x.TBODY="tbody",x.TEMPLATE="template",x.TEXTAREA="textarea",x.TFOOT="tfoot",x.TD="td",x.TH="th",x.THEAD="thead",x.TITLE="title",x.TR="tr",x.TRACK="track",x.TT="tt",x.U="u",x.UL="ul",x.SVG="svg",x.VAR="var",x.WBR="wbr",x.XMP="xmp"})(pt||(pt={}));var de;(function(x){x[x.UNKNOWN=0]="UNKNOWN",x[x.A=1]="A",x[x.ADDRESS=2]="ADDRESS",x[x.ANNOTATION_XML=3]="ANNOTATION_XML",x[x.APPLET=4]="APPLET",x[x.AREA=5]="AREA",x[x.ARTICLE=6]="ARTICLE",x[x.ASIDE=7]="ASIDE",x[x.B=8]="B",x[x.BASE=9]="BASE",x[x.BASEFONT=10]="BASEFONT",x[x.BGSOUND=11]="BGSOUND",x[x.BIG=12]="BIG",x[x.BLOCKQUOTE=13]="BLOCKQUOTE",x[x.BODY=14]="BODY",x[x.BR=15]="BR",x[x.BUTTON=16]="BUTTON",x[x.CAPTION=17]="CAPTION",x[x.CENTER=18]="CENTER",x[x.CODE=19]="CODE",x[x.COL=20]="COL",x[x.COLGROUP=21]="COLGROUP",x[x.DD=22]="DD",x[x.DESC=23]="DESC",x[x.DETAILS=24]="DETAILS",x[x.DIALOG=25]="DIALOG",x[x.DIR=26]="DIR",x[x.DIV=27]="DIV",x[x.DL=28]="DL",x[x.DT=29]="DT",x[x.EM=30]="EM",x[x.EMBED=31]="EMBED",x[x.FIELDSET=32]="FIELDSET",x[x.FIGCAPTION=33]="FIGCAPTION",x[x.FIGURE=34]="FIGURE",x[x.FONT=35]="FONT",x[x.FOOTER=36]="FOOTER",x[x.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",x[x.FORM=38]="FORM",x[x.FRAME=39]="FRAME",x[x.FRAMESET=40]="FRAMESET",x[x.H1=41]="H1",x[x.H2=42]="H2",x[x.H3=43]="H3",x[x.H4=44]="H4",x[x.H5=45]="H5",x[x.H6=46]="H6",x[x.HEAD=47]="HEAD",x[x.HEADER=48]="HEADER",x[x.HGROUP=49]="HGROUP",x[x.HR=50]="HR",x[x.HTML=51]="HTML",x[x.I=52]="I",x[x.IMG=53]="IMG",x[x.IMAGE=54]="IMAGE",x[x.INPUT=55]="INPUT",x[x.IFRAME=56]="IFRAME",x[x.KEYGEN=57]="KEYGEN",x[x.LABEL=58]="LABEL",x[x.LI=59]="LI",x[x.LINK=60]="LINK",x[x.LISTING=61]="LISTING",x[x.MAIN=62]="MAIN",x[x.MALIGNMARK=63]="MALIGNMARK",x[x.MARQUEE=64]="MARQUEE",x[x.MATH=65]="MATH",x[x.MENU=66]="MENU",x[x.META=67]="META",x[x.MGLYPH=68]="MGLYPH",x[x.MI=69]="MI",x[x.MO=70]="MO",x[x.MN=71]="MN",x[x.MS=72]="MS",x[x.MTEXT=73]="MTEXT",x[x.NAV=74]="NAV",x[x.NOBR=75]="NOBR",x[x.NOFRAMES=76]="NOFRAMES",x[x.NOEMBED=77]="NOEMBED",x[x.NOSCRIPT=78]="NOSCRIPT",x[x.OBJECT=79]="OBJECT",x[x.OL=80]="OL",x[x.OPTGROUP=81]="OPTGROUP",x[x.OPTION=82]="OPTION",x[x.P=83]="P",x[x.PARAM=84]="PARAM",x[x.PLAINTEXT=85]="PLAINTEXT",x[x.PRE=86]="PRE",x[x.RB=87]="RB",x[x.RP=88]="RP",x[x.RT=89]="RT",x[x.RTC=90]="RTC",x[x.RUBY=91]="RUBY",x[x.S=92]="S",x[x.SCRIPT=93]="SCRIPT",x[x.SEARCH=94]="SEARCH",x[x.SECTION=95]="SECTION",x[x.SELECT=96]="SELECT",x[x.SOURCE=97]="SOURCE",x[x.SMALL=98]="SMALL",x[x.SPAN=99]="SPAN",x[x.STRIKE=100]="STRIKE",x[x.STRONG=101]="STRONG",x[x.STYLE=102]="STYLE",x[x.SUB=103]="SUB",x[x.SUMMARY=104]="SUMMARY",x[x.SUP=105]="SUP",x[x.TABLE=106]="TABLE",x[x.TBODY=107]="TBODY",x[x.TEMPLATE=108]="TEMPLATE",x[x.TEXTAREA=109]="TEXTAREA",x[x.TFOOT=110]="TFOOT",x[x.TD=111]="TD",x[x.TH=112]="TH",x[x.THEAD=113]="THEAD",x[x.TITLE=114]="TITLE",x[x.TR=115]="TR",x[x.TRACK=116]="TRACK",x[x.TT=117]="TT",x[x.U=118]="U",x[x.UL=119]="UL",x[x.SVG=120]="SVG",x[x.VAR=121]="VAR",x[x.WBR=122]="WBR",x[x.XMP=123]="XMP"})(de||(de={}));const qt=new Map([[pt.A,de.A],[pt.ADDRESS,de.ADDRESS],[pt.ANNOTATION_XML,de.ANNOTATION_XML],[pt.APPLET,de.APPLET],[pt.AREA,de.AREA],[pt.ARTICLE,de.ARTICLE],[pt.ASIDE,de.ASIDE],[pt.B,de.B],[pt.BASE,de.BASE],[pt.BASEFONT,de.BASEFONT],[pt.BGSOUND,de.BGSOUND],[pt.BIG,de.BIG],[pt.BLOCKQUOTE,de.BLOCKQUOTE],[pt.BODY,de.BODY],[pt.BR,de.BR],[pt.BUTTON,de.BUTTON],[pt.CAPTION,de.CAPTION],[pt.CENTER,de.CENTER],[pt.CODE,de.CODE],[pt.COL,de.COL],[pt.COLGROUP,de.COLGROUP],[pt.DD,de.DD],[pt.DESC,de.DESC],[pt.DETAILS,de.DETAILS],[pt.DIALOG,de.DIALOG],[pt.DIR,de.DIR],[pt.DIV,de.DIV],[pt.DL,de.DL],[pt.DT,de.DT],[pt.EM,de.EM],[pt.EMBED,de.EMBED],[pt.FIELDSET,de.FIELDSET],[pt.FIGCAPTION,de.FIGCAPTION],[pt.FIGURE,de.FIGURE],[pt.FONT,de.FONT],[pt.FOOTER,de.FOOTER],[pt.FOREIGN_OBJECT,de.FOREIGN_OBJECT],[pt.FORM,de.FORM],[pt.FRAME,de.FRAME],[pt.FRAMESET,de.FRAMESET],[pt.H1,de.H1],[pt.H2,de.H2],[pt.H3,de.H3],[pt.H4,de.H4],[pt.H5,de.H5],[pt.H6,de.H6],[pt.HEAD,de.HEAD],[pt.HEADER,de.HEADER],[pt.HGROUP,de.HGROUP],[pt.HR,de.HR],[pt.HTML,de.HTML],[pt.I,de.I],[pt.IMG,de.IMG],[pt.IMAGE,de.IMAGE],[pt.INPUT,de.INPUT],[pt.IFRAME,de.IFRAME],[pt.KEYGEN,de.KEYGEN],[pt.LABEL,de.LABEL],[pt.LI,de.LI],[pt.LINK,de.LINK],[pt.LISTING,de.LISTING],[pt.MAIN,de.MAIN],[pt.MALIGNMARK,de.MALIGNMARK],[pt.MARQUEE,de.MARQUEE],[pt.MATH,de.MATH],[pt.MENU,de.MENU],[pt.META,de.META],[pt.MGLYPH,de.MGLYPH],[pt.MI,de.MI],[pt.MO,de.MO],[pt.MN,de.MN],[pt.MS,de.MS],[pt.MTEXT,de.MTEXT],[pt.NAV,de.NAV],[pt.NOBR,de.NOBR],[pt.NOFRAMES,de.NOFRAMES],[pt.NOEMBED,de.NOEMBED],[pt.NOSCRIPT,de.NOSCRIPT],[pt.OBJECT,de.OBJECT],[pt.OL,de.OL],[pt.OPTGROUP,de.OPTGROUP],[pt.OPTION,de.OPTION],[pt.P,de.P],[pt.PARAM,de.PARAM],[pt.PLAINTEXT,de.PLAINTEXT],[pt.PRE,de.PRE],[pt.RB,de.RB],[pt.RP,de.RP],[pt.RT,de.RT],[pt.RTC,de.RTC],[pt.RUBY,de.RUBY],[pt.S,de.S],[pt.SCRIPT,de.SCRIPT],[pt.SEARCH,de.SEARCH],[pt.SECTION,de.SECTION],[pt.SELECT,de.SELECT],[pt.SOURCE,de.SOURCE],[pt.SMALL,de.SMALL],[pt.SPAN,de.SPAN],[pt.STRIKE,de.STRIKE],[pt.STRONG,de.STRONG],[pt.STYLE,de.STYLE],[pt.SUB,de.SUB],[pt.SUMMARY,de.SUMMARY],[pt.SUP,de.SUP],[pt.TABLE,de.TABLE],[pt.TBODY,de.TBODY],[pt.TEMPLATE,de.TEMPLATE],[pt.TEXTAREA,de.TEXTAREA],[pt.TFOOT,de.TFOOT],[pt.TD,de.TD],[pt.TH,de.TH],[pt.THEAD,de.THEAD],[pt.TITLE,de.TITLE],[pt.TR,de.TR],[pt.TRACK,de.TRACK],[pt.TT,de.TT],[pt.U,de.U],[pt.UL,de.UL],[pt.SVG,de.SVG],[pt.VAR,de.VAR],[pt.WBR,de.WBR],[pt.XMP,de.XMP]]);function Dn(x){var ee;return(ee=qt.get(x))!==null&&ee!==void 0?ee:de.UNKNOWN}const mn=de,vr={[Ft.HTML]:new Set([mn.ADDRESS,mn.APPLET,mn.AREA,mn.ARTICLE,mn.ASIDE,mn.BASE,mn.BASEFONT,mn.BGSOUND,mn.BLOCKQUOTE,mn.BODY,mn.BR,mn.BUTTON,mn.CAPTION,mn.CENTER,mn.COL,mn.COLGROUP,mn.DD,mn.DETAILS,mn.DIR,mn.DIV,mn.DL,mn.DT,mn.EMBED,mn.FIELDSET,mn.FIGCAPTION,mn.FIGURE,mn.FOOTER,mn.FORM,mn.FRAME,mn.FRAMESET,mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6,mn.HEAD,mn.HEADER,mn.HGROUP,mn.HR,mn.HTML,mn.IFRAME,mn.IMG,mn.INPUT,mn.LI,mn.LINK,mn.LISTING,mn.MAIN,mn.MARQUEE,mn.MENU,mn.META,mn.NAV,mn.NOEMBED,mn.NOFRAMES,mn.NOSCRIPT,mn.OBJECT,mn.OL,mn.P,mn.PARAM,mn.PLAINTEXT,mn.PRE,mn.SCRIPT,mn.SECTION,mn.SELECT,mn.SOURCE,mn.STYLE,mn.SUMMARY,mn.TABLE,mn.TBODY,mn.TD,mn.TEMPLATE,mn.TEXTAREA,mn.TFOOT,mn.TH,mn.THEAD,mn.TITLE,mn.TR,mn.TRACK,mn.UL,mn.WBR,mn.XMP]),[Ft.MATHML]:new Set([mn.MI,mn.MO,mn.MN,mn.MS,mn.MTEXT,mn.ANNOTATION_XML]),[Ft.SVG]:new Set([mn.TITLE,mn.FOREIGN_OBJECT,mn.DESC]),[Ft.XLINK]:new Set,[Ft.XML]:new Set,[Ft.XMLNS]:new Set},yr=new Set([mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6]),ar=new Set([pt.STYLE,pt.SCRIPT,pt.XMP,pt.IFRAME,pt.NOEMBED,pt.NOFRAMES,pt.PLAINTEXT]);function Er(x,ee){return ar.has(x)||ee&&x===pt.NOSCRIPT}var wt;(function(x){x[x.DATA=0]="DATA",x[x.RCDATA=1]="RCDATA",x[x.RAWTEXT=2]="RAWTEXT",x[x.SCRIPT_DATA=3]="SCRIPT_DATA",x[x.PLAINTEXT=4]="PLAINTEXT",x[x.TAG_OPEN=5]="TAG_OPEN",x[x.END_TAG_OPEN=6]="END_TAG_OPEN",x[x.TAG_NAME=7]="TAG_NAME",x[x.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",x[x.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",x[x.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",x[x.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",x[x.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",x[x.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",x[x.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",x[x.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",x[x.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",x[x.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",x[x.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",x[x.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",x[x.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",x[x.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",x[x.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",x[x.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",x[x.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",x[x.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",x[x.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",x[x.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",x[x.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",x[x.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",x[x.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",x[x.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",x[x.BOGUS_COMMENT=40]="BOGUS_COMMENT",x[x.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",x[x.COMMENT_START=42]="COMMENT_START",x[x.COMMENT_START_DASH=43]="COMMENT_START_DASH",x[x.COMMENT=44]="COMMENT",x[x.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",x[x.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",x[x.COMMENT_END_DASH=49]="COMMENT_END_DASH",x[x.COMMENT_END=50]="COMMENT_END",x[x.COMMENT_END_BANG=51]="COMMENT_END_BANG",x[x.DOCTYPE=52]="DOCTYPE",x[x.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",x[x.DOCTYPE_NAME=54]="DOCTYPE_NAME",x[x.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",x[x.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",x[x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",x[x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",x[x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",x[x.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",x[x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",x[x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",x[x.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",x[x.CDATA_SECTION=68]="CDATA_SECTION",x[x.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",x[x.CDATA_SECTION_END=70]="CDATA_SECTION_END",x[x.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",x[x.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(wt||(wt={}));const Qn={DATA:wt.DATA,RCDATA:wt.RCDATA,RAWTEXT:wt.RAWTEXT,SCRIPT_DATA:wt.SCRIPT_DATA,PLAINTEXT:wt.PLAINTEXT,CDATA_SECTION:wt.CDATA_SECTION};function lr(x){return x>=Se.DIGIT_0&&x<=Se.DIGIT_9}function cr(x){return x>=Se.LATIN_CAPITAL_A&&x<=Se.LATIN_CAPITAL_Z}function Yn(x){return x>=Se.LATIN_SMALL_A&&x<=Se.LATIN_SMALL_Z}function Sr(x){return Yn(x)||cr(x)}function br(x){return Sr(x)||lr(x)}function Nr(x){return x+32}function Jr(x){return x===Se.SPACE||x===Se.LINE_FEED||x===Se.TABULATION||x===Se.FORM_FEED}function $r(x){return Jr(x)||x===Se.SOLIDUS||x===Se.GREATER_THAN_SIGN}function Ur(x){return x===Se.NULL?ft.nullCharacterReference:x>1114111?ft.characterReferenceOutsideUnicodeRange:on(x)?ft.surrogateCharacterReference:On(x)?ft.noncharacterCharacterReference:Gt(x)||x===Se.CARRIAGE_RETURN?ft.controlCharacterReference:null}class aa{constructor(ee,Ne){this.options=ee,this.handler=Ne,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=wt.DATA,this.returnState=wt.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ht(Ne),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Mt(De,(Ot,Rn)=>{this.preprocessor.pos=this.entityStartPos+Rn-1,this._flushCodePointConsumedAsCharacterReference(Ot)},Ne.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ft.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:Ot=>{this._err(ft.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+Ot)},validateNumericCharacterReference:Ot=>{const Rn=Ur(Ot);Rn&&this._err(Rn,1)}}:void 0)}_err(ee,Ne=0){var Ot,Rn;(Rn=(Ot=this.handler).onParseError)===null||Rn===void 0||Rn.call(Ot,this.preprocessor.getError(ee,Ne))}getCurrentLocation(ee){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-ee,startOffset:this.preprocessor.offset-ee,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const ee=this._consume();this._ensureHibernation()||this._callState(ee)}this.inLoop=!1}}pause(){this.paused=!0}resume(ee){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||ee==null||ee())}write(ee,Ne,Ot){this.active=!0,this.preprocessor.write(ee,Ne),this._runParsingLoop(),this.paused||Ot==null||Ot()}insertHtmlAtCurrentPos(ee){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(ee),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(ee){this.consumedAfterSnapshot+=ee;for(let Ne=0;Ne<ee;Ne++)this.preprocessor.advance()}_consumeSequenceIfMatch(ee,Ne){return this.preprocessor.startsWith(ee,Ne)?(this._advanceBy(ee.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:gn.START_TAG,tagName:"",tagID:de.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:gn.END_TAG,tagName:"",tagID:de.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(ee){this.currentToken={type:gn.COMMENT,data:"",location:this.getCurrentLocation(ee)}}_createDoctypeToken(ee){this.currentToken={type:gn.DOCTYPE,name:ee,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(ee,Ne){this.currentCharacterToken={type:ee,chars:Ne,location:this.currentLocation}}_createAttr(ee){this.currentAttr={name:ee,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var ee,Ne;const Ot=this.currentToken;if(un(Ot,this.currentAttr.name)===null){if(Ot.attrs.push(this.currentAttr),Ot.location&&this.currentLocation){const Rn=(ee=(Ne=Ot.location).attrs)!==null&&ee!==void 0?ee:Ne.attrs=Object.create(null);Rn[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ft.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(ee){this._emitCurrentCharacterToken(ee.location),this.currentToken=null,ee.location&&(ee.location.endLine=this.preprocessor.line,ee.location.endCol=this.preprocessor.col+1,ee.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const ee=this.currentToken;this.prepareToken(ee),ee.tagID=Dn(ee.tagName),ee.type===gn.START_TAG?(this.lastStartTagName=ee.tagName,this.handler.onStartTag(ee)):(ee.attrs.length>0&&this._err(ft.endTagWithAttributes),ee.selfClosing&&this._err(ft.endTagWithTrailingSolidus),this.handler.onEndTag(ee)),this.preprocessor.dropParsedChunk()}emitCurrentComment(ee){this.prepareToken(ee),this.handler.onComment(ee),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(ee){this.prepareToken(ee),this.handler.onDoctype(ee),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(ee){if(this.currentCharacterToken){switch(ee&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=ee.startLine,this.currentCharacterToken.location.endCol=ee.startCol,this.currentCharacterToken.location.endOffset=ee.startOffset),this.currentCharacterToken.type){case gn.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case gn.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case gn.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const ee=this.getCurrentLocation(0);ee&&(ee.endLine=ee.startLine,ee.endCol=ee.startCol,ee.endOffset=ee.startOffset),this._emitCurrentCharacterToken(ee),this.handler.onEof({type:gn.EOF,location:ee}),this.active=!1}_appendCharToCurrentCharacterToken(ee,Ne){if(this.currentCharacterToken)if(this.currentCharacterToken.type===ee){this.currentCharacterToken.chars+=Ne;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(ee,Ne)}_emitCodePoint(ee){const Ne=Jr(ee)?gn.WHITESPACE_CHARACTER:ee===Se.NULL?gn.NULL_CHARACTER:gn.CHARACTER;this._appendCharToCurrentCharacterToken(Ne,String.fromCodePoint(ee))}_emitChars(ee){this._appendCharToCurrentCharacterToken(gn.CHARACTER,ee)}_startCharacterReference(){this.returnState=this.state,this.state=wt.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?fn.Attribute:fn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===wt.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===wt.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===wt.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(ee){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(ee):this._emitCodePoint(ee)}_callState(ee){switch(this.state){case wt.DATA:{this._stateData(ee);break}case wt.RCDATA:{this._stateRcdata(ee);break}case wt.RAWTEXT:{this._stateRawtext(ee);break}case wt.SCRIPT_DATA:{this._stateScriptData(ee);break}case wt.PLAINTEXT:{this._statePlaintext(ee);break}case wt.TAG_OPEN:{this._stateTagOpen(ee);break}case wt.END_TAG_OPEN:{this._stateEndTagOpen(ee);break}case wt.TAG_NAME:{this._stateTagName(ee);break}case wt.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(ee);break}case wt.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(ee);break}case wt.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(ee);break}case wt.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(ee);break}case wt.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(ee);break}case wt.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(ee);break}case wt.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(ee);break}case wt.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(ee);break}case wt.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(ee);break}case wt.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(ee);break}case wt.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(ee);break}case wt.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(ee);break}case wt.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(ee);break}case wt.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(ee);break}case wt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(ee);break}case wt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(ee);break}case wt.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(ee);break}case wt.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(ee);break}case wt.ATTRIBUTE_NAME:{this._stateAttributeName(ee);break}case wt.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(ee);break}case wt.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(ee);break}case wt.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(ee);break}case wt.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(ee);break}case wt.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(ee);break}case wt.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(ee);break}case wt.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(ee);break}case wt.BOGUS_COMMENT:{this._stateBogusComment(ee);break}case wt.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(ee);break}case wt.COMMENT_START:{this._stateCommentStart(ee);break}case wt.COMMENT_START_DASH:{this._stateCommentStartDash(ee);break}case wt.COMMENT:{this._stateComment(ee);break}case wt.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(ee);break}case wt.COMMENT_END_DASH:{this._stateCommentEndDash(ee);break}case wt.COMMENT_END:{this._stateCommentEnd(ee);break}case wt.COMMENT_END_BANG:{this._stateCommentEndBang(ee);break}case wt.DOCTYPE:{this._stateDoctype(ee);break}case wt.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(ee);break}case wt.DOCTYPE_NAME:{this._stateDoctypeName(ee);break}case wt.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(ee);break}case wt.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(ee);break}case wt.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(ee);break}case wt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(ee);break}case wt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(ee);break}case wt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(ee);break}case wt.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(ee);break}case wt.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(ee);break}case wt.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(ee);break}case wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(ee);break}case wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(ee);break}case wt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(ee);break}case wt.BOGUS_DOCTYPE:{this._stateBogusDoctype(ee);break}case wt.CDATA_SECTION:{this._stateCdataSection(ee);break}case wt.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(ee);break}case wt.CDATA_SECTION_END:{this._stateCdataSectionEnd(ee);break}case wt.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case wt.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(ee);break}default:throw new Error("Unknown state")}}_stateData(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.TAG_OPEN;break}case Se.AMPERSAND:{this._startCharacterReference();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitCodePoint(ee);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRcdata(ee){switch(ee){case Se.AMPERSAND:{this._startCharacterReference();break}case Se.LESS_THAN_SIGN:{this.state=wt.RCDATA_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRawtext(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.RAWTEXT_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateScriptData(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_statePlaintext(ee){switch(ee){case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateTagOpen(ee){if(Sr(ee))this._createStartTagToken(),this.state=wt.TAG_NAME,this._stateTagName(ee);else switch(ee){case Se.EXCLAMATION_MARK:{this.state=wt.MARKUP_DECLARATION_OPEN;break}case Se.SOLIDUS:{this.state=wt.END_TAG_OPEN;break}case Se.QUESTION_MARK:{this._err(ft.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=wt.BOGUS_COMMENT,this._stateBogusComment(ee);break}case Se.EOF:{this._err(ft.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ft.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=wt.DATA,this._stateData(ee)}}_stateEndTagOpen(ee){if(Sr(ee))this._createEndTagToken(),this.state=wt.TAG_NAME,this._stateTagName(ee);else switch(ee){case Se.GREATER_THAN_SIGN:{this._err(ft.missingEndTagName),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ft.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=wt.BOGUS_COMMENT,this._stateBogusComment(ee)}}_stateTagName(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.BEFORE_ATTRIBUTE_NAME;break}case Se.SOLIDUS:{this.state=wt.SELF_CLOSING_START_TAG;break}case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentTagToken();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.tagName+=Ye;break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:Ne.tagName+=String.fromCodePoint(cr(ee)?Nr(ee):ee)}}_stateRcdataLessThanSign(ee){ee===Se.SOLIDUS?this.state=wt.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=wt.RCDATA,this._stateRcdata(ee))}_stateRcdataEndTagOpen(ee){Sr(ee)?(this.state=wt.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(ee)):(this._emitChars("</"),this.state=wt.RCDATA,this._stateRcdata(ee))}handleSpecialEndTag(ee){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const Ne=this.currentToken;switch(Ne.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=wt.BEFORE_ATTRIBUTE_NAME,!1;case Se.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=wt.SELF_CLOSING_START_TAG,!1;case Se.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=wt.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(ee){this.handleSpecialEndTag(ee)&&(this._emitChars("</"),this.state=wt.RCDATA,this._stateRcdata(ee))}_stateRawtextLessThanSign(ee){ee===Se.SOLIDUS?this.state=wt.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=wt.RAWTEXT,this._stateRawtext(ee))}_stateRawtextEndTagOpen(ee){Sr(ee)?(this.state=wt.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(ee)):(this._emitChars("</"),this.state=wt.RAWTEXT,this._stateRawtext(ee))}_stateRawtextEndTagName(ee){this.handleSpecialEndTag(ee)&&(this._emitChars("</"),this.state=wt.RAWTEXT,this._stateRawtext(ee))}_stateScriptDataLessThanSign(ee){switch(ee){case Se.SOLIDUS:{this.state=wt.SCRIPT_DATA_END_TAG_OPEN;break}case Se.EXCLAMATION_MARK:{this.state=wt.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=wt.SCRIPT_DATA,this._stateScriptData(ee)}}_stateScriptDataEndTagOpen(ee){Sr(ee)?(this.state=wt.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(ee)):(this._emitChars("</"),this.state=wt.SCRIPT_DATA,this._stateScriptData(ee))}_stateScriptDataEndTagName(ee){this.handleSpecialEndTag(ee)&&(this._emitChars("</"),this.state=wt.SCRIPT_DATA,this._stateScriptData(ee))}_stateScriptDataEscapeStart(ee){ee===Se.HYPHEN_MINUS?(this.state=wt.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=wt.SCRIPT_DATA,this._stateScriptData(ee))}_stateScriptDataEscapeStartDash(ee){ee===Se.HYPHEN_MINUS?(this.state=wt.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=wt.SCRIPT_DATA,this._stateScriptData(ee))}_stateScriptDataEscaped(ee){switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateScriptDataEscapedDash(ee){switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataEscapedDashDash(ee){switch(ee){case Se.HYPHEN_MINUS:{this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Se.GREATER_THAN_SIGN:{this.state=wt.SCRIPT_DATA,this._emitChars(">");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataEscapedLessThanSign(ee){ee===Se.SOLIDUS?this.state=wt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Sr(ee)?(this._emitChars("<"),this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(ee)):(this._emitChars("<"),this.state=wt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataEscapedEndTagOpen(ee){Sr(ee)?(this.state=wt.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(ee)):(this._emitChars("</"),this.state=wt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataEscapedEndTagName(ee){this.handleSpecialEndTag(ee)&&(this._emitChars("</"),this.state=wt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataDoubleEscapeStart(ee){if(this.preprocessor.startsWith(Qt.SCRIPT,!1)&&$r(this.preprocessor.peek(Qt.SCRIPT.length))){this._emitCodePoint(ee);for(let Ne=0;Ne<Qt.SCRIPT.length;Ne++)this._emitCodePoint(this._consume());this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=wt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataDoubleEscaped(ee){switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateScriptDataDoubleEscapedDash(ee){switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataDoubleEscapedDashDash(ee){switch(ee){case Se.HYPHEN_MINUS:{this._emitChars("-");break}case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Se.GREATER_THAN_SIGN:{this.state=wt.SCRIPT_DATA,this._emitChars(">");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataDoubleEscapedLessThanSign(ee){ee===Se.SOLIDUS?(this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(ee))}_stateScriptDataDoubleEscapeEnd(ee){if(this.preprocessor.startsWith(Qt.SCRIPT,!1)&&$r(this.preprocessor.peek(Qt.SCRIPT.length))){this._emitCodePoint(ee);for(let Ne=0;Ne<Qt.SCRIPT.length;Ne++)this._emitCodePoint(this._consume());this.state=wt.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(ee))}_stateBeforeAttributeName(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.SOLIDUS:case Se.GREATER_THAN_SIGN:case Se.EOF:{this.state=wt.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(ee);break}case Se.EQUALS_SIGN:{this._err(ft.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=wt.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=wt.ATTRIBUTE_NAME,this._stateAttributeName(ee)}}_stateAttributeName(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:case Se.SOLIDUS:case Se.GREATER_THAN_SIGN:case Se.EOF:{this._leaveAttrName(),this.state=wt.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(ee);break}case Se.EQUALS_SIGN:{this._leaveAttrName(),this.state=wt.BEFORE_ATTRIBUTE_VALUE;break}case Se.QUOTATION_MARK:case Se.APOSTROPHE:case Se.LESS_THAN_SIGN:{this._err(ft.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(ee);break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.currentAttr.name+=Ye;break}default:this.currentAttr.name+=String.fromCodePoint(cr(ee)?Nr(ee):ee)}}_stateAfterAttributeName(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.SOLIDUS:{this.state=wt.SELF_CLOSING_START_TAG;break}case Se.EQUALS_SIGN:{this.state=wt.BEFORE_ATTRIBUTE_VALUE;break}case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentTagToken();break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=wt.ATTRIBUTE_NAME,this._stateAttributeName(ee)}}_stateBeforeAttributeValue(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.QUOTATION_MARK:{this.state=wt.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{this.state=wt.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingAttributeValue),this.state=wt.DATA,this.emitCurrentTagToken();break}default:this.state=wt.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(ee)}}_stateAttributeValueDoubleQuoted(ee){switch(ee){case Se.QUOTATION_MARK:{this.state=wt.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Se.AMPERSAND:{this._startCharacterReference();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(ee)}}_stateAttributeValueSingleQuoted(ee){switch(ee){case Se.APOSTROPHE:{this.state=wt.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Se.AMPERSAND:{this._startCharacterReference();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(ee)}}_stateAttributeValueUnquoted(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this._leaveAttrValue(),this.state=wt.BEFORE_ATTRIBUTE_NAME;break}case Se.AMPERSAND:{this._startCharacterReference();break}case Se.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=wt.DATA,this.emitCurrentTagToken();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.currentAttr.value+=Ye;break}case Se.QUOTATION_MARK:case Se.APOSTROPHE:case Se.LESS_THAN_SIGN:case Se.EQUALS_SIGN:case Se.GRAVE_ACCENT:{this._err(ft.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(ee);break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(ee)}}_stateAfterAttributeValueQuoted(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this._leaveAttrValue(),this.state=wt.BEFORE_ATTRIBUTE_NAME;break}case Se.SOLIDUS:{this._leaveAttrValue(),this.state=wt.SELF_CLOSING_START_TAG;break}case Se.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=wt.DATA,this.emitCurrentTagToken();break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this._err(ft.missingWhitespaceBetweenAttributes),this.state=wt.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(ee)}}_stateSelfClosingStartTag(ee){switch(ee){case Se.GREATER_THAN_SIGN:{const Ne=this.currentToken;Ne.selfClosing=!0,this.state=wt.DATA,this.emitCurrentTagToken();break}case Se.EOF:{this._err(ft.eofInTag),this._emitEOFToken();break}default:this._err(ft.unexpectedSolidusInTag),this.state=wt.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(ee)}}_stateBogusComment(ee){const Ne=this.currentToken;switch(ee){case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentComment(Ne);break}case Se.EOF:{this.emitCurrentComment(Ne),this._emitEOFToken();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.data+=Ye;break}default:Ne.data+=String.fromCodePoint(ee)}}_stateMarkupDeclarationOpen(ee){this._consumeSequenceIfMatch(Qt.DASH_DASH,!0)?(this._createCommentToken(Qt.DASH_DASH.length+1),this.state=wt.COMMENT_START):this._consumeSequenceIfMatch(Qt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Qt.DOCTYPE.length+1),this.state=wt.DOCTYPE):this._consumeSequenceIfMatch(Qt.CDATA_START,!0)?this.inForeignNode?this.state=wt.CDATA_SECTION:(this._err(ft.cdataInHtmlContent),this._createCommentToken(Qt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=wt.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ft.incorrectlyOpenedComment),this._createCommentToken(2),this.state=wt.BOGUS_COMMENT,this._stateBogusComment(ee))}_stateCommentStart(ee){switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.COMMENT_START_DASH;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptClosingOfEmptyComment),this.state=wt.DATA;const Ne=this.currentToken;this.emitCurrentComment(Ne);break}default:this.state=wt.COMMENT,this._stateComment(ee)}}_stateCommentStartDash(ee){const Ne=this.currentToken;switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.COMMENT_END;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptClosingOfEmptyComment),this.state=wt.DATA,this.emitCurrentComment(Ne);break}case Se.EOF:{this._err(ft.eofInComment),this.emitCurrentComment(Ne),this._emitEOFToken();break}default:Ne.data+="-",this.state=wt.COMMENT,this._stateComment(ee)}}_stateComment(ee){const Ne=this.currentToken;switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.COMMENT_END_DASH;break}case Se.LESS_THAN_SIGN:{Ne.data+="<",this.state=wt.COMMENT_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.data+=Ye;break}case Se.EOF:{this._err(ft.eofInComment),this.emitCurrentComment(Ne),this._emitEOFToken();break}default:Ne.data+=String.fromCodePoint(ee)}}_stateCommentLessThanSign(ee){const Ne=this.currentToken;switch(ee){case Se.EXCLAMATION_MARK:{Ne.data+="!",this.state=wt.COMMENT_LESS_THAN_SIGN_BANG;break}case Se.LESS_THAN_SIGN:{Ne.data+="<";break}default:this.state=wt.COMMENT,this._stateComment(ee)}}_stateCommentLessThanSignBang(ee){ee===Se.HYPHEN_MINUS?this.state=wt.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=wt.COMMENT,this._stateComment(ee))}_stateCommentLessThanSignBangDash(ee){ee===Se.HYPHEN_MINUS?this.state=wt.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=wt.COMMENT_END_DASH,this._stateCommentEndDash(ee))}_stateCommentLessThanSignBangDashDash(ee){ee!==Se.GREATER_THAN_SIGN&&ee!==Se.EOF&&this._err(ft.nestedComment),this.state=wt.COMMENT_END,this._stateCommentEnd(ee)}_stateCommentEndDash(ee){const Ne=this.currentToken;switch(ee){case Se.HYPHEN_MINUS:{this.state=wt.COMMENT_END;break}case Se.EOF:{this._err(ft.eofInComment),this.emitCurrentComment(Ne),this._emitEOFToken();break}default:Ne.data+="-",this.state=wt.COMMENT,this._stateComment(ee)}}_stateCommentEnd(ee){const Ne=this.currentToken;switch(ee){case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentComment(Ne);break}case Se.EXCLAMATION_MARK:{this.state=wt.COMMENT_END_BANG;break}case Se.HYPHEN_MINUS:{Ne.data+="-";break}case Se.EOF:{this._err(ft.eofInComment),this.emitCurrentComment(Ne),this._emitEOFToken();break}default:Ne.data+="--",this.state=wt.COMMENT,this._stateComment(ee)}}_stateCommentEndBang(ee){const Ne=this.currentToken;switch(ee){case Se.HYPHEN_MINUS:{Ne.data+="--!",this.state=wt.COMMENT_END_DASH;break}case Se.GREATER_THAN_SIGN:{this._err(ft.incorrectlyClosedComment),this.state=wt.DATA,this.emitCurrentComment(Ne);break}case Se.EOF:{this._err(ft.eofInComment),this.emitCurrentComment(Ne),this._emitEOFToken();break}default:Ne.data+="--!",this.state=wt.COMMENT,this._stateComment(ee)}}_stateDoctype(ee){switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.BEFORE_DOCTYPE_NAME;break}case Se.GREATER_THAN_SIGN:{this.state=wt.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(ee);break}case Se.EOF:{this._err(ft.eofInDoctype),this._createDoctypeToken(null);const Ne=this.currentToken;Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingWhitespaceBeforeDoctypeName),this.state=wt.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(ee)}}_stateBeforeDoctypeName(ee){if(cr(ee))this._createDoctypeToken(String.fromCharCode(Nr(ee))),this.state=wt.DOCTYPE_NAME;else switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._createDoctypeToken(Ye),this.state=wt.DOCTYPE_NAME;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingDoctypeName),this._createDoctypeToken(null);const Ne=this.currentToken;Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),this._createDoctypeToken(null);const Ne=this.currentToken;Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(ee)),this.state=wt.DOCTYPE_NAME}}_stateDoctypeName(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.AFTER_DOCTYPE_NAME;break}case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.name+=Ye;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:Ne.name+=String.fromCodePoint(cr(ee)?Nr(ee):ee)}}_stateAfterDoctypeName(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Qt.PUBLIC,!1)?this.state=wt.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Qt.SYSTEM,!1)?this.state=wt.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ft.invalidCharacterSequenceAfterDoctypeName),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee))}}_stateAfterDoctypePublicKeyword(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Se.QUOTATION_MARK:{this._err(ft.missingWhitespaceAfterDoctypePublicKeyword),Ne.publicId="",this.state=wt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{this._err(ft.missingWhitespaceAfterDoctypePublicKeyword),Ne.publicId="",this.state=wt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingDoctypePublicIdentifier),Ne.forceQuirks=!0,this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypePublicIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateBeforeDoctypePublicIdentifier(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.QUOTATION_MARK:{Ne.publicId="",this.state=wt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{Ne.publicId="",this.state=wt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingDoctypePublicIdentifier),Ne.forceQuirks=!0,this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypePublicIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateDoctypePublicIdentifierDoubleQuoted(ee){const Ne=this.currentToken;switch(ee){case Se.QUOTATION_MARK:{this.state=wt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.publicId+=Ye;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptDoctypePublicIdentifier),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:Ne.publicId+=String.fromCodePoint(ee)}}_stateDoctypePublicIdentifierSingleQuoted(ee){const Ne=this.currentToken;switch(ee){case Se.APOSTROPHE:{this.state=wt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.publicId+=Ye;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptDoctypePublicIdentifier),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:Ne.publicId+=String.fromCodePoint(ee)}}_stateAfterDoctypePublicIdentifier(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Se.GREATER_THAN_SIGN:{this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.QUOTATION_MARK:{this._err(ft.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{this._err(ft.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateBetweenDoctypePublicAndSystemIdentifiers(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.QUOTATION_MARK:{Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateAfterDoctypeSystemKeyword(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:{this.state=wt.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Se.QUOTATION_MARK:{this._err(ft.missingWhitespaceAfterDoctypeSystemKeyword),Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{this._err(ft.missingWhitespaceAfterDoctypeSystemKeyword),Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateBeforeDoctypeSystemIdentifier(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.QUOTATION_MARK:{Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Se.APOSTROPHE:{Ne.systemId="",this.state=wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Se.GREATER_THAN_SIGN:{this._err(ft.missingDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.DATA,this.emitCurrentDoctype(Ne);break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.missingQuoteBeforeDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateDoctypeSystemIdentifierDoubleQuoted(ee){const Ne=this.currentToken;switch(ee){case Se.QUOTATION_MARK:{this.state=wt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.systemId+=Ye;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:Ne.systemId+=String.fromCodePoint(ee)}}_stateDoctypeSystemIdentifierSingleQuoted(ee){const Ne=this.currentToken;switch(ee){case Se.APOSTROPHE:{this.state=wt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),Ne.systemId+=Ye;break}case Se.GREATER_THAN_SIGN:{this._err(ft.abruptDoctypeSystemIdentifier),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:Ne.systemId+=String.fromCodePoint(ee)}}_stateAfterDoctypeSystemIdentifier(ee){const Ne=this.currentToken;switch(ee){case Se.SPACE:case Se.LINE_FEED:case Se.TABULATION:case Se.FORM_FEED:break;case Se.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofInDoctype),Ne.forceQuirks=!0,this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:this._err(ft.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=wt.BOGUS_DOCTYPE,this._stateBogusDoctype(ee)}}_stateBogusDoctype(ee){const Ne=this.currentToken;switch(ee){case Se.GREATER_THAN_SIGN:{this.emitCurrentDoctype(Ne),this.state=wt.DATA;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter);break}case Se.EOF:{this.emitCurrentDoctype(Ne),this._emitEOFToken();break}default:}}_stateCdataSection(ee){switch(ee){case Se.RIGHT_SQUARE_BRACKET:{this.state=wt.CDATA_SECTION_BRACKET;break}case Se.EOF:{this._err(ft.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateCdataSectionBracket(ee){ee===Se.RIGHT_SQUARE_BRACKET?this.state=wt.CDATA_SECTION_END:(this._emitChars("]"),this.state=wt.CDATA_SECTION,this._stateCdataSection(ee))}_stateCdataSectionEnd(ee){switch(ee){case Se.GREATER_THAN_SIGN:{this.state=wt.DATA;break}case Se.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=wt.CDATA_SECTION,this._stateCdataSection(ee)}}_stateCharacterReference(){let ee=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(ee<0)if(this.preprocessor.lastChunkWritten)ee=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}ee===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Se.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&br(this.preprocessor.peek(1))?wt.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(ee){br(ee)?this._flushCodePointConsumedAsCharacterReference(ee):(ee===Se.SEMICOLON&&this._err(ft.unknownNamedCharacterReference),this.state=this.returnState,this._callState(ee))}}const Hr=new Set([de.DD,de.DT,de.LI,de.OPTGROUP,de.OPTION,de.P,de.RB,de.RP,de.RT,de.RTC]),pa=new Set([...Hr,de.CAPTION,de.COLGROUP,de.TBODY,de.TD,de.TFOOT,de.TH,de.THEAD,de.TR]),ea=new Set([de.APPLET,de.CAPTION,de.HTML,de.MARQUEE,de.OBJECT,de.TABLE,de.TD,de.TEMPLATE,de.TH]),jn=new Set([...ea,de.OL,de.UL]),sr=new Set([...ea,de.BUTTON]),Kr=new Set([de.ANNOTATION_XML,de.MI,de.MN,de.MO,de.MS,de.MTEXT]),zr=new Set([de.DESC,de.FOREIGN_OBJECT,de.TITLE]),ve=new Set([de.TR,de.TEMPLATE,de.HTML]),Ie=new Set([de.TBODY,de.TFOOT,de.THEAD,de.TEMPLATE,de.HTML]),ut=new Set([de.TABLE,de.TEMPLATE,de.HTML]),Le=new Set([de.TD,de.TH]);class He{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(ee,Ne,Ot){this.treeAdapter=Ne,this.handler=Ot,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=de.UNKNOWN,this.current=ee}_indexOf(ee){return this.items.lastIndexOf(ee,this.stackTop)}_isInTemplate(){return this.currentTagId===de.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ft.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(ee,Ne){this.stackTop++,this.items[this.stackTop]=ee,this.current=ee,this.tagIDs[this.stackTop]=Ne,this.currentTagId=Ne,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(ee,Ne,!0)}pop(){const ee=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!0)}replace(ee,Ne){const Ot=this._indexOf(ee);this.items[Ot]=Ne,Ot===this.stackTop&&(this.current=Ne)}insertAfter(ee,Ne,Ot){const Rn=this._indexOf(ee)+1;this.items.splice(Rn,0,Ne),this.tagIDs.splice(Rn,0,Ot),this.stackTop++,Rn===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Rn===this.stackTop)}popUntilTagNamePopped(ee){let Ne=this.stackTop+1;do Ne=this.tagIDs.lastIndexOf(ee,Ne-1);while(Ne>0&&this.treeAdapter.getNamespaceURI(this.items[Ne])!==Ft.HTML);this.shortenToLength(Math.max(Ne,0))}shortenToLength(ee){for(;this.stackTop>=ee;){const Ne=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(Ne,this.stackTop<ee)}}popUntilElementPopped(ee){const Ne=this._indexOf(ee);this.shortenToLength(Math.max(Ne,0))}popUntilPopped(ee,Ne){const Ot=this._indexOfTagNames(ee,Ne);this.shortenToLength(Math.max(Ot,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(yr,Ft.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Le,Ft.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(ee,Ne){for(let Ot=this.stackTop;Ot>=0;Ot--)if(ee.has(this.tagIDs[Ot])&&this.treeAdapter.getNamespaceURI(this.items[Ot])===Ne)return Ot;return-1}clearBackTo(ee,Ne){const Ot=this._indexOfTagNames(ee,Ne);this.shortenToLength(Ot+1)}clearBackToTableContext(){this.clearBackTo(ut,Ft.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Ie,Ft.HTML)}clearBackToTableRowContext(){this.clearBackTo(ve,Ft.HTML)}remove(ee){const Ne=this._indexOf(ee);Ne>=0&&(Ne===this.stackTop?this.pop():(this.items.splice(Ne,1),this.tagIDs.splice(Ne,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===de.BODY?this.items[1]:null}contains(ee){return this._indexOf(ee)>-1}getCommonAncestor(ee){const Ne=this._indexOf(ee)-1;return Ne>=0?this.items[Ne]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===de.HTML}hasInDynamicScope(ee,Ne){for(let Ot=this.stackTop;Ot>=0;Ot--){const Rn=this.tagIDs[Ot];switch(this.treeAdapter.getNamespaceURI(this.items[Ot])){case Ft.HTML:{if(Rn===ee)return!0;if(Ne.has(Rn))return!1;break}case Ft.SVG:{if(zr.has(Rn))return!1;break}case Ft.MATHML:{if(Kr.has(Rn))return!1;break}}}return!0}hasInScope(ee){return this.hasInDynamicScope(ee,ea)}hasInListItemScope(ee){return this.hasInDynamicScope(ee,jn)}hasInButtonScope(ee){return this.hasInDynamicScope(ee,sr)}hasNumberedHeaderInScope(){for(let ee=this.stackTop;ee>=0;ee--){const Ne=this.tagIDs[ee];switch(this.treeAdapter.getNamespaceURI(this.items[ee])){case Ft.HTML:{if(yr.has(Ne))return!0;if(ea.has(Ne))return!1;break}case Ft.SVG:{if(zr.has(Ne))return!1;break}case Ft.MATHML:{if(Kr.has(Ne))return!1;break}}}return!0}hasInTableScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===Ft.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let ee=this.stackTop;ee>=0;ee--)if(this.treeAdapter.getNamespaceURI(this.items[ee])===Ft.HTML)switch(this.tagIDs[ee]){case de.TBODY:case de.THEAD:case de.TFOOT:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasInSelectScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===Ft.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.OPTION:case de.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&pa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(ee){for(;this.currentTagId!==void 0&&this.currentTagId!==ee&&pa.has(this.currentTagId);)this.pop()}}const Vt=3;var et;(function(x){x[x.Marker=0]="Marker",x[x.Element=1]="Element"})(et||(et={}));const en={type:et.Marker};class cn{constructor(ee){this.treeAdapter=ee,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(ee,Ne){const Ot=[],Rn=Ne.length,fr=this.treeAdapter.getTagName(ee),Mr=this.treeAdapter.getNamespaceURI(ee);for(let hn=0;hn<this.entries.length;hn++){const wa=this.entries[hn];if(wa.type===et.Marker)break;const{element:hi}=wa;if(this.treeAdapter.getTagName(hi)===fr&&this.treeAdapter.getNamespaceURI(hi)===Mr){const Bn=this.treeAdapter.getAttrList(hi);Bn.length===Rn&&Ot.push({idx:hn,attrs:Bn})}}return Ot}_ensureNoahArkCondition(ee){if(this.entries.length<Vt)return;const Ne=this.treeAdapter.getAttrList(ee),Ot=this._getNoahArkConditionCandidates(ee,Ne);if(Ot.length<Vt)return;const Rn=new Map(Ne.map(Mr=>[Mr.name,Mr.value]));let fr=0;for(let Mr=0;Mr<Ot.length;Mr++){const hn=Ot[Mr];hn.attrs.every(wa=>Rn.get(wa.name)===wa.value)&&(fr+=1,fr>=Vt&&this.entries.splice(hn.idx,1))}}insertMarker(){this.entries.unshift(en)}pushElement(ee,Ne){this._ensureNoahArkCondition(ee),this.entries.unshift({type:et.Element,element:ee,token:Ne})}insertElementAfterBookmark(ee,Ne){const Ot=this.entries.indexOf(this.bookmark);this.entries.splice(Ot,0,{type:et.Element,element:ee,token:Ne})}removeEntry(ee){const Ne=this.entries.indexOf(ee);Ne!==-1&&this.entries.splice(Ne,1)}clearToLastMarker(){const ee=this.entries.indexOf(en);ee===-1?this.entries.length=0:this.entries.splice(0,ee+1)}getElementEntryInScopeWithTagName(ee){const Ne=this.entries.find(Ot=>Ot.type===et.Marker||this.treeAdapter.getTagName(Ot.element)===ee);return Ne&&Ne.type===et.Element?Ne:null}getElementEntry(ee){return this.entries.find(Ne=>Ne.type===et.Element&&Ne.element===ee)}}const Xt={createDocument(){return{nodeName:"#document",mode:Ct.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(x,ee,Ne){return{nodeName:x,tagName:x,attrs:Ne,namespaceURI:ee,childNodes:[],parentNode:null}},createCommentNode(x){return{nodeName:"#comment",data:x,parentNode:null}},createTextNode(x){return{nodeName:"#text",value:x,parentNode:null}},appendChild(x,ee){x.childNodes.push(ee),ee.parentNode=x},insertBefore(x,ee,Ne){const Ot=x.childNodes.indexOf(Ne);x.childNodes.splice(Ot,0,ee),ee.parentNode=x},setTemplateContent(x,ee){x.content=ee},getTemplateContent(x){return x.content},setDocumentType(x,ee,Ne,Ot){const Rn=x.childNodes.find(fr=>fr.nodeName==="#documentType");if(Rn)Rn.name=ee,Rn.publicId=Ne,Rn.systemId=Ot;else{const fr={nodeName:"#documentType",name:ee,publicId:Ne,systemId:Ot,parentNode:null};Xt.appendChild(x,fr)}},setDocumentMode(x,ee){x.mode=ee},getDocumentMode(x){return x.mode},detachNode(x){if(x.parentNode){const ee=x.parentNode.childNodes.indexOf(x);x.parentNode.childNodes.splice(ee,1),x.parentNode=null}},insertText(x,ee){if(x.childNodes.length>0){const Ne=x.childNodes[x.childNodes.length-1];if(Xt.isTextNode(Ne)){Ne.value+=ee;return}}Xt.appendChild(x,Xt.createTextNode(ee))},insertTextBefore(x,ee,Ne){const Ot=x.childNodes[x.childNodes.indexOf(Ne)-1];Ot&&Xt.isTextNode(Ot)?Ot.value+=ee:Xt.insertBefore(x,Xt.createTextNode(ee),Ne)},adoptAttributes(x,ee){const Ne=new Set(x.attrs.map(Ot=>Ot.name));for(let Ot=0;Ot<ee.length;Ot++)Ne.has(ee[Ot].name)||x.attrs.push(ee[Ot])},getFirstChild(x){return x.childNodes[0]},getChildNodes(x){return x.childNodes},getParentNode(x){return x.parentNode},getAttrList(x){return x.attrs},getTagName(x){return x.tagName},getNamespaceURI(x){return x.namespaceURI},getTextNodeContent(x){return x.value},getCommentNodeContent(x){return x.data},getDocumentTypeNodeName(x){return x.name},getDocumentTypeNodePublicId(x){return x.publicId},getDocumentTypeNodeSystemId(x){return x.systemId},isTextNode(x){return x.nodeName==="#text"},isCommentNode(x){return x.nodeName==="#comment"},isDocumentTypeNode(x){return x.nodeName==="#documentType"},isElementNode(x){return Object.prototype.hasOwnProperty.call(x,"tagName")},setNodeSourceCodeLocation(x,ee){x.sourceCodeLocation=ee},getNodeSourceCodeLocation(x){return x.sourceCodeLocation},updateNodeSourceCodeLocation(x,ee){x.sourceCodeLocation=qa(qa({},x.sourceCodeLocation),ee)}},an="html",Kt="about:legacy-compat",nn="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",rt=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Jn=[...rt,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Bt=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),rr=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Pr=[...rr,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Sn(x,ee){return ee.some(Ne=>x.startsWith(Ne))}function rn(x){return x.name===an&&x.publicId===null&&(x.systemId===null||x.systemId===Kt)}function Cn(x){if(x.name!==an)return Ct.QUIRKS;const{systemId:ee}=x;if(ee&&ee.toLowerCase()===nn)return Ct.QUIRKS;let{publicId:Ne}=x;if(Ne!==null){if(Ne=Ne.toLowerCase(),Bt.has(Ne))return Ct.QUIRKS;let Ot=ee===null?Jn:rt;if(Sn(Ne,Ot))return Ct.QUIRKS;if(Ot=ee===null?rr:Pr,Sn(Ne,Ot))return Ct.LIMITED_QUIRKS}return Ct.NO_QUIRKS}const Pn={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zn="definitionurl",tr="definitionURL",wr=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(x=>[x.toLowerCase(),x])),pr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ft.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ft.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ft.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ft.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ft.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ft.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ft.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ft.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ft.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ft.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ft.XMLNS}]]),Zn=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(x=>[x.toLowerCase(),x])),Kn=new Set([de.B,de.BIG,de.BLOCKQUOTE,de.BODY,de.BR,de.CENTER,de.CODE,de.DD,de.DIV,de.DL,de.DT,de.EM,de.EMBED,de.H1,de.H2,de.H3,de.H4,de.H5,de.H6,de.HEAD,de.HR,de.I,de.IMG,de.LI,de.LISTING,de.MENU,de.META,de.NOBR,de.OL,de.P,de.PRE,de.RUBY,de.S,de.SMALL,de.SPAN,de.STRONG,de.STRIKE,de.SUB,de.SUP,de.TABLE,de.TT,de.U,de.UL,de.VAR]);function gr(x){const ee=x.tagID;return ee===de.FONT&&x.attrs.some(({name:Ot})=>Ot===vn.COLOR||Ot===vn.SIZE||Ot===vn.FACE)||Kn.has(ee)}function dr(x){for(let ee=0;ee<x.attrs.length;ee++)if(x.attrs[ee].name===zn){x.attrs[ee].name=tr;break}}function Yr(x){for(let ee=0;ee<x.attrs.length;ee++){const Ne=wr.get(x.attrs[ee].name);Ne!=null&&(x.attrs[ee].name=Ne)}}function Wr(x){for(let ee=0;ee<x.attrs.length;ee++){const Ne=pr.get(x.attrs[ee].name);Ne&&(x.attrs[ee].prefix=Ne.prefix,x.attrs[ee].name=Ne.name,x.attrs[ee].namespace=Ne.namespace)}}function Zr(x){const ee=Zn.get(x.tagName);ee!=null&&(x.tagName=ee,x.tagID=Dn(x.tagName))}function Qr(x,ee){return ee===Ft.MATHML&&(x===de.MI||x===de.MO||x===de.MN||x===de.MS||x===de.MTEXT)}function ca(x,ee,Ne){if(ee===Ft.MATHML&&x===de.ANNOTATION_XML){for(let Ot=0;Ot<Ne.length;Ot++)if(Ne[Ot].name===vn.ENCODING){const Rn=Ne[Ot].value.toLowerCase();return Rn===Pn.TEXT_HTML||Rn===Pn.APPLICATION_XML}}return ee===Ft.SVG&&(x===de.FOREIGN_OBJECT||x===de.DESC||x===de.TITLE)}function Xr(x,ee,Ne,Ot){return(!Ot||Ot===Ft.HTML)&&ca(x,ee,Ne)||(!Ot||Ot===Ft.MATHML)&&Qr(x,ee)}const la="hidden",_r=8,oa=3;var _t;(function(x){x[x.INITIAL=0]="INITIAL",x[x.BEFORE_HTML=1]="BEFORE_HTML",x[x.BEFORE_HEAD=2]="BEFORE_HEAD",x[x.IN_HEAD=3]="IN_HEAD",x[x.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",x[x.AFTER_HEAD=5]="AFTER_HEAD",x[x.IN_BODY=6]="IN_BODY",x[x.TEXT=7]="TEXT",x[x.IN_TABLE=8]="IN_TABLE",x[x.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",x[x.IN_CAPTION=10]="IN_CAPTION",x[x.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",x[x.IN_TABLE_BODY=12]="IN_TABLE_BODY",x[x.IN_ROW=13]="IN_ROW",x[x.IN_CELL=14]="IN_CELL",x[x.IN_SELECT=15]="IN_SELECT",x[x.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",x[x.IN_TEMPLATE=17]="IN_TEMPLATE",x[x.AFTER_BODY=18]="AFTER_BODY",x[x.IN_FRAMESET=19]="IN_FRAMESET",x[x.AFTER_FRAMESET=20]="AFTER_FRAMESET",x[x.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",x[x.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(_t||(_t={}));const Ea={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ia=new Set([de.TABLE,de.TBODY,de.TFOOT,de.THEAD,de.TR]),ra={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Xt,onParseError:null};class fa{constructor(ee,Ne,Ot=null,Rn=null){this.fragmentContext=Ot,this.scriptHandler=Rn,this.currentToken=null,this.stopped=!1,this.insertionMode=_t.INITIAL,this.originalInsertionMode=_t.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=qa(qa({},ra),ee),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=Ne!=null?Ne:this.treeAdapter.createDocument(),this.tokenizer=new aa(this.options,this),this.activeFormattingElements=new cn(this.treeAdapter),this.fragmentContextID=Ot?Dn(this.treeAdapter.getTagName(Ot)):de.UNKNOWN,this._setContextModes(Ot!=null?Ot:this.document,this.fragmentContextID),this.openElements=new He(this.document,this.treeAdapter,this)}static parse(ee,Ne){const Ot=new this(Ne);return Ot.tokenizer.write(ee,!0),Ot.document}static getFragmentParser(ee,Ne){const Ot=qa(qa({},ra),Ne);ee!=null||(ee=Ot.treeAdapter.createElement(pt.TEMPLATE,Ft.HTML,[]));const Rn=Ot.treeAdapter.createElement("documentmock",Ft.HTML,[]),fr=new this(Ot,Rn,ee);return fr.fragmentContextID===de.TEMPLATE&&fr.tmplInsertionModeStack.unshift(_t.IN_TEMPLATE),fr._initTokenizerForFragmentParsing(),fr._insertFakeRootElement(),fr._resetInsertionMode(),fr._findFormInFragmentContext(),fr}getFragment(){const ee=this.treeAdapter.getFirstChild(this.document),Ne=this.treeAdapter.createDocumentFragment();return this._adoptNodes(ee,Ne),Ne}_err(ee,Ne,Ot){var Rn;if(!this.onParseError)return;const fr=(Rn=ee.location)!==null&&Rn!==void 0?Rn:Ea,Mr={code:Ne,startLine:fr.startLine,startCol:fr.startCol,startOffset:fr.startOffset,endLine:Ot?fr.startLine:fr.endLine,endCol:Ot?fr.startCol:fr.endCol,endOffset:Ot?fr.startOffset:fr.endOffset};this.onParseError(Mr)}onItemPush(ee,Ne,Ot){var Rn,fr;(fr=(Rn=this.treeAdapter).onItemPush)===null||fr===void 0||fr.call(Rn,ee),Ot&&this.openElements.stackTop>0&&this._setContextModes(ee,Ne)}onItemPop(ee,Ne){var Ot,Rn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(ee,this.currentToken),(Rn=(Ot=this.treeAdapter).onItemPop)===null||Rn===void 0||Rn.call(Ot,ee,this.openElements.current),Ne){let fr,Mr;this.openElements.stackTop===0&&this.fragmentContext?(fr=this.fragmentContext,Mr=this.fragmentContextID):{current:fr,currentTagId:Mr}=this.openElements,this._setContextModes(fr,Mr)}}_setContextModes(ee,Ne){const Ot=ee===this.document||ee&&this.treeAdapter.getNamespaceURI(ee)===Ft.HTML;this.currentNotInHTML=!Ot,this.tokenizer.inForeignNode=!Ot&&ee!==void 0&&Ne!==void 0&&!this._isIntegrationPoint(Ne,ee)}_switchToTextParsing(ee,Ne){this._insertElement(ee,Ft.HTML),this.tokenizer.state=Ne,this.originalInsertionMode=this.insertionMode,this.insertionMode=_t.TEXT}switchToPlaintextParsing(){this.insertionMode=_t.TEXT,this.originalInsertionMode=_t.IN_BODY,this.tokenizer.state=Qn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let ee=this.fragmentContext;for(;ee;){if(this.treeAdapter.getTagName(ee)===pt.FORM){this.formElement=ee;break}ee=this.treeAdapter.getParentNode(ee)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ft.HTML))switch(this.fragmentContextID){case de.TITLE:case de.TEXTAREA:{this.tokenizer.state=Qn.RCDATA;break}case de.STYLE:case de.XMP:case de.IFRAME:case de.NOEMBED:case de.NOFRAMES:case de.NOSCRIPT:{this.tokenizer.state=Qn.RAWTEXT;break}case de.SCRIPT:{this.tokenizer.state=Qn.SCRIPT_DATA;break}case de.PLAINTEXT:{this.tokenizer.state=Qn.PLAINTEXT;break}default:}}_setDocumentType(ee){const Ne=ee.name||"",Ot=ee.publicId||"",Rn=ee.systemId||"";if(this.treeAdapter.setDocumentType(this.document,Ne,Ot,Rn),ee.location){const Mr=this.treeAdapter.getChildNodes(this.document).find(hn=>this.treeAdapter.isDocumentTypeNode(hn));Mr&&this.treeAdapter.setNodeSourceCodeLocation(Mr,ee.location)}}_attachElementToTree(ee,Ne){if(this.options.sourceCodeLocationInfo){const Ot=Ne&&Ol(qa({},Ne),{startTag:Ne});this.treeAdapter.setNodeSourceCodeLocation(ee,Ot)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(ee);else{const Ot=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Ot!=null?Ot:this.document,ee)}}_appendElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location)}_insertElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location),this.openElements.push(Ot,ee.tagID)}_insertFakeElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee,Ft.HTML,[]);this._attachElementToTree(Ot,null),this.openElements.push(Ot,Ne)}_insertTemplate(ee){const Ne=this.treeAdapter.createElement(ee.tagName,Ft.HTML,ee.attrs),Ot=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Ne,Ot),this._attachElementToTree(Ne,ee.location),this.openElements.push(Ne,ee.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,null)}_insertFakeRootElement(){const ee=this.treeAdapter.createElement(pt.HTML,Ft.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ee,null),this.treeAdapter.appendChild(this.openElements.current,ee),this.openElements.push(ee,de.HTML)}_appendCommentNode(ee,Ne){const Ot=this.treeAdapter.createCommentNode(ee.data);this.treeAdapter.appendChild(Ne,Ot),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,ee.location)}_insertCharacters(ee){let Ne,Ot;if(this._shouldFosterParentOnInsertion()?({parent:Ne,beforeElement:Ot}=this._findFosterParentingLocation(),Ot?this.treeAdapter.insertTextBefore(Ne,ee.chars,Ot):this.treeAdapter.insertText(Ne,ee.chars)):(Ne=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Ne,ee.chars)),!ee.location)return;const Rn=this.treeAdapter.getChildNodes(Ne),fr=Ot?Rn.lastIndexOf(Ot):Rn.length,Mr=Rn[fr-1];if(this.treeAdapter.getNodeSourceCodeLocation(Mr)){const{endLine:wa,endCol:hi,endOffset:Bn}=ee.location;this.treeAdapter.updateNodeSourceCodeLocation(Mr,{endLine:wa,endCol:hi,endOffset:Bn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Mr,ee.location)}_adoptNodes(ee,Ne){for(let Ot=this.treeAdapter.getFirstChild(ee);Ot;Ot=this.treeAdapter.getFirstChild(ee))this.treeAdapter.detachNode(Ot),this.treeAdapter.appendChild(Ne,Ot)}_setEndLocation(ee,Ne){if(this.treeAdapter.getNodeSourceCodeLocation(ee)&&Ne.location){const Ot=Ne.location,Rn=this.treeAdapter.getTagName(ee),fr=Ne.type===gn.END_TAG&&Rn===Ne.tagName?{endTag:qa({},Ot),endLine:Ot.endLine,endCol:Ot.endCol,endOffset:Ot.endOffset}:{endLine:Ot.startLine,endCol:Ot.startCol,endOffset:Ot.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(ee,fr)}}shouldProcessStartTagTokenInForeignContent(ee){if(!this.currentNotInHTML)return!1;let Ne,Ot;return this.openElements.stackTop===0&&this.fragmentContext?(Ne=this.fragmentContext,Ot=this.fragmentContextID):{current:Ne,currentTagId:Ot}=this.openElements,ee.tagID===de.SVG&&this.treeAdapter.getTagName(Ne)===pt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(Ne)===Ft.MATHML?!1:this.tokenizer.inForeignNode||(ee.tagID===de.MGLYPH||ee.tagID===de.MALIGNMARK)&&Ot!==void 0&&!this._isIntegrationPoint(Ot,Ne,Ft.HTML)}_processToken(ee){switch(ee.type){case gn.CHARACTER:{this.onCharacter(ee);break}case gn.NULL_CHARACTER:{this.onNullCharacter(ee);break}case gn.COMMENT:{this.onComment(ee);break}case gn.DOCTYPE:{this.onDoctype(ee);break}case gn.START_TAG:{this._processStartTag(ee);break}case gn.END_TAG:{this.onEndTag(ee);break}case gn.EOF:{this.onEof(ee);break}case gn.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(ee);break}}}_isIntegrationPoint(ee,Ne,Ot){const Rn=this.treeAdapter.getNamespaceURI(Ne),fr=this.treeAdapter.getAttrList(Ne);return Xr(ee,Rn,fr,Ot)}_reconstructActiveFormattingElements(){const ee=this.activeFormattingElements.entries.length;if(ee){const Ne=this.activeFormattingElements.entries.findIndex(Rn=>Rn.type===et.Marker||this.openElements.contains(Rn.element)),Ot=Ne===-1?ee-1:Ne-1;for(let Rn=Ot;Rn>=0;Rn--){const fr=this.activeFormattingElements.entries[Rn];this._insertElement(fr.token,this.treeAdapter.getNamespaceURI(fr.element)),fr.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_t.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(de.P),this.openElements.popUntilTagNamePopped(de.P)}_resetInsertionMode(){for(let ee=this.openElements.stackTop;ee>=0;ee--)switch(ee===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[ee]){case de.TR:{this.insertionMode=_t.IN_ROW;return}case de.TBODY:case de.THEAD:case de.TFOOT:{this.insertionMode=_t.IN_TABLE_BODY;return}case de.CAPTION:{this.insertionMode=_t.IN_CAPTION;return}case de.COLGROUP:{this.insertionMode=_t.IN_COLUMN_GROUP;return}case de.TABLE:{this.insertionMode=_t.IN_TABLE;return}case de.BODY:{this.insertionMode=_t.IN_BODY;return}case de.FRAMESET:{this.insertionMode=_t.IN_FRAMESET;return}case de.SELECT:{this._resetInsertionModeForSelect(ee);return}case de.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case de.HTML:{this.insertionMode=this.headElement?_t.AFTER_HEAD:_t.BEFORE_HEAD;return}case de.TD:case de.TH:{if(ee>0){this.insertionMode=_t.IN_CELL;return}break}case de.HEAD:{if(ee>0){this.insertionMode=_t.IN_HEAD;return}break}}this.insertionMode=_t.IN_BODY}_resetInsertionModeForSelect(ee){if(ee>0)for(let Ne=ee-1;Ne>0;Ne--){const Ot=this.openElements.tagIDs[Ne];if(Ot===de.TEMPLATE)break;if(Ot===de.TABLE){this.insertionMode=_t.IN_SELECT_IN_TABLE;return}}this.insertionMode=_t.IN_SELECT}_isElementCausesFosterParenting(ee){return ia.has(ee)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let ee=this.openElements.stackTop;ee>=0;ee--){const Ne=this.openElements.items[ee];switch(this.openElements.tagIDs[ee]){case de.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(Ne)===Ft.HTML)return{parent:this.treeAdapter.getTemplateContent(Ne),beforeElement:null};break}case de.TABLE:{const Ot=this.treeAdapter.getParentNode(Ne);return Ot?{parent:Ot,beforeElement:Ne}:{parent:this.openElements.items[ee-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(ee){const Ne=this._findFosterParentingLocation();Ne.beforeElement?this.treeAdapter.insertBefore(Ne.parent,ee,Ne.beforeElement):this.treeAdapter.appendChild(Ne.parent,ee)}_isSpecialElement(ee,Ne){const Ot=this.treeAdapter.getNamespaceURI(ee);return vr[Ot].has(Ne)}onCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){il(this,ee);return}switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.IN_BODY:case _t.IN_CAPTION:case _t.IN_CELL:case _t.IN_TEMPLATE:{Va(this,ee);break}case _t.TEXT:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:{this._insertCharacters(ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_TABLE_TEXT:{Xo(this,ee);break}case _t.IN_COLUMN_GROUP:{Ro(this,ee);break}case _t.AFTER_BODY:{Es(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onNullCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xs(this,ee);return}switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.TEXT:{this._insertCharacters(ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_COLUMN_GROUP:{Ro(this,ee);break}case _t.AFTER_BODY:{Es(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onComment(ee){if(this.skipNextNewLine=!1,this.currentNotInHTML){er(this,ee);return}switch(this.insertionMode){case _t.INITIAL:case _t.BEFORE_HTML:case _t.BEFORE_HEAD:case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:case _t.IN_BODY:case _t.IN_TABLE:case _t.IN_CAPTION:case _t.IN_COLUMN_GROUP:case _t.IN_TABLE_BODY:case _t.IN_ROW:case _t.IN_CELL:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:case _t.IN_TEMPLATE:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:{er(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.AFTER_BODY:{Dr(this,ee);break}case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{Ar(this,ee);break}default:}}onDoctype(ee){switch(this.skipNextNewLine=!1,this.insertionMode){case _t.INITIAL:{nr(this,ee);break}case _t.BEFORE_HEAD:case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:{this._err(ee,ft.misplacedDoctype);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}default:}}onStartTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this._processStartTag(ee),ee.selfClosing&&!ee.ackSelfClosing&&this._err(ee,ft.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(ee){this.shouldProcessStartTagTokenInForeignContent(ee)?js(this,ee):this._startTagOutsideForeignContent(ee)}_startTagOutsideForeignContent(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{Or(this,ee);break}case _t.BEFORE_HEAD:{ya(this,ee);break}case _t.IN_HEAD:{Na(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{Gr(this,ee);break}case _t.AFTER_HEAD:{Pa(this,ee);break}case _t.IN_BODY:{Hi(this,ee);break}case _t.IN_TABLE:{go(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_CAPTION:{_s(this,ee);break}case _t.IN_COLUMN_GROUP:{So(this,ee);break}case _t.IN_TABLE_BODY:{Oo(this,ee);break}case _t.IN_ROW:{Rs(this,ee);break}case _t.IN_CELL:{gs(this,ee);break}case _t.IN_SELECT:{nl(this,ee);break}case _t.IN_SELECT_IN_TABLE:{Os(this,ee);break}case _t.IN_TEMPLATE:{fl(this,ee);break}case _t.AFTER_BODY:{bs(this,ee);break}case _t.IN_FRAMESET:{os(this,ee);break}case _t.AFTER_FRAMESET:{pl(this,ee);break}case _t.AFTER_AFTER_BODY:{ks(this,ee);break}case _t.AFTER_AFTER_FRAMESET:{jo(this,ee);break}default:}}onEndTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this.currentNotInHTML?jt(this,ee):this._endTagOutsideForeignContent(ee)}_endTagOutsideForeignContent(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{ba(this,ee);break}case _t.BEFORE_HEAD:{Ma(this,ee);break}case _t.IN_HEAD:{Ha(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{bi(this,ee);break}case _t.AFTER_HEAD:{li(this,ee);break}case _t.IN_BODY:{Yo(this,ee);break}case _t.TEXT:{tl(this,ee);break}case _t.IN_TABLE:{Wi(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_CAPTION:{Ho(this,ee);break}case _t.IN_COLUMN_GROUP:{Ki(this,ee);break}case _t.IN_TABLE_BODY:{lo(this,ee);break}case _t.IN_ROW:{Us(this,ee);break}case _t.IN_CELL:{kl(this,ee);break}case _t.IN_SELECT:{zs(this,ee);break}case _t.IN_SELECT_IN_TABLE:{vs(this,ee);break}case _t.IN_TEMPLATE:{rl(this,ee);break}case _t.AFTER_BODY:{ys(this,ee);break}case _t.IN_FRAMESET:{Hs(this,ee);break}case _t.AFTER_FRAMESET:{_l(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onEof(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.IN_BODY:case _t.IN_TABLE:case _t.IN_CAPTION:case _t.IN_COLUMN_GROUP:case _t.IN_TABLE_BODY:case _t.IN_ROW:case _t.IN_CELL:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:{zo(this,ee);break}case _t.TEXT:{as(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_TEMPLATE:{al(this,ee);break}case _t.AFTER_BODY:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{ur(this,ee);break}default:}}onWhitespaceCharacter(ee){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,ee.chars.charCodeAt(0)===Se.LINE_FEED)){if(ee.chars.length===1)return;ee.chars=ee.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(ee);return}switch(this.insertionMode){case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:case _t.TEXT:case _t.IN_COLUMN_GROUP:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:{this._insertCharacters(ee);break}case _t.IN_BODY:case _t.IN_CAPTION:case _t.IN_CELL:case _t.IN_TEMPLATE:case _t.AFTER_BODY:case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{Ni(this,ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_TABLE_TEXT:{Eo(this,ee);break}default:}}}function ha(x,ee){let Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(ee.tagName);return Ne?x.openElements.contains(Ne.element)?x.openElements.hasInScope(ee.tagID)||(Ne=null):(x.activeFormattingElements.removeEntry(Ne),Ne=null):Ns(x,ee),Ne}function Br(x,ee){let Ne=null,Ot=x.openElements.stackTop;for(;Ot>=0;Ot--){const Rn=x.openElements.items[Ot];if(Rn===ee.element)break;x._isSpecialElement(Rn,x.openElements.tagIDs[Ot])&&(Ne=Rn)}return Ne||(x.openElements.shortenToLength(Math.max(Ot,0)),x.activeFormattingElements.removeEntry(ee)),Ne}function Gn(x,ee,Ne){let Ot=ee,Rn=x.openElements.getCommonAncestor(ee);for(let fr=0,Mr=Rn;Mr!==Ne;fr++,Mr=Rn){Rn=x.openElements.getCommonAncestor(Mr);const hn=x.activeFormattingElements.getElementEntry(Mr),wa=hn&&fr>=oa;!hn||wa?(wa&&x.activeFormattingElements.removeEntry(hn),x.openElements.remove(Mr)):(Mr=Vr(x,hn),Ot===ee&&(x.activeFormattingElements.bookmark=hn),x.treeAdapter.detachNode(Ot),x.treeAdapter.appendChild(Mr,Ot),Ot=Mr)}return Ot}function Vr(x,ee){const Ne=x.treeAdapter.getNamespaceURI(ee.element),Ot=x.treeAdapter.createElement(ee.token.tagName,Ne,ee.token.attrs);return x.openElements.replace(ee.element,Ot),ee.element=Ot,Ot}function qn(x,ee,Ne){const Ot=x.treeAdapter.getTagName(ee),Rn=Dn(Ot);if(x._isElementCausesFosterParenting(Rn))x._fosterParentElement(Ne);else{const fr=x.treeAdapter.getNamespaceURI(ee);Rn===de.TEMPLATE&&fr===Ft.HTML&&(ee=x.treeAdapter.getTemplateContent(ee)),x.treeAdapter.appendChild(ee,Ne)}}function hr(x,ee,Ne){const Ot=x.treeAdapter.getNamespaceURI(Ne.element),{token:Rn}=Ne,fr=x.treeAdapter.createElement(Rn.tagName,Ot,Rn.attrs);x._adoptNodes(ee,fr),x.treeAdapter.appendChild(ee,fr),x.activeFormattingElements.insertElementAfterBookmark(fr,Rn),x.activeFormattingElements.removeEntry(Ne),x.openElements.remove(Ne.element),x.openElements.insertAfter(ee,fr,Rn.tagID)}function or(x,ee){for(let Ne=0;Ne<_r;Ne++){const Ot=ha(x,ee);if(!Ot)break;const Rn=Br(x,Ot);if(!Rn)break;x.activeFormattingElements.bookmark=Ot;const fr=Gn(x,Rn,Ot.element),Mr=x.openElements.getCommonAncestor(Ot.element);x.treeAdapter.detachNode(fr),Mr&&qn(x,Mr,fr),hr(x,Rn,Ot)}}function er(x,ee){x._appendCommentNode(ee,x.openElements.currentTmplContentOrNode)}function Dr(x,ee){x._appendCommentNode(ee,x.openElements.items[0])}function Ar(x,ee){x._appendCommentNode(ee,x.document)}function ur(x,ee){if(x.stopped=!0,ee.location){const Ne=x.fragmentContext?0:2;for(let Ot=x.openElements.stackTop;Ot>=Ne;Ot--)x._setEndLocation(x.openElements.items[Ot],ee);if(!x.fragmentContext&&x.openElements.stackTop>=0){const Ot=x.openElements.items[0],Rn=x.treeAdapter.getNodeSourceCodeLocation(Ot);if(Rn&&!Rn.endTag&&(x._setEndLocation(Ot,ee),x.openElements.stackTop>=1)){const fr=x.openElements.items[1],Mr=x.treeAdapter.getNodeSourceCodeLocation(fr);Mr&&!Mr.endTag&&x._setEndLocation(fr,ee)}}}}function nr(x,ee){x._setDocumentType(ee);const Ne=ee.forceQuirks?Ct.QUIRKS:Cn(ee);rn(ee)||x._err(ee,ft.nonConformingDoctype),x.treeAdapter.setDocumentMode(x.document,Ne),x.insertionMode=_t.BEFORE_HTML}function xr(x,ee){x._err(ee,ft.missingDoctype,!0),x.treeAdapter.setDocumentMode(x.document,Ct.QUIRKS),x.insertionMode=_t.BEFORE_HTML,x._processToken(ee)}function Or(x,ee){ee.tagID===de.HTML?(x._insertElement(ee,Ft.HTML),x.insertionMode=_t.BEFORE_HEAD):da(x,ee)}function ba(x,ee){const Ne=ee.tagID;(Ne===de.HTML||Ne===de.HEAD||Ne===de.BODY||Ne===de.BR)&&da(x,ee)}function da(x,ee){x._insertFakeRootElement(),x.insertionMode=_t.BEFORE_HEAD,x._processToken(ee)}function ya(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.HEAD:{x._insertElement(ee,Ft.HTML),x.headElement=x.openElements.current,x.insertionMode=_t.IN_HEAD;break}default:_a(x,ee)}}function Ma(x,ee){const Ne=ee.tagID;Ne===de.HEAD||Ne===de.BODY||Ne===de.HTML||Ne===de.BR?_a(x,ee):x._err(ee,ft.endTagWithoutMatchingOpenElement)}function _a(x,ee){x._insertFakeElement(pt.HEAD,de.HEAD),x.headElement=x.openElements.current,x.insertionMode=_t.IN_HEAD,x._processToken(ee)}function Na(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:{x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.TITLE:{x._switchToTextParsing(ee,Qn.RCDATA);break}case de.NOSCRIPT:{x.options.scriptingEnabled?x._switchToTextParsing(ee,Qn.RAWTEXT):(x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_HEAD_NO_SCRIPT);break}case de.NOFRAMES:case de.STYLE:{x._switchToTextParsing(ee,Qn.RAWTEXT);break}case de.SCRIPT:{x._switchToTextParsing(ee,Qn.SCRIPT_DATA);break}case de.TEMPLATE:{x._insertTemplate(ee),x.activeFormattingElements.insertMarker(),x.framesetOk=!1,x.insertionMode=_t.IN_TEMPLATE,x.tmplInsertionModeStack.unshift(_t.IN_TEMPLATE);break}case de.HEAD:{x._err(ee,ft.misplacedStartTagForHeadElement);break}default:ja(x,ee)}}function Ha(x,ee){switch(ee.tagID){case de.HEAD:{x.openElements.pop(),x.insertionMode=_t.AFTER_HEAD;break}case de.BODY:case de.BR:case de.HTML:{ja(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function Da(x,ee){x.openElements.tmplCount>0?(x.openElements.generateImpliedEndTagsThoroughly(),x.openElements.currentTagId!==de.TEMPLATE&&x._err(ee,ft.closingOfElementWithOpenChildElements),x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode()):x._err(ee,ft.endTagWithoutMatchingOpenElement)}function ja(x,ee){x.openElements.pop(),x.insertionMode=_t.AFTER_HEAD,x._processToken(ee)}function Gr(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASEFONT:case de.BGSOUND:case de.HEAD:case de.LINK:case de.META:case de.NOFRAMES:case de.STYLE:{Na(x,ee);break}case de.NOSCRIPT:{x._err(ee,ft.nestedNoscriptInHead);break}default:wi(x,ee)}}function bi(x,ee){switch(ee.tagID){case de.NOSCRIPT:{x.openElements.pop(),x.insertionMode=_t.IN_HEAD;break}case de.BR:{wi(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function wi(x,ee){const Ne=ee.type===gn.EOF?ft.openElementsLeftAfterEof:ft.disallowedContentInNoscriptInHead;x._err(ee,Ne),x.openElements.pop(),x.insertionMode=_t.IN_HEAD,x._processToken(ee)}function Pa(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BODY:{x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=_t.IN_BODY;break}case de.FRAMESET:{x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_FRAMESET;break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{x._err(ee,ft.abandonedHeadElementChild),x.openElements.push(x.headElement,de.HEAD),Na(x,ee),x.openElements.remove(x.headElement);break}case de.HEAD:{x._err(ee,ft.misplacedStartTagForHeadElement);break}default:fi(x,ee)}}function li(x,ee){switch(ee.tagID){case de.BODY:case de.HTML:case de.BR:{fi(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function fi(x,ee){x._insertFakeElement(pt.BODY,de.BODY),x.insertionMode=_t.IN_BODY,Ua(x,ee)}function Ua(x,ee){switch(ee.type){case gn.CHARACTER:{Va(x,ee);break}case gn.WHITESPACE_CHARACTER:{Ni(x,ee);break}case gn.COMMENT:{er(x,ee);break}case gn.START_TAG:{Hi(x,ee);break}case gn.END_TAG:{Yo(x,ee);break}case gn.EOF:{zo(x,ee);break}default:}}function Ni(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee)}function Va(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee),x.framesetOk=!1}function Aa(x,ee){x.openElements.tmplCount===0&&x.treeAdapter.adoptAttributes(x.openElements.items[0],ee.attrs)}function $a(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x.openElements.tmplCount===0&&(x.framesetOk=!1,x.treeAdapter.adoptAttributes(Ne,ee.attrs))}function Ja(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();x.framesetOk&&Ne&&(x.treeAdapter.detachNode(Ne),x.openElements.popAllUpToHtmlElement(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_FRAMESET)}function Ba(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML)}function Xa(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x.openElements.currentTagId!==void 0&&yr.has(x.openElements.currentTagId)&&x.openElements.pop(),x._insertElement(ee,Ft.HTML)}function ma(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.skipNextNewLine=!0,x.framesetOk=!1}function xi(x,ee){const Ne=x.openElements.tmplCount>0;(!x.formElement||Ne)&&(x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),Ne||(x.formElement=x.openElements.current))}function Bi(x,ee){x.framesetOk=!1;const Ne=ee.tagID;for(let Ot=x.openElements.stackTop;Ot>=0;Ot--){const Rn=x.openElements.tagIDs[Ot];if(Ne===de.LI&&Rn===de.LI||(Ne===de.DD||Ne===de.DT)&&(Rn===de.DD||Rn===de.DT)){x.openElements.generateImpliedEndTagsWithExclusion(Rn),x.openElements.popUntilTagNamePopped(Rn);break}if(Rn!==de.ADDRESS&&Rn!==de.DIV&&Rn!==de.P&&x._isSpecialElement(x.openElements.items[Ot],Rn))break}x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML)}function Fi(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.tokenizer.state=Qn.PLAINTEXT}function Rr(x,ee){x.openElements.hasInScope(de.BUTTON)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(de.BUTTON)),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1}function Ti(x,ee){const Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(pt.A);Ne&&(or(x,ee),x.openElements.remove(Ne.element),x.activeFormattingElements.removeEntry(Ne)),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function qi(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Ra(x,ee){x._reconstructActiveFormattingElements(),x.openElements.hasInScope(de.NOBR)&&(or(x,ee),x._reconstructActiveFormattingElements()),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Ka(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.insertMarker(),x.framesetOk=!1}function Ca(x,ee){x.treeAdapter.getDocumentMode(x.document)!==Ct.QUIRKS&&x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=_t.IN_TABLE}function za(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,Ft.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function ri(x){const ee=un(x,vn.TYPE);return ee!=null&&ee.toLowerCase()===la}function ii(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,Ft.HTML),ri(ee)||(x.framesetOk=!1),ee.ackSelfClosing=!0}function ci(x,ee){x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0}function ki(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._appendElement(ee,Ft.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function ti(x,ee){ee.tagName=pt.IMG,ee.tagID=de.IMG,za(x,ee)}function zi(x,ee){x._insertElement(ee,Ft.HTML),x.skipNextNewLine=!0,x.tokenizer.state=Qn.RCDATA,x.originalInsertionMode=x.insertionMode,x.framesetOk=!1,x.insertionMode=_t.TEXT}function yo(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._reconstructActiveFormattingElements(),x.framesetOk=!1,x._switchToTextParsing(ee,Qn.RAWTEXT)}function No(x,ee){x.framesetOk=!1,x._switchToTextParsing(ee,Qn.RAWTEXT)}function so(x,ee){x._switchToTextParsing(ee,Qn.RAWTEXT)}function Ji(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=x.insertionMode===_t.IN_TABLE||x.insertionMode===_t.IN_CAPTION||x.insertionMode===_t.IN_TABLE_BODY||x.insertionMode===_t.IN_ROW||x.insertionMode===_t.IN_CELL?_t.IN_SELECT_IN_TABLE:_t.IN_SELECT}function Uo(x,ee){x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML)}function Co(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTags(),x._insertElement(ee,Ft.HTML)}function Ts(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTagsWithExclusion(de.RTC),x._insertElement(ee,Ft.HTML)}function dl(x,ee){x._reconstructActiveFormattingElements(),dr(ee),Wr(ee),ee.selfClosing?x._appendElement(ee,Ft.MATHML):x._insertElement(ee,Ft.MATHML),ee.ackSelfClosing=!0}function Js(x,ee){x._reconstructActiveFormattingElements(),Yr(ee),Wr(ee),ee.selfClosing?x._appendElement(ee,Ft.SVG):x._insertElement(ee,Ft.SVG),ee.ackSelfClosing=!0}function mo(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML)}function Hi(x,ee){switch(ee.tagID){case de.I:case de.S:case de.B:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.SMALL:case de.STRIKE:case de.STRONG:{qi(x,ee);break}case de.A:{Ti(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{Xa(x,ee);break}case de.P:case de.DL:case de.OL:case de.UL:case de.DIV:case de.DIR:case de.NAV:case de.MAIN:case de.MENU:case de.ASIDE:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.DETAILS:case de.ADDRESS:case de.ARTICLE:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{Ba(x,ee);break}case de.LI:case de.DD:case de.DT:{Bi(x,ee);break}case de.BR:case de.IMG:case de.WBR:case de.AREA:case de.EMBED:case de.KEYGEN:{za(x,ee);break}case de.HR:{ki(x,ee);break}case de.RB:case de.RTC:{Co(x,ee);break}case de.RT:case de.RP:{Ts(x,ee);break}case de.PRE:case de.LISTING:{ma(x,ee);break}case de.XMP:{yo(x,ee);break}case de.SVG:{Js(x,ee);break}case de.HTML:{Aa(x,ee);break}case de.BASE:case de.LINK:case de.META:case de.STYLE:case de.TITLE:case de.SCRIPT:case de.BGSOUND:case de.BASEFONT:case de.TEMPLATE:{Na(x,ee);break}case de.BODY:{$a(x,ee);break}case de.FORM:{xi(x,ee);break}case de.NOBR:{Ra(x,ee);break}case de.MATH:{dl(x,ee);break}case de.TABLE:{Ca(x,ee);break}case de.INPUT:{ii(x,ee);break}case de.PARAM:case de.TRACK:case de.SOURCE:{ci(x,ee);break}case de.IMAGE:{ti(x,ee);break}case de.BUTTON:{Rr(x,ee);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{Ka(x,ee);break}case de.IFRAME:{No(x,ee);break}case de.SELECT:{Ji(x,ee);break}case de.OPTION:case de.OPTGROUP:{Uo(x,ee);break}case de.NOEMBED:case de.NOFRAMES:{so(x,ee);break}case de.FRAMESET:{Ja(x,ee);break}case de.TEXTAREA:{zi(x,ee);break}case de.NOSCRIPT:{x.options.scriptingEnabled?so(x,ee):mo(x,ee);break}case de.PLAINTEXT:{Fi(x,ee);break}case de.COL:case de.TH:case de.TD:case de.TR:case de.HEAD:case de.FRAME:case de.TBODY:case de.TFOOT:case de.THEAD:case de.CAPTION:case de.COLGROUP:break;default:mo(x,ee)}}function wo(x,ee){if(x.openElements.hasInScope(de.BODY)&&(x.insertionMode=_t.AFTER_BODY,x.options.sourceCodeLocationInfo)){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x._setEndLocation(Ne,ee)}}function ps(x,ee){x.openElements.hasInScope(de.BODY)&&(x.insertionMode=_t.AFTER_BODY,ys(x,ee))}function el(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne))}function ai(x){const ee=x.openElements.tmplCount>0,{formElement:Ne}=x;ee||(x.formElement=null),(Ne||ee)&&x.openElements.hasInScope(de.FORM)&&(x.openElements.generateImpliedEndTags(),ee?x.openElements.popUntilTagNamePopped(de.FORM):Ne&&x.openElements.remove(Ne))}function hs(x){x.openElements.hasInButtonScope(de.P)||x._insertFakeElement(pt.P,de.P),x._closePElement()}function As(x){x.openElements.hasInListItemScope(de.LI)&&(x.openElements.generateImpliedEndTagsWithExclusion(de.LI),x.openElements.popUntilTagNamePopped(de.LI))}function ns(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTagsWithExclusion(Ne),x.openElements.popUntilTagNamePopped(Ne))}function Is(x){x.openElements.hasNumberedHeaderInScope()&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilNumberedHeaderPopped())}function ms(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne),x.activeFormattingElements.clearToLastMarker())}function rs(x){x._reconstructActiveFormattingElements(),x._insertFakeElement(pt.BR,de.BR),x.openElements.pop(),x.framesetOk=!1}function Ns(x,ee){const Ne=ee.tagName,Ot=ee.tagID;for(let Rn=x.openElements.stackTop;Rn>0;Rn--){const fr=x.openElements.items[Rn],Mr=x.openElements.tagIDs[Rn];if(Ot===Mr&&(Ot!==de.UNKNOWN||x.treeAdapter.getTagName(fr)===Ne)){x.openElements.generateImpliedEndTagsWithExclusion(Ot),x.openElements.stackTop>=Rn&&x.openElements.shortenToLength(Rn);break}if(x._isSpecialElement(fr,Mr))break}}function Yo(x,ee){switch(ee.tagID){case de.A:case de.B:case de.I:case de.S:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.NOBR:case de.SMALL:case de.STRIKE:case de.STRONG:{or(x,ee);break}case de.P:{hs(x);break}case de.DL:case de.UL:case de.OL:case de.DIR:case de.DIV:case de.NAV:case de.PRE:case de.MAIN:case de.MENU:case de.ASIDE:case de.BUTTON:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.ADDRESS:case de.ARTICLE:case de.DETAILS:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.LISTING:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{el(x,ee);break}case de.LI:{As(x);break}case de.DD:case de.DT:{ns(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{Is(x);break}case de.BR:{rs(x);break}case de.BODY:{wo(x,ee);break}case de.HTML:{ps(x,ee);break}case de.FORM:{ai(x);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{ms(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:Ns(x,ee)}}function zo(x,ee){x.tmplInsertionModeStack.length>0?al(x,ee):ur(x,ee)}function tl(x,ee){var Ne;ee.tagID===de.SCRIPT&&((Ne=x.scriptHandler)===null||Ne===void 0||Ne.call(x,x.openElements.current)),x.openElements.pop(),x.insertionMode=x.originalInsertionMode}function as(x,ee){x._err(ee,ft.eofInElementThatCanContainOnlyText),x.openElements.pop(),x.insertionMode=x.originalInsertionMode,x.onEof(ee)}function Xi(x,ee){if(x.openElements.currentTagId!==void 0&&ia.has(x.openElements.currentTagId))switch(x.pendingCharacterTokens.length=0,x.hasNonWhitespacePendingCharacterToken=!1,x.originalInsertionMode=x.insertionMode,x.insertionMode=_t.IN_TABLE_TEXT,ee.type){case gn.CHARACTER:{Xo(x,ee);break}case gn.WHITESPACE_CHARACTER:{Eo(x,ee);break}}else $i(x,ee)}function mi(x,ee){x.openElements.clearBackToTableContext(),x.activeFormattingElements.insertMarker(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_CAPTION}function ei(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_COLUMN_GROUP}function eo(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(pt.COLGROUP,de.COLGROUP),x.insertionMode=_t.IN_COLUMN_GROUP,So(x,ee)}function to(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_TABLE_BODY}function ji(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(pt.TBODY,de.TBODY),x.insertionMode=_t.IN_TABLE_BODY,Oo(x,ee)}function _i(x,ee){x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode(),x._processStartTag(ee))}function vo(x,ee){ri(ee)?x._appendElement(ee,Ft.HTML):$i(x,ee),ee.ackSelfClosing=!0}function To(x,ee){!x.formElement&&x.openElements.tmplCount===0&&(x._insertElement(ee,Ft.HTML),x.formElement=x.openElements.current,x.openElements.pop())}function go(x,ee){switch(ee.tagID){case de.TD:case de.TH:case de.TR:{ji(x,ee);break}case de.STYLE:case de.SCRIPT:case de.TEMPLATE:{Na(x,ee);break}case de.COL:{eo(x,ee);break}case de.FORM:{To(x,ee);break}case de.TABLE:{_i(x,ee);break}case de.TBODY:case de.TFOOT:case de.THEAD:{to(x,ee);break}case de.INPUT:{vo(x,ee);break}case de.CAPTION:{mi(x,ee);break}case de.COLGROUP:{ei(x,ee);break}default:$i(x,ee)}}function Wi(x,ee){switch(ee.tagID){case de.TABLE:{x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode());break}case de.TEMPLATE:{Da(x,ee);break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:case de.TBODY:case de.TD:case de.TFOOT:case de.TH:case de.THEAD:case de.TR:break;default:$i(x,ee)}}function $i(x,ee){const Ne=x.fosterParentingEnabled;x.fosterParentingEnabled=!0,Ua(x,ee),x.fosterParentingEnabled=Ne}function Eo(x,ee){x.pendingCharacterTokens.push(ee)}function Xo(x,ee){x.pendingCharacterTokens.push(ee),x.hasNonWhitespacePendingCharacterToken=!0}function is(x,ee){let Ne=0;if(x.hasNonWhitespacePendingCharacterToken)for(;Ne<x.pendingCharacterTokens.length;Ne++)$i(x,x.pendingCharacterTokens[Ne]);else for(;Ne<x.pendingCharacterTokens.length;Ne++)x._insertCharacters(x.pendingCharacterTokens[Ne]);x.insertionMode=x.originalInsertionMode,x._processToken(ee)}const Fs=new Set([de.CAPTION,de.COL,de.COLGROUP,de.TBODY,de.TD,de.TFOOT,de.TH,de.THEAD,de.TR]);function _s(x,ee){const Ne=ee.tagID;Fs.has(Ne)?x.openElements.hasInTableScope(de.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(de.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=_t.IN_TABLE,go(x,ee)):Hi(x,ee)}function Ho(x,ee){const Ne=ee.tagID;switch(Ne){case de.CAPTION:case de.TABLE:{x.openElements.hasInTableScope(de.CAPTION)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(de.CAPTION),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=_t.IN_TABLE,Ne===de.TABLE&&Wi(x,ee));break}case de.BODY:case de.COL:case de.COLGROUP:case de.HTML:case de.TBODY:case de.TD:case de.TFOOT:case de.TH:case de.THEAD:case de.TR:break;default:Yo(x,ee)}}function So(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.COL:{x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.TEMPLATE:{Na(x,ee);break}default:Ro(x,ee)}}function Ki(x,ee){switch(ee.tagID){case de.COLGROUP:{x.openElements.currentTagId===de.COLGROUP&&(x.openElements.pop(),x.insertionMode=_t.IN_TABLE);break}case de.TEMPLATE:{Da(x,ee);break}case de.COL:break;default:Ro(x,ee)}}function Ro(x,ee){x.openElements.currentTagId===de.COLGROUP&&(x.openElements.pop(),x.insertionMode=_t.IN_TABLE,x._processToken(ee))}function Oo(x,ee){switch(ee.tagID){case de.TR:{x.openElements.clearBackToTableBodyContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_ROW;break}case de.TH:case de.TD:{x.openElements.clearBackToTableBodyContext(),x._insertFakeElement(pt.TR,de.TR),x.insertionMode=_t.IN_ROW,Rs(x,ee);break}case de.CAPTION:case de.COL:case de.COLGROUP:case de.TBODY:case de.TFOOT:case de.THEAD:{x.openElements.hasTableBodyContextInTableScope()&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE,go(x,ee));break}default:go(x,ee)}}function lo(x,ee){const Ne=ee.tagID;switch(ee.tagID){case de.TBODY:case de.TFOOT:case de.THEAD:{x.openElements.hasInTableScope(Ne)&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE);break}case de.TABLE:{x.openElements.hasTableBodyContextInTableScope()&&(x.openElements.clearBackToTableBodyContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE,Wi(x,ee));break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:case de.TD:case de.TH:case de.TR:break;default:Wi(x,ee)}}function Rs(x,ee){switch(ee.tagID){case de.TH:case de.TD:{x.openElements.clearBackToTableRowContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_CELL,x.activeFormattingElements.insertMarker();break}case de.CAPTION:case de.COL:case de.COLGROUP:case de.TBODY:case de.TFOOT:case de.THEAD:case de.TR:{x.openElements.hasInTableScope(de.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE_BODY,Oo(x,ee));break}default:go(x,ee)}}function Us(x,ee){switch(ee.tagID){case de.TR:{x.openElements.hasInTableScope(de.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE_BODY);break}case de.TABLE:{x.openElements.hasInTableScope(de.TR)&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE_BODY,lo(x,ee));break}case de.TBODY:case de.TFOOT:case de.THEAD:{(x.openElements.hasInTableScope(ee.tagID)||x.openElements.hasInTableScope(de.TR))&&(x.openElements.clearBackToTableRowContext(),x.openElements.pop(),x.insertionMode=_t.IN_TABLE_BODY,lo(x,ee));break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:case de.TD:case de.TH:break;default:Wi(x,ee)}}function gs(x,ee){const Ne=ee.tagID;Fs.has(Ne)?(x.openElements.hasInTableScope(de.TD)||x.openElements.hasInTableScope(de.TH))&&(x._closeTableCell(),Rs(x,ee)):Hi(x,ee)}function kl(x,ee){const Ne=ee.tagID;switch(Ne){case de.TD:case de.TH:{x.openElements.hasInTableScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne),x.activeFormattingElements.clearToLastMarker(),x.insertionMode=_t.IN_ROW);break}case de.TABLE:case de.TBODY:case de.TFOOT:case de.THEAD:case de.TR:{x.openElements.hasInTableScope(Ne)&&(x._closeTableCell(),Us(x,ee));break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:break;default:Yo(x,ee)}}function nl(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.OPTION:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x._insertElement(ee,Ft.HTML);break}case de.OPTGROUP:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x.openElements.currentTagId===de.OPTGROUP&&x.openElements.pop(),x._insertElement(ee,Ft.HTML);break}case de.HR:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x.openElements.currentTagId===de.OPTGROUP&&x.openElements.pop(),x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.INPUT:case de.KEYGEN:case de.TEXTAREA:case de.SELECT:{x.openElements.hasInSelectScope(de.SELECT)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),ee.tagID!==de.SELECT&&x._processStartTag(ee));break}case de.SCRIPT:case de.TEMPLATE:{Na(x,ee);break}default:}}function zs(x,ee){switch(ee.tagID){case de.OPTGROUP:{x.openElements.stackTop>0&&x.openElements.currentTagId===de.OPTION&&x.openElements.tagIDs[x.openElements.stackTop-1]===de.OPTGROUP&&x.openElements.pop(),x.openElements.currentTagId===de.OPTGROUP&&x.openElements.pop();break}case de.OPTION:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop();break}case de.SELECT:{x.openElements.hasInSelectScope(de.SELECT)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode());break}case de.TEMPLATE:{Da(x,ee);break}default:}}function Os(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x._processStartTag(ee)):nl(x,ee)}function vs(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?x.openElements.hasInTableScope(Ne)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x.onEndTag(ee)):zs(x,ee)}function fl(x,ee){switch(ee.tagID){case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{Na(x,ee);break}case de.CAPTION:case de.COLGROUP:case de.TBODY:case de.TFOOT:case de.THEAD:{x.tmplInsertionModeStack[0]=_t.IN_TABLE,x.insertionMode=_t.IN_TABLE,go(x,ee);break}case de.COL:{x.tmplInsertionModeStack[0]=_t.IN_COLUMN_GROUP,x.insertionMode=_t.IN_COLUMN_GROUP,So(x,ee);break}case de.TR:{x.tmplInsertionModeStack[0]=_t.IN_TABLE_BODY,x.insertionMode=_t.IN_TABLE_BODY,Oo(x,ee);break}case de.TD:case de.TH:{x.tmplInsertionModeStack[0]=_t.IN_ROW,x.insertionMode=_t.IN_ROW,Rs(x,ee);break}default:x.tmplInsertionModeStack[0]=_t.IN_BODY,x.insertionMode=_t.IN_BODY,Hi(x,ee)}}function rl(x,ee){ee.tagID===de.TEMPLATE&&Da(x,ee)}function al(x,ee){x.openElements.tmplCount>0?(x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode(),x.onEof(ee)):ur(x,ee)}function bs(x,ee){ee.tagID===de.HTML?Hi(x,ee):Es(x,ee)}function ys(x,ee){var Ne;if(ee.tagID===de.HTML){if(x.fragmentContext||(x.insertionMode=_t.AFTER_AFTER_BODY),x.options.sourceCodeLocationInfo&&x.openElements.tagIDs[0]===de.HTML){x._setEndLocation(x.openElements.items[0],ee);const Ot=x.openElements.items[1];Ot&&!(!((Ne=x.treeAdapter.getNodeSourceCodeLocation(Ot))===null||Ne===void 0)&&Ne.endTag)&&x._setEndLocation(Ot,ee)}}else Es(x,ee)}function Es(x,ee){x.insertionMode=_t.IN_BODY,Ua(x,ee)}function os(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.FRAMESET:{x._insertElement(ee,Ft.HTML);break}case de.FRAME:{x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.NOFRAMES:{Na(x,ee);break}default:}}function Hs(x,ee){ee.tagID===de.FRAMESET&&!x.openElements.isRootHtmlElementCurrent()&&(x.openElements.pop(),!x.fragmentContext&&x.openElements.currentTagId!==de.FRAMESET&&(x.insertionMode=_t.AFTER_FRAMESET))}function pl(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function _l(x,ee){ee.tagID===de.HTML&&(x.insertionMode=_t.AFTER_AFTER_FRAMESET)}function ks(x,ee){ee.tagID===de.HTML?Hi(x,ee):Ss(x,ee)}function Ss(x,ee){x.insertionMode=_t.IN_BODY,Ua(x,ee)}function jo(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function xs(x,ee){ee.chars=Ye,x._insertCharacters(ee)}function il(x,ee){x._insertCharacters(ee),x.framesetOk=!1}function uo(x){for(;x.treeAdapter.getNamespaceURI(x.openElements.current)!==Ft.HTML&&x.openElements.currentTagId!==void 0&&!x._isIntegrationPoint(x.openElements.currentTagId,x.openElements.current);)x.openElements.pop()}function js(x,ee){if(gr(ee))uo(x),x._startTagOutsideForeignContent(ee);else{const Ne=x._getAdjustedCurrentElement(),Ot=x.treeAdapter.getNamespaceURI(Ne);Ot===Ft.MATHML?dr(ee):Ot===Ft.SVG&&(Zr(ee),Yr(ee)),Wr(ee),ee.selfClosing?x._appendElement(ee,Ot):x._insertElement(ee,Ot),ee.ackSelfClosing=!0}}function jt(x,ee){if(ee.tagID===de.P||ee.tagID===de.BR){uo(x),x._endTagOutsideForeignContent(ee);return}for(let Ne=x.openElements.stackTop;Ne>0;Ne--){const Ot=x.openElements.items[Ne];if(x.treeAdapter.getNamespaceURI(Ot)===Ft.HTML){x._endTagOutsideForeignContent(ee);break}const Rn=x.treeAdapter.getTagName(Ot);if(Rn.toLowerCase()===ee.tagName){ee.tagName=Rn,x.openElements.shortenToLength(Ne);break}}}const ao=/["$&'<>\u0080-\uFFFF]/g,Vi=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ds=String.prototype.codePointAt==null?(x,ee)=>(x.charCodeAt(ee)&64512)===55296?(x.charCodeAt(ee)-55296)*1024+x.charCodeAt(ee+1)-56320+65536:x.charCodeAt(ee):(x,ee)=>x.codePointAt(ee);function Qo(x){let ee="",Ne=0,Ot;for(;(Ot=ao.exec(x))!==null;){const{index:Rn}=Ot,fr=x.charCodeAt(Rn),Mr=Vi.get(fr);Mr===void 0?(ee+=`${x.substring(Ne,Rn)}&#x${Ds(x,Rn).toString(16)};`,Ne=ao.lastIndex+=+((fr&64512)===55296)):(ee+=x.substring(Ne,Rn)+Mr,Ne=Rn+1)}return ee+x.substr(Ne)}const ol=null;function qo(x,ee){return function(Ot){let Rn,fr=0,Mr="";for(;Rn=x.exec(Ot);)fr!==Rn.index&&(Mr+=Ot.substring(fr,Rn.index)),Mr+=ee.get(Rn[0].charCodeAt(0)),fr=Rn.index+1;return Mr+Ot.substring(fr)}}const Jo=null,sl=qo(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Go=qo(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),Ul=new Set([pt.AREA,pt.BASE,pt.BASEFONT,pt.BGSOUND,pt.BR,pt.COL,pt.EMBED,pt.FRAME,pt.HR,pt.IMG,pt.INPUT,pt.KEYGEN,pt.LINK,pt.META,pt.PARAM,pt.SOURCE,pt.TRACK,pt.WBR]);function io(x,ee){return ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML&&Ul.has(ee.treeAdapter.getTagName(x))}const ss={treeAdapter:Xt,scriptingEnabled:!0};function iu(x,ee){const Ne=qa(qa({},ss),ee);return io(x,Ne)?"":Gs(x,Ne)}function hl(x,ee){const Ne=qa(qa({},ss),ee);return Ws(x,Ne)}function Gs(x,ee){let Ne="";const Ot=ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getTagName(x)===$.TEMPLATE&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML?ee.treeAdapter.getTemplateContent(x):x,Rn=ee.treeAdapter.getChildNodes(Ot);if(Rn)for(const fr of Rn)Ne+=Ws(fr,ee);return Ne}function Ws(x,ee){return ee.treeAdapter.isElementNode(x)?zl(x,ee):ee.treeAdapter.isTextNode(x)?Ae(x,ee):ee.treeAdapter.isCommentNode(x)?ke(x,ee):ee.treeAdapter.isDocumentTypeNode(x)?Ue(x,ee):""}function zl(x,ee){const Ne=ee.treeAdapter.getTagName(x);return`<${Ne}${se(x,ee)}>${io(x,ee)?"":`${Gs(x,ee)}</${Ne}>`}`}function se(x,{treeAdapter:ee}){let Ne="";for(const Ot of ee.getAttrList(x)){if(Ne+=" ",Ot.namespace)switch(Ot.namespace){case NS.XML:{Ne+=`xml:${Ot.name}`;break}case NS.XMLNS:{Ot.name!=="xmlns"&&(Ne+="xmlns:"),Ne+=Ot.name;break}case NS.XLINK:{Ne+=`xlink:${Ot.name}`;break}default:Ne+=`${Ot.prefix}:${Ot.name}`}else Ne+=Ot.name;Ne+=`="${escapeAttribute(Ot.value)}"`}return Ne}function Ae(x,ee){const{treeAdapter:Ne}=ee,Ot=Ne.getTextNodeContent(x),Rn=Ne.getParentNode(x),fr=Rn&&Ne.isElementNode(Rn)&&Ne.getTagName(Rn);return fr&&Ne.getNamespaceURI(Rn)===NS.HTML&&hasUnescapedText(fr,ee.scriptingEnabled)?Ot:escapeText(Ot)}function ke(x,{treeAdapter:ee}){return`<!--${ee.getCommentNodeContent(x)}-->`}function Ue(x,{treeAdapter:ee}){return`<!DOCTYPE ${ee.getDocumentTypeNodeName(x)}>`}function mt(x,ee){return Parser.parse(x,ee)}function Et(x,ee,Ne){typeof x=="string"&&(Ne=ee,ee=x,x=null);const Ot=Parser.getFragmentParser(x,Ne);return Ot.tokenizer.write(ee,!0),Ot.getFragment()}var Lt=y(17970),tn=y(28470);const _n=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Mn=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),bn={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vn(x,ee){const Ne=Ii(x),Ot=_e("type",{handlers:{root:Nn,element:Ia,text:Qa,comment:pi,doctype:gi,raw:La},unknown:Ui}),Rn={parser:Ne?new fa(bn):fa.getFragmentParser(void 0,bn),handle(hn){Ot(hn,Rn)},stitches:!1,options:ee||{}};Ot(x,Rn),yi(Rn,(0,Lt.Pk)());const fr=Ne?Rn.parser.document:Rn.parser.getFragment(),Mr=Ge(fr,{file:Rn.options.file});return Rn.stitches&&(0,tn.Vn)(Mr,"comment",function(hn,wa,hi){const Bn=hn;if(Bn.value.stitch&&hi&&wa!==void 0){const no=hi.children;return no[wa]=Bn.value.stitch,wa}}),Mr.type==="root"&&Mr.children.length===1&&Mr.children[0].type===x.type?Mr.children[0]:Mr}function $n(x,ee){let Ne=-1;if(x)for(;++Ne<x.length;)ee.handle(x[Ne])}function Nn(x,ee){$n(x.children,ee)}function Ia(x,ee){Ai(x,ee),$n(x.children,ee),Ei(x,ee)}function Qa(x,ee){ee.parser.tokenizer.state>4&&(ee.parser.tokenizer.state=0);const Ne={type:gn.CHARACTER,chars:x.value,location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function gi(x,ee){const Ne={type:gn.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function va(x,ee){ee.stitches=!0;const Ne=xo(x);if("children"in x&&"children"in Ne){const Ot=Vn({type:"root",children:x.children},ee.options);Ne.children=Ot.children}pi({type:"comment",value:{stitch:Ne}},ee)}function pi(x,ee){const Ne=x.value,Ot={type:gn.COMMENT,data:Ne,location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken)}function La(x,ee){if(ee.parser.tokenizer.preprocessor.html="",ee.parser.tokenizer.preprocessor.pos=-1,ee.parser.tokenizer.preprocessor.lastGapPos=-2,ee.parser.tokenizer.preprocessor.gapStack=[],ee.parser.tokenizer.preprocessor.skipNextNewLine=!1,ee.parser.tokenizer.preprocessor.lastChunkWritten=!1,ee.parser.tokenizer.preprocessor.endOfChunkHit=!1,ee.parser.tokenizer.preprocessor.isEol=!1,ta(ee,(0,Lt.Pk)(x)),ee.parser.tokenizer.write(ee.options.tagfilter?x.value.replace(_n,"<$1$2"):x.value,!1),ee.parser.tokenizer._runParsingLoop(),ee.parser.tokenizer.state===72||ee.parser.tokenizer.state===78){ee.parser.tokenizer.preprocessor.lastChunkWritten=!0;const Ne=ee.parser.tokenizer._consume();ee.parser.tokenizer._callState(Ne)}}function Ui(x,ee){const Ne=x;if(ee.options.passThrough&&ee.options.passThrough.includes(Ne.type))va(Ne,ee);else{let Ot="";throw Mn.has(Ne.type)&&(Ot=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+Ne.type+"` node"+Ot)}}function yi(x,ee){ta(x,ee);const Ne=x.parser.tokenizer.currentCharacterToken;Ne&&Ne.location&&(Ne.location.endLine=x.parser.tokenizer.preprocessor.line,Ne.location.endCol=x.parser.tokenizer.preprocessor.col+1,Ne.location.endOffset=x.parser.tokenizer.preprocessor.offset+1,x.parser.currentToken=Ne,x.parser._processToken(x.parser.currentToken)),x.parser.tokenizer.paused=!1,x.parser.tokenizer.inLoop=!1,x.parser.tokenizer.active=!1,x.parser.tokenizer.returnState=Qn.DATA,x.parser.tokenizer.charRefCode=-1,x.parser.tokenizer.consumedAfterSnapshot=-1,x.parser.tokenizer.currentLocation=null,x.parser.tokenizer.currentCharacterToken=null,x.parser.tokenizer.currentToken=null,x.parser.tokenizer.currentAttr={name:"",value:""}}function ta(x,ee){if(ee&&ee.offset!==void 0){const Ne={startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:-1,endCol:-1,endOffset:-1};x.parser.tokenizer.preprocessor.lineStartPos=-ee.column+1,x.parser.tokenizer.preprocessor.droppedBufferSize=ee.offset,x.parser.tokenizer.preprocessor.line=ee.line,x.parser.tokenizer.currentLocation=Ne}}function Ai(x,ee){const Ne=x.tagName.toLowerCase();if(ee.parser.tokenizer.state===Qn.PLAINTEXT)return;yi(ee,(0,Lt.Pk)(x));const Ot=ee.parser.openElements.current;let Rn="namespaceURI"in Ot?Ot.namespaceURI:Oe.t.html;Rn===Oe.t.html&&Ne==="svg"&&(Rn=Oe.t.svg);const fr=it(Ol(qa({},x),{children:[]}),{space:Rn===Oe.t.svg?"svg":"html"}),Mr={type:gn.START_TAG,tagName:Ne,tagID:Dn(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in fr?fr.attrs:[],location:Ri(x)};ee.parser.currentToken=Mr,ee.parser._processToken(ee.parser.currentToken),ee.parser.tokenizer.lastStartTagName=Ne}function Ei(x,ee){const Ne=x.tagName.toLowerCase();if(!ee.parser.tokenizer.inForeignNode&&Tn.includes(Ne)||ee.parser.tokenizer.state===Qn.PLAINTEXT)return;yi(ee,(0,Lt.rb)(x));const Ot={type:gn.END_TAG,tagName:Ne,tagID:Dn(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ri(x)};ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken),Ne===ee.parser.tokenizer.lastStartTagName&&(ee.parser.tokenizer.state===Qn.RCDATA||ee.parser.tokenizer.state===Qn.RAWTEXT||ee.parser.tokenizer.state===Qn.SCRIPT_DATA)&&(ee.parser.tokenizer.state=Qn.DATA)}function Ii(x){const ee=x.type==="root"?x.children[0]:x;return!!(ee&&(ee.type==="doctype"||ee.type==="element"&&ee.tagName.toLowerCase()==="html"))}function Ri(x){const ee=(0,Lt.Pk)(x)||{line:void 0,column:void 0,offset:void 0},Ne=(0,Lt.rb)(x)||{line:void 0,column:void 0,offset:void 0};return{startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:Ne.line,endCol:Ne.column,endOffset:Ne.offset}}function xo(x){return"children"in x?(0,b.ZP)(Ol(qa({},x),{children:[]})):(0,b.ZP)(x)}function ui(x){return function(ee,Ne){return Vn(ee,Ol(qa({},x),{file:Ne}))}}},3369:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return pe}});var b=y(91614);function me(be){(0,b.n)(be,[/\r?\n|\r/g,le])}function le(){return{type:"break"}}function pe(){return function(be){me(be)}}},55468:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Je}});var b=y(87342),me=y(52509);function le(){return{enter:{mathFlow:We,mathFlowFenceMeta:Ve,mathText:_e},exit:{mathFlow:ze,mathFlowFence:Qe,mathFlowFenceMeta:Ze,mathFlowValue:nt,mathText:$e,mathTextData:nt}};function We(bt){const it={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[it]}},bt)}function Ve(){this.buffer()}function Ze(){const bt=this.resume(),it=this.stack[this.stack.length-1];(0,b.ok)(it.type==="math"),it.meta=bt}function Qe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function ze(bt){const it=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),Nt=this.stack[this.stack.length-1];(0,b.ok)(Nt.type==="math"),this.exit(bt),Nt.value=it;const vt=Nt.data.hChildren[0];(0,b.ok)(vt.type==="element"),(0,b.ok)(vt.tagName==="code"),vt.children.push({type:"text",value:it}),this.data.mathFlowInside=void 0}function _e(bt){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},bt),this.buffer()}function $e(bt){const it=this.resume(),Nt=this.stack[this.stack.length-1];(0,b.ok)(Nt.type==="inlineMath"),this.exit(bt),Nt.value=it,Nt.data.hChildren.push({type:"text",value:it})}function nt(bt){this.config.enter.data.call(this,bt),this.config.exit.data.call(this,bt)}}function pe(We){let Ve=(We||{}).singleDollarTextMath;return Ve==null&&(Ve=!0),Qe.peek=ze,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
|
`,inConstruct:"mathFlowMeta"},{character:"$",after:Ve?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:Ze,inlineMath:Qe}};function Ze(_e,$e,nt,bt){const it=_e.value||"",Nt=nt.createTracker(bt),vt="$".repeat(Math.max((0,me.J)(it,"$")+1,2)),dt=nt.enter("mathFlow");let It=Nt.move(vt);if(_e.meta){const St=nt.enter("mathFlowMeta");It+=Nt.move(nt.safe(_e.meta,qa({after:`
|
|
|
`,before:It,encode:["$"]},Nt.current()))),St()}return It+=Nt.move(`
|
|
|
`),it&&(It+=Nt.move(it+`
|
|
|
`)),It+=Nt.move(vt),dt(),It}function Qe(_e,$e,nt){let bt=_e.value||"",it=1;for(Ve||it++;new RegExp("(^|[^$])"+"\\$".repeat(it)+"([^$]|$)").test(bt);)it++;const Nt="$".repeat(it);/[^ \r\n]/.test(bt)&&(/^[ \r\n]/.test(bt)&&/[ \r\n]$/.test(bt)||/^\$|\$$/.test(bt))&&(bt=" "+bt+" ");let vt=-1;for(;++vt<nt.unsafe.length;){const dt=nt.unsafe[vt];if(!dt.atBreak)continue;const It=nt.compilePattern(dt);let St;for(;St=It.exec(bt);){let qe=St.index;bt.codePointAt(qe)===10&&bt.codePointAt(qe-1)===13&&qe--,bt=bt.slice(0,qe)+" "+bt.slice(St.index+1)}}return Nt+bt+Nt}function ze(){return"$"}}var be=y(26735),fe=y(80722);const we={tokenize:Re,concrete:!0,name:"mathFlow"},Oe={tokenize:xe,partial:!0};function Re(We,Ve,Ze){const Qe=this,ze=Qe.events[Qe.events.length-1],_e=ze&&ze[1].type==="linePrefix"?ze[2].sliceSerialize(ze[1],!0).length:0;let $e=0;return nt;function nt(Zt){return We.enter("mathFlow"),We.enter("mathFlowFence"),We.enter("mathFlowFenceSequence"),bt(Zt)}function bt(Zt){return Zt===36?(We.consume(Zt),$e++,bt):$e<2?Ze(Zt):(We.exit("mathFlowFenceSequence"),(0,be.f)(We,it,"whitespace")(Zt))}function it(Zt){return Zt===null||(0,fe.Ch)(Zt)?vt(Zt):(We.enter("mathFlowFenceMeta"),We.enter("chunkString",{contentType:"string"}),Nt(Zt))}function Nt(Zt){return Zt===null||(0,fe.Ch)(Zt)?(We.exit("chunkString"),We.exit("mathFlowFenceMeta"),vt(Zt)):Zt===36?Ze(Zt):(We.consume(Zt),Nt)}function vt(Zt){return We.exit("mathFlowFence"),Qe.interrupt?Ve(Zt):We.attempt(Oe,dt,Jt)(Zt)}function dt(Zt){return We.attempt({tokenize:Rt,partial:!0},Jt,It)(Zt)}function It(Zt){return(_e?(0,be.f)(We,St,"linePrefix",_e+1):St)(Zt)}function St(Zt){return Zt===null?Jt(Zt):(0,fe.Ch)(Zt)?We.attempt(Oe,dt,Jt)(Zt):(We.enter("mathFlowValue"),qe(Zt))}function qe(Zt){return Zt===null||(0,fe.Ch)(Zt)?(We.exit("mathFlowValue"),St(Zt)):(We.consume(Zt),qe)}function Jt(Zt){return We.exit("mathFlow"),Ve(Zt)}function Rt(Zt,Tn,Tt){let Ye=0;return(0,be.f)(Zt,Se,"linePrefix",Qe.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Se(st){return Zt.enter("mathFlowFence"),Zt.enter("mathFlowFenceSequence"),Qt(st)}function Qt(st){return st===36?(Ye++,Zt.consume(st),Qt):Ye<$e?Tt(st):(Zt.exit("mathFlowFenceSequence"),(0,be.f)(Zt,on,"whitespace")(st))}function on(st){return st===null||(0,fe.Ch)(st)?(Zt.exit("mathFlowFence"),Tn(st)):Tt(st)}}}function xe(We,Ve,Ze){const Qe=this;return ze;function ze($e){return $e===null?Ve($e):(We.enter("lineEnding"),We.consume($e),We.exit("lineEnding"),_e)}function _e($e){return Qe.parser.lazy[Qe.now().line]?Ze($e):Ve($e)}}function Ge(We){let Ze=(We||{}).singleDollarTextMath;return Ze==null&&(Ze=!0),{tokenize:Qe,resolve:Fe,previous:At,name:"mathText"};function Qe(ze,_e,$e){const nt=this;let bt=0,it,Nt;return vt;function vt(Jt){return ze.enter("mathText"),ze.enter("mathTextSequence"),dt(Jt)}function dt(Jt){return Jt===36?(ze.consume(Jt),bt++,dt):bt<2&&!Ze?$e(Jt):(ze.exit("mathTextSequence"),It(Jt))}function It(Jt){return Jt===null?$e(Jt):Jt===36?(Nt=ze.enter("mathTextSequence"),it=0,qe(Jt)):Jt===32?(ze.enter("space"),ze.consume(Jt),ze.exit("space"),It):(0,fe.Ch)(Jt)?(ze.enter("lineEnding"),ze.consume(Jt),ze.exit("lineEnding"),It):(ze.enter("mathTextData"),St(Jt))}function St(Jt){return Jt===null||Jt===32||Jt===36||(0,fe.Ch)(Jt)?(ze.exit("mathTextData"),It(Jt)):(ze.consume(Jt),St)}function qe(Jt){return Jt===36?(ze.consume(Jt),it++,qe):it===bt?(ze.exit("mathTextSequence"),ze.exit("mathText"),_e(Jt)):(Nt.type="mathTextData",St(Jt))}}}function Fe(We){let Ve=We.length-4,Ze=3,Qe,ze;if((We[Ze][1].type==="lineEnding"||We[Ze][1].type==="space")&&(We[Ve][1].type==="lineEnding"||We[Ve][1].type==="space")){for(Qe=Ze;++Qe<Ve;)if(We[Qe][1].type==="mathTextData"){We[Ve][1].type="mathTextPadding",We[Ze][1].type="mathTextPadding",Ze+=2,Ve-=2;break}}for(Qe=Ze-1,Ve++;++Qe<=Ve;)ze===void 0?Qe!==Ve&&We[Qe][1].type!=="lineEnding"&&(ze=Qe):(Qe===Ve||We[Qe][1].type==="lineEnding")&&(We[ze][1].type="mathTextData",Qe!==ze+2&&(We[ze][1].end=We[Qe-1][1].end,We.splice(ze+2,Qe-ze-2),Ve-=Qe-ze-2,Qe=ze+2),ze=void 0);return We}function At(We){return We!==36||this.events[this.events.length-1][1].type==="characterEscape"}function at(We){return{flow:{36:we},text:{36:Ge(We)}}}const tt={};function Je(We){const Ve=this,Ze=We||tt,Qe=Ve.data(),ze=Qe.micromarkExtensions||(Qe.micromarkExtensions=[]),_e=Qe.fromMarkdownExtensions||(Qe.fromMarkdownExtensions=[]),$e=Qe.toMarkdownExtensions||(Qe.toMarkdownExtensions=[]);ze.push(at(Ze)),_e.push(le()),$e.push(pe(Ze))}},16722:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});const b=Re=>typeof Re=="object"&&Re!=null&&Re.nodeType===1,me=(Re,xe)=>(!xe||Re!=="hidden")&&Re!=="visible"&&Re!=="clip",le=(Re,xe)=>{if(Re.clientHeight<Re.scrollHeight||Re.clientWidth<Re.scrollWidth){const Ge=getComputedStyle(Re,null);return me(Ge.overflowY,xe)||me(Ge.overflowX,xe)||(Fe=>{const At=(at=>{if(!at.ownerDocument||!at.ownerDocument.defaultView)return null;try{return at.ownerDocument.defaultView.frameElement}catch(tt){return null}})(Fe);return!!At&&(At.clientHeight<Fe.scrollHeight||At.clientWidth<Fe.scrollWidth)})(Re)}return!1},pe=(Re,xe,Ge,Fe,At,at,tt,Je)=>at<Re&&tt>xe||at>Re&&tt<xe?0:at<=Re&&Je<=Ge||tt>=xe&&Je>=Ge?at-Re-Fe:tt>xe&&Je<Ge||at<Re&&Je>Ge?tt-xe+At:0,be=Re=>{const xe=Re.parentElement;return xe==null?Re.getRootNode().host||null:xe},fe=(Re,xe)=>{var Ge,Fe,At,at;if(typeof document=="undefined")return[];const{scrollMode:tt,block:Je,inline:We,boundary:Ve,skipOverflowHiddenElements:Ze}=xe,Qe=typeof Ve=="function"?Ve:on=>on!==Ve;if(!b(Re))throw new TypeError("Invalid target");const ze=document.scrollingElement||document.documentElement,_e=[];let $e=Re;for(;b($e)&&Qe($e);){if($e=be($e),$e===ze){_e.push($e);break}$e!=null&&$e===document.body&&le($e)&&!le(document.documentElement)||$e!=null&&le($e,Ze)&&_e.push($e)}const nt=(Fe=(Ge=window.visualViewport)==null?void 0:Ge.width)!=null?Fe:innerWidth,bt=(at=(At=window.visualViewport)==null?void 0:At.height)!=null?at:innerHeight,{scrollX:it,scrollY:Nt}=window,{height:vt,width:dt,top:It,right:St,bottom:qe,left:Jt}=Re.getBoundingClientRect(),{top:Rt,right:Zt,bottom:Tn,left:Tt}=(on=>{const st=window.getComputedStyle(on);return{top:parseFloat(st.scrollMarginTop)||0,right:parseFloat(st.scrollMarginRight)||0,bottom:parseFloat(st.scrollMarginBottom)||0,left:parseFloat(st.scrollMarginLeft)||0}})(Re);let Ye=Je==="start"||Je==="nearest"?It-Rt:Je==="end"?qe+Tn:It+vt/2-Rt+Tn,Se=We==="center"?Jt+dt/2-Tt+Zt:We==="end"?St+Zt:Jt-Tt;const Qt=[];for(let on=0;on<_e.length;on++){const st=_e[on],{height:Ut,width:Gt,top:On,right:ft,bottom:En,left:Ht}=st.getBoundingClientRect();if(tt==="if-needed"&&It>=0&&Jt>=0&&qe<=bt&&St<=nt&&(st===ze&&!le(st)||It>=On&&qe<=En&&Jt>=Ht&&St<=ft))return Qt;const gn=getComputedStyle(st),un=parseInt(gn.borderLeftWidth,10),De=parseInt(gn.borderTopWidth,10),he=parseInt(gn.borderRightWidth,10),ce=parseInt(gn.borderBottomWidth,10);let Te=0,je=0;const ge="offsetWidth"in st?st.offsetWidth-st.clientWidth-un-he:0,Pe="offsetHeight"in st?st.offsetHeight-st.clientHeight-De-ce:0,ct="offsetWidth"in st?st.offsetWidth===0?0:Gt/st.offsetWidth:0,$t="offsetHeight"in st?st.offsetHeight===0?0:Ut/st.offsetHeight:0;if(ze===st)Te=Je==="start"?Ye:Je==="end"?Ye-bt:Je==="nearest"?pe(Nt,Nt+bt,bt,De,ce,Nt+Ye,Nt+Ye+vt,vt):Ye-bt/2,je=We==="start"?Se:We==="center"?Se-nt/2:We==="end"?Se-nt:pe(it,it+nt,nt,un,he,it+Se,it+Se+dt,dt),Te=Math.max(0,Te+Nt),je=Math.max(0,je+it);else{Te=Je==="start"?Ye-On-De:Je==="end"?Ye-En+ce+Pe:Je==="nearest"?pe(On,En,Ut,De,ce+Pe,Ye,Ye+vt,vt):Ye-(On+Ut/2)+Pe/2,je=We==="start"?Se-Ht-un:We==="center"?Se-(Ht+Gt/2)+ge/2:We==="end"?Se-ft+he+ge:pe(Ht,ft,Gt,un,he+ge,Se,Se+dt,dt);const{scrollLeft:gt,scrollTop:yt}=st;Te=$t===0?0:Math.max(0,Math.min(yt+Te/$t,st.scrollHeight-Ut/$t+Pe)),je=ct===0?0:Math.max(0,Math.min(gt+je/ct,st.scrollWidth-Gt/ct+ge)),Ye+=yt-Te,Se+=gt-je}Qt.push({el:st,top:Te,left:je})}return Qt},we=Re=>Re===!1?{block:"end",inline:"nearest"}:(xe=>xe===Object(xe)&&Object.keys(xe).length!==0)(Re)?Re:{block:"start",inline:"nearest"};function Oe(Re,xe){if(!Re.isConnected||!(At=>{let at=At;for(;at&&at.parentNode;){if(at.parentNode===document)return!0;at=at.parentNode instanceof ShadowRoot?at.parentNode.host:at.parentNode}return!1})(Re))return;const Ge=(At=>{const at=window.getComputedStyle(At);return{top:parseFloat(at.scrollMarginTop)||0,right:parseFloat(at.scrollMarginRight)||0,bottom:parseFloat(at.scrollMarginBottom)||0,left:parseFloat(at.scrollMarginLeft)||0}})(Re);if((At=>typeof At=="object"&&typeof At.behavior=="function")(xe))return xe.behavior(fe(Re,xe));const Fe=typeof xe=="boolean"||xe==null?void 0:xe.behavior;for(const{el:At,top:at,left:tt}of fe(Re,we(xe))){const Je=at-Ge.top+Ge.bottom,We=tt-Ge.left+Ge.right;At.scroll({top:Je,left:We,behavior:Fe})}}},71523:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return me},Q:function(){return b}});function b(le){const pe=String(le||"").trim();return pe?pe.split(/[ \t\n\r\f]+/g):[]}function me(le){return le.join(" ").trim()}},33511:function(Ce,ae,y){"use strict";y.d(ae,{O:function(){return me}});const b=function(Re,xe,Ge,Fe,At){const at=me(xe);if(Ge!=null&&(typeof Ge!="number"||Ge<0||Ge===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(Fe!=null&&(!b(Fe)||!Fe.children))throw new Error("Expected parent node");if(Fe==null!=(Ge==null))throw new Error("Expected both parent and index");return Oe(Re)?at.call(At,Re,Ge,Fe):!1},me=function(Re){if(Re==null)return we;if(typeof Re=="function")return fe(Re);if(typeof Re=="object")return Array.isArray(Re)?le(Re):pe(Re);if(typeof Re=="string")return be(Re);throw new Error("Expected function, string, or object as test")};function le(Re){const xe=[];let Ge=-1;for(;++Ge<Re.length;)xe[Ge]=me(Re[Ge]);return fe(Fe);function Fe(...At){let at=-1;for(;++at<xe.length;)if(xe[at].apply(this,At))return!0;return!1}}function pe(Re){const xe=Re;return fe(Ge);function Ge(Fe){const At=Fe;let at;for(at in Re)if(At[at]!==xe[at])return!1;return!0}}function be(Re){return fe(xe);function xe(Ge){return Ge&&Ge.type===Re}}function fe(Re){return xe;function xe(Ge,Fe,At){return!!(Oe(Ge)&&Re.call(this,Ge,typeof Fe=="number"?Fe:void 0,At||void 0))}}function we(){return!0}function Oe(Re){return Re!==null&&typeof Re=="object"&&"type"in Re}},17970:function(Ce,ae,y){"use strict";y.d(ae,{FK:function(){return pe},Pk:function(){return me},rb:function(){return b}});const b=le("end"),me=le("start");function le(be){return fe;function fe(we){const Oe=we&&we.position&&we.position[be]||{};if(typeof Oe.line=="number"&&Oe.line>0&&typeof Oe.column=="number"&&Oe.column>0)return{line:Oe.line,column:Oe.column,offset:typeof Oe.offset=="number"&&Oe.offset>-1?Oe.offset:void 0}}}function pe(be){const fe=me(be),we=b(be);if(fe&&we)return{start:fe,end:we}}},19453:function(Ce,ae,y){"use strict";y.d(ae,{BK:function(){return be},AM:function(){return fe},S4:function(){return we}});var b=y(33511);function me(Re){return Re}const le=[],pe=!0,be=!1,fe="skip";function we(Re,xe,Ge,Fe){let At;typeof xe=="function"&&typeof Ge!="function"?(Fe=Ge,Ge=xe):At=xe;const at=(0,b.O)(At),tt=Fe?-1:1;Je(Re,void 0,[])();function Je(We,Ve,Ze){const Qe=We&&typeof We=="object"?We:{};if(typeof Qe.type=="string"){const _e=typeof Qe.tagName=="string"?Qe.tagName:typeof Qe.name=="string"?Qe.name:void 0;Object.defineProperty(ze,"name",{value:"node ("+(We.type+(_e?"<"+_e+">":""))+")"})}return ze;function ze(){let _e=le,$e,nt,bt;if((!xe||at(We,Ve,Ze[Ze.length-1]||void 0))&&(_e=Oe(Ge(We,Ze)),_e[0]===be))return _e;if("children"in We&&We.children){const it=We;if(it.children&&_e[0]!==fe)for(nt=(Fe?it.children.length:-1)+tt,bt=Ze.concat(it);nt>-1&&nt<it.children.length;){const Nt=it.children[nt];if($e=Je(Nt,nt,bt)(),$e[0]===be)return $e;nt=typeof $e[1]=="number"?$e[1]:nt+tt}}return _e}}}function Oe(Re){return Array.isArray(Re)?Re:typeof Re=="number"?[pe,Re]:Re==null?le:[Re]}},28470:function(Ce,ae,y){"use strict";y.d(ae,{Vn:function(){return me}});var b=y(19453);function me(le,pe,be,fe){let we,Oe,Re;typeof pe=="function"&&typeof be!="function"?(Oe=void 0,Re=pe,we=be):(Oe=pe,Re=be,we=fe),(0,b.S4)(le,Oe,xe,we);function xe(Ge,Fe){const At=Fe[Fe.length-1],at=At?At.children.indexOf(Ge):void 0;return Re(Ge,at,At)}}},43309:function(Ce,ae,y){"use strict";y.d(ae,{t:function(){return b}});const b={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},47854:function(Ce){"use strict";Ce.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(Ce){"use strict";Ce.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]);
|
|
|
}()); |