0&&void 0!==arguments[0]?arguments[0]:null,t=X();return!t||J(t)?e:t},te=Y();var ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te;return ee(e)};function ie(e){var t=e.props,n=e.name,i=e.defaultTheme,r=function(e){var t=e.theme,n=e.name,i=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?h(t.components[n].defaultProps,i):i}({theme:ne(i),name:n,props:t});return r}function re(e,t){var n;return d({toolbar:(n={minHeight:56},p(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),p(n,e.up("sm"),{minHeight:64}),n)},t)}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function ae(e){if(e.type)return e;if("#"===e.charAt(0))return ae(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(x(9,e));var i,r=e.substring(t+1,e.length-1);if("color"===n){if(i=(r=r.split(" ")).shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(x(10,i))}else r=r.split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)})),colorSpace:i}}function se(e){var t=e.type,n=e.colorSpace,i=e.values;return-1!==t.indexOf("rgb")?i=i.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(i[1]="".concat(i[1],"%"),i[2]="".concat(i[2],"%")),i=-1!==t.indexOf("color")?"".concat(n," ").concat(i.join(" ")):"".concat(i.join(", ")),"".concat(t,"(").concat(i,")")}function le(e){var t="hsl"===(e=ae(e)).type||"hsla"===e.type?ae(function(e){var t=(e=ae(e)).values,n=t[0],i=t[1]/100,r=t[2]/100,o=i*Math.min(r,1-r),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-o*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),se({type:s,values:l})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ue(e,t){return e=ae(e),t=oe(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,se(e)}function ce(e,t){if(e=ae(e),t=oe(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return se(e)}function de(e,t){if(e=ae(e),t=oe(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*t;return se(e)}var he={black:"#000",white:"#fff"},fe={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ge={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ve={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},pe={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},me={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ye={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},be={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_e=["mode","contrastThreshold","tonalOffset"],ke={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:he.white,default:he.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},we={text:{primary:he.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:he.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ce(e,t,n,i){var r=i.light||i,o=i.dark||1.5*i;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=de(e.main,r):"dark"===t&&(e.dark=ce(e.main,o)))}function Se(e){var t=e.mode,n=void 0===t?"light":t,i=e.contrastThreshold,r=void 0===i?3:i,o=e.tonalOffset,a=void 0===o?.2:o,s=f(e,_e),l=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:me[200],light:me[50],dark:me[400]}:{main:me[700],light:me[400],dark:me[800]}}(n),u=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ge[200],light:ge[50],dark:ge[400]}:{main:ge[500],light:ge[300],dark:ge[700]}}(n),c=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ve[500],light:ve[300],dark:ve[700]}:{main:ve[700],light:ve[400],dark:ve[800]}}(n),h=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:ye[400],light:ye[300],dark:ye[700]}:{main:ye[700],light:ye[500],dark:ye[900]}}(n),g=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:be[400],light:be[300],dark:be[700]}:{main:be[800],light:be[500],dark:be[900]}}(n),p=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:pe[400],light:pe[300],dark:pe[700]}:{main:"#ed6c02",light:pe[500],dark:pe[900]}}(n);function m(e){var t=function(e,t){var n=le(e),i=le(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}(e,we.text.primary)>=r?we.text.primary:ke.text.primary;return t}var y=function(e){var t=e.color,n=e.name,i=e.mainShade,r=void 0===i?500:i,o=e.lightShade,s=void 0===o?300:o,l=e.darkShade,u=void 0===l?700:l;if(!(t=d({},t)).main&&t[r]&&(t.main=t[r]),!t.hasOwnProperty("main"))throw new Error(x(11,n?" (".concat(n,")"):"",r));if("string"!==typeof t.main)throw new Error(x(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return Ce(t,"light",s,a),Ce(t,"dark",u,a),t.contrastText||(t.contrastText=m(t.main)),t},b={dark:we,light:ke};return v(d({common:d({},he),mode:n,primary:y({color:l,name:"primary"}),secondary:y({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:p,name:"warning"}),info:y({color:h,name:"info"}),success:y({color:g,name:"success"}),grey:fe,contrastThreshold:r,getContrastText:m,augmentColor:y,tonalOffset:a},b[n]),s)}var Le=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var xe={textTransform:"uppercase"},Ee='"Roboto", "Helvetica", "Arial", sans-serif';function Ne(e,t){var n="function"===typeof t?t(e):t,i=n.fontFamily,r=void 0===i?Ee:i,o=n.fontSize,a=void 0===o?14:o,s=n.fontWeightLight,l=void 0===s?300:s,u=n.fontWeightRegular,c=void 0===u?400:u,h=n.fontWeightMedium,g=void 0===h?500:h,p=n.fontWeightBold,m=void 0===p?700:p,y=n.htmlFontSize,b=void 0===y?16:y,_=n.allVariants,k=n.pxToRem,w=f(n,Le);var C=a/14,S=k||function(e){return"".concat(e/b*C,"rem")},L=function(e,t,n,i,o){return d({fontFamily:r,fontWeight:e,fontSize:S(t),lineHeight:n},r===Ee?{letterSpacing:"".concat((a=i/t,Math.round(1e5*a)/1e5),"em")}:{},o,_);var a},x={h1:L(l,96,1.167,-1.5),h2:L(l,60,1.2,-.5),h3:L(c,48,1.167,0),h4:L(c,34,1.235,.25),h5:L(c,24,1.334,0),h6:L(g,20,1.6,.15),subtitle1:L(c,16,1.75,.15),subtitle2:L(g,14,1.57,.1),body1:L(c,16,1.5,.15),body2:L(c,14,1.43,.15),button:L(g,14,1.75,.4,xe),caption:L(c,12,1.66,.4),overline:L(c,12,2.66,1,xe)};return v(d({htmlFontSize:b,pxToRem:S,fontFamily:r,fontSize:a,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:g,fontWeightBold:m},x),w,{clone:!1})}function De(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Ie=["none",De(0,2,1,-1,0,1,1,0,0,1,3,0),De(0,3,1,-2,0,2,2,0,0,1,5,0),De(0,3,3,-2,0,3,4,0,0,1,8,0),De(0,2,4,-1,0,4,5,0,0,1,10,0),De(0,3,5,-1,0,5,8,0,0,1,14,0),De(0,3,5,-1,0,6,10,0,0,1,18,0),De(0,4,5,-2,0,7,10,1,0,2,16,1),De(0,5,5,-3,0,8,10,1,0,3,14,2),De(0,5,6,-3,0,9,12,1,0,3,16,2),De(0,6,6,-3,0,10,14,1,0,4,18,3),De(0,6,7,-4,0,11,15,1,0,4,20,3),De(0,7,8,-4,0,12,17,2,0,5,22,4),De(0,7,8,-4,0,13,19,2,0,5,24,4),De(0,7,9,-4,0,14,21,2,0,5,26,4),De(0,8,9,-5,0,15,22,2,0,6,28,5),De(0,8,10,-5,0,16,24,2,0,6,30,5),De(0,8,11,-5,0,17,26,2,0,6,32,5),De(0,9,11,-5,0,18,28,2,0,7,34,6),De(0,9,12,-6,0,19,29,2,0,7,36,6),De(0,10,13,-6,0,20,31,3,0,8,38,7),De(0,10,13,-6,0,21,33,3,0,8,40,7),De(0,10,14,-6,0,22,35,3,0,8,42,7),De(0,11,14,-7,0,23,36,3,0,9,44,8),De(0,11,15,-7,0,24,38,3,0,9,46,8)],Te=["duration","easing","delay"],Me={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Oe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Pe(e){return"".concat(Math.round(e),"ms")}function Ae(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function Re(e){var t=d({},Me,e.easing),n=d({},Oe,e.duration);return d({getAutoHeightDuration:Ae,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.duration,o=void 0===r?n.standard:r,a=i.easing,s=void 0===a?t.easeInOut:a,l=i.delay,u=void 0===l?0:l;f(i,Te);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof o?o:Pe(o)," ").concat(s," ").concat("string"===typeof u?u:Pe(u))})).join(",")}},e,{easing:t,duration:n})}var Fe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Be=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,i=e.palette,r=void 0===i?{}:i,o=e.transitions,a=void 0===o?{}:o,s=e.typography,l=void 0===s?{}:s,u=f(e,Be);if(e.vars)throw new Error(x(18));var c=Se(r),h=Y(e),g=v(h,{mixins:re(h.breakpoints,n),palette:c,shadows:Ie.slice(),typography:Ne(c,l),transitions:Re(a),zIndex:d({},Fe)});g=v(g,u);for(var p=arguments.length,m=new Array(p>1?p-1:0),y=1;y0?Ye(at,--rt):0,nt--,10===ot&&(nt=1,tt--),ot}function ct(){return ot=rt2||gt(ot)>3?"":" "}function bt(e,t){for(;--t&&ct()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return ft(e,ht()+(t<6&&32==dt()&&32==ct()))}function _t(e){for(;ct();)switch(ot){case e:return rt;case 34:case 39:34!==e&&39!==e&&_t(ot);break;case 40:41===e&&_t(e);break;case 92:ct()}return rt}function kt(e,t){for(;ct()&&e+ot!==57&&(e+ot!==84||47!==dt()););return"/*"+ft(t,rt-1)+"*"+Ke(47===e?e:ct())}function wt(e){for(;!gt(dt());)ct();return ft(e,rt)}var Ct="-ms-",St="-moz-",Lt="-webkit-",xt="comm",Et="rule",Nt="decl",Dt="@keyframes";function It(e,t){for(var n="",i=Je(e),r=0;r6)switch(Ye(e,t+1)){case 109:if(45!==Ye(e,t+4))break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+St+(108==Ye(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$e(e,"stretch")?Mt(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ye(e,t+1))break;case 6444:switch(Ye(e,Xe(e)-3-(~$e(e,"!important")&&10))){case 107:return Qe(e,":",":"+Lt)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Lt+(45===Ye(e,14)?"inline-":"")+"box$3$1"+Lt+"$2$3$1"+Ct+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return Lt+e+Ct+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Lt+e+Ct+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Lt+e+Ct+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Lt+e+Ct+e+e}return e}function Ot(e){return pt(Pt("",null,null,null,[""],e=vt(e),0,[0],e))}function Pt(e,t,n,i,r,o,a,s,l){for(var u=0,c=0,d=a,h=0,f=0,g=0,v=1,p=1,m=1,y=0,b="",_=r,k=o,w=i,C=b;p;)switch(g=y,y=ct()){case 40:if(108!=g&&58==C.charCodeAt(d-1)){-1!=$e(C+=Qe(mt(y),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:C+=mt(y);break;case 9:case 10:case 13:case 32:C+=yt(g);break;case 92:C+=bt(ht()-1,7);continue;case 47:switch(dt()){case 42:case 47:et(Rt(kt(ct(),ht()),t,n),l);break;default:C+="/"}break;case 123*v:s[u++]=Xe(C)*m;case 125*v:case 59:case 0:switch(y){case 0:case 125:p=0;case 59+c:f>0&&Xe(C)-d&&et(f>32?Ft(C+";",i,n,d-1):Ft(Qe(C," ","")+";",i,n,d-2),l);break;case 59:C+=";";default:if(et(w=At(C,t,n,u,c,r,s,b,_=[],k=[],d),o),123===y)if(0===c)Pt(C,t,w,w,_,o,d,s,k);else switch(h){case 100:case 109:case 115:Pt(e,w,w,i&&et(At(e,w,w,0,0,r,s,b,r,_=[],d),k),r,k,d,s,i?_:k);break;default:Pt(C,w,w,w,[""],k,0,s,k)}}u=c=f=0,v=m=1,b=C="",d=a;break;case 58:d=1+Xe(C),f=g;default:if(v<1)if(123==y)--v;else if(125==y&&0==v++&&125==ut())continue;switch(C+=Ke(y),y*v){case 38:m=c>0?1:(C+="\f",-1);break;case 44:s[u++]=(Xe(C)-1)*m,m=1;break;case 64:45===dt()&&(C+=mt(ct())),h=dt(),c=d=Xe(b=C+=wt(ht())),y++;break;case 45:45===g&&2==Xe(C)&&(v=0)}}return o}function At(e,t,n,i,r,o,a,s,l,u,c){for(var d=r-1,h=0===r?o:[""],f=Je(h),g=0,v=0,p=0;g0?h[m]+" "+y:Qe(y,/&\f/g,h[m])))&&(l[p++]=b);return st(e,t,n,0===r?Et:s,l,u,c)}function Rt(e,t,n){return st(e,t,n,xt,Ke(ot),Ze(e,2,-2),0)}function Ft(e,t,n,i){return st(e,t,n,Nt,Ze(e,0,i),Ze(e,i+1,-1),i)}var Bt=function(e,t,n){for(var i=0,r=0;i=r,r=dt(),38===i&&12===r&&(t[n]=1),!gt(r);)ct();return ft(e,rt)},Vt=function(e,t){return pt(function(e,t){var n=-1,i=44;do{switch(gt(i)){case 0:38===i&&12===dt()&&(t[n]=1),e[n]+=Bt(rt-1,t,n);break;case 2:e[n]+=mt(i);break;case 4:if(44===i){e[++n]=58===dt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ke(i)}}while(i=ct());return e}(vt(e),t))},Wt=new WeakMap,zt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Wt.get(n))&&!i){Wt.set(e,!0);for(var r=[],o=Vt(t,r),a=n.props,s=0,l=0;s-1&&!e.return)switch(e.type){case Nt:e.return=Mt(e.value,e.length);break;case Dt:return It([lt(e,{value:Qe(e.value,"@","@"+Lt)})],i);case Et:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return It([lt(e,{props:[Qe(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return It([lt(e,{props:[Qe(t,/:(plac\w+)/,":-webkit-input-$1")]}),lt(e,{props:[Qe(t,/:(plac\w+)/,":-moz-$1")]}),lt(e,{props:[Qe(t,/:(plac\w+)/,Ct+"input-$1")]})],i)}return""}))}}],Ut=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||jt;var r,o,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++i,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},qt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Gt=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},Qt=/[A-Z]|^ms/g,$t=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yt=function(e){return 45===e.charCodeAt(1)},Zt=function(e){return null!=e&&"boolean"!==typeof e},Xt=Gt((function(e){return Yt(e)?e:e.replace(Qt,"-$&").toLowerCase()})),Jt=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace($t,(function(e,t,n){return tn={name:t,styles:n,next:tn},t}))}return 1===qt[e]||Yt(e)||"number"!==typeof t||0===t?t:t+"px"};function en(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return tn={name:n.name,styles:n.styles,next:tn},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)tn={name:i.name,styles:i.styles,next:tn},i=i.next;return n.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r1&&void 0!==arguments[1]&&arguments[1],r={};i&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((function(t){var n,i=c(t,2),o=i[0],a=i[1];r[e.getColorSchemeSelector(o).replace(/\s*&/,"")]={colorScheme:null==(n=a.palette)?void 0:n.mode}}));var o=d({html:_n(e,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:d({margin:0},kn(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r),a=null==(t=e.components)||null==(n=t.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(o=[o,a]),o}(e,o)}}),n]})},Cn="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Sn=function(e){var t=e.children,n=e.theme,r=X(),o=i.useMemo((function(){var e=null===r?n:function(e,t){return"function"===typeof t?t(e):d({},e,t)}(r,n);return null!=e&&(e[Cn]=null!==r),e}),[n,r]);return(0,mn.jsx)(Z.Provider,{value:o,children:t})};function Ln(e){var t=ne();return(0,mn.jsx)(cn.Provider,{value:"object"===typeof t?t:{},children:e.children})}var xn=function(e){var t=e.children,n=e.theme;return(0,mn.jsx)(Sn,{theme:n,children:(0,mn.jsx)(Ln,{children:t})})};function En(e){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(e)}function Nn(){Nn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(x){s=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var r=t&&t.prototype instanceof d?t:d,o=Object.create(r.prototype),a=new C(i||[]);return o._invoke=function(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return L()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=_(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=u(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(x){return{type:"throw",arg:x}}}e.wrap=l;var c={};function d(){}function h(){}function f(){}var g={};s(g,r,(function(){return this}));var v=Object.getPrototypeOf,p=v&&v(v(S([])));p&&p!==t&&n.call(p,r)&&(g=p);var m=f.prototype=d.prototype=Object.create(g);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function i(r,o,a,s){var l=u(e[r],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==En(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var r;this._invoke=function(e,n){function o(){return new t((function(t,r){i(e,n,t,r)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=u(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,c;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function S(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;w(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function Dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function In(e){for(var t=1;t96?Rn:Fn},Vn=function(e,t,n){var i;if(t){var r=t.shouldForwardProp;i=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!==typeof i&&n&&(i=e.__emotion_forwardProp),i},Wn=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;hn(t,n,i);an((function(){return fn(t,n,i)}));return null},zn=function e(t,n){var r,o,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=Vn(t,n,a),u=l||Bn(s),c=!u("as");return function(){var h=arguments,f=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==h[0]||void 0===h[0].raw)f.push.apply(f,h);else{0,f.push(h[0][0]);for(var g=h.length,v=1;v0&&void 0!==arguments[0]?arguments[0]:Oi,t=Object.keys(e).reduce((function(t,n){return e[n].filterProps.forEach((function(i){t[i]=e[n]})),t}),{});function n(e,n,i){var r,o=(p(r={},e,n),p(r,"theme",i),r),a=t[e];return a?a(o):p({},e,n)}function i(e){var r=e||{},o=r.sx,a=r.theme,s=void 0===a?{}:a;if(!o)return null;function l(e){var r=e;if("function"===typeof e)r=e(s);else if("object"!==typeof e)return e;if(!r)return null;var o=C(s.breakpoints),a=Object.keys(o),l=o;return Object.keys(r).forEach((function(e){var o=Ri(r[e],s);if(null!==o&&void 0!==o)if("object"===typeof o)if(t[e])l=T(l,n(e,o,s));else{var a=w({theme:s},o,(function(t){return p({},e,t)}));Ai(a,o)?l[e]=i({sx:o,theme:s}):l=T(l,a)}else l=T(l,n(e,o,s))})),S(a,l)}return Array.isArray(o)?o.map(l):l(o)}return i}();Fi.filterProps=["sx"];var Bi=Fi;function Vi(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Wi(e){return function(e){if(Array.isArray(e))return s(e)}(e)||Vi(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var zi=["sx"];function Hi(e){var t,n=e.sx,i=function(e){var t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((function(n){Pi[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t}(f(e,zi)),r=i.systemProps,o=i.otherProps;return t=Array.isArray(n)?[r].concat(Wi(n)):"function"===typeof n?function(){var e=n.apply(void 0,arguments);return g(e)?d({},r,e):r}:d({},r,n),d({},o,{sx:t})}var ji=["className","component"];var Ui=function(e){return e},Ki=function(){var e=Ui;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=Ui}}}(),qi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=e.defaultClassName,r=void 0===n?"MuiBox-root":n,o=e.generateClassName,a=e.styleFunctionSx,s=void 0===a?Bi:a,l=Un("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(s),u=i.forwardRef((function(e,n){var i=ne(t),a=Hi(e),s=a.className,u=a.component,c=void 0===u?"div":u,h=f(a,ji);return(0,mn.jsx)(l,d({as:c,ref:n,className:Pn(s,o?o(r):r),theme:i},h))}));return u}({defaultTheme:We(),defaultClassName:"MuiBox-root",generateClassName:Ki.generate}),Gi=qi;function Qi(e,t,n){var i={};return Object.keys(e).forEach((function(r){i[r]=e[r].reduce((function(e,i){return i&&(e.push(t(i)),n&&n[i]&&e.push(n[i])),e}),[]).join(" ")})),i}var $i=["variant"];function Yi(e){return 0===e.length}function Zi(e){var t=e.variant,n=f(e,$i),i=t||"";return Object.keys(n).sort().forEach((function(t){i+="color"===t?Yi(i)?e[t]:E(e[t]):"".concat(Yi(i)?t:E(t)).concat(E(e[t].toString()))})),i}var Xi=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Ji=["theme"],er=["theme"];function tr(e){return 0===Object.keys(e).length}function nr(e){return"string"===typeof e&&e.charCodeAt(0)>96}var ir=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},rr=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var i={};return n.forEach((function(e){var t=Zi(e.props);i[t]=e.style})),i},or=function(e,t,n,i){var r,o,a=e.ownerState,s=void 0===a?{}:a,l=[],u=null==n||null==(r=n.components)||null==(o=r[i])?void 0:o.variants;return u&&u.forEach((function(n){var i=!0;Object.keys(n.props).forEach((function(t){s[t]!==n.props[t]&&e[t]!==n.props[t]&&(i=!1)})),i&&l.push(t[Zi(n.props)])})),l};function ar(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var sr=Y();var lr=function(e){return ar(e)&&"classes"!==e},ur=ar,cr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?sr:t,i=e.rootShouldForwardProp,r=void 0===i?ar:i,o=e.slotShouldForwardProp,a=void 0===o?ar:o,s=e.styleFunctionSx,l=void 0===s?Bi:s,u=function(e){var t=tr(e.theme)?n:e.theme;return l(d({},e,{theme:t}))};return u.__mui_systemSx=!0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kn(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var i,o=t.name,s=t.slot,l=t.skipVariantsResolver,h=t.skipSx,g=t.overridesResolver,v=f(t,Xi),p=void 0!==l?l:s&&"Root"!==s||!1,m=h||!1;var y=ar;"Root"===s?y=r:s?y=a:nr(e)&&(y=void 0);var b=Un(e,d({shouldForwardProp:y,label:i},v)),_=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r0){var h=new Array(l).fill("");(s=[].concat(Wi(e),Wi(h))).raw=[].concat(Wi(e.raw),Wi(h))}else"function"===typeof e&&e.__emotion_real!==e&&(s=function(t){var i=t.theme,r=f(t,er);return e(d({theme:tr(i)?n:i},r))});var v=b.apply(void 0,[s].concat(Wi(a)));return v};return b.withConfig&&(_.withConfig=b.withConfig),_}}({defaultTheme:ze,rootShouldForwardProp:lr}),dr=cr;function hr(){return ne(ze)}var fr=i.createContext(),gr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function vr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=gr[t];return i?"".concat(n,"-").concat(i):"".concat(Ki.generate(e),"-").concat(t)}function pr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i={};return t.forEach((function(t){i[t]=vr(e,t,n)})),i}function mr(e){return vr("MuiGrid",e)}var yr=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],br=pr("MuiGrid",["root","container","item","zeroMinWidth"].concat(Wi([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),Wi(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),Wi(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),Wi(yr.map((function(e){return"grid-xs-".concat(e)}))),Wi(yr.map((function(e){return"grid-sm-".concat(e)}))),Wi(yr.map((function(e){return"grid-md-".concat(e)}))),Wi(yr.map((function(e){return"grid-lg-".concat(e)}))),Wi(yr.map((function(e){return"grid-xl-".concat(e)}))))),_r=br,kr=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function wr(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Cr(e){var t=e.breakpoints,n=e.values,i="";Object.keys(n).forEach((function(e){""===i&&0!==n[e]&&(i=e)}));var r=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return r.slice(0,r.indexOf(i))}var Sr=dr("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,i=n.container,r=n.direction,o=n.item,a=n.spacing,s=n.wrap,l=n.zeroMinWidth,u=n.breakpoints,c=[];i&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var i=[];return t.forEach((function(t){var r=e[t];Number(r)>0&&i.push(n["spacing-".concat(t,"-").concat(String(r))])})),i}(a,u,t));var d=[];return u.forEach((function(e){var i=n[e];i&&d.push(t["grid-".concat(e,"-").concat(String(i))])})),[t.root,i&&t.container,o&&t.item,l&&t.zeroMinWidth].concat(Wi(c),["row"!==r&&t["direction-xs-".concat(String(r))],"wrap"!==s&&t["wrap-xs-".concat(String(s))]],d)}})((function(e){var t=e.ownerState;return d({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme;return w({theme:t},L({values:e.ownerState.direction,breakpoints:t.breakpoints.values}),(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(_r.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,i=n.container,r=n.rowSpacing,o={};if(i&&0!==r){var a,s=L({values:r,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=Cr({breakpoints:t.breakpoints.values,values:s})),o=w({theme:t},s,(function(e,n){var i,r=t.spacing(e);return"0px"!==r?p({marginTop:"-".concat(wr(r))},"& > .".concat(_r.item),{paddingTop:wr(r)}):null!=(i=a)&&i.includes(n)?{}:p({marginTop:0},"& > .".concat(_r.item),{paddingTop:0})}))}return o}),(function(e){var t=e.theme,n=e.ownerState,i=n.container,r=n.columnSpacing,o={};if(i&&0!==r){var a,s=L({values:r,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=Cr({breakpoints:t.breakpoints.values,values:s})),o=w({theme:t},s,(function(e,n){var i,r=t.spacing(e);return"0px"!==r?p({width:"calc(100% + ".concat(wr(r),")"),marginLeft:"-".concat(wr(r))},"& > .".concat(_r.item),{paddingLeft:wr(r)}):null!=(i=a)&&i.includes(n)?{}:p({width:"100%",marginLeft:0},"& > .".concat(_r.item),{paddingLeft:0})}))}return o}),(function(e){var t,n=e.theme,i=e.ownerState;return n.breakpoints.keys.reduce((function(e,r){var o={};if(i[r]&&(t=i[r]),!t)return e;if(!0===t)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=L({values:i.columns,breakpoints:n.breakpoints.values}),s="object"===typeof a?a[r]:a;if(void 0===s||null===s)return e;var l="".concat(Math.round(t/s*1e8)/1e6,"%"),u={};if(i.container&&i.item&&0!==i.columnSpacing){var c=n.spacing(i.columnSpacing);if("0px"!==c){var h="calc(".concat(l," + ").concat(wr(c),")");u={flexBasis:h,maxWidth:h}}}o=d({flexBasis:l,flexGrow:0,maxWidth:l},u)}return 0===n.breakpoints.values[r]?Object.assign(e,o):e[n.breakpoints.up(r)]=o,e}),{})}));var Lr=function(e){var t=e.classes,n=e.container,i=e.direction,r=e.item,o=e.spacing,a=e.wrap,s=e.zeroMinWidth,l=e.breakpoints,u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var i=e[t];if(Number(i)>0){var r="spacing-".concat(t,"-").concat(String(i));n.push(r)}})),n}(o,l));var c=[];return l.forEach((function(t){var n=e[t];n&&c.push("grid-".concat(t,"-").concat(String(n)))})),Qi({root:["root",n&&"container",r&&"item",s&&"zeroMinWidth"].concat(Wi(u),["row"!==i&&"direction-xs-".concat(String(i)),"wrap"!==a&&"wrap-xs-".concat(String(a))],c)},mr,t)},xr=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiGrid"}),r=hr().breakpoints,o=Hi(n),a=o.className,s=o.columns,l=o.columnSpacing,u=o.component,c=void 0===u?"div":u,h=o.container,g=void 0!==h&&h,v=o.direction,p=void 0===v?"row":v,m=o.item,y=void 0!==m&&m,b=o.rowSpacing,_=o.spacing,k=void 0===_?0:_,w=o.wrap,C=void 0===w?"wrap":w,S=o.zeroMinWidth,L=void 0!==S&&S,x=f(o,kr),E=b||k,N=l||k,D=i.useContext(fr),I=g?s||12:D,T={},M=d({},x);r.keys.forEach((function(e){null!=x[e]&&(T[e]=x[e],delete M[e])}));var O=d({},o,{columns:I,container:g,direction:p,item:y,rowSpacing:E,columnSpacing:N,wrap:C,zeroMinWidth:L,spacing:k},T,{breakpoints:r.keys}),P=Lr(O);return(0,mn.jsx)(fr.Provider,{value:I,children:(0,mn.jsx)(Sr,d({ownerState:O,className:Pn(P.root,a),as:c,ref:t},M))})})),Er=xr,Nr=["component","direction","spacing","divider","children"];function Dr(e,t){var n=i.Children.toArray(e).filter(Boolean);return n.reduce((function(e,r,o){return e.push(r),o0?a[n[t-1]]:"column";a[e]=i}}));i=v(i,w({theme:n},s,(function(e,n){return{"& > :not(style) + :not(style)":p({margin:0},"margin".concat((i=n?a[n]:t.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i])),z(r,e))};var i})))}return i=function(e){for(var t=C(e),n=arguments.length,i=new Array(n>1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,r=void 0!==i&&i,a=t.center,s=void 0===a?o||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===(null==e?void 0:e.type)&&y.current)y.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(y.current=!0);var c,d,h,f=u?null:k.current,g=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(g.width/2),d=Math.round(g.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,p=v.clientX,m=v.clientY;c=Math.round(p-g.left),d=Math.round(m-g.top)}if(s)(h=Math.sqrt((2*Math.pow(g.width,2)+Math.pow(g.height,2))/3))%2===0&&(h+=1);else{var C=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;h=Math.sqrt(Math.pow(C,2)+Math.pow(S,2))}null!=e&&e.touches?null===_.current&&(_.current=function(){w({pulsate:r,rippleX:c,rippleY:d,rippleSize:h,cb:n})},b.current=setTimeout((function(){_.current&&(_.current(),_.current=null)}),80)):w({pulsate:r,rippleX:c,rippleY:d,rippleSize:h,cb:n})}}),[o,w]),S=i.useCallback((function(){C({},{pulsate:!0})}),[C]),L=i.useCallback((function(e,t){if(clearTimeout(b.current),"touchend"===(null==e?void 0:e.type)&&_.current)return _.current(),_.current=null,void(b.current=setTimeout((function(){L(e,t)})));_.current=null,v((function(e){return e.length>0?e.slice(1):e})),m.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:S,start:C,stop:L}}),[S,C,L]),(0,mn.jsx)(xo,d({className:Pn(ko.root,s.root,l),ref:k},u,{children:(0,mn.jsx)(co,{component:null,exit:!0,children:g})}))})),Do=No;function Io(e){return vr("MuiButtonBase",e)}var To,Mo=pr("MuiButtonBase",["root","disabled","focusVisible"]),Oo=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Po=dr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((p(To={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(Mo.disabled),{pointerEvents:"none",cursor:"default"}),p(To,"@media print",{colorAdjust:"exact"}),To)),Ao=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiButtonBase"}),r=n.action,o=n.centerRipple,a=void 0!==o&&o,s=n.children,l=n.className,u=n.component,h=void 0===u?"button":u,g=n.disabled,v=void 0!==g&&g,p=n.disableRipple,m=void 0!==p&&p,y=n.disableTouchRipple,b=void 0!==y&&y,_=n.focusRipple,k=void 0!==_&&_,w=n.LinkComponent,C=void 0===w?"a":w,S=n.onBlur,L=n.onClick,x=n.onContextMenu,E=n.onDragLeave,N=n.onFocus,D=n.onFocusVisible,I=n.onKeyDown,T=n.onKeyUp,M=n.onMouseDown,O=n.onMouseLeave,P=n.onMouseUp,A=n.onTouchEnd,R=n.onTouchMove,F=n.onTouchStart,B=n.tabIndex,V=void 0===B?0:B,W=n.TouchRippleProps,z=n.touchRippleRef,H=n.type,j=f(n,Oo),U=i.useRef(null),K=i.useRef(null),q=zr(K,z),G=Jr(),Q=G.isFocusVisibleRef,$=G.onFocus,Y=G.onBlur,Z=G.ref,X=c(i.useState(!1),2),J=X[0],ee=X[1];v&&J&&ee(!1),i.useImperativeHandle(r,(function(){return{focusVisible:function(){ee(!0),U.current.focus()}}}),[]);var te=c(i.useState(!1),2),ne=te[0],ie=te[1];i.useEffect((function(){ie(!0)}),[]);var re=ne&&!m&&!v;function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;return Kr((function(i){return t&&t(i),!n&&K.current&&K.current[e](i),!0}))}i.useEffect((function(){J&&k&&!m&&ne&&K.current.pulsate()}),[m,k,J,ne]);var ae=oe("start",M),se=oe("stop",x),le=oe("stop",E),ue=oe("stop",P),ce=oe("stop",(function(e){J&&e.preventDefault(),O&&O(e)})),de=oe("start",F),he=oe("stop",A),fe=oe("stop",R),ge=oe("stop",(function(e){Y(e),!1===Q.current&&ee(!1),S&&S(e)}),!1),ve=Kr((function(e){U.current||(U.current=e.currentTarget),$(e),!0===Q.current&&(ee(!0),D&&D(e)),N&&N(e)})),pe=function(){var e=U.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},me=i.useRef(!1),ye=Kr((function(e){k&&!me.current&&J&&K.current&&" "===e.key&&(me.current=!0,K.current.stop(e,(function(){K.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!v&&(e.preventDefault(),L&&L(e))})),be=Kr((function(e){k&&" "===e.key&&K.current&&J&&!e.defaultPrevented&&(me.current=!1,K.current.stop(e,(function(){K.current.pulsate(e)}))),T&&T(e),L&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&L(e)})),_e=h;"button"===_e&&(j.href||j.to)&&(_e=C);var ke={};"button"===_e?(ke.type=void 0===H?"button":H,ke.disabled=v):(j.href||j.to||(ke.role="button"),v&&(ke["aria-disabled"]=v));var we=zr(t,Z,U);var Ce=d({},n,{centerRipple:a,component:h,disabled:v,disableRipple:m,disableTouchRipple:b,focusRipple:k,tabIndex:V,focusVisible:J}),Se=function(e){var t=e.disabled,n=e.focusVisible,i=e.focusVisibleClassName,r=Qi({root:["root",t&&"disabled",n&&"focusVisible"]},Io,e.classes);return n&&i&&(r.root+=" ".concat(i)),r}(Ce);return(0,mn.jsxs)(Po,d({as:_e,className:Pn(Se.root,l),ownerState:Ce,onBlur:ge,onClick:L,onContextMenu:se,onFocus:ve,onKeyDown:ye,onKeyUp:be,onMouseDown:ae,onMouseLeave:ce,onMouseUp:ue,onDragLeave:le,onTouchEnd:he,onTouchMove:fe,onTouchStart:de,ref:we,tabIndex:v?-1:V,type:H},ke,j,{children:[s,re?(0,mn.jsx)(Do,d({ref:q,center:a},W)):null]}))})),Ro=Ao,Fo=E;function Bo(e){return vr("MuiButton",e)}var Vo=pr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Wo=i.createContext({}),zo=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ho=function(e){return d({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},jo=dr(Ro,{shouldForwardProp:function(e){return lr(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Fo(n.color))],t["size".concat(Fo(n.size))],t["".concat(n.variant,"Size").concat(Fo(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,i,r=e.theme,o=e.ownerState;return d({},r.typography.button,(p(t={minWidth:64,padding:"6px 16px",borderRadius:(r.vars||r).shape.borderRadius,transition:r.transitions.create(["background-color","box-shadow","border-color","color"],{duration:r.transitions.duration.short}),"&:hover":d({textDecoration:"none",backgroundColor:r.vars?"rgba(".concat(r.vars.palette.text.primaryChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):ue(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===o.variant&&"inherit"!==o.color&&{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):ue(r.palette[o.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===o.variant&&"inherit"!==o.color&&{border:"1px solid ".concat((r.vars||r).palette[o.color].main),backgroundColor:r.vars?"rgba(".concat(r.vars.palette[o.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):ue(r.palette[o.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===o.variant&&{backgroundColor:(r.vars||r).palette.grey.A100,boxShadow:(r.vars||r).shadows[4],"@media (hover: none)":{boxShadow:(r.vars||r).shadows[2],backgroundColor:(r.vars||r).palette.grey[300]}},"contained"===o.variant&&"inherit"!==o.color&&{backgroundColor:(r.vars||r).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(r.vars||r).palette[o.color].main}}),"&:active":d({},"contained"===o.variant&&{boxShadow:(r.vars||r).shadows[8]})},"&.".concat(Vo.focusVisible),d({},"contained"===o.variant&&{boxShadow:(r.vars||r).shadows[6]})),p(t,"&.".concat(Vo.disabled),d({color:(r.vars||r).palette.action.disabled},"outlined"===o.variant&&{border:"1px solid ".concat((r.vars||r).palette.action.disabledBackground)},"outlined"===o.variant&&"secondary"===o.color&&{border:"1px solid ".concat((r.vars||r).palette.action.disabled)},"contained"===o.variant&&{color:(r.vars||r).palette.action.disabled,boxShadow:(r.vars||r).shadows[0],backgroundColor:(r.vars||r).palette.action.disabledBackground})),t),"text"===o.variant&&{padding:"6px 8px"},"text"===o.variant&&"inherit"!==o.color&&{color:(r.vars||r).palette[o.color].main},"outlined"===o.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===o.variant&&"inherit"!==o.color&&{color:(r.vars||r).palette[o.color].main,border:r.vars?"1px solid rgba(".concat(r.vars.palette[o.color].mainChannel," / 0.5)"):"1px solid ".concat(ue(r.palette[o.color].main,.5))},"contained"===o.variant&&{color:r.vars?r.vars.palette.text.primary:null==(n=(i=r.palette).getContrastText)?void 0:n.call(i,r.palette.grey[300]),backgroundColor:(r.vars||r).palette.grey[300],boxShadow:(r.vars||r).shadows[2]},"contained"===o.variant&&"inherit"!==o.color&&{color:(r.vars||r).palette[o.color].contrastText,backgroundColor:(r.vars||r).palette[o.color].main},"inherit"===o.color&&{color:"inherit",borderColor:"currentColor"},"small"===o.size&&"text"===o.variant&&{padding:"4px 5px",fontSize:r.typography.pxToRem(13)},"large"===o.size&&"text"===o.variant&&{padding:"8px 11px",fontSize:r.typography.pxToRem(15)},"small"===o.size&&"outlined"===o.variant&&{padding:"3px 9px",fontSize:r.typography.pxToRem(13)},"large"===o.size&&"outlined"===o.variant&&{padding:"7px 21px",fontSize:r.typography.pxToRem(15)},"small"===o.size&&"contained"===o.variant&&{padding:"4px 10px",fontSize:r.typography.pxToRem(13)},"large"===o.size&&"contained"===o.variant&&{padding:"8px 22px",fontSize:r.typography.pxToRem(15)},o.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(p(t={boxShadow:"none","&:hover":{boxShadow:"none"}},"&.".concat(Vo.focusVisible),{boxShadow:"none"}),p(t,"&:active",{boxShadow:"none"}),p(t,"&.".concat(Vo.disabled),{boxShadow:"none"}),t)})),Uo=dr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat(Fo(n.size))]]}})((function(e){var t=e.ownerState;return d({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},Ho(t))})),Ko=dr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat(Fo(n.size))]]}})((function(e){var t=e.ownerState;return d({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},Ho(t))})),qo=i.forwardRef((function(e,t){var n=i.useContext(Wo),r=He({props:h(n,e),name:"MuiButton"}),o=r.children,a=r.color,s=void 0===a?"primary":a,l=r.component,u=void 0===l?"button":l,c=r.className,g=r.disabled,v=void 0!==g&&g,p=r.disableElevation,m=void 0!==p&&p,y=r.disableFocusRipple,b=void 0!==y&&y,_=r.endIcon,k=r.focusVisibleClassName,w=r.fullWidth,C=void 0!==w&&w,S=r.size,L=void 0===S?"medium":S,x=r.startIcon,E=r.type,N=r.variant,D=void 0===N?"text":N,I=f(r,zo),T=d({},r,{color:s,component:u,disabled:v,disableElevation:m,disableFocusRipple:b,fullWidth:C,size:L,type:E,variant:D}),M=function(e){var t=e.color,n=e.disableElevation,i=e.fullWidth,r=e.size,o=e.variant,a=e.classes;return d({},a,Qi({root:["root",o,"".concat(o).concat(Fo(t)),"size".concat(Fo(r)),"".concat(o,"Size").concat(Fo(r)),"inherit"===t&&"colorInherit",n&&"disableElevation",i&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Fo(r))],endIcon:["endIcon","iconSize".concat(Fo(r))]},Bo,a))}(T),O=x&&(0,mn.jsx)(Uo,{className:M.startIcon,ownerState:T,children:x}),P=_&&(0,mn.jsx)(Ko,{className:M.endIcon,ownerState:T,children:_});return(0,mn.jsxs)(jo,d({ownerState:T,className:Pn(n.className,M.root,c),component:u,disabled:v,focusRipple:!b,focusVisibleClassName:Pn(M.focusVisible,k),ref:t,type:E},I,{classes:M,children:[O,o,P]}))})),Go=qo;function Qo(e){return vr("MuiTypography",e)}pr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var $o=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yo=dr("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat(Fo(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return d({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),Zo={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Xo={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jo=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiTypography"}),i=function(e){return Xo[e]||e}(n.color),r=Hi(d({},n,{color:i})),o=r.align,a=void 0===o?"inherit":o,s=r.className,l=r.component,u=r.gutterBottom,c=void 0!==u&&u,h=r.noWrap,g=void 0!==h&&h,v=r.paragraph,p=void 0!==v&&v,m=r.variant,y=void 0===m?"body1":m,b=r.variantMapping,_=void 0===b?Zo:b,k=f(r,$o),w=d({},r,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:g,paragraph:p,variant:y,variantMapping:_}),C=l||(p?"p":_[y]||Zo[y])||"span",S=function(e){var t=e.align,n=e.gutterBottom,i=e.noWrap,r=e.paragraph,o=e.variant,a=e.classes;return Qi({root:["root",o,"inherit"!==e.align&&"align".concat(Fo(t)),n&&"gutterBottom",i&&"noWrap",r&&"paragraph"]},Qo,a)}(w);return(0,mn.jsx)(Yo,d({as:C,ref:t,ownerState:w,className:Pn(S.root,s)},k))})),ea=Jo,ta=0;var na=r.useId;function ia(e){if(void 0!==na){var t=na();return null!=e?e:t}return function(e){var t=c(i.useState(e),2),n=t[0],r=t[1],o=e||n;return i.useEffect((function(){null==n&&r("mui-".concat(ta+=1))}),[n]),o}(e)}var ra=n(164);function oa(e){return e&&e.ownerDocument||document}function aa(e){return oa(e).defaultView||window}function sa(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function i(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==i)?(m.current+=1,{overflow:i,outerHeightStyle:n}):e},C=i.useCallback((function(){var e=k();da(e)||_((function(t){return w(t,e)}))}),[k]);i.useEffect((function(){var e,t=sa((function(){m.current=0,g.current&&function(){var e=k();da(e)||(0,ra.flushSync)((function(){_((function(t){return w(t,e)}))}))}()})),n=aa(g.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(g.current),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}})),Hr((function(){C()})),i.useEffect((function(){m.current=0}),[l]);return(0,mn.jsxs)(i.Fragment,{children:[(0,mn.jsx)("textarea",d({value:l,onChange:function(e){m.current=0,h||C(),n&&n(e)},ref:v,rows:a,style:d({height:b.outerHeightStyle,overflow:b.overflow?"hidden":null},s)},u)),(0,mn.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:d({},ca,s,{padding:0})})]})})),fa=ha;var ga=function(e){return"string"===typeof e};function va(e){var t=e.props,n=e.states,i=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],i&&"undefined"===typeof t[n]&&(e[n]=i[n]),e}),{})}var pa=i.createContext();function ma(){return i.useContext(pa)}var ya=Hr;function ba(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function _a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(ba(e.value)&&""!==e.value||t&&ba(e.defaultValue)&&""!==e.defaultValue)}function ka(e){return vr("MuiInputBase",e)}var wa=pr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Ca=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],Sa=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat(Fo(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},La=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xa=dr("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Sa})((function(e){var t=e.theme,n=e.ownerState;return d({},t.typography.body1,p({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(wa.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&d({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),Ea=dr("input",{name:"MuiInputBase",slot:"Input",overridesResolver:La})((function(e){var t,n=e.theme,i=e.ownerState,r="light"===n.palette.mode,o=d({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},s=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return d((p(t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},"label[data-shrink=false] + .".concat(wa.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s}),p(t,"&.".concat(wa.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),p(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===i.size&&{paddingTop:1},i.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===i.type&&{MozAppearance:"textfield"})})),Na=(0,mn.jsx)(bn,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Da=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiInputBase"}),r=n["aria-describedby"],o=n.autoComplete,a=n.autoFocus,s=n.className,l=n.components,u=void 0===l?{}:l,h=n.componentsProps,g=void 0===h?{}:h,v=n.defaultValue,p=n.disabled,m=n.disableInjectingGlobalStyles,y=n.endAdornment,b=n.fullWidth,_=void 0!==b&&b,k=n.id,w=n.inputComponent,C=void 0===w?"input":w,S=n.inputProps,L=void 0===S?{}:S,E=n.inputRef,N=n.maxRows,D=n.minRows,I=n.multiline,T=void 0!==I&&I,M=n.name,O=n.onBlur,P=n.onChange,A=n.onClick,R=n.onFocus,F=n.onKeyDown,B=n.onKeyUp,V=n.placeholder,W=n.readOnly,z=n.renderSuffix,H=n.rows,j=n.startAdornment,U=n.type,K=void 0===U?"text":U,q=n.value,G=f(n,Ca),Q=null!=L.value?L.value:q,$=i.useRef(null!=Q).current,Y=i.useRef(),Z=i.useCallback((function(e){0}),[]),X=zr(Y,E,L.ref,Z),J=c(i.useState(!1),2),ee=J[0],te=J[1],ne=ma();var ie=va({props:n,muiFormControl:ne,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ie.focused=ne?ne.focused:ee,i.useEffect((function(){!ne&&p&&ee&&(te(!1),O&&O())}),[ne,p,ee,O]);var re=ne&&ne.onFilled,oe=ne&&ne.onEmpty,ae=i.useCallback((function(e){_a(e)?re&&re():oe&&oe()}),[re,oe]);ya((function(){$&&ae({value:Q})}),[Q,ae,$]);i.useEffect((function(){ae(Y.current)}),[]);var se=C,le=L;T&&"input"===se&&(le=d(H?{type:void 0,minRows:H,maxRows:H}:{type:void 0,maxRows:N,minRows:D},le),se=fa);i.useEffect((function(){ne&&ne.setAdornedStart(Boolean(j))}),[ne,j]);var ue=d({},n,{color:ie.color||"primary",disabled:ie.disabled,endAdornment:y,error:ie.error,focused:ie.focused,formControl:ne,fullWidth:_,hiddenLabel:ie.hiddenLabel,multiline:T,size:ie.size,startAdornment:j,type:K}),ce=function(e){var t=e.classes,n=e.color,i=e.disabled,r=e.error,o=e.endAdornment,a=e.focused,s=e.formControl,l=e.fullWidth,u=e.hiddenLabel,c=e.multiline,d=e.readOnly,h=e.size,f=e.startAdornment,g=e.type;return Qi({root:["root","color".concat(Fo(n)),i&&"disabled",r&&"error",l&&"fullWidth",a&&"focused",s&&"formControl","small"===h&&"sizeSmall",c&&"multiline",f&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",i&&"disabled","search"===g&&"inputTypeSearch",c&&"inputMultiline","small"===h&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]},ka,t)}(ue),de=u.Root||xa,he=g.root||{},fe=u.Input||Ea;return le=d({},le,g.input),(0,mn.jsxs)(i.Fragment,{children:[!m&&Na,(0,mn.jsxs)(de,d({},he,!ga(de)&&{ownerState:d({},ue,he.ownerState)},{ref:t,onClick:function(e){Y.current&&e.currentTarget===e.target&&Y.current.focus(),A&&A(e)}},G,{className:Pn(ce.root,he.className,s),children:[j,(0,mn.jsx)(pa.Provider,{value:null,children:(0,mn.jsx)(fe,d({ownerState:ue,"aria-invalid":ie.error,"aria-describedby":r,autoComplete:o,autoFocus:a,defaultValue:v,disabled:ie.disabled,id:k,onAnimationStart:function(e){ae("mui-auto-fill-cancel"===e.animationName?Y.current:{value:"x"})},name:M,placeholder:V,readOnly:W,required:ie.required,rows:H,value:Q,onKeyDown:F,onKeyUp:B,type:K},le,!ga(fe)&&{as:se,ownerState:d({},ue,le.ownerState)},{ref:X,className:Pn(ce.input,le.className),onBlur:function(e){O&&O(e),L.onBlur&&L.onBlur(e),ne&&ne.onBlur?ne.onBlur(e):te(!1)},onChange:function(e){if(!$){var t=e.target||Y.current;if(null==t)throw new Error(x(1));ae({value:t.value})}for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));function $a(e){return vr("MuiOutlinedInput",e)}var Ya=d({},wa,pr("MuiOutlinedInput",["root","notchedOutline","input"])),Za=["components","fullWidth","inputComponent","label","multiline","notched","type"],Xa=dr(xa,{shouldForwardProp:function(e){return lr(e)||"classes"===e},name:"MuiOutlinedInput",slot:"Root",overridesResolver:Sa})((function(e){var t,n=e.theme,i=e.ownerState,r="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return d((p(t={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},"&:hover .".concat(Ya.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),p(t,"@media (hover: none)",p({},"&:hover .".concat(Ya.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):r})),p(t,"&.".concat(Ya.focused," .").concat(Ya.notchedOutline),{borderColor:(n.vars||n).palette[i.color].main,borderWidth:2}),p(t,"&.".concat(Ya.error," .").concat(Ya.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),p(t,"&.".concat(Ya.disabled," .").concat(Ya.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),t),i.startAdornment&&{paddingLeft:14},i.endAdornment&&{paddingRight:14},i.multiline&&d({padding:"16.5px 14px"},"small"===i.size&&{padding:"8.5px 14px"}))})),Ja=dr((function(e){var t=e.className,n=e.label,i=e.notched,r=f(e,qa),o=null!=n&&""!==n,a=d({},e,{notched:i,withLabel:o});return(0,mn.jsx)(Ga,d({"aria-hidden":!0,className:t,ownerState:a},r,{children:(0,mn.jsx)(Qa,{ownerState:a,children:o?(0,mn.jsx)("span",{children:n}):Ua||(Ua=(0,mn.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(e,t){return t.notchedOutline}})((function(e){var t=e.theme,n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?"rgba(".concat(t.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),es=dr(Ea,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:La})((function(e){var t=e.theme,n=e.ownerState;return d({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&p({"&:-webkit-autofill":{borderRadius:"inherit"}},t.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),ts=i.forwardRef((function(e,t){var n,r=He({props:e,name:"MuiOutlinedInput"}),o=r.components,a=void 0===o?{}:o,s=r.fullWidth,l=void 0!==s&&s,u=r.inputComponent,c=void 0===u?"input":u,h=r.label,g=r.multiline,v=void 0!==g&&g,p=r.notched,m=r.type,y=void 0===m?"text":m,b=f(r,Za),_=function(e){var t=e.classes;return d({},t,Qi({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},$a,t))}(r),k=ma(),w=va({props:r,muiFormControl:k,states:["required"]}),C=d({},r,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:k,fullWidth:l,hiddenLabel:w.hiddenLabel,multiline:v,size:w.size,type:y});return(0,mn.jsx)(Ia,d({components:d({Root:Xa,Input:es},a),renderSuffix:function(e){return(0,mn.jsx)(Ja,{ownerState:C,className:_.notchedOutline,label:null!=h&&""!==h&&w.required?n||(n=(0,mn.jsxs)(i.Fragment,{children:[h,"\xa0","*"]})):h,notched:"undefined"!==typeof p?p:Boolean(e.startAdornment||e.filled||e.focused)})},fullWidth:l,inputComponent:c,multiline:v,ref:t,type:y},b,{classes:d({},_,{notchedOutline:null})}))}));ts.muiName="Input";var ns=ts;function is(e){return vr("MuiFormLabel",e)}var rs=pr("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),os=["children","className","color","component","disabled","error","filled","focused","required"],as=dr("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return d({},t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled)}})((function(e){var t,n=e.theme,i=e.ownerState;return d({color:(n.vars||n).palette.text.secondary},n.typography.body1,(p(t={lineHeight:"1.4375em",padding:0,position:"relative"},"&.".concat(rs.focused),{color:(n.vars||n).palette[i.color].main}),p(t,"&.".concat(rs.disabled),{color:(n.vars||n).palette.text.disabled}),p(t,"&.".concat(rs.error),{color:(n.vars||n).palette.error.main}),t))})),ss=dr("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(e,t){return t.asterisk}})((function(e){var t=e.theme;return p({},"&.".concat(rs.error),{color:(t.vars||t).palette.error.main})})),ls=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiFormLabel"}),i=n.children,r=n.className,o=n.component,a=void 0===o?"label":o,s=f(n,os),l=va({props:n,muiFormControl:ma(),states:["color","required","focused","disabled","error","filled"]}),u=d({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),c=function(e){var t=e.classes,n=e.color,i=e.focused,r=e.disabled,o=e.error,a=e.filled,s=e.required;return Qi({root:["root","color".concat(Fo(n)),r&&"disabled",o&&"error",a&&"filled",i&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]},is,t)}(u);return(0,mn.jsxs)(as,d({as:a,ownerState:u,className:Pn(c.root,r),ref:t},s,{children:[i,l.required&&(0,mn.jsxs)(ss,{ownerState:u,"aria-hidden":!0,className:c.asterisk,children:["\u2009","*"]})]}))})),us=ls;function cs(e){return vr("MuiInputLabel",e)}pr("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var ds=["disableAnimation","margin","shrink","variant","className"],hs=dr(us,{shouldForwardProp:function(e){return lr(e)||"classes"===e},name:"MuiInputLabel",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[p({},"& .".concat(rs.asterisk),t.asterisk),t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return d({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&d({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&d({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&d({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),fs=i.forwardRef((function(e,t){var n=He({name:"MuiInputLabel",props:e}),i=n.disableAnimation,r=void 0!==i&&i,o=n.shrink,a=n.className,s=f(n,ds),l=ma(),u=o;"undefined"===typeof u&&l&&(u=l.filled||l.focused||l.adornedStart);var c=va({props:n,muiFormControl:l,states:["size","variant","required"]}),h=d({},n,{disableAnimation:r,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required}),g=function(e){var t=e.classes,n=e.formControl,i=e.size,r=e.shrink;return d({},t,Qi({root:["root",n&&"formControl",!e.disableAnimation&&"animated",r&&"shrink","small"===i&&"sizeSmall",e.variant],asterisk:[e.required&&"asterisk"]},cs,t))}(h);return(0,mn.jsx)(hs,d({"data-shrink":u,ownerState:h,ref:t,className:Pn(g.root,a)},s,{classes:g}))})),gs=fs;var vs=function(e,t){return i.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)};function ps(e){return vr("MuiFormControl",e)}pr("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var ms=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],ys=dr("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return d({},t.root,t["margin".concat(Fo(n.margin))],n.fullWidth&&t.fullWidth)}})((function(e){var t=e.ownerState;return d({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})})),bs=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiFormControl"}),r=n.children,o=n.className,a=n.color,s=void 0===a?"primary":a,l=n.component,u=void 0===l?"div":l,h=n.disabled,g=void 0!==h&&h,v=n.error,p=void 0!==v&&v,m=n.focused,y=n.fullWidth,b=void 0!==y&&y,_=n.hiddenLabel,k=void 0!==_&&_,w=n.margin,C=void 0===w?"none":w,S=n.required,L=void 0!==S&&S,x=n.size,E=void 0===x?"medium":x,N=n.variant,D=void 0===N?"outlined":N,I=f(n,ms),T=d({},n,{color:s,component:u,disabled:g,error:p,fullWidth:b,hiddenLabel:k,margin:C,required:L,size:E,variant:D}),M=function(e){var t=e.classes,n=e.margin,i=e.fullWidth;return Qi({root:["root","none"!==n&&"margin".concat(Fo(n)),i&&"fullWidth"]},ps,t)}(T),O=c(i.useState((function(){var e=!1;return r&&i.Children.forEach(r,(function(t){if(vs(t,["Input","Select"])){var n=vs(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),2),P=O[0],A=O[1],R=c(i.useState((function(){var e=!1;return r&&i.Children.forEach(r,(function(t){vs(t,["Input","Select"])&&_a(t.props,!0)&&(e=!0)})),e})),2),F=R[0],B=R[1],V=c(i.useState(!1),2),W=V[0],z=V[1];g&&W&&z(!1);var H=void 0===m||g?W:m,j=i.useCallback((function(){B(!0)}),[]),U={adornedStart:P,setAdornedStart:A,color:s,disabled:g,error:p,filled:F,focused:H,fullWidth:b,hiddenLabel:k,size:E,onBlur:function(){z(!1)},onEmpty:i.useCallback((function(){B(!1)}),[]),onFilled:j,onFocus:function(){z(!0)},registerEffect:undefined,required:L,variant:D};return(0,mn.jsx)(pa.Provider,{value:U,children:(0,mn.jsx)(ys,d({as:u,ownerState:T,className:Pn(M.root,o),ref:t},I,{children:r}))})})),_s=bs;function ks(e){return vr("MuiFormHelperText",e)}var ws,Cs=pr("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),Ss=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ls=dr("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.size&&t["size".concat(Fo(n.size))],n.contained&&t.contained,n.filled&&t.filled]}})((function(e){var t,n=e.theme,i=e.ownerState;return d({color:(n.vars||n).palette.text.secondary},n.typography.caption,(p(t={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},"&.".concat(Cs.disabled),{color:(n.vars||n).palette.text.disabled}),p(t,"&.".concat(Cs.error),{color:(n.vars||n).palette.error.main}),t),"small"===i.size&&{marginTop:4},i.contained&&{marginLeft:14,marginRight:14})})),xs=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiFormHelperText"}),i=n.children,r=n.className,o=n.component,a=void 0===o?"p":o,s=f(n,Ss),l=va({props:n,muiFormControl:ma(),states:["variant","size","disabled","error","filled","focused","required"]}),u=d({},n,{component:a,contained:"filled"===l.variant||"outlined"===l.variant,variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),c=function(e){var t=e.classes,n=e.contained,i=e.size,r=e.disabled,o=e.error,a=e.filled,s=e.focused,l=e.required;return Qi({root:["root",r&&"disabled",o&&"error",i&&"size".concat(Fo(i)),n&&"contained",s&&"focused",a&&"filled",l&&"required"]},ks,t)}(u);return(0,mn.jsx)(Ls,d({as:a,ownerState:u,className:Pn(c.root,r),ref:t},s,{children:" "===i?ws||(ws=(0,mn.jsx)("span",{className:"notranslate",children:"\u200b"})):i}))})),Es=xs,Ns=(n(441),oa);var Ds=i.createContext({});function Is(e){return vr("MuiList",e)}pr("MuiList",["root","padding","dense","subheader"]);var Ts=["children","className","component","dense","disablePadding","subheader"],Ms=dr("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return d({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Os=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiList"}),r=n.children,o=n.className,a=n.component,s=void 0===a?"ul":a,l=n.dense,u=void 0!==l&&l,c=n.disablePadding,h=void 0!==c&&c,g=n.subheader,v=f(n,Ts),p=i.useMemo((function(){return{dense:u}}),[u]),m=d({},n,{component:s,dense:u,disablePadding:h}),y=function(e){var t=e.classes;return Qi({root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]},Is,t)}(m);return(0,mn.jsx)(Ds.Provider,{value:p,children:(0,mn.jsxs)(Ms,d({as:s,className:Pn(y.root,o),ref:t,ownerState:m},v,{children:[g,r]}))})}));function Ps(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var As=Ps,Rs=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Fs(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Bs(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Vs(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Ws(e,t,n,i,r,o){for(var a=!1,s=r(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var l=!i&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Vs(s,o)&&!l)return s.focus(),!0;s=r(e,s,n)}return!1}var zs=i.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,o=void 0!==r&&r,a=e.autoFocusItem,s=void 0!==a&&a,l=e.children,u=e.className,c=e.disabledItemsFocusable,h=void 0!==c&&c,g=e.disableListWrap,v=void 0!==g&&g,p=e.onKeyDown,m=e.variant,y=void 0===m?"selectedMenu":m,b=f(e,Rs),_=i.useRef(null),k=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ya((function(){o&&_.current.focus()}),[o]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!_.current.style.width;if(e.clientHeight<_.current.clientHeight&&n){var i="".concat(As(Ns(e)),"px");_.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=i,_.current.style.width="calc(100% + ".concat(i,")")}return _.current}}}),[]);var w=zr(_,t),C=-1;i.Children.forEach(l,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===y&&e.props.selected||-1===C)&&(C=t))}));var S=i.Children.map(l,(function(e,t){if(t===C){var n={};return s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===y&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return(0,mn.jsx)(Os,d({role:"menu",ref:w,className:u,onKeyDown:function(e){var t=_.current,n=e.key,i=Ns(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Ws(t,i,v,h,Fs);else if("ArrowUp"===n)e.preventDefault(),Ws(t,i,v,h,Bs);else if("Home"===n)e.preventDefault(),Ws(t,null,v,h,Fs);else if("End"===n)e.preventDefault(),Ws(t,null,v,h,Bs);else if(1===n.length){var r=k.current,o=n.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&o!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(o);var s=i&&!r.repeating&&Vs(i,r);r.previousKeyMatched&&(s||Ws(t,i,!1,h,Fs,r))?e.preventDefault():r.previousKeyMatched=!1}p&&p(e)},tabIndex:o?0:-1},b,{children:S}))})),Hs=zs;function js(e){return vr("MuiPaper",e)}pr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Us=["className","component","elevation","square","variant"],Ks=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)},qs=dr("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,i=e.ownerState;return d({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!i.square&&{borderRadius:n.shape.borderRadius},"outlined"===i.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===i.variant&&d({boxShadow:(n.vars||n).shadows[i.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat(ue("#fff",Ks(i.elevation)),", ").concat(ue("#fff",Ks(i.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[i.elevation]}))})),Gs=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiPaper"}),i=n.className,r=n.component,o=void 0===r?"div":r,a=n.elevation,s=void 0===a?1:a,l=n.square,u=void 0!==l&&l,c=n.variant,h=void 0===c?"elevation":c,g=f(n,Us),v=d({},n,{component:o,elevation:s,square:u,variant:h}),p=function(e){var t=e.square,n=e.elevation,i=e.variant,r=e.classes;return Qi({root:["root",i,!t&&"rounded","elevation"===i&&"elevation".concat(n)]},js,r)}(v);return(0,mn.jsx)(qs,d({as:o,ownerState:v,className:Pn(p.root,i),ref:t},g))})),Qs=sa,$s=aa,Ys=!1,Zs="unmounted",Xs="exited",Js="entering",el="entered",tl="exiting",nl=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=Xs,i.appearStatus=Js):r=el:r=t.unmountOnExit||t.mountOnEnter?Zs:Xs,i.state={status:r},i.nextCallback=null,i}io(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Zs?{status:Xs}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Js&&n!==el&&(t=Js):n!==Js&&n!==el||(t=tl)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!==typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Js){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ra.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xs&&this.setState({status:Zs})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[ra.findDOMNode(this),i],o=r[0],a=r[1],s=this.getTimeouts(),l=i?s.appear:s.enter;!e&&!n||Ys?this.safeSetState({status:el},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:Js},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:el},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:ra.findDOMNode(this);t&&!Ys?(this.props.onExit(i),this.safeSetState({status:tl},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Xs},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:Xs},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ra.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],a=r[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Zs)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,f(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(ro.Provider,{value:null},"function"===typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function il(){}nl.contextType=ro,nl.propTypes={},nl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:il,onEntering:il,onEntered:il,onExit:il,onExiting:il,onExited:il},nl.UNMOUNTED=Zs,nl.EXITED=Xs,nl.ENTERING=Js,nl.ENTERED=el,nl.EXITING=tl;var rl=nl,ol=function(e){return e.scrollTop};function al(e,t){var n,i,r=e.timeout,o=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof r?r:r[t.mode]||0,easing:null!=(i=s.transitionTimingFunction)?i:"object"===typeof o?o[t.mode]:o,delay:s.transitionDelay}}var sl=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ll(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ul={entering:{opacity:1,transform:ll(1)},entered:{opacity:1,transform:"none"}},cl="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),dl=i.forwardRef((function(e,t){var n=e.addEndListener,r=e.appear,o=void 0===r||r,a=e.children,s=e.easing,l=e.in,u=e.onEnter,c=e.onEntered,h=e.onEntering,g=e.onExit,v=e.onExited,p=e.onExiting,m=e.style,y=e.timeout,b=void 0===y?"auto":y,_=e.TransitionComponent,k=void 0===_?rl:_,w=f(e,sl),C=i.useRef(),S=i.useRef(),L=hr(),x=i.useRef(null),E=zr(x,a.ref,t),N=function(e){return function(t){if(e){var n=x.current;void 0===t?e(n):e(n,t)}}},D=N(h),I=N((function(e,t){ol(e);var n,i=al({style:m,timeout:b,easing:s},{mode:"enter"}),r=i.duration,o=i.delay,a=i.easing;"auto"===b?(n=L.transitions.getAutoHeightDuration(e.clientHeight),S.current=n):n=r,e.style.transition=[L.transitions.create("opacity",{duration:n,delay:o}),L.transitions.create("transform",{duration:cl?n:.666*n,delay:o,easing:a})].join(","),u&&u(e,t)})),T=N(c),M=N(p),O=N((function(e){var t,n=al({style:m,timeout:b,easing:s},{mode:"exit"}),i=n.duration,r=n.delay,o=n.easing;"auto"===b?(t=L.transitions.getAutoHeightDuration(e.clientHeight),S.current=t):t=i,e.style.transition=[L.transitions.create("opacity",{duration:t,delay:r}),L.transitions.create("transform",{duration:cl?t:.666*t,delay:cl?r:r||.333*t,easing:o})].join(","),e.style.opacity=0,e.style.transform=ll(.75),g&&g(e)})),P=N(v);return i.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),(0,mn.jsx)(k,d({appear:o,in:l,nodeRef:x,onEnter:I,onEntered:T,onEntering:D,onExit:O,onExited:P,onExiting:M,addEndListener:function(e){"auto"===b&&(C.current=setTimeout(e,S.current||0)),n&&n(x.current,e)},timeout:"auto"===b?null:b},w,{children:function(e,t){return i.cloneElement(a,d({style:d({opacity:0,transform:ll(.75),visibility:"exited"!==e||l?void 0:"hidden"},ul[e],m,a.props.style),ref:E},t))}}))}));dl.muiSupportAuto=!0;var hl=dl;function fl(){for(var e=arguments.length,t=new Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(Wi(i));[].forEach.call(e.children,(function(e){var t=-1===o.indexOf(e),n=!_l(e);t&&n&&yl(e,r)}))}function wl(e,t){var n=-1;return e.some((function(e,i){return!!t(e)&&(n=i,!0)})),n}function Cl(e,t){var n=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=oa(e);return t.body===e?aa(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var r=Ps(oa(i));n.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight="".concat(bl(i)+r,"px");var o=oa(i).querySelectorAll(".mui-fixed");[].forEach.call(o,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(bl(e)+r,"px")}))}var a;if(i.parentNode instanceof DocumentFragment)a=oa(i).body;else{var s=i.parentElement,l=aa(i);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:i}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,i=e.property;t?n.style.setProperty(i,t):n.style.removeProperty(i)}))}}var Sl=function(){function e(){vl(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return ml(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&yl(e.modalRef,!1);var i=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);kl(t,e.mount,e.modalRef,i,!0);var r=wl(this.containers,(function(e){return e.container===t}));return-1!==r?(this.containers[r].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:i}),n)}},{key:"mount",value:function(e,t){var n=wl(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),i=this.containers[n];i.restore||(i.restore=Cl(i,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var i=wl(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[i];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&yl(e.modalRef,t),kl(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(i,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&yl(o.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}(),Ll=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xl(e){var t=[],n=[];return Array.from(e.querySelectorAll(Ll)).forEach((function(e,i){var r=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===r?t.push(e):n.push({documentOrder:i,tabIndex:r,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function El(){return!0}var Nl=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,a=void 0!==o&&o,s=e.disableRestoreFocus,l=void 0!==s&&s,u=e.getTabbable,c=void 0===u?xl:u,d=e.isEnabled,h=void 0===d?El:d,f=e.open,g=i.useRef(),v=i.useRef(null),p=i.useRef(null),m=i.useRef(null),y=i.useRef(null),b=i.useRef(!1),_=i.useRef(null),k=Wr(t.ref,_),w=i.useRef(null);i.useEffect((function(){f&&_.current&&(b.current=!r)}),[r,f]),i.useEffect((function(){if(f&&_.current){var e=oa(_.current);return _.current.contains(e.activeElement)||(_.current.hasAttribute("tabIndex")||_.current.setAttribute("tabIndex",-1),b.current&&_.current.focus()),function(){l||(m.current&&m.current.focus&&(g.current=!0,m.current.focus()),m.current=null)}}}),[f]),i.useEffect((function(){if(f&&_.current){var e=oa(_.current),t=function(t){var n=_.current;if(null!==n)if(e.hasFocus()&&!a&&h()&&!g.current){if(!n.contains(e.activeElement)){if(t&&y.current!==t.target||e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;var i=[];if(e.activeElement!==v.current&&e.activeElement!==p.current||(i=c(_.current)),i.length>0){var r,o,s=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=w.current)?void 0:o.key)),l=i[0],u=i[i.length-1];s?u.focus():l.focus()}else n.focus()}}else g.current=!1},n=function(t){w.current=t,!a&&h()&&"Tab"===t.key&&e.activeElement===_.current&&t.shiftKey&&(g.current=!0,p.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);var i=setInterval((function(){"BODY"===e.activeElement.tagName&&t()}),50);return function(){clearInterval(i),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}}),[r,a,l,h,f,c]);var C=function(e){null===m.current&&(m.current=e.relatedTarget),b.current=!0};return(0,mn.jsxs)(i.Fragment,{children:[(0,mn.jsx)("div",{tabIndex:f?0:-1,onFocus:C,ref:v,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:k,onFocus:function(e){null===m.current&&(m.current=e.relatedTarget),b.current=!0,y.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,mn.jsx)("div",{tabIndex:f?0:-1,onFocus:C,ref:p,"data-testid":"sentinelEnd"})]})};function Dl(e){return vr("MuiModal",e)}pr("MuiModal",["root","hidden"]);function Il(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}function Tl(e){var t=e.getSlotProps,n=e.additionalProps,i=e.externalSlotProps,r=e.externalForwardedProps,o=e.className;if(!t){var a=Pn(null==r?void 0:r.className,null==i?void 0:i.className,o,null==n?void 0:n.className),s=d({},null==n?void 0:n.style,null==r?void 0:r.style,null==i?void 0:i.style),l=d({},n,r,i);return a.length>0&&(l.className=a),Object.keys(s).length>0&&(l.style=s),{props:l,internalRef:void 0}}var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}(d({},r,i)),c=Il(i),h=Il(r),f=t(u),g=Pn(null==f?void 0:f.className,null==n?void 0:n.className,o,null==r?void 0:r.className,null==i?void 0:i.className),v=d({},null==f?void 0:f.style,null==n?void 0:n.style,null==r?void 0:r.style,null==i?void 0:i.style),p=d({},f,n,h,c);return g.length>0&&(p.className=g),Object.keys(v).length>0&&(p.style=v),{props:p,internalRef:f.ref}}function Ml(e,t){return"function"===typeof e?e(t):e}var Ol=["elementType","externalSlotProps","ownerState"];function Pl(e){var t,n=e.elementType,i=e.externalSlotProps,r=e.ownerState,o=f(e,Ol),a=Ml(i,r),s=Tl(d({},o,{externalSlotProps:a})),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return ga(e)?t:d({},t,{ownerState:d({},t.ownerState,n)})}(n,d({},s.props,{ref:Wr(s.internalRef,null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref)}),r);return l}var Al=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];var Rl=new Sl,Fl=i.forwardRef((function(e,t){var n,r=e.children,o=e.classes,a=e.closeAfterTransition,s=void 0!==a&&a,l=e.component,u=void 0===l?"div":l,h=e.components,g=void 0===h?{}:h,v=e.componentsProps,p=void 0===v?{}:v,m=e.container,y=e.disableAutoFocus,b=void 0!==y&&y,_=e.disableEnforceFocus,k=void 0!==_&&_,w=e.disableEscapeKeyDown,C=void 0!==w&&w,S=e.disablePortal,L=void 0!==S&&S,x=e.disableRestoreFocus,E=void 0!==x&&x,N=e.disableScrollLock,D=void 0!==N&&N,I=e.hideBackdrop,T=void 0!==I&&I,M=e.keepMounted,O=void 0!==M&&M,P=e.manager,A=void 0===P?Rl:P,R=e.onBackdropClick,F=e.onClose,B=e.onKeyDown,V=e.open,W=e.onTransitionEnter,z=e.onTransitionExited,H=f(e,Al),j=c(i.useState(!0),2),U=j[0],K=j[1],q=i.useRef({}),G=i.useRef(null),Q=i.useRef(null),$=Wr(Q,t),Y=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),Z=null==(n=e["aria-hidden"])||n,X=function(){return q.current.modalRef=Q.current,q.current.mountNode=G.current,q.current},J=function(){A.mount(X(),{disableScrollLock:D}),Q.current.scrollTop=0},ee=jr((function(){var e=function(e){return"function"===typeof e?e():e}(m)||oa(G.current).body;A.add(X(),e),Q.current&&J()})),te=i.useCallback((function(){return A.isTopModal(X())}),[A]),ne=jr((function(e){G.current=e,e&&(V&&te()?J():yl(Q.current,Z))})),ie=i.useCallback((function(){A.remove(X(),Z)}),[A,Z]);i.useEffect((function(){return function(){ie()}}),[ie]),i.useEffect((function(){V?ee():Y&&s||ie()}),[V,ie,Y,s,ee]);var re=d({},e,{classes:o,closeAfterTransition:s,disableAutoFocus:b,disableEnforceFocus:k,disableEscapeKeyDown:C,disablePortal:L,disableRestoreFocus:E,disableScrollLock:D,exited:U,hideBackdrop:T,keepMounted:O}),oe=function(e){var t=e.open,n=e.exited;return Qi({root:["root",!t&&n&&"hidden"]},Dl,e.classes)}(re),ae={};void 0===r.props.tabIndex&&(ae.tabIndex="-1"),Y&&(ae.onEnter=fl((function(){K(!1),W&&W()}),r.props.onEnter),ae.onExited=fl((function(){K(!0),z&&z(),s&&ie()}),r.props.onExited));var se=g.Root||u,le=Pl({elementType:se,externalSlotProps:p.root,externalForwardedProps:H,additionalProps:{ref:$,role:"presentation",onKeyDown:function(e){B&&B(e),"Escape"===e.key&&te()&&(C||(e.stopPropagation(),F&&F(e,"escapeKeyDown")))}},className:oe.root,ownerState:re}),ue=g.Backdrop,ce=Pl({elementType:ue,externalSlotProps:p.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(e){e.target===e.currentTarget&&(R&&R(e),F&&F(e,"backdropClick"))},open:V},ownerState:re});return O||V||Y&&!U?(0,mn.jsx)(gl,{ref:ne,container:m,disablePortal:L,children:(0,mn.jsxs)(se,d({},le,{children:[!T&&ue?(0,mn.jsx)(ue,d({},ce)):null,(0,mn.jsx)(Nl,{disableEnforceFocus:k,disableAutoFocus:b,disableRestoreFocus:E,isEnabled:te,open:V,children:i.cloneElement(r,ae)})]}))}):null})),Bl=Fl,Vl=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Wl={entering:{opacity:1},entered:{opacity:1}},zl=i.forwardRef((function(e,t){var n=hr(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},o=e.addEndListener,a=e.appear,s=void 0===a||a,l=e.children,u=e.easing,c=e.in,h=e.onEnter,g=e.onEntered,v=e.onEntering,p=e.onExit,m=e.onExited,y=e.onExiting,b=e.style,_=e.timeout,k=void 0===_?r:_,w=e.TransitionComponent,C=void 0===w?rl:w,S=f(e,Vl),L=i.useRef(null),x=zr(L,l.ref,t),E=function(e){return function(t){if(e){var n=L.current;void 0===t?e(n):e(n,t)}}},N=E(v),D=E((function(e,t){ol(e);var i=al({style:b,timeout:k,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",i),e.style.transition=n.transitions.create("opacity",i),h&&h(e,t)})),I=E(g),T=E(y),M=E((function(e){var t=al({style:b,timeout:k,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),O=E(m);return(0,mn.jsx)(C,d({appear:s,in:c,nodeRef:L,onEnter:D,onEntered:I,onEntering:N,onExit:M,onExited:O,onExiting:T,addEndListener:function(e){o&&o(L.current,e)},timeout:k},S,{children:function(e,t){return i.cloneElement(l,d({style:d({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Wl[e],b,l.props.style),ref:x},t))}}))})),Hl=zl;function jl(e){return vr("MuiBackdrop",e)}pr("MuiBackdrop",["root","invisible"]);var Ul=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],Kl=dr("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){return d({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.ownerState.invisible&&{backgroundColor:"transparent"})})),ql=i.forwardRef((function(e,t){var n,i,r=He({props:e,name:"MuiBackdrop"}),o=r.children,a=r.component,s=void 0===a?"div":a,l=r.components,u=void 0===l?{}:l,c=r.componentsProps,h=void 0===c?{}:c,g=r.className,v=r.invisible,p=void 0!==v&&v,m=r.open,y=r.transitionDuration,b=r.TransitionComponent,_=void 0===b?Hl:b,k=f(r,Ul),w=d({},r,{component:s,invisible:p}),C=function(e){var t=e.classes;return Qi({root:["root",e.invisible&&"invisible"]},jl,t)}(w);return(0,mn.jsx)(_,d({in:m,timeout:y},k,{children:(0,mn.jsx)(Kl,{"aria-hidden":!0,as:null!=(n=u.Root)?n:s,className:Pn(C.root,g),ownerState:d({},w,null==(i=h.root)?void 0:i.ownerState),classes:C,ref:t,children:o})}))})),Gl=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],Ql=dr("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return d({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),$l=dr(ql,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),Yl=i.forwardRef((function(e,t){var n,r,o=He({name:"MuiModal",props:e}),a=o.BackdropComponent,s=void 0===a?$l:a,l=o.BackdropProps,u=o.closeAfterTransition,h=void 0!==u&&u,g=o.children,v=o.component,p=o.components,m=void 0===p?{}:p,y=o.componentsProps,b=void 0===y?{}:y,_=o.disableAutoFocus,k=void 0!==_&&_,w=o.disableEnforceFocus,C=void 0!==w&&w,S=o.disableEscapeKeyDown,L=void 0!==S&&S,x=o.disablePortal,E=void 0!==x&&x,N=o.disableRestoreFocus,D=void 0!==N&&N,I=o.disableScrollLock,T=void 0!==I&&I,M=o.hideBackdrop,O=void 0!==M&&M,P=o.keepMounted,A=void 0!==P&&P,R=o.theme,F=f(o,Gl),B=c(i.useState(!0),2),V=B[0],W=B[1],z={closeAfterTransition:h,disableAutoFocus:k,disableEnforceFocus:C,disableEscapeKeyDown:L,disablePortal:E,disableRestoreFocus:D,disableScrollLock:T,hideBackdrop:O,keepMounted:A},H=d({},o,z,{exited:V}),j=function(e){return e.classes}(H),U=null!=(n=null!=(r=m.Root)?r:v)?n:Ql;return(0,mn.jsx)(Bl,d({components:d({Root:U,Backdrop:s},m),componentsProps:{root:function(){return d({},Ml(b.root,H),!ga(U)&&{as:v,theme:R})},backdrop:function(){return d({},l,Ml(b.backdrop,H))}},onTransitionEnter:function(){return W(!1)},onTransitionExited:function(){return W(!0)},ref:t},F,{classes:j},z,{children:g}))})),Zl=Yl;function Xl(e){return vr("MuiPopover",e)}pr("MuiPopover",["root","paper"]);var Jl=["onEntering"],eu=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function tu(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function nu(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function iu(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function ru(e){return"function"===typeof e?e():e}var ou=dr(Zl,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),au=dr(Gs,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),su=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiPopover"}),r=n.action,o=n.anchorEl,a=n.anchorOrigin,s=void 0===a?{vertical:"top",horizontal:"left"}:a,l=n.anchorPosition,u=n.anchorReference,c=void 0===u?"anchorEl":u,h=n.children,g=n.className,v=n.container,p=n.elevation,m=void 0===p?8:p,y=n.marginThreshold,b=void 0===y?16:y,_=n.open,k=n.PaperProps,w=void 0===k?{}:k,C=n.transformOrigin,S=void 0===C?{vertical:"top",horizontal:"left"}:C,L=n.TransitionComponent,x=void 0===L?hl:L,E=n.transitionDuration,N=void 0===E?"auto":E,D=n.TransitionProps,I=(D=void 0===D?{}:D).onEntering,T=f(n.TransitionProps,Jl),M=f(n,eu),O=i.useRef(),P=zr(O,w.ref),A=d({},n,{anchorOrigin:s,anchorReference:c,elevation:m,marginThreshold:b,PaperProps:w,transformOrigin:S,TransitionComponent:x,transitionDuration:N,TransitionProps:T}),R=function(e){return Qi({root:["root"],paper:["paper"]},Xl,e.classes)}(A),F=i.useCallback((function(){if("anchorPosition"===c)return l;var e=ru(o),t=(e&&1===e.nodeType?e:Ns(O.current).body).getBoundingClientRect();return{top:t.top+tu(t,s.vertical),left:t.left+nu(t,s.horizontal)}}),[o,s.horizontal,s.vertical,l,c]),B=i.useCallback((function(e){return{vertical:tu(e,S.vertical),horizontal:nu(e,S.horizontal)}}),[S.horizontal,S.vertical]),V=i.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=B(t);if("none"===c)return{top:null,left:null,transformOrigin:iu(n)};var i=F(),r=i.top-n.vertical,a=i.left-n.horizontal,s=r+t.height,l=a+t.width,u=$s(ru(o)),d=u.innerHeight-b,h=u.innerWidth-b;if(rd){var g=s-d;r-=g,n.vertical+=g}if(ah){var p=l-h;a-=p,n.horizontal+=p}return{top:"".concat(Math.round(r),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:iu(n)}}),[o,c,F,B,b]),W=i.useCallback((function(){var e=O.current;if(e){var t=V(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[V]);i.useEffect((function(){_&&W()})),i.useImperativeHandle(r,(function(){return _?{updatePosition:function(){W()}}:null}),[_,W]),i.useEffect((function(){if(_){var e=Qs((function(){W()})),t=$s(o);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[o,_,W]);var z=N;"auto"!==N||x.muiSupportAuto||(z=void 0);var H=v||(o?Ns(ru(o)).body:void 0);return(0,mn.jsx)(ou,d({BackdropProps:{invisible:!0},className:Pn(R.root,g),container:H,open:_,ref:t,ownerState:A},M,{children:(0,mn.jsx)(x,d({appear:!0,in:_,onEntering:function(e,t){I&&I(e,t),W()},timeout:z},T,{children:(0,mn.jsx)(au,d({elevation:m},w,{ref:P,className:Pn(R.paper,w.className),ownerState:A,children:h}))}))}))})),lu=su;function uu(e){return vr("MuiMenu",e)}pr("MuiMenu",["root","paper","list"]);var cu=["onEntering"],du=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],hu={vertical:"top",horizontal:"right"},fu={vertical:"top",horizontal:"left"},gu=dr(lu,{shouldForwardProp:function(e){return lr(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),vu=dr(Gs,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),pu=dr(Hs,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),mu=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiMenu"}),r=n.autoFocus,o=void 0===r||r,a=n.children,s=n.disableAutoFocusItem,l=void 0!==s&&s,u=n.MenuListProps,c=void 0===u?{}:u,h=n.onClose,g=n.open,v=n.PaperProps,p=void 0===v?{}:v,m=n.PopoverClasses,y=n.transitionDuration,b=void 0===y?"auto":y,_=n.TransitionProps,k=(_=void 0===_?{}:_).onEntering,w=n.variant,C=void 0===w?"selectedMenu":w,S=f(n.TransitionProps,cu),L=f(n,du),x=hr(),E="rtl"===x.direction,N=d({},n,{autoFocus:o,disableAutoFocusItem:l,MenuListProps:c,onEntering:k,PaperProps:p,transitionDuration:b,TransitionProps:S,variant:C}),D=function(e){return Qi({root:["root"],paper:["paper"],list:["list"]},uu,e.classes)}(N),I=o&&!l&&g,T=i.useRef(null),M=-1;return i.Children.map(a,(function(e,t){i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===C&&e.props.selected||-1===M)&&(M=t))})),(0,mn.jsx)(gu,d({classes:m,onClose:h,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?hu:fu,PaperProps:d({component:vu},p,{classes:d({},p.classes,{root:D.paper})}),className:D.root,open:g,ref:t,transitionDuration:b,TransitionProps:d({onEntering:function(e,t){T.current&&T.current.adjustStyleForScrollbar(e,x),k&&k(e,t)}},S),ownerState:N},L,{children:(0,mn.jsx)(pu,d({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),h&&h(e,"tabKeyDown"))},actions:T,autoFocus:o&&(-1===M||l),autoFocusItem:I,variant:C},c,{className:Pn(D.list,c.className),children:a}))}))})),yu=mu;function bu(e){return vr("MuiNativeSelect",e)}var _u=pr("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),ku=["className","disabled","IconComponent","inputRef","variant"],wu=function(e){var t,n=e.ownerState,i=e.theme;return d((p(t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===i.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},"&.".concat(_u.disabled),{cursor:"default"}),p(t,"&[multiple]",{height:"auto"}),p(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:i.palette.background.paper}),p(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:i.shape.borderRadius,"&:focus":{borderRadius:i.shape.borderRadius},"&&&":{paddingRight:32}})},Cu=dr("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:lr,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],p({},"&.".concat(_u.multiple),t.multiple)]}})(wu),Su=function(e){var t=e.ownerState,n=e.theme;return d(p({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(_u.disabled),{color:n.palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},Lu=dr("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat(Fo(n.variant))],n.open&&t.iconOpen]}})(Su),xu=i.forwardRef((function(e,t){var n=e.className,r=e.disabled,o=e.IconComponent,a=e.inputRef,s=e.variant,l=void 0===s?"standard":s,u=f(e,ku),c=d({},e,{disabled:r,variant:l}),h=function(e){var t=e.classes,n=e.variant,i=e.disabled,r=e.multiple,o=e.open;return Qi({select:["select",n,i&&"disabled",r&&"multiple"],icon:["icon","icon".concat(Fo(n)),o&&"iconOpen",i&&"disabled"]},bu,t)}(c);return(0,mn.jsxs)(i.Fragment,{children:[(0,mn.jsx)(Cu,d({ownerState:c,className:Pn(h.select,n),disabled:r,ref:a||t},u)),e.multiple?null:(0,mn.jsx)(Lu,{as:o,ownerState:c,className:h.icon})]})}));var Eu=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,i.useRef(void 0!==t).current),o=c(i.useState(n),2),a=o[0],s=o[1];return[r?t:a,i.useCallback((function(e){r||s(e)}),[])]};function Nu(e){return vr("MuiSelect",e)}var Du,Iu=pr("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),Tu=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Mu=dr("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[p({},"&.".concat(Iu.select),t.select),p({},"&.".concat(Iu.select),t[n.variant]),p({},"&.".concat(Iu.multiple),t.multiple)]}})(wu,p({},"&.".concat(Iu.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),Ou=dr("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat(Fo(n.variant))],n.open&&t.iconOpen]}})(Su),Pu=dr("input",{shouldForwardProp:function(e){return ur(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Au(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function Ru(e){return null==e||"string"===typeof e&&!e.trim()}var Fu=i.forwardRef((function(e,t){var n=e["aria-describedby"],r=e["aria-label"],o=e.autoFocus,a=e.autoWidth,s=e.children,l=e.className,u=e.defaultOpen,h=e.defaultValue,g=e.disabled,v=e.displayEmpty,p=e.IconComponent,m=e.inputRef,y=e.labelId,b=e.MenuProps,_=void 0===b?{}:b,k=e.multiple,w=e.name,C=e.onBlur,S=e.onChange,L=e.onClose,E=e.onFocus,N=e.onOpen,D=e.open,I=e.readOnly,T=e.renderValue,M=e.SelectDisplayProps,O=void 0===M?{}:M,P=e.tabIndex,A=e.value,R=e.variant,F=void 0===R?"standard":R,B=f(e,Tu),V=c(Eu({controlled:A,default:h,name:"Select"}),2),W=V[0],z=V[1],H=c(Eu({controlled:D,default:u,name:"Select"}),2),j=H[0],U=H[1],K=i.useRef(null),q=i.useRef(null),G=c(i.useState(null),2),Q=G[0],$=G[1],Y=i.useRef(null!=D).current,Z=c(i.useState(),2),X=Z[0],J=Z[1],ee=zr(t,m),te=i.useCallback((function(e){q.current=e,e&&$(e)}),[]);i.useImperativeHandle(ee,(function(){return{focus:function(){q.current.focus()},node:K.current,value:W}}),[W]),i.useEffect((function(){u&&j&&Q&&!Y&&(J(a?null:Q.clientWidth),q.current.focus())}),[Q,a]),i.useEffect((function(){o&&q.current.focus()}),[o]),i.useEffect((function(){if(y){var e=Ns(q.current).getElementById(y);if(e){var t=function(){getSelection().isCollapsed&&q.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[y]);var ne,ie,re=function(e,t){e?N&&N(t):L&&L(t),Y||(J(a?null:Q.clientWidth),U(e))},oe=i.Children.toArray(s),ae=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(k){n=Array.isArray(W)?W.slice():[];var i=W.indexOf(e.props.value);-1===i?n.push(e.props.value):n.splice(i,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),W!==n&&(z(n),S)){var r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:w}}),S(o,e)}k||re(!1,t)}}},se=null!==Q&&j;delete B["aria-invalid"];var le=[],ue=!1;(_a({value:W})||v)&&(T?ne=T(W):ue=!0);var ce=oe.map((function(e,t,n){if(!i.isValidElement(e))return null;var r;if(k){if(!Array.isArray(W))throw new Error(x(2));(r=W.some((function(t){return Au(t,e.props.value)})))&&ue&&le.push(e.props.children)}else(r=Au(W,e.props.value))&&ue&&(ie=e.props.children);if(r&&!0,void 0===e.props.value)return i.cloneElement(e,{"aria-readonly":!0,role:"option"});return i.cloneElement(e,{"aria-selected":r?"true":"false",onClick:ae(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?function(){if(W)return r;var t=n.find((function(e){return void 0!==e.props.value&&!0!==e.props.disabled}));return e===t||r}():r,value:void 0,"data-value":e.props.value})}));ue&&(ne=k?0===le.length?null:le.reduce((function(e,t,n){return e.push(t),n :not(:first-of-type)":{marginLeft:8}})})),Pd=i.forwardRef((function(e,t){var n=He({props:e,name:"MuiDialogActions"}),i=n.className,r=n.disableSpacing,o=void 0!==r&&r,a=f(n,Md),s=d({},n,{disableSpacing:o}),l=function(e){var t=e.classes;return Qi({root:["root",!e.disableSpacing&&"spacing"]},Td,t)}(s);return(0,mn.jsx)(Od,d({className:Pn(l.root,i),ownerState:s,ref:t},a))})),Ad=function(e){var t=e.error,n=e.title,i=e.setError,r=function(){i("")};return(0,mn.jsx)(mn.Fragment,{children:t&&(0,mn.jsxs)(md,{open:!0,onClose:r,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[(0,mn.jsx)(wd,{id:"alert-dialog-title",children:n||"Request error"}),(0,mn.jsx)(xd,{children:(0,mn.jsx)(Id,{id:"alert-dialog-description",children:t})}),(0,mn.jsx)(Pd,{children:(0,mn.jsx)(Go,{onClick:r,autoFocus:!0,children:"OK"})})]})})};function Rd(){var e=c((0,i.useState)(""),2),t=e[0],n=e[1],r=c(Yc(),2),o=r[0],a=r[1],s=c(td("device_id",""),2),l=s[0],u=s[1],d=c((0,i.useState)(""),2),h=d[0],f=d[1],g=function(){var e=Mn(Nn().mark((function e(){var t;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a(In(In({},o),{},{loading:!0})),e.prev=1,e.next=4,od(o,"/gw/devices",[{name:"pvm-plugin-tester",device_type_id:0,configuration:{}}]);case 4:t=e.sent,console.log("resp",t),u(t.result[0].id.toString()),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),n(e.t0.message);case 12:return e.prev=12,a(In(In({},o),{},{loading:!1})),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(){return e.apply(this,arguments)}}();return(0,mn.jsxs)(mn.Fragment,{children:[o.device_id?(0,mn.jsxs)("span",{children:["Device: ",o.device_id]}):(0,mn.jsxs)(mn.Fragment,{children:[(0,mn.jsx)(ac,{id:"device-id",label:"Device ID",size:"small",value:l,onChange:function(e){var t=e.target.value;u(t),f(function(e){if(!/^\d+$/.test(e))return"expecting integer value";var t=parseInt(e);return isNaN(t)?"expecting integer value":t<=0?"expecting positive integer value":""}(t))},error:!!h},"device-id"),(0,mn.jsx)(Go,{variant:"contained",onClick:function(){a(In(In({},o),{},{device_id:+l}))},disabled:!l||!!h,children:"Set"}),(0,mn.jsx)(Go,{variant:"outlined",onClick:g,children:"Create New"})]}),(0,mn.jsx)(Ad,{error:t,setError:n})]})}function Fd(){var e=c((0,i.useState)(""),2),t=e[0],n=e[1],r=c(Yc(),2),o=r[0],a=r[1],s=c(td("plugin_id",""),2),l=s[0],u=s[1],d=c((0,i.useState)(""),2),h=d[0],f=d[1],g=function(){var e=Mn(Nn().mark((function e(){var t,i;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a(In(In({},o),{},{loading:!0})),e.prev=1,e.next=4,ad(o,"/gw/plugins/".concat(l));case 4:return t=e.sent,console.log("plugin",t),e.next=8,od(o,"/gw/plugins/".concat(t.result[0].id,"/devices/").concat(o.device_id),null);case 8:i=e.sent,console.log("assign",i),a(In(In({},o),{},{loading:!1,plugin_id:t.result[0].id,plugin_code:t.result[0].configuration.code})),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(1),a(In(In({},o),{},{loading:!1})),n(e.t0.message);case 17:case"end":return e.stop()}}),e,null,[[1,13]])})));return function(){return e.apply(this,arguments)}}(),v=function(){var e=Mn(Nn().mark((function e(){var t,i;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a(In(In({},o),{},{loading:!0})),e.prev=1,e.next=4,od(o,"/gw/plugins",[{configuration:{code:'move optional .attr ==> %hexstr ==> #attr.decoded\n\noptional .arr ==> array:\n\trepeat[array_length, counter=$i, from=0]:\n\t\tformat["prop.%d", $i] ==> $name\n\t\t[$i] ==> #param[$name]\nunset .arr\n'},item_type:11,name:"pvm-plugin-tester",type_id:1,enabled:!0,required:!0}]);case 4:return t=e.sent,console.log("plugin",t),e.next=8,od(o,"/gw/plugins/".concat(t.result[0].id,"/devices/").concat(o.device_id),null);case 8:i=e.sent,console.log("assign",i),u(t.result[0].id.toString()),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),n(e.t0.message);case 16:return e.prev=16,a(In(In({},o),{},{loading:!1})),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,13,16,19]])})));return function(){return e.apply(this,arguments)}}();return(0,mn.jsxs)(mn.Fragment,{children:[o.plugin_id?(0,mn.jsxs)("span",{children:["Plugin: ",o.plugin_id]}):(0,mn.jsxs)(mn.Fragment,{children:[(0,mn.jsx)(ac,{id:"plugin-id",label:"Plugin ID",size:"small",value:l,onChange:function(e){var t=e.target.value;u(t),f(function(e){if(!/^\d+$/.test(e))return"expecting integer value";var t=parseInt(e);return isNaN(t)?"expecting integer value":t<=0?"expecting positive integer value":""}(t))},error:!!h},"plugin-id"),(0,mn.jsx)(Go,{variant:"contained",onClick:g,disabled:!l||!!h,children:"Set"}),(0,mn.jsx)(Go,{variant:"outlined",onClick:v,children:"Create New"})]}),(0,mn.jsx)(Ad,{error:t,setError:n})]})}function Bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Wd(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Hd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?e.apply(this,r):function(){for(var e=arguments.length,i=new Array(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};Zd.initial(e),Zd.handler(t);var n={current:e},i=Gd(eh)(n,t),r=Gd(Jd)(n),o=Gd(Zd.changes)(e),a=Gd(Xd)(n);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Zd.selector(e),e(n.current)}function l(e){qd(i,r,o,a)(e)}return[s,l]}},nh=th,ih={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs"}};var rh=function(e){return function t(){for(var n=this,i=arguments.length,r=new Array(i),o=0;o=e.length?e.apply(this,r):function(){for(var e=arguments.length,i=new Array(e),o=0;o2&&void 0!==arguments[2])||arguments[2],r=(0,i.useRef)(!0);(0,i.useEffect)(r.current||!n?function(){r.current=!1}:e,t)};function Ah(){}function Rh(e,t,n,i){return function(e,t){return e.editor.getModel(Fh(e,t))}(e,i)||function(e,t,n,i){return e.editor.createModel(t,n,i&&Fh(e,i))}(e,t,n,i)}function Fh(e,t){return e.Uri.parse(t)}function Bh(e){var t=e.original,n=e.modified,r=e.language,o=e.originalLanguage,a=e.modifiedLanguage,s=e.originalModelPath,l=e.modifiedModelPath,u=e.keepCurrentOriginalModel,d=e.keepCurrentModifiedModel,h=e.theme,f=e.loading,g=e.options,v=e.height,p=e.width,m=e.className,y=e.wrapperProps,b=e.beforeMount,_=e.onMount,k=c((0,i.useState)(!1),2),w=k[0],C=k[1],S=c((0,i.useState)(!0),2),L=S[0],x=S[1],E=(0,i.useRef)(null),N=(0,i.useRef)(null),D=(0,i.useRef)(null),I=(0,i.useRef)(_),T=(0,i.useRef)(b);Oh((function(){var e=Ch.init();return e.then((function(e){return(N.current=e)&&x(!1)})).catch((function(e){return"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e)})),function(){return E.current?function(){var e,t,n=E.current.getModel();u||null===(e=n.original)||void 0===e||e.dispose();d||null===(t=n.modified)||void 0===t||t.dispose();E.current.dispose()}():e.cancel()}})),Ph((function(){var e=E.current.getModifiedEditor();e.getOption(N.current.editor.EditorOption.readOnly)?e.setValue(n):n!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),e.pushUndoStop())}),[n],w),Ph((function(){E.current.getModel().original.setValue(t)}),[t],w),Ph((function(){var e=E.current.getModel(),t=e.original,n=e.modified;N.current.editor.setModelLanguage(t,o||r),N.current.editor.setModelLanguage(n,a||r)}),[r,o,a],w),Ph((function(){N.current.editor.setTheme(h)}),[h],w),Ph((function(){E.current.updateOptions(g)}),[g],w);var M=(0,i.useCallback)((function(){T.current(N.current);var e=Rh(N.current,t,o||r,s),i=Rh(N.current,n,a||r,l);E.current.setModel({original:e,modified:i})}),[r,n,a,t,o,s,l]),O=(0,i.useCallback)((function(){E.current=N.current.editor.createDiffEditor(D.current,In({automaticLayout:!0},g)),M(),N.current.editor.setTheme(h),C(!0)}),[g,h,M]);return(0,i.useEffect)((function(){w&&I.current(E.current,N.current)}),[w]),(0,i.useEffect)((function(){!L&&!w&&O()}),[L,w,O]),i.createElement(Mh,{width:p,height:v,isEditorReady:w,loading:f,_ref:D,className:m,wrapperProps:y})}Bh.propTypes={original:Lh().string,modified:Lh().string,language:Lh().string,originalLanguage:Lh().string,modifiedLanguage:Lh().string,originalModelPath:Lh().string,modifiedModelPath:Lh().string,keepCurrentOriginalModel:Lh().bool,keepCurrentModifiedModel:Lh().bool,theme:Lh().string,loading:Lh().oneOfType([Lh().element,Lh().string]),options:Lh().object,width:Lh().oneOfType([Lh().number,Lh().string]),height:Lh().oneOfType([Lh().number,Lh().string]),className:Lh().string,wrapperProps:Lh().object,beforeMount:Lh().func,onMount:Lh().func},Bh.defaultProps={theme:"light",loading:"Loading...",options:{},keepCurrentOriginalModel:!1,keepCurrentModifiedModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:Ah,onMount:Ah};var Vh=function(e){var t=(0,i.useRef)();return(0,i.useEffect)((function(){t.current=e}),[e]),t.current},Wh=new Map;function zh(e){var t=e.defaultValue,n=e.defaultLanguage,r=e.defaultPath,o=e.value,a=e.language,s=e.path,l=e.theme,u=e.line,d=e.loading,h=e.options,f=e.overrideServices,g=e.saveViewState,v=e.keepCurrentModel,p=e.width,m=e.height,y=e.className,b=e.wrapperProps,_=e.beforeMount,k=e.onMount,w=e.onChange,C=e.onValidate,S=c((0,i.useState)(!1),2),L=S[0],x=S[1],E=c((0,i.useState)(!0),2),N=E[0],D=E[1],I=(0,i.useRef)(null),T=(0,i.useRef)(null),M=(0,i.useRef)(null),O=(0,i.useRef)(k),P=(0,i.useRef)(_),A=(0,i.useRef)(null),R=(0,i.useRef)(o),F=Vh(s),B=(0,i.useRef)(!1);Oh((function(){var e=Ch.init();return e.then((function(e){return(I.current=e)&&D(!1)})).catch((function(e){return"cancelation"!==(null===e||void 0===e?void 0:e.type)&&console.error("Monaco initialization: error:",e)})),function(){return T.current?function(){var e,t;null===(e=A.current)||void 0===e||e.dispose(),v?g&&Wh.set(s,T.current.saveViewState()):null===(t=T.current.getModel())||void 0===t||t.dispose();T.current.dispose()}():e.cancel()}})),Ph((function(){var e=Rh(I.current,t||o,n||a,s);e!==T.current.getModel()&&(g&&Wh.set(F,T.current.saveViewState()),T.current.setModel(e),g&&T.current.restoreViewState(Wh.get(s)))}),[s],L),Ph((function(){T.current.updateOptions(h)}),[h],L),Ph((function(){T.current.getOption(I.current.editor.EditorOption.readOnly)?T.current.setValue(o):o!==T.current.getValue()&&(T.current.executeEdits("",[{range:T.current.getModel().getFullModelRange(),text:o,forceMoveMarkers:!0}]),T.current.pushUndoStop())}),[o],L),Ph((function(){I.current.editor.setModelLanguage(T.current.getModel(),a)}),[a],L),Ph((function(){void 0!==u&&T.current.revealLine(u)}),[u],L),Ph((function(){I.current.editor.setTheme(l)}),[l],L);var V=(0,i.useCallback)((function(){if(!B.current){P.current(I.current);var e=s||r,i=Rh(I.current,o||t,n||a,e);T.current=I.current.editor.create(M.current,In({model:i,automaticLayout:!0},h),f),g&&T.current.restoreViewState(Wh.get(e)),I.current.editor.setTheme(l),x(!0),B.current=!0}}),[t,n,r,o,a,s,h,f,g,l]);return(0,i.useEffect)((function(){L&&O.current(T.current,I.current)}),[L]),(0,i.useEffect)((function(){!N&&!L&&V()}),[N,L,V]),R.current=o,(0,i.useEffect)((function(){var e,t;L&&w&&(null===(e=A.current)||void 0===e||e.dispose(),A.current=null===(t=T.current)||void 0===t?void 0:t.onDidChangeModelContent((function(e){w(T.current.getValue(),e)})))}),[L,w]),(0,i.useEffect)((function(){if(L){var e=I.current.editor.onDidChangeMarkers((function(e){var t,n=null===(t=T.current.getModel())||void 0===t?void 0:t.uri;if(n&&e.find((function(e){return e.path===n.path}))){var i=I.current.editor.getModelMarkers({resource:n});null===C||void 0===C||C(i)}}));return function(){null===e||void 0===e||e.dispose()}}}),[L,C]),i.createElement(Mh,{width:p,height:m,isEditorReady:L,loading:d,_ref:M,className:y,wrapperProps:b})}zh.propTypes={defaultValue:Lh().string,defaultPath:Lh().string,defaultLanguage:Lh().string,value:Lh().string,language:Lh().string,path:Lh().string,theme:Lh().string,line:Lh().number,loading:Lh().oneOfType([Lh().element,Lh().string]),options:Lh().object,overrideServices:Lh().object,saveViewState:Lh().bool,keepCurrentModel:Lh().bool,width:Lh().oneOfType([Lh().number,Lh().string]),height:Lh().oneOfType([Lh().number,Lh().string]),className:Lh().string,wrapperProps:Lh().object,beforeMount:Lh().func,onMount:Lh().func,onChange:Lh().func,onValidate:Lh().func},zh.defaultProps={theme:"light",loading:"Loading...",options:{},overrideServices:{},saveViewState:!0,keepCurrentModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:Ah,onMount:Ah,onValidate:Ah};var Hh=zh,jh=(0,i.memo)(Hh);function Uh(e){return Uh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Uh(e)}function Kh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Uh(e)););return e}function qh(){return qh="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=Kh(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},qh.apply(this,arguments)}function Gh(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Qh(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}function $h(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Yh(e,t){if(t&&("object"===En(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return to(e)}function Zh(e){var t=$h();return function(){var n,i=Uh(e);if(t){var r=Uh(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Yh(this,n)}}var Xh,Jh="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function ef(e,t){var n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0],r=t[i],o=e;return"string"===typeof r?o=r:"number"!==typeof r&&"boolean"!==typeof r&&void 0!==r&&null!==r||(o=String(r)),o})),Jh&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function tf(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r=0,of=cf.indexOf("Macintosh")>=0,uf=(cf.indexOf("Macintosh")>=0||cf.indexOf("iPad")>=0||cf.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,af=cf.indexOf("Linux")>=0,lf=!0,tf({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_");var yf=rf,bf=of,_f=af,kf=sf,wf=lf,Cf=lf&&"function"===typeof df.importScripts,Sf=uf,Lf=cf,xf="function"===typeof df.postMessage&&!df.importScripts,Ef=function(){if(xf){var e=[];df.addEventListener("message",(function(t){if(t.data&&t.data.vscodeScheduleAsyncWork)for(var n=0,i=e.length;n=0),Pf=!!(Lf&&Lf.indexOf("Firefox")>=0),Af=!!(!Of&&Lf&&Lf.indexOf("Safari")>=0),Rf=!!(Lf&&Lf.indexOf("Edg/")>=0);Lf&&Lf.indexOf("Android");!function(e){var t=Nn().mark(l),n=Nn().mark(u),i=Nn().mark(c),r=Nn().mark(d),o=Nn().mark(h),a=Nn().mark(f);e.is=function(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]};var s=Object.freeze([]);function l(e){return Nn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:case"end":return t.stop()}}),t)}function u(e,t){var i,r,o;return Nn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i=Gh(e),n.prev=1,i.s();case 3:if((r=i.n()).done){n.next=10;break}if(o=r.value,!t(o)){n.next=8;break}return n.next=8,o;case 8:n.next=3;break;case 10:n.next=15;break;case 12:n.prev=12,n.t0=n.catch(1),i.e(n.t0);case 15:return n.prev=15,i.f(),n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[1,12,15,18]])}function c(e,t){var n,r,o,a;return Nn().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=0,r=Gh(e),i.prev=2,r.s();case 4:if((o=r.n()).done){i.next=10;break}return a=o.value,i.next=8,t(a,n++);case 8:i.next=4;break;case 10:i.next=15;break;case 12:i.prev=12,i.t0=i.catch(2),r.e(i.t0);case 15:return i.prev=15,r.f(),i.finish(15);case 18:case"end":return i.stop()}}),i,null,[[2,12,15,18]])}function d(){var e,t,n,i,o,a,s,l,u,c=arguments;return Nn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:for(e=c.length,t=new Array(e),n=0;n2&&void 0!==i[2]?i[2]:e.length,t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);case 3:if(!(t1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,i=[];if(0===n)return[i,t];for(var r=t[Symbol.iterator](),o=0;o2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e===t},i=e[Symbol.iterator](),r=t[Symbol.iterator]();;){var o=i.next(),a=r.next();if(o.done!==a.done)return!1;if(o.done)return!0;if(!n(o.value,a.value))return!1}}}(Mf||(Mf={}));var Ff=ml((function e(t){vl(this,e),this.element=t,this.next=e.Undefined,this.prev=e.Undefined}));Ff.Undefined=new Ff(void 0);var Bf=function(e){function t(){vl(this,t),this._first=Ff.Undefined,this._last=Ff.Undefined,this._size=0}return ml(t,[{key:"size",get:function(){return this._size}},{key:"isEmpty",value:function(){return this._first===Ff.Undefined}},{key:"clear",value:function(){for(var e=this._first;e!==Ff.Undefined;){var t=e.next;e.prev=Ff.Undefined,e.next=Ff.Undefined,e=t}this._first=Ff.Undefined,this._last=Ff.Undefined,this._size=0}},{key:"unshift",value:function(e){return this._insert(e,!1)}},{key:"push",value:function(e){return this._insert(e,!0)}},{key:"_insert",value:function(e,t){var n=this,i=new Ff(e);if(this._first===Ff.Undefined)this._first=i,this._last=i;else if(t){var r=this._last;this._last=i,i.prev=r,r.next=i}else{var o=this._first;this._first=i,i.next=o,o.prev=i}this._size+=1;var a=!1;return function(){a||(a=!0,n._remove(i))}}},{key:"shift",value:function(){if(this._first!==Ff.Undefined){var e=this._first.element;return this._remove(this._first),e}}},{key:"pop",value:function(){if(this._last!==Ff.Undefined){var e=this._last.element;return this._remove(this._last),e}}},{key:"_remove",value:function(e){if(e.prev!==Ff.Undefined&&e.next!==Ff.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Ff.Undefined&&e.next===Ff.Undefined?(this._first=Ff.Undefined,this._last=Ff.Undefined):e.next===Ff.Undefined?(this._last=this._last.prev,this._last.next=Ff.Undefined):e.prev===Ff.Undefined&&(this._first=this._first.next,this._first.prev=Ff.Undefined);this._size-=1}},{key:Symbol.iterator,value:Nn().mark((function e(){var t;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this._first;case 1:if(t===Ff.Undefined){e.next=7;break}return e.next=4,t.element;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))}]),t}(),Vf="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var Wf=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="(-?\\d*\\.\\d\\w*)|([^",i=Gh(Vf);try{for(i.s();!(e=i.n()).done;){var r=e.value;t.indexOf(r)>=0||(n+="\\"+r)}}catch(o){i.e(o)}finally{i.f()}return n+="\\s]+)",new RegExp(n,"g")}();function zf(e){var t=Wf;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}var Hf,jf=new Bf;function Uf(e,t,n,i,r){if(r||(r=Mf.first(jf)),n.length>r.maxLen){var o=e-r.maxLen/2;return o<0?o=0:i+=o,Uf(e,t,n=n.substring(o,e+r.maxLen/2),i,r)}for(var a=Date.now(),s=e-1-i,l=-1,u=null,c=1;!(Date.now()-a>=r.timeBudget);c++){var d=s-r.windowSize*c;t.lastIndex=Math.max(0,d);var h=Kf(t,n,s,l);if(!h&&u)break;if(u=h,d<=0)break;l=d}if(u){var f={word:u[0],startColumn:i+1+u.index,endColumn:i+1+u.index+u[0].length};return t.lastIndex=0,f}return null}function Kf(e,t,n,i){for(var r;r=e.exec(t);){var o=r.index||0;if(o<=n&&e.lastIndex>=n)return r;if(i>0&&o>i)return null}return null}function qf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e[e.length-(1+t)]}function Gf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e===t};if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i0}function $f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=new Set;return e.filter((function(e){var i=t(e);return!n.has(i)&&(n.add(i),!0)}))}function Yf(e,t){var n=function(e,t){for(var n=e.length-1;n>=0;n--){if(t(e[n]))return n}return-1}(e,t);if(-1!==n)return e[n]}function Zf(e,t){return e.length>0?e[0]:t}function Xf(e,t){var n="number"===typeof t?e:0;"number"===typeof t?n=e:(n=0,t=e);var i=[];if(n<=t)for(var r=n;rt;o--)i.push(o);return i}function Jf(e,t,n){var i=e.slice(0,t),r=e.slice(t);return i.concat(n,r)}function eg(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function tg(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function ng(e,t){var n,i=Gh(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;e.push(r)}}catch(o){i.e(o)}finally{i.f()}}function ig(e,t,n,i){var r=rg(e,t),o=e.splice(r,n);return function(e,t,n){var i=rg(e,t),r=e.length,o=n.length;e.length=r+o;for(var a=r-1;a>=i;a--)e[a+o]=e[a];for(var s=0;s0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(Hf||(Hf={}));function ag(e,t){if(0!==e.length){for(var n=e[0],i=1;i=0&&(n=r)}return n}}var sg=function(){function e(t){vl(this,e),this.items=t,this.firstIdx=0,this.lastIdx=this.items.length-1}return ml(e,[{key:"length",get:function(){return this.lastIdx-this.firstIdx+1}},{key:"takeWhile",value:function(e){for(var t=this.firstIdx;t=0&&e(this.items[t]);)t--;var n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}},{key:"peek",value:function(){if(0!==this.length)return this.items[this.firstIdx]}},{key:"dequeue",value:function(){var e=this.items[this.firstIdx];return this.firstIdx++,e}},{key:"takeCount",value:function(e){var t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}]),e}();function lg(e){return"string"===typeof e}function ug(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function cg(e){var t=Object.getPrototypeOf(Uint8Array);return"object"===typeof e&&e instanceof t}function dg(e){return"number"===typeof e&&!isNaN(e)}function hg(e){return!!e&&"function"===typeof e[Symbol.iterator]}function fg(e){return!0===e||!1===e}function gg(e){return"undefined"===typeof e}function vg(e){return!pg(e)}function pg(e){return gg(e)||null===e}function mg(e,t){if(!e)throw new Error(t?"Unexpected type, expected '".concat(t,"'"):"Unexpected type")}function yg(e){return"function"===typeof e}function bg(e,t){for(var n=Math.min(e.length,t.length),i=0;i1&&void 0!==arguments[1]?arguments[1]:"Unreachable";throw new Error(t)}function Sg(e){if(!e||"object"!==typeof e)return e;if(e instanceof RegExp)return e;var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"===typeof e[n]?t[n]=Sg(e[n]):t[n]=e[n]})),t}var Lg=Object.prototype.hasOwnProperty;function xg(e,t){return Eg(e,t,new Set)}function Eg(e,t,n){if(pg(e))return e;var i,r=t(e);if("undefined"!==typeof r)return r;if(i=e,Array.isArray(i)){var o,a=[],s=Gh(e);try{for(s.s();!(o=s.n()).done;){var l=o.value;a.push(Eg(l,t,n))}}catch(d){s.e(d)}finally{s.f()}return a}if(ug(e)){if(n.has(e))throw new Error("Cannot clone recursive data-structure");n.add(e);var u={};for(var c in e)Lg.call(e,c)&&(u[c]=Eg(e[c],t,n));return n.delete(e),u}return e}function Ng(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return ug(e)?(ug(t)&&Object.keys(t).forEach((function(i){i in e?n&&(ug(e[i])&&ug(t[i])?Ng(e[i],t[i],n):e[i]=t[i]):e[i]=t[i]})),e):t}function Dg(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===t)return!1;if(typeof e!==typeof t)return!1;if("object"!==typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n3&&void 0!==arguments[3]?arguments[3]:void 0;return vl(this,n),"undefined"!==typeof o&&(o.type="boolean",o.default=r),t.call(this,e,i,r,o)}return ml(n,[{key:"validate",value:function(e){return Bg(e,this.defaultValue)}}]),n}(Fg);function Wg(e,t,n,i){if("undefined"===typeof e)return t;var r=parseInt(e,10);return isNaN(r)?t:(r=Math.max(n,r),0|(r=Math.min(i,r)))}var zg=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r,o,a){var s,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0;return vl(this,n),"undefined"!==typeof l&&(l.type="integer",l.default=r,l.minimum=o,l.maximum=a),(s=t.call(this,e,i,r,l)).minimum=o,s.maximum=a,s}return ml(n,[{key:"validate",value:function(e){return n.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}],[{key:"clampedInt",value:function(e,t,n,i){return Wg(e,t,n,i)}}]),n}(Fg),Hg=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r,o,a){var s;return vl(this,n),"undefined"!==typeof a&&(a.type="number",a.default=r),(s=t.call(this,e,i,r,a)).validationFn=o,s}return ml(n,[{key:"validate",value:function(e){return this.validationFn(n.float(e,this.defaultValue))}}],[{key:"clamp",value:function(e,t,n){return en?n:e}},{key:"float",value:function(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;var n=parseFloat(e);return isNaN(n)?t:n}}]),n}(Fg),jg=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return vl(this,n),"undefined"!==typeof o&&(o.type="string",o.default=r),t.call(this,e,i,r,o)}return ml(n,[{key:"validate",value:function(e){return n.string(e,this.defaultValue)}}],[{key:"string",value:function(e,t){return"string"!==typeof e?t:e}}]),n}(Fg);function Ug(e,t,n){return"string"!==typeof e||-1===n.indexOf(e)?t:e}var Kg=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r,o){var a,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;return vl(this,n),"undefined"!==typeof s&&(s.type="string",s.enum=o,s.default=r),(a=t.call(this,e,i,r,s))._allowedValues=o,a}return ml(n,[{key:"validate",value:function(e){return Ug(e,this.defaultValue,this._allowedValues)}}]),n}(Fg),qg=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0;return vl(this,n),"undefined"!==typeof u&&(u.type="string",u.enum=a,u.default=o),(l=t.call(this,e,i,r,u))._allowedValues=a,l._convert=s,l}return ml(n,[{key:"validate",value:function(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}]),n}(Og);var Gg,Qg=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[tf("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),tf("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),tf("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:tf("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}return ml(n,[{key:"validate",value:function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}},{key:"compute",value:function(e,t,n){return 0===n?e.accessibilitySupport:n}}]),n}(Og),$g=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={insertSpace:!0,ignoreEmptyLines:!0};return t.call(this,19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:tf("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:tf("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{insertSpace:Bg(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:Bg(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}]),n}(Og);!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(Gg||(Gg={}));var Yg=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,130)}return ml(n,[{key:"compute",value:function(e,t,n){var i=["monaco-editor"];return t.get(35)&&i.push(t.get(35)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(68)?i.push("mouse-default"):"copy"===t.get(68)&&i.push("mouse-copy"),t.get(102)&&i.push("showUnused"),t.get(128)&&i.push("showDeprecated"),i.join(" ")}}]),n}(Rg),Zg=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,33,"emptySelectionClipboard",!0,{description:tf("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}return ml(n,[{key:"compute",value:function(e,t,n){return n&&e.emptySelectionClipboard}}]),n}(Vg),Xg=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};return t.call(this,37,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:tf("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[tf("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),tf("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),tf("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:tf("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[tf("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),tf("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),tf("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:tf("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:tf("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:bf},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:tf("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:tf("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{cursorMoveOnType:Bg(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:"boolean"===typeof e.seedSearchStringFromSelection?e.seedSearchStringFromSelection?"always":"never":Ug(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:"boolean"===typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":Ug(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:Bg(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:Bg(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:Bg(t.loop,this.defaultValue.loop)}}}]),n}(Og),Jg=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,47,"fontLigatures",n.OFF,{anyOf:[{type:"boolean",description:tf("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:tf("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:tf("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}return ml(n,[{key:"validate",value:function(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?n.OFF:"true"===e?n.ON:e:Boolean(e)?n.ON:n.OFF}}]),n}(Og);Jg.OFF='"liga" off, "calt" off',Jg.ON='"liga" on, "calt" on';var ev=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,46)}return ml(n,[{key:"compute",value:function(e,t,n){return e.fontInfo}}]),n}(Rg),tv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,48,"fontSize",Bv.fontSize,{type:"number",minimum:6,maximum:100,default:Bv.fontSize,description:tf("fontSize","Controls the font size in pixels.")})}return ml(n,[{key:"validate",value:function(e){var t=Hg.float(e,this.defaultValue);return 0===t?Bv.fontSize:Hg.clamp(t,6,100)}},{key:"compute",value:function(e,t,n){return e.fontInfo.fontSize}}]),n}(Fg),nv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,49,"fontWeight",Bv.fontWeight,{anyOf:[{type:"number",minimum:n.MINIMUM_VALUE,maximum:n.MAXIMUM_VALUE,errorMessage:tf("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:n.SUGGESTION_VALUES}],default:Bv.fontWeight,description:tf("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}return ml(n,[{key:"validate",value:function(e){return"normal"===e||"bold"===e?e:String(zg.clampedInt(e,Bv.fontWeight,n.MINIMUM_VALUE,n.MAXIMUM_VALUE))}}]),n}(Og);nv.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],nv.MINIMUM_VALUE=1,nv.MAXIMUM_VALUE=1e3;var iv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},i={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[tf("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),tf("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),tf("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},r=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];return t.call(this,53,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:tf("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:tf("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:tf("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleDeclarations":Object.assign({description:tf("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleImplementations":Object.assign({description:tf("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleReferences":Object.assign({description:tf("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},i),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:r,description:tf("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:r,description:tf("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:r,description:tf("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:r,description:tf("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:r,description:tf("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}return ml(n,[{key:"validate",value:function(e){var t,n,i,r,o;if(!e||"object"!==typeof e)return this.defaultValue;var a=e;return{multiple:Ug(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=a.multipleDefinitions)&&void 0!==t?t:Ug(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=a.multipleTypeDefinitions)&&void 0!==n?n:Ug(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=a.multipleDeclarations)&&void 0!==i?i:Ug(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(r=a.multipleImplementations)&&void 0!==r?r:Ug(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(o=a.multipleReferences)&&void 0!==o?o:Ug(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:jg.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:jg.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:jg.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:jg.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:jg.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}]),n}(Og),rv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={enabled:!0,delay:300,sticky:!0,above:!0};return t.call(this,55,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:tf("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:tf("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:tf("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:tf("hover.above","Prefer showing hovers above the line, if there's space.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{enabled:Bg(t.enabled,this.defaultValue.enabled),delay:zg.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:Bg(t.sticky,this.defaultValue.sticky),above:Bg(t.above,this.defaultValue.above)}}}]),n}(Og),ov=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,133)}return ml(n,[{key:"compute",value:function(e,t,i){return n.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}}],[{key:"computeContainedMinimapLineCount",value:function(e){var t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:Math.floor(e.viewLineCount/i)}}},{key:"_computeMinimapLayout",value:function(e,t){var i=e.outerWidth,r=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*r),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:r};var a=t.stableMinimapLayoutInput,s=a&&e.outerHeight===a.outerHeight&&e.lineHeight===a.lineHeight&&e.typicalHalfwidthCharacterWidth===a.typicalHalfwidthCharacterWidth&&e.pixelRatio===a.pixelRatio&&e.scrollBeyondLastLine===a.scrollBeyondLastLine&&e.minimap.enabled===a.minimap.enabled&&e.minimap.side===a.minimap.side&&e.minimap.size===a.minimap.size&&e.minimap.showSlider===a.minimap.showSlider&&e.minimap.renderCharacters===a.minimap.renderCharacters&&e.minimap.maxColumn===a.minimap.maxColumn&&e.minimap.scale===a.minimap.scale&&e.verticalScrollbarWidth===a.verticalScrollbarWidth&&e.isViewportWrapping===a.isViewportWrapping,l=e.lineHeight,u=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,d=e.minimap.renderCharacters,h=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale,f=e.minimap.maxColumn,g=e.minimap.size,v=e.minimap.side,p=e.verticalScrollbarWidth,m=e.viewLineCount,y=e.remainingWidth,b=e.isViewportWrapping,_=d?2:3,k=Math.floor(o*r),w=k/o,C=!1,S=!1,L=_*h,x=h/o,E=1;if("fill"===g||"fit"===g){var N=n.computeContainedMinimapLineCount({viewLineCount:m,scrollBeyondLastLine:c,height:r,lineHeight:l,pixelRatio:o}),D=N.typicalViewportLineCount,I=N.extraLinesBeyondLastLine,T=N.desiredRatio;if(m/N.minimapLineCount>1)C=!0,S=!0,L=1,x=(h=1)/o;else{var M=!1,O=h+1;if("fit"===g){var P=Math.ceil((m+I)*L);b&&s&&y<=t.stableFitRemainingWidth?(M=!0,O=t.stableFitMaxMinimapScale):M=P>k}if("fill"===g||M){C=!0;var A=h;L=Math.min(l*o,Math.max(1,Math.floor(1/T))),b&&s&&y<=t.stableFitRemainingWidth&&(O=t.stableFitMaxMinimapScale),(h=Math.min(O,Math.max(1,Math.floor(L/_))))>A&&(E=Math.min(2,h/A)),x=h/o/E,k=Math.ceil(Math.max(D,m+I)*L),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=y,t.stableFitMaxMinimapScale=h):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}var R=Math.floor(f*x),F=Math.min(R,Math.max(0,Math.floor((y-p-2)*x/(u+x)))+8),B=Math.floor(o*F),V=B/o;return{renderMinimap:d?1:2,minimapLeft:"left"===v?0:i-F-p,minimapWidth:F,minimapHeightIsEditorHeight:C,minimapIsSampling:S,minimapScale:h,minimapLineHeight:L,minimapCanvasInnerWidth:B=Math.floor(B*E),minimapCanvasInnerHeight:k,minimapCanvasOuterWidth:V,minimapCanvasOuterHeight:w}}},{key:"computeLayout",value:function(e,t){var i,r=0|t.outerWidth,o=0|t.outerHeight,a=0|t.lineHeight,s=0|t.lineNumbersDigitCount,l=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,c=t.pixelRatio,d=t.viewLineCount,h=e.get(125),f="inherit"===h?e.get(124):h,g="inherit"===f?e.get(120):f,v=e.get(123),p=e.get(2),m=t.isDominatedByLongLines,y=e.get(52),b=0!==e.get(62).renderType,_=e.get(63),k=e.get(96),w=e.get(67),C=e.get(94),S=C.verticalScrollbarSize,L=C.verticalHasArrows,x=C.arrowSize,E=C.horizontalScrollbarSize,N=e.get(60),D=e.get(39),I="never"!==e.get(101);if("string"===typeof N&&/^\d+(\.\d+)?ch$/.test(N)){var T=parseFloat(N.substr(0,N.length-2));i=zg.clampedInt(T*l,0,0,1e3)}else i=zg.clampedInt(N,0,0,1e3);D&&I&&(i+=16);var M=0;if(b){var O=Math.max(s,_);M=Math.round(O*u)}var P=0;y&&(P=a);var A=0,R=A+P,F=R+M,B=F+i,V=r-P-M-i,W=!1,z=!1,H=-1;2!==p&&("inherit"===f&&m?(W=!0,z=!0):"on"===g||"bounded"===g?z=!0:"wordWrapColumn"===g&&(H=v));var j=n._computeMinimapLayout({outerWidth:r,outerHeight:o,lineHeight:a,typicalHalfwidthCharacterWidth:l,pixelRatio:c,scrollBeyondLastLine:k,minimap:w,verticalScrollbarWidth:S,viewLineCount:d,remainingWidth:V,isViewportWrapping:z},t.memory||new Mg);0!==j.renderMinimap&&0===j.minimapLeft&&(A+=j.minimapWidth,R+=j.minimapWidth,F+=j.minimapWidth,B+=j.minimapWidth);var U=V-j.minimapWidth,K=Math.max(1,Math.floor((U-S-2)/l)),q=L?x:0;return z&&(H=Math.max(1,K),"bounded"===g&&(H=Math.min(H,v))),{width:r,height:o,glyphMarginLeft:A,glyphMarginWidth:P,lineNumbersLeft:R,lineNumbersWidth:M,decorationsLeft:F,decorationsWidth:i,contentLeft:B,contentWidth:U,minimap:j,viewportColumn:K,isWordWrapMinified:W,isViewportWrapping:z,wrappingColumn:H,verticalScrollbarWidth:S,horizontalScrollbarHeight:E,overviewRuler:{top:q,width:S,height:o-2*q,right:0}}}}]),n}(Rg),av=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={enabled:!0};return t.call(this,59,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:tf("codeActions","Enables the code action lightbulb in the editor.")}})}return ml(n,[{key:"validate",value:function(e){return e&&"object"===typeof e?{enabled:Bg(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}]),n}(Og),sv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={stickyScroll:{enabled:!1}};return t.call(this,34,"experimental",e,{"editor.experimental.stickyScroll.enabled":{type:"boolean",default:e.stickyScroll.enabled,description:tf("editor.experimental.stickyScroll","Shows the nested current scopes during the scroll at the top of the editor.")}})}return ml(n,[{key:"validate",value:function(e){var t;return e&&"object"===typeof e?{stickyScroll:{enabled:Bg(null===(t=e.stickyScroll)||void 0===t?void 0:t.enabled,this.defaultValue.stickyScroll.enabled)}}:this.defaultValue}}]),n}(Og),lv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};return t.call(this,129,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:tf("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[tf("editor.inlayHints.on","Inlay hints are enabled"),tf("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding `Ctrl+Alt`"),tf("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding `Ctrl+Alt`"),tf("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:tf("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:tf("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:tf("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return"boolean"===typeof t.enabled&&(t.enabled=t.enabled?"on":"off"),{enabled:Ug(t.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:zg.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:jg.string(t.fontFamily,this.defaultValue.fontFamily),padding:Bg(t.padding,this.defaultValue.padding)}}}]),n}(Og),uv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,61,"lineHeight",Bv.lineHeight,(function(e){return Hg.clamp(e,0,150)}),{markdownDescription:tf("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}return ml(n,[{key:"compute",value:function(e,t,n){return e.fontInfo.lineHeight}}]),n}(Hg),cv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};return t.call(this,67,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:tf("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:tf("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[tf("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),tf("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),tf("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:tf("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:tf("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:tf("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:tf("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:tf("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:tf("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{enabled:Bg(t.enabled,this.defaultValue.enabled),autohide:Bg(t.autohide,this.defaultValue.autohide),size:Ug(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:Ug(t.side,this.defaultValue.side,["right","left"]),showSlider:Ug(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:Bg(t.renderCharacters,this.defaultValue.renderCharacters),scale:zg.clampedInt(t.scale,1,1,3),maxColumn:zg.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}]),n}(Og);var dv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,77,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:tf("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:tf("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{top:zg.clampedInt(t.top,0,0,1e3),bottom:zg.clampedInt(t.bottom,0,0,1e3)}}}]),n}(Og),hv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={enabled:!0,cycle:!1};return t.call(this,78,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:tf("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:tf("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{enabled:Bg(t.enabled,this.defaultValue.enabled),cycle:Bg(t.cycle,this.defaultValue.cycle)}}}]),n}(Og),fv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,131)}return ml(n,[{key:"compute",value:function(e,t,n){return e.pixelRatio}}]),n}(Rg),gv=function(e){Qh(n,e);var t=Zh(n);function n(){var e;vl(this,n);var i={other:"on",comments:"off",strings:"off"},r=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[tf("on","Quick suggestions show inside the suggest widget"),tf("inline","Quick suggestions show as ghost text"),tf("off","Quick suggestions are disabled")]}];return(e=t.call(this,81,"quickSuggestions",i,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:r,default:i.strings,description:tf("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:r,default:i.comments,description:tf("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:r,default:i.other,description:tf("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:i,markdownDescription:tf("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")})).defaultValue=i,e}return ml(n,[{key:"validate",value:function(e){if("boolean"===typeof e){var t=e?"on":"off";return{comments:t,strings:t,other:t}}if(!e||"object"!==typeof e)return this.defaultValue;var n=e.other,i=e.comments,r=e.strings,o=["on","inline","off"];return{other:"boolean"===typeof n?n?"on":"off":Ug(n,this.defaultValue.other,o),comments:"boolean"===typeof i?i?"on":"off":Ug(i,this.defaultValue.comments,o),strings:"boolean"===typeof r?r?"on":"off":Ug(r,this.defaultValue.strings,o)}}}]),n}(Og),vv=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.call(this,62,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[tf("lineNumbers.off","Line numbers are not rendered."),tf("lineNumbers.on","Line numbers are rendered as absolute number."),tf("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),tf("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:tf("lineNumbers","Controls the display of line numbers.")})}return ml(n,[{key:"validate",value:function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}]),n}(Og);function pv(e){var t=e.get(89);return"editable"===t?e.get(83):"on"!==t}var mv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e=[],i={type:"number",description:tf("rulers.size","Number of monospace characters at which this editor ruler will render.")};return t.call(this,93,"rulers",e,{type:"array",items:{anyOf:[i,{type:["object"],properties:{column:i,color:{type:"string",description:tf("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:tf("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}return ml(n,[{key:"validate",value:function(e){if(Array.isArray(e)){var t,n=[],i=Gh(e);try{for(i.s();!(t=i.n()).done;){var r=t.value;if("number"===typeof r)n.push({column:zg.clampedInt(r,0,0,1e4),color:null});else if(r&&"object"===typeof r){var o=r;n.push({column:zg.clampedInt(o.column,0,0,1e4),color:o.color})}}}catch(a){i.e(a)}finally{i.f()}return n.sort((function(e,t){return e.column-t.column})),n}return this.defaultValue}}]),n}(Og);function yv(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}var bv=function(e){Qh(n,e);var t=Zh(n);function n(){vl(this,n);var e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};return t.call(this,94,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[tf("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),tf("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),tf("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:tf("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[tf("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),tf("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),tf("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:tf("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:tf("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:tf("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:tf("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}return ml(n,[{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e,n=zg.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=zg.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:zg.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:yv(t.vertical,this.defaultValue.vertical),horizontal:yv(t.horizontal,this.defaultValue.horizontal),useShadows:Bg(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:Bg(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:Bg(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:Bg(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:Bg(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:zg.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:zg.clampedInt(t.verticalSliderSize,i,0,1e3),scrollByPage:Bg(t.scrollByPage,this.defaultValue.scrollByPage)}}}]),n}(Og),_v="inUntrustedWorkspace",kv="editor.unicodeHighlight.allowedCharacters",wv="editor.unicodeHighlight.invisibleCharacters",Cv="editor.unicodeHighlight.nonBasicASCII",Sv="editor.unicodeHighlight.ambiguousCharacters",Lv="editor.unicodeHighlight.includeComments",xv="editor.unicodeHighlight.includeStrings",Ev="editor.unicodeHighlight.allowedLocales",Nv=function(e){Qh(n,e);var t=Zh(n);function n(){var e;vl(this,n);var i={nonBasicASCII:_v,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:_v,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};return t.call(this,115,"unicodeHighlight",i,(p(e={},Cv,{restricted:!0,type:["boolean","string"],enum:[!0,!1,_v],default:i.nonBasicASCII,description:tf("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")}),p(e,wv,{restricted:!0,type:"boolean",default:i.invisibleCharacters,description:tf("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")}),p(e,Sv,{restricted:!0,type:"boolean",default:i.ambiguousCharacters,description:tf("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")}),p(e,Lv,{restricted:!0,type:["boolean","string"],enum:[!0,!1,_v],default:i.includeComments,description:tf("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")}),p(e,xv,{restricted:!0,type:["boolean","string"],enum:[!0,!1,_v],default:i.includeStrings,description:tf("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to unicode highlighting.")}),p(e,kv,{restricted:!0,type:"object",default:i.allowedCharacters,description:tf("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}}),p(e,Ev,{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:i.allowedLocales,description:tf("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}),e))}return ml(n,[{key:"applyUpdate",value:function(e,t){var i=!1;t.allowedCharacters&&e&&(Dg(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),i=!0)),t.allowedLocales&&e&&(Dg(e.allowedLocales,t.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:t.allowedLocales}),i=!0));var r=qh(Uh(n.prototype),"applyUpdate",this).call(this,e,t);return i?new Pg(r.newValue,!0):r}},{key:"validate",value:function(e){if(!e||"object"!==typeof e)return this.defaultValue;var t=e;return{nonBasicASCII:Mv(t.nonBasicASCII,_v,[!0,!1,_v]),invisibleCharacters:Bg(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:Bg(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:Mv(t.includeComments,_v,[!0,!1,_v]),includeStrings:Mv(t.includeStrings,_v,[!0,!1,_v]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}},{key:"validateBooleanMap",value:function(e,t){if("object"!==typeof e||!e)return t;for(var n={},i=0,r=Object.entries(e);i console.log` because `log` has been completed recently."),tf("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:tf("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:Wv(new Kg(113,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[tf("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),tf("tabCompletion.off","Disable tab completions."),tf("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:tf("tabCompletion","Enables tab completions.")})),tabIndex:Wv(new zg(114,"tabIndex",0,-1,1073741824)),unicodeHighlight:Wv(new Nv),unusualLineTerminators:Wv(new Kg(116,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[tf("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),tf("unusualLineTerminators.off","Unusual line terminators are ignored."),tf("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:tf("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:Wv(new Vg(117,"useShadowDOM",!0)),useTabStops:Wv(new Vg(118,"useTabStops",!0,{description:tf("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:Wv(new jg(119,"wordSeparators",Vf,{description:tf("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:Wv(new Kg(120,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[tf("wordWrap.off","Lines will never wrap."),tf("wordWrap.on","Lines will wrap at the viewport width."),tf({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),tf({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:tf({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:Wv(new jg(121,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;\xa2\xb0\u2032\u2033\u2030\u2103\u3001\u3002\uff61\uff64\uffe0\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff05\u30fb\uff65\u309d\u309e\u30fd\u30fe\u30fc\u30a1\u30a3\u30a5\u30a7\u30a9\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308e\u3095\u3096\u31f0\u31f1\u31f2\u31f3\u31f4\u31f5\u31f6\u31f7\u31f8\u31f9\u31fa\u31fb\u31fc\u31fd\u31fe\u31ff\u3005\u303b\uff67\uff68\uff69\uff6a\uff6b\uff6c\uff6d\uff6e\uff6f\uff70\u201d\u3009\u300b\u300d\u300f\u3011\u3015\uff09\uff3d\uff5d\uff63")),wordWrapBreakBeforeCharacters:Wv(new jg(122,"wordWrapBreakBeforeCharacters","([{\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\xa3\xa5\uff04\uffe1\uffe5+\uff0b")),wordWrapColumn:Wv(new zg(123,"wordWrapColumn",80,1,1073741824,{markdownDescription:tf({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:Wv(new Kg(124,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:Wv(new Kg(125,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:Wv(new qg(126,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[tf("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),tf("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),tf("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),tf("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:tf("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:Wv(new Kg(127,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[tf("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),tf("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:tf("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:Wv(new Yg),pixelRatio:Wv(new fv),tabFocusMode:Wv(new Av),layoutInfo:Wv(new ov),wrappingInfo:Wv(new Rv)};function Hv(e,t,n){return Hv=$h()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&no(r,n.prototype),r},Hv.apply(null,arguments)}function jv(e){var t="function"===typeof Map?new Map:void 0;return jv=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return Hv(e,arguments,Uh(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),no(i,e)},jv(e)}var Uv=new(function(){function e(){vl(this,e),this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack){if(tp.isErrorNoTelemetry(e))throw new tp(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}return ml(e,[{key:"emit",value:function(e){this.listeners.forEach((function(t){t(e)}))}},{key:"onUnexpectedError",value:function(e){this.unexpectedErrorHandler(e),this.emit(e)}},{key:"onUnexpectedExternalError",value:function(e){this.unexpectedErrorHandler(e)}}]),e}());function Kv(e){$v(e)||Uv.onUnexpectedError(e)}function qv(e){$v(e)||Uv.onUnexpectedExternalError(e)}function Gv(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack,noTelemetry:tp.isErrorNoTelemetry(e)}:e}var Qv="Canceled";function $v(e){return e instanceof Yv||e instanceof Error&&e.name===Qv&&e.message===Qv}var Yv=function(e){Qh(n,e);var t=Zh(n);function n(){var e;return vl(this,n),(e=t.call(this,Qv)).name=e.message,e}return ml(n)}(jv(Error));function Zv(){var e=new Error(Qv);return e.name=e.message,e}function Xv(e){return e?new Error("Illegal argument: ".concat(e)):new Error("Illegal argument")}function Jv(e){return e?new Error("Illegal state: ".concat(e)):new Error("Illegal state")}var ep=function(e){Qh(n,e);var t=Zh(n);function n(e){var i;return vl(this,n),i=t.call(this,"NotSupported"),e&&(i.message=e),i}return ml(n)}(jv(Error)),tp=function(e){Qh(n,e);var t=Zh(n);function n(e){var i;return vl(this,n),(i=t.call(this,e)).name="ErrorNoTelemetry",i}return ml(n,null,[{key:"fromError",value:function(e){if(e instanceof n)return e;var t=new n;return t.message=e.message,t.stack=e.stack,t}},{key:"isErrorNoTelemetry",value:function(e){return"ErrorNoTelemetry"===e.name}}]),n}(jv(Error)),np=function(e){Qh(n,e);var t=Zh(n);function n(e){var i;return vl(this,n),i=t.call(this,e||"An unexpected bug occurred."),Object.setPrototypeOf(to(i),n.prototype),i}return ml(n)}(jv(Error));function ip(e){var t,n=this,i=!1;return function(){return i?t:(i=!0,t=e.apply(n,arguments))}}var rp=null;function op(e){return null===rp||void 0===rp||rp.trackDisposable(e),e}function ap(e){null===rp||void 0===rp||rp.markAsDisposed(e)}function sp(e,t){null===rp||void 0===rp||rp.setParent(e,t)}function lp(e,t){if(rp){var n,i=Gh(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;rp.setParent(r,t)}}catch(o){i.e(o)}finally{i.f()}}}function up(e){return null===rp||void 0===rp||rp.markAsSingleton(e),e}var cp=function(e){Qh(n,e);var t=Zh(n);function n(e){var i;return vl(this,n),(i=t.call(this,"Encountered errors while disposing of store. Errors: [".concat(e.join(", "),"]"))).errors=e,i}return ml(n)}(jv(Error));function dp(e){if(Mf.is(e)){var t,n=[],i=Gh(e);try{for(i.s();!(t=i.n()).done;){var r=t.value;if(r)try{r.dispose()}catch(Y4){n.push(Y4)}}}catch(o){i.e(o)}finally{i.f()}if(1===n.length)throw n[0];if(n.length>1)throw new cp(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function hp(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0])||arguments[0];return new e(t)}}]),e}();!function(e){function t(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0,r=!1,o=void 0;return o=e((function(e){if(!r)return o?o.dispose():r=!0,t.call(n,e)}),null,i),r&&o.dispose(),o}}function n(e,t,n){return a((function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return e((function(e){return n.call(i,t(e))}),null,r)}),n)}function i(e,t,n){return a((function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return e((function(e){t(e),n.call(i,e)}),null,r)}),n)}function r(e,t,n){return a((function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return e((function(e){return t(e)&&n.call(i,e)}),null,r)}),n)}function o(e,t,i,r){var o=i;return n(e,(function(e){return o=t(o,e)}),r)}function a(e,t){var n,i={onFirstListenerAdd:function(){n=e(r.fire,r)},onLastListenerRemove:function(){null===n||void 0===n||n.dispose()}},r=new xp(i);return null===t||void 0===t||t.add(r),r.event}function s(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=void 0,l=void 0,u=0,c={leakWarningThreshold:o,onFirstListenerAdd:function(){n=e((function(e){u++,s=t(s,e),r&&!l&&(d.fire(s),s=void 0),clearTimeout(l),l=setTimeout((function(){var e=s;s=void 0,l=void 0,(!r||u>1)&&d.fire(e),u=0}),i)}))},onLastListenerRemove:function(){n.dispose()}},d=new xp(c);return null===a||void 0===a||a.add(d),d.event}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return e===t},i=arguments.length>2?arguments[2]:void 0,o=!0;return r(e,(function(e){var i=o||!n(e,t);return o=!1,t=e,i}),i)}e.None=function(){return vp.None},e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;return hp.apply(void 0,Wi(t.map((function(t){return t((function(t){return e.call(n,t)}),null,i)}))))}},e.reduce=o,e.debounce=s,e.latch=l,e.split=function(t,n,i){return[e.filter(t,n,i),e.filter(t,(function(e){return!n(e)}),i)]},e.buffer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=n.slice(),r=e((function(e){i?i.push(e):a.fire(e)})),o=function(){null===i||void 0===i||i.forEach((function(e){return a.fire(e)})),i=null},a=new xp({onFirstListenerAdd:function(){r||(r=e((function(e){return a.fire(e)})))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(o):o())},onLastListenerRemove:function(){r&&r.dispose(),r=null}});return a.event};var u=function(){function e(t){vl(this,e),this.event=t,this.disposables=new gp}return ml(e,[{key:"map",value:function(t){return new e(n(this.event,t,this.disposables))}},{key:"forEach",value:function(t){return new e(i(this.event,t,this.disposables))}},{key:"filter",value:function(t){return new e(r(this.event,t,this.disposables))}},{key:"reduce",value:function(t,n){return new e(o(this.event,t,n,this.disposables))}},{key:"latch",value:function(){return new e(l(this.event,void 0,this.disposables))}},{key:"debounce",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return new e(s(this.event,t,n,i,r,this.disposables))}},{key:"on",value:function(e,t,n){return this.event(e,t,n)}},{key:"once",value:function(e,n,i){return t(this.event)(e,n,i)}},{key:"dispose",value:function(){this.disposables.dispose()}}]),e}();e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},i=function(){return a.fire(n.apply(void 0,arguments))},r=function(){return e.on(t,i)},o=function(){return e.removeListener(t,i)},a=new xp({onFirstListenerAdd:r,onLastListenerRemove:o});return a.event},e.fromDOMEventEmitter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},i=function(){return a.fire(n.apply(void 0,arguments))},r=function(){return e.addEventListener(t,i)},o=function(){return e.removeEventListener(t,i)},a=new xp({onFirstListenerAdd:r,onLastListenerRemove:o});return a.event},e.toPromise=function(e){return new Promise((function(n){return t(e)(n)}))},e.runAndSubscribe=function(e,t){return t(void 0),e((function(e){return t(e)}))},e.runAndSubscribeWithStore=function(e,t){var n=null;function i(e){null===n||void 0===n||n.dispose(),n=new gp,t(e,n)}i(void 0);var r=e((function(e){return i(e)}));return fp((function(){r.dispose(),null===n||void 0===n||n.dispose()}))};var c=function(){function e(t,n){var i=this;vl(this,e),this.obs=t,this._counter=0,this._hasChanged=!1;var r={onFirstListenerAdd:function(){t.addObserver(i)},onLastListenerRemove:function(){t.removeObserver(i)}};this.emitter=new xp(r),n&&n.add(this.emitter)}return ml(e,[{key:"beginUpdate",value:function(e){this._counter++}},{key:"handleChange",value:function(e,t){this._hasChanged=!0}},{key:"endUpdate",value:function(e){0===--this._counter&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}]),e}();e.fromObservable=function(e,t){return new c(e,t).emitter.event}}(pp||(pp={}));var wp=function(){function e(t){vl(this,e),this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name="".concat(t,"_").concat(e._idPool++)}return ml(e,[{key:"start",value:function(e){this._stopWatch=new kp(!0),this._listenerCount=e}},{key:"stop",value:function(){if(this._stopWatch){var e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info("did FIRE ".concat(this._name,": elapsed_ms: ").concat(e.toFixed(5),", listener: ").concat(this._listenerCount," (elapsed_overall: ").concat(this._elapsedOverall.toFixed(2),", invocations: ").concat(this._invocationCount,")")),this._stopWatch=void 0}}}]),e}();wp._idPool=0;var Cp,Sp=function(){function e(t){vl(this,e),this.value=t}return ml(e,[{key:"print",value:function(){console.warn(this.value.split("\n").slice(2).join("\n"))}}],[{key:"create",value:function(){var t;return new e(null!==(t=(new Error).stack)&&void 0!==t?t:"")}}]),e}(),Lp=function(){function e(t,n,i){vl(this,e),this.callback=t,this.callbackThis=n,this.stack=i,this.subscription=new yp}return ml(e,[{key:"invoke",value:function(e){this.callback.call(this.callbackThis,e)}}]),e}(),xp=function(){function e(t){var n,i;vl(this,e),this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=(null===(n=this._options)||void 0===n?void 0:n._profName)?new wp(this._options._profName):void 0,this._deliveryQueue=null===(i=this._options)||void 0===i?void 0:i.deliveryQueue}return ml(e,[{key:"dispose",value:function(){var e,t,n,i;if(!this._disposed){if(this._disposed=!0,this._listeners)this._listeners.clear();null===(e=this._deliveryQueue)||void 0===e||e.clear(this),null===(n=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===n||n.call(t),null===(i=this._leakageMon)||void 0===i||i.dispose()}}},{key:"event",get:function(){var e=this;return this._event||(this._event=function(t,n,i){var r,o,a;e._listeners||(e._listeners=new Bf);var s,l,u=e._listeners.isEmpty();u&&(null===(r=e._options)||void 0===r?void 0:r.onFirstListenerAdd)&&e._options.onFirstListenerAdd(e),e._leakageMon&&e._listeners.size>=30&&(l=Sp.create(),s=e._leakageMon.check(l,e._listeners.size+1));var c=new Lp(t,n,l),d=e._listeners.push(c);u&&(null===(o=e._options)||void 0===o?void 0:o.onFirstListenerDidAdd)&&e._options.onFirstListenerDidAdd(e),(null===(a=e._options)||void 0===a?void 0:a.onListenerDidAdd)&&e._options.onListenerDidAdd(e,t,n);var h=c.subscription.set((function(){(null===s||void 0===s||s(),e._disposed)||(d(),e._options&&e._options.onLastListenerRemove&&(e._listeners&&!e._listeners.isEmpty()||e._options.onLastListenerRemove(e)))}));return i instanceof gp?i.add(h):Array.isArray(i)&&i.push(h),h}),this._event}},{key:"fire",value:function(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Np);var i,r=Gh(this._listeners);try{for(r.s();!(i=r.n()).done;){var o=i.value;this._deliveryQueue.push(this,o,e)}}catch(a){r.e(a)}finally{r.f()}null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),null===(n=this._perfMon)||void 0===n||n.stop()}}}]),e}(),Ep=function(){function e(){vl(this,e),this._queue=new Bf}return ml(e,[{key:"size",get:function(){return this._queue.size}},{key:"push",value:function(e,t,n){this._queue.push(new Dp(e,t,n))}},{key:"clear",value:function(e){var t,n=new Bf,i=Gh(this._queue);try{for(i.s();!(t=i.n()).done;){var r=t.value;r.emitter!==e&&n.push(r)}}catch(o){i.e(o)}finally{i.f()}this._queue=n}},{key:"deliver",value:function(){for(;this._queue.size>0;){var e=this._queue.shift();try{e.listener.invoke(e.event)}catch(Y4){Kv(Y4)}}}}]),e}(),Np=function(e){Qh(n,e);var t=Zh(n);function n(){return vl(this,n),t.apply(this,arguments)}return ml(n,[{key:"clear",value:function(e){this._queue.clear()}}]),n}(Ep),Dp=ml((function e(t,n,i){vl(this,e),this.emitter=t,this.listener=n,this.event=i})),Ip=function(e){Qh(n,e);var t=Zh(n);function n(e){var i;return vl(this,n),(i=t.call(this,e))._isPaused=0,i._eventQueue=new Bf,i._mergeFn=null===e||void 0===e?void 0:e.merge,i}return ml(n,[{key:"pause",value:function(){this._isPaused++}},{key:"resume",value:function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var e=Array.from(this._eventQueue);this._eventQueue.clear(),qh(Uh(n.prototype),"fire",this).call(this,this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)qh(Uh(n.prototype),"fire",this).call(this,this._eventQueue.shift())}},{key:"fire",value:function(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):qh(Uh(n.prototype),"fire",this).call(this,e))}}]),n}(xp),Tp=function(e){Qh(n,e);var t=Zh(n);function n(e){var i,r;return vl(this,n),(i=t.call(this,e))._delay=null!==(r=e.delay)&&void 0!==r?r:100,i}return ml(n,[{key:"fire",value:function(e){var t=this;this._handle||(this.pause(),this._handle=setTimeout((function(){t._handle=void 0,t.resume()}),this._delay)),qh(Uh(n.prototype),"fire",this).call(this,e)}}]),n}(Ip),Mp=function(){function e(){vl(this,e),this.buffers=[]}return ml(e,[{key:"wrapEvent",value:function(e){var t=this;return function(n,i,r){return e((function(e){var r=t.buffers[t.buffers.length-1];r?r.push((function(){return n.call(i,e)})):n.call(i,e)}),void 0,r)}}},{key:"bufferEvents",value:function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n}}]),e}(),Op=function(){function e(){var t=this;vl(this,e),this.listening=!1,this.inputEvent=pp.None,this.inputEventListener=vp.None,this.emitter=new xp({onFirstListenerDidAdd:function(){t.listening=!0,t.inputEventListener=t.inputEvent(t.emitter.fire,t.emitter)},onLastListenerRemove:function(){t.listening=!1,t.inputEventListener.dispose()}}),this.event=this.emitter.event}return ml(e,[{key:"input",set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}},{key:"dispose",value:function(){this.inputEventListener.dispose(),this.emitter.dispose()}}]),e}(),Pp=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof Fp||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pp.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Pp})}(Cp||(Cp={}));for(var Ap,Rp,Fp=function(){function e(){vl(this,e),this._isCancelled=!1,this._emitter=null}return ml(e,[{key:"cancel",value:function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}},{key:"isCancellationRequested",get:function(){return this._isCancelled}},{key:"onCancellationRequested",get:function(){return this._isCancelled?Pp:(this._emitter||(this._emitter=new xp),this._emitter.event)}},{key:"dispose",value:function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}]),e}(),Bp=function(){function e(t){vl(this,e),this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}return ml(e,[{key:"token",get:function(){return this._token||(this._token=new Fp),this._token}},{key:"cancel",value:function(){this._token?this._token instanceof Fp&&this._token.cancel():this._token=Cp.Cancelled}},{key:"dispose",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Fp&&this._token.dispose():this._token=Cp.None}}]),e}(),Vp=function(){function e(){vl(this,e),this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return ml(e,[{key:"define",value:function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}},{key:"keyCodeToStr",value:function(e){return this._keyCodeToStr[e]}},{key:"strToKeyCode",value:function(e){return this._strToKeyCode[e.toLowerCase()]||0}}]),e}(),Wp=new Vp,zp=new Vp,Hp=new Vp,jp=new Array(230),Up={},Kp=[],qp=Object.create(null),Gp=Object.create(null),Qp=[],$p=[],Yp=0;Yp<=193;Yp++)Qp[Yp]=-1;for(var Zp=0;Zp<=127;Zp++)$p[Zp]=-1;if(function(){for(var e="",t=[],n=[],i=0,r=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]];i=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Wp.keyCodeToStr(e)}}(Ap||(Ap={})),"undefined"!==typeof df.vscode&&"undefined"!==typeof df.vscode.process){var Xp=df.vscode.process;Rp={get platform(){return Xp.platform},get arch(){return Xp.arch},get env(){return Xp.env},cwd:function(){return Xp.cwd()}}}else Rp="undefined"!==typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return{NODE_ENV:"production",PUBLIC_URL:"/pvm-plugin-sandbox",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}},cwd:function(){return{NODE_ENV:"production",PUBLIC_URL:"/pvm-plugin-sandbox",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.VSCODE_CWD||process.cwd()}}:{get platform(){return yf?"win32":bf?"darwin":"linux"},get arch(){},get env(){return{}},cwd:function(){return"/"}};var Jp=Rp.cwd,em=(Rp.env,Rp.platform),tm=46,nm=47,im=92,rm=58,om=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r){var o,a;vl(this,n),"string"===typeof i&&0===i.indexOf("not ")?(a="must not be",i=i.replace(/^not /,"")):a="must be";var s=-1!==e.indexOf(".")?"property":"argument",l='The "'.concat(e,'" ').concat(s," ").concat(a," of type ").concat(i);return l+=". Received type ".concat(typeof r),(o=t.call(this,l)).code="ERR_INVALID_ARG_TYPE",o}return ml(n)}(jv(Error));function am(e,t){if("string"!==typeof e)throw new om(t,"string",e)}function sm(e){return e===nm||e===im}function lm(e){return e===nm}function um(e){return e>=65&&e<=90||e>=97&&e<=122}function cm(e,t,n,i){for(var r="",o=0,a=-1,s=0,l=0,u=0;u<=e.length;++u){if(u2){var c=r.lastIndexOf(n);-1===c?(r="",o=0):o=(r=r.slice(0,c)).length-1-r.lastIndexOf(n),a=u,s=0;continue}if(0!==r.length){r="",o=0,a=u,s=0;continue}}t&&(r+=r.length>0?"".concat(n,".."):"..",o=2)}else r.length>0?r+="".concat(n).concat(e.slice(a+1,u)):r=e.slice(a+1,u),o=u-a-1;a=u,s=0}else l===tm&&-1!==s?++s:s=-1}return r}function dm(e,t){if(null===t||"object"!==typeof t)throw new om("pathObject","Object",t);var n=t.dir||t.root,i=t.base||"".concat(t.name||"").concat(t.ext||"");return n?n===t.root?"".concat(n).concat(i):"".concat(n).concat(e).concat(i):i}var hm={resolve:function(){for(var e="",t="",n=!1,i=arguments.length-1;i>=-1;i--){var r=void 0;if(i>=0){if(am(r=i<0||arguments.length<=i?void 0:arguments[i],"path"),0===r.length)continue}else 0===e.length?r=Jp():(void 0===(r={NODE_ENV:"production",PUBLIC_URL:"/pvm-plugin-sandbox",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}["=".concat(e)]||Jp())||r.slice(0,2).toLowerCase()!==e.toLowerCase()&&r.charCodeAt(2)===im)&&(r="".concat(e,"\\"));var o=r.length,a=0,s="",l=!1,u=r.charCodeAt(0);if(1===o)sm(u)&&(a=1,l=!0);else if(sm(u))if(l=!0,sm(r.charCodeAt(1))){for(var c=2,d=c;c2&&sm(r.charCodeAt(2))&&(l=!0,a=3));if(s.length>0)if(e.length>0){if(s.toLowerCase()!==e.toLowerCase())continue}else e=s;if(n){if(e.length>0)break}else if(t="".concat(r.slice(a),"\\").concat(t),n=l,l&&e.length>0)break}return t=cm(t,!n,"\\",sm),n?"".concat(e,"\\").concat(t):"".concat(e).concat(t)||"."},normalize:function(e){am(e,"path");var t=e.length;if(0===t)return".";var n,i=0,r=!1,o=e.charCodeAt(0);if(1===t)return lm(o)?"\\":e;if(sm(o))if(r=!0,sm(e.charCodeAt(1))){for(var a=2,s=a;a2&&sm(e.charCodeAt(2))&&(r=!0,i=3));var u=i0&&sm(e.charCodeAt(t-1))&&(u+="\\"),void 0===n?r?"\\".concat(u):u:r?"".concat(n,"\\").concat(u):"".concat(n).concat(u)},isAbsolute:function(e){am(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return sm(n)||t>2&&um(n)&&e.charCodeAt(1)===rm&&sm(e.charCodeAt(2))},join:function(){if(0===arguments.length)return".";for(var e,t,n=0;n0&&(void 0===e?e=t=i:e+="\\".concat(i))}if(void 0===e)return".";var r=!0,o=0;if("string"===typeof t&&sm(t.charCodeAt(0))){++o;var a=t.length;a>1&&sm(t.charCodeAt(1))&&(++o,a>2&&(sm(t.charCodeAt(2))?++o:r=!1))}if(r){for(;o=2&&(e="\\".concat(e.slice(o)))}return hm.normalize(e)},relative:function(e,t){if(am(e,"from"),am(t,"to"),e===t)return"";var n=hm.resolve(e),i=hm.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";for(var r=0;rr&&e.charCodeAt(o-1)===im;)o--;for(var a=o-r,s=0;ss&&t.charCodeAt(l-1)===im;)l--;for(var u=l-s,c=ac){if(t.charCodeAt(s+h)===im)return i.slice(s+h+1);if(2===h)return i.slice(s+h)}a>c&&(e.charCodeAt(r+h)===im?d=h:2===h&&(d=3)),-1===d&&(d=0)}var g="";for(h=r+d+1;h<=o;++h)h!==o&&e.charCodeAt(h)!==im||(g+=0===g.length?"..":"\\..");return s+=d,g.length>0?"".concat(g).concat(i.slice(s,l)):(i.charCodeAt(s)===im&&++s,i.slice(s,l))},toNamespacedPath:function(e){if("string"!==typeof e)return e;if(0===e.length)return"";var t=hm.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===im){if(t.charCodeAt(1)===im){var n=t.charCodeAt(2);if(63!==n&&n!==tm)return"\\\\?\\UNC\\".concat(t.slice(2))}}else if(um(t.charCodeAt(0))&&t.charCodeAt(1)===rm&&t.charCodeAt(2)===im)return"\\\\?\\".concat(t);return e},dirname:function(e){am(e,"path");var t=e.length;if(0===t)return".";var n=-1,i=0,r=e.charCodeAt(0);if(1===t)return sm(r)?e:".";if(sm(r)){if(n=i=1,sm(e.charCodeAt(1))){for(var o=2,a=o;o2&&sm(e.charCodeAt(2))?3:2);for(var s=-1,l=!0,u=t-1;u>=i;--u)if(sm(e.charCodeAt(u))){if(!l){s=u;break}}else l=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename:function(e,t){void 0!==t&&am(t,"ext"),am(e,"path");var n,i=0,r=-1,o=!0;if(e.length>=2&&um(e.charCodeAt(0))&&e.charCodeAt(1)===rm&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;n>=i;--n){var l=e.charCodeAt(n);if(sm(l)){if(!o){i=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(r=n):(a=-1,r=s))}return i===r?r=s:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=i;--n)if(sm(e.charCodeAt(n))){if(!o){i=n+1;break}}else-1===r&&(o=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname:function(e){am(e,"path");var t=0,n=-1,i=0,r=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===rm&&um(e.charCodeAt(0))&&(t=i=2);for(var s=e.length-1;s>=t;--s){var l=e.charCodeAt(s);if(sm(l)){if(!o){i=s+1;break}}else-1===r&&(o=!1,r=s+1),l===tm?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===r||0===a||1===a&&n===r-1&&n===i+1?"":e.slice(n,r)},format:dm.bind(null,"\\"),parse:function(e){am(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,i=0,r=e.charCodeAt(0);if(1===n)return sm(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(sm(r)){if(i=1,sm(e.charCodeAt(1))){for(var o=2,a=o;o0&&(t.root=e.slice(0,i));for(var s=-1,l=i,u=-1,c=!0,d=e.length-1,h=0;d>=i;--d)if(sm(r=e.charCodeAt(d))){if(!c){l=d+1;break}}else-1===u&&(c=!1,u=d+1),r===tm?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1);return-1!==u&&(-1===s||0===h||1===h&&s===u-1&&s===l+1?t.base=t.name=e.slice(l,u):(t.name=e.slice(l,s),t.base=e.slice(l,u),t.ext=e.slice(s,u))),t.dir=l>0&&l!==i?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},fm={resolve:function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var i=n>=0?n<0||arguments.length<=n?void 0:arguments[n]:Jp();am(i,"path"),0!==i.length&&(e="".concat(i,"/").concat(e),t=i.charCodeAt(0)===nm)}return e=cm(e,!t,"/",lm),t?"/".concat(e):e.length>0?e:"."},normalize:function(e){if(am(e,"path"),0===e.length)return".";var t=e.charCodeAt(0)===nm,n=e.charCodeAt(e.length-1)===nm;return 0===(e=cm(e,!t,"/",lm)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/".concat(e):e)},isAbsolute:function(e){return am(e,"path"),e.length>0&&e.charCodeAt(0)===nm},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=n:e+="/".concat(n))}return void 0===e?".":fm.normalize(e)},relative:function(e,t){if(am(e,"from"),am(t,"to"),e===t)return"";if((e=fm.resolve(e))===(t=fm.resolve(t)))return"";for(var n=e.length,i=n-1,r=t.length-1,o=io){if(t.charCodeAt(1+s)===nm)return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else i>o&&(e.charCodeAt(1+s)===nm?a=s:0===s&&(a=0));var u="";for(s=1+a+1;s<=n;++s)s!==n&&e.charCodeAt(s)!==nm||(u+=0===u.length?"..":"/..");return"".concat(u).concat(t.slice(1+a))},toNamespacedPath:function(e){return e},dirname:function(e){if(am(e,"path"),0===e.length)return".";for(var t=e.charCodeAt(0)===nm,n=-1,i=!0,r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===nm){if(!i){n=r;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&am(t,"ext"),am(e,"path");var n,i=0,r=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(l===nm){if(!o){i=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(r=n):(a=-1,r=s))}return i===r?r=s:-1===r&&(r=e.length),e.slice(i,r)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===nm){if(!o){i=n+1;break}}else-1===r&&(o=!1,r=n+1);return-1===r?"":e.slice(i,r)},extname:function(e){am(e,"path");for(var t=-1,n=0,i=-1,r=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(s!==nm)-1===i&&(r=!1,i=a+1),s===tm?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!r){n=a+1;break}}return-1===t||-1===i||0===o||1===o&&t===i-1&&t===n+1?"":e.slice(t,i)},format:dm.bind(null,"/"),parse:function(e){am(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=e.charCodeAt(0)===nm;i?(t.root="/",n=1):n=0;for(var r=-1,o=0,a=-1,s=!0,l=e.length-1,u=0;l>=n;--l){var c=e.charCodeAt(l);if(c!==nm)-1===a&&(s=!1,a=l+1),c===tm?-1===r?r=l:1!==u&&(u=1):-1!==r&&(u=-1);else if(!s){o=l+1;break}}if(-1!==a){var d=0===o&&i?1:o;-1===r||0===u||1===u&&r===a-1&&r===o+1?t.base=t.name=e.slice(d,a):(t.name=e.slice(d,r),t.base=e.slice(d,a),t.ext=e.slice(r,a))}return o>0?t.dir=e.slice(0,o-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};fm.win32=hm.win32=hm,fm.posix=hm.posix=fm;var gm,vm="win32"===em?hm.normalize:fm.normalize,pm="win32"===em?hm.resolve:fm.resolve,mm="win32"===em?hm.relative:fm.relative,ym="win32"===em?hm.dirname:fm.dirname,bm="win32"===em?hm.basename:fm.basename,_m="win32"===em?hm.extname:fm.extname,km="win32"===em?hm.sep:fm.sep,wm=/^\w[\w\d+.-]*$/,Cm=/^\//,Sm=/^\/\//;function Lm(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!wm.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!Cm.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Sm.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function xm(e,t){return e||t?e:"file"}function Em(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Dm&&(t=Dm+t):t=Dm}return t}var Nm="",Dm="/",Im=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Tm=function(){function e(t,n,i,r,o){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];vl(this,e),"object"===typeof t?(this.scheme=t.scheme||Nm,this.authority=t.authority||Nm,this.path=t.path||Nm,this.query=t.query||Nm,this.fragment=t.fragment||Nm):(this.scheme=xm(t,a),this.authority=n||Nm,this.path=Em(this.scheme,i||Nm),this.query=r||Nm,this.fragment=o||Nm,Lm(this,a))}return ml(e,[{key:"fsPath",get:function(){return Fm(this,!1)}},{key:"with",value:function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=Nm),void 0===n?n=this.authority:null===n&&(n=Nm),void 0===i?i=this.path:null===i&&(i=Nm),void 0===r?r=this.query:null===r&&(r=Nm),void 0===o?o=this.fragment:null===o&&(o=Nm),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new Om(t,n,i,r,o)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Bm(this,e)}},{key:"toJSON",value:function(){return this}}],[{key:"isUri",value:function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme&&"string"===typeof t.fsPath&&"function"===typeof t.with&&"function"===typeof t.toString)}},{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Im.exec(e);return n?new Om(n[2]||Nm,zm(n[4]||Nm),zm(n[5]||Nm),zm(n[7]||Nm),zm(n[9]||Nm),t):new Om(Nm,Nm,Nm,Nm,Nm)}},{key:"file",value:function(e){var t=Nm;if(yf&&(e=e.replace(/\\/g,Dm)),e[0]===Dm&&e[1]===Dm){var n=e.indexOf(Dm,2);-1===n?(t=e.substring(2),e=Dm):(t=e.substring(2,n),e=e.substring(n)||Dm)}return new Om("file",t,e,Nm,Nm)}},{key:"from",value:function(e){var t=new Om(e.scheme,e.authority,e.path,e.query,e.fragment);return Lm(t,!0),t}},{key:"joinPath",value:function(t){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");for(var n,i,r,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s0&&void 0!==arguments[0]&&arguments[0];return e?Bm(this,!0):(this._formatted||(this._formatted=Bm(this,!1)),this._formatted)}},{key:"toJSON",value:function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Mm),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}]),n}(Tm),Pm=(p(gm={},58,"%3A"),p(gm,47,"%2F"),p(gm,63,"%3F"),p(gm,35,"%23"),p(gm,91,"%5B"),p(gm,93,"%5D"),p(gm,64,"%40"),p(gm,33,"%21"),p(gm,36,"%24"),p(gm,38,"%26"),p(gm,39,"%27"),p(gm,40,"%28"),p(gm,41,"%29"),p(gm,42,"%2A"),p(gm,43,"%2B"),p(gm,44,"%2C"),p(gm,59,"%3B"),p(gm,61,"%3D"),p(gm,32,"%20"),gm);function Am(e,t){for(var n=void 0,i=-1,r=0;r=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var a=Pm[o];void 0!==a?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=a):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function Rm(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,yf&&(n=n.replace(/\//g,"\\")),n}function Bm(e,t){var n=t?Rm:Am,i="",r=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=Dm,i+=Dm),o){var u=o.indexOf("@");if(-1!==u){var c=o.substr(0,u);o=o.substr(u+1),-1===(u=c.indexOf(":"))?i+=n(c,!1):(i+=n(c.substr(0,u),!1),i+=":",i+=n(c.substr(u+1),!1)),i+="@"}-1===(u=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,u),!1),i+=o.substr(u))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){var d=a.charCodeAt(1);d>=65&&d<=90&&(a="/".concat(String.fromCharCode(d+32),":").concat(a.substr(3)))}else if(a.length>=2&&58===a.charCodeAt(1)){var h=a.charCodeAt(0);h>=65&&h<=90&&(a="".concat(String.fromCharCode(h+32),":").concat(a.substr(2)))}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:Am(l,!1)),i}function Vm(e){try{return decodeURIComponent(e)}catch(Xh){return e.length>3?e.substr(0,3)+Vm(e.substr(3)):e}}var Wm=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function zm(e){return e.match(Wm)?e.replace(Wm,(function(e){return Vm(e)})):e}var Hm=function(){function e(t,n){vl(this,e),this.lineNumber=t,this.column=n}return ml(e,[{key:"with",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lineNumber,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.column;return t===this.lineNumber&&n===this.column?this:new e(t,n)}},{key:"delta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.with(this.lineNumber+e,this.column+t)}},{key:"equals",value:function(t){return e.equals(this,t)}},{key:"isBefore",value:function(t){return e.isBefore(this,t)}},{key:"isBeforeOrEqual",value:function(t){return e.isBeforeOrEqual(this,t)}},{key:"clone",value:function(){return new e(this.lineNumber,this.column)}},{key:"toString",value:function(){return"("+this.lineNumber+","+this.column+")"}}],[{key:"equals",value:function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}},{key:"isBefore",value:function(e,t){return e.lineNumberi||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}return ml(e,[{key:"isEmpty",value:function(){return e.isEmpty(this)}},{key:"containsPosition",value:function(t){return e.containsPosition(this,t)}},{key:"containsRange",value:function(t){return e.containsRange(this,t)}},{key:"strictContainsRange",value:function(t){return e.strictContainsRange(this,t)}},{key:"plusRange",value:function(t){return e.plusRange(this,t)}},{key:"intersectRanges",value:function(t){return e.intersectRanges(this,t)}},{key:"equalsRange",value:function(t){return e.equalsRange(this,t)}},{key:"getEndPosition",value:function(){return e.getEndPosition(this)}},{key:"getStartPosition",value:function(){return e.getStartPosition(this)}},{key:"toString",value:function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}},{key:"setEndPosition",value:function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)}},{key:"setStartPosition",value:function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)}},{key:"collapseToStart",value:function(){return e.collapseToStart(this)}},{key:"toJSON",value:function(){return this}}],[{key:"isEmpty",value:function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}},{key:"containsPosition",value:function(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}},{key:"strictContainsPosition",value:function(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}},{key:"containsRange",value:function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}},{key:"strictContainsRange",value:function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}},{key:"plusRange",value:function(t,n){var i,r,o,a;return n.startLineNumbert.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new e(i,r,o,a)}},{key:"intersectRanges",value:function(t,n){var i=t.startLineNumber,r=t.startColumn,o=t.endLineNumber,a=t.endColumn,s=n.startLineNumber,l=n.startColumn,u=n.endLineNumber,c=n.endColumn;return iu?(o=u,a=c):o===u&&(a=Math.min(a,c)),i>o||i===o&&r>a?null:new e(i,r,o,a)}},{key:"equalsRange",value:function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}},{key:"getEndPosition",value:function(e){return new Hm(e.endLineNumber,e.endColumn)}},{key:"getStartPosition",value:function(e){return new Hm(e.startLineNumber,e.startColumn)}},{key:"collapseToStart",value:function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}},{key:"fromPositions",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return new e(t.lineNumber,t.column,n.lineNumber,n.column)}},{key:"lift",value:function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}},{key:"isIRange",value:function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}},{key:"areIntersectingOrTouching",value:function(e,t){return!(e.endLineNumbere.startLineNumber}}]),e}(),Um=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r,o){var a;return vl(this,n),(a=t.call(this,e,i,r,o)).selectionStartLineNumber=e,a.selectionStartColumn=i,a.positionLineNumber=r,a.positionColumn=o,a}return ml(n,[{key:"toString",value:function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}},{key:"equalsSelection",value:function(e){return n.selectionsEqual(this,e)}},{key:"getDirection",value:function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}},{key:"setEndPosition",value:function(e,t){return 0===this.getDirection()?new n(this.startLineNumber,this.startColumn,e,t):new n(e,t,this.startLineNumber,this.startColumn)}},{key:"getPosition",value:function(){return new Hm(this.positionLineNumber,this.positionColumn)}},{key:"getSelectionStart",value:function(){return new Hm(this.selectionStartLineNumber,this.selectionStartColumn)}},{key:"setStartPosition",value:function(e,t){return 0===this.getDirection()?new n(e,t,this.endLineNumber,this.endColumn):new n(this.endLineNumber,this.endColumn,e,t)}}],[{key:"selectionsEqual",value:function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}},{key:"fromPositions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return new n(e.lineNumber,e.column,t.lineNumber,t.column)}},{key:"fromRange",value:function(e,t){return 0===t?new n(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new n(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}},{key:"liftSelection",value:function(e){return new n(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}},{key:"selectionsArrEqual",value:function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,i=e.length;n2?this._colorMap[2]:null}}]),e}(),ey=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r){var o;return vl(this,n),(o=t.call(this))._registry=e,o._languageId=i,o._factory=r,o._isDisposed=!1,o._resolvePromise=null,o._isResolved=!1,o}return ml(n,[{key:"isResolved",get:function(){return this._isResolved}},{key:"dispose",value:function(){this._isDisposed=!0,qh(Uh(n.prototype),"dispose",this).call(this)}},{key:"resolve",value:function(){return Xm(this,void 0,void 0,Nn().mark((function e(){return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._resolvePromise||(this._resolvePromise=this._create()),e.abrupt("return",this._resolvePromise);case 2:case"end":return e.stop()}}),e,this)})))}},{key:"_create",value:function(){return Xm(this,void 0,void 0,Nn().mark((function e(){var t;return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve(this._factory.createTokenizationSupport());case 2:t=e.sent,this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t));case 5:case"end":return e.stop()}}),e,this)})))}}]),n}(vp),ty=function(){function e(t,n,i){vl(this,e),this._tokenBrand=void 0,this.offset=t,this.type=n,this.language=i}return ml(e,[{key:"toString",value:function(){return"("+this.offset+", "+this.type+")"}}]),e}(),ny=ml((function e(t,n){vl(this,e),this._tokenizationResultBrand=void 0,this.tokens=t,this.endState=n})),iy=ml((function e(t,n){vl(this,e),this._encodedTokenizationResultBrand=void 0,this.tokens=t,this.endState=n}));!function(e){var t=new Map;t.set(0,qm.symbolMethod),t.set(1,qm.symbolFunction),t.set(2,qm.symbolConstructor),t.set(3,qm.symbolField),t.set(4,qm.symbolVariable),t.set(5,qm.symbolClass),t.set(6,qm.symbolStruct),t.set(7,qm.symbolInterface),t.set(8,qm.symbolModule),t.set(9,qm.symbolProperty),t.set(10,qm.symbolEvent),t.set(11,qm.symbolOperator),t.set(12,qm.symbolUnit),t.set(13,qm.symbolValue),t.set(15,qm.symbolEnum),t.set(14,qm.symbolConstant),t.set(15,qm.symbolEnum),t.set(16,qm.symbolEnumMember),t.set(17,qm.symbolKeyword),t.set(27,qm.symbolSnippet),t.set(18,qm.symbolText),t.set(19,qm.symbolColor),t.set(20,qm.symbolFile),t.set(21,qm.symbolReference),t.set(22,qm.symbolCustomColor),t.set(23,qm.symbolFolder),t.set(24,qm.symbolTypeParameter),t.set(25,qm.account),t.set(26,qm.issues),e.toIcon=function(e){var n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=qm.symbolProperty),n};var n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){var i=n.get(e);return"undefined"!==typeof i||t||(i=9),i}}(Gm||(Gm={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Qm||(Qm={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}($m||($m={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(Ym||(Ym={})),function(e){var t=new Map;t.set(0,qm.symbolFile),t.set(1,qm.symbolModule),t.set(2,qm.symbolNamespace),t.set(3,qm.symbolPackage),t.set(4,qm.symbolClass),t.set(5,qm.symbolMethod),t.set(6,qm.symbolProperty),t.set(7,qm.symbolField),t.set(8,qm.symbolConstructor),t.set(9,qm.symbolEnum),t.set(10,qm.symbolInterface),t.set(11,qm.symbolFunction),t.set(12,qm.symbolVariable),t.set(13,qm.symbolConstant),t.set(14,qm.symbolString),t.set(15,qm.symbolNumber),t.set(16,qm.symbolBoolean),t.set(17,qm.symbolArray),t.set(18,qm.symbolObject),t.set(19,qm.symbolKey),t.set(20,qm.symbolNull),t.set(21,qm.symbolEnumMember),t.set(22,qm.symbolStruct),t.set(23,qm.symbolEvent),t.set(24,qm.symbolOperator),t.set(25,qm.symbolTypeParameter),e.toIcon=function(e){var n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=qm.symbolProperty),n}}(Zm||(Zm={}));var ry,oy,ay=ml((function e(t){vl(this,e),this.value=t}));ay.Comment=new ay("comment"),ay.Imports=new ay("imports"),ay.Region=new ay("region"),function(e){e.is=function(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}}(ry||(ry={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(oy||(oy={}));var sy,ly,uy,cy,dy,hy,fy,gy,vy,py,my,yy,by,_y,ky,wy,Cy,Sy,Ly,xy,Ey,Ny,Dy,Iy,Ty,My,Oy,Py,Ay,Ry,Fy,By,Vy,Wy,zy,Hy,jy,Uy,Ky=new Jm;!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(sy||(sy={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(ly||(ly={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(uy||(uy={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(cy||(cy={})),function(e){e[e.Deprecated=1]="Deprecated"}(dy||(dy={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(hy||(hy={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(fy||(fy={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(gy||(gy={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(vy||(vy={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(py||(py={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(my||(my={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingDelete=6]="autoClosingDelete",e[e.autoClosingOvertype=7]="autoClosingOvertype",e[e.autoClosingQuotes=8]="autoClosingQuotes",e[e.autoIndent=9]="autoIndent",e[e.automaticLayout=10]="automaticLayout",e[e.autoSurround=11]="autoSurround",e[e.bracketPairColorization=12]="bracketPairColorization",e[e.guides=13]="guides",e[e.codeLens=14]="codeLens",e[e.codeLensFontFamily=15]="codeLensFontFamily",e[e.codeLensFontSize=16]="codeLensFontSize",e[e.colorDecorators=17]="colorDecorators",e[e.columnSelection=18]="columnSelection",e[e.comments=19]="comments",e[e.contextmenu=20]="contextmenu",e[e.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",e[e.cursorBlinking=22]="cursorBlinking",e[e.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",e[e.cursorStyle=24]="cursorStyle",e[e.cursorSurroundingLines=25]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",e[e.cursorWidth=27]="cursorWidth",e[e.disableLayerHinting=28]="disableLayerHinting",e[e.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",e[e.domReadOnly=30]="domReadOnly",e[e.dragAndDrop=31]="dragAndDrop",e[e.dropIntoEditor=32]="dropIntoEditor",e[e.emptySelectionClipboard=33]="emptySelectionClipboard",e[e.experimental=34]="experimental",e[e.extraEditorClassName=35]="extraEditorClassName",e[e.fastScrollSensitivity=36]="fastScrollSensitivity",e[e.find=37]="find",e[e.fixedOverflowWidgets=38]="fixedOverflowWidgets",e[e.folding=39]="folding",e[e.foldingStrategy=40]="foldingStrategy",e[e.foldingHighlight=41]="foldingHighlight",e[e.foldingImportsByDefault=42]="foldingImportsByDefault",e[e.foldingMaximumRegions=43]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=44]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=45]="fontFamily",e[e.fontInfo=46]="fontInfo",e[e.fontLigatures=47]="fontLigatures",e[e.fontSize=48]="fontSize",e[e.fontWeight=49]="fontWeight",e[e.formatOnPaste=50]="formatOnPaste",e[e.formatOnType=51]="formatOnType",e[e.glyphMargin=52]="glyphMargin",e[e.gotoLocation=53]="gotoLocation",e[e.hideCursorInOverviewRuler=54]="hideCursorInOverviewRuler",e[e.hover=55]="hover",e[e.inDiffEditor=56]="inDiffEditor",e[e.inlineSuggest=57]="inlineSuggest",e[e.letterSpacing=58]="letterSpacing",e[e.lightbulb=59]="lightbulb",e[e.lineDecorationsWidth=60]="lineDecorationsWidth",e[e.lineHeight=61]="lineHeight",e[e.lineNumbers=62]="lineNumbers",e[e.lineNumbersMinChars=63]="lineNumbersMinChars",e[e.linkedEditing=64]="linkedEditing",e[e.links=65]="links",e[e.matchBrackets=66]="matchBrackets",e[e.minimap=67]="minimap",e[e.mouseStyle=68]="mouseStyle",e[e.mouseWheelScrollSensitivity=69]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=70]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=71]="multiCursorMergeOverlapping",e[e.multiCursorModifier=72]="multiCursorModifier",e[e.multiCursorPaste=73]="multiCursorPaste",e[e.occurrencesHighlight=74]="occurrencesHighlight",e[e.overviewRulerBorder=75]="overviewRulerBorder",e[e.overviewRulerLanes=76]="overviewRulerLanes",e[e.padding=77]="padding",e[e.parameterHints=78]="parameterHints",e[e.peekWidgetDefaultFocus=79]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=80]="definitionLinkOpensInPeek",e[e.quickSuggestions=81]="quickSuggestions",e[e.quickSuggestionsDelay=82]="quickSuggestionsDelay",e[e.readOnly=83]="readOnly",e[e.renameOnType=84]="renameOnType",e[e.renderControlCharacters=85]="renderControlCharacters",e[e.renderFinalNewline=86]="renderFinalNewline",e[e.renderLineHighlight=87]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=88]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=89]="renderValidationDecorations",e[e.renderWhitespace=90]="renderWhitespace",e[e.revealHorizontalRightPadding=91]="revealHorizontalRightPadding",e[e.roundedSelection=92]="roundedSelection",e[e.rulers=93]="rulers",e[e.scrollbar=94]="scrollbar",e[e.scrollBeyondLastColumn=95]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=96]="scrollBeyondLastLine",e[e.scrollPredominantAxis=97]="scrollPredominantAxis",e[e.selectionClipboard=98]="selectionClipboard",e[e.selectionHighlight=99]="selectionHighlight",e[e.selectOnLineNumbers=100]="selectOnLineNumbers",e[e.showFoldingControls=101]="showFoldingControls",e[e.showUnused=102]="showUnused",e[e.snippetSuggestions=103]="snippetSuggestions",e[e.smartSelect=104]="smartSelect",e[e.smoothScrolling=105]="smoothScrolling",e[e.stickyTabStops=106]="stickyTabStops",e[e.stopRenderingLineAfter=107]="stopRenderingLineAfter",e[e.suggest=108]="suggest",e[e.suggestFontSize=109]="suggestFontSize",e[e.suggestLineHeight=110]="suggestLineHeight",e[e.suggestOnTriggerCharacters=111]="suggestOnTriggerCharacters",e[e.suggestSelection=112]="suggestSelection",e[e.tabCompletion=113]="tabCompletion",e[e.tabIndex=114]="tabIndex",e[e.unicodeHighlighting=115]="unicodeHighlighting",e[e.unusualLineTerminators=116]="unusualLineTerminators",e[e.useShadowDOM=117]="useShadowDOM",e[e.useTabStops=118]="useTabStops",e[e.wordSeparators=119]="wordSeparators",e[e.wordWrap=120]="wordWrap",e[e.wordWrapBreakAfterCharacters=121]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=122]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=123]="wordWrapColumn",e[e.wordWrapOverride1=124]="wordWrapOverride1",e[e.wordWrapOverride2=125]="wordWrapOverride2",e[e.wrappingIndent=126]="wrappingIndent",e[e.wrappingStrategy=127]="wrappingStrategy",e[e.showDeprecated=128]="showDeprecated",e[e.inlayHints=129]="inlayHints",e[e.editorClassName=130]="editorClassName",e[e.pixelRatio=131]="pixelRatio",e[e.tabFocusMode=132]="tabFocusMode",e[e.layoutInfo=133]="layoutInfo",e[e.wrappingInfo=134]="wrappingInfo"}(yy||(yy={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(by||(by={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(_y||(_y={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(ky||(ky={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(wy||(wy={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Cy||(Cy={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Sy||(Sy={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE"}(Ly||(Ly={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(xy||(xy={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Ey||(Ey={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Ny||(Ny={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Dy||(Dy={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(Iy||(Iy={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(Ty||(Ty={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(My||(My={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(Oy||(Oy={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(Py||(Py={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(Ay||(Ay={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(Ry||(Ry={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(Fy||(Fy={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(By||(By={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(Vy||(Vy={})),function(e){e[e.Deprecated=1]="Deprecated"}(Wy||(Wy={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(zy||(zy={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(Hy||(Hy={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(jy||(jy={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(Uy||(Uy={}));var qy=function(){function e(){vl(this,e)}return ml(e,null,[{key:"chord",value:function(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}]),e}();function Gy(){return{editor:void 0,languages:void 0,CancellationTokenSource:Bp,Emitter:xp,KeyCode:Ly,KeyMod:qy,Position:Hm,Range:jm,Selection:Um,SelectionDirection:Fy,MarkerSeverity:xy,MarkerTag:Ey,Uri:Tm,Token:ty}}qy.CtrlCmd=2048,qy.Shift=1024,qy.Alt=512,qy.WinCtrl=256;var Qy,$y=function(){function e(t){vl(this,e),this.fn=t,this.lastCache=void 0,this.lastArgKey=void 0}return ml(e,[{key:"get",value:function(e){var t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.fn(e)),this.lastCache}}]),e}(),Yy=function(){function e(t){vl(this,e),this.fn=t,this._map=new Map}return ml(e,[{key:"cachedValues",get:function(){return this._map}},{key:"get",value:function(e){if(this._map.has(e))return this._map.get(e);var t=this.fn(e);return this._map.set(e,t),t}}]),e}(),Zy=function(){function e(t){vl(this,e),this.executor=t,this._didRun=!1}return ml(e,[{key:"hasValue",value:function(){return this._didRun}},{key:"getValue",value:function(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}},{key:"rawValue",get:function(){return this._value}}]),e}();var Xy=/{(\d+)}/g;function Jy(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=n.length?e:n[i]}))}function eb(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function tb(e,t){if(!e||!t)return e;var n=t.length;if(0===n||0===e.length)return e;for(var i=0;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function nb(e,t){if(!e||!t)return e;var n=t.length,i=e.length;if(0===n||0===i)return e;for(var r=i,o=-1;-1!==(o=e.lastIndexOf(t,r-1))&&o+n===r;){if(0===o)return"";r=o}return e.substring(0,r)}function ib(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function rb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)throw new Error("Cannot create regex from empty string");t||(e=eb(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function ob(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function ab(e){return e.split(/\r\n|\r|\n/)}function sb(e){for(var t=0,n=e.length;t1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=t;i1&&void 0!==arguments[1]?arguments[1]:e.length-1,n=t;n>=0;n--){var i=e.charCodeAt(n);if(32!==i&&9!==i)return n}return-1}function cb(e,t){return et?1:0}function db(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t.length;ns)return 1}var l=i-n,u=o-r;return lu?1:0}function hb(e,t){return fb(e,t,0,e.length,0,t.length)}function fb(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t.length;n=128||s>=128)return db(e.toLowerCase(),t.toLowerCase(),n,i,r,o);vb(a)&&(a-=32),vb(s)&&(s-=32);var l=a-s;if(0!==l)return l}}var u=i-n,c=o-r;return uc?1:0}function gb(e){return e>=48&&e<=57}function vb(e){return e>=97&&e<=122}function pb(e){return e>=65&&e<=90}function mb(e,t){return e.length===t.length&&0===fb(e,t)}function yb(e,t){var n=t.length;return!(t.length>e.length)&&0===fb(e,t,0,n)}function bb(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n1&&void 0!==arguments[1]?arguments[1]:0;vl(this,e),this._str=t,this._len=t.length,this._offset=n}return ml(e,[{key:"offset",get:function(){return this._offset}},{key:"setOffset",value:function(e){this._offset=e}},{key:"prevCodePoint",value:function(){var e=function(e,t){var n=e.charCodeAt(t-1);if(wb(n)&&t>1){var i=e.charCodeAt(t-2);if(kb(i))return Cb(i,n)}return n}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}},{key:"nextCodePoint",value:function(){var e=Sb(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}},{key:"eol",value:function(){return this._offset>=this._len}}]),e}(),xb=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;vl(this,e),this._iterator=new Lb(t,n)}return ml(e,[{key:"offset",get:function(){return this._iterator.offset}},{key:"nextGraphemeLength",value:function(){for(var e=zb.getInstance(),t=this._iterator,n=t.offset,i=e.getGraphemeBreakType(t.nextCodePoint());!t.eol();){var r=t.offset,o=e.getGraphemeBreakType(t.nextCodePoint());if(Wb(i,o)){t.setOffset(r);break}i=o}return t.offset-n}},{key:"prevGraphemeLength",value:function(){for(var e=zb.getInstance(),t=this._iterator,n=t.offset,i=e.getGraphemeBreakType(t.prevCodePoint());t.offset>0;){var r=t.offset,o=e.getGraphemeBreakType(t.prevCodePoint());if(Wb(o,i)){t.setOffset(r);break}i=o}return n-t.offset}},{key:"eol",value:function(){return this._iterator.eol()}}]),e}();function Eb(e,t){return new xb(e,t).nextGraphemeLength()}function Nb(e,t){return new xb(e,t).prevGraphemeLength()}var Db=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function Ib(e){return Db.test(e)}var Tb=/^[\t\n\r\x20-\x7E]*$/;function Mb(e){return Tb.test(e)}var Ob=/[\u2028\u2029]/;function Pb(e){return Ob.test(e)}function Ab(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Rb(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}var Fb=String.fromCharCode(65279);function Bb(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function Vb(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function Wb(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}var zb=function(){function e(){vl(this,e),this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}return ml(e,[{key:"getGraphemeBreakType",value:function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;for(var t=this._data,n=t.length/3,i=1;i<=n;)if(et[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}],[{key:"getInstance",value:function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE}}]),e}();function Hb(e,t){if(0===e)return 0;var n=function(e,t){var n=new Lb(t,e),i=n.prevCodePoint();for(;jb(i)||65039===i||8419===i;){if(0===n.offset)return;i=n.prevCodePoint()}if(!Rb(i))return;var r=n.offset;if(r>0){8205===n.prevCodePoint()&&(r=n.offset)}return r}(e,t);if(void 0!==n)return n;var i=new Lb(t,e);return i.prevCodePoint(),i.offset}function jb(e){return 127995<=e&&e<=127999}zb._INSTANCE=null;var Ub=function(){function e(t){vl(this,e),this.confusableDictionary=t}return ml(e,[{key:"isAmbiguous",value:function(e){return this.confusableDictionary.has(e)}},{key:"getPrimaryConfusable",value:function(e){return this.confusableDictionary.get(e)}},{key:"getConfusableCodePoints",value:function(){return new Set(this.confusableDictionary.keys())}}],[{key:"getInstance",value:function(t){return e.cache.get(Array.from(t))}},{key:"getLocales",value:function(){return e._locales.getValue()}}]),e}();Qy=Ub,Ub.ambiguousCharacterData=new Zy((function(){return JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')})),Ub.cache=new $y((function(e){function t(e){for(var t=new Map,n=0;n=0,e_=Xb.indexOf("AppleWebKit")>=0,t_=Xb.indexOf("Chrome")>=0,n_=!t_&&Xb.indexOf("Safari")>=0,i_=!t_&&!n_&&e_,r_=Xb.indexOf("Electron/")>=0,o_=Xb.indexOf("Android")>=0,a_=!1;if(window.matchMedia){var s_=window.matchMedia("(display-mode: standalone)");a_=s_.matches,$b(s_,(function(e){var t=e.matches;a_=t}))}function l_(){return a_}var u_=function(){function e(t){vl(this,e),this.domNode=t,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}return ml(e,[{key:"setMaxWidth",value:function(e){var t=c_(e);this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth)}},{key:"setWidth",value:function(e){var t=c_(e);this._width!==t&&(this._width=t,this.domNode.style.width=this._width)}},{key:"setHeight",value:function(e){var t=c_(e);this._height!==t&&(this._height=t,this.domNode.style.height=this._height)}},{key:"setTop",value:function(e){var t=c_(e);this._top!==t&&(this._top=t,this.domNode.style.top=this._top)}},{key:"setLeft",value:function(e){var t=c_(e);this._left!==t&&(this._left=t,this.domNode.style.left=this._left)}},{key:"setBottom",value:function(e){var t=c_(e);this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom)}},{key:"setRight",value:function(e){var t=c_(e);this._right!==t&&(this._right=t,this.domNode.style.right=this._right)}},{key:"setFontFamily",value:function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}},{key:"setFontWeight",value:function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}},{key:"setFontSize",value:function(e){var t=c_(e);this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize)}},{key:"setFontStyle",value:function(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}},{key:"setFontFeatureSettings",value:function(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}},{key:"setTextDecoration",value:function(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}},{key:"setLineHeight",value:function(e){var t=c_(e);this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight)}},{key:"setLetterSpacing",value:function(e){var t=c_(e);this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing)}},{key:"setClassName",value:function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}},{key:"toggleClassName",value:function(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}},{key:"setDisplay",value:function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}},{key:"setPosition",value:function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}},{key:"setVisibility",value:function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}},{key:"setColor",value:function(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}},{key:"setBackgroundColor",value:function(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}},{key:"setLayerHinting",value:function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}},{key:"setBoxShadow",value:function(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}},{key:"setContain",value:function(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}},{key:"setAttribute",value:function(e,t){this.domNode.setAttribute(e,t)}},{key:"removeAttribute",value:function(e){this.domNode.removeAttribute(e)}},{key:"appendChild",value:function(e){this.domNode.appendChild(e.domNode)}},{key:"removeChild",value:function(e){this.domNode.removeChild(e.domNode)}}]),e}();function c_(e){return"number"===typeof e?"".concat(e,"px"):e}function d_(e){return new u_(e)}function h_(e,t){e instanceof u_?(e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)):(e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px")}var f_=function(){function e(t,n){vl(this,e),this.chr=t,this.type=n,this.width=0}return ml(e,[{key:"fulfill",value:function(e){this.width=e}}]),e}(),g_=function(){function e(t,n){vl(this,e),this._bareFontInfo=t,this._requests=n,this._container=null,this._testElements=null}return ml(e,[{key:"read",value:function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}},{key:"_createDomElements",value:function(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-50000px",t.style.width="50000px";var n=document.createElement("div");h_(n,this._bareFontInfo),t.appendChild(n);var i=document.createElement("div");h_(i,this._bareFontInfo),i.style.fontWeight="bold",t.appendChild(i);var r=document.createElement("div");h_(r,this._bareFontInfo),r.style.fontStyle="italic",t.appendChild(r);var o,a=[],s=Gh(this._requests);try{for(s.s();!(o=s.n()).done;){var l=o.value,u=void 0;0===l.type&&(u=n),2===l.type&&(u=i),1===l.type&&(u=r),u.appendChild(document.createElement("br"));var c=document.createElement("span");e._render(c,l),u.appendChild(c),a.push(c)}}catch(d){s.e(d)}finally{s.f()}this._container=t,this._testElements=a}},{key:"_readFromDomElements",value:function(){for(var e=0,t=this._requests.length;e.001){S=!1;break}}var D=!0;return S&&m.width!==L&&(D=!1),m.width>p.width&&(D=!1),new b_({pixelRatio:Yb.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:S,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:r.width,canUseHalfwidthRightwardsArrow:D,spaceWidth:o.width,middotWidth:y.width,wsmiddotWidth:b.width,maxDigitWidth:C},!0)}}]),n}(vp),k_=function(){function e(){vl(this,e),this._keys=Object.create(null),this._values=Object.create(null)}return ml(e,[{key:"has",value:function(e){var t=e.getId();return!!this._values[t]}},{key:"get",value:function(e){var t=e.getId();return this._values[t]}},{key:"put",value:function(e,t){var n=e.getId();this._keys[n]=e,this._values[n]=t}},{key:"remove",value:function(e){var t=e.getId();delete this._keys[t],delete this._values[t]}},{key:"getValues",value:function(){var e=this;return Object.keys(this._keys).map((function(t){return e._values[t]}))}}]),e}(),w_=new __;!function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(v_||(v_={}));var C_=L_("instantiationService");function S_(e,t,n){t[v_.DI_TARGET]===t?t[v_.DI_DEPENDENCIES].push({id:e,index:n}):(t[v_.DI_DEPENDENCIES]=[{id:e,index:n}],t[v_.DI_TARGET]=t)}function L_(e){if(v_.serviceIds.has(e))return v_.serviceIds.get(e);var t=function e(t,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");S_(e,t,i)};return t.toString=function(){return e},v_.serviceIds.set(e,t),t}var x_=L_("codeEditorService");function E_(e,t){if(!e)throw new Error(t?"Assertion failed (".concat(t,")"):"Assertion Failed")}var N_,D_,I_,T_={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},M_=function(e){Qh(n,e);var t=Zh(n);function n(e){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return vl(this,n),(i=t.call(this))._onDidUpdate=i._register(new xp),i._editor=e,i._options=Ng(r,T_,!1),i.disposed=!1,i.nextIdx=-1,i.ranges=[],i.ignoreSelectionChange=!1,i.revealFirst=Boolean(i._options.alwaysRevealFirst),i._register(i._editor.onDidDispose((function(){return i.dispose()}))),i._register(i._editor.onDidUpdateDiff((function(){return i._onDiffUpdated()}))),i._options.followsCaret&&i._register(i._editor.getModifiedEditor().onDidChangeCursorPosition((function(e){i.ignoreSelectionChange||(i.nextIdx=-1)}))),i._options.alwaysRevealFirst&&i._register(i._editor.getModifiedEditor().onDidChangeModel((function(e){i.revealFirst=!0}))),i._init(),i}return ml(n,[{key:"_init",value:function(){this._editor.getLineChanges()}},{key:"_onDiffUpdated",value:function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}},{key:"_compute",value:function(e){var t=this;this.ranges=[],e&&e.forEach((function(e){!t._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach((function(e){t.ranges.push({rhs:!0,range:new jm(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})})):0===e.modifiedEndLineNumber?t.ranges.push({rhs:!0,range:new jm(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber+1,1)}):t.ranges.push({rhs:!0,range:new jm(e.modifiedStartLineNumber,1,e.modifiedEndLineNumber+1,1)})})),this.ranges.sort((function(e,t){return jm.compareRangesUsingStarts(e.range,t.range)})),this._onDidUpdate.fire(this)}},{key:"_initIdx",value:function(e){var t=!1,n=this._editor.getPosition();if(n){for(var i=0,r=this.ranges.length;i=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}}},{key:"canNavigate",value:function(){return this.ranges&&this.ranges.length>0}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._move(!0,e)}},{key:"previous",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._move(!1,e)}},{key:"dispose",value:function(){qh(Uh(n.prototype),"dispose",this).call(this),this.ranges=[],this.disposed=!0}}]),n}(vp),O_={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"};!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(N_||(N_={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(D_||(D_={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(I_||(I_={}));var P_=function(){function e(t){vl(this,e),this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|t.tabSize),this.indentSize=0|t.tabSize,this.insertSpaces=Boolean(t.insertSpaces),this.defaultEOL=0|t.defaultEOL,this.trimAutoWhitespace=Boolean(t.trimAutoWhitespace),this.bracketPairColorizationOptions=t.bracketPairColorizationOptions}return ml(e,[{key:"equals",value:function(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&Dg(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}},{key:"createChangeEvent",value:function(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}]),e}(),A_=ml((function e(t,n){vl(this,e),this._findMatchBrand=void 0,this.range=t,this.matches=n}));var R_,F_=ml((function e(t,n,i,r,o,a){vl(this,e),this.identifier=t,this.range=n,this.text=i,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=o,this._isTracked=a})),B_=ml((function e(t,n,i){vl(this,e),this.regex=t,this.wordSeparators=n,this.simpleSearch=i})),V_=ml((function e(t,n,i){vl(this,e),this.reverseEdits=t,this.changes=n,this.trimAutoWhitespaceLineNumbers=i}));function W_(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}!function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(R_||(R_={}));var z_=function(){function e(t){if(vl(this,e),this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=t.open,this.close=t.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(t.notIn))for(var n=0,i=t.notIn.length;n0&&e.getLanguageId(a-1)===r;)a--;return new K_(e,r,a,o+1,e.getStartOffset(a),e.getEndOffset(o))}var K_=function(){function e(t,n,i,r,o,a){vl(this,e),this._scopedLineTokensBrand=void 0,this._actual=t,this.languageId=n,this._firstTokenIndex=i,this._lastTokenIndex=r,this.firstCharOffset=o,this._lastCharOffset=a}return ml(e,[{key:"getLineContent",value:function(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}},{key:"getActualLineContentBefore",value:function(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}},{key:"getTokenCount",value:function(){return this._lastTokenIndex-this._firstTokenIndex}},{key:"findTokenIndexAtOffset",value:function(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}},{key:"getStandardTokenType",value:function(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}]),e}();function q_(e){return 0!==(3&e)}var G_=function(){function e(t){if(vl(this,e),t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new z_(e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new z_({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new z_({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"===typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return ml(e,[{key:"getAutoClosingPairs",value:function(){return this._autoClosingPairs}},{key:"getAutoCloseBeforeSet",value:function(){return this._autoCloseBefore}},{key:"getSurroundingPairs",value:function(){return this._surroundingPairs}}]),e}();G_.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var Q_,$_,Y_,Z_,X_="undefined"!==typeof Buffer,J_=function(){function e(t){vl(this,e),this.buffer=t,this.byteLength=this.buffer.byteLength}return ml(e,[{key:"toString",value:function(){return X_?this.buffer.toString():(Q_||(Q_=new TextDecoder),Q_.decode(this.buffer))}}],[{key:"wrap",value:function(t){return X_&&!Buffer.isBuffer(t)&&(t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)),new e(t)}}]),e}();function ek(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function tk(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function nk(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function ik(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function rk(e,t){return e[t]}function ok(e,t,n){e[n]=t}function ak(){return $_||($_=new TextDecoder("UTF-16LE")),$_}function sk(){return Z_||(Z_=Tf()?ak():(Y_||(Y_=new TextDecoder("UTF-16BE")),Y_)),Z_}var lk,uk,ck="undefined"!==typeof TextDecoder;function dk(e,t,n){for(var i=[],r=0,o=0;o0&&(65279===i[0]||65534===i[0]))return dk(e,t,n);return ak().decode(i)}):(lk=function(e){return new fk},uk=dk);var hk=function(){function e(t){vl(this,e),this._capacity=0|t,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return ml(e,[{key:"reset",value:function(){this._completedStrings=null,this._bufferLength=0}},{key:"build",value:function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}},{key:"_buildBuffer",value:function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return sk().decode(e)}},{key:"_flushBuffer",value:function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}},{key:"write1",value:function(e){var t=this._capacity-this._bufferLength;t<=1&&(0===t||kb(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}},{key:"appendASCII",value:function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}},{key:"appendASCIIString",value:function(e){var t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n0&&u.push({open:h,close:f})}return u}(n);this.brackets=i.map((function(e,n){return new gk(t,n,e.open,e.close,function(e,t,n,i){var r=[];r=(r=r.concat(e)).concat(t);for(var o=0,a=r.length;o=0&&i.push(u)}}catch(f){l.e(f)}finally{l.f()}var c,d=Gh(s.close);try{for(d.s();!(c=d.n()).done;){var h=c.value;h.indexOf(e)>=0&&i.push(h)}}catch(f){d.e(f)}finally{d.f()}}}function mk(e,t){return e.length-t.length}function yk(e){if(e.length<=1)return e;var t,n=[],i=new Set,r=Gh(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;i.has(o)||(n.push(o),i.add(o))}}catch(a){r.e(a)}finally{r.f()}return n}function bk(e){var t=/^[\w ]+$/.test(e);return e=eb(e),t?"\\b".concat(e,"\\b"):e}function _k(e){return rb("(".concat(e.map(bk).join(")|("),")"),!0)}var kk=function(){var e=null,t=null;return function(n){return e!==n&&(t=function(e){if(ck){for(var t=new Uint16Array(e.length),n=0,i=e.length-1;i>=0;i--)t[n++]=e.charCodeAt(i);return sk().decode(t)}for(var r=[],o=0,a=e.length-1;a>=0;a--)r[o++]=e.charAt(a);return r.join("")}(e=n)),t}}(),wk=function(){function e(){vl(this,e)}return ml(e,null,[{key:"_findPrevBracketInText",value:function(e,t,n,i){var r=n.match(e);if(!r)return null;var o=n.length-(r.index||0),a=r[0].length,s=i+o;return new jm(t,s-a+1,t,s+1)}},{key:"findPrevBracketInRange",value:function(e,t,n,i,r){var o=kk(n).substring(n.length-r,n.length-i);return this._findPrevBracketInText(e,t,o,i)}},{key:"findNextBracketInText",value:function(e,t,n,i){var r=n.match(e);if(!r)return null;var o=r.index||0,a=r[0].length;if(0===a)return null;var s=i+o;return new jm(t,s+1,t,s+1+a)}},{key:"findNextBracketInRange",value:function(e,t,n,i,r){var o=n.substring(i,r);return this.findNextBracketInText(e,t,o,i)}}]),e}(),Ck=function(){function e(t){vl(this,e),this._richEditBrackets=t}return ml(e,[{key:"getElectricCharacters",value:function(){var e=[];if(this._richEditBrackets){var t,n=Gh(this._richEditBrackets.brackets);try{for(n.s();!(t=n.n()).done;){var i,r=Gh(t.value.close);try{for(r.s();!(i=r.n()).done;){var o=i.value,a=o.charAt(o.length-1);e.push(a)}}catch(s){r.e(s)}finally{r.f()}}}catch(s){n.e(s)}finally{n.f()}}return $f(e)}},{key:"onElectricCharacter",value:function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var i=t.findTokenIndexAtOffset(n-1);if(q_(t.getStandardTokenType(i)))return null;var r=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,n-1)+e,a=wk.findPrevBracketInRange(r,1,o,0,o.length);if(!a)return null;var s=o.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[s])return null;var l=t.getActualLineContentBefore(a.startColumn-1);return/^\s*$/.test(l)?{matchOpenBracket:s}:null}}]),e}();function Sk(e){return e.global&&(e.lastIndex=0),!0}var Lk=function(){function e(t){vl(this,e),this._indentationRules=t}return ml(e,[{key:"shouldIncrease",value:function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&Sk(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}},{key:"shouldDecrease",value:function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&Sk(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}},{key:"shouldIndentNextLine",value:function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&Sk(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}},{key:"shouldIgnore",value:function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&Sk(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}},{key:"getIndentMetadata",value:function(e){var t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}]),e}(),xk=function(){function e(t){var n=this;vl(this,e),(t=t||{}).brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach((function(t){var i=e._createOpenBracketRegExp(t[0]),r=e._createCloseBracketRegExp(t[1]);i&&r&&n._brackets.push({open:t[0],openRegExp:i,close:t[1],closeRegExp:r})})),this._regExpRules=t.onEnterRules||[]}return ml(e,[{key:"onEnter",value:function(e,t,n,i){if(e>=3)for(var r=0,o=this._regExpRules.length;r=2&&n.length>0&&i.length>0)for(var s=0,l=this._brackets.length;s=2&&n.length>0)for(var c=0,d=this._brackets.length;c1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];vl(this,e),this.ctor=t,this.staticArguments=n,this.supportsDelayedInstantiation=i})),Ak=[];function Rk(e,t,n){t instanceof Pk||(t=new Pk(t,[],n)),Ak.push([e,t])}function Fk(){return Ak}var Bk=new(function(){function e(){vl(this,e),this.data=new Map}return ml(e,[{key:"add",value:function(e,t){E_(lg(e)),E_(ug(t)),E_(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}},{key:"as",value:function(e){return this.data.get(e)||null}}]),e}()),Vk=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"}),Wk="base.contributions.json";var zk=new(function(){function e(){vl(this,e),this._onDidChangeSchema=new xp,this.schemasById={}}return ml(e,[{key:"registerSchema",value:function(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}},{key:"notifySchemaChanged",value:function(e){this._onDidChangeSchema.fire(e)}}]),e}());Bk.add(Wk,zk);var Hk="base.contributions.configuration",jk={properties:{},patternProperties:{}},Uk={properties:{},patternProperties:{}},Kk={properties:{},patternProperties:{}},qk={properties:{},patternProperties:{}},Gk={properties:{},patternProperties:{}},Qk={properties:{},patternProperties:{}},$k="vscode://schemas/settings/resourceLanguage",Yk=Bk.as(Wk),Zk=function(){function e(){vl(this,e),this.overrideIdentifiers=new Set,this._onDidSchemaChange=new xp,this._onDidUpdateConfiguration=new xp,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:tf("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},Yk.registerSchema($k,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}return ml(e,[{key:"registerConfiguration",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.registerConfigurations([e],t)}},{key:"registerConfigurations",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.doRegisterConfigurations(e,t);Yk.registerSchema($k,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n})}},{key:"registerDefaultConfigurations",value:function(e){var t,n,i=[],r=[],o=Gh(e);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a.overrides,l=a.source;for(var u in s)if(i.push(u),tw.test(u)){var c=this.configurationDefaultsOverrides.get(u),d=null!==(t=null===c||void 0===c?void 0:c.valuesSources)&&void 0!==t?t:new Map;if(l)for(var h=0,f=Object.keys(s[u]);h1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3;o=pg(e.scope)?o:e.scope;var a=[],s=e.properties;if(s)for(var l in s){var u=s[l];n&&rw(l,u)?delete s[l]:(u.source=i,u.defaultDefaultValue=s[l].default,this.updatePropertyDefaultValue(l,u),tw.test(l)?u.scope=void 0:(u.scope=pg(u.scope)?o:u.scope,u.restricted=pg(u.restricted)?!!(null===r||void 0===r?void 0:r.includes(l)):u.restricted),!s[l].hasOwnProperty("included")||s[l].included?(this.configurationProperties[l]=s[l],(null===(t=s[l].policy)||void 0===t?void 0:t.name)&&this.policyConfigurations.set(s[l].policy.name,l),!s[l].deprecationMessage&&s[l].markdownDeprecationMessage&&(s[l].deprecationMessage=s[l].markdownDeprecationMessage),a.push(l)):(this.excludedConfigurationProperties[l]=s[l],delete s[l]))}var c=e.allOf;if(c){var d,h=Gh(c);try{for(h.s();!(d=h.n()).done;){var f=d.value;a.push.apply(a,Wi(this.validateAndRegisterProperties(f,n,i,r,o)))}}catch(g){h.e(g)}finally{h.f()}}return a}},{key:"getConfigurationProperties",value:function(){return this.configurationProperties}},{key:"getPolicyConfigurations",value:function(){return this.policyConfigurations}},{key:"registerJSONConfiguration",value:function(e){var t=this;!function e(n){var i=n.properties;if(i)for(var r in i)t.updateSchema(r,i[r]);var o=n.allOf;null===o||void 0===o||o.forEach(e)}(e)}},{key:"updateSchema",value:function(e,t){switch(jk.properties[e]=t,t.scope){case 1:Uk.properties[e]=t;break;case 2:Kk.properties[e]=t;break;case 6:qk.properties[e]=t;break;case 3:Gk.properties[e]=t;break;case 4:Qk.properties[e]=t;break;case 5:Qk.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}},{key:"updateOverridePropertyPatternKey",value:function(){var e,t=Gh(this.overrideIdentifiers.values());try{for(t.s();!(e=t.n()).done;){var n=e.value,i="[".concat(n,"]"),r={type:"object",description:tf("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:tf("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:$k};this.updatePropertyDefaultValue(i,r),jk.properties[i]=r,Uk.properties[i]=r,Kk.properties[i]=r,qk.properties[i]=r,Gk.properties[i]=r,Qk.properties[i]=r}}catch(o){t.e(o)}finally{t.f()}this._onDidSchemaChange.fire()}},{key:"registerOverridePropertyPatternKey",value:function(){var e={type:"object",description:tf("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:tf("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:$k};jk.patternProperties[ew]=e,Uk.patternProperties[ew]=e,Kk.patternProperties[ew]=e,qk.patternProperties[ew]=e,Gk.patternProperties[ew]=e,Qk.patternProperties[ew]=e,this._onDidSchemaChange.fire()}},{key:"updatePropertyDefaultValue",value:function(e,t){var n=this.configurationDefaultsOverrides.get(e),i=null===n||void 0===n?void 0:n.value,r=null===n||void 0===n?void 0:n.source;gg(i)&&(i=t.defaultDefaultValue,r=void 0),gg(i)&&(i=function(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=i,t.defaultValueSource=r}}]),e}(),Xk="\\[([^\\]]+)\\]",Jk=new RegExp(Xk,"g"),ew="^(".concat(Xk,")+$"),tw=new RegExp(ew);function nw(e){var t=[];if(tw.test(e))for(var n=Jk.exec(e);null===n||void 0===n?void 0:n.length;){var i=n[1].trim();i&&t.push(i),n=Jk.exec(e)}return $f(t)}var iw=new Zk;function rw(e,t){var n,i,r,o;return e.trim()?tw.test(e)?tf("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==iw.getConfigurationProperties()[e]?tf("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(n=t.policy)||void 0===n?void 0:n.name)&&void 0!==iw.getPolicyConfigurations().get(null===(i=t.policy)||void 0===i?void 0:i.name)?tf("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(r=t.policy)||void 0===r?void 0:r.name,iw.getPolicyConfigurations().get(null===(o=t.policy)||void 0===o?void 0:o.name)):null:tf("config.property.empty","Cannot register an empty property")}Bk.add(Hk,iw);var ow=function(){function e(){vl(this,e),this._onDidChangeLanguages=new xp,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}return ml(e,[{key:"registerLanguage",value:function(e){var t=this;return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:function(){for(var n=0,i=t._languages.length;n"===e[1])}))):[];var o,a=new Yy((function(e){var t=new Set;return{info:new dw(r,e,t),closing:t}})),s=new Yy((function(e){var t=new Set;return{info:new hw(r,e,t),opening:t}})),l=Gh(i);try{for(l.s();!(o=l.n()).done;){var u=c(o.value,2),d=u[0],h=u[1],f=a.get(d),g=s.get(h);f.closing.add(g.info),g.opening.add(f.info)}}catch(v){l.e(v)}finally{l.f()}this._openingBrackets=new Map(Wi(a.cachedValues).map((function(e){var t=c(e,2);return[t[0],t[1].info]}))),this._closingBrackets=new Map(Wi(s.cachedValues).map((function(e){var t=c(e,2);return[t[0],t[1].info]})))}return ml(e,[{key:"openingBrackets",get:function(){return Wi(this._openingBrackets.values())}},{key:"closingBrackets",get:function(){return Wi(this._closingBrackets.values())}},{key:"getOpeningBracketInfo",value:function(e){return this._openingBrackets.get(e)}},{key:"getClosingBracketInfo",value:function(e){return this._closingBrackets.get(e)}},{key:"getBracketInfo",value:function(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}}]),e}();function uw(e){return e.filter((function(e){var t=c(e,2),n=t[0],i=t[1];return""!==n&&""!==i}))}var cw=function(){function e(t,n){vl(this,e),this.config=t,this.bracketText=n}return ml(e,[{key:"languageId",get:function(){return this.config.languageId}}]),e}(),dw=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r){var o;return vl(this,n),(o=t.call(this,e,i)).openedBrackets=r,o.isOpeningBracket=!0,o}return ml(n)}(cw),hw=function(e){Qh(n,e);var t=Zh(n);function n(e,i,r){var o;return vl(this,n),(o=t.call(this,e,i)).closedBrackets=r,o.isOpeningBracket=!1,o}return ml(n,[{key:"closes",value:function(e){if(e.languageId===this.languageId&&e.config!==this.config)throw new np("Brackets from different language configuration cannot be used.");return this.closedBrackets.has(e)}},{key:"getClosedBrackets",value:function(){return Wi(this.closedBrackets)}}]),n}(cw),fw=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},gw=function(e,t){return function(n,i){t(n,i,e)}},vw=function(){function e(t){vl(this,e),this.languageId=t}return ml(e,[{key:"affects",value:function(e){return!this.languageId||this.languageId===e}}]),e}(),pw=L_("languageConfigurationService"),mw=function(e){Qh(n,e);var t=Zh(n);function n(e,i){var r;vl(this,n),(r=t.call(this)).configurationService=e,r.languageService=i,r._registry=r._register(new xw),r.onDidChangeEmitter=r._register(new xp),r.onDidChange=r.onDidChangeEmitter.event,r.configurations=new Map;var o=new Set(Object.values(yw));return r._register(r.configurationService.onDidChangeConfiguration((function(e){var t=e.change.keys.some((function(e){return o.has(e)})),n=e.change.overrides.filter((function(e){var t=c(e,2);t[0];return t[1].some((function(e){return o.has(e)}))})).map((function(e){return c(e,1)[0]}));if(t)r.configurations.clear(),r.onDidChangeEmitter.fire(new vw(void 0));else{var i,a=Gh(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;r.languageService.isRegisteredLanguageId(s)&&(r.configurations.delete(s),r.onDidChangeEmitter.fire(new vw(s)))}}catch(l){a.e(l)}finally{a.f()}}}))),r._register(r._registry.onDidChange((function(e){r.configurations.delete(e.languageId),r.onDidChangeEmitter.fire(new vw(e.languageId))}))),r}return ml(n,[{key:"register",value:function(e,t,n){return this._registry.register(e,t,n)}},{key:"getLanguageConfiguration",value:function(e){var t=this.configurations.get(e);return t||(t=function(e,t,n,i){var r=t.getLanguageConfiguration(e);if(!r){if(!i.isRegisteredLanguageId(e))throw new Error('Language id "'.concat(e,'" is not configured nor known'));r=new Ew(e,{})}var o=function(e,t){var n=t.getValue(yw.brackets,{overrideIdentifier:e}),i=t.getValue(yw.colorizedBracketPairs,{overrideIdentifier:e});return{brackets:bw(n),colorizedBracketPairs:bw(i)}}(r.languageId,n),a=Cw([r.underlyingConfig,o]);return new Ew(r.languageId,a)}(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,t)),t}}]),n}(vp);mw=fw([gw(0,Ek),gw(1,Ok)],mw);var yw={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function bw(e){if(Array.isArray(e))return e.map((function(e){if(Array.isArray(e)&&2===e.length)return[e[0],e[1]]})).filter((function(e){return!!e}))}function _w(e,t,n){var i=lb(e.getLineContent(t));return i.length>n-1&&(i=i.substring(0,n-1)),i}function kw(e,t,n){return e.tokenization.forceTokenization(t),U_(e.tokenization.getLineTokens(t),"undefined"===typeof n?e.getLineMaxColumn(t)-1:n-1)}var ww=function(){function e(t){vl(this,e),this.languageId=t,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}return ml(e,[{key:"register",value:function(e,t){var n=this,i=new Sw(e,t,++this._order);return this._entries.push(i),this._resolved=null,fp((function(){for(var e=0;e"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0)),e}return ml(n,[{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this._entries.get(e);r||(r=new ww(e),this._entries.set(e,r));var o=r.register(t,i);return this._onDidChange.fire(new Lw(e)),fp((function(){o.dispose(),n._onDidChange.fire(new Lw(e))}))}},{key:"getLanguageConfiguration",value:function(e){var t=this._entries.get(e);return(null===t||void 0===t?void 0:t.getResolvedConfiguration())||null}}]),n}(vp),Ew=function(){function e(t,n){vl(this,e),this.languageId=t,this.underlyingConfig=n,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new xk(this.underlyingConfig):null,this.comments=e._handleComments(this.underlyingConfig),this.characterPair=new G_(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||Wf,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new Lk(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new lw(t,this.underlyingConfig)}return ml(e,[{key:"getWordDefinition",value:function(){return zf(this.wordDefinition)}},{key:"brackets",get:function(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new vk(this.languageId,this.underlyingConfig.brackets)),this._brackets}},{key:"electricCharacter",get:function(){return this._electricCharacter||(this._electricCharacter=new Ck(this.brackets)),this._electricCharacter}},{key:"onEnter",value:function(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}},{key:"getAutoClosingPairs",value:function(){return new H_(this.characterPair.getAutoClosingPairs())}},{key:"getAutoCloseBeforeSet",value:function(){return this.characterPair.getAutoCloseBeforeSet()}},{key:"getSurroundingPairs",value:function(){return this.characterPair.getSurroundingPairs()}}],[{key:"_handleComments",value:function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var i=c(t.blockComment,2),r=i[0],o=i[1];n.blockCommentStartToken=r,n.blockCommentEndToken=o}return n}}]),e}();Rk(pw,mw);var Nw=new(function(){function e(){vl(this,e)}return ml(e,[{key:"clone",value:function(){return this}},{key:"equals",value:function(e){return this===e}}]),e}());function Dw(e,t){return new ny([new ty(0,"",e)],t)}function Iw(e,t){var n=new Uint32Array(2);return n[0]=0,n[1]=(32768|e<<0|2<<24)>>>0,new iy(n,null===t?Nw:t)}var Tw=L_("modelService"),Mw=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(Y4){o(Y4)}}function s(e){try{l(i.throw(e))}catch(Y4){o(Y4)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))},Ow=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,r){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,r,(t=e[n](t)).done,t.value)}))}}};function Pw(e){return!!e&&"function"===typeof e.then}function Aw(e){var t=new Bp,n=e(t.token),i=new Promise((function(e,i){var r=t.token.onCancellationRequested((function(){r.dispose(),t.dispose(),i(new Yv)}));Promise.resolve(n).then((function(n){r.dispose(),t.dispose(),e(n)}),(function(e){r.dispose(),t.dispose(),i(e)}))}));return new(function(){function e(){vl(this,e)}return ml(e,[{key:"cancel",value:function(){t.cancel()}},{key:"then",value:function(e,t){return i.then(e,t)}},{key:"catch",value:function(e){return this.then(void 0,e)}},{key:"finally",value:function(e){return i.finally(e)}}]),e}())}var Rw=function(){function e(){vl(this,e),this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}return ml(e,[{key:"queue",value:function(e){var t=this;if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){var n=function(){t.queuedPromise=null;var e=t.queue(t.queuedPromiseFactory);return t.queuedPromiseFactory=null,e};this.queuedPromise=new Promise((function(e){t.activePromise.then(n,n).then(e)}))}return new Promise((function(e,n){t.queuedPromise.then(e,n)}))}return this.activePromise=e(),new Promise((function(e,n){t.activePromise.then((function(n){t.activePromise=null,e(n)}),(function(e){t.activePromise=null,n(e)}))}))}}]),e}(),Fw=function(e,t){var n=!0,i=setTimeout((function(){n=!1,t()}),e);return{isTriggered:function(){return n},dispose:function(){clearTimeout(i),n=!1}}},Bw=function(e){var t=!0;return queueMicrotask((function(){t&&(t=!1,e())})),{isTriggered:function(){return t},dispose:function(){t=!1}}},Vw=Symbol("MicrotaskDelay"),Ww=function(){function e(t){vl(this,e),this.defaultDelay=t,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return ml(e,[{key:"trigger",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.defaultDelay;this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((function(e,n){t.doResolve=e,t.doReject=n})).then((function(){if(t.completionPromise=null,t.doResolve=null,t.task){var e=t.task;return t.task=null,e()}})));var i=function(){var e;t.deferred=null,null===(e=t.doResolve)||void 0===e||e.call(t,null)};return this.deferred=n===Vw?Bw(i):Fw(n,i),this.completionPromise}},{key:"isTriggered",value:function(){var e;return!!(null===(e=this.deferred)||void 0===e?void 0:e.isTriggered())}},{key:"cancel",value:function(){var e;this.cancelTimeout(),this.completionPromise&&(null===(e=this.doReject)||void 0===e||e.call(this,new Yv),this.completionPromise=null)}},{key:"cancelTimeout",value:function(){var e;null===(e=this.deferred)||void 0===e||e.dispose(),this.deferred=null}},{key:"dispose",value:function(){this.cancel()}}]),e}(),zw=function(){function e(t){vl(this,e),this.delayer=new Ww(t),this.throttler=new Rw}return ml(e,[{key:"trigger",value:function(e,t){var n=this;return this.delayer.trigger((function(){return n.throttler.queue(e)}),t)}},{key:"dispose",value:function(){this.delayer.dispose()}}]),e}();function Hw(e,t){return t?new Promise((function(n,i){var r=setTimeout((function(){o.dispose(),n()}),e),o=t.onCancellationRequested((function(){clearTimeout(r),o.dispose(),i(new Yv)}))})):Aw((function(t){return Hw(e,t)}))}function jw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=setTimeout(e,t);return fp((function(){return clearTimeout(n)}))}var Uw,Kw=function(){function e(t,n){vl(this,e),this._token=-1,"function"===typeof t&&"number"===typeof n&&this.setIfNotSet(t,n)}return ml(e,[{key:"dispose",value:function(){this.cancel()}},{key:"cancel",value:function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}},{key:"cancelAndSet",value:function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)}},{key:"setIfNotSet",value:function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))}}]),e}(),qw=function(){function e(){vl(this,e),this._token=-1}return ml(e,[{key:"dispose",value:function(){this.cancel()}},{key:"cancel",value:function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}},{key:"cancelAndSet",value:function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)}}]),e}(),Gw=function(){function e(t,n){vl(this,e),this.timeoutToken=-1,this.runner=t,this.timeout=n,this.timeoutHandler=this.onTimeout.bind(this)}return ml(e,[{key:"dispose",value:function(){this.cancel(),this.runner=null}},{key:"cancel",value:function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}},{key:"schedule",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}},{key:"delay",get:function(){return this.timeout},set:function(e){this.timeout=e}},{key:"isScheduled",value:function(){return-1!==this.timeoutToken}},{key:"onTimeout",value:function(){this.timeoutToken=-1,this.runner&&this.doRun()}},{key:"doRun",value:function(){var e;null===(e=this.runner)||void 0===e||e.call(this)}}]),e}();Uw="function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback?function(e){Ef((function(){if(!t){var n=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining:function(){return Math.max(0,n-Date.now())}}))}}));var t=!1;return{dispose:function(){t||(t=!0)}}}:function(e,t){var n=requestIdleCallback(e,"number"===typeof t?{timeout:t}:void 0),i=!1;return{dispose:function(){i||(i=!0,cancelIdleCallback(n))}}};var Qw,$w=function(){function e(t){var n=this;vl(this,e),this._didRun=!1,this._executor=function(){try{n._value=t()}catch(e){n._error=e}finally{n._didRun=!0}},this._handle=Uw((function(){return n._executor()}))}return ml(e,[{key:"dispose",value:function(){this._handle.dispose()}},{key:"value",get:function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}},{key:"isInitialized",get:function(){return this._didRun}}]),e}(),Yw=function(){function e(){var t=this;vl(this,e),this.rejected=!1,this.resolved=!1,this.p=new Promise((function(e,n){t.completeCallback=e,t.errorCallback=n}))}return ml(e,[{key:"isRejected",get:function(){return this.rejected}},{key:"isSettled",get:function(){return this.rejected||this.resolved}},{key:"complete",value:function(e){var t=this;return new Promise((function(n){t.completeCallback(e),t.resolved=!0,n()}))}},{key:"cancel",value:function(){var e=this;new Promise((function(t){e.errorCallback(new Yv),e.rejected=!0,t()}))}}]),e}();!function(e){e.settled=function(e){return Mw(this,void 0,void 0,Nn().mark((function t(){var n,i;return Nn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=void 0,t.next=3,Promise.all(e.map((function(e){return e.then((function(e){return e}),(function(e){n||(n=e)}))})));case 3:if(i=t.sent,"undefined"===typeof n){t.next=6;break}throw n;case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}}),t)})))},e.withAsyncBody=function(e){var t=this;return new Promise((function(n,i){return Mw(t,void 0,void 0,Nn().mark((function t(){return Nn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e(n,i);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),i(t.t0);case 8:case"end":return t.stop()}}),t,null,[[0,5]])})))}))}}(Qw||(Qw={}));var Zw=function(e){function t(e){var n=this;vl(this,t),this._state=0,this._results=[],this._error=null,this._onStateChanged=new xp,queueMicrotask((function(){return Mw(n,void 0,void 0,Nn().mark((function t(){var n,i=this;return Nn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={emitOne:function(e){return i.emitOne(e)},emitMany:function(e){return i.emitMany(e)},reject:function(e){return i.reject(e)}},t.prev=1,t.next=4,Promise.resolve(e(n));case 4:this.resolve(),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),this.reject(t.t0);case 10:return t.prev=10,n.emitOne=void 0,n.emitMany=void 0,n.reject=void 0,t.finish(10);case 15:case"end":return t.stop()}}),t,this,[[1,7,10,15]])})))}))}return ml(t,[{key:Symbol.asyncIterator,value:function(){var e=this,t=0;return{next:function(){return Mw(e,void 0,void 0,Nn().mark((function e(){return Nn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(2!==this._state){e.next=2;break}throw this._error;case 2:if(!(t2&&void 0!==arguments[2]?arguments[2]:32,i=n-t,r=~((1<>>i)>>>0}function _C(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.byteLength,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=0;r2&&void 0!==arguments[2]?arguments[2]:"0";e.length1&&void 0!==arguments[1]?arguments[1]:32;return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join(""):kC((e>>>0).toString(16),t/4)}var CC=function(){function e(){vl(this,e),this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}return ml(e,[{key:"update",value:function(e){var t=e.length;if(0!==t){var n,i,r=this._buff,o=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(n=a,i=-1,a=0):(n=e.charCodeAt(0),i=0);;){var s=n;if(kb(n)){if(!(i+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}},{key:"digest",value:function(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),wC(this._h0)+wC(this._h1)+wC(this._h2)+wC(this._h3)+wC(this._h4)}},{key:"_wrapUp",value:function(){this._buff[this._buffLen++]=128,_C(this._buff,this._buffLen),this._buffLen>56&&(this._step(),_C(this._buff));var e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}},{key:"_step",value:function(){for(var t=e._bigBlock32,n=this._buffDV,i=0;i<64;i+=4)t.setUint32(i,n.getUint32(i,!1),!1);for(var r=64;r<320;r+=4)t.setUint32(r,bC(t.getUint32(r-12,!1)^t.getUint32(r-32,!1)^t.getUint32(r-56,!1)^t.getUint32(r-64,!1),1),!1);for(var o,a,s,l=this._h0,u=this._h1,c=this._h2,d=this._h3,h=this._h4,f=0;f<80;f++)f<20?(o=u&c|~u&d,a=1518500249):f<40?(o=u^c^d,a=1859775393):f<60?(o=u&c|u&d|c&d,a=2400959708):(o=u^c^d,a=3395469782),s=bC(l,5)+o+h+a+t.getUint32(4*f,!1)&4294967295,h=d,d=c,c=bC(u,30),u=l,l=s;this._h0=this._h0+l&4294967295,this._h1=this._h1+u&4294967295,this._h2=this._h2+c&4294967295,this._h3=this._h3+d&4294967295,this._h4=this._h4+h&4294967295}}]),e}();CC._bigBlock32=new DataView(new ArrayBuffer(320));var SC=function(){function e(t){vl(this,e),this.source=t}return ml(e,[{key:"getElements",value:function(){for(var e=this.source,t=new Int32Array(e.length),n=0,i=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new vC(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}},{key:"AddOriginalElement",value:function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}},{key:"AddModifiedElement",value:function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}},{key:"getChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}},{key:"getReverseChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}]),e}(),DC=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;vl(this,e),this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;var r=e._getElements(t),o=c(r,3),a=o[0],s=o[1],l=o[2],u=e._getElements(n),d=c(u,3),h=d[0],f=d[1],g=d[2];this._hasStrings=l&&g,this._originalStringElements=a,this._originalElementsOrHash=s,this._modifiedStringElements=h,this._modifiedElementsOrHash=f,this.m_forwardHistory=[],this.m_reverseHistory=[]}return ml(e,[{key:"ElementsAreEqual",value:function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}},{key:"ElementsAreStrictEqual",value:function(t,n){return!!this.ElementsAreEqual(t,n)&&e._getStrictElement(this._originalSequence,t)===e._getStrictElement(this._modifiedSequence,n)}},{key:"OriginalElementsAreEqual",value:function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}},{key:"ModifiedElementsAreEqual",value:function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}},{key:"ComputeDiff",value:function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}},{key:"_ComputeDiff",value:function(e,t,n,i,r){var o=[!1],a=this.ComputeDiffRecursive(e,t,n,i,o);return r&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}},{key:"ComputeDiffRecursive",value:function(e,t,n,i,r){for(r[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;var o;if(e>t||n>i)return n<=i?(xC.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new vC(e,0,n,i-n+1)]):e<=t?(xC.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new vC(e,t-e+1,n,0)]):(xC.Assert(e===t+1,"originalStart should only be one more than originalEnd"),xC.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o;var a=[0],s=[0],l=this.ComputeRecursionPoint(e,t,n,i,a,s,r),u=a[0],c=s[0];if(null!==l)return l;if(!r[0]){var d=this.ComputeDiffRecursive(e,u,n,c,r),h=[];return h=r[0]?[new vC(u+1,t-(u+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(u+1,t,c+1,i,r),this.ConcatenateChanges(d,h)}return[new vC(e,t-e+1,n,i-n+1)]}},{key:"WALKTRACE",value:function(e,t,n,i,r,o,a,s,l,u,c,d,h,f,g,v,p,m){var y,b=null,_=new NC,k=t,w=n,C=h[0]-v[0]-i,S=-1073741824,L=this.m_forwardHistory.length-1;do{var x=C+e;x===k||x=0&&(e=(l=this.m_forwardHistory[L])[0],k=1,w=l.length-1)}while(--L>=-1);if(y=_.getReverseChanges(),m[0]){var E=h[0]+1,N=v[0]+1;if(null!==y&&y.length>0){var D=y[y.length-1];E=Math.max(E,D.getOriginalEnd()),N=Math.max(N,D.getModifiedEnd())}b=[new vC(E,d-E+1,N,g-N+1)]}else{_=new NC,k=o,w=a,C=h[0]-v[0]-s,S=1073741824,L=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var I=C+r;I===k||I=u[I+1]?(f=(c=u[I+1]-1)-C-s,c>S&&_.MarkNextChange(),S=c+1,_.AddOriginalElement(c+1,f+1),C=I+1-r):(f=(c=u[I-1])-C-s,c>S&&_.MarkNextChange(),S=c,_.AddModifiedElement(c+1,f+1),C=I-1-r),L>=0&&(r=(u=this.m_reverseHistory[L])[0],k=1,w=u.length-1)}while(--L>=-1);b=_.getChanges()}return this.ConcatenateChanges(y,b)}},{key:"ComputeRecursionPoint",value:function(e,t,n,i,r,o,a){var s=0,l=0,u=0,c=0,d=0,h=0;e--,n--,r[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f=t-e+(i-n),g=f+1,v=new Int32Array(g),p=new Int32Array(g),m=i-n,y=t-e,b=e-n,_=t-i,k=(y-m)%2===0;v[m]=e,p[y]=t,a[0]=!1;for(var w=1;w<=f/2+1;w++){var C=0,S=0;u=this.ClipDiagonalBound(m-w,w,m,g),c=this.ClipDiagonalBound(m+w,w,m,g);for(var L=u;L<=c;L+=2){l=(s=L===u||LC+S&&(C=s,S=l),!k&&Math.abs(L-y)<=w-1&&s>=p[L])return r[0]=s,o[0]=l,x<=p[L]&&w<=1448?this.WALKTRACE(m,u,c,b,y,d,h,_,v,p,s,t,r,l,i,o,k,a):null}var E=(C-e+(S-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(C,E))return a[0]=!0,r[0]=C,o[0]=S,E>0&&w<=1448?this.WALKTRACE(m,u,c,b,y,d,h,_,v,p,s,t,r,l,i,o,k,a):(e++,n++,[new vC(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(y-w,w,y,g),h=this.ClipDiagonalBound(y+w,w,y,g);for(var N=d;N<=h;N+=2){l=(s=N===d||N