You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__WxMiniProgram__Coursewar...

1215 lines
2.3 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

!(function(){var fd=Object.defineProperty,hd=Object.defineProperties;var pd=Object.getOwnPropertyDescriptors;var Uo=Object.getOwnPropertySymbols;var iu=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable;var jo=Math.pow,ru=(k,p,o)=>p in k?fd(k,p,{enumerable:!0,configurable:!0,writable:!0,value:o}):k[p]=o,yr=(k,p)=>{for(var o in p||(p={}))iu.call(p,o)&&ru(k,o,p[o]);if(Uo)for(var o of Uo(p))au.call(p,o)&&ru(k,o,p[o]);return k},no=(k,p)=>hd(k,pd(p));var su=(k,p)=>{var o={};for(var a in k)iu.call(k,a)&&p.indexOf(a)<0&&(o[a]=k[a]);if(k!=null&&Uo)for(var a of Uo(k))p.indexOf(a)<0&&au.call(k,a)&&(o[a]=k[a]);return o};var ul=(k,p,o)=>new Promise((a,y)=>{var T=h=>{try{_(o.next(h))}catch(j){y(j)}},b=h=>{try{_(o.throw(h))}catch(j){y(j)}},_=h=>h.done?a(h.value):Promise.resolve(h.value).then(T,b);_((o=o.apply(k,p)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[3897],{65352:function(k,p,o){"use strict";o.d(p,{Z:function(){return rn}});var a=o(77321),y=o(52487),T=o(74416),b=o(43403),_=o(92310),h=o.n(_),j=o(29301),G=o(76846),u=o(96452),Q=o(6089),U=o(80402),v=o(34280),I=o(49658),C=o(59301),P=o(72308),X=o(77900),V=o(8654);function z(rt){var tt=rt.prefixCls,Be=rt.align,Oe=rt.arrow,Ue=rt.arrowPos,$e=Oe||{},ee=$e.className,ye=$e.content,Ne=Ue.x,Ie=Ne===void 0?0:Ne,ze=Ue.y,He=ze===void 0?0:ze,Je=C.useRef();if(!Be||!Be.points)return null;var Ke={position:"absolute"};if(Be.autoArrow!==!1){var je=Be.points[0],_e=Be.points[1],Qe=je[0],Me=je[1],Pe=_e[0],Le=_e[1];Qe===Pe||!["t","b"].includes(Qe)?Ke.top=He:Qe==="t"?Ke.top=0:Ke.bottom=0,Me===Le||!["l","r"].includes(Me)?Ke.left=Ie:Me==="l"?Ke.left=0:Ke.right=0}return C.createElement("div",{ref:Je,className:h()("".concat(tt,"-arrow"),ee),style:Ke},ye)}function N(rt){var tt=rt.prefixCls,Be=rt.open,Oe=rt.zIndex,Ue=rt.mask,$e=rt.motion;return Ue?C.createElement(X.default,(0,P.Z)({},$e,{motionAppear:!0,visible:Be,removeOnLeave:!0}),function(ee){var ye=ee.className;return C.createElement("div",{style:{zIndex:Oe},className:h()("".concat(tt,"-mask"),ye)})}):null}var F=C.memo(function(rt){var tt=rt.children;return tt},function(rt,tt){return tt.cache}),B=F,W=C.forwardRef(function(rt,tt){var Be=rt.popup,Oe=rt.className,Ue=rt.prefixCls,$e=rt.style,ee=rt.target,ye=rt.onVisibleChanged,Ne=rt.open,Ie=rt.keepDom,ze=rt.fresh,He=rt.onClick,Je=rt.mask,Ke=rt.arrow,je=rt.arrowPos,_e=rt.align,Qe=rt.motion,Me=rt.maskMotion,Pe=rt.forceRender,Le=rt.getPopupContainer,ht=rt.autoDestroy,nt=rt.portal,re=rt.zIndex,ut=rt.onMouseEnter,Ze=rt.onMouseLeave,Se=rt.onPointerEnter,St=rt.onPointerDownCapture,tn=rt.ready,gt=rt.offsetX,Xe=rt.offsetY,qe=rt.offsetR,Ge=rt.offsetB,ke=rt.onAlign,ce=rt.onPrepare,pe=rt.stretch,me=rt.targetWidth,we=rt.targetHeight,Ye=typeof Be=="function"?Be():Be,bt=Ne||Ie,Dt=(Le==null?void 0:Le.length)>0,jt=C.useState(!Le||!Dt),Kt=(0,y.Z)(jt,2),Ht=Kt[0],Ft=Kt[1];if((0,v.Z)(function(){!Ht&&Dt&&ee&&Ft(!0)},[Ht,Dt,ee]),!Ht)return null;var Gt="auto",Yt={left:"-1000vw",top:"-1000vh",right:Gt,bottom:Gt};if(tn||!Ne){var $t,bn=_e.points,Jt=_e.dynamicInset||(($t=_e._experimental)===null||$t===void 0?void 0:$t.dynamicInset),un=Jt&&bn[0][1]==="r",mn=Jt&&bn[0][0]==="b";un?(Yt.right=qe,Yt.left=Gt):(Yt.left=gt,Yt.right=Gt),mn?(Yt.bottom=Ge,Yt.top=Gt):(Yt.top=Xe,Yt.bottom=Gt)}var hn={};return pe&&(pe.includes("height")&&we?hn.height=we:pe.includes("minHeight")&&we&&(hn.minHeight=we),pe.includes("width")&&me?hn.width=me:pe.includes("minWidth")&&me&&(hn.minWidth=me)),Ne||(hn.pointerEvents="none"),C.createElement(nt,{open:Pe||bt,getContainer:Le&&function(){return Le(ee)},autoDestroy:ht},C.createElement(N,{prefixCls:Ue,open:Ne,zIndex:re,mask:Je,motion:Me}),C.createElement(j.Z,{onResize:ke,disabled:!Ne},function(vn){return C.createElement(X.default,(0,P.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Pe,leavedClassName:"".concat(Ue,"-hidden")},Qe,{onAppearPrepare:ce,onEnterPrepare:ce,visible:Ne,onVisibleChanged:function(Gn){var jn;Qe==null||(jn=Qe.onVisibleChanged)===null||jn===void 0||jn.call(Qe,Gn),ye(Gn)}}),function(yn,Gn){var jn=yn.className,It=yn.style,Ct=h()(Ue,jn,Oe);return C.createElement("div",{ref:(0,V.sQ)(vn,tt,Gn),className:Ct,style:(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({"--arrow-x":"".concat(je.x||0,"px"),"--arrow-y":"".concat(je.y||0,"px")},Yt),hn),It),{},{boxSizing:"border-box",zIndex:re},$e),onMouseEnter:ut,onMouseLeave:Ze,onPointerEnter:Se,onClick:He,onPointerDownCapture:St},Ke&&C.createElement(z,{prefixCls:Ue,arrow:Ke,arrowPos:je,align:_e}),C.createElement(B,{cache:!Ne&&!ze},Ye))})}))}),H=W,le=C.forwardRef(function(rt,tt){var Be=rt.children,Oe=rt.getTriggerDOMNode,Ue=(0,V.Yr)(Be),$e=C.useCallback(function(ye){(0,V.mH)(tt,Oe?Oe(ye):ye)},[Oe]),ee=(0,V.x1)($e,(0,V.C4)(Be));return Ue?C.cloneElement(Be,{ref:ee}):Be}),te=le,se=C.createContext(null),Ee=se;function he(rt){return rt?Array.isArray(rt)?rt:[rt]:[]}function ve(rt,tt,Be,Oe){return C.useMemo(function(){var Ue=he(Be!=null?Be:tt),$e=he(Oe!=null?Oe:tt),ee=new Set(Ue),ye=new Set($e);return rt&&(ee.has("hover")&&(ee.delete("hover"),ee.add("click")),ye.has("hover")&&(ye.delete("hover"),ye.add("click"))),[ee,ye]},[rt,tt,Be,Oe])}var J=o(29194);function Z(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Be=arguments.length>2?arguments[2]:void 0;return Be?rt[0]===tt[0]:rt[0]===tt[0]&&rt[1]===tt[1]}function ie(rt,tt,Be,Oe){for(var Ue=Be.points,$e=Object.keys(rt),ee=0;ee<$e.length;ee+=1){var ye,Ne=$e[ee];if(Z((ye=rt[Ne])===null||ye===void 0?void 0:ye.points,Ue,Oe))return"".concat(tt,"-placement-").concat(Ne)}return""}function ue(rt,tt,Be,Oe){return tt||(Be?{motionName:"".concat(rt,"-").concat(Be)}:Oe?{motionName:Oe}:null)}function fe(rt){return rt.ownerDocument.defaultView}function ae(rt){for(var tt=[],Be=rt==null?void 0:rt.parentElement,Oe=["hidden","scroll","clip","auto"];Be;){var Ue=fe(Be).getComputedStyle(Be),$e=Ue.overflowX,ee=Ue.overflowY,ye=Ue.overflow;[$e,ee,ye].some(function(Ne){return Oe.includes(Ne)})&&tt.push(Be),Be=Be.parentElement}return tt}function w(rt){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(rt)?tt:rt}function L(rt){return w(parseFloat(rt),0)}function oe(rt,tt){var Be=(0,a.Z)({},rt);return(tt||[]).forEach(function(Oe){if(!(Oe instanceof HTMLBodyElement||Oe instanceof HTMLHtmlElement)){var Ue=fe(Oe).getComputedStyle(Oe),$e=Ue.overflow,ee=Ue.overflowClipMargin,ye=Ue.borderTopWidth,Ne=Ue.borderBottomWidth,Ie=Ue.borderLeftWidth,ze=Ue.borderRightWidth,He=Oe.getBoundingClientRect(),Je=Oe.offsetHeight,Ke=Oe.clientHeight,je=Oe.offsetWidth,_e=Oe.clientWidth,Qe=L(ye),Me=L(Ne),Pe=L(Ie),Le=L(ze),ht=w(Math.round(He.width/je*1e3)/1e3),nt=w(Math.round(He.height/Je*1e3)/1e3),re=(je-_e-Pe-Le)*ht,ut=(Je-Ke-Qe-Me)*nt,Ze=Qe*nt,Se=Me*nt,St=Pe*ht,tn=Le*ht,gt=0,Xe=0;if($e==="clip"){var qe=L(ee);gt=qe*ht,Xe=qe*nt}var Ge=He.x+St-gt,ke=He.y+Ze-Xe,ce=Ge+He.width+2*gt-St-tn-re,pe=ke+He.height+2*Xe-Ze-Se-ut;Be.left=Math.max(Be.left,Ge),Be.top=Math.max(Be.top,ke),Be.right=Math.min(Be.right,ce),Be.bottom=Math.min(Be.bottom,pe)}}),Be}function M(rt){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Be="".concat(tt),Oe=Be.match(/^(.*)\%$/);return Oe?rt*(parseFloat(Oe[1])/100):parseFloat(Be)}function De(rt,tt){var Be=tt||[],Oe=(0,y.Z)(Be,2),Ue=Oe[0],$e=Oe[1];return[M(rt.width,Ue),M(rt.height,$e)]}function Fe(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[rt[0],rt[1]]}function Re(rt,tt){var Be=tt[0],Oe=tt[1],Ue,$e;return Be==="t"?$e=rt.y:Be==="b"?$e=rt.y+rt.height:$e=rt.y+rt.height/2,Oe==="l"?Ue=rt.x:Oe==="r"?Ue=rt.x+rt.width:Ue=rt.x+rt.width/2,{x:Ue,y:$e}}function dt(rt,tt){var Be={t:"b",b:"t",l:"r",r:"l"};return rt.map(function(Oe,Ue){return Ue===tt?Be[Oe]||"c":Oe}).join("")}function st(rt,tt,Be,Oe,Ue,$e,ee){var ye=C.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[Oe]||{}}),Ne=(0,y.Z)(ye,2),Ie=Ne[0],ze=Ne[1],He=C.useRef(0),Je=C.useMemo(function(){return tt?ae(tt):[]},[tt]),Ke=C.useRef({}),je=function(){Ke.current={}};rt||je();var _e=(0,Q.Z)(function(){if(tt&&Be&&rt){let Jr=function(Yr,Zr){var pr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fn,qr=jt.x+Yr,Ki=jt.y+Zr,Ti=qr+un,Ea=Ki+Jt,qi=Math.max(qr,pr.left),Rn=Math.max(Ki,pr.top),qn=Math.min(Ti,pr.right),Gr=Math.min(Ea,pr.bottom);return Math.max(0,(qn-qi)*(Gr-Rn))},Ui=function(){kr=jt.y+Cn,Ir=kr+Jt,Dr=jt.x+Kn,si=Dr+un};var Pe,Le,ht,nt,re=tt,ut=re.ownerDocument,Ze=fe(re),Se=Ze.getComputedStyle(re),St=Se.width,tn=Se.height,gt=Se.position,Xe=re.style.left,qe=re.style.top,Ge=re.style.right,ke=re.style.bottom,ce=re.style.overflow,pe=(0,a.Z)((0,a.Z)({},Ue[Oe]),$e),me=ut.createElement("div");(Pe=re.parentElement)===null||Pe===void 0||Pe.appendChild(me),me.style.left="".concat(re.offsetLeft,"px"),me.style.top="".concat(re.offsetTop,"px"),me.style.position=gt,me.style.height="".concat(re.offsetHeight,"px"),me.style.width="".concat(re.offsetWidth,"px"),re.style.left="0",re.style.top="0",re.style.right="auto",re.style.bottom="auto",re.style.overflow="hidden";var we;if(Array.isArray(Be))we={x:Be[0],y:Be[1],width:0,height:0};else{var Ye,bt,Dt=Be.getBoundingClientRect();Dt.x=(Ye=Dt.x)!==null&&Ye!==void 0?Ye:Dt.left,Dt.y=(bt=Dt.y)!==null&&bt!==void 0?bt:Dt.top,we={x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height}}var jt=re.getBoundingClientRect();jt.x=(Le=jt.x)!==null&&Le!==void 0?Le:jt.left,jt.y=(ht=jt.y)!==null&&ht!==void 0?ht:jt.top;var Kt=ut.documentElement,Ht=Kt.clientWidth,Ft=Kt.clientHeight,Gt=Kt.scrollWidth,Yt=Kt.scrollHeight,$t=Kt.scrollTop,bn=Kt.scrollLeft,Jt=jt.height,un=jt.width,mn=we.height,hn=we.width,vn={left:0,top:0,right:Ht,bottom:Ft},yn={left:-bn,top:-$t,right:Gt-bn,bottom:Yt-$t},Gn=pe.htmlRegion,jn="visible",It="visibleFirst";Gn!=="scroll"&&Gn!==It&&(Gn=jn);var Ct=Gn===It,Ut=oe(yn,Je),xt=oe(vn,Je),fn=Gn===jn?xt:Ut,cn=Ct?xt:fn;re.style.left="auto",re.style.top="auto",re.style.right="0",re.style.bottom="0";var ot=re.getBoundingClientRect();re.style.left=Xe,re.style.top=qe,re.style.right=Ge,re.style.bottom=ke,re.style.overflow=ce,(nt=re.parentElement)===null||nt===void 0||nt.removeChild(me);var D=w(Math.round(un/parseFloat(St)*1e3)/1e3),En=w(Math.round(Jt/parseFloat(tn)*1e3)/1e3);if(D===0||En===0||(0,G.Sh)(Be)&&!(0,J.Z)(Be))return;var Pn=pe.offset,Qt=pe.targetOffset,An=De(jt,Pn),_n=(0,y.Z)(An,2),at=_n[0],vt=_n[1],be=De(we,Qt),wt=(0,y.Z)(be,2),sn=wt[0],Wt=wt[1];we.x-=sn,we.y-=Wt;var dn=pe.points||[],gn=(0,y.Z)(dn,2),zn=gn[0],Dn=gn[1],xn=Fe(Dn),Ln=Fe(zn),Vn=Re(we,xn),nr=Re(jt,Ln),hr=(0,a.Z)({},pe),Kn=Vn.x-nr.x+at,Cn=Vn.y-nr.y+vt,rr=Jr(Kn,Cn),fr=Jr(Kn,Cn,xt),Zn=Re(we,["t","l"]),On=Re(jt,["t","l"]),er=Re(we,["b","r"]),$n=Re(jt,["b","r"]),vr=pe.overflow||{},Yn=vr.adjustX,ir=vr.adjustY,Sr=vr.shiftX,Bn=vr.shiftY,Hn=function(Zr){return typeof Zr=="boolean"?Zr:Zr>=0},kr,Ir,Dr,si;Ui();var Nr=Hn(ir),fi=Ln[0]===xn[0];if(Nr&&Ln[0]==="t"&&(Ir>cn.bottom||Ke.current.bt)){var Lr=Cn;fi?Lr-=Jt-mn:Lr=Zn.y-$n.y-vt;var wi=Jr(Kn,Lr),ji=Jr(Kn,Lr,xt);wi>rr||wi===rr&&(!Ct||ji>=fr)?(Ke.current.bt=!0,Cn=Lr,vt=-vt,hr.points=[dt(Ln,0),dt(xn,0)]):Ke.current.bt=!1}if(Nr&&Ln[0]==="b"&&(kr<cn.top||Ke.current.tb)){var vi=Cn;fi?vi+=Jt-mn:vi=er.y-On.y-vt;var Ai=Jr(Kn,vi),Di=Jr(Kn,vi,xt);Ai>rr||Ai===rr&&(!Ct||Di>=fr)?(Ke.current.tb=!0,Cn=vi,vt=-vt,hr.points=[dt(Ln,0),dt(xn,0)]):Ke.current.tb=!1}var ti=Hn(Yn),Qr=Ln[1]===xn[1];if(ti&&Ln[1]==="l"&&(si>cn.right||Ke.current.rl)){var xi=Kn;Qr?xi-=un-hn:xi=Zn.x-$n.x-at;var zi=Jr(xi,Cn),Mi=Jr(xi,Cn,xt);zi>rr||zi===rr&&(!Ct||Mi>=fr)?(Ke.current.rl=!0,Kn=xi,at=-at,hr.points=[dt(Ln,1),dt(xn,1)]):Ke.current.rl=!1}if(ti&&Ln[1]==="r"&&(Dr<cn.left||Ke.current.lr)){var wr=Kn;Qr?wr+=un-hn:wr=er.x-On.x-at;var Ni=Jr(wr,Cn),hi=Jr(wr,Cn,xt);Ni>rr||Ni===rr&&(!Ct||hi>=fr)?(Ke.current.lr=!0,Kn=wr,at=-at,hr.points=[dt(Ln,1),dt(xn,1)]):Ke.current.lr=!1}Ui();var Ei=Sr===!0?0:Sr;typeof Ei=="number"&&(Dr<xt.left&&(Kn-=Dr-xt.left-at,we.x+hn<xt.left+Ei&&(Kn+=we.x-xt.left+hn-Ei)),si>xt.right&&(Kn-=si-xt.right-at,we.x>xt.right-Ei&&(Kn+=we.x-xt.right+Ei)));var pi=Bn===!0?0:Bn;typeof pi=="number"&&(kr<xt.top&&(Cn-=kr-xt.top-vt,we.y+mn<xt.top+pi&&(Cn+=we.y-xt.top+mn-pi)),Ir>xt.bottom&&(Cn-=Ir-xt.bottom-vt,we.y>xt.bottom-pi&&(Cn+=we.y-xt.bottom+pi)));var Xn=jt.x+Kn,ki=Xn+un,Pi=jt.y+Cn,Hi=Pi+Jt,Gi=we.x,Xi=Gi+hn,Yi=we.y,Qi=Yi+mn,Rr=Math.max(Xn,Gi),ft=Math.min(ki,Xi),Fi=(Rr+ft)/2,aa=Fi-Xn,ta=Math.max(Pi,Yi),$i=Math.min(Hi,Qi),Ji=(ta+$i)/2,Li=Ji-Pi;ee==null||ee(tt,hr);var Bi=ot.right-jt.x-(Kn+jt.width),gi=ot.bottom-jt.y-(Cn+jt.height);D===1&&(Kn=Math.round(Kn),Bi=Math.round(Bi)),En===1&&(Cn=Math.round(Cn),gi=Math.round(gi));var bi={ready:!0,offsetX:Kn/D,offsetY:Cn/En,offsetR:Bi/D,offsetB:gi/En,arrowX:aa/D,arrowY:Li/En,scaleX:D,scaleY:En,align:hr};ze(bi)}}),Qe=function(){He.current+=1;var Le=He.current;Promise.resolve().then(function(){He.current===Le&&_e()})},Me=function(){ze(function(Le){return(0,a.Z)((0,a.Z)({},Le),{},{ready:!1})})};return(0,v.Z)(Me,[Oe]),(0,v.Z)(function(){rt||Me()},[rt]),[Ie.ready,Ie.offsetX,Ie.offsetY,Ie.offsetR,Ie.offsetB,Ie.arrowX,Ie.arrowY,Ie.scaleX,Ie.scaleY,Ie.align,Qe]}var it=o(80702);function lt(rt,tt,Be,Oe,Ue){(0,v.Z)(function(){if(rt&&tt&&Be){let He=function(){Oe(),Ue()};var $e=tt,ee=Be,ye=ae($e),Ne=ae(ee),Ie=fe(ee),ze=new Set([Ie].concat((0,it.Z)(ye),(0,it.Z)(Ne)));return ze.forEach(function(Je){Je.addEventListener("scroll",He,{passive:!0})}),Ie.addEventListener("resize",He,{passive:!0}),Oe(),function(){ze.forEach(function(Je){Je.removeEventListener("scroll",He),Ie.removeEventListener("resize",He)})}}},[rt,tt,Be])}var zt=o(48736);function nn(rt,tt,Be,Oe,Ue,$e,ee,ye){var Ne=C.useRef(rt);Ne.current=rt;var Ie=C.useRef(!1);C.useEffect(function(){if(tt&&Oe&&(!Ue||$e)){var He=function(){Ie.current=!1},Je=function(ht){var nt;Ne.current&&!ee(((nt=ht.composedPath)===null||nt===void 0||(nt=nt.call(ht))===null||nt===void 0?void 0:nt[0])||ht.target)&&!Ie.current&&ye(!1)},Ke=fe(Oe);Ke.addEventListener("pointerdown",He,!0),Ke.addEventListener("mousedown",Je,!0),Ke.addEventListener("contextmenu",Je,!0);var je=(0,u.A)(Be);if(je&&(je.addEventListener("mousedown",Je,!0),je.addEventListener("contextmenu",Je,!0)),0)var _e,Qe,Me,Pe;return function(){Ke.removeEventListener("pointerdown",He,!0),Ke.removeEventListener("mousedown",Je,!0),Ke.removeEventListener("contextmenu",Je,!0),je&&(je.removeEventListener("mousedown",Je,!0),je.removeEventListener("contextmenu",Je,!0))}}},[tt,Be,Oe,Ue,$e]);function ze(){Ie.current=!0}return ze}var Mt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function en(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:b.Z,tt=C.forwardRef(function(Be,Oe){var Ue=Be.prefixCls,$e=Ue===void 0?"rc-trigger-popup":Ue,ee=Be.children,ye=Be.action,Ne=ye===void 0?"hover":ye,Ie=Be.showAction,ze=Be.hideAction,He=Be.popupVisible,Je=Be.defaultPopupVisible,Ke=Be.onPopupVisibleChange,je=Be.afterPopupVisibleChange,_e=Be.mouseEnterDelay,Qe=Be.mouseLeaveDelay,Me=Qe===void 0?.1:Qe,Pe=Be.focusDelay,Le=Be.blurDelay,ht=Be.mask,nt=Be.maskClosable,re=nt===void 0?!0:nt,ut=Be.getPopupContainer,Ze=Be.forceRender,Se=Be.autoDestroy,St=Be.destroyPopupOnHide,tn=Be.popup,gt=Be.popupClassName,Xe=Be.popupStyle,qe=Be.popupPlacement,Ge=Be.builtinPlacements,ke=Ge===void 0?{}:Ge,ce=Be.popupAlign,pe=Be.zIndex,me=Be.stretch,we=Be.getPopupClassNameFromAlign,Ye=Be.fresh,bt=Be.alignPoint,Dt=Be.onPopupClick,jt=Be.onPopupAlign,Kt=Be.arrow,Ht=Be.popupMotion,Ft=Be.maskMotion,Gt=Be.popupTransitionName,Yt=Be.popupAnimation,$t=Be.maskTransitionName,bn=Be.maskAnimation,Jt=Be.className,un=Be.getTriggerDOMNode,mn=(0,T.Z)(Be,Mt),hn=Se||St||!1,vn=C.useState(!1),yn=(0,y.Z)(vn,2),Gn=yn[0],jn=yn[1];(0,v.Z)(function(){jn((0,I.Z)())},[]);var It=C.useRef({}),Ct=C.useContext(Ee),Ut=C.useMemo(function(){return{registerSubPopup:function(qn,Gr){It.current[qn]=Gr,Ct==null||Ct.registerSubPopup(qn,Gr)}}},[Ct]),xt=(0,U.Z)(),fn=C.useState(null),cn=(0,y.Z)(fn,2),ot=cn[0],D=cn[1],En=C.useRef(null),Pn=(0,Q.Z)(function(Rn){En.current=Rn,(0,G.Sh)(Rn)&&ot!==Rn&&D(Rn),Ct==null||Ct.registerSubPopup(xt,Rn)}),Qt=C.useState(null),An=(0,y.Z)(Qt,2),_n=An[0],at=An[1],vt=C.useRef(null),be=(0,Q.Z)(function(Rn){(0,G.Sh)(Rn)&&_n!==Rn&&(at(Rn),vt.current=Rn)}),wt=C.Children.only(ee),sn=(wt==null?void 0:wt.props)||{},Wt={},dn=(0,Q.Z)(function(Rn){var qn,Gr,Vr=_n;return(Vr==null?void 0:Vr.contains(Rn))||((qn=(0,u.A)(Vr))===null||qn===void 0?void 0:qn.host)===Rn||Rn===Vr||(ot==null?void 0:ot.contains(Rn))||((Gr=(0,u.A)(ot))===null||Gr===void 0?void 0:Gr.host)===Rn||Rn===ot||Object.values(It.current).some(function(gr){return(gr==null?void 0:gr.contains(Rn))||Rn===gr})}),gn=ue($e,Ht,Yt,Gt),zn=ue($e,Ft,bn,$t),Dn=C.useState(Je||!1),xn=(0,y.Z)(Dn,2),Ln=xn[0],Vn=xn[1],nr=He!=null?He:Ln,hr=(0,Q.Z)(function(Rn){He===void 0&&Vn(Rn)});(0,v.Z)(function(){Vn(He||!1)},[He]);var Kn=C.useRef(nr);Kn.current=nr;var Cn=C.useRef([]);Cn.current=[];var rr=(0,Q.Z)(function(Rn){var qn;hr(Rn),((qn=Cn.current[Cn.current.length-1])!==null&&qn!==void 0?qn:nr)!==Rn&&(Cn.current.push(Rn),Ke==null||Ke(Rn))}),fr=C.useRef(),Zn=function(){clearTimeout(fr.current)},On=function(qn){var Gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Zn(),Gr===0?rr(qn):fr.current=setTimeout(function(){rr(qn)},Gr*1e3)};C.useEffect(function(){return Zn},[]);var er=C.useState(!1),$n=(0,y.Z)(er,2),vr=$n[0],Yn=$n[1];(0,v.Z)(function(Rn){(!Rn||nr)&&Yn(!0)},[nr]);var ir=C.useState(null),Sr=(0,y.Z)(ir,2),Bn=Sr[0],Hn=Sr[1],kr=C.useState(null),Ir=(0,y.Z)(kr,2),Dr=Ir[0],si=Ir[1],Nr=function(qn){si([qn.clientX,qn.clientY])},fi=st(nr,ot,bt&&Dr!==null?Dr:_n,qe,ke,ce,jt),Lr=(0,y.Z)(fi,11),wi=Lr[0],ji=Lr[1],vi=Lr[2],Ai=Lr[3],Di=Lr[4],ti=Lr[5],Qr=Lr[6],xi=Lr[7],zi=Lr[8],Mi=Lr[9],wr=Lr[10],Ni=ve(Gn,Ne,Ie,ze),hi=(0,y.Z)(Ni,2),Ei=hi[0],pi=hi[1],Xn=Ei.has("click"),ki=pi.has("click")||pi.has("contextMenu"),Pi=(0,Q.Z)(function(){vr||wr()}),Hi=function(){Kn.current&&bt&&ki&&On(!1)};lt(nr,_n,ot,Pi,Hi),(0,v.Z)(function(){Pi()},[Dr,qe]),(0,v.Z)(function(){nr&&!(ke!=null&&ke[qe])&&Pi()},[JSON.stringify(ce)]);var Gi=C.useMemo(function(){var Rn=ie(ke,$e,Mi,bt);return h()(Rn,we==null?void 0:we(Mi))},[Mi,we,ke,$e,bt]);C.useImperativeHandle(Oe,function(){return{nativeElement:vt.current,popupElement:En.current,forceAlign:Pi}});var Xi=C.useState(0),Yi=(0,y.Z)(Xi,2),Qi=Yi[0],Rr=Yi[1],ft=C.useState(0),Fi=(0,y.Z)(ft,2),aa=Fi[0],ta=Fi[1],$i=function(){if(me&&_n){var qn=_n.getBoundingClientRect();Rr(qn.width),ta(qn.height)}},Ji=function(){$i(),Pi()},Li=function(qn){Yn(!1),wr(),je==null||je(qn)},Bi=function(){return new Promise(function(qn){$i(),Hn(function(){return qn})})};(0,v.Z)(function(){Bn&&(wr(),Bn(),Hn(null))},[Bn]);function gi(Rn,qn,Gr,Vr){Wt[Rn]=function(gr){var sa;Vr==null||Vr(gr),On(qn,Gr);for(var _i=arguments.length,oi=new Array(_i>1?_i-1:0),oa=1;oa<_i;oa++)oi[oa-1]=arguments[oa];(sa=sn[Rn])===null||sa===void 0||sa.call.apply(sa,[sn,gr].concat(oi))}}(Xn||ki)&&(Wt.onClick=function(Rn){var qn;Kn.current&&ki?On(!1):!Kn.current&&Xn&&(Nr(Rn),On(!0));for(var Gr=arguments.length,Vr=new Array(Gr>1?Gr-1:0),gr=1;gr<Gr;gr++)Vr[gr-1]=arguments[gr];(qn=sn.onClick)===null||qn===void 0||qn.call.apply(qn,[sn,Rn].concat(Vr))});var bi=nn(nr,ki,_n,ot,ht,re,dn,On),Jr=Ei.has("hover"),Ui=pi.has("hover"),Yr,Zr;Jr&&(gi("onMouseEnter",!0,_e,function(Rn){Nr(Rn)}),gi("onPointerEnter",!0,_e,function(Rn){Nr(Rn)}),Yr=function(qn){(nr||vr)&&ot!==null&&ot!==void 0&&ot.contains(qn.target)&&On(!0,_e)},bt&&(Wt.onMouseMove=function(Rn){var qn;(qn=sn.onMouseMove)===null||qn===void 0||qn.call(sn,Rn)})),Ui&&(gi("onMouseLeave",!1,Me),gi("onPointerLeave",!1,Me),Zr=function(){On(!1,Me)}),Ei.has("focus")&&gi("onFocus",!0,Pe),pi.has("focus")&&gi("onBlur",!1,Le),Ei.has("contextMenu")&&(Wt.onContextMenu=function(Rn){var qn;Kn.current&&pi.has("contextMenu")?On(!1):(Nr(Rn),On(!0)),Rn.preventDefault();for(var Gr=arguments.length,Vr=new Array(Gr>1?Gr-1:0),gr=1;gr<Gr;gr++)Vr[gr-1]=arguments[gr];(qn=sn.onContextMenu)===null||qn===void 0||qn.call.apply(qn,[sn,Rn].concat(Vr))}),Jt&&(Wt.className=h()(sn.className,Jt));var pr=(0,a.Z)((0,a.Z)({},sn),Wt),qr={},Ki=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ki.forEach(function(Rn){mn[Rn]&&(qr[Rn]=function(){for(var qn,Gr=arguments.length,Vr=new Array(Gr),gr=0;gr<Gr;gr++)Vr[gr]=arguments[gr];(qn=pr[Rn])===null||qn===void 0||qn.call.apply(qn,[pr].concat(Vr)),mn[Rn].apply(mn,Vr)})});var Ti=C.cloneElement(wt,(0,a.Z)((0,a.Z)({},pr),qr)),Ea={x:ti,y:Qr},qi=Kt?(0,a.Z)({},Kt!==!0?Kt:{}):null;return C.createElement(C.Fragment,null,C.createElement(j.Z,{disabled:!nr,ref:be,onResize:Ji},C.createElement(te,{getTriggerDOMNode:un},Ti)),C.createElement(Ee.Provider,{value:Ut},C.createElement(H,{portal:rt,ref:Pn,prefixCls:$e,popup:tn,className:h()(gt,Gi),style:Xe,target:_n,onMouseEnter:Yr,onMouseLeave:Zr,onPointerEnter:Yr,zIndex:pe,open:nr,keepDom:vr,fresh:Ye,onClick:Dt,onPointerDownCapture:bi,mask:ht,motion:gn,maskMotion:zn,onVisibleChanged:Li,onPrepare:Bi,forceRender:Ze,autoDestroy:hn,getPopupContainer:ut,align:Mi,arrow:qi,arrowPos:Ea,ready:wi,offsetX:ji,offsetY:vi,offsetR:Ai,offsetB:Di,onAlign:Pi,stretch:me,targetWidth:Qi/xi,targetHeight:aa/zi})))});return tt}var rn=en(b.Z)},53660:function(k,p){(function(o,a){a(p)})(this,function(o){"use strict";var a=function(){return(a=Object.assign||function(Oe){for(var Ue,$e=1,ee=arguments.length;$e<ee;$e++)for(var ye in Ue=arguments[$e])Object.prototype.hasOwnProperty.call(Ue,ye)&&(Oe[ye]=Ue[ye]);return Oe}).apply(this,arguments)};function y(Oe,Ue,$e,ee){return new($e||($e=Promise))(function(ye,Ne){function Ie(Je){try{He(ee.next(Je))}catch(Ke){Ne(Ke)}}function ze(Je){try{He(ee.throw(Je))}catch(Ke){Ne(Ke)}}function He(Je){var Ke;Je.done?ye(Je.value):(Ke=Je.value,Ke instanceof $e?Ke:new $e(function(je){je(Ke)})).then(Ie,ze)}He((ee=ee.apply(Oe,Ue||[])).next())})}function T(Oe,Ue){var $e,ee,ye,Ne,Ie={label:0,sent:function(){if(1&ye[0])throw ye[1];return ye[1]},trys:[],ops:[]};return Ne={next:ze(0),throw:ze(1),return:ze(2)},typeof Symbol=="function"&&(Ne[Symbol.iterator]=function(){return this}),Ne;function ze(He){return function(Je){return function(Ke){if($e)throw new TypeError("Generator is already executing.");for(;Ie;)try{if($e=1,ee&&(ye=2&Ke[0]?ee.return:Ke[0]?ee.throw||((ye=ee.return)&&ye.call(ee),0):ee.next)&&!(ye=ye.call(ee,Ke[1])).done)return ye;switch(ee=0,ye&&(Ke=[2&Ke[0],ye.value]),Ke[0]){case 0:case 1:ye=Ke;break;case 4:return Ie.label++,{value:Ke[1],done:!1};case 5:Ie.label++,ee=Ke[1],Ke=[0];continue;case 7:Ke=Ie.ops.pop(),Ie.trys.pop();continue;default:if(!(ye=(ye=Ie.trys).length>0&&ye[ye.length-1])&&(Ke[0]===6||Ke[0]===2)){Ie=0;continue}if(Ke[0]===3&&(!ye||Ke[1]>ye[0]&&Ke[1]<ye[3])){Ie.label=Ke[1];break}if(Ke[0]===6&&Ie.label<ye[1]){Ie.label=ye[1],ye=Ke;break}if(ye&&Ie.label<ye[2]){Ie.label=ye[2],Ie.ops.push(Ke);break}ye[2]&&Ie.ops.pop(),Ie.trys.pop();continue}Ke=Ue.call(Oe,Ie)}catch(je){Ke=[6,je],ee=0}finally{$e=ye=0}if(5&Ke[0])throw Ke[1];return{value:Ke[0]?Ke[1]:void 0,done:!0}}([He,Je])}}}var b=function(){function Oe(){}return Oe.add=function(Ue){Oe.HANDLE_LIST.push(Ue),window.addEventListener("message",Ue,!1)},Oe.remove=function(Ue){var $e=Oe.HANDLE_LIST.indexOf(Ue);$e>=0&&Oe.HANDLE_LIST.splice($e,1),window.removeEventListener("message",Ue,!1)},Oe.empty=function(){for(;Oe.HANDLE_LIST.length;)window.removeEventListener("message",Oe.HANDLE_LIST.shift(),!1)},Oe.parse=function(Ue){try{return typeof Ue=="object"?Ue:Ue&&JSON.parse(Ue)}catch($e){return console.log("Message.parse Error:",$e),Ue}},Oe.HANDLE_LIST=[],Oe}();function _(Oe){return{}.toString.call(Oe)==="[object Function]"}var h,j,G,u,Q={origin:""};function U(Oe,Ue){Q[Oe]=Ue}function v(Oe){return Q[Oe]}function I(Oe){var Ue=v("origin");return!!function($e,ee){return $e!==ee&&($e.replace(/www\./i,"").toLowerCase()!==ee.replace(/www\./i,"").toLowerCase()||($e.match("www.")?void 0:(U("origin",ee),!1)))}(Ue,Oe.origin)&&(console.warn("postMessage \u57DF\u540D\u68C0\u67E5\u4E0D\u901A\u8FC7",{safeOrigin:Ue,eventOrigin:Oe.origin}),!0)}(function(Oe){Oe.unknown="unknown",Oe.spreadsheet="s",Oe.writer="w",Oe.presentation="p",Oe.pdf="f"})(h||(h={})),function(Oe){Oe.wps="w",Oe.et="s",Oe.presentation="p",Oe.pdf="f"}(j||(j={})),function(Oe){Oe.nomal="nomal",Oe.simple="simple"}(G||(G={})),function(Oe){Oe[Oe.requestFullscreen=1]="requestFullscreen",Oe[Oe.exitFullscreen=0]="exitFullscreen"}(u||(u={}));var C,P,X,V=(C=0,function(){return C+=1}),z=function(Oe,Ue,$e){$e===void 0&&($e=!0);var ee=Ue;if(!P){var ye=function ze(He){var Je=He.clientHeight,Ke=He.clientWidth;Je!==0||Ke!==0||X?Je===0&&Ke===0||!X||(X.disconnect(),X=null):window.ResizeObserver&&(X=new ResizeObserver(function(je){ze(He)})).observe(He),P.style.cssText+="height: "+Je+"px; width: "+Ke+"px"}.bind(null,ee);(P=document.createElement("iframe")).classList.add("web-office-iframe");var Ne={id:"office-iframe",src:Oe,scrolling:"no",frameborder:"0",allowfullscreen:"allowfullscreen",webkitallowfullscreen:"true",mozallowfullscreen:"true",allow:"clipboard-read; clipboard-write"};for(var Ie in ee?(Ne.style="width: "+ee.clientWidth+"px; height: "+ee.clientHeight+"px;",$e&&window.addEventListener("resize",ye)):((ee=document.createElement("div")).classList.add("web-office-default-container"),function(ze){var He=document.createElement("style");document.head.appendChild(He);var Je=He.sheet;Je.insertRule(ze,Je.cssRules.length)}(".web-office-default-container {position: absolute; padding: 0; margin: 0; width: 100%; height: 100%; left: 0; top: 0;}"),document.body.appendChild(ee),Ne.style="position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;"),Ne)P.setAttribute(Ie,Ne[Ie]);ee.appendChild(P),P.destroy=function(){P.parentNode.removeChild(P),P=null,window.removeEventListener("resize",ye),X&&(X.disconnect(),X=null)}}return P},N=function(Oe){z().contentWindow&&z().contentWindow.postMessage(JSON.stringify(Oe),v("origin"))};function F(Oe,Ue,$e){return new Promise(function(ee){var ye=V(),Ne=function(Ie){if(!I(Ie)){var ze=b.parse(Ie.data);ze.eventName===$e&&ze.msgId===ye&&(ee(ze.data),b.remove(Ne))}};b.add(Ne),N({data:Oe,msgId:ye,eventName:Ue})})}var B=function(Oe){return F(Oe,"wps.jssdk.api","wps.api.reply")},W=function(Oe){return F(Oe,"api.basic","api.basic.reply")},H={idMap:{}};function le(Oe){return y(this,void 0,void 0,function(){var Ue,$e,ee,ye,Ne,Ie,ze,He,Je,Ke;return T(this,function(je){switch(je.label){case 0:return I(Oe)?[2]:(Ue=b.parse(Oe.data),$e=Ue.eventName,ee=Ue.callbackId,ye=Ue.data,ee&&(Ne=H.idMap[ee])?(Ie=Ne.split(":"),ze=Ie[0],He=Ie[1],$e==="api.callback"&&H[ze]&&H[ze][He]?[4,(Ke=H[ze][He]).callback.apply(Ke,ye.args)]:[3,2]):[3,2]);case 1:Je=je.sent(),N({result:Je,callbackId:ee,eventName:"api.callback.reply"}),je.label=2;case 2:return[2]}})})}var te=function(Oe){return y(void 0,void 0,void 0,function(){function Ue(){return Object.keys(H.idMap).find(function(je){return H.idMap[je]===ee+":"+$e})}var $e,ee,ye,Ne,Ie,ze,He,Je,Ke;return T(this,function(je){switch(je.label){case 0:return $e=Oe.prop,ee=Oe.parentObjId,[4,Ee([ye=Oe.value])];case 1:return Ne=je.sent(),Ie=Ne[0],ze=Ne[1],Oe.value=Ie[0],He=Object.keys(ze)[0],Je=H[ee],ye===null&&Je&&Je[$e]&&((Ke=Ue())&&delete H.idMap[Ke],delete Je[$e],Object.keys(Je).length||delete H[ee],Object.keys(H.idMap).length||b.remove(le)),He&&(Object.keys(H.idMap).length||b.add(le),H[ee]||(H[ee]={}),H[ee][$e]={callbackId:He,callback:ze[He]},(Ke=Ue())&&delete H.idMap[Ke],H.idMap[He]=ee+":"+$e),[2]}})})},se=function(Oe,Ue,$e,ee){return y(void 0,void 0,void 0,function(){var ye,Ne,Ie,ze,He,Je,Ke,je;return T(this,function(_e){switch(_e.label){case 0:return ye=V(),ze=new Promise(function(Qe,Me){Ne=Qe,Ie=Me}),He={},Ue.args?[4,Ee(Ue.args)]:[3,2];case 1:Je=_e.sent(),Ke=Je[0],je=Je[1],Ue.args=Ke,He=je,_e.label=2;case 2:return Oe!=="api.setter"?[3,4]:[4,te(Ue)];case 3:_e.sent(),_e.label=4;case 4:return function(Qe){var Me=Qe[0],Pe=Qe[1];typeof(Me=a({},Me)).data=="function"&&(Me.data=Me.data()),Pe(),N(Me)}([{eventName:Oe,data:Ue,msgId:ye},function(){var Qe=this,Me=function(Pe){return y(Qe,void 0,void 0,function(){var Le,ht,nt;return T(this,function(re){switch(re.label){case 0:return I(Pe)?[2]:(Le=b.parse(Pe.data)).eventName==="api.callback"&&Le.callbackId&&He[Le.callbackId]?[4,He[Le.callbackId].apply(He,Le.data.args)]:[3,2];case 1:ht=re.sent(),N({result:ht,eventName:"api.callback.reply",callbackId:Le.callbackId}),re.label=2;case 2:return Le.eventName===Oe+".reply"&&Le.msgId===ye&&(Le.error?((nt=new Error("")).stack=Le.error+`
`+$e,ee&&ee(),Ie(nt)):Ne(Le.result),b.remove(Me)),[2]}})})};return b.add(Me),ze}]),[2,ze]}})})};function Ee(Oe){return y(this,void 0,void 0,function(){var Ue,$e,ee,ye,Ne,Ie,ze,He,Je,Ke,je;return T(this,function(_e){switch(_e.label){case 0:Ue={},$e=[],ee=Oe.slice(0),_e.label=1;case 1:return ee.length?(ye=void 0,[4,ee.shift()]):[3,13];case 2:return(Ne=_e.sent())&&Ne.done?[4,Ne.done()]:[3,4];case 3:_e.sent(),_e.label=4;case 4:if(!function(Qe){if(!Qe)return!1;for(var Me=Qe;Object.getPrototypeOf(Me)!==null;)Me=Object.getPrototypeOf(Me);return Object.getPrototypeOf(Qe)===Me}(ye))return[3,11];for(ze in ye={},Ie=[],Ne)Ie.push(ze);He=0,_e.label=5;case 5:return He<Ie.length?(Je=Ie[He],Ke=Ne[Je],/^[A-Z]/.test(Je)?Ke&&Ke.done?[4,Ke.done()]:[3,7]:[3,8]):[3,10];case 6:_e.sent(),_e.label=7;case 7:Ke&&Ke.objId?Ke={objId:Ke.objId}:typeof Ke=="function"&&(je=V(),Ue[je]=Ke,Ke={callbackId:je}),_e.label=8;case 8:ye[Je]=Ke,_e.label=9;case 9:return He++,[3,5];case 10:return[3,12];case 11:Ne&&Ne.objId?ye={objId:Ne.objId}:typeof Ne=="function"&&Ne.objId===void 0?(je=V(),Ue[je]=Ne,ye={callbackId:je}):ye=Ne,_e.label=12;case 12:return $e.push(ye),[3,1];case 13:return[2,[$e,Ue]]}})})}var he=function(Oe,Ue){Ue===void 0&&(Ue=!0);var $e=a({},Oe),ee=$e.headers,ye=ee===void 0?{}:ee,Ne=$e.subscriptions,Ie=Ne===void 0?{}:Ne,ze=$e.mode,He=ze===void 0?G.nomal:ze,Je=$e.commonOptions,Ke=ye.backBtn,je=Ke===void 0?{}:Ke,_e=ye.shareBtn,Qe=_e===void 0?{}:_e,Me=ye.otherMenuBtn,Pe=Me===void 0?{}:Me,Le=function(ut,Ze){ut.subscribe&&typeof ut.subscribe=="function"&&(ut.callback=Ze,Ie[Ze]=ut.subscribe,Ue&&delete ut.subscribe)};if(Le(je,"wpsconfig_back_btn"),Le(Qe,"wpsconfig_share_btn"),Le(Pe,"wpsconfig_other_menu_btn"),Pe.items&&Array.isArray(Pe.items)){var ht=[];Pe.items.forEach(function(ut,Ze){switch(ut===void 0&&(ut={}),ut.type){case"export_img":ut.type=1,ut.callback="export_img";break;case"export_pdf":ut.type=1,ut.callback="export_pdf";break;case"save_version":ut.type=1,ut.callback="save_version";break;case"about_wps":ut.type=1,ut.callback="about_wps";break;case"split_line":ut.type=2;break;case"custom":ut.type=3,Le(ut,"wpsconfig_other_menu_btn_"+Ze),ht.push(ut)}}),ht.length&&(ie||ue)&&(Pe.items=ht)}$e.url=$e.url||$e.wpsUrl;var nt=[];if((He===G.simple||Je&&Je.isShowTopArea===!1)&&nt.push("simple","hidecmb"),$e.debug&&nt.push("debugger"),$e.url&&nt.length&&($e.url=$e.url+($e.url.indexOf("?")>=0?"&":"?")+nt.join("&")),Je&&(Je.isParentFullscreen||Je.isBrowserViewFullscreen)&&(document.addEventListener("fullscreenchange",fe),document.addEventListener("webkitfullscreenchange",fe),document.addEventListener("mozfullscreenchange",fe)),$e.wordOptions&&($e.wpsOptions=$e.wordOptions),$e.excelOptions&&($e.etOptions=$e.excelOptions),$e.pptOptions&&($e.wppOptions=$e.pptOptions),typeof Ie.print=="object"){var re="wpsconfig_print";typeof Ie.print.subscribe=="function"&&(Ie[re]=Ie.print.subscribe,$e.print={callback:re},Ie.print.custom!==void 0&&($e.print.custom=Ie.print.custom)),delete Ie.print}return typeof Ie.exportPdf=="function"&&(Ie[re="wpsconfig_export_pdf"]=Ie.exportPdf,$e.exportPdf={callback:re},delete Ie.exportPdf),$e.commandBars&&J($e.commandBars,!1),a(a({},$e),{subscriptions:Ie})},ve=function(Oe){Oe===void 0&&(Oe="");var Ue="";if(!Ue&&Oe){var $e=Oe.toLowerCase();$e.indexOf("/office/s/")!==-1&&(Ue=h.spreadsheet),$e.indexOf("/office/w/")!==-1&&(Ue=h.writer),$e.indexOf("/office/p/")!==-1&&(Ue=h.presentation),$e.indexOf("/office/f/")!==-1&&(Ue=h.pdf)}if(!Ue){var ee=Oe.match(/[\?&]type=([a-z]+)/)||[];Ue=j[ee[1]]||""}return Ue};function J(Oe,Ue){Ue===void 0&&(Ue=!0);var $e=Oe.map(function(ee){var ye=ee.attributes;if(!Array.isArray(ye)){var Ne=[];for(var Ie in ye)if(ye.hasOwnProperty(Ie)){var ze={name:Ie,value:ye[Ie]};Ne.push(ze)}ee.attributes=Ne}return ee});return Ue&&N({data:$e,eventName:"setCommandBars"}),$e}var Z=window.navigator.userAgent.toLowerCase(),ie=/Android|webOS|iPhone|iPod|BlackBerry|iPad/i.test(Z),ue=function(){try{return window._parent.location.search.indexOf("from=wxminiprogram")!==-1}catch(Oe){return!1}}();function fe(){var Oe={status:u.requestFullscreen},Ue=document,$e=Ue.fullscreenElement||Ue.webkitFullscreenElement||Ue.mozFullScreenElement;Oe.status=$e?u.requestFullscreen:u.exitFullscreen,N({data:Oe,eventName:"fullscreenchange"})}var ae=function(){H.idMap={}};function w(){console.group("JSSDK \u4E8B\u4EF6\u673A\u5236\u8C03\u6574\u8BF4\u660E"),console.warn("jssdk.on\u3001jssdk.off \u548C jssdk.Application.Sub \u5C06\u5728\u540E\u7EED\u7248\u672C\u4E2D\u88AB\u5F03\u7528\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u6539\u8FDB\u540E\u7684 ApiEvent"),console.warn("\u5177\u4F53\u8BF7\u53C2\u8003\uFF1Ahttps://wwo.wps.cn/docs/front-end/basic-usage/events/intro/"),console.groupEnd()}var L=0,oe=new Set;function M(Oe){return L+=1,!Oe&&function(Ue){oe.forEach(function($e){return $e(Ue)})}(L),L}function De(){var Oe=new Error("");return(Oe.stack||Oe.message||"").split(`
`).slice(2).join(`
`)}function Fe(Oe,Ue){var $e,ee=this,ye=Ue.Events,Ne=Ue.Enum,Ie=Ue.Props,ze=Ie[0],He=Ie[1],Je={objId:L};switch(function Qe(Me,Pe,Le){for(var ht=Pe.slice(0),nt=function(){var re=ht.shift();!re.alias&&~Re.indexOf(re.prop)&&ht.push(a(a({},re),{alias:re.prop+"Async"})),Object.defineProperty(Me,re.alias||re.prop,{get:function(){var ut=this,Ze=re.cache===1,Se=Ze&&this["__"+re.prop+"CacheValue"];if(!Se){var St=De(),tn=M(Ze),gt=function(){for(var Xe,qe=[],Ge=0;Ge<arguments.length;Ge++)qe[Ge]=arguments[Ge];return re.caller!==void 0?function ke(ce,pe,me){for(var we=pe.slice(0),Ye=function(){var bt=we.shift();!bt.alias&&~Re.indexOf(bt.prop)&&we.push(a(a({},bt),{alias:bt.prop+"Async"})),Object.defineProperty(ce,bt.alias||bt.prop,{get:function(){var Dt=this,jt=bt.cache===1,Kt=jt&&this["__"+bt.prop+"CacheValue"];if(!Kt){var Ht=De(),Ft=M(jt),Gt=function(){for(var Yt,$t=[],bn=0;bn<arguments.length;bn++)$t[bn]=arguments[bn];return bt.caller!==void 0?ke(Yt={objId:M()},me[bt.caller],me):Yt={},st(Gt,Yt,"api.caller",{obj:Gt,args:$t,parentObjId:ce.objId,objId:Yt.objId,prop:bt.prop},Ht),Yt};return Gt.objId=-1,bt.getter!==void 0&&(Gt.objId=Ft,ke(Gt,me[bt.getter],me)),st(ce,Gt,"api.getter",{parentObjId:ce.objId,objId:Gt.objId,prop:bt.prop},Ht,function(){delete Dt["__"+bt.prop+"CacheValue"]}),jt&&(this["__"+bt.prop+"CacheValue"]=Gt),Gt}return Kt},set:function(Dt){var jt=De();return st(ce,{},"api.setter",{value:Dt,parentObjId:ce.objId,objId:-1,prop:bt.prop},jt)}})};we.length;)Ye()}(Xe={objId:M()},Le[re.caller],Le):Xe={},st(gt,Xe,"api.caller",{obj:gt,args:qe,parentObjId:Me.objId,objId:Xe.objId,prop:re.prop},St),Xe};return gt.objId=-1,re.getter!==void 0&&(gt.objId=tn,Qe(gt,Le[re.getter],Le)),st(Me,gt,"api.getter",{parentObjId:Me.objId,objId:gt.objId,prop:re.prop},St,function(){delete ut["__"+re.prop+"CacheValue"]}),Ze&&(this["__"+re.prop+"CacheValue"]=gt),gt}return Se},set:function(ut){var Ze=De();return st(Me,{},"api.setter",{value:ut,parentObjId:Me.objId,objId:-1,prop:re.prop},Ze)}})};ht.length;)nt()}(Je,ze,He),Je.Events=ye,Je.Enum=Ne,Oe.Enum=Je.Enum,Oe.Events=Je.Events,Oe.Props=Ie,ve(Oe.url)){case h.writer:Oe.WordApplication=Oe.WpsApplication=function(){return Je};break;case h.spreadsheet:Oe.ExcelApplication=Oe.EtApplication=function(){return Je};break;case h.presentation:Oe.PPTApplication=Oe.WppApplication=function(){return Je};break;case h.pdf:Oe.PDFApplication=function(){return Je}}Oe.Application=Je,Oe.Free=function(Qe){return se("api.free",{objId:Qe},"")},Oe.Stack=Je.Stack=($e=function(Qe){Oe&&Oe.Free(Qe)},function(){var Qe=[],Me=function(Pe){Qe.push(Pe)};return oe.add(Me),{End:function(){$e(Qe),oe.delete(Me)}}});var Ke={};b.add(function(Qe){return y(ee,void 0,void 0,function(){var Me,Pe,Le,ht,nt;return T(this,function(re){switch(re.label){case 0:return I(Qe)?[2]:(Me=b.parse(Qe.data)).eventName==="api.event"&&Me.data?(Pe=Me.data,Le=Pe.eventName,ht=Pe.data,(nt=Ke[Le])?[4,nt(ht)]:[3,2]):[3,2];case 1:re.sent(),re.label=2;case 2:return[2]}})})}),Je.Sub={};var je=function(Qe){var Me=ye[Qe];Object.defineProperty(Je.Sub,Me,{set:function(Pe){w(),Ke[Me]=Pe,N({eventName:"api.event.register",data:{eventName:Me,register:!!Pe,objId:L+=1}})}})};for(var _e in ye)je(_e)}var Re=["ExportAsFixedFormat","GetOperatorsInfo","ImportDataIntoFields","ReplaceText","ReplaceBookmark","GetBookmarkText","GetComments"];function dt(Oe,Ue,$e){for(var ee=Ue.slice(0),ye=function(){var Ne=ee.shift();!Ne.alias&&~Re.indexOf(Ne.prop)&&ee.push(a(a({},Ne),{alias:Ne.prop+"Async"})),Object.defineProperty(Oe,Ne.alias||Ne.prop,{get:function(){var Ie=this,ze=Ne.cache===1,He=ze&&this["__"+Ne.prop+"CacheValue"];if(!He){var Je=De(),Ke=M(ze),je=function(){for(var Qe=[],Me=0,Pe;Me<arguments.length;Me++)Qe[Me]=arguments[Me];return Ne.caller!==void 0?(Pe={objId:M()},dt(Pe,$e[Ne.caller],$e)):Pe={},st(_e,Pe,"api.caller",{obj:_e,args:Qe,parentObjId:Oe.objId,objId:Pe.objId,prop:Ne.prop},Je),Pe},_e=je;return _e.objId=-1,Ne.getter!==void 0&&(_e.objId=Ke,dt(_e,$e[Ne.getter],$e)),st(Oe,_e,"api.getter",{parentObjId:Oe.objId,objId:_e.objId,prop:Ne.prop},Je,function(){delete Ie["__"+Ne.prop+"CacheValue"]}),ze&&(this["__"+Ne.prop+"CacheValue"]=_e),_e}return He},set:function(Ie){var ze=De();return st(Oe,{},"api.setter",{value:Ie,parentObjId:Oe.objId,objId:-1,prop:Ne.prop},ze)}})};ee.length;)ye()}function st(Oe,Ue,$e,ee,ye,Ne){var Ie,ze=(Oe.done?Oe.done():Promise.resolve()).then(function(){return Ie||(Ie=se($e,ee,ye,Ne)),Ie});Ue.done=function(){return ze},Ue.then=function(He,Je){return ee.objId>=0?(Ue.then=null,Ue.catch=null,ze.then(function(){He(Ue)}).catch(function(Ke){return Je(Ke)})):ze.then(He,Je)},Ue.catch=function(He){return ze.catch(He)},Ue.Destroy=function(){return se("api.free",{objId:Ue.objId},"")}}var it={},lt=null,zt={fileOpen:"fileOpen",tabSwitch:"tabSwitch",fileSaved:"fileSaved",fileStatus:"fileStatus",fullscreenChange:"fullscreenChange",error:"error",stage:"stage"},nn={getToken:"api.getToken",onToast:"event.toast",onHyperLinkOpen:"event.hyperLinkOpen",getClipboardData:"api.getClipboardData"};function Mt(Oe,Ue,$e,ee,ye,Ne,Ie){var ze=this;$e===void 0&&($e={}),b.add(function(He){return y(ze,void 0,void 0,function(){var Je,Ke,je,_e,Qe,Me,Pe,Le,ht,nt,re,ut,Ze,Se,St,tn,gt,Xe,qe;return T(this,function(Ge){switch(Ge.label){case 0:return I(He)?[2]:(Je=b.parse(He.data),Ke=Je.eventName,je=Ke===void 0?"":Ke,_e=Je.data,Qe=_e===void 0?null:_e,Me=Je.url,Pe=Me===void 0?null:Me,["wps.jssdk.api"].indexOf(je)!==-1?[2]:je!=="ready"?[3,1]:(ye.apiReadySended&&function(ke){var ce=[];Object.keys(it).forEach(function(pe){it[pe].forEach(function(me){var we=pe;ke.off(we,me),ce.push({handle:me,eventName:we})}),delete it[pe]}),ce.forEach(function(pe){var me=pe.eventName,we=pe.handle;lt==null||lt.ApiEvent.AddApiEventListener(me,we)})}(Ue),N({eventName:"setConfig",data:a(a({},$e),{version:Oe.version})}),Oe.tokenData&&Oe.setToken(a(a({},Oe.tokenData),{hasRefreshTokenConfig:!!$e.refreshToken})),Oe.iframeReady=!0,[3,15]));case 1:return je!=="error"?[3,2]:(Ue.emit(zt.error,Qe),[3,15]);case 2:return je!=="open.result"?[3,3]:(((gt=Qe==null?void 0:Qe.fileInfo)===null||gt===void 0?void 0:gt.officeVersion)!==void 0&&(Oe.mainVersion=Qe.fileInfo.officeVersion,console.log("aliyun Main Version: V"+Oe.mainVersion)),Ue.emit(zt.fileOpen,Qe),[3,15]);case 3:return je!=="api.scroll"?[3,4]:(window.scrollTo(Qe.x,Qe.y),[3,15]);case 4:if(je!==nn.getToken)return[3,9];Le={token:!1},Ge.label=5;case 5:return Ge.trys.push([5,7,,8]),[4,ye.refreshToken()];case 6:return Le=Ge.sent(),[3,8];case 7:return ht=Ge.sent(),console.error("refreshToken: "+(ht||"fail to get")),[3,8];case 8:return N({eventName:nn.getToken+".reply",data:Le}),[3,15];case 9:if(je!==nn.getClipboardData)return[3,14];nt={text:"",html:""},Ge.label=10;case 10:return Ge.trys.push([10,12,,13]),[4,ye.getClipboardData()];case 11:return nt=Ge.sent(),[3,13];case 12:return re=Ge.sent(),console.error("getClipboardData: "+(re||"fail to get")),[3,13];case 13:return N({eventName:nn.getClipboardData+".reply",data:nt}),[3,15];case 14:je===nn.onToast?ye.onToast(Qe):je===nn.onHyperLinkOpen?ye.onHyperLinkOpen(Qe):je==="stage"?Ue.emit(zt.stage,Qe):je==="event.callback"?(ut=Qe.eventName,Ze=Qe.data,Se=ut,ut==="fullScreenChange"&&(Se=zt.fullscreenChange),ut==="file.saved"&&(Se=zt.fileStatus),(!((Xe=$e.commonOptions)===null||Xe===void 0)&&Xe.isBrowserViewFullscreen||!((qe=$e.commonOptions)===null||qe===void 0)&&qe.isParentFullscreen)&&Se==="fullscreenchange"&&(St=Ze.status,tn=Ze.isDispatchEvent,$e.commonOptions.isBrowserViewFullscreen?function(ke,ce,pe,me){ke===0?ce.style="position: static; width: "+pe.width+"; height: "+pe.height:ke===1&&(ce.style="position: absolute; width: 100%; height: 100%"),me&&function(we){["fullscreen","fullscreenElement"].forEach(function(bt){Object.defineProperty(document,bt,{get:function(){return!!we.status},configurable:!0})});var Ye=new CustomEvent("fullscreenchange");document.dispatchEvent(Ye)}({status:ke})}(St,Ne,Ie,tn):$e.commonOptions.isParentFullscreen&&function(ke,ce,pe){var me=document.querySelector(pe),we=me&&me.nodeType===1?me:ce;if(ke===0){var Ye=document,bt=Ye.exitFullscreen||Ye.mozCancelFullScreen||Ye.msExitFullscreen||Ye.webkitCancelFullScreen||Ye.webkitExitFullscreen;bt.call(document)}else if(ke===1){var Dt=we.requestFullscreen||we.mozRequestFullScreen||we.msRequestFullscreen||we.webkitRequestFullscreen;Dt.call(we)}}(St,Ne,$e.commonOptions.isParentFullscreen)),Ue.emit(Se,Ze)):je==="api.ready"&&Fe(Oe,Qe),Ge.label=15;case 15:return typeof ee[je]=="function"&&ee[je](Oe,Pe||Qe),[2]}})})})}function en(Oe){return new Promise(function(Ue){var $e=function(ee){I(ee)||b.parse(ee.data).eventName===Oe&&(Ue(),b.remove($e))};b.add($e)})}function rn(Oe){var Ue,$e=this;Oe===void 0&&(Oe={}),lt&&lt.destroy();try{var ee=he(Oe),ye=ee.subscriptions,Ne=ye===void 0?{}:ye,Ie=ee.mount,ze=Ie===void 0?null:Ie,He=ee.url,Je=ee.refreshToken,Ke=ee.onToast,je=ee.onHyperLinkOpen,_e=ee.getClipboardData;U("origin",(He.match(/https*:\/\/[^\/]+/g)||[])[0]);var Qe=z(He,ze),Me=en("ready"),Pe=en("open.result"),Le=en("api.ready"),ht=ze?{width:ze.clientWidth+"px",height:ze.clientHeight+"px"}:{width:"100vw",height:"100vh"};delete ee.mount,He&&delete ee.url,delete ee.subscriptions;var nt=(Ue=Ue||Object.create(null),{on:function(Ze,Se){(Ue[Ze]||(Ue[Ze]=[])).push(Se)},off:function(Ze,Se){Ue[Ze]&&Ue[Ze].splice(Ue[Ze].indexOf(Se)>>>0,1)},emit:function(Ze,Se){(Ue[Ze]||[]).slice().map(function(St){St(Se)}),(Ue["*"]||[]).slice().map(function(St){St(Ze,Se)})}}),re={apiReadySended:!1},ut=function(Ze,Se,St){return y($e,void 0,void 0,function(){return T(this,function(tn){switch(tn.label){case 0:return function(gt,Xe,qe){if(it[gt]){var Ge=!!it[gt].find(function(ke){return ke===Xe});return Ge&&qe==="off"?(nt.off(gt,Xe),it[gt]=it[gt].filter(function(ke){return ke!==Xe}),!!it[gt].length||(it[gt]=void 0,!1)):(Ge||qe!=="on"||(it[gt].push(Xe),nt.on(gt,Xe)),!0)}return qe==="on"?(it[gt]=[],it[gt].push(Xe),!1):qe==="off"||void 0}(Ze,Se,St)?[3,2]:[4,Me];case 1:tn.sent(),function(gt,Xe){var qe=gt.eventName,Ge=gt.type,ke=gt.handle;Xe==="on"?nt.on(qe,ke):nt.off(qe,ke),Ge==="base.event"&&N({eventName:"basic.event",data:{eventName:qe,action:Xe}}),w()}(function(gt,Xe){var qe=gt,Ge="base.event";switch(qe){case zt.fileSaved:console.warn("fileSaved\u4E8B\u4EF6\u76D1\u542C\u5373\u5C06\u5F03\u7528\uFF0C \u63A8\u8350\u4F7F\u7528fileStatus\u8FDB\u884C\u6587\u4EF6\u72B6\u6001\u7684\u76D1\u542C"),qe="fileStatus";break;case zt.fullscreenChange:qe="fullscreenchange";break;case"error":case"fileOpen":Ge="callback.event"}return{eventName:qe,type:Ge,handle:Xe}}(Ze,Se),St),tn.label=2;case 2:return[2]}})})};return lt={url:He,iframe:Qe,version:"1.1.19",iframeReady:!1,tokenData:null,commandBars:null,tabs:{getTabs:function(){return y(this,void 0,void 0,function(){return T(this,function(Ze){switch(Ze.label){case 0:return[4,Me];case 1:return Ze.sent(),[2,W({api:"tab.getTabs"})]}})})},switchTab:function(Ze){return y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),[2,W({api:"tab.switchTab",args:{tabKey:Ze}})]}})})}},setCooperUserColor:function(Ze){return y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),[2,W({api:"setCooperUserColor",args:Ze})]}})})},setToken:function(Ze){return y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),lt.tokenData=Ze,N({eventName:"setToken",data:Ze}),[2]}})})},ready:function(){return y(this,void 0,void 0,function(){return T(this,function(Ze){switch(Ze.label){case 0:return re.apiReadySended?[3,2]:[4,Pe];case 1:Ze.sent(),re.apiReadySended=!0,N({eventName:"api.ready"}),Ze.label=2;case 2:return[4,Le];case 3:return Ze.sent(),[2,new Promise(function(Se){return setTimeout(function(){return Se(lt==null?void 0:lt.Application)},0)})]}})})},destroy:function(){it={},Qe.destroy(),b.empty(),lt=null,oe=new Set,L=0,document.removeEventListener("fullscreenchange",fe),ae()},save:function(){return y(this,void 0,void 0,function(){return T(this,function(Ze){switch(Ze.label){case 0:return[4,Me];case 1:return Ze.sent(),[2,B({api:"save"})]}})})},setCommandBars:function(Ze){return y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),J(Ze),[2]}})})},updateConfig:function(Ze){return Ze===void 0&&(Ze={}),y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),Ze.commandBars?(console.warn("Deprecated: `updateConfig()` \u65B9\u6CD5\u5373\u5C06\u5E9F\u5F03\uFF0C\u8BF7\u4F7F\u7528`setCommandBars()`\u4EE3\u66FF`updateConfig()`\u66F4\u65B0`commandBars`\u914D\u7F6E\u3002"),[4,J(Ze.commandBars)]):[3,3];case 2:Se.sent(),Se.label=3;case 3:return[2]}})})},executeCommandBar:function(Ze){return y(this,void 0,void 0,function(){return T(this,function(Se){switch(Se.label){case 0:return[4,Me];case 1:return Se.sent(),J([{cmbId:Ze,attributes:[{name:"click",value:!0}]}]),[2]}})})},on:function(Ze,Se){return y(this,void 0,void 0,function(){return T(this,function(St){return[2,this.ApiEvent.AddApiEventListener(Ze,Se)]})})},off:function(Ze,Se){return y(this,void 0,void 0,function(){return T(this,function(St){return[2,this.ApiEvent.RemoveApiEventListener(Ze,Se)]})})},ApiEvent:{AddApiEventListener:function(Ze,Se){return y(this,void 0,void 0,function(){return T(this,function(St){switch(St.label){case 0:return[4,ut(Ze,Se,"on")];case 1:return[2,St.sent()]}})})},RemoveApiEventListener:function(Ze,Se){return y(this,void 0,void 0,function(){return T(this,function(St){switch(St.label){case 0:return[4,ut(Ze,Se,"off")];case 1:return[2,St.sent()]}})})}}},function(Ze,Se,St,tn,gt,Xe){Se&&_(Se)&&(gt.refreshToken=Se,Ze.refreshToken={eventName:nn.getToken}),Xe&&_(Xe)&&(gt.getClipboardData=Xe,Ze.getClipboardData={eventName:nn.getClipboardData}),St&&_(St)&&(gt.onToast=St,Ze.onToast={eventName:nn.onToast}),tn&&_(tn)&&(gt.onHyperLinkOpen=tn,Ze.onHyperLinkOpen={eventName:nn.onHyperLinkOpen})}(ee,Je,Ke,je,re,_e),Mt(lt,nt,ee,Ne,re,Qe,ht),lt}catch(Ze){console.error(Ze)}}console.log("aliyun JS-SDK V1.1.19");var rt=Object.freeze({__proto__:null,listener:Mt,config:rn});window.WPS=rt;var tt=rn,Be={config:tt};o.config=tt,o.default=Be,Object.defineProperty(o,"__esModule",{value:!0})})},6021:function(k,p,o){"use strict";o.d(p,{Z:function(){return C}});var a=o(99571),y=o(59301),T=Object.defineProperty,b=Object.defineProperties,_=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,u=(P,X,V)=>X in P?T(P,X,{enumerable:!0,configurable:!0,writable:!0,value:V}):P[X]=V,Q=(P,X)=>{for(var V in X||(X={}))j.call(X,V)&&u(P,V,X[V]);if(h)for(var V of h(X))G.call(X,V)&&u(P,V,X[V]);return P},U=(P,X)=>b(P,_(X)),v=(P,X)=>{var V={};for(var z in P)j.call(P,z)&&X.indexOf(z)<0&&(V[z]=P[z]);if(P!=null&&h)for(var z of h(P))X.indexOf(z)<0&&G.call(P,z)&&(V[z]=P[z]);return V},I=(P,X,V)=>new Promise((z,N)=>{var F=H=>{try{W(V.next(H))}catch(le){N(le)}},B=H=>{try{W(V.throw(H))}catch(le){N(le)}},W=H=>H.done?z(H.value):Promise.resolve(H.value).then(F,B);W((V=V.apply(P,X)).next())});const C=P=>{var X=P,{children:V}=X,z=v(X,["children"]);const[N,F]=(0,y.useState)(!1);return y.createElement(a.ZP,U(Q({},z),{loading:N,onClick:B=>I(void 0,null,function*(){try{F(!0),yield z.onClick(B),F(!1)}catch(W){console.error(W),F(!1)}})}),V)}},24544:function(k,p,o){"use strict";var a=o(86204),y=o.n(a),T=Object.defineProperty,b=(G,u,Q)=>u in G?T(G,u,{enumerable:!0,configurable:!0,writable:!0,value:Q}):G[u]=Q,_=(G,u,Q)=>b(G,typeof u!="symbol"?u+"":u,Q),h=(G,u,Q)=>new Promise((U,v)=>{var I=X=>{try{P(Q.next(X))}catch(V){v(V)}},C=X=>{try{P(Q.throw(X))}catch(V){v(V)}},P=X=>X.done?U(X.value):Promise.resolve(X.value).then(I,C);P((Q=Q.apply(G,u)).next())});class j extends a.EventEmitter{constructor(u,Q){super(),_(this,"url"),_(this,"body"),_(this,"fullContent",""),_(this,"controller",null),_(this,"buffer",""),this.url=u,this.body=Q}startStream(){return h(this,null,function*(){this.controller=new AbortController;const{signal:u}=this.controller;try{const Q=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:u});if(!Q.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Q.status}`);const U=Q.headers.get("content-type");if(!U)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(U.includes("application/json")){const C=yield Q.json();this.emit("error",C);return}if(!U.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const v=Q.body.getReader(),I=new TextDecoder("utf-8");for(;;){const{done:C,value:P}=yield v.read();if(C)break;const X=I.decode(P,{stream:!0});this.buffer+=X;const V=this.buffer.split(`
`);this.buffer=V.pop()||"";for(const z of V)if(z.startsWith("data:")){const N=z.slice(5).trim();if(N==="[DONE]")break;try{const F=JSON.parse(N);F.data&&this.handleData(F.data)}catch(F){this.buffer=z+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",F)}}}this.emit("done",this.fullContent)}catch(Q){Q.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Q.message)}})}handleData(u){u.content&&(this.fullContent+=u.content,this.emit("data",{chunk:u,full:this.fullContent}))}cancelRequest(){var u;(u=this.controller)==null||u.abort()}}p.Z=j},83251:function(k,p,o){"use strict";o.d(p,{Z:function(){return I}});var a=o(59301),y=o(30641),T=o(77019),b=o(5269),_={smartWrp:"smartWrp___NjRcB"},h=o(23954),j=o(85057),G=o(6021),u=o(59301),Q=(C,P,X)=>new Promise((V,z)=>{var N=W=>{try{B(X.next(W))}catch(H){z(H)}},F=W=>{try{B(X.throw(W))}catch(H){z(H)}},B=W=>W.done?V(W.value):Promise.resolve(W.value).then(N,F);B((X=X.apply(C,P)).next())});const U=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function v({open:C=!0,onChange:P,defaultValue:X,placement:V,width:z,height:N,extra:F,onDynamic:B,showExtra:W=!0}){const H=(0,a.useRef)(null),le=(0,a.useRef)(null),[te,se]=(0,a.useState)(X||""),[Ee,he]=(0,a.useState)(X||""),[ve,J]=(0,a.useState)(!!C),[Z,ie]=(0,a.useState)(1),ue={selectOnLineNumbers:!0};(0,a.useEffect)(()=>{C&&(se(X),he(X),J(!0))},[C,X]),(0,a.useEffect)(()=>{te!==""&&(clearTimeout(le.current),le.current=setTimeout(()=>{const ae=document.createElement("iframe");if(ae.style.width="100%",ae.style.height="100%",ae.style.border="0",H.current){H.current.innerHTML="",H.current.appendChild(ae);const w=ae.contentDocument||ae.contentWindow.document;w.open(),w.write(te),w.close()}},1e3))},[C,te]);const fe=ae=>{se(ae),P==null||P(ae,Ee)};return u.createElement(y.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:ve,width:W?700:"100%",height:N||"100vh",rootClassName:_.smartWrp,destroyOnClose:!0,onClose:()=>J(!1),extra:W&&u.createElement("div",null,u.createElement(j.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:Z,onChange:ae=>ie(ae)}),u.createElement(G.Z,{type:"primary",className:"ml20",onClick:()=>Q(this,null,function*(){yield B(te,()=>{J(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},u.createElement(T.Z,{className:"h100"},u.createElement(b.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:Z===1?"block":"none"}},u.createElement("div",{className:"h100",ref:H})),u.createElement(b.Z,{flex:"1",style:{display:Z===2?"block":"none"}},u.createElement(h.ZP,{height:"90vh",value:X,language:"html",theme:"vs",showMiniMap:!1,options:ue,onChange:fe}))))}var I=v},43276:function(k,p,o){"use strict";o.d(p,{Z:function(){return se}});var a=o(59301),y=o(96536),T=o(77596),b=o(93772),_=o(14179),h=o(56102),j={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},G=o(6767),u=o(90083),Q=o(95827),U=o(30084),v=o(10787),I=o(50304),C=o(83251),P=Object.defineProperty,X=Object.defineProperties,V=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,B=(Ee,he,ve)=>he in Ee?P(Ee,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ee[he]=ve,W=(Ee,he)=>{for(var ve in he||(he={}))N.call(he,ve)&&B(Ee,ve,he[ve]);if(z)for(var ve of z(he))F.call(he,ve)&&B(Ee,ve,he[ve]);return Ee},H=(Ee,he)=>X(Ee,V(he)),le=(Ee,he)=>{var ve={};for(var J in Ee)N.call(Ee,J)&&he.indexOf(J)<0&&(ve[J]=Ee[J]);if(Ee!=null&&z)for(var J of z(Ee))he.indexOf(J)<0&&F.call(Ee,J)&&(ve[J]=Ee[J]);return ve},se=({onFinish:Ee,value:he,streamingStatus:ve,cancelIndex:J,loadImage:Z,onDynamic:ie})=>{const[ue,fe]=(0,a.useState)(""),[ae,w]=(0,a.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[L,oe]=(0,a.useState)(0),[M,De]=(0,a.useState)(!1),Fe=st=>st.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(it,lt)=>`<mathx data-text="${lt.trim()}">$$${lt.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),Re=()=>{De(!0),Ee==null||Ee()};(0,a.useEffect)(()=>{const st=Z?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${he}`:he,it=Fe(st);if(!M)if(Z||!ve||J>0){fe(it),oe(it.length),(!ve||J>0)&&!Z&&Re();return}else if((it==null?void 0:it.length)<4)fe(it),oe(it.length);else if(L<it.length){const lt=it.length-L,zt=setInterval(()=>{fe(it.slice(0,L+2)),oe(nn=>nn+2)},lt>10?Math.max(500/(lt/2),20):50);return()=>clearInterval(zt)}else ve||Re()},[he,ve,J,Z,L]);const dt=(0,a.useMemo)(()=>a.createElement("section",{className:`${j.answer} fadeIn animated edu_md`},a.createElement(y.UG,{remarkPlugins:[U.Z,v.Z],rehypePlugins:[Q.Z,b.Z],components:{code(st){var it=st,{node:lt,inline:zt,className:nn,children:Mt}=it,en=le(it,["node","inline","className","children"]);const rn=/language-(\w+)/.exec(nn||""),rt=String(Mt).trim();return zt||!rn?a.createElement("code",W({className:nn},en),Mt):a.createElement("code",{className:j.codeCopy,"data-text":`\`\`\`${rn?rn[1]:""}
${Mt}
\`\`\``},a.createElement(h.CopyToClipboard,{text:rt,onCopy:()=>G.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},a.createElement("button",null,"\u590D\u5236")),rn[1]==="html"&&M&&a.createElement("button",{className:j.runCode,onClick:()=>{w(W({},H(W({},ae),{open:++ae.open,defaultValue:rt,language:rn[1]})))}},"\u8FD0\u884CHTML"),a.createElement(T.Z,W({wrapLongLines:!0,style:_.Z,language:rn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},en),rt))},img({node:st}){var it;const lt=(it=st.properties)==null?void 0:it.src;return a.createElement(u.Z,{src:lt,width:320,"data-text":lt,onLoad:()=>Z&&setTimeout(()=>Re(),500)})}}},M?ue:`${ue}__`)),[ue]);return a.createElement(a.Fragment,null,a.createElement(C.Z,{defaultValue:ae.defaultValue,open:ae.open,language:ae.language,height:ae.height,onChange:(st,it)=>{fe(ue.replaceAll(it,st))},onDynamic:ie}),dt)}},61907:function(k,p,o){"use strict";o.d(p,{Z:function(){return jn}});var a=o(59301),y=o(19909),T={panel:"panel___sQgCV"},_=({children:It})=>a.createElement("div",{className:T.panel},It),h={head:"head___Sq9Jd",btn:"btn___qLoeT",center:"center___iV40j",left:"left___VTVFI",tool:"tool___sOsjb",right:"right___weWPx",borderBox:"borderBox___DAP9a",try:"try___xy70Z",btns:"btns___ZqNMP",add:"add___KnDP5"},j=o(62957),G=o(6767),u=o(29787),Q=o(77019),U=o(25399),v=o(37568),I={judgment:"judgment___cE7n1",active:"active___VwnES"},C=o(99064),P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAi5JREFUOE9lk81rE0EYxn+TNU2isNKC0oMXUXPxInipN8WA93rUk0gQBBHbHvoX9BRp8YuCFS1UREgUkZ5SEERIETQnD5HqxYNIMW3a7k4+dkfenV02tYfhHZaZ3z7P876jACo1UzQ+c2hKoYerujAC5B0oKMhn0lXI0Mk51EcMs+fKqqUq9ehyA59Ro8H4gIZMH/LDl2XvpN8KGdoOTKj5j6YaeEzKRQGQVA2HBvv/Pqwk3tfUo3Wz3fNww/hioiCqYsUchBQykMtE9jpqsWlMz4O+AJIlSmI7kkd8OLKQi20JRFSopW/G9HwQyCD2f/MyuIdhZxcWn4Hq2cO370nkUHsYq1KgXmxYQN8DqSeOwNXz8LcDYy5U38OP75AN4e6UBbx6kIapVn6lFgRQOglnjsHLD3DtIrR+wrtVECvTMWB5AZIc1OtNC5AlUq+fhTCEjd9wahwcBU9WwN+CmTtWwdN5Ox85B9SbLWO62so/nYcL4/BnF3QX8lk47sJaA740YeaWBTy+bxVEIa52jPECC7gyBkez8PyrDTAfQPkSbLZh+S1M37CAhUraWrW2Y4wXgh5YG0lH9rV2aEKl1WI1aqd04dOe2d4LcD0D3W4KSboiNZrQGDI86gWHjvrsmaoXMCkAP0ghESBWFPw3YMm4Z0NqqqlNUQc0/JBRsSKQYRvJjAgkUpG+l7bTZUJJKOvaFIOAOS+k5IW4un8wD5lSeS9oOvjUlWZ2qqxa/wBF3k0rRn8T3AAAAABJRU5ErkJggg==",X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAADxJREFUKFNjZEADBkkX5oOELswzSESWYhxAhTA3wZ3wn8EGzGZkOILiRrjCf1Bhxv82IFUYCgfQM8RaDQDYKCkNszfCOwAAAABJRU5ErkJggg==",V=Object.defineProperty,z=Object.defineProperties,N=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,H=(It,Ct,Ut)=>Ct in It?V(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,le=(It,Ct)=>{for(var Ut in Ct||(Ct={}))B.call(Ct,Ut)&&H(It,Ut,Ct[Ut]);if(F)for(var Ut of F(Ct))W.call(Ct,Ut)&&H(It,Ut,Ct[Ut]);return It},te=(It,Ct)=>z(It,N(Ct)),se=(It,Ct,Ut)=>new Promise((xt,fn)=>{var cn=En=>{try{D(Ut.next(En))}catch(Pn){fn(Pn)}},ot=En=>{try{D(Ut.throw(En))}catch(Pn){fn(Pn)}},D=En=>En.done?xt(En.value):Promise.resolve(En.value).then(cn,ot);D((Ut=Ut.apply(It,Ct)).next())});const Ee=({value:It,onChange:Ct})=>{const Ut=["\u6B63\u786E","\u9519\u8BEF"];return a.createElement("div",{className:I.judgment},Ut.map(xt=>a.createElement("div",{className:xt===It?I.active:"",key:xt},a.createElement("b",{onClick:()=>Ct(xt)},xt==="\u6B63\u786E"?"T":"F"),a.createElement("span",null,xt))))};var ve=({visible:It,data:Ct,onClose:Ut,onOk:xt})=>{const fn=[{type:1,question:"",answer:"\u6B63\u786E"},{type:2,question:"",answer:""}],[cn,ot]=(0,a.useState)(!1),[D,En]=(0,a.useState)(!1),[Pn,Qt]=(0,a.useState)(fn),An=(at,vt,be)=>{Pn[vt][at]=be,Qt([...Pn])},_n=at=>se(void 0,null,function*(){var vt,be;ot(!0);const wt=Pn[at].type,sn=yield(0,C.ZP)(`/api/courses/${Ct==null?void 0:Ct.coursesId}/smart_plans/${Ct==null?void 0:Ct.id}/get_questions.json`,{method:"post",body:{url:Ct==null?void 0:Ct.url,count:1,type:wt}});if((sn==null?void 0:sn.status)===0){const Wt=(be=(vt=sn==null?void 0:sn.data)==null?void 0:vt.questions)==null?void 0:be[0];Wt&&(Pn[at]=te(le({},Wt),{type:wt}),Qt([...Pn]))}ot(!1)});return a.createElement(j.default,{centered:!0,destroyOnClose:!0,onCancel:Ut,open:It,title:"\u667A\u80FD\u95EE\u7B54\u8BBE\u7F6E",okText:"\u786E\u8BA4",confirmLoading:D,afterClose:()=>{Qt(fn)},onOk:()=>se(void 0,null,function*(){var at;console.log(Pn,"questionData");const vt=[],be=[];Pn.forEach((Wt,dn)=>{var gn;(!Wt.question||((gn=Wt.question)==null?void 0:gn.length)>200)&&vt.push(dn+1),Wt.answer||be.push(dn+1)});let wt=[];if(vt.length&&wt.push(`\u7B2C${vt.join("\u3001")}\u9053\u95EE\u7B54\uFF0C\u672A\u8BBE\u7F6E\u95EE\u9898\u6216\u95EE\u9898\u8D85\u51FA200\u4E2A\u5B57\u7B26`),be.length&&wt.push(`\u7B2C${be.join("\u3001")}\u9053\u95EE\u7B54\uFF0C\u672A\u8BBE\u7F6E\u56DE\u7B54`),wt.length){G.ZP.warning(wt.join("\uFF1B"),4);return}En(!0);const sn=yield(0,C.ZP)(`/api/smart_plan_item_banks/${(at=Ct==null?void 0:Ct.page)==null?void 0:at.id}/smart_plan_page_knowledges.json`,{method:"post",body:{questions:Pn}});(sn==null?void 0:sn.status)===0&&xt(),En(!1)}),wrapClassName:"QASetting-modal",bodyStyle:{paddingBottom:10,maxHeight:650},width:1e3},a.createElement(u.Z,{spinning:cn},a.createElement("div",{style:{minHeight:"70px"}},a.createElement("div",{className:"c-black"},"\u901A\u8FC7\u667A\u80FD\u63A8\u8350+\u81EA\u5B9A\u4E49\u63D0\u95EE\u53CC\u6A21\u5F0F\uFF0C\u5B9E\u65F6\u5206\u6790\u5B66\u751F\u56DE\u7B54\u6570\u636E\u5E76\u751F\u6210\u5B66\u60C5\u62A5\u544A\uFF0C\u7CBE\u51C6\u5B9A\u4F4D\u5171\u6027\u95EE\u9898\u4E0E\u4E2A\u4F53\u5DEE\u5F02\uFF0C\u52A9\u529B\u6559\u5B66\u7B56\u7565\u4F18\u5316\u3002"),Pn.map((at,vt)=>a.createElement("div",{key:vt,style:{marginTop:vt===0?20:30}},a.createElement(Q.Z,{align:"middle",className:"mb10"},a.createElement("span",{className:"mr10 c-black"},"\u95EE\u9898",vt+1),a.createElement(U.Z,{title:"\u5206\u6790\u8BFE\u4EF6\u5185\u5BB9\u8F85\u52A9\u751F\u6210\u95EE\u9898"},a.createElement("img",{src:P,onClick:()=>_n(vt),className:"iconfont icon-shuaxin4 font14 c-light-primary current"})),a.createElement(U.Z,{title:"\u65B0\u589E\u95EE\u9898"},a.createElement(Q.Z,{align:"middle",justify:"center",style:{width:16,height:16,background:"rgba(48,97,208,0.1)",borderRadius:"50%"},className:"current ml10",onClick:()=>{Pn.push(fn[at.type===1?0:1]),Qt([...Pn]),setTimeout(()=>{const be=document.querySelector(".QASetting-modal"),wt=be==null?void 0:be.querySelector(".ant-modal-body");wt==null||wt.scrollTo({top:wt.scrollHeight,behavior:"smooth"})},0)}},a.createElement("img",{src:X}))),vt!==0&&a.createElement(U.Z,{title:"\u5220\u9664\u95EE\u9898"},a.createElement("i",{onClick:()=>{Pn.splice(vt,1),Qt([...Pn])},style:{marginLeft:"auto"},className:"iconfont icon-shanchu15 font14 current c-grey-999"}))),a.createElement(v.default.TextArea,{onChange:be=>An("question",vt,be.target.value),value:at==null?void 0:at.question}),a.createElement(Q.Z,{align:"middle",className:"mr10 mt10 mb10"},a.createElement("span",{className:"c-black"},"\u56DE\u7B54"),a.createElement("span",{className:"font14 c-light-primary current ml10",onClick:()=>{Pn[vt]=fn[at.type===1?1:0],Qt([...Pn])}},a.createElement("i",{className:"iconfont icon-dingbu-qiehuanbanben font14 c-light-primary mr5"}),a.createElement("span",null,at.type===1?"\u5207\u6362\u81F3\u6587\u5B57\u4F5C\u7B54\u6A21\u5F0F":"\u5207\u6362\u81F3\u5224\u65AD\u9898\u6A21\u5F0F"))),at.type===1&&a.createElement(Ee,{value:at.answer,onChange:be=>An("answer",vt,be)}),at.type===2&&a.createElement(v.default,{onChange:be=>An("answer",vt,be.target.value),placeholder:"\u8BF7\u8BBE\u7F6E\u56DE\u7B54\u5173\u952E\u8BCD\uFF0C\u8BF7\u7528\u2018\uFF0C\u2019\u5206\u9694\u5F00",value:at.answer}))))))},J=o(77736),Z=o(89070),ie=o(34604),ue=Object.defineProperty,fe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,L=(It,Ct,Ut)=>Ct in It?ue(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,oe=(It,Ct)=>{for(var Ut in Ct||(Ct={}))ae.call(Ct,Ut)&&L(It,Ut,Ct[Ut]);if(fe)for(var Ut of fe(Ct))w.call(Ct,Ut)&&L(It,Ut,Ct[Ut]);return It};const M=It=>React.createElement("svg",oe({className:"b_svg__icon",width:200,height:200,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"M0 0h1024v1024H0z",fill:"#C4D6FE"}),React.createElement("path",{d:"M339.968 419.986h-219.94c-44.106 0-80.019-35.84-80.019-80.018v-219.94c0-44.106 35.84-80.019 80.018-80.019h219.941c44.178 0 80.018 35.84 80.018 80.018v219.941c0 44.178-35.84 80.018-80.018 80.018z",fill:"#FFF"}),React.createElement("path",{d:"M119.954 80.018a40.01 40.01 0 0 0-39.936 40.01v219.94c0 22.09 17.92 40.01 40.01 40.01h219.94a40.01 40.01 0 0 0 40.01-40.01v-219.94a40.01 40.01 0 0 0-40.01-40.01h-219.94M119.953 0h219.94C406.31 0 460.07 53.76 460.07 119.954v220.014a119.954 119.954 0 0 1-119.955 120.1h-220.16A119.954 119.954 0 0 1 0 340.115v-220.16C0 53.76 53.76 0 119.954 0zm784.092 983.99H683.959c-44.178 0-80.018-35.84-80.018-80.017V684.032c0-44.178 35.84-80.018 80.018-80.018h219.94c44.106 0 80.019 35.84 80.019 80.018v219.94c0 44.106-35.84 80.019-80.019 80.019z",fill:"#3061D0"}),React.createElement("path",{d:"M684.032 644.023a40.01 40.01 0 0 0-40.01 40.009v219.94c0 22.09 17.92 40.01 40.01 40.01h219.94a40.01 40.01 0 0 0 40.01-40.01v-219.94a40.01 40.01 0 0 0-40.01-40.01h-219.94m0-80.017h219.94c66.268 0 120.028 53.686 120.028 119.954v220.014A119.954 119.954 0 0 1 904.046 1024H683.959A119.954 119.954 0 0 1 563.93 904.046V683.959c0-66.34 53.687-120.028 119.955-120.028z",fill:"#FFF"}),React.createElement("path",{d:"M644.023 833.975H190.025v-79.872h453.998zM833.975 269.97H379.977v-79.945h453.998z",fill:"#3061D0"}),React.createElement("path",{d:"M874.057 230.034v241.957a40.01 40.01 0 0 1-80.091 0V230.034a40.01 40.01 0 1 1 80.018 0zM230.034 552.01v241.957a40.01 40.01 0 0 1-80.018 0V552.009a40.01 40.01 0 0 1 80.018 0z",fill:"#3061D0"}),React.createElement("path",{d:"M773.998 754.03h40.009c10.971 0 19.968 8.923 19.968 19.968v40.009a19.968 19.968 0 0 1-19.968 19.968h-40.01a19.968 19.968 0 0 1-19.967-19.968v-40.01c0-11.044 8.923-19.967 19.968-19.967z",fill:"#FFF"}),React.createElement("path",{d:"M209.993 190.025h40.01c11.044 0 19.967 8.924 19.967 19.968v40.01a19.968 19.968 0 0 1-19.968 19.967h-40.009a19.968 19.968 0 0 1-19.968-19.968v-40.009c0-10.971 8.924-19.968 19.968-19.968z",fill:"#3061D0"}));var De="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMGgxMDI0djEwMjRIMHoiIGZpbGw9IiNDNEQ2RkUiLz48cGF0aCBkPSJNMzM5Ljk2OCA0MTkuOTg2aC0yMTkuOTRjLTQ0LjEwNiAwLTgwLjAxOS0zNS44NC04MC4wMTktODAuMDE4di0yMTkuOTRjMC00NC4xMDYgMzUuODQtODAuMDE5IDgwLjAxOC04MC4wMTloMjE5Ljk0MWM0NC4xNzggMCA4MC4wMTggMzUu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xOS45NjcgOC45MjQgMTkuOTY3IDE5Ljk2OHY0MC4wMWExOS45NjggMTkuOTY4IDAgMCAxLTE5Ljk2OCAxOS45NjdoLTQwLjAwOWExOS45NjggMTkuOTY4IDAgMCAxLTE5Ljk2OC0xOS45Njh2LTQwLjAwOWMwLTEwLjk3MSA4LjkyNC0xOS45NjggMTkuOTY4LTE5Ljk2OHoiIGZpbGw9IiMzMDYxRDAiLz48L3N2Zz4=",Fe=Object.defineProperty,Re=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,it=(It,Ct,Ut)=>Ct in It?Fe(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,lt=(It,Ct)=>{for(var Ut in Ct||(Ct={}))dt.call(Ct,Ut)&&it(It,Ut,Ct[Ut]);if(Re)for(var Ut of Re(Ct))st.call(Ct,Ut)&&it(It,Ut,Ct[Ut]);return It};const zt=It=>React.createElement("svg",lt({className:"c_svg__icon",width:200,height:173.41,viewBox:"0 0 1181 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"M870.662 0c9.925 46.237 14.848 92.434 4.962 143.79H211.85C206.926 87.315 192.039 0 271.358 0H870.7zM320.863 92.434c9.846 0 14.848-10.24 9.846-20.519-4.923-10.28-14.808-15.439-19.77-15.439-9.925 5.12-14.888 15.439-9.925 20.559 0 10.24 9.924 15.399 19.81 15.399zm69.316-15.36c0-5.159-4.963-10.318-9.886-15.438-4.962-5.12-9.924-5.12-14.887 0s-9.885 5.12-9.885 15.399c0 10.24 4.923 15.399 14.848 15.399s19.81-10.24 19.81-15.36zm39.62 15.36c9.925 0 14.887-10.24 14.887-15.36 0-5.159 0-10.318-4.962-10.318-4.963-10.24-4.963-10.24-9.925-10.24-9.885 0-14.848 10.24-14.848 20.519 0 5.12 0 10.24 4.963 10.24 0 5.159 4.962 5.159 9.885 5.159z",fill:"#8DCAFC"}),React.createElement("path",{d:"M870.662 0h59.47c19.81 0 34.657 10.24 39.62 35.957 4.923 41.078 9.885 82.155 4.923 118.152-29.696-10.318-59.43-15.438-94.128-10.318h-4.923C885.51 97.593 885.51 46.237 870.662 0z",fill:"#63B9FC"}),React.createElement("path",{d:"M880.587 143.79c4.923 61.636 9.885 128.392 0 184.908-4.963 30.798 4.923 71.915 4.923 92.434 0 133.511 0 267.062 4.962 395.493H231.66c-4.923 0-9.886 0-9.886-5.12l-4.962-5.16V143.751h663.815zm-495.41 226.025 64.393-61.636c14.887-10.24 14.887-25.678 9.924-41.078-24.772-66.755-133.747 61.636-153.557 82.195-9.925 15.36-9.925 30.798 0 41.077 14.847 15.399 163.443 184.868 153.557 61.636 0-5.12-4.962-10.28-4.962-10.28l-69.276-61.675v-10.24zm257.57-82.155c0-10.28 0-15.4-4.922-25.678-4.963-10.28-9.925-15.439-19.81-15.439-14.888-5.12-34.658 5.12-39.62 20.558L528.848 457.13c-4.962 15.399 4.963 35.957 19.81 41.077 14.848 5.12 34.658-5.12 39.62-20.519l54.508-190.027zm138.71 66.755c4.963 5.12 9.925 10.24 9.925 15.4 0 5.12 0 10.279-4.962 15.399-14.848 15.438-128.785 107.872-39.62 113.031 4.962 0 9.885 0 14.847-5.159 24.773-20.558 54.508-46.237 79.24-66.756 29.736-30.837 64.433-51.356 19.85-92.473-24.812-25.678-118.9-138.631-143.672-61.596v15.36c9.925 20.558 34.658 46.236 64.393 66.794zM479.305 590.68c0-10.279-4.962-15.438-14.847-15.438H310.86c-9.846 0-14.848 5.12-14.848 15.438v5.12c0 10.24 4.962 15.4 14.887 15.4h158.48c4.963 0 9.925 0 9.925-5.12v-15.4zm188.255 77.035c0-10.279-14.887-20.558-34.697-20.558s-34.658 10.279-34.658 20.558c0 10.24 14.848 20.52 34.658 20.52s34.658-10.24 34.658-20.52zm-109.014 0c0-10.279-4.923-15.399-14.848-15.399H310.938c-4.962 0-9.924 0-9.924 5.12s-4.963 5.12-4.963 5.12c0 10.28 4.963 15.438 14.887 15.438h232.799c4.962 0 9.924 0 9.924-5.12 4.923 5.12 4.923 0 4.923-5.159zm183.292 66.756c0-10.24-9.924-15.4-24.772-15.4s-24.773 10.24-24.773 20.52 9.925 15.438 24.812 15.438c9.846 0 24.733-10.279 24.733-20.558zm-321.963 0c0-5.12 0-10.24-4.962-10.24s-4.963-5.16-9.925-5.16H310.86c-4.923 0-9.846 0-9.846 5.12-5.002 5.12-5.002 5.12-5.002 10.28 0 5.12 0 10.24 4.962 10.24s4.963 5.159 9.925 5.159h94.128c4.922 0 14.847-5.12 14.847-15.36zm227.836 0c0-10.24-4.923-15.4-14.848-15.4h-158.52c-4.962 0-9.885 0-9.885 5.12-4.963 5.12-4.963 5.12-4.963 10.28 0 5.12 0 10.24 4.963 10.24 4.923 5.159 4.923 5.159 9.885 5.159h158.52c4.963 0 9.925 0 9.925-5.12 4.923 0 4.923-5.12 4.923-10.24z",fill:"#3291FC"}),React.createElement("path",{d:"M880.587 143.79c29.695-5.12 64.392 0 94.127 10.28v82.233l-4.962 585.48H885.51c-4.923-133.51-4.923-267.061-4.923-395.453 0-20.558-9.925-61.635-4.963-92.473 9.886-61.596 4.963-128.391 4.963-190.027z",fill:"#3291FC"}),React.createElement("path",{d:"m974.675 159.229 128.785 5.12c-69.316-20.558-29.695 46.237-29.695 71.915h-94.128l-4.962-77.035zm-762.826 5.12v77.035h-89.165c-4.923 0-4.923 5.12-4.923 10.24v559.841c0 5.12 4.923 10.28 9.885 15.4 29.735 10.279 59.47 5.12 89.165-15.36l4.962 5.12c0 5.12 4.963 5.12 9.886 5.12h743.016l99.09 5.12c4.962 35.957-4.963 66.794-14.848 97.593H73.139c-4.923 0-9.846-5.12-14.848-5.12-4.923-20.559-9.885-30.838-9.885-46.237V215.705c0-30.798 14.847-46.236 44.582-46.236l118.86-5.12z",fill:"#A1AAEF"}),React.createElement("path",{d:"M1103.46 169.469c24.812 5.12 39.66 20.558 39.66 46.236 4.923 174.629 4.923 410.892-4.963 703.633l-39.62 5.12h-44.622c14.848-30.799 19.81-61.636 14.848-97.594v-585.44c4.962-30.799-34.658-92.435 34.658-71.916z",fill:"#A1AAEF"}),React.createElement("path",{d:"M211.888 241.423v564.922c-29.735 20.52-59.47 25.679-89.204 15.4-4.923 0-9.886-10.24-9.886-15.4V246.504c0-5.12 4.963-10.24 4.963-10.24l94.127 5.12z",fill:"#DDE2F0"}),React.createElement("path",{d:"M974.675 241.423h94.127v580.322l-99.05-5.12 4.923-575.241zM53.368 914.14c4.923 5.12 9.885 5.12 14.848 5.12h1030.282c14.887 30.838 14.887 66.795-4.923 97.593-341.773-5.12-678.624-5.12-1020.436 0-54.468 0-84.203-25.678-69.316-87.274 0-5.12 4.962-5.12 9.885-5.12 14.887 0 24.812-5.16 39.66-10.319z",fill:"#DAE0FF"}),React.createElement("path",{d:"m1138.157 919.338 29.735 5.12c4.923 0 9.885 5.12 9.885 10.24 14.848 66.795-14.847 97.632-84.202 87.353 19.81-35.958 19.81-66.756 4.962-97.593l39.62-5.12z",fill:"#CCD2F2"}),React.createElement("path",{d:"M310.938 56.476c-4.962 0-9.924 5.12-9.924 10.28 0 5.12 0 10.279 4.962 15.399s9.925 5.12 14.848 5.12c4.962 0 9.925-5.12 9.925-10.24s0-10.24-4.963-15.4c-4.962-5.12-9.885-5.12-14.848-5.12zm44.583 20.559c0 5.12 4.923 10.24 9.885 15.399 4.963 5.12 9.925 5.12 14.887 0 4.923-5.12 9.886-10.24 9.886-15.36 0-5.159-4.963-10.318-9.886-15.438-4.962-5.12-9.924-5.12-14.887 0s-9.885 5.12-9.885 15.399zm74.278-20.559c-9.885 0-14.848 10.28-14.848 20.559 0 10.24 4.963 15.399 14.848 15.399 9.925 0 14.887-10.24 14.887-15.36 0-10.318-9.925-20.598-14.887-20.598zm-44.583 323.578 69.355 66.756c4.963 5.12 4.963 5.12 4.963 10.28 9.885 118.15-138.71-51.357-153.558-61.637-9.925-15.36-9.925-30.798 0-46.197 19.81-20.558 128.785-148.95 153.558-87.314 9.885 15.36 4.962 30.798-9.925 46.197l-64.393 61.676v10.279zm232.838-133.511c24.772 5.12 29.695 20.519 24.772 41.077l-49.545 190.028c-4.962 20.519-19.81 25.678-39.62 20.519-19.81-5.12-24.812-20.52-19.81-41.078l49.506-190.027c4.962-20.558 14.887-25.678 34.657-20.558zm163.443 107.833c-29.695-20.558-49.545-46.237-69.316-66.756-4.962-5.12-4.962-10.279 0-15.399 24.733-77.074 118.86 35.918 143.633 61.597 44.583 41.116 9.886 61.635-19.81 92.473a504.114 504.114 0 0 1-79.28 66.756c-4.922 5.12-9.885 5.12-14.847 5.12-94.128-10.24 24.772-102.714 39.62-112.993 4.962-5.12 4.962-10.24 4.962-15.36 0-5.159 0-10.318-4.962-15.438z",fill:"#F1EFF2"}),React.createElement("path",{d:"M310.938 575.201H469.42c9.925 0 14.887 5.12 14.887 15.439v5.12c0 10.24-4.962 15.399-14.887 15.399H310.94c-9.925 0-14.888-5.12-14.888-15.36v-5.16c0-10.278 4.963-15.438 14.887-15.438z",fill:"#FDDD44"}),React.createElement("path",{d:"M598.244 665.272c0 5.908 4.923 17.763 14.848 17.763 9.885 0 24.772 5.907 34.657 0 9.925-5.908 19.81-11.816 19.81-17.763 0-5.907-4.923-17.801-14.847-17.801-9.886 0-24.773-5.908-34.658 0-14.887 5.907-19.81 11.854-19.81 17.801zm-287.306-17.801h232.799c9.924 0 14.847 5.907 14.847 17.801 0 11.816-4.923 17.763-14.847 17.763H310.938c-9.924 5.907-14.887 0-14.887-11.816 0-17.801 4.963-23.748 14.887-23.748z",fill:"#FC9743"}),React.createElement("path",{d:"M687.409 735.573c0 5.474 4.923 10.909 14.848 16.344 9.885 5.435 19.81 5.435 24.772 0 9.885-5.435 14.848-10.87 14.848-16.344 0-5.435-4.963-10.87-14.848-16.305-9.925-5.435-19.81-5.435-24.812 0-9.846 5.435-14.808 10.87-14.808 16.305zm-376.51-16.305h94.128c9.924 0 14.887 5.435 14.887 16.305 0 10.909-4.963 16.344-14.887 16.344h-94.128c-9.846 0-14.848-5.435-14.848-16.344 0-10.87 4.963-16.305 14.887-16.305zm163.483 0h158.52c9.924 0 14.847 5.435 14.847 16.305 0 10.909-4.923 16.344-14.847 16.344h-158.52c-9.886 0-14.848-5.435-14.848-16.344 0-10.87 4.962-16.305 14.848-16.305z",fill:"#28D1B3"}));var nn="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIxNzMuNDEiIHZpZXdCb3g9IjAgMCAxMTgxIDEwMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3MC42NjIgMGM5LjkyNSA0Ni4yMzcgMTQuODQ4IDkyLjQzNCA0Ljk2MiAxNDMuNzlIMjExLjg1QzIwNi45MjYgODcuMzE1IDE5Mi4wMzkgMCAyNzEuMzU4IDBIODcwLjd6TTMyMC44NjMgOTIuNDM0YzkuODQ2IDAgMTQuODQ4LTEwLjI0IDkuODQ2LTIwLjUxOS00LjkyMy0xMC4yOC0xNC44MDgtMTUuNDM5LTE5Ljc3LTE1LjQzOS05LjkyNSA1LjEyLTE0Ljg4OCAxNS40MzktOS45MjUgMjAuNTU5IDAgMTAuMjQgOS45MjQgMTUuMzk5IDE5LjgxIDE1LjM5OXptNjkuMzE2LTE1LjM2YzAtNS4xNTktNC45NjMtMTAuMzE4LTkuODg2LTE1LjQzOC00Ljk2Mi01LjEyLTkuOTI0LTUuMTItMTQuODg3IDBzLTkuODg1IDUuMTItOS44ODUgMTUuMzk5YzAgMTAuMjQgNC45MjMgMTUuMzk5IDE0Ljg0OCAxNS4zOTlzMTkuODEtMTAuMjQgMTkuODEtMTUuMzZ6bTM5LjYyIDE1LjM2YzkuOTI1IDAgMTQuODg3LTEwLjI0IDE0Ljg4Ny0xNS4zNiAwLTUuMTU5IDAtMTAuMzE4LTQuOTYyLTEwLjMxOC00Ljk2My0xMC4yNC00Ljk2My0xMC4yNC05LjkyNS0xMC4yNC05Ljg4NS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SAxNC44ODcgMTYuMzA1IDAgMTAuOTA5LTQuOTYzIDE2LjM0NC0xNC44ODcgMTYuMzQ0aC05NC4xMjhjLTkuODQ2IDAtMTQuODQ4LTUuNDM1LTE0Ljg0OC0xNi4zNDQgMC0xMC44NyA0Ljk2My0xNi4zMDUgMTQuODg3LTE2LjMwNXptMTYzLjQ4MyAwaDE1OC41MmM5LjkyNCAwIDE0Ljg0NyA1LjQzNSAxNC44NDcgMTYuMzA1IDAgMTAuOTA5LTQuOTIzIDE2LjM0NC0xNC44NDcgMTYuMzQ0aC0xNTguNTJjLTkuODg2IDAtMTQuODQ4LTUuNDM1LTE0Ljg0OC0xNi4zNDQgMC0xMC44NyA0Ljk2Mi0xNi4zMDUgMTQuODQ4LTE2LjMwNXoiIGZpbGw9IiMyOEQxQjMiLz48L3N2Zz4=",Mt=Object.defineProperty,en=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,tt=(It,Ct,Ut)=>Ct in It?Mt(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,Be=(It,Ct)=>{for(var Ut in Ct||(Ct={}))rn.call(Ct,Ut)&&tt(It,Ut,Ct[Ut]);if(en)for(var Ut of en(Ct))rt.call(Ct,Ut)&&tt(It,Ut,Ct[Ut]);return It};const Oe=It=>React.createElement("svg",Be({className:"d_svg__icon",width:200,height:200,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"m615.56 977.135-403.626-.341h-1.127a102.468 102.468 0 0 1-65.809-23.894 80.725 80.725 0 0 1-29.354-61.03l.58-616.039a80.486 80.486 0 0 1 29.355-60.86 103.117 103.117 0 0 1 65.809-23.893h1.194l67.243.683v3.448c-2.492 64.99-1.672 68.027 3.482 73.386l3.754 3.823h6.008a17.408 17.408 0 0 0 3.618-.478h107.11c282.897 0 282.897 0 286.72-1.706l5.974-2.595 1.604-5.973a275.801 275.801 0 0 0 1.024-46.285v-23.893l64.512.546h.648a102.4 102.4 0 0 1 71.783 28.911 79.748 79.748 0 0 1 23.893 56.15v360.789a208.282 208.282 0 0 0-117.077-35.84c-115.678 0-209.408 93.56-209.408 208.998a207.428 207.428 0 0 0 82.603 166.332l-.512-.24z",fill:"#3291FC"}),React.createElement("path",{d:"M634.266 989.867H211.149a116.531 116.531 0 0 1-74.82-27.239A93.628 93.628 0 0 1 102.4 891.7l.614-616.038a93.236 93.236 0 0 1 34.031-70.895 116.053 116.053 0 0 1 74.411-27.034h1.195l80.896.82v1.809c0 3.208 0 8.567-.615 15.086a394.923 394.923 0 0 0 0 63.83c.615 0 .683 0 .717-.342h109.944c198.246 0 280.337 0 281.156-.614 1.194-14.268 1.4-28.604.682-42.94V177.87l77.756.614h.683a115.268 115.268 0 0 1 80.725 32.768c17.579 17.408 27.443 41.028 27.41 65.707v370.21c-8.295-6.622-17.067-12.63-26.283-17.92V276.992a66.697 66.697 0 0 0-20.207-46.729 89.293 89.293 0 0 0-62.328-25.122h-.682l-51.064-.478v10.616a247.929 247.929 0 0 1-1.434 49.8l-3.276 12.288-11.947 5.086c-6.007 2.526-6.007 2.526-77.073 2.629H297.233a32.256 32.256 0 0 1-5.086.477h-1.194l-10.48-.477-7.236-7.578c-9.01-9.387-9.728-16.18-7.509-72.977l-53.862-.478h-1.195a90.18 90.18 0 0 0-57.242 20.65 67.96 67.96 0 0 0-24.815 50.996l-.682 616.004a67.584 67.584 0 0 0 24.849 50.995c16.11 13.551 36.522 20.992 57.583 21.027h388.744a210.75 210.75 0 0 0 34.475 25.907l.683.239z",fill:"#82BDFF"}),React.createElement("path",{d:"M624.64 235.759H350.345a23.962 23.962 0 0 1-23.894-24.235v-64.853a23.893 23.893 0 0 1 23.894-23.893h42.598a94.55 94.55 0 0 1 94.481-88.645 94.55 94.55 0 0 1 94.447 88.645h42.598a23.893 23.893 0 0 1 23.894 23.893v64.785a23.893 23.893 0 0 1-23.962 23.893l.239.41z",fill:"#38C9FF",fillOpacity:.4}),React.createElement("path",{d:"M562.654 810.667a179.302 179.302 0 0 0 179.473 179.131A179.302 179.302 0 0 0 921.6 810.667a179.063 179.063 0 0 0-89.737-155.136 179.746 179.746 0 0 0-179.473 0 179.063 179.063 0 0 0-89.736 155.136z",fill:"#38C9FF",opacity:.4}),React.createElement("path",{d:"m738.543 742.195 72.158 39.629a4.608 4.608 0 0 1 1.536 5.973l-79.258 134.28a31.232 31.232 0 0 1-22.528 15.02l-36.796 8.294a5.973 5.973 0 0 1-6.348-3.891l-17.238-35.84a31.642 31.642 0 0 1 2.697-27.17l79.667-134.93a4.506 4.506 0 0 1 6.008-1.57m84.206 20.549a4.096 4.096 0 0 1-5.973 1.365c-19.115-11.947-52.702-30.208-66.287-38.639a4.233 4.233 0 0 1-1.297-5.94l11.947-18.772a35.908 35.908 0 0 1 51.507-9.967l5.973 3.754c8.636 4.984 15.258 12.834 18.671 22.187 3.414 9.591 2.219 20.241-3.242 28.877",fill:"#00D8FB"}),React.createElement("path",{d:"M270.131 356.932c9.558-.239 19.08 1.536 27.955 5.12a53.737 53.737 0 0 1 31.096 34.748c2.56 8.397 3.857 17.135 3.755 25.941.068 6.35-.547 12.698-1.775 18.978a63.488 63.488 0 0 1-6.417 17.306l12.322 10.377c1.98 1.775 2.764 4.437 2.116 6.997a13.722 13.722 0 0 1-4.506 7.475 16.52 16.52 0 0 1-8.533 4.3 8.329 8.329 0 0 1-7.373-1.808l-10.342-8.602c-5.393 3.653-11.264 6.486-17.545 8.295-6.792 1.877-13.824 2.73-20.855 2.628a69.734 69.734 0 0 1-27.239-4.95 54.75 54.75 0 0 1-31.573-34.61 84.821 84.821 0 0 1-3.96-26.454 90.897 90.897 0 0 1 3.585-25.873c2.218-7.714 6.075-14.848 11.264-20.958 5.324-6.076 12.015-10.854 19.49-13.995a72.26 72.26 0 0 1 28.535-5.12v.205zm0 111.275c3.857.068 7.68-.341 11.435-1.229a35.499 35.499 0 0 0 9.455-3.96l-10.547-8.874a5.973 5.973 0 0 1-2.39-5.632 13.926 13.926 0 0 1 5.564-8.363 17.408 17.408 0 0 1 8.67-4.71 7.919 7.919 0 0 1 6.895 1.843l5.973 5.018a56.32 56.32 0 0 0 1.74-9.148c.342-3.243.513-6.554.479-9.83a77.79 77.79 0 0 0-1.98-17.92 42.325 42.325 0 0 0-6.383-14.678 30.55 30.55 0 0 0-11.435-9.864 37.683 37.683 0 0 0-17.169-3.584 37.035 37.035 0 0 0-17.237 3.652 31.642 31.642 0 0 0-11.4 9.83 40.98 40.98 0 0 0-6.35 14.405 76.66 76.66 0 0 0 0 34.099c1.025 5.222 3.073 10.172 5.974 14.643 2.936 4.267 6.827 7.85 11.435 10.308a35.713 35.713 0 0 0 17.578 3.96l-.307.034z",fill:"#FFF"}),React.createElement("path",{d:"m249.173 672.085-10.444 21.163a17.92 17.92 0 0 1-5.974 7.066 19.456 19.456 0 0 1-11.196 2.628 19.797 19.797 0 0 1-11.946-3.072c-2.97-2.082-3.311-5.666-1.092-10.718l48.878-110.455a11.264 11.264 0 0 1 5.12-5.257 25.532 25.532 0 0 1 21.163 0 11.469 11.469 0 0 1 5.052 5.257l49.357 110.865c1.911 4.676 1.365 8.09-1.536 10.24a19.422 19.422 0 0 1-11.947 3.208 17.408 17.408 0 0 1-10.923-2.526 18.534 18.534 0 0 1-5.495-6.314l-11.367-22.085H249.14zm42.428-20.787-18.227-45.636-18.296 45.636h36.523zm139.4-244.94h305.87c16.998 0 25.497 5.46 25.497 16.486 0 10.99-8.533 16.486-25.498 16.486H431.002c-16.999 0-25.498-5.495-25.498-16.486s8.533-16.487 25.498-16.487z",fill:"#0DFED4"}),React.createElement("path",{d:"M431.002 620.612h126.395c16.999 0 25.498 5.462 25.498 16.487 0 10.99-8.5 16.452-25.498 16.452H431.002c-16.999 0-25.498-5.461-25.498-16.452 0-10.991 8.533-16.487 25.498-16.487zm-10.889 120.969h72.26c9.728 0 14.61 5.495 14.61 16.486s-4.882 16.487-14.61 16.487h-72.26c-9.728 0-14.609-5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wNS44N2MxNi45OTggMCAyNS40OTcgNS40NiAyNS40OTcgMTYuNDg2IDAgMTAuOTktOC41MzMgMTYuNDg2LTI1LjQ5OCAxNi40ODZINDMxLjAwMmMtMTYuOTk5IDAtMjUuNDk4LTUuNDk1LTI1LjQ5OC0xNi40ODZzOC41MzMtMTYuNDg3IDI1LjQ5OC0xNi40ODd6IiBmaWxsPSIjMERGRUQ0Ii8+PHBhdGggZD0iTTQzMS4wMDIgNjIwLjYxMmgxMjYuMzk1YzE2Ljk5OSAwIDI1LjQ5OCA1LjQ2MiAyNS40OTggMTYuNDg3IDAgMTAuOTktOC41IDE2LjQ1Mi0yNS40OTggMTYuNDUySDQzMS4wMDJjLTE2Ljk5OSAwLTI1LjQ5OC01LjQ2MS0yNS40OTgtMTYuNDUyIDAtMTAuOTkxIDguNTMzLTE2LjQ4NyAyNS40OTgtMTYuNDg3em0tMTAuODg5IDEyMC45NjloNzIuMjZjOS43MjggMCAxNC42MSA1LjQ5NSAxNC42MSAxNi40ODZzLTQuODgyIDE2LjQ4Ny0xNC42MSAxNi40ODdoLTcyLjI2Yy05LjcyOCAwLTE0LjYwOS01LjQ5Ni0xNC42MDktMTYuNDg3IDAtMTAuOTkgNC44ODEtMTYuNDg2IDE0LjYxLTE2LjQ4NnoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=",$e=Object.defineProperty,ee=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ie=(It,Ct,Ut)=>Ct in It?$e(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,ze=(It,Ct)=>{for(var Ut in Ct||(Ct={}))ye.call(Ct,Ut)&&Ie(It,Ut,Ct[Ut]);if(ee)for(var Ut of ee(Ct))Ne.call(Ct,Ut)&&Ie(It,Ut,Ct[Ut]);return It};const He=It=>React.createElement("svg",ze({className:"e_svg__icon",width:200,height:200,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"M387.883 793.003A165.248 165.248 0 0 0 231.21 957.952c0 19.157 3.328 41.941 9.258 66.048H0V783.53c24.107 5.974 46.933 9.26 66.048 9.26a165.205 165.205 0 0 0 165.205-165.163 165.205 165.205 0 0 0-165.12-165.163c-19.2 0-41.984 3.285-66.09 9.216V231.253h240.469c-5.973-24.106-9.259-46.89-9.259-66.048A165.205 165.205 0 0 1 396.373 0v792.747z",fill:"#3061D0"}),React.createElement("path",{d:"M858.837 462.464c-19.157 0-41.941 3.285-66.048 9.216V231.253H552.32c5.93-24.106 9.216-46.89 9.216-66.048A165.205 165.205 0 0 0 396.416 0v792.747a165.205 165.205 0 0 1 165.12 165.205c0 19.157-3.285 41.941-9.216 66.048h240.47V783.53c24.106 5.974 46.89 9.26 66.047 9.26A165.205 165.205 0 0 0 1024 627.626a165.205 165.205 0 0 0-165.163-165.163z",fill:"#A4C8FC"}));var Je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM4Ny44ODMgNzkzLjAwM0ExNjUuMjQ4IDE2NS4yNDggMCAwIDAgMjMxLjIxIDk1Ny45NTJjMCAxOS4xNTcgMy4zMjggNDEuOTQxIDkuMjU4IDY2LjA0OEgwVjc4My41M2MyNC4xMDcgNS45NzQgNDYuOTMzIDkuMjYgNjYuMDQ4IDkuMjZhMTY1LjIwNSAxNjUuMjA1IDAgMCAwIDE2NS4yMDUtMTY1LjE2MyAxNjUuMjA1IDE2NS4yMDUgMCAwIDAtMTY1LjEyLTE2NS4xNjNjLTE5LjIgMC00MS45ODQgMy4yODUtNjYuMDkgOS4yMTZWMjMxLjI1M2gyNDAuNDY5Yy01Ljk3My0yNC4xMDYtOS4yNTktNDYuODktOS4yNTktNjYuMDQ4QTE2NS4yMDUgMTY1LjIwNSAwIDAgMSAzOTYuMzczIDB2NzkyLjc0N3oiIGZpbGw9IiMzMDYxRDAiLz48cGF0aCBkPSJNODU4LjgzNyA0NjIuNDY0Yy0xOS4xNTcgMC00MS45NDEgMy4yODUtNjYuMDQ4IDkuMjE2VjIzMS4yNTNINTUyLjMyYzUuOTMtMjQuMTA2IDkuMjE2LTQ2Ljg5IDkuMjE2LTY2LjA0OEExNjUuMjA1IDE2NS4yMDUgMCAwIDAgMzk2LjQxNiAwdjc5Mi43NDdhMTY1LjIwNSAxNjUuMjA1IDAgMCAxIDE2NS4xMiAxNjUuMjA1YzAgMTkuMTU3LTMuMjg1IDQxLjk0MS05LjIxNiA2Ni4wNDhoMjQwLjQ3Vjc4My41M2MyNC4xMDYgNS45NzQgNDYuODkgOS4yNiA2Ni4wNDcgOS4yNkExNjUuMjA1IDE2NS4yMDUgMCAwIDAgMTAyNCA2MjcuNjI2YTE2NS4yMDUgMTY1LjIwNSAwIDAgMC0xNjUuMTYzLTE2NS4xNjN6IiBmaWxsPSIjQTRDOEZDIi8+PC9zdmc+",Ke=Object.defineProperty,je=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Me=(It,Ct,Ut)=>Ct in It?Ke(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,Pe=(It,Ct)=>{for(var Ut in Ct||(Ct={}))_e.call(Ct,Ut)&&Me(It,Ut,Ct[Ut]);if(je)for(var Ut of je(Ct))Qe.call(Ct,Ut)&&Me(It,Ut,Ct[Ut]);return It};const Le=It=>React.createElement("svg",Pe({className:"g_svg__icon",width:200,height:200,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"M867.26 801.314c-66.56 79.292-160.802 120.9-261.36 129.775h-.306a221.082 221.082 0 0 1-14.541 1.058c-.41.103-.82.103-1.229.103-.41.443-1.365.443-1.74.443a511.386 511.386 0 0 1-155.854-16.862l-1.672-.443a312.422 312.422 0 0 1-17.033-4.915 271.599 271.599 0 0 1-15.906-5.018 30.106 30.106 0 0 0-2.15-.649c-7.748-2.662-15.36-5.53-22.904-8.533a375.02 375.02 0 0 1-18.432-7.68 525.005 525.005 0 0 1-113.083-65.946c-.922-.75-1.946-1.501-2.902-2.355a486.605 486.605 0 0 1-133.666-157.49c-146.773-276.48 40.38-490.156 210.364-500.498 3.72-.239 7.339-.341 10.923-.341h9.83c150.903-7.885 315.392 78.233 430.216 195.515 1.434 1.4 2.731 2.8 4.096 4.267 5.7 5.803 11.162 11.742 16.521 17.715C909.278 514.867 965.12 684.544 867.26 801.314",fill:"#FFD066"}),React.createElement("path",{d:"M222.413 807.697a487.902 487.902 0 0 1-105.267-122.47c4.983-175.343 36.215-364.544 100.42-392.807 65.707 288.598 52.77 442.095 4.847 515.277z",fill:"#E97286"}),React.createElement("path",{d:"m206.916 794.18-41.472-620.202c-1.024-14.95 4.028-29.696 13.995-40.96a57.21 57.21 0 0 1 39.185-19.115l515.994-33.894c31.436-2.048 58.607 21.504 60.689 52.633l46.523 695.876a362.12 362.12 0 0 1-133.222 80.828l-235.93 15.53a542.447 542.447 0 0 1-59.153-14.403 331.537 331.537 0 0 1-15.906-5.018 30.106 30.106 0 0 0-2.15-.683c-7.748-2.628-15.36-5.495-22.904-8.533-6.212-2.39-12.322-4.95-18.432-7.646a524.97 524.97 0 0 1-147.217-94.447v.034z",fill:"#7E4EE3"}),React.createElement("path",{d:"m199.031 171.964 551.424-38.707 52.088 731.238-538.385 25.77-65.16-718.301",fill:"#FFF"}),React.createElement("path",{d:"M236.1 818.79a491.69 491.69 0 0 1-111.889-122.197c9.011-81.237 44.715-127.522 79.394-172.544 16.282-21.163 32.359-41.984 45.364-66.048 49.937-92.501 108.544-87.962 13.004 97.963-16.042 31.334-9.08 59.597-1.297 91.204 11.06 44.578 23.689 95.778-24.576 171.622z",fill:"#F69C93"}),React.createElement("path",{d:"m689.562 339.388-231.936 21.265a15.292 15.292 0 0 1-16.657-13.722l-3.14-33.519a15.223 15.223 0 0 1 13.857-16.486l231.902-21.265a15.258 15.258 0 0 1 16.657 13.721l3.14 33.485a15.223 15.223 0 0 1-13.858 16.52zm18.022 189.167-237.875 15.599a14.54 14.54 0 0 1-15.497-13.449l-2.39-35.02a14.507 14.507 0 0 1 13.62-15.395l237.875-15.599a14.54 14.54 0 0 1 15.497 13.449l2.39 35.055a14.507 14.507 0 0 1-13.62 15.36zM486.741 746.359l239.138-20.002a14.165 14.165 0 0 0 9.626-4.949 13.926 13.926 0 0 0 3.277-10.24l-3.072-35.84a13.96 13.96 0 0 0-4.984-9.523 14.234 14.234 0 0 0-10.308-3.243L481.28 682.598a14.063 14.063 0 0 0-12.902 15.121l3.072 35.875c.682 7.714 7.509 13.414 15.291 12.765z",fill:"#D5CFE3"}),React.createElement("path",{d:"M380.587 351.778c0 29.355-23.996 53.112-53.59 53.112-29.627 0-53.623-23.757-53.623-53.112s23.996-53.111 53.59-53.111c29.627 0 53.657 23.79 53.657 53.111zm18.227 192.683c0 29.354-23.996 53.145-53.624 53.145a53.385 53.385 0 0 1-53.623-53.145c0-29.355 23.996-53.112 53.59-53.112 29.661 0 53.657 23.791 53.657 53.112zm-35.908 237.431c19.421.342 37.546-9.66 47.343-26.282a52.702 52.702 0 0 0 0-53.726 53.726 53.726 0 0 0-47.343-26.249 53.385 53.385 0 0 0-52.566 53.112c0 28.945 23.382 52.565 52.566 53.145z",fill:"#E7E1F4"}),React.createElement("path",{d:"M288.324 349.389c-7.885-8.977 10.684-23.552 20.446-12.63 1.843 2.083 3.516 4.335 5.154 6.486 7.032 9.216 12.766 16.725 21.64 1.877 10.992-18.33 42.667-56.456 51.747-64.717 9.08-8.294 38.298 1.058 21.948 20.583-16.384 19.558-45.568 56.832-54.409 70.895-8.875 14.028-21.845 24.098-36.727 7.134-14.78-16.965-29.799-29.594-29.799-29.594zm16.384 193.604c-8.772-8.09 8.124-24.576 18.978-14.677 2.048 1.843 3.96 3.89 5.803 5.87 8.021 8.432 14.507 15.292 21.777-.409 8.943-19.354 36.352-60.587 44.51-69.768 8.192-9.216 38.23-2.936 24.03 18.193-14.165 21.162-39.253 61.269-46.524 76.185-7.304 14.882-19.217 26.249-35.772 10.923-16.52-15.292-32.768-26.283-32.768-26.283zm37.308 171.486c-9.66-11.025-28.33 3.413-20.48 12.493 0 0 14.882 12.766 29.594 29.798 14.677 17.067 27.784 7.134 36.727-6.86 8.943-13.995 38.434-51.064 54.955-70.486 16.486-19.388-12.698-29.013-21.846-20.787-9.113 8.226-41.096 46.148-52.155 64.375-9.012 14.78-14.678 7.237-21.64-2.048a114.142 114.142 0 0 0-5.12-6.485z",fill:"#00C6CD"}),React.createElement("path",{d:"M569.924 67.174c-49.97-119.5-164.59-54.1-185.856 11.094-31.266 1.706-57.07 2.935-70.997 3.345h-.341c-6.52.239-18.432.58-26.044 8.772-19.354 20.821 6.28 73.66 21.265 100.932a1297.067 1297.067 0 0 0 349.15-23.176c17.34-57.583 21.709-110.148-21.709-105.882-11.4 1.16-35.362 2.902-65.468 4.915zm-91.75.308c-1.707 0-3.96.068-6.588.17-19.353.683-58.3 2.048-38.98-22.698 25.566-32.7 75.23-31.062 91.136-4.916 15.906 26.147-31.266 27.444-45.568 27.444z",fill:"#3D3450"}),React.createElement("path",{d:"M830.669 1019.085a173.431 173.431 0 0 0 149.948-85.743 170.155 170.155 0 0 0 0-171.52 173.431 173.431 0 0 0-149.948-85.777c-95.608 0-173.124 76.8-173.124 171.52 0 94.72 77.482 171.52 173.124 171.52z",fill:"#00C572"}),React.createElement("path",{d:"M919.552 769.434a21.777 21.777 0 0 1 36.181 10.513 21.3 21.3 0 0 1-6.45 20.65l-29.697-31.163zm-161.178 61.235 5.735 7.782c11.4 15.463 22.733 30.925 34.099 46.422A13499.972 13499.972 0 0 1 916.514 772.3l3.072-2.867 29.696 31.163-3.038 2.833-39.594 37.376a12901.717 12901.717 0 0 0-96.154 92.092 21.777 21.777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gtODUuNzQzIDE3MC4xNTUgMTcwLjE1NSAwIDAgMCAwLTE3MS41MiAxNzMuNDMxIDE3My40MzEgMCAwIDAtMTQ5Ljk0OC04NS43NzdjLTk1LjYwOCAwLTE3My4xMjQgNzYuOC0xNzMuMTI0IDE3MS41MiAwIDk0LjcyIDc3LjQ4MiAxNzEuNTIgMTczLjEyNCAxNzEuNTJ6IiBmaWxsPSIjMDBDNTcyIi8+PHBhdGggZD0iTTkxOS41NTIgNzY5LjQzNGEyMS43NzcgMjEuNzc3IDAgMCAxIDM2LjE4MSAxMC41MTMgMjEuMyAyMS4zIDAgMCAxLTYuNDUgMjAuNjVsLTI5LjY5Ny0zMS4xNjN6bS0xNjEuMTc4IDYxLjIzNSA1LjczNSA3Ljc4MmMxMS40IDE1LjQ2MyAyMi43MzMgMzAuOTI1IDM0LjA5OSA0Ni40MjJBMTM0OTkuOTcyIDEzNDk5Ljk3MiAwIDAgMSA5MTYuNTE0IDc3Mi4zbDMuMDcyLTIuODY3IDI5LjY5NiAzMS4xNjMtMy4wMzggMi44MzMtMzkuNTk0IDM3LjM3NmExMjkwMS43MTcgMTI5MDEuNzE3IDAgMCAwLTk2LjE1NCA5Mi4wOTIgMjEuNzc3IDIxLjc3NyAwIDAgMS0zMi42NjYtMi43OTkgMTM4MjEuNjIyIDEzODIxLjYyMiAwIDAgMC00OC42NzQtNjYuMzU1bC01LjczNC03Ljc0OCAzNC45NTItMjUuMjkzem0wIDBhMjEuNzc3IDIxLjc3NyAwIDAgMC0zMC4yNDItNC42NDIgMjEuMyAyMS4zIDAgMCAwLTQuNzEgMjkuOTM1bDM0Ljk1Mi0yNS4yNnoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=",nt=Object.defineProperty,re=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Se=(It,Ct,Ut)=>Ct in It?nt(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,St=(It,Ct)=>{for(var Ut in Ct||(Ct={}))ut.call(Ct,Ut)&&Se(It,Ut,Ct[Ut]);if(re)for(var Ut of re(Ct))Ze.call(Ct,Ut)&&Se(It,Ut,Ct[Ut]);return It};const tn=It=>React.createElement("svg",St({className:"h_svg__icon",width:200,height:200,viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},It),React.createElement("path",{d:"M931.294 166.775H536.439V856.27h394.855a24.235 24.235 0 0 0 24.44-24.371V192.102c0-14.063-10.343-25.327-24.44-25.327z",fill:"#FF8A65"}),React.createElement("path",{d:"M512 634.88h345.975v48.81H512v-48.81zm0 98.509h345.975v49.732H512V733.39zM660.548 290.61C578.765 290.611 512 357.205 512 438.818S578.765 587.06 660.548 587.06c81.784 0 148.514-66.628 148.514-148.24H660.548V290.61z",fill:"#FBE9E7"}),React.createElement("path",{d:"M709.427 240.879V389.12h148.548c0-81.647-66.764-148.241-148.548-148.241z",fill:"#FBE9E7"}),React.createElement("path",{d:"M586.274 955.733 68.267 857.225v-690.45l518.007-98.508z",fill:"#E64A19"}),React.createElement("path",{d:"M335.258 343.142H218.692v337.716h72.363V564.565h37.649c40.448 0 72.397-10.308 95.915-31.88 23.483-20.65 35.703-48.81 35.703-82.569 0-71.304-42.325-106.94-125.03-106.94zm-13.176 163.226H291.09V401.306h30.993c39.492 0 59.256 16.896 59.256 51.575 0 36.591-19.764 53.487-59.256 53.487z",fill:"#FFF"}));var gt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkzMS4yOTQgMTY2Ljc3NUg1MzYuNDM5Vjg1Ni4yN2gzOTQuODU1YTI0LjIzNSAyNC4yMzUgMCAwIDAgMjQuNDQtMjQuMzcxVjE5Mi4xMDJjMC0xNC4wNjM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=Object.defineProperty,qe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,ce=(It,Ct,Ut)=>Ct in It?Xe(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,pe=(It,Ct)=>{for(var Ut in Ct||(Ct={}))Ge.call(Ct,Ut)&&ce(It,Ut,Ct[Ut]);if(qe)for(var Ut of qe(Ct))ke.call(Ct,Ut)&&ce(It,Ut,Ct[Ut]);return It};const me=It=>React.createElement("svg",pe({className:"i_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},It),React.createElement("path",{d:"M800.29 955.733H223.71A155.614 155.614 0 0 1 68.267 800.29V223.71A155.614 155.614 0 0 1 223.71 68.267h576.58A155.614 155.614 0 0 1 955.733 223.71v576.58A155.614 155.614 0 0 1 800.29 955.733z",fill:"#3291FC"}),React.createElement("path",{d:"M311.125 729.43a87.04 87.04 0 0 0-37.137-28.57c-62.293-26.863-91.443-99.43-64.58-161.724 5.734-11.98 12.595-23.415 21.709-33.724 14.302-14.267 24.576-31.983 29.73-51.405 5.7-22.869 14.848-44.032 27.443-63.453a26.35 26.35 0 0 0 2.287-27.41c-5.154-11.434-9.728-23.45-13.722-34.303-6.28-17.135-10.308-33.724-34.85-35.977a39.083 39.083 0 0 1-27.989-47.445c3.413-21.163 21.129-37.137 42.837-38.298 22.29 1.16 40.005 19.456 41.131 41.711 0 16.043 8.021 20.582 18.295 27.99 25.157 22.869 62.874 24.03 89.703 2.867a248.559 248.559 0 0 1 241.732-3.414c5.12 2.867 9.728 6.28 9.148 12.561-1.127 6.28-6.28 11.435-12.561 11.435-13.722 2.287-27.443 3.413-41.165 5.734-55.979 5.12-107.998 31.403-145.135 73.148a161.041 161.041 0 0 0-42.871 121.72 164.045 164.045 0 0 0 58.88 114.858 53.248 53.248 0 0 1 21.162 72.022c-2.32 3.959-5.188 7.953-8.601 11.946-2.287 3.448-4.574 7.441-7.988 12.595 21.163 5.7 43.418 2.868 62.84-7.987a155.068 155.068 0 0 1 80.555-24.576 234.086 234.086 0 0 0 182.306-112.025c1.16-1.127 2.867-1.707 5.734-3.414a207.19 207.19 0 0 1-8.021 55.979 281.054 281.054 0 0 1-266.855 218.317h-7.987a269.824 269.824 0 0 1-216.03-109.159z",fill:"#AFE9FF"}),React.createElement("path",{d:"M596.855 521.42a69.222 69.222 0 0 1-20.002-48.57v-1.708c0-21.162 9.728-36.59 22.87-39.424 11.98-2.867 27.409 9.694 34.85 27.99a66.56 66.56 0 0 1 .58 54.272 22.87 22.87 0 0 1-20.002 14.882 25.6 25.6 0 0 1-17.75-8.021l-.546.58zm123.427-40.55a70.007 70.007 0 0 1-11.4-65.74c2.286-11.981 14.267-21.163 26.282-18.842a27.443 27.443 0 0 1 14.267 7.987c9.728 10.855 16.59 23.996 18.876 38.298l1.127 11.98c0 6.315-1.127 12.596-3.414 18.876a26.863 26.863 0 0 1-23.45 20.002 29.935 29.935 0 0 1-22.288-12.56z",fill:"#FFF"}));var we="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgwMC4yOSA5NTUuNzMzSDIyMy43MUExNTUuNjE0IDE1NS42MTQgMCAwIDEgNjguMjY3IDgwMC4yOVYyMjMuNzFBMTU1LjYxNCAxNTUuNjE0IDAgMCAxIDIyMy43MSA2OC4yNjdoNTc2LjU4QTE1NS42MTQgMTU1LjYxNCAwIDAgMSA5NTUuNzMzIDIyMy43MXY1NzYuNThBMTU1LjYxNCAxNTUuNjE0IDAgMCAxIDgwMC4yOSA5NTUuNzMzeiIgZmlsbD0iIzMyOTFGQyIvPjxwYXRoIGQ9Ik0zMTEuMTI1IDcyOS40M2E4Ny4wNCA4Ny4wNC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LjAwMiAyOS45MzUgMjkuOTM1IDAgMCAxLTIyLjI4OC0xMi41NnoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=",Ye=o.p+"static/am.0d671d8c.gif",bt=o(955),Dt=o(24065),jt=o(3294),Kt=o(85057),Ht=Object.defineProperty,Ft=Object.defineProperties,Gt=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Jt=(It,Ct,Ut)=>Ct in It?Ht(It,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):It[Ct]=Ut,un=(It,Ct)=>{for(var Ut in Ct||(Ct={}))$t.call(Ct,Ut)&&Jt(It,Ut,Ct[Ut]);if(Yt)for(var Ut of Yt(Ct))bn.call(Ct,Ut)&&Jt(It,Ut,Ct[Ut]);return It},mn=(It,Ct)=>Ft(It,Gt(Ct)),hn=(It,Ct,Ut)=>new Promise((xt,fn)=>{var cn=En=>{try{D(Ut.next(En))}catch(Pn){fn(Pn)}},ot=En=>{try{D(Ut.throw(En))}catch(Pn){fn(Pn)}},D=En=>En.done?xt(En.value):Promise.resolve(En.value).then(cn,ot);D((Ut=Ut.apply(It,Ct)).next())});const vn=({data:It,onFinish:Ct})=>a.createElement(J.Z,null,It.map((Ut,xt)=>a.createElement(Kt.op,{key:xt,style:{height:28},shape:"default",size:"small",onClick:()=>Ct(Ut)},Ut))),yn=({text:It="",onFinish:Ct})=>((0,a.useEffect)(()=>{It!=null&&It.includes("\u672C\u8F6E\u63D0\u95EE\u7ED3\u675F")&&Ct()},[It]),a.createElement(a.Fragment,null));var jn=({pageData:It,pageNum:Ct,aiImg:Ut,isCreator:xt,node:fn,showModelPage:cn,onModelPageChange:ot})=>{var D,En,Pn,Qt,An,_n,at,vt;const be=(0,Z.useParams)(),[wt,sn]=(0,a.useState)(!1),[Wt,dn]=(0,a.useState)(!1),[gn,zn]=(0,a.useState)(!0),Dn=(0,a.useRef)({}),xn=(0,a.useRef)(null);(0,a.useEffect)(()=>{var Cn;if(((Cn=It==null?void 0:It.page)==null?void 0:Cn.knowledge_need_answer)===!0){zn(!1);const{stream:rr,setLoading:fr,clearStatus:Zn,renderChatItems:On,setChatData:er,getData:$n}=Dn.current,vr=()=>hn(void 0,null,function*(){var Yn,ir;(ir=(Yn=rr.current)==null?void 0:Yn.cancelRequest)==null||ir.call(Yn),yield new Promise(kr=>setTimeout(kr,500)),Zn(),fr(!0);const Sr="\u4E3B\u52A8\u63D0\u95EE\u5F00\u59CB",Bn=On(Sr),Hn={history:[]};Bn[0].show=!1,er(Bn),$n(Sr,Hn)});return xn.current=setTimeout(vr,1e3),()=>{clearTimeout(xn.current)}}},[(D=It==null?void 0:It.page)==null?void 0:D.knowledge_need_answer]),(0,a.useEffect)(()=>{xt===!1&&cn&&ie.Z.publish("can-load-data",!1)},[xt,cn]);const Ln=[{key:1,name:"PPT\u5236\u4F5C",img:gt,des:"\u4E00\u53E5\u8BDD\u667A\u80FD\u751F\u6210PPT\u5927\u7EB2\uFF0C\u4F9D\u636E\u5927\u7EB2\u586B\u5145\u8BFE\u4EF6\u5185\u5BB9"},{key:2,name:"\u667A\u80FD\u52A8\u6548",img:nn,des:"\u8F93\u5165\u77E5\u8BC6\u70B9\u5185\u5BB9\uFF0C\u81EA\u52A8\u751F\u6210\u53EF\u7F16\u8F91\u7684\u6559\u5B66\u52A8\u6548\u4EE3\u7801"},{key:3,name:"\u6DFB\u52A0\u8BD5\u9898",img:Ue,des:"\u667A\u80FD\u51FA\u9898+\u9898\u5E93\u7CBE\u9009+\u81EA\u7531\u5EFA\u9898+\u62D3\u5C55\u8BAD\u7EC3\uFF0C\u6559\u5B66\u6D4B\u8BC4\u5168\u641E\u5B9A"},{key:4,name:"\u667A\u80FD\u95EE\u7B54",img:we,des:"\u901A\u8FC7\u667A\u80FD\u63A8\u8350+\u81EA\u5B9A\u4E49\u63D0\u95EE\u53CC\u6A21\u5F0F\uFF0C\u7CBE\u51C6\u68C0\u6D4B\u5B66\u4E60\u6210\u6548"}],Vn=[{key:4,name:"\u667A\u80FD\u51FA\u9898",img:ht},{key:1,name:"\u9898\u5E93\u9009\u9898",img:o(19773)},{key:2,name:"\u81EA\u4E3B\u5EFA\u9898",img:o(96058)},{key:3,name:"\u62D3\u5C55\u7EC3\u4E60",img:Je}],nr=!((En=It==null?void 0:It.item_banks)!=null&&En.length)&&!((Pn=It==null?void 0:It.page)!=null&&Pn.animation_code)&&!((An=(Qt=It==null?void 0:It.page)==null?void 0:Qt.smart_plan_page_knowledges)!=null&&An.length),hr=Cn=>{Dn.current=Cn;const{stream:rr,setTyping:fr,setLoading:Zn,clearStatus:On,renderChatItems:er,setChatData:$n,typing:vr,setCodePreview:Yn,getData:ir}=Cn,Sr=(Bn,Hn)=>{if(vr){G.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Zn(!0),On();const kr=er(Bn),Ir={file_ids:[],history:[]},Dr=Hn===2;Yn(Dr),kr[1].codePreview=Dr,Ir.code_preview=Dr,$n(kr),ir(Bn,Ir)};return a.createElement(a.Fragment,null,a.createElement("div",{className:xt?"mb30":"",style:{display:cn?"block":"none"}},a.createElement("div",{className:h.head},a.createElement("strong",{className:"font18 c-black mr10"},xt?" \u667A\u6167\u5907\u8BFE":"\u667A\u80FD\u52A9\u6559"),xt&&a.createElement(a.Fragment,null,a.createElement("b",null),a.createElement("span",{className:"font16 c-grey-333"},"\u8BFE\u4EF6\u79D2\u751F\u6210\xB7\u667A\u80FD\u7CBE\u51C6\u51FA\u9898\xB7\u52A8\u6548\u5B9A\u5236-\u5168\u6D41\u7A0B\u5907\u8BFE\u89E3\u51B3\u65B9\u6848")),!nr&&gn&&a.createElement("div",{className:h.btn,onClick:()=>{var Bn,Hn;(Hn=(Bn=rr.current)==null?void 0:Bn.cancelRequest)==null||Hn.call(Bn),On(),fr(!1),Zn(!1),$n([]),ot(!1),ie.Z.publish("can-load-data",!0)}},a.createElement("img",{width:14,src:De}),a.createElement("div",null,"\u8FD4\u56DE\u5B66\u4E60\u4E92\u52A8"))),xt&&a.createElement(a.Fragment,null,a.createElement("div",{className:h.center},a.createElement("div",{className:h.left},a.createElement(Q.Z,{align:"middle"},a.createElement("b",{className:"font16 c-grey-333 mr10"},"\u667A\u80FD\u5DE5\u5177")),a.createElement("div",{className:h.tool},Ln.map(Bn=>a.createElement("aside",{onClick:()=>{var Hn,kr;if(Bn.key===1){const Ir=`/IntelligentTools/10?pathid=${be.coursesId}&url=${window.location.origin}&name=${(kr=(Hn=(0,Dt.eY)())==null?void 0:Hn.course)==null?void 0:kr.course_name}&type=Course`;(0,bt.xg)(jt.Z.AI_PLATFORM_URL+Ir)}Bn.key===2&&Yn(!0),Bn.key===3&&sn(!0),Bn.key===4&&dn(!0)},key:Bn.name},a.createElement("img",{src:Bn.img,width:28}),a.createElement("div",{className:"ml10"},a.createElement("b",{className:"c-grey-333"},Bn.name),a.createElement("div",{className:"c-grey-666 mt5 font12"},Bn.des)))))),a.createElement("div",{className:h.right,onClick:()=>Sr(`\u751F\u6210\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u7684\u53EF\u89C6\u5316\u6F14\u793A\u8FC7\u7A0B\uFF0C\u5305\u542B\u5982\u4E0B\u6838\u5FC3\u5143\u7D20\uFF1A
1. **\u76F4\u89C2\u7684\u6570\u7EC4\u5C55\u793A**\uFF1A\u7528\u67F1\u72B6\u56FE\u5F62\u5F0F\u5C55\u793A\u6570\u7EC4\uFF0C\u9AD8\u5EA6\u4EE3\u8868\u6570\u503C\u5927\u5C0F
2. **\u9010\u6B65\u6267\u884C**\uFF1A\u53EF\u4EE5\u4E00\u6B65\u4E00\u6B65\u6267\u884C\u5FEB\u901F\u6392\u5E8F\u7684\u6BCF\u4E2A\u6B65\u9AA4
3. **\u81EA\u52A8\u64AD\u653E**\uFF1A\u81EA\u52A8\u9010\u6B65\u6267\u884C\u6392\u5E8F\u8FC7\u7A0B
4. **\u76F4\u63A5\u5B8C\u6210**\uFF1A\u4E00\u952E\u5B8C\u6210\u6574\u4E2A\u6392\u5E8F\u8FC7\u7A0B
5. **\u989C\u8272\u6807\u8BB0**\uFF1A\u7528\u4E0D\u540C\u989C\u8272\u6807\u8BB0\u6838\u5FC3\u8981\u7D20
6. **\u4EE3\u7801\u663E\u793A**\uFF1A\u663E\u793A\u5F53\u524D\u6B65\u9AA4\u5BF9\u5E94\u7684\u4EE3\u7801
7. **\u6587\u5B57\u89E3\u91CA**\uFF1A\u8BE6\u7EC6\u8BF4\u660E\u5F53\u524D\u6B65\u9AA4\u7684\u539F\u7406`,2)},a.createElement("b",{className:"c-grey-333"},"\u52A8\u6548\u751F\u6210"),a.createElement("div",{style:{width:120},className:"c-grey-666 mt10 font12"},"\u4E00\u952E\u751F\u6210\u77E5\u8BC6\u70B9\u52A8\u6548",a.createElement("br",null),"\u652F\u6301\u5D4C\u5165\u8BFE\u4EF6\u6F14\u793A"),a.createElement("div",{className:h.borderBox},a.createElement("img",{className:"w-full h-full",src:Ye})))),a.createElement("div",{className:h.try},a.createElement("div",{className:"c-grey-333 mt10"},"\u8BD5\u4E00\u8BD5"),a.createElement("div",{className:h.btns},["\u5E2E\u6211\u4F18\u5316\u4E00\u4E0B\u672C\u9875\u7684\u8BFE\u4EF6\u5185\u5BB9"].map((Bn,Hn)=>a.createElement("div",{key:Hn,onClick:()=>hn(void 0,null,function*(){return Sr(Bn,Hn)})},a.createElement("span",{className:"mr20"},Bn),a.createElement("i",{className:"iconfont icon-you2 font18"}))))))),a.createElement("div",{style:{display:cn?"none":"block"}},fn))},Kn=(Cn,rr)=>hn(void 0,null,function*(){var fr,Zn,On;const er=yield(0,C.ZP)(`/api/smart_plan_item_banks/${(fr=It==null?void 0:It.page)==null?void 0:fr.id}/animation_code.json`,{method:"put",body:{animation_code:Cn}});(er==null?void 0:er.status)===0&&(G.ZP.success("\u64CD\u4F5C\u6210\u529F"),ot(!1),(On=(Zn=Dn.current)==null?void 0:Zn.setChatData)==null||On.call(Zn,[]),ie.Z.publish("active-data-update",!0),rr())});return a.createElement(a.Fragment,null,a.createElement(ve,{data:un(mn(un({},It),{url:Ut==null?void 0:Ut.url,position:Ct}),be),visible:Wt,onOk:()=>{var Cn,rr;G.ZP.success("\u64CD\u4F5C\u6210\u529F"),dn(!1),ot(!1),(rr=(Cn=Dn.current)==null?void 0:Cn.setChatData)==null||rr.call(Cn,[]),ie.Z.publish("active-data-update",!0)},onClose:()=>dn(!1)}),a.createElement(j.default,{open:wt,title:"\u6DFB\u52A0\u8BD5\u9898",centered:!0,onCancel:()=>sn(!1),footer:null,width:640},a.createElement("div",{className:"c-grey-333"},"\u667A\u80FD\u51FA\u9898+\u9898\u5E93\u7CBE\u9009+\u81EA\u7531\u5EFA\u9898+\u62D3\u5C55\u8BAD\u7EC3\uFF0C\u6559\u5B66\u6D4B\u8BC4\u5168\u641E\u5B9A"),a.createElement("div",{className:h.add,style:{marginBottom:"20px"}},Vn.map(Cn=>a.createElement("div",{onClick:()=>{ie.Z.publish("active-modal-index",Cn.key),sn(!1)}},a.createElement("img",{width:18,src:Cn.img}),a.createElement("aside",{className:"ml10"},Cn.name))))),a.createElement(y.Z,{showSource:!1,showSwitchingModel:!1,onDynamic:Kn,ReactComponent:_,hideInputBox:xt?!1:!((_n=It==null?void 0:It.page)!=null&&_n.enable_ai_tutor||(at=It==null?void 0:It.page)!=null&&at.knowledge_need_answer),onSendMessage:()=>ot(!0),showCodePreview:xt,topFunctionNode:Cn=>hr(Cn),footerContainerStyle:{marginLeft:20,marginBottom:20},placeholder:xt?"\u8F7B\u70B9\u6B64\u5904\uFF0C\u7ACB\u5373\u4F7F\u7528\u667A\u6167\u5907\u8BFE\u5DE5\u5177/\u6DFB\u52A0\u8BD5\u9898~":void 0,children:null,extraAnswerAction:(Cn,rr,fr)=>{var Zn;if(gn)return a.createElement(a.Fragment,null);const{isDisAbledUpload:On,getData:er,clearStatus:$n,setLoading:vr,setChatData:Yn,chatData:ir,renderChatItems:Sr}=fr,Bn=Hn=>{$n(),vr(!0),Yn([...ir,...Sr(Hn)]),er(Hn)};return a.createElement("div",{style:{marginRight:"auto",display:On||rr<ir.length-1?"none":"block"}},((Zn=Cn==null?void 0:Cn.text)==null?void 0:Zn.includes("\u5224\u65AD\u9898"))&&a.createElement(vn,{data:["\u6B63\u786E","\u9519\u8BEF"],onFinish:Bn}),a.createElement(yn,{text:Cn==null?void 0:Cn.text,onFinish:()=>{zn(!0)}}))},headNode:!xt&&cn&&a.createElement(a.Fragment,null,a.createElement("div",{className:"c-grey-333 font22"},a.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u4F60\u7684\u4E13\u5C5E\u667A\u80FD\u5B66\u4E60\u52A9\u624B\u3002"),a.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},a.createElement("span",null,"\u6211\u80FD\u6DF1\u5EA6\u89E3\u6790\u8BFE\u4EF6\u91CD\u70B9\uFF0C\u52A9\u4F60\u638C\u63E1\u6838\u5FC3\u6982\u5FF5\uFF1B\u5FEB\u901F\u62C6\u89E3\u9898\u5E72\uFF0C\u5B9A\u4F4D\u95EE\u9898\u5E76\u63D0\u4F9B\u4F18\u5316\u65B9\u6848\u3002\u4F60\u53EF\u4EE5\u968F\u65F6\u63D0\u95EE\uFF0C\u8BA9\u5B66\u4E60\u6548\u7387\u7FFB\u500D\uFF01"))),showDefaultTips:!xt&&cn,fetchData:{questionable_type:xt?"SmartPlan":"SmartPlanItemBank",ppt_url:Ut==null?void 0:Ut.url,questionable_id:xt?be==null?void 0:be.id:(vt=It==null?void 0:It.page)==null?void 0:vt.id,position:Ct,type:xt?10:11,is_chat:!0},title:"\u667A\u80FD\u52A9\u6559",fetchUrl:"/api/stream/course_qna_records/chat_messages.json",chatContainerStyle:{paddingLeft:20}}))}},19909:function(k,p,o){"use strict";o.d(p,{Z:function(){return _e}});var a=o(59301),y=o(30641),T=o(6767),b=o(14566),_=o(62957),h=o(25399),j=o(37568),G=o(99571),u=o(29787),Q=o(584),U=o(93725),v=o(75727),I=o(92310),C=o.n(I),P=o(43276),X={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},V=o(59301),z=(Qe,Me,Pe)=>new Promise((Le,ht)=>{var nt=Ze=>{try{ut(Pe.next(Ze))}catch(Se){ht(Se)}},re=Ze=>{try{ut(Pe.throw(Ze))}catch(Se){ht(Se)}},ut=Ze=>Ze.done?Le(Ze.value):Promise.resolve(Ze.value).then(nt,re);ut((Pe=Pe.apply(Qe,Me)).next())}),F=({value:Qe="",streamingStatus:Me,onFinish:Pe,cancelIndex:Le,time:ht,loading:nt,loadAll:re})=>{const[ut,Ze]=(0,a.useState)(""),[Se,St]=(0,a.useState)(!0),tn=(0,a.useRef)(Qe),gt=(0,a.useRef)(Me),Xe=(0,a.useRef)(0),qe=(0,a.useRef)(null),[Ge,ke]=(0,a.useState)(!1),ce=70;(0,a.useEffect)(()=>{gt.current=Me},[Me]),(0,a.useEffect)(()=>{tn.current=Qe},[Qe]),(0,a.useEffect)(()=>{if(!Me){Ze(tn.current);return}return ke(!0),qe.current=setInterval(pe,ce),()=>{clearInterval(qe.current)}},[]),(0,a.useEffect)(()=>{Ge&&(Ze(tn.current),clearInterval(qe.current),ke(!1),Pe())},[Le]);const pe=()=>z(void 0,null,function*(){const me=tn.current[Xe.current];me!==void 0?(Ze(we=>we+me),Xe.current++,clearInterval(qe.current),qe.current=setInterval(pe,280/(tn.current.length-Xe.current))):gt.current===!1&&(Ze(tn.current),clearInterval(qe.current),ke(!1),Pe())});return V.createElement("div",{className:`${X.reasoning} fadeIn animated`},V.createElement("div",{className:X.btn,onClick:()=>St(!Se)},V.createElement("i",{className:"iconfont icon-shendusikao"}),ht?V.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",ht," \u79D2\uFF09"):V.createElement("span",null,"\u601D\u8003\u4E2D..."),Se?V.createElement("b",{className:"iconfont icon-shouqi6"}):V.createElement("b",{className:"iconfont icon-zhankai6"})),nt&&V.createElement(u.Z,{spinning:!0,className:"mt20"}),Se&&!nt&&V.createElement("div",{className:X.content},ut,Ge?V.createElement("span",{className:"aiBlink"},"__"):""))},B={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},W=o(77736),H=Object.defineProperty,le=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,Ee=(Qe,Me,Pe)=>Me in Qe?H(Qe,Me,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Qe[Me]=Pe,he=(Qe,Me)=>{for(var Pe in Me||(Me={}))te.call(Me,Pe)&&Ee(Qe,Pe,Me[Pe]);if(le)for(var Pe of le(Me))se.call(Me,Pe)&&Ee(Qe,Pe,Me[Pe]);return Qe};const ve=Qe=>React.createElement("svg",he({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Qe),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var J="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Z=Object.defineProperty,ie=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ae=(Qe,Me,Pe)=>Me in Qe?Z(Qe,Me,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Qe[Me]=Pe,w=(Qe,Me)=>{for(var Pe in Me||(Me={}))ue.call(Me,Pe)&&ae(Qe,Pe,Me[Pe]);if(ie)for(var Pe of ie(Me))fe.call(Me,Pe)&&ae(Qe,Pe,Me[Pe]);return Qe};const L=Qe=>React.createElement("svg",w({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Qe),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var oe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0x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I2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",M=o(59301),Fe=({value:Qe,onChange:Me})=>{const[Pe,Le]=(0,a.useState)(!1),ht=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:J},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:oe}],nt=ht.find(re=>re.key===Qe);return M.createElement("div",{className:B.select},M.createElement(W.Z,{size:10},M.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),M.createElement("div",{className:B.box,onMouseLeave:()=>Le(!1)},M.createElement("div",{className:B.text,onClick:()=>Le(!0)},M.createElement("img",{src:nt.img,width:20}),M.createElement("span",null,nt.name),M.createElement("b",{className:"iconfont icon-zhankai6"})),Pe&&M.createElement("div",{className:B.itemWrap},M.createElement("aside",null,ht.map(re=>M.createElement("div",{key:re.key,className:`${B.item} ${re.key===Qe?B.active:""}`,onClick:ut=>{ut.stopPropagation(),Me(re.key),Le(!1)}},M.createElement("img",{src:re.img,width:20}),M.createElement("span",null,re.name))))))))},Re={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},dt=o(99064),st=o(955),it={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj",extraNode:"extraNode___tnBrt"},zt=({src:Qe,onClick:Me,topPercentage:Pe=.62,draggableExtraNode:Le})=>{const ht=(0,a.useRef)(null),nt=(0,a.useRef)(!1),re=(0,a.useRef)(!1),[ut,Ze]=(0,a.useState)(window.innerHeight*Pe),[Se,St]=(0,a.useState)(!1),tn=10;return(0,a.useEffect)(()=>{if(ht.current){let gt=function(ce){var pe;nt.current=!0,ke=ce.pageY,Ge=ce.pageY-(((pe=ht.current)==null?void 0:pe.getBoundingClientRect().top)||0),(0,st.kk)("none"),document.onselectstart=function(){return!1}},Xe=function(){nt.current&&!re.current&&Me&&Me(),nt.current=!1,re.current=!1,(0,st.kk)("auto"),document.onselectstart=null},qe=function(ce){var pe;if(nt.current){const we=ce.pageY-Ge,Ye=window.innerHeight-(((pe=ht.current)==null?void 0:pe.offsetHeight)||0)-50,bt=50;if(!re.current&&Math.abs(ke-ce.pageY)>tn&&(re.current=!0),re.current){let Dt=Math.max(bt,Math.min(we,Ye));Ze(Dt)}}},Ge=0,ke=0;return ht.current.addEventListener("mousedown",gt),document.addEventListener("mousemove",qe),document.addEventListener("mouseup",Xe),()=>{var ce,pe;(pe=(ce=ht==null?void 0:ht.current)==null?void 0:ce.removeEventListener)==null||pe.call(ce,"mousedown",gt),document.removeEventListener("mousemove",qe),document.removeEventListener("mouseup",Xe)}}},[Me]),(0,a.useEffect)(()=>{const gt=()=>{Ze(window.innerHeight*Pe)};return window.addEventListener("resize",gt),()=>{window.removeEventListener("resize",gt)}},[Pe]),a.createElement("div",{className:it.draggableImage,style:{top:`${ut}px`,display:Se?"none":"block",cursor:nt.current?"grabbing":"grab"},ref:ht},Le&&a.createElement("div",{className:it.extraNode,onMouseUp:gt=>gt.stopPropagation(),onMouseDownCapture:gt=>gt.stopPropagation()},Le),a.createElement("img",{className:it.img,src:Qe,width:60,draggable:"false"}),a.createElement("i",{className:`iconfont icon-tupianguanbi ${it.close}`,onMouseUp:gt=>{gt.stopPropagation(),St(!0)}}))},nn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJ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GWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",rn=o(3294),rt=o(56102),tt=o(24544),Be=o(58617),Oe=o(32050),Ue=Object.defineProperty,$e=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,ze=(Qe,Me,Pe)=>Me in Qe?Ue(Qe,Me,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Qe[Me]=Pe,He=(Qe,Me)=>{for(var Pe in Me||(Me={}))Ne.call(Me,Pe)&&ze(Qe,Pe,Me[Pe]);if(ye)for(var Pe of ye(Me))Ie.call(Me,Pe)&&ze(Qe,Pe,Me[Pe]);return Qe},Je=(Qe,Me)=>$e(Qe,ee(Me)),Ke=(Qe,Me,Pe)=>new Promise((Le,ht)=>{var nt=Ze=>{try{ut(Pe.next(Ze))}catch(Se){ht(Se)}},re=Ze=>{try{ut(Pe.throw(Ze))}catch(Se){ht(Se)}},ut=Ze=>Ze.done?Le(Ze.value):Promise.resolve(Ze.value).then(nt,re);ut((Pe=Pe.apply(Qe,Me)).next())}),_e=({title:Qe="\u5934\u6B4CAI",placeholder:Me,hideUpload:Pe,hideInputBox:Le,aiIcon:ht=nn,userIcon:nt=Mt,dragIcon:re=en,children:ut,fetchUrl:Ze,fetchData:Se={},extraAnswerAction:St,showDefaultTips:tn=!0,onOpen:gt,onClose:Xe,loadingOption:qe,showPreference:Ge=!1,initMessage:ke,customRequest:ce,visible:pe,width:me=1200,isCheckRestrictNumber:we=!1,headNode:Ye,headFunctionNode:bt,showRedraw:Dt,showEdit:jt,promptPropName:Kt="prompt",topPercentage:Ht,showSwitchingModel:Ft=!1,showImageGenerator:Gt=!1,showLookHistory:Yt=!1,fetchListObject:$t,customPreference:bn,customDataNode:Jt,showAddSession:un,historyId:mn,draggableExtraNode:hn,drawerExtraNode:vn,menuExtraFunctionNode:yn,showSceneAwareness:Gn=!1,ReactComponent:jn=y.Z,topFunctionNode:It,footerContainerStyle:Ct,chatContainerStyle:Ut={},showCodePreview:xt=!1,showSource:fn=!0,onSendMessage:cn,onDynamic:ot=()=>{}})=>{var D,En;const[Pn,Qt]=(0,a.useState)(!1),[An,_n]=(0,a.useState)("qwen-max"),[at,vt]=(0,a.useState)([]),[be,wt]=(0,a.useState)([]),[sn,Wt]=(0,a.useState)(!1),[dn,gn]=(0,a.useState)(!1),[zn,Dn]=(0,a.useState)(!1),[xn,Ln]=(0,a.useState)([]),[Vn,nr]=(0,a.useState)(""),[hr,Kn]=(0,a.useState)(0),[Cn,rr]=(0,a.useState)(void 0),[fr,Zn]=(0,a.useState)(!1),[On,er]=(0,a.useState)(null),[$n,vr]=(0,a.useState)(""),Yn=(0,a.useRef)(),ir=(0,a.useRef)(null),Sr=(0,a.useRef)(null),[Bn,Hn]=(0,a.useState)(!1),[kr,Ir]=(0,a.useState)(!1),[Dr,si]=(0,a.useState)(!1),[Nr,fi]=(0,a.useState)(!1),[Lr,wi]=(0,a.useState)(!1),[ji,vi]=(0,a.useState)(0),Ai=(0,a.useRef)(null),Di=(0,a.useRef)(!1),ti=(0,a.useRef)(null),[Qr,xi]=(0,a.useState)(void 0),[zi,Mi]=(0,a.useState)(!0),[wr,Ni]=(0,a.useState)(me-28),[hi,Ei]=(0,a.useState)(!1),[pi,Xn]=(0,a.useState)(!0),[ki,Pi]=(0,a.useState)([]),Hi=(0,a.useRef)([]),Gi=(0,a.useRef)(null),Xi=(0,a.useRef)(null),Yi=(0,a.useRef)(!1),Qi=wr-22,Rr=Vn==null?void 0:Vn.split(`
`).length,{onAdd:ft,onGetList:Fi,onListClick:aa,onListDelete:ta,onListDealData:$i}=$t||{},Ji=50,Li=10,Bi={maxCount:Ji,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:at,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:Nt=>Ke(void 0,null,function*(){var Mn,Jn,ar,xr;const ur=(xr=(ar=(Jn=(Mn=Nt==null?void 0:Nt.name)==null?void 0:Mn.split("."))==null?void 0:Jn.slice(-1))==null?void 0:ar[0])==null?void 0:xr.toLowerCase(),li=["doc","docx","md","pdf","txt","xlsx","xls"].includes(ur);return Nt.size==0?(T.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),b.default.LIST_IGNORE):li?Nt.size/1024/1024>100?(T.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),b.default.LIST_IGNORE):!0:(T.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),b.default.LIST_IGNORE)}),onChange:({fileList:Nt})=>{vt(Nt)},action:`${(D=rn.Z)==null?void 0:D.API_SERVER}/api/intelligent_imports/upload_file.json`},gi={maxCount:Li,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:be,multiple:!0,accept:".jpg,.png,",beforeUpload:Nt=>{var Mn,Jn,ar,xr;const ur=(xr=(ar=(Jn=(Mn=Nt==null?void 0:Nt.name)==null?void 0:Mn.split("."))==null?void 0:Jn.slice(-1))==null?void 0:ar[0])==null?void 0:xr.toLowerCase(),li=["jpg","png"].includes(ur);return Nt.size==0?(T.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),b.default.LIST_IGNORE):li?Nt.size/1024/1024>10?(T.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),b.default.LIST_IGNORE):!0:(T.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),b.default.LIST_IGNORE)},onChange:({fileList:Nt})=>{wt(Nt)},action:`${(En=rn.Z)==null?void 0:En.API_SERVER}/api/ai/generals/update_file.json`};(0,a.useEffect)(()=>{if(!xn.length||!Yn.current)return;const Nt=xn[xn.length-1];Nt!=null&&Nt.loading&&(Yn.current.scrollTop=Yn.current.scrollHeight)},[xn.length]),(0,a.useEffect)(()=>{if(!Yn.current||!Ai.current)return;const Nt=new IntersectionObserver(([Mn])=>{Mi(Mn.isIntersecting)},{root:Yn.current,rootMargin:"70px",threshold:0});return Nt.observe(Ai.current),()=>{Ai.current&&Nt.unobserve(Ai.current)}},[Yn.current,Ai.current]),(0,a.useEffect)(()=>{if(!Bn)return;const Nt=Yn.current,Mn=ti.current;Di.current=!1;let Jn=Nt.scrollTop;const ar=()=>{const{scrollTop:ur,scrollHeight:Br,clientHeight:li}=Nt;ur>Jn?ur+li>=Br-50&&(Nt.scrollTop=Nt.scrollHeight,Di.current=!1):ur<Jn&&(Di.current=!0),Jn=ur};Nt.addEventListener("scroll",ar);const xr=new ResizeObserver(()=>{Di.current||(Nt.scrollTop=Nt.scrollHeight)});return xr.observe(Mn),()=>{var ur;xr.unobserve(Mn),(ur=Nt==null?void 0:Nt.removeEventListener)==null||ur.call(Nt,"scroll",ar)}},[Bn]),(0,a.useEffect)(()=>{!Bn&&Hi.current.length&&(Ln([...xn,...Hi.current]),Hi.current=[])},[Bn]),(0,a.useEffect)(()=>{if(!Yn.current)return;const Nt=new ResizeObserver(()=>{var Mn;Yn.current&&Ni((Mn=Yn.current)==null?void 0:Mn.offsetWidth)});return Nt.observe(Yn.current),()=>{Yn.current&&Nt.unobserve(Yn.current)}},[Yn.current]),(0,a.useEffect)(()=>{typeof pe=="boolean"&&Qt(pe)},[pe]),(0,a.useEffect)(()=>{var Nt;if(ir.current&&On!==null){ir.current.focus();const Mn=(Nt=ir.current.resizableTextArea)==null?void 0:Nt.textArea;Mn&&(Mn.selectionStart=Mn.selectionEnd=Mn.value.length)}},[On]),(0,a.useEffect)(()=>{Rr<5&&Zn(!1)},[Rr]),(0,a.useEffect)(()=>{Pn&&ke&&(Ln(bi(ke)),Wt(!0),Ti(ke,{history:[]})),Pn&&(pr(),mn?oa(mn):un&&!Qr&&_i()),Pn||Jr()},[Pn]);const bi=(Nt="",Mn=[],Jn=[])=>{const ar=Date.now();return[{text:Nt,key:ar,sender:"user",fileList:Mn,imageList:Jn,show:!0},{loading:!0,key:ar,sender:"AI",show:!0,model:An,imageGenerator:Nr,thinkingEnabled:kr,codePreview:Dr}]},Jr=()=>{vr(""),er(null),vt([]),wt([]),nr("")},Ui=()=>{if(gt){gt({chatData:xn,setChatData:Ln,setLoading:Wt,getData:Ti,renderChatItems:bi,handleAdd:_i,identifier:Qr});return}Qt(!0)},Yr=()=>{if(Xn(!0),Xe){Xe();return}Qt(!1)},Zr=()=>{Zn(!fr)},pr=()=>Ke(void 0,null,function*(){if(!we)return;const Nt=yield(0,dt.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Nt==null?void 0:Nt.status)===0&&(Nt==null?void 0:Nt.total_number)!==-1&&(Kn((Nt==null?void 0:Nt.total_number)-(Nt==null?void 0:Nt.remaining_number)),rr(Nt==null?void 0:Nt.total_number))}),qr=()=>{_.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:a.createElement("div",null,a.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),a.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",Cn,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Ki=Nt=>Nt.reduce((Jn,ar)=>{if(ar.sender==="user"){const xr=Nt.find(ur=>ur.key===ar.key&&ur.sender==="AI");xr&&(xr!=null&&xr.text)&&!(xr!=null&&xr.error)&&Jn.push({question:ar.text,answer:xr.text})}return Jn},[]),Ti=(...Nt)=>Ke(void 0,[...Nt],function*(Mn="",Jn={},ar=xn){if(ce&&(yield ce({mes:Mn,setChatData:Ln,fileList:at,body:Jn,checkNum:pr,setLoading:Wt,bodyChatData:ar,setTyping:Hn,setImageGenerator:fi,renderChatItems:bi})),!ce){const xr=at==null?void 0:at.map(ui=>{var Oi;return(Oi=ui==null?void 0:ui.response)==null?void 0:Oi.file_id}),ur=be==null?void 0:be.map(ui=>{var Oi;return(Oi=ui==null?void 0:ui.response)==null?void 0:Oi.data}),Br=Jn.history||Ki(ar),li=He(He({identifier:Qr,response_mode:"streaming",model:An,scene_awareness:Lr,thinking_enabled:kr,image_generator:Nr,code_preview:Dr,file_ids:xr,image_list:ur,history:Br,[Kt]:Mn},Se),Jn),Ci=Object.fromEntries(Object.entries(li).filter(([ui,Oi])=>Oi!==void 0));Sr.current=new tt.Z(rn.Z.API_SERVER+Ze,Ci),yield new Promise((ui,Oi)=>{let va=null,Fa=null;Sr.current.on("data",la=>{Hn(!0);const{chunk:{content:Aa,type:Da,created:ua,msg:Ta}}=la,Qa=Ta==="error";Da==="thinking"&&(va=va||ua,Ln(Na=>[...Na].map((ca,La)=>La===Na.length-1?Je(He({},ca),{reasoning:(ca.reasoning||"")+Aa,loading:!1,hideAnswer:!0,error:Qa}):ca))),Da==="text"&&(Fa=Fa||ua,Ln(Na=>[...Na].map((ca,La)=>La===Na.length-1?Je(He({},ca),{text:(ca.text||"")+Aa,loading:!1,startTime:va,endTime:Fa,error:Qa}):ca)))}),Sr.current.on("done",()=>{ui()}),Sr.current.on("error",la=>{let Aa="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(la)==="[object Object]"&&la.status===-9&&(Aa=la==null?void 0:la.message),Ln(Da=>[...Da].map((ua,Ta)=>Ta===Da.length-1?Je(He({},ua),{text:Aa,loading:!1,error:!0}):ua)),ui()}),Sr.current.on("cancelled",()=>{ui()}),Sr.current.startStream()})}pr(),Wt(!1)}),Ea=Nt=>{nr(Nt.target.value)},qi=(Nt,Mn)=>{if(Jr(),Wt(!0),Nt==="edit"){Hi.current=xn.slice(Mn+2);const Jn=xn.splice(Mn),{fileList:ar=[],imageList:xr=[]}=(Jn==null?void 0:Jn[0])||{},ur=ar.map(Ci=>{var ui;return(ui=Ci.response)==null?void 0:ui.file_id}),Br=xr.map(Ci=>{var ui;return(ui=Ci.response)==null?void 0:ui.data}),li={history:Ki(xn),file_ids:ur,image_list:Br,edit:!0};Ln([...xn,...bi($n,ar,xr)]),Ti($n,li,xn)}if(Nt==="redraw"){Hi.current=xn.slice(Mn+1);const Jn=xn.splice(Mn-1),{text:ar,fileList:xr=[],imageList:ur=[]}=(Jn==null?void 0:Jn[0])||{},Br=xr.map(ui=>{var Oi;return(Oi=ui.response)==null?void 0:Oi.file_id}),li=ur.map(ui=>{var Oi;return(Oi=ui.response)==null?void 0:Oi.data}),Ci={history:Ki(xn),file_ids:Br,image_list:li,edit:!0};Ln([...xn,...bi(ar,xr,ur)]),Ti(ar,Ci,xn)}},Rn=()=>{if(Vn.trim()!==""){Jr(),Wt(!0);const Nt=at.filter(Jn=>Jn.status==="done"),Mn=be.filter(Jn=>Jn.status==="done");Ln([...xn,...bi(Vn,Nt,Mn)]),Ti(Vn)}},qn=Nt=>{if(Nt.shiftKey){if(Nt.key==="Enter")return}else if(Nt.key==="Enter"){if(Nt.preventDefault(),Ri||Yi.current)return;Rn()}},Gr=(Nt,Mn)=>{let Jn=!1;jt===!0?Jn=!0:jt==="last"&&(Jn=xn.reduce((Br,li,Ci)=>li.sender==="user"?Ci:Br,-1)===Mn);const ar=Mn===On,xr=[...(Nt==null?void 0:Nt.fileList)||[],...(Nt==null?void 0:Nt.imageList)||[]];return a.createElement("div",{className:Re.li,style:He({width:Qi},Ut)},a.createElement("div",{className:Re.avatarIcon},a.createElement("img",{className:Re.img,src:nt})),a.createElement("div",{className:Re.content},!!(xr!=null&&xr.length)&&a.createElement("div",{className:Re.fileWrap},xr==null?void 0:xr.map((ur,Br)=>{var li,Ci;return a.createElement("div",{key:Br,className:Re.file},a.createElement("img",{src:o(90034)(`./${((Ci=(li=ur==null?void 0:ur.name)==null?void 0:li.split("."))==null?void 0:Ci.pop())||"txt"}.png`),width:20,className:"mr10"}),a.createElement("aside",null,a.createElement(h.Z,{title:ur==null?void 0:ur.name},a.createElement("div",{className:Re.fileName},ur==null?void 0:ur.name)),a.createElement("div",{className:"c-grey-999 font12"},(0,st.RD)(ur==null?void 0:ur.size))))})),a.createElement("div",{className:Re.borderBox},ar?a.createElement(j.default.TextArea,{value:$n,ref:ir,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ur=>vr(ur.target.value)}):a.createElement("div",{className:Re.text},Nt==null?void 0:Nt.text)),ar?a.createElement("div",{className:Re.action},a.createElement(G.ZP,{onClick:()=>{vr(""),er(null)},size:"small"},"\u53D6\u6D88"),a.createElement(G.ZP,{disabled:!$n.trim(),onClick:()=>qi("edit",Mn),type:"primary",size:"small"},"\u786E\u8BA4")):a.createElement("div",{className:Re.action},a.createElement(rt.CopyToClipboard,{text:(Nt==null?void 0:Nt.text)||"",onCopy:()=>T.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement(h.Z,{title:"\u590D\u5236"},a.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Jn&&!sn&&a.createElement(h.Z,{title:"\u7F16\u8F91"},a.createElement("i",{onClick:()=>{er(Mn),vr((Nt==null?void 0:Nt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Vr=(Nt,Mn)=>{let Jn=!1;Dt===!0?Jn=!0:Dt==="last"&&(Jn=xn.reduce((ur,Br,li)=>Br.sender==="AI"?li:ur,-1)===Mn);let ar="";return Nt!=null&&Nt.source?ar=Nt==null?void 0:Nt.source:(Nt==null?void 0:Nt.model)==="deepseek-r1"?ar="\u7531deepseek\u751F\u6210":(Nt==null?void 0:Nt.model)==="qwen-max"&&(ar="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),a.createElement("div",{className:Re.li,style:He({width:Qi},Ut)},a.createElement("div",{className:Re.avatarIcon},a.createElement("img",{className:Re.img,src:ht})),a.createElement("div",{className:Re.content},a.createElement("div",{className:Re.borderBox},Nt.loading&&a.createElement(a.Fragment,null,Nt!=null&&Nt.imageGenerator?a.createElement("div",{className:Re.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",a.createElement("div",{className:"ai-loading"})):!(Nt!=null&&Nt.thinkingEnabled)&&a.createElement("div",null,a.createElement("div",{className:Re.loading},a.createElement("div",{className:Re.dot}),a.createElement("div",{className:Re.dot}),a.createElement("div",{className:Re.dot})),a.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(qe==null?void 0:qe.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Nt==null?void 0:Nt.thinkingEnabled)&&a.createElement(F,{time:Nt==null?void 0:Nt.time,cancelIndex:ji,loading:Nt.loading,streamingStatus:!(Nt!=null&&Nt.text),onFinish:()=>{vi(0),Ln(xr=>[...xr].map((ur,Br)=>Br===xr.length-1?Je(He({},ur),{hideAnswer:!1,time:ur.startTime?ur.endTime-ur.startTime:null}):ur))},value:Nt==null?void 0:Nt.reasoning}),!!(Nt!=null&&Nt.text)&&!Nt.hideAnswer&&a.createElement(P.Z,{onDynamic:ot,cancelIndex:ji,streamingStatus:sn,loadImage:!!(Nt!=null&&Nt.imageGenerator),onFinish:()=>Ke(void 0,null,function*(){vi(0),setTimeout(()=>Hn(!1),0)}),value:Nt==null?void 0:Nt.text})),fn&&!!(Nt!=null&&Nt.text)&&ar&&a.createElement("div",{className:Re.source},ar),a.createElement("div",{className:Re.action},St==null?void 0:St(Nt,Mn,ea),!(Nt!=null&&Nt.imageGenerator)&&a.createElement(rt.CopyToClipboard,{text:String((Nt==null?void 0:Nt.text)||""),onCopy:()=>T.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},a.createElement(h.Z,{title:"\u590D\u5236"},a.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Ge&&!sn&&a.createElement(a.Fragment,null,a.createElement(h.Z,{title:"\u559C\u6B22"},a.createElement("i",{style:Nt!=null&&Nt.like?{color:"#FA8D30"}:{},onClick:()=>gr("like",!(Nt!=null&&Nt.like),Mn),className:"iconfot icon-yijiejue font15"})),a.createElement(h.Z,{title:"\u4E0D\u559C\u6B22"},a.createElement("i",{style:Nt!=null&&Nt.dislike?{color:"#e86d7c"}:{},onClick:()=>gr("dislike",!(Nt!=null&&Nt.dislike),Mn),className:"iconfot icon-weijiejuezhengchang font15"}))),Jn&&!sn&&a.createElement(h.Z,{title:"\u91CD\u65B0\u751F\u6210"},a.createElement("i",{onClick:()=>qi("redraw",Mn),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},gr=(Nt,Mn,Jn)=>Ke(void 0,null,function*(){if(bn){const ar=xn.slice(0,Jn+1),ur=Ki(ar).length;yield bn({type:Nt,value:Mn,index:Jn,identifier:Qr,objectIndex:ur})}Ln(ar=>(ar[Jn][Nt]=Mn,Mn&&(ar[Jn][Nt==="like"?"dislike":"like"]=!1),[...ar]))}),sa=()=>{var Nt,Mn;vi(1),(Mn=(Nt=Sr.current)==null?void 0:Nt.cancelRequest)==null||Mn.call(Nt),Wt(!1),Hn(!1)},_i=()=>Ke(void 0,null,function*(){var Nt,Mn,Jn;(Mn=(Nt=Sr.current)==null?void 0:Nt.cancelRequest)==null||Mn.call(Nt),Jr(),Ln([]),Wt(!0);const ar=yield ft();(ar==null?void 0:ar.status)===0&&xi((Jn=ar==null?void 0:ar.data)==null?void 0:Jn.identifier),Wt(!1),Hn(!1)}),oi=()=>Ke(void 0,null,function*(){var Nt;Dn(!0);const Mn=yield Fi();(Mn==null?void 0:Mn.status)===0&&Pi(((Nt=Mn==null?void 0:Mn.data)==null?void 0:Nt.list)||[]),Dn(!1)}),oa=(...Nt)=>Ke(void 0,[...Nt],function*(Mn=Qr){var Jn,ar,xr,ur;(ar=(Jn=Sr.current)==null?void 0:Jn.cancelRequest)==null||ar.call(Jn),Jr(),gn(!0);const Br=yield aa(Mn);if(Br.status===0){const li=$i(((xr=Br==null?void 0:Br.data)==null?void 0:xr.messages)||[]);Ln(li),gn(!1),xi((ur=Br==null?void 0:Br.data)==null?void 0:ur.identifier);return}Ln([]),gn(!1)}),Pa=(Nt,Mn)=>Ke(void 0,null,function*(){(yield ta(Nt)).status===0&&(T.ZP.success("\u5220\u9664\u6210\u529F"),Mn===Qr&&_i(),oi())}),wa=()=>a.createElement("div",{className:Re.menuWarp},a.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),a.createElement(u.Z,{spinning:zn},!ki.length&&a.createElement(Q.Z,{style:{width:250,paddingBottom:30},image:Q.Z.PRESENTED_IMAGE_SIMPLE}),!!ki.length&&a.createElement("div",{className:Re.menu},ki.map(function(Nt,Mn){return a.createElement("aside",{className:C()(Qr===Nt.identifier&&Re.active),key:Nt.id,onClick:()=>oa(Nt.id)},a.createElement("div",{className:Re.menuText},a.createElement(h.Z,{title:Nt==null?void 0:Nt.question},a.createElement("span",null,Nt==null?void 0:Nt.question)),yn&&yn(Nt)),a.createElement("div",{className:Re.menuDel,onClick:Jn=>Jn.stopPropagation()},a.createElement(U.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>Pa(Nt.id,Nt.identifier),okText:"\u786E\u8BA4",zIndex:1100,cancelText:"\u53D6\u6D88"},a.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),ba=Nt=>{if(Nt==="file"){if(be.length){_.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u56FE\u7247\uFF0C\u4E0A\u4F20\u6587\u4EF6\u540E\u56FE\u7247\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{wt([]),Gi.current.upload.uploader.fileInput.click()}});return}Gi.current.upload.uploader.fileInput.click()}if(Nt==="image"){if(at.length){_.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u6587\u4EF6\uFF0C\u4E0A\u4F20\u56FE\u7247\u540E\u6587\u4EF6\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{vt([]),Xi.current.upload.uploader.fileInput.click()}});return}Xi.current.upload.uploader.fileInput.click()}},Wa=[{key:"file",disabled:at.length>=Ji,label:a.createElement(h.Z,{placement:"right",title:a.createElement("div",null,a.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),a.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-fujian3 font14 mr5"}),"\u4E0A\u4F20\u6587\u6863"))},An!=="deepseek-r1"&&{key:"image",disabled:be.length>=Li,label:a.createElement(h.Z,{placement:"right",title:"\u652F\u6301\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247\uFF0C\u6700\u591A10\u4E2A"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-tupianshangchuan font14 mr5"}),"\u4E0A\u4F20\u56FE\u7247"))}].filter(Boolean),ya=[...at,...be],Ri=ya.some(Nt=>Nt.status==="uploading")||sn||Bn,na=hr>=Cn,Ka=Pe||at.length>=Ji||be.length>=Li,za=Nr||kr||Lr||Dr||!!ya.length,ea={chatData:xn,stream:Sr,isDisabledNum:na,isDisAbledUpload:Ri,checkNumModal:qr,checkNum:pr,onClose:Yr,setChatData:Ln,setLoading:Wt,getData:Ti,clearStatus:Jr,typing:Bn,setImageGenerator:fi,renderChatItems:bi,setSceneAwareness:wi,setIdentifier:xi,setCodePreview:si,setTyping:Hn,onMenuClick:oa};return a.createElement(a.Fragment,null,ut?a.createElement("div",{onClick:Ui},ut):ut!==null&&a.createElement(zt,{draggableExtraNode:hn,src:re,onClick:Ui,topPercentage:Ht}),a.createElement(jn,{open:Pn,width:hi?"100%":me,afterOpenChange:Nt=>{Nt&&Xn(!1)},push:!1,contentWrapperStyle:pi?{}:{transition:"none"},extra:a.createElement("div",{className:Re.head},vn,Ft&&a.createElement(Fe,{value:An,onChange:Nt=>{Ir(!1),fi(!1),_n(Nt),wt([]),vt([])}}),Yt&&a.createElement(a.Fragment,null,a.createElement(v.Z,{dropdownRender:wa,onOpenChange:Nt=>{Nt&&oi()},placement:"bottomLeft",arrow:!0},a.createElement("div",{className:Re.headBtn},a.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),un&&a.createElement(a.Fragment,null,a.createElement("div",{className:Re.headBtn,onClick:_i},a.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),a.createElement(h.Z,{title:hi?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},a.createElement("div",{className:Re.headBtn,style:{padding:"0 12px"},onClick:()=>Ei(!hi)},hi&&a.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!hi&&a.createElement("i",{className:"iconfont icon-quanping4"})))),title:a.createElement("span",{className:"c-grey-333 font16"},Qe),onClose:Yr,bodyStyle:{paddingRight:4}},a.createElement("div",{className:C()(Re.wrap,Pn&&"body-overflow-hidden")},a.createElement("div",{ref:Yn,className:Re.chatContainer},It==null?void 0:It(ea),tn&&a.createElement("div",{className:`${Re.li} mb20`,style:He({width:Qi},Ut)},a.createElement("div",{className:Re.avatarIcon},a.createElement("img",{className:Re.img,src:ht})),a.createElement("div",{className:Re.content},a.createElement("div",{className:Re.borderBox},Ye,bt==null?void 0:bt(ea)))),a.createElement("div",{ref:ti},a.createElement(u.Z,{spinning:dn,className:"mt20"},xn==null?void 0:xn.map((Nt,Mn)=>a.createElement(a.Fragment,{key:Nt.key+Mn},Nt.show&&a.createElement(a.Fragment,null,Nt.sender==="user"&&Gr(Nt,Mn),Nt.sender==="AI"&&Vr(Nt,Mn),Jt&&!["AI","user"].includes(Nt.sender)&&Jt(Nt,Mn,{width:Qi})))))),!zi&&a.createElement("div",{className:Re.backBottom,onClick:()=>{Yn.current.scrollTop=Yn.current.scrollHeight}},a.createElement("i",{className:"iconfont icon-huidaodibu"})),a.createElement("div",{ref:Ai})),!Le&&a.createElement("div",{style:Ct,className:C()(Re.footerContainer,fr&&Re.full,za&&Re.footerContainerSelected)},a.createElement("div",{className:Re.btnWrp},xt&&a.createElement(h.Z,{title:"\u66F4\u64C5\u957F\u5904\u7406\u4EE3\u7801\u95EE\u9898\uFF0C\u652F\u6301\u4E00\u53E5\u8BDD\u751F\u6210\u5E94\u7528"},a.createElement("div",{onClick:()=>si(!Dr),className:C()(Re.btn,Dr&&Re.btnActive)},a.createElement("i",{className:"iconfont icon-daimamoshi1 mr10 font12"}),"\u4EE3\u7801\u6A21\u5F0F")),Gn&&a.createElement(h.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},a.createElement("div",{onClick:()=>wi(!Lr),className:C()(Re.btn,Lr&&Re.btnActive)},a.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),An==="deepseek-r1"&&a.createElement(h.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},a.createElement("div",{onClick:()=>Ir(!kr),className:C()(Re.btn,kr&&Re.btnActive)},a.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),Gt&&An==="qwen-max"&&a.createElement("div",{onClick:()=>fi(!Nr),className:C()(Re.btn,Nr&&Re.btnActive)},a.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),ya.map(Nt=>a.createElement("div",{key:Nt.uid},(Nt==null?void 0:Nt.status)==="uploading"&&a.createElement(u.Z,{indicator:a.createElement(Be.Z,{rev:"",spin:!0}),className:"mr10",size:"small",spinning:!0}),a.createElement("span",{title:Nt==null?void 0:Nt.name,className:"mr10"},(0,st.Pq)(Nt.name,20)),a.createElement("i",{onClick:()=>{vt(Mn=>Mn.filter(Jn=>Jn.uid!==Nt.uid)),wt(Mn=>Mn.filter(Jn=>Jn.uid!==Nt.uid))},className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),a.createElement(h.Z,{title:na&&a.createElement("div",null,a.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),a.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",Cn,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},a.createElement("div",{className:C()(Re.inputContainer,Rr>4&&Re.lineFour,na&&Re.disabledInput)},a.createElement(b.default,He({ref:Gi},Bi)),a.createElement(b.default,He({ref:Xi},gi)),a.createElement(v.Z,{className:`${Ka&&"hide"}`,menu:{items:Wa,onClick:Nt=>ba(Nt.key)},placement:"top"},a.createElement(G.ZP,{className:Re.uploadBtn,icon:a.createElement(Oe.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})})),a.createElement(j.default.TextArea,{rows:Rr>4?4:Rr,placeholder:Me||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u95EE\u9898\u5427\uFF0CShift+Enter\u6362\u884C\uFF5E",value:Vn,bordered:!1,style:Ka?{paddingLeft:0,marginLeft:0}:{},onChange:Ea,onPressEnter:qn,onFocus:()=>cn==null?void 0:cn(),onCompositionStart:()=>{Yi.current=!0},onCompositionEnd:()=>{Yi.current=!1}}),Bn?a.createElement(h.Z,{title:"\u505C\u6B62\u751F\u6210"},a.createElement("div",{className:`iconfont icon-tingzhihuida ${Re.cancelBtn}`,onClick:sa})):a.createElement(G.ZP,{className:(Vn==null?void 0:Vn.trim())===""?Re.sendBtnDisabled:Re.sendBtn,icon:a.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Ri,onClick:Rn}),Rr>4&&a.createElement("span",{className:Re.fullIcon,onClick:Zr},fr&&a.createElement("span",{className:"iconfont icon-shousuo"}),!fr&&a.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},8797:function(k,p,o){"use strict";var a=o(59301),y=o(93314),T=o(99571),b=Object.defineProperty,_=Object.defineProperties,h=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,Q=(C,P,X)=>P in C?b(C,P,{enumerable:!0,configurable:!0,writable:!0,value:X}):C[P]=X,U=(C,P)=>{for(var X in P||(P={}))G.call(P,X)&&Q(C,X,P[X]);if(j)for(var X of j(P))u.call(P,X)&&Q(C,X,P[X]);return C},v=(C,P)=>_(C,h(P));const I=({img:C,buttonProps:P={},styles:X={},customText:V,ButtonText:z,ButtonClick:N,Buttonclass:F,ButtonTwo:B,imgStyles:W,loading:H=!1,className:le=""})=>a.createElement("section",{className:`tc animated fadeIn ${le}`,style:U({color:"#999",margin:"100px auto",visibility:H?"hidden":"visible"},X)},a.createElement("img",{src:C||y,style:v(U({},W),{pointerEvents:"none",userSelect:"none"})}),a.createElement("p",{className:"mt20 font14"},V||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),z&&a.createElement(T.ZP,U({className:F,onClick:N},P),z),B&&B);p.Z=I},23210:function(k,p,o){"use strict";o.d(p,{Z:function(){return F}});var a=o(59301),y={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},T=o(99571),b=o(70557),_=o(23954),h=o(25399),j=o(955),G=o(94941),u=o(8797),Q=o(3294),U=o(19381),v=o(59301),I=Object.defineProperty,C=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,V=(B,W,H)=>W in B?I(B,W,{enumerable:!0,configurable:!0,writable:!0,value:H}):B[W]=H,z=(B,W)=>{for(var H in W||(W={}))P.call(W,H)&&V(B,H,W[H]);if(C)for(var H of C(W))X.call(W,H)&&V(B,H,W[H]);return B},N=(B,W,H)=>new Promise((le,te)=>{var se=ve=>{try{he(H.next(ve))}catch(J){te(J)}},Ee=ve=>{try{he(H.throw(ve))}catch(J){te(J)}},he=ve=>ve.done?le(ve.value):Promise.resolve(ve.value).then(se,Ee);he((H=H.apply(B,W)).next())}),F=({editOffice:B="view",data:W,theme:H,type:le,filename:te,monacoEditor:se,className:Ee,style:he,close:ve,onClose:J,hasMask:Z,disabledDownload:ie,onImgDimensions:ue,showNodata:fe,recordInfo:ae})=>{const[w,L]=(0,a.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[oe,M]=(0,a.useState)(""),[De,Fe]=(0,a.useState)(),Re=window.ENV==="build"?"/react/build":"",dt=location.host.startsWith("localhost")?Q.Z.PROXY_SERVER:Q.Z.API_SERVER,it=10*(1024*1024),lt=(0,a.useRef)();W!=null&&W.startsWith("/api")&&le!=="txt"&&(W=Q.Z.API_SERVER+W);const zt=rn=>rn.substring(rn.lastIndexOf("/")+1).split(".").pop();te&&se&&(se.filename=te),(0,a.useEffect)(()=>{var rn,rt;const tt=(rt=(rn=document.cookie)==null?void 0:rn.replace(/\s/g,""))==null?void 0:rt.split(";");tt==null||tt.map(Be=>{let Oe=Be.split("=");Oe[0]==="_educoder_session"&&M(Oe[1])})},[]),(0,a.useEffect)(()=>{le==="office"&&(W.indexOf("bigfilescdn.")>-1||W.indexOf("bigfiles1")>-1?Fe({url:W,fileType:zt(W),model:W.indexOf("model=edit")?"edit":"view"}):nn())},[le,W]);const nn=()=>N(void 0,null,function*(){console.log("data:",W);let rn=W;W.startsWith("http")||(rn=location.origin+rn);let rt=new URL(rn).pathname.split("/").pop();const tt=yield(0,G.gJ)({attachment_id:rt});tt.url=dt+tt.url,Fe(tt)}),Mt=()=>{if(W.startsWith("http")||W.startsWith("blob:")){en();return}(0,j.Sv)(te||"educoder",W,te)},en=()=>{ae&&(0,U.fc)({id:ae==null?void 0:ae.id,watch_type:1,course_id:ae==null?void 0:ae.course_id}),(0,j.Nd)(te||"educoder",decodeURIComponent(W))};return v.createElement("div",{style:z({},he||{}),className:`${Z&&y.bgBlack} ${le?y.wrp:"hide"}`},ve&&v.createElement("div",{className:y.close,ref:lt},!!ue&&v.createElement(h.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>lt.current},v.createElement("span",{onClick:()=>{J(),ue()}},v.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&v.createElement(h.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>lt.current},v.createElement("span",{onClick:en},v.createElement("i",{className:"icon-quxiaozhiding"}))),v.createElement(h.Z,{title:"\u5173\u95ED",getPopupContainer:()=>lt.current},v.createElement("span",{className:"",onClick:J},v.createElement("i",{className:"icon-guanbi1"})))),v.createElement("div",{className:`${y[Ee]} ${Ee} ${y.monaco} ${le==="txt"?"show":"hide"}`},le==="txt"&&v.createElement(v.Fragment,null,v.createElement(_.ZP,z({},se)))),le==="audio"&&v.createElement("audio",{src:`${(W==null?void 0:W.indexOf("http://"))>-1||(W==null?void 0:W.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${W}`,autoPlay:!0}),le==="video"&&v.createElement(v.Fragment,null,(W==null?void 0:W.indexOf("http"))>-1?v.createElement("video",{controls:!0,src:`${W}`,autoPlay:!0}):v.createElement("video",{controls:!0,src:`data:video/mp4;base64,${W}`,autoPlay:!0})),le==="office"&&De&&v.createElement("iframe",{src:`${Re}/office.html?key=${De.key}&url=${btoa(De.url)}&callbackUrl=${dt+(De.callbackUrl||"")}&fileType=${De.fileType}&title=${De.title||""}&model=${B}&officeServer=${Q.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),le==="html"&&v.createElement("iframe",{src:W+"&disposition=inline"}),le==="pdf"&&v.createElement("iframe",{src:`${Re}/js/pdfview/index.html?filename=${te||"educoder.pdf"}&url=${encodeURIComponent(W)}&disabledDownload=${!!ie}`}),le==="image"&&v.createElement("img",{src:`${(W==null?void 0:W.indexOf("http://"))>-1||(W==null?void 0:W.indexOf("https://"))>-1?"":"data:image/png;base64,"}${W}`}),(le==="other"||le==="download")&&v.createElement(v.Fragment,null,fe?v.createElement(u.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:v.createElement(T.ZP,{icon:v.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Mt,disabled:ie},"\u4E0B\u8F7D")}):v.createElement(T.ZP,{type:"primary",size:"middle",onClick:Mt,disabled:ie},v.createElement(b.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(k,p,o){"use strict";o.d(p,{z:function(){return le},Z:function(){return te}});var a=o(59301),y=o(50304),T=o(24768),b=o(64018),_=o(79710),h=o(3294),j=o(955),G=o(15342),u=o(1012),Q=o(23210),U=o(59301),I=({html:se})=>{const Ee=(0,a.useRef)(null),he=(0,a.useRef)(null),ve=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 36px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,a.useEffect)(()=>{const J=Ee.current.attachShadow({mode:"open"});he.current=document.createElement("div"),he.current.className="markdown-body",he.current.innerHTML=se,J.appendChild(he.current);const Z=document.createElement("style");return Z.textContent=ve,J.appendChild(Z),()=>{J.innerHTML=""}},[]),(0,a.useEffect)(()=>{he.current&&(he.current.innerHTML=se)},[se]),U.createElement("div",{ref:Ee})},C=Object.defineProperty,P=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,z=(se,Ee,he)=>Ee in se?C(se,Ee,{enumerable:!0,configurable:!0,writable:!0,value:he}):se[Ee]=he,N=(se,Ee)=>{for(var he in Ee||(Ee={}))X.call(Ee,he)&&z(se,he,Ee[he]);if(P)for(var he of P(Ee))V.call(Ee,he)&&z(se,he,Ee[he]);return se};const F="@\u2581\u2581@",B="@\u2581@",W=/<pre[^>]*>/g;function H(se){let Ee=document.createElement("div");return Ee.innerHTML=se,Ee.childNodes.length===0?"":Ee.childNodes[0].nodeValue}const le=(se,Ee)=>{se=se||"";const he=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ve=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Z=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Ee?se.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(he,(ie,ue,fe,ae,w,L,oe)=>{const M=ue||ae||L,De=fe||w||oe||"?";return h.Z.API_SERVER+"/api/attachments/"+M+De+"&t="+(0,j.Jn)(M,Date.now())+(ie.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(se=se.replace(Z,(ie,ue,fe,ae,w,L,oe)=>{const M=ue||ae||L,De=fe||w||oe||"?";return h.Z.API_SERVER+"/attachments/download/"+M+De+"&t="+(0,j.Jn)(M,Date.now())+(ie.indexOf(")")>-1?")":"&")}).replace(he,(ie,ue,fe,ae,w,L,oe)=>{const M=ue||ae||L,De=fe||w||oe||"?";return h.Z.API_SERVER+"/api/attachments/"+M+De+"&t="+(0,j.Jn)(M,Date.now())+(ie.indexOf(")")>-1?")":"&")}).replace(ve,(ie,ue,fe,ae,w)=>{const L=ue||ae,oe=fe||w||"";return'"'+h.Z.API_SERVER+"/api/attachments/"+L+oe+L+oe+"&t="+(0,j.Jn)(L,Date.now())}).replace(J,(ie,ue,fe,ae,w)=>{const L=ue||ae,oe=fe||w||"";return"("+h.Z.API_SERVER+"/files/uploads/"+L+oe+L+oe+"&t="+(0,j.Jn)(L,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),se)};var te=({value:se="",className:Ee,showTextOnly:he,showLines:ve,style:J={},stylesPrev:Z={},highlightKeywords:ie,showProgramFill:ue,isProgramFill:fe,disabledFill:ae=!1,programFillValue:w,onFillChange:L=De=>{},onFillBlur:oe=()=>{},onFillFocus:M=()=>{}})=>{let De=String(se);const[Fe,Re]=(0,a.useState)(""),[dt,st]=(0,a.useState)("office"),[it,lt]=(0,a.useState)([]),zt=(0,a.useRef)("a"+(0,u.Z)()),nn={},Mt=(Ie,ze,He)=>{const Je=document.createElement(Ie===B?"input":"textarea");Je.style.width="100%",Je.style.height=Ie===B?"40px":"151px",Je.rows=5,Je.spellcheck=!1,Je.name="edu-program-fill",Je.placeholder="\u8BF7\u8F93\u5165",Je.dataset.id=ze;const Ke=Object.keys(nn).length;return nn[Ke]=Je,`<span class="edu-program-fill-wrap ${Ie===B?"":"show"}" style="width:${Ie===B?"400px":"100%"}" title=${He||""}><span>${Je.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function en(Ie){return Ie=Ie.replace(/!\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(/\[.*?\]\(.*?\)/g,""),Ie=Ie.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ie=Ie.replace(/<embed.*?>/g,""),Ie=Ie.replace(/<img.*?>/g,""),Ie=Ie.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ie=Ie.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ie=Ie.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ie=Ie.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ie}const rn=Ie=>Ie.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(ze,He){let Je=He.replace(/(\n|\r)/g,"").split("}"),Ke=[];return Je.map(je=>{je!=""&&Ke.push(`.${zt.current} ${je}`)}),`<style>${Ke.join("}")}</style>`}),rt=(0,a.useMemo)(()=>{try{const Je=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ke=/\"\/api\/attachments\/|\"\/attachments\/download\//g,je=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,_e=/\(\/attachments\/download\//g;De=De.replace(_e,"("+h.Z.API_SERVER+"/attachments/download/").replace(Je,"("+h.Z.API_SERVER+"/api/attachments/").replace(Ke,'"'+h.Z.API_SERVER+"/api/attachments/").replace(je,'"'+h.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(Je){}if(ue){let Je=-1;return De=De.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Ke,je,_e){var Qe;return++Je,Mt(Ke,Je,(Qe=w==null?void 0:w[Je])==null?void 0:Qe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${rn(De||"")}</pre>`}let Ie=rn(De);Ie=(0,T.ZP)(Ie);const ze=(0,T.ez)();De.match(/\[TOC\]/)&&(Ie=Ie.replace("<p>[TOC]</p>",(0,T.Qv)()),(0,T.Iy)()),Ie=Ie.replace(/(__special_katext_id_\d+__)/g,(Je,Ke)=>{const{type:je,expression:_e}=ze[Ke];return(0,G.renderToString)(H(_e)||"",{displayMode:je==="block",throwOnError:!1,output:"html"})}),Ie=Ie.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,T.AL)();const He=document.createElement("div");if(He.innerHTML=Ie,he)return He.innerText;if(ie){const Je=ie.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ue(He,Je),He.innerHTML}return setTimeout(()=>ye(),500),He.innerHTML},[De,ie]);(0,a.useEffect)(()=>{$e.current&&$e.current.querySelectorAll(["input","textarea"]).forEach(ze=>{ze.oninput=tt,ze.onblur=Be,ze.onfocus=Oe})},[it]),(0,a.useEffect)(()=>{var Ie,ze,He,Je,Ke;if(w!=null&&w.length)try{const je=$e.current.querySelectorAll(".edu-program-fill-score"),_e=$e.current.querySelectorAll('[name="edu-program-fill"]');for(const[Qe,Me]of _e.entries())Me.value=((Ie=w==null?void 0:w[Qe])==null?void 0:Ie.value)||"",((ze=w==null?void 0:w[Qe])==null?void 0:ze.type)==="warning"?Me.className="program-fill-warning":((He=w==null?void 0:w[Qe])==null?void 0:He.type)==="success"?Me.className="program-fill-success":Me.className="";for(const[Qe,Me]of je.entries())Me.innerHTML=(Je=w==null?void 0:w[Qe])!=null&&Je.score?`${(Ke=w==null?void 0:w[Qe])==null?void 0:Ke.score}\u5206`:"";lt(w)}catch(je){console.log(je,"error")}},[w]);const tt=Ie=>{it[Ie.target.dataset.id]=it[Ie.target.dataset.id]||{},it[Ie.target.dataset.id].value=Ie.target.value,lt([...it]),L(it,Ie.target.dataset.id)},Be=Ie=>{it[Ie.target.dataset.id]=it[Ie.target.dataset.id]||{},it[Ie.target.dataset.id].value=Ie.target.value,lt([...it]),oe(it,Ie.target.dataset.id)},Oe=Ie=>{it[Ie.target.dataset.id]=it[Ie.target.dataset.id]||{},it[Ie.target.dataset.id].value=Ie.target.value,lt([...it]),M(it,Ie.target.dataset.id)};function Ue(Ie,ze){return Ie.childNodes.forEach(He=>{var Je;if(He.childNodes.length>0)Ue(He,ze);else if(He.nodeName!=="IMG")if(He.innerHTML)He.innerHTML=(Je=He.innerHTML)==null?void 0:Je.replace(new RegExp(ze,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Ke=document.createElement("span");Ke.innerHTML=He.textContent.replace(new RegExp(ze,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),He.replaceWith(Ke)}})}const $e=(0,a.useRef)();T.jb.WebkitLineClamp=ve,ve&&(J=N(N({},J),T.jb));function ee(Ie){let ze=Ie.target;if(ze.tagName.toUpperCase()==="A"){let He=ze.getAttribute("href");if(He.indexOf("office")>-1)Ie.preventDefault(),Re(He),st("office");else if(He.indexOf("application/pdf")>-1)Ie.preventDefault(),Re(He),st("pdf");else if(He.indexOf("text/html")>-1)Ie.preventDefault(),Re(He),st("html");else if(He.startsWith("#")){Ie.preventDefault();let Je=document.getElementById(He.replace("#",""));Je&&Je.scrollIntoView(!0)}}}const ye=()=>{var Ie;const ze=(Ie=$e.current)==null?void 0:Ie.querySelectorAll("video");ze==null||ze.forEach(He=>{if(He.oncontextmenu=()=>!1,He.src.indexOf(".m3u8")>-1&&!He.canPlayType("application/vnd.apple.mpegurl")){if(_.ZP.isSupported()){var Je=new _.ZP;Je.loadSource(He.src),Je.attachMedia(He)}}})};(0,a.useEffect)(()=>{if($e.current&&rt&&rt.match(W)&&window.PR.prettyPrint(),$e.current)return $e.current.addEventListener("click",ee),()=>{var Ie;(Ie=$e.current)==null||Ie.removeEventListener("click",ee),(0,T.AL)(),(0,T.Iy)()}},[rt,$e.current,ee]),(0,a.useEffect)(()=>{var Ie;const ze=He=>{He.preventDefault(),He.clipboardData.setData("text",window.getSelection().toString())};return(Ie=$e.current)==null||Ie.addEventListener("copy",ze),()=>{var He;(He=$e.current)==null||He.removeEventListener("copy",ze)}},[$e.current]);const Ne=Ie=>/<style[\s\S]*?>/i.test(Ie||"");return a.createElement(a.Fragment,null,he&&a.createElement("div",{ref:$e},rt),!he&&!Ne(rt)&&a.createElement("div",{ref:$e,style:N({},J),className:`${Ee||""} ${ae?"disabled-fill":""} markdown-body ${zt.current}`,dangerouslySetInnerHTML:{__html:rt}}),!he&&Ne(rt)&&a.createElement(I,{html:rt}),a.createElement(Q.Z,{close:!0,data:Fe,type:Fe!=null&&Fe.length?dt:"",style:N({},Z),onClose:()=>Re("")}))}},23954:function(k,p,o){"use strict";o.d(p,{SV:function(){return $e},ZP:function(){return Ue}});var a=o(59301),y=o(76374);const T={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},b={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},_={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},h={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},j={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var G=o(53184),u=o.n(G),Q=Object.defineProperty,U=Object.defineProperties,v=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,X=(ee,ye,Ne)=>ye in ee?Q(ee,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ee[ye]=Ne,V=(ee,ye)=>{for(var Ne in ye||(ye={}))C.call(ye,Ne)&&X(ee,Ne,ye[Ne]);if(I)for(var Ne of I(ye))P.call(ye,Ne)&&X(ee,Ne,ye[Ne]);return ee},z=(ee,ye)=>U(ee,v(ye)),N=(ee,ye,Ne)=>new Promise((Ie,ze)=>{var He=je=>{try{Ke(Ne.next(je))}catch(_e){ze(_e)}},Je=je=>{try{Ke(Ne.throw(je))}catch(_e){ze(_e)}},Ke=je=>je.done?Ie(je.value):Promise.resolve(je.value).then(He,Je);Ke((Ne=Ne.apply(ee,ye)).next())});const F={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},B=(ee,ye)=>ye.map(Ne=>({label:Ne,kind:ee.languages.CompletionItemKind.Keyword,insertText:Ne})),W=ee=>Object.keys(F.tables).map(ye=>({label:ye,kind:ee.languages.CompletionItemKind.Variable,insertText:ye})),H=(ee,ye)=>{const Ne=F.tables[ee];return Ne?Ne.map(Ie=>({label:Ie,kind:ye.languages.CompletionItemKind.Field,insertText:Ie})):[]};function le(ee,ye,Ne,Ie,ze){let He=ye.getWordUntilPosition(Ne),Je={startLineNumber:Ne.lineNumber,endLineNumber:Ne.lineNumber,startColumn:He.startColumn,endColumn:He.endColumn},Ke=Ie.map(je=>({label:je,kind:ee.languages.CompletionItemKind.Keyword,insertText:je,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Je}));return ze.map(je=>{Ke.push(z(V({},je),{range:Je}))}),Ke}var te=ee=>{F.languages.map(ze=>(ee.languages.registerDocumentFormattingEditProvider(ze,{provideDocumentFormattingEdits(He,Je,Ke){return N(this,null,function*(){const je=u()(He.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:He.getFullModelRange(),text:je}]})}}),ze));const ye=_.quickKey.map(ze=>({label:ze.label,kind:ee.languages.CompletionItemKind.Method,insertText:ze.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ne=h.quickKey.map(ze=>({label:ze.label,kind:ee.languages.CompletionItemKind.Method,insertText:ze.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ie=b.quickKey.map(ze=>({label:ze.label,kind:ee.languages.CompletionItemKind.Method,insertText:ze.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ee.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(ze,He){var Je=ze.getWordUntilPosition(He),Ke={startLineNumber:He.lineNumber,endLineNumber:He.lineNumber,startColumn:Je.startColumn,endColumn:Je.endColumn},je=ze.getLineContent(He.lineNumber).substring(Je.startColumn-2,Je.endColumn);return{suggestions:[..._.keywords.map(_e=>({label:_e,kind:ee.languages.CompletionItemKind.Function,documentation:_e,insertText:_e,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),..._.quickKey.map(_e=>({label:_e.label,kind:ee.languages.CompletionItemKind.Function,documentation:_e.content,insertText:je.startsWith("#")?_e.content.replace(/#/,""):_e.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),ee.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(ze,He){var Je=ze.getWordUntilPosition(He),Ke={startLineNumber:He.lineNumber,endLineNumber:He.lineNumber,startColumn:Je.startColumn,endColumn:Je.endColumn};return{suggestions:[...T.keywords.map(je=>({label:je,kind:ee.languages.CompletionItemKind.Function,documentation:je,insertText:je,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),ee.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(ze,He){var Je=ze.getWordUntilPosition(He),Ke={startLineNumber:He.lineNumber,endLineNumber:He.lineNumber,startColumn:Je.startColumn,endColumn:Je.endColumn},je=ze.getLineContent(He.lineNumber).substring(Je.startColumn-2,Je.endColumn);return{suggestions:[...b.keywords.map(_e=>({label:_e,kind:ee.languages.CompletionItemKind.Function,documentation:_e,insertText:_e,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...b.quickKey.map(_e=>({label:_e.label,kind:ee.languages.CompletionItemKind.Function,documentation:_e.content,insertText:je.startsWith("#")?_e.content.replace(/#/,""):_e.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),ee.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(ze,He){var Je=ze.getWordUntilPosition(He),Ke={startLineNumber:He.lineNumber,endLineNumber:He.lineNumber,startColumn:Je.startColumn,endColumn:Je.endColumn},je=ze.getLineContent(He.lineNumber).substring(Je.startColumn-2,Je.endColumn);return{suggestions:[...j.keywords.map(_e=>({label:_e,kind:ee.languages.CompletionItemKind.Function,documentation:_e,insertText:_e,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...j.quickKey.map(_e=>({label:_e.label,kind:ee.languages.CompletionItemKind.Function,documentation:_e.content,insertText:je.startsWith("#")?_e.content.replace(/#/,""):_e.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),ee.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(ze,He){var Je=ze.getWordUntilPosition(He),Ke={startLineNumber:He.lineNumber,endLineNumber:He.lineNumber,startColumn:Je.startColumn,endColumn:Je.endColumn},je=ze.getLineContent(He.lineNumber).substring(Je.startColumn-2,Je.endColumn);return{suggestions:[...h.keywords.map(_e=>({label:_e,kind:ee.languages.CompletionItemKind.Function,documentation:_e,insertText:_e,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...h.quickKey.map(_e=>({label:_e.label,kind:ee.languages.CompletionItemKind.Function,documentation:_e.content,insertText:je.startsWith("#")?_e.content.replace(/#/,""):_e.content,insertTextRules:ee.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}})};const se="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ee=Object.defineProperty,he=(ee,ye,Ne)=>ye in ee?Ee(ee,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ee[ye]=Ne,ve=(ee,ye,Ne)=>he(ee,typeof ye!="symbol"?ye+"":ye,Ne);const J=class ou{constructor(ye,Ne,Ie){this.placeholder=ye,this.editor=Ne,this.monaco=Ie,Ne.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ou.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ve(J,"ID","editor.widget.placeholderHint");var ie=J,ue=o(96236),fe=o(6767),ae=o(25399),w=o(89392),L=o(34604),oe=o(56102),M=Object.defineProperty,De=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,it=(ee,ye,Ne)=>ye in ee?M(ee,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):ee[ye]=Ne,lt=(ee,ye)=>{for(var Ne in ye||(ye={}))dt.call(ye,Ne)&&it(ee,Ne,ye[Ne]);if(Re)for(var Ne of Re(ye))st.call(ye,Ne)&&it(ee,Ne,ye[Ne]);return ee},zt=(ee,ye)=>De(ee,Fe(ye)),nn=(ee,ye)=>{var Ne={};for(var Ie in ee)dt.call(ee,Ie)&&ye.indexOf(Ie)<0&&(Ne[Ie]=ee[Ie]);if(ee!=null&&Re)for(var Ie of Re(ee))ye.indexOf(Ie)<0&&st.call(ee,Ie)&&(Ne[Ie]=ee[Ie]);return Ne},Mt=(ee,ye,Ne)=>new Promise((Ie,ze)=>{var He=je=>{try{Ke(Ne.next(je))}catch(_e){ze(_e)}},Je=je=>{try{Ke(Ne.throw(je))}catch(_e){ze(_e)}},Ke=je=>je.done?Ie(je.value):Promise.resolve(je.value).then(He,Je);Ke((Ne=Ne.apply(ee,ye)).next())});function en(ee){return/^\d+$/.test(ee)?`${ee}px`:ee}function rn(){}let rt=!1;const tt={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Be(ee=[]){let ye=ee;if(Array.isArray(ee)){for(let Ne=0;Ne<ee.length;Ne++){let Ie=tt[ee[Ne]];if(Ie)return Ie}return ye[0]}return tt[ye]||ye}let Oe=null;var Ue=ee=>{var ye=ee,{width:Ne="100%",height:Ie="100%",value:ze,language:He="javascript",style:Je={},options:Ke={},overrideServices:je={},theme:_e="vs-dark",onEditBlur:Qe,isCopy:Me=!1,onSave:Pe,autoHeight:Le=!1,forbidCopy:ht=!1,onChange:nt=rn,editorDidMount:re=rn,onFocus:ut=rn,onBreakPoint:Ze=rn,breakPointValue:Se=[],filename:St="educoder.txt",errorLine:tn,errorContent:gt="",highlightLine:Xe,openBreakPoint:qe=!1,placeholder:Ge="",showMiniMap:ke=!0}=ye,ce=nn(ye,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const pe=(0,a.useRef)(),me=(0,a.useRef)({}),we=(0,a.useRef)(),Ye=(0,a.useRef)(),bt=(0,a.useRef)([]),Dt=(0,a.useRef)(!1),jt=(0,a.useRef)(),Kt=(0,a.useRef)(),Ht=(0,a.useRef)(!1),[Ft,Gt]=(0,a.useState)(!1);function Yt(){let fn;return pe.current&&(fn=new y.Z(cn=>{for(let ot of cn)(ot.target.offsetHeight>0||ot.target.offsetWidth>0)&&me.current.instance.layout()}),fn.observe(pe.current)),fn}function $t(){fe.ZP.warning({content:decodeURIComponent(se),key:"monaco-editor-tip"})}const bn=()=>{let fn=me.current.instance;if(ze!=null&&fn&&Ft){const cn=fn.getModel();cn&&ze!==cn.getValue()&&(rt=!0,cn.setValue(ze),fn.layout(),rt=!1)}};(0,a.useEffect)(()=>{const fn=L.Z.subscribe("formatDocument",cn=>{var ot;let D=me.current.instance;(ot=D==null?void 0:D.getAction)==null||ot.call(D,"editor.action.formatDocument").run()});return window.updateMonacoValue=cn=>{nt(cn)},fn},[]),(0,a.useEffect)(()=>{var fn;let cn=me.current.instance;Ye.current&&clearTimeout(Ye.current),Ye.current=setTimeout(()=>{bn()},500),ze&&(ze!=null&&ze.length)&&((fn=cn==null?void 0:cn.updateOptions)==null||fn.call(cn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ze.split(/\r\n|\r|\n/g).length))+3,5)}))},[ze,Ft,me.current]),(0,a.useEffect)(()=>{if(tn&&me.current&&me.current.instance){let cn=me.current.instance;cn.changeViewZones(function(ot){var D=document.createElement("div");D.style.padding="10px 20px",D.style.width="calc(100% - 20px)",D.className="my-error-line-wrp",D.innerHTML=gt,ot.addZone({afterLineNumber:tn||11,heightInLines:3,domNode:D})});var fn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};cn.addOverlayWidget(fn),cn.revealPositionInCenter({lineNumber:20,column:1})}},[tn,me.current,Ft]);const Jt=(fn="",cn)=>{if(!fn||fn.trim()==="")return!0;const D=me.current.instance.getModel().getLineTokens(cn);let En=!1;for(let Pn=0;Pn<2;Pn++)D.getStandardTokenType(Pn)===1&&(En=!0);return En};(0,a.useEffect)(()=>{var fn;const cn=(fn=me.current)==null?void 0:fn.instance;if(cn&&Ft&&ht){const ot=cn.onDidBlurEditorWidget(()=>{Ht.current=!1}),D=cn.onDidFocusEditorText(()=>{Ht.current=!0});return()=>{ot.dispose(),D.dispose()}}},[me.current,Ft,ht]),(0,a.useEffect)(()=>{var fn;if((fn=me.current)!=null&&fn.instance&&Ft&&qe){let cn=me.current.instance,ot=cn.getModel();if(!ot)return;(()=>{var Wt;let dn=[],gn=[];const zn=ot.getAllDecorations();for(let xn of zn)xn.options.className==="highlighted-line"&&(dn.push((Wt=xn==null?void 0:xn.range)==null?void 0:Wt.startLineNumber),gn.push(xn==null?void 0:xn.id));if(Xe===dn[0])return;ot.deltaDecorations(gn,[]);const Dn=ot.getLineCount();Xe&&Xe<=Dn&&(cn.deltaDecorations([],[{range:new Oe.Range(Xe,1,Xe,ot.getLineMaxColumn(Xe)),options:{isWholeLine:!0,className:"highlighted-line"}}]),cn.revealLineInCenter(Xe))})();const En=(Wt=!1)=>{var dn;let gn=[],zn=[];const Dn=ot.getAllDecorations();for(let xn of Dn)xn.options.linesDecorationsClassName==="breakpoints-select"&&(gn.push((dn=xn==null?void 0:xn.range)==null?void 0:dn.startLineNumber),zn.push(xn==null?void 0:xn.id));if(Wt)return{lines:gn,ids:zn};Ze(gn)},Pn=Wt=>Mt(void 0,null,function*(){let dn={range:new Oe.Range(Wt,1,Wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ot.deltaDecorations([],[dn]),En()}),Qt=Wt=>Mt(void 0,null,function*(){let dn=[];const gn=cn.getLineDecorations(Wt);for(let zn of gn)zn.options.linesDecorationsClassName==="breakpoints-select"&&dn.push(zn.id);yield ot.deltaDecorations(dn,[]),En()}),An=Wt=>{let dn=cn.getLineDecorations(Wt);for(let gn of dn)if(gn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,w.isEqual)(Se,En(!0).lines)){ot.deltaDecorations(En(!0).ids,[]);const Wt=Se.map(dn=>({range:new Oe.Range(dn,1,dn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ot.deltaDecorations([],Wt)}const _n=cn.onDidChangeModelContent(Wt=>{let dn=cn.getPosition();if(dn){let gn=dn.lineNumber;clearTimeout(Kt.current),Kt.current=setTimeout(()=>{Jt(ot.getLineContent(gn),gn)?Qt(gn):An(gn)?(Qt(gn),Pn(gn)):En()},100)}}),at=cn.onMouseDown(Wt=>{var dn,gn,zn;if(Wt.target.detail&&((zn=(gn=(dn=Wt.target)==null?void 0:dn.element)==null?void 0:gn.className)!=null&&zn.includes("line-numbers"))){let Dn=Wt.target.position.lineNumber;if(Jt(ot.getLineContent(Dn),Dn))return;An(Dn)?Qt(Dn):Pn(Dn)}}),vt=Wt=>{let dn={range:new Oe.Range(Wt,1,Wt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};bt.current=cn.deltaDecorations(bt.current,[dn])},be=()=>{bt.current=cn.deltaDecorations(bt.current,[])},wt=cn.onMouseMove(Wt=>{var dn,gn,zn;if(be(),Wt.target.detail&&((zn=(gn=(dn=Wt.target)==null?void 0:dn.element)==null?void 0:gn.className)!=null&&zn.includes("line-numbers"))){let Dn=Wt.target.position.lineNumber;if(Jt(ot.getLineContent(Dn),Dn))return;vt(Dn)}}),sn=cn.onMouseLeave(()=>{be()});return()=>{_n.dispose(),at.dispose(),wt.dispose(),sn.dispose()}}},[me.current,Ft,Se,Xe,qe,He]),(0,a.useEffect)(()=>{var fn;(fn=me.current)!=null&&fn.instance&&qe&&me.current.instance.setPosition({lineNumber:0,column:0})},[Xe]);function un(){let fn=me.current.instance;if(fn){const cn=fn.getSelection(),ot=me.current.pastePos||{},D=new Oe.Range(ot.startLineNumber||cn.endLineNumber,ot.startColumn||cn.endColumn,ot.endLineNumber||cn.endLineNumber,ot.endColumn||cn.endColumn);setTimeout(()=>{fn.executeEdits("",[{range:D,text:""}])},300)}}function mn(fn){(window.navigator.platform.match("Mac")?fn.metaKey:fn.ctrlKey)&&fn.keyCode==83&&(fn.preventDefault(),Pe())}const hn=()=>{if(Le&&me.current.instance){const fn=me.current.instance.getContentHeight();Ut(fn<Ie?Ie:fn)}else Ut(Ie)};function vn(fn){var cn=document.createEvent("MouseEvents");cn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),fn.dispatchEvent(cn)}const yn=fn=>{if(!Ht.current)return;const{keyCode:cn,ctrlKey:ot,metaKey:D,target:En,type:Pn}=fn;return(Pn==="paste"||(cn===67||cn===86)&&(D||ot))&&En.nodeName==="TEXTAREA"&&($t(),fn.preventDefault()),!1};function Gn(fn,cn){var ot=window.URL||window.webkitURL||window,D=new Blob([cn]),En=document.createElementNS("http://www.w3.org/1999/xhtml","a");En.href=ot.createObjectURL(D),En.download=fn,vn(En)}(0,a.useEffect)(()=>{hn()},[hn]),(0,a.useEffect)(()=>{pe.current&&!Ft&&Promise.all([o.e(8909),o.e(3267)]).then(o.bind(o,71448)).then(fn=>{try{Oe=fn,me.current.instance=Oe.editor.create(pe.current,{value:ze,language:Be(He),theme:_e,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:ke||!1}},je);const cn=me.current.instance;let En=[...ue.BH._menuItems].find(_n=>_n[0]._debugName=="EditorContext")[1],Pn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Qt=(_n,at)=>{var vt,be;let wt=_n._first;do at.includes((be=(vt=wt.element)==null?void 0:vt.command)==null?void 0:be.id)&&_n._remove(wt);while(wt=wt.next)};if(re(cn,Oe),setTimeout(()=>{hn(),me.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Gn(St||"educoder.txt",cn.getValue())}})},500),me.current.subscription=cn.onDidChangeModelContent(_n=>{Dt.current?clearTimeout(jt.current):(hn(),nt(cn.getValue(),_n)),jt.current=setTimeout(()=>{Dt.current=!1},500)}),window.Monaco||te(Oe,Be(He)),ht&&(Qt(En,Pn),pe.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",yn),window.removeEventListener("paste",yn),window.addEventListener("keydown",yn),window.addEventListener("paste",yn)),window.Monaco=Oe,Qe&&cn.onDidBlurEditorWidget(()=>{Qe(cn.getValue())}),ut&&cn.onDidFocusEditorText(()=>{ut(cn.getValue())}),ht)try{cn.onDidPaste(_n=>{const at=cn.getSelection(),vt=me.current.pastePos||{},be=new Oe.Range(vt.startLineNumber||at.endLineNumber,vt.startColumn||at.endColumn,vt.endLineNumber||at.endLineNumber,vt.endColumn||at.endColumn);cn.executeEdits("",[{range:_n.range,text:""}])})}catch(_n){}let An=Yt();return Ge&&typeof Ge=="string"&&new ie(Ge,cn,Oe),Gt(!0),()=>{const _n=me.current.instance;_n.dispose();const at=_n.getModel();at&&at.dispose(),me.current.subscription&&me.current.subscription.dispose(),An.unobserve(pe.current)}}catch(cn){}})},[]),(0,a.useEffect)(()=>{if(me.current.instance&&Ft)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[Pe,Ft]),(0,a.useEffect)(()=>{let fn=me.current.instance;if(fn&&Ft){let cn=Be(He);Oe.editor.setModelLanguage(fn.getModel(),cn)}},[He,Ft]),(0,a.useEffect)(()=>{me.current.instance&&Ft&&Oe.editor.setTheme(_e)},[_e,Ft]),(0,a.useEffect)(()=>{let fn=me.current.instance;we.current=Ke,fn&&Ft&&(fn.updateOptions(lt({},Ke)),setTimeout(()=>{fn.getModel().updateOptions(lt({},Ke))},200))},[JSON.stringify(Ke),Ft]),(0,a.useEffect)(()=>{let fn=me.current.instance;fn&&Ft&&fn.layout()},[Ne,Ie,Ft]);const[jn,It]=(0,a.useState)(en(Ne)),[Ct,Ut]=(0,a.useState)(en(Ie)),xt=zt(lt({},Je),{width:jn,height:Ct,position:"relative"});return a.createElement("div",{className:"my-monaco-editor",ref:pe,style:xt},Me&&a.createElement(oe.CopyToClipboard,{text:ze,onCopy:()=>fe.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement(ae.Z,{title:"\u590D\u5236\u4EE3\u7801"},a.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},a.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function $e({width:ee="100%",height:ye="100%",original:Ne,modified:Ie,language:ze,options:He={}}){const Je=(0,a.useRef)(),[Ke,je]=(0,a.useState)(null);function _e(Le){let ht;return Je.current&&(ht=new y.Z(nt=>{for(let re of nt)(re.target.offsetHeight>0||re.target.offsetWidth>0)&&Le.layout()}),ht.observe(Je.current)),ht}(0,a.useEffect)(()=>(Je.current&&Promise.all([o.e(8909),o.e(9404)]).then(o.bind(o,2550)).then(Le=>{Oe=Le;const ht=Oe.editor.createDiffEditor(Je.current,zt(lt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},He),{wordWrap:!0}));je(ht);let nt=_e(ht);return()=>{ht.dispose();const re=ht.getModel();re&&re.dispose(),nt.unobserve(Je.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,a.useEffect)(()=>{Ke&&Ke.setModel({original:Oe.editor.createModel(Ne,ze),modified:Oe.editor.createModel(Ie,ze)})},[Ne,Ie,ze,Ke]);const Qe=en(ee),Me=en(ye),Pe={width:Qe,height:Me};return a.createElement("div",{className:"my-diff-editor",ref:Je,style:Pe})}},85057:function(k,p,o){"use strict";o.d(p,{jL:function(){return _},w9:function(){return dt},QD:function(){return nt},cQ:function(){return oe},op:function(){return _e},O5:function(){return Kt},_b:function(){return tn},t7:function(){return z},Gi:function(){return Mt},YG:function(){return zt},qp:function(){return U},vr:function(){return Ze},qE:function(){return Pe},Je:function(){return B},wb:function(){return ue},cq:function(){return Oe},tp:function(){return C}});var a=o(59301),y={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ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7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_=({dataSource:Ht=[],img:Ft,imgWidth:Gt=346,title:Yt,sunTitle:$t,bannerExtraContent:bn})=>a.createElement("div",{className:y.banner},a.createElement("div",{className:y.content},a.createElement("aside",null,a.createElement("p",null,a.createElement("b",null,Yt),a.createElement("span",null,$t)),Ht.length>0&&a.createElement("div",{className:y.btns},Ht.map((Jt,un)=>a.createElement("div",{key:un,onClick:Jt.click},Jt.name,Jt.sign?a.createElement("img",{src:T,width:39}):null))),bn),Ft&&a.createElement("img",{style:{marginTop:33,marginRight:38},src:Ft,width:Gt}))),h={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},j=o(92310),G=o.n(j),u=o(89392),U=({dataSource:Ht=[],value:Ft,onChange:Gt,onTitleChange:Yt,className:$t,title:bn,titleWidth:Jt=41,style:un={},fontColor:mn="#6A7283",showCount:hn})=>{const[vn,yn]=(0,a.useState)(0),[Gn,jn]=(0,a.useState)(!1),It=(0,a.useRef)(null),Ct=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var Ut;Ht.length!==0&&(((Ut=It==null?void 0:It.current)==null?void 0:Ut.clientHeight)>97?yn(1):yn(0)),Ht.length===0&&yn(0),jn(!1)},[Ht]),a.createElement("div",{className:G()(h.row,$t),style:un},a.createElement("div",{onClick:(0,u.throttle)(()=>Yt==null?void 0:Yt(),2e3),style:{width:Jt,marginTop:Gn?12:4},className:`${h.title} ${Yt?"current":""}`},bn),a.createElement("div",{className:Gn?`${h.tagsWrap} ${h.tagsBorderWrap}`:h.tagsWrap},a.createElement("div",{className:h.bar,ref:Ct,style:vn>0?{height:vn===1?97:"auto",overflow:vn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},a.createElement("div",{className:h.tag,ref:It},Ht==null?void 0:Ht.map(Ut=>a.createElement("span",{onClick:()=>Gt(Ut.id),key:Ut.id,style:{color:mn},className:Ft===Ut.id?h.active:""},a.createElement("span",{title:Ut.name,className:h.name},Ut.name),!!hn&&a.createElement("span",{className:h.num},Ut.count))))),!!vn&&a.createElement(a.Fragment,null,vn===1?a.createElement("div",{onClick:()=>{var Ut;yn(2),((Ut=It==null?void 0:It.current)==null?void 0:Ut.clientHeight)>245?jn(!0):jn(!1)},className:h.action},"\u5C55\u5F00",a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):a.createElement("div",{onClick:()=>{Ct.current.scrollTop=0,yn(1),jn(!1)},className:h.action},"\u6536\u8D77",a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},v={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},C=({dataSource:Ht=[],value:Ft,onChange:Gt,className:Yt,style:$t={}})=>a.createElement("div",{style:$t,className:G()(v.tabs,Yt)},Ht.map(bn=>a.createElement("span",{onClick:()=>Gt(bn.id),className:Ft===bn.id?v.active:"",key:bn.id},bn.name))),P={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},X=o(37568),z=({dataSource:Ht=[],value:Ft="",onChange:Gt,onInputChange:Yt=()=>{},className:$t,style:bn={},placeholder:Jt,allowClear:un=!1})=>{var mn;const[hn,vn]=(0,a.useState)(""),[yn,Gn]=(0,a.useState)("");(0,a.useEffect)(()=>{var Ct;let Ut=Ft;(Ct=JSON.stringify(Ft))!=null&&Ct.includes("{")&&(vn(Ft.id),Ut=Ft.value||"");try{Gn(decodeURIComponent(Ut||""))}catch(xt){Gn(decodeURIComponent(Ut||""))}},[Ft]);const jn=()=>{Gt(encodeURIComponent(yn),hn||null)},It=Ct=>{Ct!==hn&&(vn(Ct),Gt(encodeURIComponent(yn),Ct))};return a.createElement("div",{className:G()(P.input,$t),style:bn},!!Ht.length&&a.createElement("div",{className:P.dropdown},a.createElement("div",{className:P.text},(mn=Ht.find(Ct=>Ct.id===hn))==null?void 0:mn.name,a.createElement("i",{className:"iconfont icon-zhankai4"}),a.createElement("b",{className:P.b1}),a.createElement("b",{className:P.b2})),a.createElement("div",{className:P.menu},Ht.map((Ct,Ut)=>a.createElement("div",{key:Ut,onClick:()=>It(Ct.id)},Ct.name)))),a.createElement(X.default,{onPressEnter:jn,value:yn,onChange:Ct=>{Gn(Ct.target.value),Yt(encodeURIComponent(Ct.target.value),hn||null)},bordered:!1,placeholder:Jt}),a.createElement("i",{onClick:jn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},N={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},B=({value:Ht,onChange:Ft,className:Gt,total:Yt,pageSize:$t,style:bn={}})=>{const Jt=Ht<2,un=Ht>=Math.ceil(Yt/$t);return Yt<=$t?a.createElement(a.Fragment,null):a.createElement("div",{className:G()(N.quickPager,Gt),style:bn},a.createElement("div",{onClick:()=>{Jt||Ft(Ht-1,"prev")},className:Jt?N.disabled:""},"\u4E0A\u4E00\u9875"),a.createElement("div",{onClick:()=>{un||Ft(Ht+1,"next")},className:un?N.disabled:""},"\u4E0B\u4E00\u9875"))},W={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},H=o(29787),le=o(25399),te=o(58018),se=o(3294),Ee=o(955),he=o(96908),ve=o(57177),J=o(81378),Z=o(8797),ue=({className:Ht,dataSource:Ft=[],col:Gt=4,right:Yt,bottom:$t=23,precision:bn=0,wrapWidth:Jt=1200,trackEventItems:un,loading:mn})=>{const hn=Math.floor((Jt-(Gt-1)*Yt)/Gt);return a.createElement(H.Z,{spinning:mn},a.createElement("div",{className:G()(W.list,Ht)},!!Ft.length&&Ft.map((vn,yn)=>{const{name:Gn,id:jn,identifier:It,power:Ct,cover_image_id:Ut,pic:xt}=vn;return a.createElement("div",{className:W.wrap,key:jn,style:{width:hn,marginRight:(1+yn)%Gt===0?0:Yt+bn,marginBottom:$t}},a.createElement("a",{target:"_blank",href:`/shixuns/${It}/challenges`,className:W.li,onClick:fn=>{fn.preventDefault(),un&&(0,Ee.L9)([un]),Ct&&(0,Ee.xg)(`/shixuns/${It}/challenges`)}},a.createElement("div",{className:W.img},a.createElement("img",{className:W.cover,src:`${xt}`}),vn.is_jupyter&&a.createElement("img",{className:W.sign,src:he}),vn.is_jupyter_lab&&a.createElement("img",{className:W.sign,src:ve}),vn.is_unity_3d&&a.createElement("img",{className:W.sign,src:J})),a.createElement("div",{className:W.name},a.createElement(le.Z,{title:Gn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:W.e},Gn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:W.tags},a.createElement(le.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,vn.challenges_count))),!!vn.myshixuns_count&&a.createElement(le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,vn.myshixuns_count))),a.createElement(le.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,vn.level))),a.createElement("div",{className:W.rate},a.createElement(te.Z,{allowHalf:!0,disabled:!0,defaultValue:vn.score_info}),a.createElement("span",null,"\xA0",vn.score_info?`${vn.score_info}\u5206`:"5\u5206")))),!Ct&&a.createElement("div",{className:W.lockWrap},a.createElement("img",{src:`${se.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ft.length&&a.createElement(Z.Z,null)))},fe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ae=o(24065),w=o(59301),oe=({className:Ht,dataSource:Ft=[],col:Gt=4,right:Yt,bottom:$t=23,precision:bn=0,wrapWidth:Jt=1200,trackEventItems:un,loading:mn,onRemove:hn=()=>{},isCurrent:vn=!0,showAlias:yn=!1})=>{const Gn=Math.floor((Jt-(Gt-1)*Yt)/Gt),jn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return w.createElement(H.Z,{spinning:mn},w.createElement("div",{className:G()(fe.list,Ht)},!!(Ft!=null&&Ft.length)&&(Ft==null?void 0:Ft.map((It,Ct)=>{var Ut;const{name:xt,id:fn,identifier:cn,featured:ot,school_name:D,image_url:En,excellent:Pn,is_plan:Qt}=It;return w.createElement("div",{key:fn,className:fe.wrap,style:{width:Gn,marginRight:(1+Ct)%Gt===0?0:Yt+bn,marginBottom:$t}},w.createElement("a",{className:fe.li,onClick:An=>{An.preventDefault(),An.stopPropagation(),un&&(0,Ee.L9)([un]),(0,Ee.xg)(`/paths/${cn}`)}},w.createElement("div",{className:fe.img},w.createElement("img",{className:fe.cover,src:`${En}`}),vn&&(0,ae.bg)()&&(It==null?void 0:It.studying)&&w.createElement("div",{className:`${fe.movebq} user-path-items`,onClick:An=>{An.stopPropagation(),hn(It)}},w.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),w.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ut=It==null?void 0:It.subject_tags)==null?void 0:Ut.map((An,_n)=>{var at,vt;if(_n===0){const wt=(at=jn.find(sn=>sn.name==An))==null?void 0:at.swimg;return w.createElement("img",{className:fe.sign,src:wt,style:{left:"-4px"}})}const be=(vt=jn.find(wt=>wt.name==An))==null?void 0:vt.ptimg;return w.createElement("img",{className:fe.sign,src:be,style:{left:`${48+52*(_n-1)+2*_n}px`}})}),w.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(It==null?void 0:It.excellent)&&w.createElement("div",{className:fe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),w.createElement("div",{className:fe.name},w.createElement(le.Z,{title:yn&&(It!=null&&It.excellent_alias_name)?w.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${xt}`,w.createElement("br",null),w.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${It==null?void 0:It.excellent_alias_name}`)):xt},w.createElement("span",{className:fe.e},yn&&(It==null?void 0:It.excellent_alias_name)||xt))),w.createElement(le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${D}`},w.createElement("div",{className:fe.unit},w.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),D)),w.createElement("div",{className:fe.tags},w.createElement("div",null,w.createElement(le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},w.createElement("span",null,w.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),w.createElement("span",null,It.stages_count))),w.createElement(le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},w.createElement("span",null,w.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),w.createElement("span",null,It.members_count)))))))})),!Ft.length&&w.createElement(Z.Z,null)))},M={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9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Bccpan8cseAAAAAElFTkSuQmCC",Fe=o(59301),dt=({className:Ht,dataSource:Ft=[],col:Gt=4,right:Yt,bottom:$t=23,precision:bn=0,wrapWidth:Jt=1200,trackEventItems:un,loading:mn,handleVery:hn=()=>!0})=>{const vn=Math.floor((Jt-(Gt-1)*Yt)/Gt);return Fe.createElement(H.Z,{spinning:mn},Fe.createElement("div",{className:G()(M.list,Ht)},!!Ft.length&&Ft.map((yn,Gn)=>{const{subject_identifier:jn,id:It,identifier:Ct,power:Ut}=yn,xt=yn.is_public!=0&&yn.is_public;return Fe.createElement("div",{className:M.wrap,key:It,style:{width:vn,marginRight:(1+Gn)%Gt===0?0:Yt+bn,marginBottom:$t}},Fe.createElement("a",{className:M.li,onClick:fn=>{fn.preventDefault(),hn(yn==null?void 0:yn.first_category_url)&&(un&&(0,Ee.L9)([un]),(0,Ee.xg)(yn.first_category_url))}},Fe.createElement("div",{className:M.top},Fe.createElement(le.Z,{title:yn.name},Fe.createElement("div",{className:M.name},yn.name)),Fe.createElement("img",{className:M.img,src:se.Z.IMG_SERVER+"/images/"+yn.avatar_url}),Fe.createElement("div",{className:M.text,title:yn.creator},yn.creator),jn&&Fe.createElement("div",{className:M.btns},Fe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Fe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),xt&&Fe.createElement("div",{className:M.sign},"\u516C\u5F00")),Fe.createElement("div",{className:M.bottom},yn.visits>0&&Fe.createElement(le.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Fe.createElement("span",null,Fe.createElement("i",{className:"iconfont icon-liulanyan"}),Fe.createElement("span",null,yn.visits))),yn.course_members_count>0&&Fe.createElement(le.Z,{title:"\u6210\u5458",placement:"bottom"},Fe.createElement("span",null,Fe.createElement("i",{className:"iconfont icon-chengyuan"}),yn.course_members_count)),yn.tasks_count>0&&Fe.createElement(le.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Fe.createElement("span",null,Fe.createElement("i",{className:"iconfont icon-zuoye"}),yn.tasks_count)),yn.is_end?Fe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Fe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!yn.is_accessible&&Fe.createElement("div",{className:M.lockWrap},Fe.createElement("img",{src:`${se.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Fe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ft.length&&Fe.createElement(Z.Z,null)))},st={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},it=o(89070),zt=({dataSource:Ht=[],value:Ft,onChange:Gt,className:Yt,style:$t={},tabBarExtraContent:bn})=>a.createElement("div",{className:G()(st.tabs,Yt),style:$t},a.createElement("div",{className:st.tabsWrap},Ht.map((Jt,un)=>!(Jt!=null&&Jt.hide)&&a.createElement("aside",{className:st.tab,onClick:()=>{Gt(Jt.id),Jt.link&&it.history.push(Jt.link)},key:un},a.createElement("div",{className:Ft===Jt.id?st.active:""},Jt.name),(Jt==null?void 0:Jt.resetCount)==null&&(Jt==null?void 0:Jt.total)!==void 0&&a.createElement("span",null,"\uFF08",Jt==null?void 0:Jt.total,"\uFF09"),(Jt==null?void 0:Jt.resetCount)!==void 0&&(Jt==null?void 0:Jt.total)!==void 0&&a.createElement(le.Z,{title:(Jt==null?void 0:Jt.tip)!=null?Jt==null?void 0:Jt.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Jt==null?void 0:Jt.resetCount),"/",a.createElement("span",null,Jt==null?void 0:Jt.total),"\uFF09"))))),a.createElement("div",{className:st.tabBar},bn)),Mt=({className:Ht,style:Ft={},children:Gt})=>a.createElement("div",{className:G()(Ht),style:Ft},Gt),en={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},rn=o(75727),rt=o(93041);const tt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Oe=({sortValue:Ht,dropValue:Ft,className:Gt,onSort:Yt,onDrop:$t,dataSource:bn=tt})=>{var Jt;return a.createElement("div",{className:G()(en.orderWrap,Gt)},a.createElement(rn.Z,{dropdownRender:()=>a.createElement(rt.default,null,bn.map((un,mn)=>a.createElement(rt.default.Item,{key:mn,onClick:()=>$t(un.id)},un.name)))},a.createElement("span",{className:en.orderTextWrap},(Jt=bn.find(un=>Ft===un.id))==null?void 0:Jt.name)),a.createElement("span",{className:en.orderIconWrap},a.createElement("span",{className:en.orderAsc},a.createElement("i",{className:Ht==="asc"?`iconfont icon-sanjiaoxing-up font12 ${en.cursorPointer} ${en.active}`:`iconfont icon-sanjiaoxing-up font12 ${en.cursorPointer}`,onClick:()=>Yt(Ht==="asc"?"desc":"asc")})),a.createElement("span",{className:en.orderDesc},a.createElement("i",{className:Ht==="desc"?`iconfont icon-sanjiaoxing-down font12 ${en.cursorPointer} ${en.active}`:`iconfont icon-sanjiaoxing-down font12 ${en.cursorPointer}`,onClick:()=>Yt(Ht==="asc"?"desc":"asc")}))))},Ue={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},$e=o(99571),ee=Object.defineProperty,ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,ze=(Ht,Ft,Gt)=>Ft in Ht?ee(Ht,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ht[Ft]=Gt,He=(Ht,Ft)=>{for(var Gt in Ft||(Ft={}))Ne.call(Ft,Gt)&&ze(Ht,Gt,Ft[Gt]);if(ye)for(var Gt of ye(Ft))Ie.call(Ft,Gt)&&ze(Ht,Gt,Ft[Gt]);return Ht},Je=(Ht,Ft)=>{var Gt={};for(var Yt in Ht)Ne.call(Ht,Yt)&&Ft.indexOf(Yt)<0&&(Gt[Yt]=Ht[Yt]);if(Ht!=null&&ye)for(var Yt of ye(Ht))Ft.indexOf(Yt)<0&&Ie.call(Ht,Yt)&&(Gt[Yt]=Ht[Yt]);return Gt},Ke=(Ht,Ft,Gt)=>new Promise((Yt,$t)=>{var bn=mn=>{try{un(Gt.next(mn))}catch(hn){$t(hn)}},Jt=mn=>{try{un(Gt.throw(mn))}catch(hn){$t(hn)}},un=mn=>mn.done?Yt(mn.value):Promise.resolve(mn.value).then(bn,Jt);un((Gt=Gt.apply(Ht,Ft)).next())}),_e=Ht=>{var Ft=Ht,{className:Gt,style:Yt,children:$t,loading:bn=!1,openLoading:Jt,onClick:un=()=>{},size:mn="middle",shape:hn="round"}=Ft,vn=Je(Ft,["className","style","children","loading","openLoading","onClick","size","shape"]);const[yn,Gn]=(0,a.useState)(!1);return a.createElement($e.ZP,He({onClick:(0,u.throttle)(jn=>Ke(void 0,null,function*(){Jt&&Gn(!0);try{yield un(jn)}catch(It){console.log("error",It)}Jt&&Gn(!1)}),2e3,{leading:!0,trailing:!1}),className:G()(Ue.btn,Ue[`${mn}-${hn}`],Gt),style:Yt,size:mn,shape:hn,loading:yn||bn},vn),$t)},Qe={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Pe=({className:Ht,style:Ft,children:Gt=null,onClick:Yt,title:$t})=>a.createElement("div",{className:G()(Qe.head,Ht),style:Ft},a.createElement("span",{className:"primary-hover",onClick:Yt},a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),a.createElement("b",{title:$t},$t),a.createElement("div",{className:Qe.node},Gt)),Le={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},nt=({confirmShow:Ht=!0,confirmTitle:Ft,confirmClick:Gt,cancelShow:Yt=!0,cancelTitle:$t,cancelClick:bn,className:Jt,style:un,confirmLoading:mn=!1})=>a.createElement("div",{className:G()(Le.btns,Jt),style:un},Ht&&a.createElement($e.ZP,{loading:mn,onClick:Gt,type:"primary",className:Le.confirm},Ft),Yt&&a.createElement($e.ZP,{onClick:bn,className:Le.cancel},$t)),re={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ze=({className:Ht,style:Ft={},LeftContent:Gt,children:Yt,RightContent:$t})=>a.createElement("div",{className:G()(re.fixedBottom,Ht),style:Ft},a.createElement("div",{className:re.wrap},a.createElement("div",{className:re.left},Gt),a.createElement("div",{className:re.center},Yt),a.createElement("div",{className:re.right},$t))),Se={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},tn=({className:Ht,style:Ft={},dataSource:Gt=[]})=>a.createElement("div",{className:G()(Se.crumbs,Ht),style:Ft},Gt.map((Yt,$t)=>$t<Gt.length-1?a.createElement(a.Fragment,{key:$t},Yt.path||Yt.onClick?a.createElement("span",{className:Se.hover,onClick:Yt!=null&&Yt.onClick?Yt.onClick:()=>it.history.push(Yt.path)},Yt.name):a.createElement("span",null,Yt.name),a.createElement("span",null,"\xA0",">","\xA0")):a.createElement("span",{key:$t,style:{color:"#5F6368"}},Yt.name))),gt=o(11938),Xe=Object.defineProperty,qe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,me=(Ht,Ft,Gt)=>Ft in Ht?Xe(Ht,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ht[Ft]=Gt,we=(Ht,Ft)=>{for(var Gt in Ft||(Ft={}))ce.call(Ft,Gt)&&me(Ht,Gt,Ft[Gt]);if(ke)for(var Gt of ke(Ft))pe.call(Ft,Gt)&&me(Ht,Gt,Ft[Gt]);return Ht},Ye=(Ht,Ft)=>qe(Ht,Ge(Ft)),bt=(Ht,Ft)=>{var Gt={};for(var Yt in Ht)ce.call(Ht,Yt)&&Ft.indexOf(Yt)<0&&(Gt[Yt]=Ht[Yt]);if(Ht!=null&&ke)for(var Yt of ke(Ht))Ft.indexOf(Yt)<0&&pe.call(Ht,Yt)&&(Gt[Yt]=Ht[Yt]);return Gt};const{Countdown:Dt}=gt.default;var Kt=Ht=>{var Ft=Ht,{onChange:Gt}=Ft,Yt=bt(Ft,["onChange"]);const[$t,bn]=(0,a.useState)(null);(0,a.useEffect)(()=>{typeof $t=="number"&&$t>=0&&Gt($t)},[$t]);const Jt=un=>{const mn=Math.floor(un/1e3);bn(mn)};return a.createElement(Dt,Ye(we({},Yt),{onChange:Jt}))}},74131:function(k,p,o){"use strict";o.r(p),o.d(p,{default:function(){return Qe}});var a=o(59301),y=o(53660),T=o.n(y),b=o(89070),_={box:"box___JDRma",question_buuton:"question_buuton___tVuIm",selectQuestion:"selectQuestion___xdvxF",addQuestion:"addQuestion___FQqbC",submit_button:"submit_button___NUmmN"},h=o(6767),j=o(29787),G=o(62673),u=o(99571),Q=o(89392),U={modalContent:"modalContent___hC3en",modalContentLeft:"modalContentLeft___v0x0I",green:"green___pAmUz",textArea:"textArea___ucgCJ",red:"red___eb0mt",row:"row___td54s",html:"html___F0iOy",line:"line___I6TCQ",submit_button:"submit_button___JCIit",Drawrap:"Drawrap___EoEUV",iframe:"iframe___SOG0q",c:"c___b2vnF",cpp:"cpp___P7I43",java:"java___WVWs5",python:"python___jYtaY"},v=o(85149),I=Object.defineProperty,C=Object.defineProperties,P=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,N=(Me,Pe,Le)=>Pe in Me?I(Me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Pe]=Le,F=(Me,Pe)=>{for(var Le in Pe||(Pe={}))V.call(Pe,Le)&&N(Me,Le,Pe[Le]);if(X)for(var Le of X(Pe))z.call(Pe,Le)&&N(Me,Le,Pe[Le]);return Me},B=(Me,Pe)=>C(Me,P(Pe)),W=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const H=({problemset:Me,dispatch:Pe,question:Le,solutionVis:ht,pageCache:nt,disabled:re,onSubmit:ut})=>{const[Ze,Se]=(0,a.useState)({}),[St,tn]=(0,a.useState)([]),gt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,a.useEffect)(()=>{const ke=(0,Q.cloneDeep)(Le);Se(ke),tn(ke.choices)},[Le]);const Xe=()=>W(void 0,null,function*(){var ke;if(!St.some(me=>me==null?void 0:me.checked)){h.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}const ce=(ke=St==null?void 0:St.filter(me=>me==null?void 0:me.checked))==null?void 0:ke.map(me=>me==null?void 0:me.choice_id),pe=yield ut(Le==null?void 0:Le.smart_plan_item_bank_id,ce)}),qe=(ke,ce)=>{console.log(ke.target.checked);const pe=St.map((me,we)=>B(F({},me),{checked:we===ce?ke.target.checked:me.checked}));tn(pe)},Ge=(ke=!1)=>{let ce="";return St.forEach((pe,me)=>{ke?pe!=null&&pe.me_answered&&(ce=ce+gt[me]):pe!=null&&pe.is_answer&&(ce=ce+gt[me])}),ce};return a.createElement("div",null,a.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),a.createElement(v.Z,{value:Ze==null?void 0:Ze.name}),St==null?void 0:St.map((ke,ce)=>{const{is_answer:pe,checked:me,choice_text:we,me_answered:Ye}=ke;let bt="";return ht&&pe&&(bt=U.green),ht&&!pe&&(me||Ye)&&(bt=U.red),a.createElement("div",{key:ce,style:{pointerEvents:ht?"none":"auto"},className:`${U.row} ${bt}`},a.createElement(G.default,{disabled:(Le==null?void 0:Le.status)=="ended"||(Le==null?void 0:Le.is_answered)||(nt==null?void 0:nt.is_end),style:{padding:3},onChange:Dt=>qe(Dt,ce),checked:me||(ke==null?void 0:ke.me_answered)}),a.createElement("span",null,gt[ce],".\xA0"),a.createElement(v.Z,{className:U.html,value:we}),ht&&pe&&a.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ht&&!pe&&(me||Ye)&&a.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ht&&a.createElement(a.Fragment,null,a.createElement("div",{className:U.line}),a.createElement("div",{className:"c-grey-333 mb5"},a.createElement("b",null,"\u6211\u7684\u7B54\u6848:\xA0"),Ge(!0)||"--"),a.createElement("div",{className:"c-grey-333 mb5"},a.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ge()),a.createElement("div",{className:"c-grey-333 mb10"},a.createElement("b",null,"\u89E3\u6790:\xA0"),(Ze==null?void 0:Ze.analysis)||"\u6682\u65E0\u89E3\u6790")),(Le==null?void 0:Le.status)!="ended"&&!(Le!=null&&Le.is_answered)&&!(nt!=null&&nt.is_end)&&a.createElement("div",{className:"flex justify-center"},a.createElement(u.ZP,{className:U.submit_button,type:"primary",onClick:()=>{Xe()}},"\u63D0\u4EA4")))};var le=(0,b.connect)(({problemset:Me})=>({problemset:Me}))(H),te=o(47889),se=o(77019),Ee=o(59301),he=Object.defineProperty,ve=Object.defineProperties,J=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,fe=(Me,Pe,Le)=>Pe in Me?he(Me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Pe]=Le,ae=(Me,Pe)=>{for(var Le in Pe||(Pe={}))ie.call(Pe,Le)&&fe(Me,Le,Pe[Le]);if(Z)for(var Le of Z(Pe))ue.call(Pe,Le)&&fe(Me,Le,Pe[Le]);return Me},w=(Me,Pe)=>ve(Me,J(Pe)),L=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const oe=({problemset:Me,dispatch:Pe,question:Le,pageCache:ht,solutionVis:nt,disabled:re,onSubmit:ut})=>{const[Ze,Se]=(0,a.useState)({}),[St,tn]=(0,a.useState)([]),[gt]=(0,b.useSearchParams)(),Xe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,a.useEffect)(()=>{const ke=(0,Q.cloneDeep)(Le);Se(ke),tn(ke.choices)},[Le]);const qe=()=>L(void 0,null,function*(){var ke;if(!St.some(pe=>pe==null?void 0:pe.checked)){h.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}const ce=yield ut(Le==null?void 0:Le.smart_plan_item_bank_id,(ke=St.find(pe=>pe.checked))==null?void 0:ke.choice_id)}),Ge=(ke,ce)=>{const pe=St.map((me,we)=>w(ae({},me),{checked:we===ce?ke.target.checked:!1}));tn(pe)};return Ee.createElement("div",null,Ee.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),Ee.createElement(v.Z,{value:Ze==null?void 0:Ze.name}),St==null?void 0:St.map((ke,ce)=>{const{is_answer:pe,checked:me,choice_text:we,me_answered:Ye}=ke;let bt="";return nt&&pe&&(bt=U.green),nt&&!pe&&(me||Ye)&&(bt=U.red),Ee.createElement("div",{key:ce,style:{pointerEvents:nt?"none":"auto"},className:`${U.row} ${bt}`},Ee.createElement(te.ZP,{disabled:(Le==null?void 0:Le.status)=="ended"||(Le==null?void 0:Le.is_answered)||(ht==null?void 0:ht.is_end),onChange:Dt=>Ge(Dt,ce),checked:me||(ke==null?void 0:ke.me_answered)}),Ee.createElement("span",null,Xe[ce],".\xA0"),Ee.createElement(v.Z,{className:U.html,value:we}),nt&&pe&&Ee.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),nt&&!pe&&(me||Ye)&&Ee.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),nt&&Ee.createElement(a.Fragment,null,Ee.createElement("div",{className:U.line}),Ee.createElement("div",{className:"c-grey-333 mb5"},Ee.createElement("b",null,"\u6211\u7684\u7B54\u6848:\xA0"),Xe[St.findIndex(ke=>ke==null?void 0:ke.me_answered)]||"--"),Ee.createElement("div",{className:"c-grey-333 mb5"},Ee.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Xe[St.findIndex(ke=>ke==null?void 0:ke.is_answer)]),Ee.createElement(se.Z,{className:"c-grey-333 mb10"},Ee.createElement("b",null,"\u89E3\u6790:\xA0"),Ee.createElement(v.Z,{className:`${U.html} font14`,value:(Ze==null?void 0:Ze.analysis)||"\u6682\u65E0\u89E3\u6790"}))),(Le==null?void 0:Le.status)!="ended"&&!(Le!=null&&Le.is_answered)&&!(ht!=null&&ht.is_end)&&Ee.createElement("div",{className:"flex justify-center"},Ee.createElement(u.ZP,{className:U.submit_button,type:"primary",onClick:()=>{qe()}},"\u63D0\u4EA4")))};var M=(0,b.connect)(({problemset:Me})=>({problemset:Me}))(oe),De=Object.defineProperty,Fe=Object.defineProperties,Re=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,lt=(Me,Pe,Le)=>Pe in Me?De(Me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):Me[Pe]=Le,zt=(Me,Pe)=>{for(var Le in Pe||(Pe={}))st.call(Pe,Le)&&lt(Me,Le,Pe[Le]);if(dt)for(var Le of dt(Pe))it.call(Pe,Le)&&lt(Me,Le,Pe[Le]);return Me},nn=(Me,Pe)=>Fe(Me,Re(Pe)),Mt=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const en=({problemset:Me,dispatch:Pe,question:Le,solutionVis:ht,pageCache:nt,disabled:re,onSubmit:ut})=>{var Ze,Se;const[St,tn]=(0,a.useState)({}),[gt,Xe]=(0,a.useState)([]),qe=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,a.useEffect)(()=>{const ce=(0,Q.cloneDeep)(Le);tn(ce),Xe(ce.choices)},[Le]);const Ge=()=>Mt(void 0,null,function*(){var ce;if(!gt.some(me=>me==null?void 0:me.checked)){h.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}const pe=yield ut(Le==null?void 0:Le.smart_plan_item_bank_id,(ce=gt.find(me=>me.checked))==null?void 0:ce.choice_id)}),ke=(ce,pe)=>{console.log(ce.target.checked);const me=gt.map((we,Ye)=>nn(zt({},we),{checked:Ye===pe?ce.target.checked:!1}));Xe(me)};return a.createElement("div",null,a.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),a.createElement(v.Z,{value:St==null?void 0:St.name}),gt==null?void 0:gt.map((ce,pe)=>{const{is_answer:me,checked:we,choice_text:Ye,me_answered:bt}=ce;let Dt="";return ht&&me&&(Dt=U.green),ht&&!me&&(we||bt)&&(Dt=U.red),a.createElement("div",{key:pe,style:{pointerEvents:ht?"none":"auto"},className:`${U.row} ${Dt}`},a.createElement(te.ZP,{disabled:(Le==null?void 0:Le.status)=="ended"||(Le==null?void 0:Le.is_answered)||(nt==null?void 0:nt.is_end),onChange:jt=>ke(jt,pe),checked:we||(ce==null?void 0:ce.me_answered)}),a.createElement(v.Z,{className:U.html,value:Ye}),ht&&me&&a.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ht&&!me&&(we||bt)&&a.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ht&&a.createElement(a.Fragment,null,a.createElement("div",{className:U.line}),a.createElement("div",{className:"c-grey-333 mb5"},a.createElement("b",null,"\u6211\u7684\u7B54\u6848:\xA0"),((Ze=gt.find(ce=>ce==null?void 0:ce.me_answered))==null?void 0:Ze.choice_text)||"--"),a.createElement("div",{className:"c-grey-333 mb5"},a.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Se=gt.find(ce=>ce==null?void 0:ce.is_answer))==null?void 0:Se.choice_text),a.createElement("div",{className:"c-grey-333 mb10"},a.createElement("b",null,"\u89E3\u6790:\xA0"),(St==null?void 0:St.analysis)||"\u6682\u65E0\u89E3\u6790")),(Le==null?void 0:Le.status)!="ended"&&!(Le!=null&&Le.is_answered)&&!(nt!=null&&nt.is_end)&&a.createElement("div",{className:"flex justify-center"},a.createElement(u.ZP,{className:U.submit_button,type:"primary",onClick:()=>{Ge()}},"\u63D0\u4EA4")))};var rn=(0,b.connect)(({problemset:Me})=>({problemset:Me}))(en),rt=o(30641),tt=o(94941),Be=o(59301),Oe=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const Ue=({problemset:Me,dispatch:Pe,question:Le,pageCache:ht,solutionVis:nt,disabled:re,onSubmit:ut})=>{var Ze;const[Se,St]=(0,a.useState)(!1),[tn,gt]=(0,a.useState)(""),Xe=(0,b.useParams)(),[qe,Ge]=(0,a.useState)(!1),ke=(0,a.useRef)(null),[ce]=(0,b.useSearchParams)();(0,a.useEffect)(()=>{if(Se){const we=document.getElementById("iframeSmartPlan");if(we){const Ye={type:"showIntelligentTeacherStatus",aiStatus:Le==null?void 0:Le.enable_ai_tutor,questionStatus:(Le==null?void 0:Le.status)==="ended",pptStatus:ht==null?void 0:ht.is_end};we.contentWindow.postMessage(Ye,"*")}}},[Le,ht==null?void 0:ht.is_end]),(0,a.useEffect)(()=>{const we=sessionStorage.getItem("iframeVisible"),Ye=sessionStorage.getItem("iframeUrl");we==="true"&&Ye&&(St(!0),gt(Ye));const bt=Dt=>{Dt.state&&Dt.state.isIframePage?St(!0):St(!1)};return window.addEventListener("popstate",bt),()=>{window.removeEventListener("popstate",bt)}},[]);const pe=()=>Oe(void 0,null,function*(){if(Ge(!0),Le!=null&&Le.hack_identifier){const we=yield(0,tt.nF)({id:Le==null?void 0:Le.hack_identifier});(we==null?void 0:we.status)===0&&(gt(`/myproblems/${we==null?void 0:we.identifier}?type=smartPlan&exercisesId=${ce.get("id")}&coursesId=${ce.get("course_id")}&questionId=${Le==null?void 0:Le.id}&smartPlanItemBankId=${Le==null?void 0:Le.smart_plan_item_bank_id}&isMiniprogram=true`),sessionStorage.setItem("iframeVisible","true"),sessionStorage.setItem("iframeUrl",`/myproblems/${we==null?void 0:we.identifier}?type=smartPlan&exercisesId=${ce.get("id")}&coursesId=${ce.get("course_id")}&questionId=${Le==null?void 0:Le.id}&smartPlanItemBankId=${Le==null?void 0:Le.smart_plan_item_bank_id}&isMiniprogram=true`),history.pushState({isIframePage:!0},"",window.location.href))}Ge(!1)}),me={C:Be.createElement("span",{className:U.c},"C"),"C++":Be.createElement("span",{className:U.cpp},"C++"),Java:Be.createElement("span",{className:U.java},"Java"),Python:Be.createElement("span",{className:U.python},"Python")};return Be.createElement("div",null,Be.createElement("div",{className:"c-light-primary mb10 font16"},"\u7F16\u7A0B\u9898"),Be.createElement("div",{style:{color:"#333",fontSize:"16px",marginBottom:"5px"}},Be.createElement("span",{className:"mr10"},"\u7F16\u7A0B\u8BED\u8A00"),(Ze=Le==null?void 0:Le.languages)==null?void 0:Ze.map((we,Ye,bt)=>Be.createElement(a.Fragment,{key:Ye},me[we==null?void 0:we.language]))),Be.createElement(v.Z,{value:Le==null?void 0:Le.name,className:"mt20 mb20"}),Be.createElement(v.Z,{value:Le==null?void 0:Le.description}),nt&&Be.createElement("div",null,Be.createElement("div",{className:U.line}),Be.createElement(se.Z,{className:"c-grey-333 mb5",align:"middle"},Be.createElement("b",null,"\u53C2\u8003\u7B54\u6848:\xA0"),Be.createElement(v.Z,{className:`${U.html} font14`,value:(Le==null?void 0:Le.answer_text)||"\u6682\u65E0\u89E3\u6790"})),Be.createElement(se.Z,{className:"c-grey-333 mb10",align:"middle"},Be.createElement("b",null,"\u89E3\u6790:\xA0"),Be.createElement(v.Z,{className:`${U.html} font14`,value:(Le==null?void 0:Le.analysis)||"\u6682\u65E0\u89E3\u6790"}))),Be.createElement("div",{className:"flex justify-center mt20"},Be.createElement(u.ZP,{loading:qe,className:U.submit_button,type:"primary",onClick:()=>Oe(void 0,null,function*(){yield pe(),St(!0)})},(Le==null?void 0:Le.status)!="ended"&&!(ht!=null&&ht.is_end)?"\u8FDB\u5165\u7B54\u9898":"\u67E5\u770B\u7B54\u9898")),Be.createElement(rt.Z,{title:"",placement:"bottom",rootClassName:U.Drawrap,width:"100vw",height:"100vh",closable:!1,onClose:()=>{St(!1)},maskClosable:!1,open:Se},Be.createElement(j.Z,{spinning:qe},Be.createElement("div",{style:{width:"100%",height:"100%",minHeight:"100vh"}},Se&&Be.createElement("iframe",{ref:ke,id:"iframeSmartPlan",style:{width:"100vw",height:"100vh",minWidth:"1200px"},src:tn,frameBorder:"0"})))))};var $e=(0,b.connect)(({problemset:Me})=>({problemset:Me}))(Ue),ee=o(99064),ye=o(61907),Ne=o(59301),Ie=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const ze=({user:Me,officeToken:Pe,globalSetting:Le,loading:ht,problemset:nt,dispatch:re,pageCache:ut,pageNum:Ze,aiImg:Se})=>{var St,tn,gt,Xe,qe;const[Ge,ke]=(0,a.useState)([]),[ce]=(0,b.useSearchParams)(),[pe,me]=(0,a.useState)(0),[we,Ye]=(0,a.useState)(!1),[bt,Dt]=(0,a.useState)(!(ut!=null&&ut.allow_answer&&!(ut!=null&&ut.is_end)&&(Pe==null?void 0:Pe.Status)!=="ended")),[jt,Kt]=(0,a.useState)(!1),[Ht,Ft]=(0,a.useState)(!1),[Gt,Yt]=(0,a.useState)({});(0,a.useEffect)(()=>{Dt(!(ut!=null&&ut.allow_answer&&!(ut!=null&&ut.is_end)&&(Pe==null?void 0:Pe.Status)!=="ended"))},[ut==null?void 0:ut.allow_answer,!(ut!=null&&ut.is_end),(Pe==null?void 0:Pe.Status)!=="ended"]),(0,a.useEffect)(()=>{(Ze||ut!=null&&ut.page)&&$t()},[Ze,ut==null?void 0:ut.page,ut==null?void 0:ut.allow_answer,ut==null?void 0:ut.has_item_bank,ut==null?void 0:ut.randomData,,ut==null?void 0:ut.enable_extra]);const $t=()=>Ie(void 0,null,function*(){var un,mn,hn,vn,yn,Gn;Ye(!0);let jn=yield(0,ee.ZP)(`/api/courses/${ce.get("course_id")}/smart_plans/${ce.get("id")}/item_banks.json`,{method:"get",params:{position:Ze||(ut==null?void 0:ut.page)}});(jn==null?void 0:jn.status)==0&&(Yt(jn==null?void 0:jn.data),ke((un=jn==null?void 0:jn.data)==null?void 0:un.item_banks),me(0),Kt((vn=(hn=(mn=jn==null?void 0:jn.data)==null?void 0:mn.item_banks)==null?void 0:hn[0])==null?void 0:vn.enable_ai_tutor),bn((Gn=(yn=jn==null?void 0:jn.data)==null?void 0:yn.item_banks)==null?void 0:Gn[0])),Ye(!1)}),bn=un=>{if(ut!=null&&ut.is_end){Ft(!0);return}switch(un==null?void 0:un.solution_visibility){case"hidden":Ft(!1);break;case"show_after_edit":un!=null&&un.is_answered?Ft(!0):Ft(!1);break;case"show_after_submission":(un==null?void 0:un.status)==="ended"?Ft(!0):Ft(!1);break;case"show_after_ended":ut!=null&&ut.is_end?Ft(!0):Ft(!1);break}},Jt=(un,mn)=>Ie(void 0,null,function*(){const hn=yield(0,ee.ZP)(`/api/smart_plan_item_banks/${un}/user_answers.json`,{method:"post",body:{item_choice_id:mn}});return(hn==null?void 0:hn.status)===0?(yield $t(),h.ZP.success("\u63D0\u4EA4\u6210\u529F"),!0):!1});return Ne.createElement("section",null,Ne.createElement(j.Z,{spinning:we},Ne.createElement("div",{className:_.box},Ge[pe]&&Ne.createElement("div",null,((St=Ge[pe])==null?void 0:St.item_type)==="SINGLE"&&Ne.createElement(M,{question:Ge[pe],onSubmit:Jt,disabled:bt,pageCache:ut,solutionVis:Ht}),((tn=Ge[pe])==null?void 0:tn.item_type)==="MULTIPLE"&&Ne.createElement(le,{question:Ge[pe],onSubmit:Jt,disabled:bt,pageCache:ut,solutionVis:Ht}),((gt=Ge[pe])==null?void 0:gt.item_type)==="JUDGMENT"&&Ne.createElement(rn,{question:Ge[pe],onSubmit:Jt,disabled:bt,pageCache:ut,solutionVis:Ht}),((Xe=Ge[pe])==null?void 0:Xe.item_type)==="PROGRAM"&&Ne.createElement($e,{question:Ge[pe],onSubmit:Jt,disabled:bt,pageCache:ut,solutionVis:Ht})),jt&&Ne.createElement(ye.Z,{item_bank_ids:[(qe=Ge[pe])==null?void 0:qe.id],isStudent:!0,aiImg:Se}))))};var He=(0,b.connect)(({user:Me,classroomList:Pe,loading:Le,globalSetting:ht,problemset:nt})=>({user:Me,classroomList:Pe,globalSetting:ht,loading:Le.effects,problemset:nt}))(ze),Je=o(955),Ke=o(62957),je=(Me,Pe,Le)=>new Promise((ht,nt)=>{var re=Se=>{try{Ze(Le.next(Se))}catch(St){nt(St)}},ut=Se=>{try{Ze(Le.throw(Se))}catch(St){nt(St)}},Ze=Se=>Se.done?ht(Se.value):Promise.resolve(Se.value).then(re,ut);Ze((Le=Le.apply(Me,Pe)).next())});const _e=({user:Me,classroomList:Pe,globalSetting:Le,loading:ht,dispatch:nt})=>{const re=(0,a.useRef)(),ut=(0,b.useParams)(),[Ze]=(0,b.useSearchParams)(),[Se,St]=(0,a.useState)(),[tn,gt]=(0,a.useState)(),[Xe,qe]=(0,a.useState)(),[Ge,ke]=(0,a.useState)(""),[ce,pe]=(0,a.useState)("380rem"),me=(0,a.useRef)(tn),we=(0,a.useRef)(),[Ye,bt]=(0,a.useState)("");Ze.get("educoder_session")&&(0,Je.d8)("_educoder_session",Ze.get("educoder_session"),30),(0,a.useEffect)(()=>{Se!=null&&Se.WebofficeURL&&Ft()},[Se]),(0,a.useEffect)(()=>{if(Kt(),localStorage.userInfo)try{JSON.parse(localStorage.userInfo).real_name!=="\u6E38\u5BA2"&&(we.current=document.createElement("meta"),we.current.name="viewport",we.current.content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no",document.head.appendChild(we.current))}catch($t){}return()=>{document.head.removeChild(we.current)}},[]),(0,a.useEffect)(()=>{if(tn!=null&&tn.is_end&&!(Se!=null&&Se.IsCreator)){let $t=JSON.parse(sessionStorage.getItem("endPPTIds"))||[];$t&&($t!=null&&$t.includes(Ze.get("id")))||(h.ZP.info("\u672C\u6B21\u6388\u8BFE\u5DF2\u7ED3\u675F\uFF0C\u611F\u8C22\u60A8\u7684\u53C2\u4E0E\uFF01"),($t==null?void 0:$t.length)===0?$t=[Ze.get("id")]:$t.push(Ze.get("id")),sessionStorage.setItem("endPPTIds",JSON.stringify($t)))}},[tn==null?void 0:tn.is_end,Se]),(0,a.useEffect)(()=>{if(tn!=null&&tn.enable_extra&&!(tn!=null&&tn.is_end)){let $t=JSON.parse(localStorage.getItem("extraPPTIds"))||[];$t&&!($t!=null&&$t.includes(Ze.get("id")))&&Ke.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,maskClosable:!1,keyboard:!1,closable:!1,cancelButtonProps:{style:{display:"none"}},title:"\u63D0\u793A",content:"\u606D\u559C\u4F60\u5DF2\u5B8C\u6210\u6240\u6709\u57FA\u7840\u4E60\u9898\uFF01\u8001\u5E08\u8FD8\u51C6\u5907\u4E86\u62D3\u5C55\u4E60\u9898\uFF0C\u53EF\u4EE5\u5F00\u59CB\u6311\u6218\u4E86\u54E6\uFF01",onOk:()=>je(void 0,null,function*(){($t==null?void 0:$t.length)===0?$t=[Ze.get("id")]:$t.push(Ze.get("id")),localStorage.setItem("extraPPTIds",JSON.stringify($t))})})}},[tn==null?void 0:tn.enable_extra]),(0,a.useEffect)(()=>{(tn==null?void 0:tn.is_end)===!1&&(Se==null?void 0:Se.Status)=="in_progress"&&Dt()},[tn==null?void 0:tn.is_end,Se]),(0,a.useEffect)(()=>{Xe&&jt(Xe)},[Xe]),(0,a.useEffect)(()=>{me.current=tn},[tn]);const Dt=()=>je(void 0,null,function*(){const $t=yield(0,ee.ZP)(`/api/courses/${Ze.get("course_id")}/smart_plans/${Ze.get("id")}/start_class.json`,{method:"post"})});(0,a.useEffect)(()=>{var $t;(($t=Me==null?void 0:Me.userInfo)==null?void 0:$t.real_name)==="\u6E38\u5BA2"&&nt({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!1}})},[Me==null?void 0:Me.userInfo]);function jt($t){return je(this,null,function*(){yield re.current.ready();const bn=re.current.Application;bn.ActivePresentation.SlideShowWindow.View.GotoSlide($t),yield(yield bn.ActivePresentation.SlideShowSettings).Run()})}function Kt(){return je(this,null,function*(){var $t;const bn=yield(0,ee.ZP)(`/api/courses/${Ze.get("course_id")}/smart_plans/${Ze.get("id")}/get_office_token.json`,{method:"get",params:{is_student:!0}}),Jt=(($t=bn==null?void 0:bn.data)==null?void 0:$t.FileName)||"";document.title=Jt,St(bn==null?void 0:bn.data),Ht()})}function Ht(){return je(this,null,function*(){var $t,bn;try{const Jt=yield(0,ee.ZP)(`/api/courses/${Ze.get("course_id")}/smart_plans/${Ze.get("id")}/set_page_cache.json`,{method:"post",body:{type:1}});($t=Jt==null?void 0:Jt.data)!=null&&$t.page&&qe((bn=Jt==null?void 0:Jt.data)==null?void 0:bn.page),gt(Jt==null?void 0:Jt.data)}catch(Jt){}setTimeout(()=>{var Jt;((Jt=me.current)==null?void 0:Jt.is_end)===!1&&Ht()},1e3)})}function Ft(){return je(this,null,function*(){var $t=document.getElementById("weboffice-zone");re.current=T().config({mount:$t,url:Se.WebofficeURL,refreshToken:Gt}),re.current.setToken({token:Se.AccessToken,timeout:25*60*1e3}),Yt()})}function Gt(){return new Promise(function($t){return je(this,null,function*(){const bn=yield(0,ee.ZP)(`/api/courses/${Ze.get("course_id")}/smart_plans/${Ze.get("id")}/refresh_office_token.json`,{method:"get",access_token:Se==null?void 0:Se.AccessToken,refresh_token:Se==null?void 0:Se.RefreshToken});$t(bn==null?void 0:bn.data)})})}function Yt(){return je(this,null,function*(){yield re.current.ready();const $t=re.current.Application;console.log("app:",$t);const un=yield(yield(yield $t.ActivePresentation).Slides).Count;console.log("count:",un);const mn=yield $t.ActivePresentation.SlideShowWindow.View.Slide.SlideIndex;console.log("curryPage:",mn),ke(mn);try{$t.Sub.SlideSelectionChanged=vn=>je(this,null,function*(){console.log("\u5207\u6362\u540E\u7684\u9875\u7801\uFF1A",vn),ke(vn)})}catch(vn){console.error("\u4E8B\u4EF6\u7ED1\u5B9A\u51FA\u9519:",vn)}$t.Sub.SlideShowEnd=()=>je(this,null,function*(){pe("380rem")});const hn=yield $t.ActivePresentation.ExportAsFixedFormat({FixedFormatType:$t.Enum.PpFixedFormatType.ppFixedFormatTypeIMG,From:1,To:1});console.log(hn),bt(hn),setTimeout(()=>je(this,null,function*(){yield(yield $t.ActivePresentation.SlideShowSettings).Run()}),500)})}return a.createElement("div",null,a.createElement("div",{id:"weboffice-zone",style:{height:ce}}),a.createElement(He,{pageCache:tn,pageNum:Ge,officeToken:Se,aiImg:Ye}))};var Qe=(0,b.connect)(({user:Me,classroomList:Pe,loading:Le,globalSetting:ht})=>({user:Me,classroomList:Pe,globalSetting:ht,loading:Le.effects}))(_e)},24768:function(k,p,o){"use strict";o.d(p,{AL:function(){return B},Iy:function(){return U},Qv:function(){return C},ez:function(){return F},jb:function(){return v}});var a=o(32834),y=o.n(a),T=o(11690),b=o.n(T);let _=1;function h(se,Ee){const he=se.match(/^(\s+)(?:```)/);if(he===null)return Ee;const ve=he[1];return Ee.split(`
`).map(J=>{const Z=J.match(/^\s+/);if(Z===null)return J;const[ie]=Z;return ie.length>=ve.length?J.slice(ve.length):J}).join(`
`)}let j=[],G=["<ul>"];const u=new(y()).Renderer,Q=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function U(){j.length=0,G=["<ul>"]}const v={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function I(se,Ee,he,ve){if(Ee>=se.length||se[Ee].level<=he)return Ee;var J=se[Ee];ve.push("<li><a href='#"+_+J.anchor+"'>"+J.text+"</a>"),Ee++;var Z=[];return Ee=I(se,Ee,J.level,Z),Z.length>0&&(ve.push("<ul>"),Z.forEach(function(ie){ve.push(ie)}),ve.push("</ul>")),ve.push("</li>"),Ee=I(se,Ee,he,ve),Ee}function C(){return I(j,0,0,G),G.push("</ul>"),G.join("")}const P={heading(se){const Ee=Q.exec(se);if(_+=1,Ee)return{type:"heading",raw:Ee[0],depth:Ee[1].length,text:Ee[2]}},fences(se){const Ee=this.rules.block.fences.exec(se);if(Ee){const he=Ee[0];let ve=h(he,Ee[3]||"");const J=Ee[2]?Ee[2].trim():Ee[2];if(["latex","katex","math"].indexOf(J)>=0){const Z=z(),ie=ve;ve=Z,N[Z]={type:"block",expression:ie}}return{type:"code",raw:he,lang:J,text:ve}}}},X=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let V=0;const z=()=>`__special_katext_id_${V++}__`;let N={};function F(){return N}function B(){V=0,N={}}function W(se){return se=se.replace(X,(Ee,he)=>{const ve=z();return N[ve]={type:"inline",expression:he},ve}),se}const H=u.listitem;u.listitem=function(se){return H(W(se))};const le=u.paragraph;u.paragraph=function(se){return le(W(se))};const te=u.tablecell;u.tablecell=function(se,Ee){return te(W(se),Ee)},u.code=function(se,Ee,he){const ve=(Ee||"").match(/\S*/)[0];return ve?["latex","katex","math"].indexOf(ve)>=0?`<p class='editormd-tex'>${se}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ee}">${he?se:(0,T.escape)(se,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(he?se:(0,T.escape)(se,!0))+"</code></pre>"},u.heading=function(se,Ee,he){let ve=this.options.headerPrefix+he.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return j.push({anchor:ve,level:Ee,text:se}),"<h"+Ee+' id="'+_+ve+'">'+se+"</h"+Ee+">"},y().setOptions({silent:!0,gfm:!0,pedantic:!1}),y().use({tokenizer:P,renderer:u}),p.ZP=y()},64018:function(){var k,p,o,a=!1,y,T;window.PR_SHOULD_USE_CONTINUATION=!0;var b,_;(function(){var h=window,j=["break,continue,do,else,for,if,return,while"],G=[j,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],u=[G,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],Q=[u,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],U=[u,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],v=[u,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],I="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",C=[u,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],P="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",X=[j,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],V=[j,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],z=[j,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],N=[Q,v,U,C,P,X,V,z],F=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",W="kwd",H="com",le="typ",te="lit",se="pun",Ee="pln",he="tag",ve="dec",J="src",Z="atn",ie="atv",ue="nocode",fe="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ae(tt){for(var Be=0,Oe=!1,Ue=!1,$e=0,ee=tt.length;$e<ee;++$e){var ye=tt[$e];if(ye.ignoreCase)Ue=!0;else if(/[a-z]/i.test(ye.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){Oe=!0,Ue=!1;break}}var Ne={b:8,t:9,n:10,v:11,f:12,r:13};function Ie(je){var _e=je.charCodeAt(0);if(_e!==92)return _e;var Qe=je.charAt(1);return _e=Ne[Qe],_e||("0"<=Qe&&Qe<="7"?parseInt(je.substring(1),8):Qe==="u"||Qe==="x"?parseInt(je.substring(2),16):je.charCodeAt(1))}function ze(je){if(je<32)return(je<16?"\\x0":"\\x")+je.toString(16);var _e=String.fromCharCode(je);return _e==="\\"||_e==="-"||_e==="]"||_e==="^"?"\\"+_e:_e}function He(je){var _e=je.substring(1,je.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Qe=[],Me=_e[0]==="^",Pe=["["];Me&&Pe.push("^");for(var Le=Me?1:0,ht=_e.length;Le<ht;++Le){var nt=_e[Le];if(/\\[bdsw]/i.test(nt))Pe.push(nt);else{var re=Ie(nt),ut;Le+2<ht&&_e[Le+1]==="-"?(ut=Ie(_e[Le+2]),Le+=2):ut=re,Qe.push([re,ut]),ut<65||re>122||(ut<65||re>90||Qe.push([Math.max(65,re)|32,Math.min(ut,90)|32]),ut<97||re>122||Qe.push([Math.max(97,re)&-33,Math.min(ut,122)&-33]))}}Qe.sort(function(tn,gt){return tn[0]-gt[0]||gt[1]-tn[1]});for(var Ze=[],Se=[],Le=0;Le<Qe.length;++Le){var St=Qe[Le];St[0]<=Se[1]+1?Se[1]=Math.max(Se[1],St[1]):Ze.push(Se=St)}for(var Le=0;Le<Ze.length;++Le){var St=Ze[Le];Pe.push(ze(St[0])),St[1]>St[0]&&(St[1]+1>St[0]&&Pe.push("-"),Pe.push(ze(St[1])))}return Pe.push("]"),Pe.join("")}function Je(je){for(var _e=je.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Qe=_e.length,Me=[],Pe=0,Le=0;Pe<Qe;++Pe){var ht=_e[Pe];if(ht==="(")++Le;else if(ht.charAt(0)==="\\"){var nt=+ht.substring(1);nt&&(nt<=Le?Me[nt]=-1:_e[Pe]=ze(nt))}}for(var Pe=1;Pe<Me.length;++Pe)Me[Pe]===-1&&(Me[Pe]=++Be);for(var Pe=0,Le=0;Pe<Qe;++Pe){var ht=_e[Pe];if(ht==="(")++Le,Me[Le]||(_e[Pe]="(?:");else if(ht.charAt(0)==="\\"){var nt=+ht.substring(1);nt&&nt<=Le&&(_e[Pe]="\\"+Me[nt])}}for(var Pe=0;Pe<Qe;++Pe)_e[Pe]==="^"&&_e[Pe+1]!=="^"&&(_e[Pe]="");if(je.ignoreCase&&Oe)for(var Pe=0;Pe<Qe;++Pe){var ht=_e[Pe],re=ht.charAt(0);ht.length>=2&&re==="["?_e[Pe]=He(ht):re!=="\\"&&(_e[Pe]=ht.replace(/[a-zA-Z]/g,function(Se){var St=Se.charCodeAt(0);return"["+String.fromCharCode(St&-33,St|32)+"]"}))}return _e.join("")}for(var Ke=[],$e=0,ee=tt.length;$e<ee;++$e){var ye=tt[$e];if(ye.global||ye.multiline)throw new Error(""+ye);Ke.push("(?:"+Je(ye)+")")}return new RegExp(Ke.join("|"),Ue?"gi":"g")}function w(tt,Be){var Oe=/(?:^|\s)nocode(?:\s|$)/,Ue=[],$e=0,ee=[],ye=0;function Ne(Ie){var ze=Ie.nodeType;if(ze==1){if(Oe.test(Ie.className))return;for(var He=Ie.firstChild;He;He=He.nextSibling)Ne(He);var Je=Ie.nodeName.toLowerCase();(Je==="br"||Je==="li")&&(Ue[ye]=`
`,ee[ye<<1]=$e++,ee[ye++<<1|1]=Ie)}else if(ze==3||ze==4){var Ke=Ie.nodeValue;Ke.length&&(Be?Ke=Ke.replace(/\r\n?/g,`
`):Ke=Ke.replace(/[ \t\r\n]+/g," "),Ue[ye]=Ke,ee[ye<<1]=$e,$e+=Ke.length,ee[ye++<<1|1]=Ie)}}return Ne(tt),{sourceCode:Ue.join("").replace(/\n$/,""),spans:ee}}function L(tt,Be,Oe,Ue,$e){if(Oe){var ee={sourceNode:tt,pre:1,langExtension:null,numberLines:null,sourceCode:Oe,spans:null,basePos:Be,decorations:null};Ue(ee),$e.push.apply($e,ee.decorations)}}var oe=/\S/;function M(tt){for(var Be=void 0,Oe=tt.firstChild;Oe;Oe=Oe.nextSibling){var Ue=Oe.nodeType;Be=Ue===1?Be?tt:Oe:Ue===3&&oe.test(Oe.nodeValue)?tt:Be}return Be===tt?void 0:Be}function De(tt,Be){var Oe={},Ue;(function(){for(var ye=tt.concat(Be),Ne=[],Ie={},ze=0,He=ye.length;ze<He;++ze){var Je=ye[ze],Ke=Je[3];if(Ke)for(var je=Ke.length;--je>=0;)Oe[Ke.charAt(je)]=Je;var _e=Je[1],Qe=""+_e;Ie.hasOwnProperty(Qe)||(Ne.push(_e),Ie[Qe]=null)}Ne.push(/[\0-\uffff]/),Ue=ae(Ne)})();var $e=Be.length,ee=function(ye){for(var Ne=ye.sourceCode,Ie=ye.basePos,ze=ye.sourceNode,He=[Ie,Ee],Je=0,Ke=Ne.match(Ue)||[],je={},_e=0,Qe=Ke.length;_e<Qe;++_e){var Me=Ke[_e],Pe=je[Me],Le=void 0,ht;if(typeof Pe=="string")ht=!1;else{var nt=Oe[Me.charAt(0)];if(nt)Le=Me.match(nt[1]),Pe=nt[0];else{for(var re=0;re<$e;++re)if(nt=Be[re],Le=Me.match(nt[1]),Le){Pe=nt[0];break}Le||(Pe=Ee)}ht=Pe.length>=5&&Pe.substring(0,5)==="lang-",ht&&!(Le&&typeof Le[1]=="string")&&(ht=!1,Pe=J),ht||(je[Me]=Pe)}var ut=Je;if(Je+=Me.length,!ht)He.push(Ie+ut,Pe);else{var Ze=Le[1],Se=Me.indexOf(Ze),St=Se+Ze.length;Le[2]&&(St=Me.length-Le[2].length,Se=St-Ze.length);var tn=Pe.substring(5);L(ze,Ie+ut,Me.substring(0,Se),ee,He),L(ze,Ie+ut+Se,Ze,zt(tn,Ze),He),L(ze,Ie+ut+St,Me.substring(St),ee,He)}}ye.decorations=He};return ee}function Fe(tt){var Be=[],Oe=[];tt.tripleQuotedStrings?Be.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):tt.multiLineStrings?Be.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Be.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),tt.verbatimStrings&&Oe.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Ue=tt.hashComments;Ue&&(tt.cStyleComments?(Ue>1?Be.push([H,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Be.push([H,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),Oe.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Be.push([H,/^#[^\r\n]*/,null,"#"])),tt.cStyleComments&&(Oe.push([H,/^\/\/[^\r\n]*/,null]),Oe.push([H,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var $e=tt.regexLiterals;if($e){var ee=$e>1?"":`
\r`,ye=ee?".":"[\\S\\s]",Ne="/(?=[^/*"+ee+"])(?:[^/\\x5B\\x5C"+ee+"]|\\x5C"+ye+"|\\x5B(?:[^\\x5C\\x5D"+ee+"]|\\x5C"+ye+")*(?:\\x5D|$))+/";Oe.push(["lang-regex",RegExp("^"+fe+"("+Ne+")")])}var Ie=tt.types;Ie&&Oe.push([le,Ie]);var ze=(""+tt.keywords).replace(/^ | $/g,"");ze.length&&Oe.push([W,new RegExp("^(?:"+ze.replace(/[\s,]+/g,"|")+")\\b"),null]),Be.push([Ee,/^\s+/,null,` \r
\xA0`]);var He="^.[^\\s\\w.$@'\"`/\\\\]*";return tt.regexLiterals&&(He+="(?!s*/)"),Oe.push([te,/^@[a-z_$][a-z_$@0-9]*/i,null],[le,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[Ee,/^[a-z_$][a-z_$@0-9]*/i,null],[te,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[Ee,/^\\[\s\S]?/,null],[se,new RegExp(He),null]),De(Be,Oe)}var Re=Fe({keywords:N,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function dt(tt,Be,Oe){for(var Ue=/(?:^|\s)nocode(?:\s|$)/,$e=/\r\n?|\n/,ee=tt.ownerDocument,ye=ee.createElement("li");tt.firstChild;)ye.appendChild(tt.firstChild);var Ne=[ye];function Ie(_e){var Qe=_e.nodeType;if(Qe==1&&!Ue.test(_e.className))if(_e.nodeName==="br")ze(_e),_e.parentNode&&_e.parentNode.removeChild(_e);else for(var Me=_e.firstChild;Me;Me=Me.nextSibling)Ie(Me);else if((Qe==3||Qe==4)&&Oe){var Pe=_e.nodeValue,Le=Pe.match($e);if(Le){var ht=Pe.substring(0,Le.index);_e.nodeValue=ht;var nt=Pe.substring(Le.index+Le[0].length);if(nt){var re=_e.parentNode;re.insertBefore(ee.createTextNode(nt),_e.nextSibling)}ze(_e),ht||_e.parentNode.removeChild(_e)}}}function ze(_e){for(;!_e.nextSibling;)if(_e=_e.parentNode,!_e)return;function Qe(Le,ht){var nt=ht?Le.cloneNode(!1):Le,re=Le.parentNode;if(re){var ut=Qe(re,1),Ze=Le.nextSibling;ut.appendChild(nt);for(var Se=Ze;Se;Se=Ze)Ze=Se.nextSibling,ut.appendChild(Se)}return nt}for(var Me=Qe(_e.nextSibling,0),Pe;(Pe=Me.parentNode)&&Pe.nodeType===1;)Me=Pe;Ne.push(Me)}for(var He=0;He<Ne.length;++He)Ie(Ne[He]);Be===(Be|0)&&Ne[0].setAttribute("value",Be);var Je=ee.createElement("ol");Je.className="linenums";for(var Ke=Math.max(0,Be-1|0)||0,He=0,je=Ne.length;He<je;++He)ye=Ne[He],ye.className="L"+(He+Ke)%10,ye.firstChild||ye.appendChild(ee.createTextNode("\xA0")),Je.appendChild(ye);tt.appendChild(Je)}function st(tt){var Be=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Be=Be&&+Be[1]<=8;var Oe=/\n/g,Ue=tt.sourceCode,$e=Ue.length,ee=0,ye=tt.spans,Ne=ye.length,Ie=0,ze=tt.decorations,He=ze.length,Je=0;ze[He]=$e;var Ke,je;for(je=Ke=0;je<He;)ze[je]!==ze[je+2]?(ze[Ke++]=ze[je++],ze[Ke++]=ze[je++]):je+=2;for(He=Ke,je=Ke=0;je<He;){for(var _e=ze[je],Qe=ze[je+1],Me=je+2;Me+2<=He&&ze[Me+1]===Qe;)Me+=2;ze[Ke++]=_e,ze[Ke++]=Qe,je=Me}He=ze.length=Ke;var Pe=tt.sourceNode,Le="";Pe&&(Le=Pe.style.display,Pe.style.display="none");try{for(var ht=null;Ie<Ne;){var nt=ye[Ie],re=ye[Ie+2]||$e,ut=ze[Je+2]||$e,Me=Math.min(re,ut),Ze=ye[Ie+1],Se;if(Ze.nodeType!==1&&(Se=Ue.substring(ee,Me))){Be&&(Se=Se.replace(Oe,"\r")),Ze.nodeValue=Se;var St=Ze.ownerDocument,tn=St.createElement("span");tn.className=ze[Je+1];var gt=Ze.parentNode;gt.replaceChild(tn,Ze),tn.appendChild(Ze),ee<re&&(ye[Ie+1]=Ze=St.createTextNode(Ue.substring(Me,re)),gt.insertBefore(Ze,tn.nextSibling))}ee=Me,ee>=re&&(Ie+=2),ee>=ut&&(Je+=2)}}finally{Pe&&(Pe.style.display=Le)}}var it={};function lt(tt,Be){for(var Oe=Be.length;--Oe>=0;){var Ue=Be[Oe];it.hasOwnProperty(Ue)?h.console&&console.warn("cannot override language handler %s",Ue):it[Ue]=tt}}function zt(tt,Be){return tt&&it.hasOwnProperty(tt)||(tt=/^\s*</.test(Be)?"default-markup":"default-code"),it[tt]}lt(Re,["default-code"]),lt(De([],[[Ee,/^[^<?]+/],[ve,/^<!\w[^>]*(?:>|$)/],[H,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[se,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),lt(De([[Ee,/^[\s]+/,null,` \r
`],[ie,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[he,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Z,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[se,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),lt(De([],[[ie,/^[\s\S]+/]]),["uq.val"]),lt(Fe({keywords:Q,hashComments:!0,cStyleComments:!0,types:F}),["c","cc","cpp","cxx","cyc","m"]),lt(Fe({keywords:"null,true,false"}),["json"]),lt(Fe({keywords:v,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:F}),["cs"]),lt(Fe({keywords:U,cStyleComments:!0}),["java"]),lt(Fe({keywords:z,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),lt(Fe({keywords:X,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),lt(Fe({keywords:P,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),lt(Fe({keywords:V,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),lt(Fe({keywords:C,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),lt(Fe({keywords:I,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),lt(De([],[[B,/^[\s\S]+/]]),["regex"]);function nn(tt){var Be=tt.langExtension;try{var Oe=w(tt.sourceNode,tt.pre),Ue=Oe.sourceCode;tt.sourceCode=Ue,tt.spans=Oe.spans,tt.basePos=0,zt(Be,Ue)(tt),st(tt)}catch($e){h.console&&console.log($e&&$e.stack||$e)}}function Mt(tt,Be,Oe){var Ue=Oe||!1,$e=Be||null,ee=document.createElement("div");ee.innerHTML="<pre>"+tt+"</pre>",ee=ee.firstChild,Ue&&dt(ee,Ue,!0);var ye={langExtension:$e,numberLines:Ue,sourceNode:ee,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return nn(ye),ee.innerHTML}function en(tt,Be){var Oe=Be||document.body,Ue=Oe.ownerDocument||document;function $e(nt){return Oe.getElementsByTagName(nt)}for(var ee=[$e("pre"),$e("code"),$e("xmp")],ye=[],Ne=0;Ne<ee.length;++Ne)for(var Ie=0,ze=ee[Ne].length;Ie<ze;++Ie)ye.push(ee[Ne][Ie]);ee=null;var He=Date;He.now||(He={now:function(){return+new Date}});var Je=0,Ke=/\blang(?:uage)?-([\w.]+)(?!\S)/,je=/\bprettyprint\b/,_e=/\bprettyprinted\b/,Qe=/pre|xmp/i,Me=/^code$/i,Pe=/^(?:pre|code|xmp)$/i,Le={};function ht(){for(var nt=h.PR_SHOULD_USE_CONTINUATION?He.now()+250:1/0;Je<ye.length&&He.now()<nt;Je++){for(var re=ye[Je],ut=Le,Ze=re;Ze=Ze.previousSibling;){var Se=Ze.nodeType,St=(Se===7||Se===8)&&Ze.nodeValue;if(St?!/^\??prettify\b/.test(St):Se!==3||/\S/.test(Ze.nodeValue))break;if(St){ut={},St.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Dt,jt,Kt){ut[jt]=Kt});break}}var tn=re.className;if((ut!==Le||je.test(tn))&&!_e.test(tn)){for(var gt=!1,Xe=re.parentNode;Xe;Xe=Xe.parentNode){var qe=Xe.tagName;if(Pe.test(qe)&&Xe.className&&je.test(Xe.className)){gt=!0;break}}if(!gt){re.className+=" prettyprinted";var Ge=ut.lang;if(!Ge){Ge=tn.match(Ke);var ke;!Ge&&(ke=M(re))&&Me.test(ke.tagName)&&(Ge=ke.className.match(Ke)),Ge&&(Ge=Ge[1])}var ce;if(Qe.test(re.tagName))ce=1;else{var pe=re.currentStyle,me=Ue.defaultView,we=pe?pe.whiteSpace:me&&me.getComputedStyle?me.getComputedStyle(re,null).getPropertyValue("white-space"):0;ce=we&&we.substring(0,3)==="pre"}var Ye=ut.linenums;(Ye=Ye==="true"||+Ye)||(Ye=tn.match(/\blinenums\b(?::(\d+))?/),Ye=Ye?Ye[1]&&Ye[1].length?+Ye[1]:!0:!1),Ye&&dt(re,Ye,ce);var bt={langExtension:Ge,sourceNode:re,numberLines:Ye,pre:ce,sourceCode:null,basePos:null,spans:null,decorations:null};nn(bt)}}}Je<ye.length?h.setTimeout(ht,250):typeof tt=="function"&&tt()}ht()}var rn=h.PR={createSimpleLexer:De,registerLangHandler:lt,sourceDecorator:Fe,PR_ATTRIB_NAME:Z,PR_ATTRIB_VALUE:ie,PR_COMMENT:H,PR_DECLARATION:ve,PR_KEYWORD:W,PR_LITERAL:te,PR_NOCODE:ue,PR_PLAIN:Ee,PR_PUNCTUATION:se,PR_SOURCE:J,PR_STRING:B,PR_TAG:he,PR_TYPE:le,prettyPrintOne:a?h.prettyPrintOne=Mt:b=Mt,prettyPrint:_=a?h.prettyPrint=en:_=en},rt=h.define;typeof rt=="function"&&rt.amd&&rt("google-code-prettify",[],function(){return rn})})()},58951:function(k,p){"use strict";var o;p.Q=b,o=_;var a=",",y=" ",T="";function b(h){for(var j=[],G=String(h||T),u=G.indexOf(a),Q=0,U=!1,v;!U;)u===-1&&(u=G.length,U=!0),v=G.slice(Q,u).trim(),(v||!U)&&j.push(v),Q=u+1,u=G.indexOf(a,Q);return j}function _(h,j){var G=j||{},u=G.padLeft===!1?T:y,Q=G.padRight?y:T;return h[h.length-1]===T&&(h=h.concat(T)),h.join(Q+a+u).trim()}},25769:function(k,p,o){"use strict";var a=o(98040),y={"text/plain":"Text","text/html":"Url",default:"Text"},T="Copy to clipboard: #{key}, Enter";function b(h){var j=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return h.replace(/#{\s*key\s*}/g,j)}function _(h,j){var G,u,Q,U,v,I,C=!1;j||(j={}),G=j.debug||!1;try{Q=a(),U=document.createRange(),v=document.getSelection(),I=document.createElement("span"),I.textContent=h,I.ariaHidden="true",I.style.all="unset",I.style.position="fixed",I.style.top=0,I.style.clip="rect(0, 0, 0, 0)",I.style.whiteSpace="pre",I.style.webkitUserSelect="text",I.style.MozUserSelect="text",I.style.msUserSelect="text",I.style.userSelect="text",I.addEventListener("copy",function(X){if(X.stopPropagation(),j.format)if(X.preventDefault(),typeof X.clipboardData=="undefined"){G&&console.warn("unable to use e.clipboardData"),G&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var V=y[j.format]||y.default;window.clipboardData.setData(V,h)}else X.clipboardData.clearData(),X.clipboardData.setData(j.format,h);j.onCopy&&(X.preventDefault(),j.onCopy(X.clipboardData))}),document.body.appendChild(I),U.selectNodeContents(I),v.addRange(U);var P=document.execCommand("copy");if(!P)throw new Error("copy command was unsuccessful");C=!0}catch(X){G&&console.error("unable to copy using execCommand: ",X),G&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(j.format||"text",h),j.onCopy&&j.onCopy(window.clipboardData),C=!0}catch(V){G&&console.error("unable to copy using clipboardData: ",V),G&&console.error("falling back to prompt"),u=b("message"in j?j.message:T),window.prompt(u,h)}}finally{v&&(typeof v.removeRange=="function"?v.removeRange(U):v.removeAllRanges()),I&&document.body.removeChild(I),Q()}return C}k.exports=_},86204:function(k){"use strict";var p=typeof Reflect=="object"?Reflect:null,o=p&&typeof p.apply=="function"?p.apply:function(F,B,W){return Function.prototype.apply.call(F,B,W)},a;p&&typeof p.ownKeys=="function"?a=p.ownKeys:Object.getOwnPropertySymbols?a=function(F){return Object.getOwnPropertyNames(F).concat(Object.getOwnPropertySymbols(F))}:a=function(F){return Object.getOwnPropertyNames(F)};function y(N){console&&console.warn&&console.warn(N)}var T=Number.isNaN||function(F){return F!==F};function b(){b.init.call(this)}k.exports=b,k.exports.once=X,b.EventEmitter=b,b.prototype._events=void 0,b.prototype._eventsCount=0,b.prototype._maxListeners=void 0;var _=10;function h(N){if(typeof N!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof N)}Object.defineProperty(b,"defaultMaxListeners",{enumerable:!0,get:function(){return _},set:function(N){if(typeof N!="number"||N<0||T(N))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+N+".");_=N}}),b.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},b.prototype.setMaxListeners=function(F){if(typeof F!="number"||F<0||T(F))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+F+".");return this._maxListeners=F,this};function j(N){return N._maxListeners===void 0?b.defaultMaxListeners:N._maxListeners}b.prototype.getMaxListeners=function(){return j(this)},b.prototype.emit=function(F){for(var B=[],W=1;W<arguments.length;W++)B.push(arguments[W]);var H=F==="error",le=this._events;if(le!==void 0)H=H&&le.error===void 0;else if(!H)return!1;if(H){var te;if(B.length>0&&(te=B[0]),te instanceof Error)throw te;var se=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw se.context=te,se}var Ee=le[F];if(Ee===void 0)return!1;if(typeof Ee=="function")o(Ee,this,B);else for(var he=Ee.length,ve=I(Ee,he),W=0;W<he;++W)o(ve[W],this,B);return!0};function G(N,F,B,W){var H,le,te;if(h(B),le=N._events,le===void 0?(le=N._events=Object.create(null),N._eventsCount=0):(le.newListener!==void 0&&(N.emit("newListener",F,B.listener?B.listener:B),le=N._events),te=le[F]),te===void 0)te=le[F]=B,++N._eventsCount;else if(typeof te=="function"?te=le[F]=W?[B,te]:[te,B]:W?te.unshift(B):te.push(B),H=j(N),H>0&&te.length>H&&!te.warned){te.warned=!0;var se=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(F)+" listeners added. Use emitter.setMaxListeners() to increase limit");se.name="MaxListenersExceededWarning",se.emitter=N,se.type=F,se.count=te.length,y(se)}return N}b.prototype.addListener=function(F,B){return G(this,F,B,!1)},b.prototype.on=b.prototype.addListener,b.prototype.prependListener=function(F,B){return G(this,F,B,!0)};function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Q(N,F,B){var W={fired:!1,wrapFn:void 0,target:N,type:F,listener:B},H=u.bind(W);return H.listener=B,W.wrapFn=H,H}b.prototype.once=function(F,B){return h(B),this.on(F,Q(this,F,B)),this},b.prototype.prependOnceListener=function(F,B){return h(B),this.prependListener(F,Q(this,F,B)),this},b.prototype.removeListener=function(F,B){var W,H,le,te,se;if(h(B),H=this._events,H===void 0)return this;if(W=H[F],W===void 0)return this;if(W===B||W.listener===B)--this._eventsCount===0?this._events=Object.create(null):(delete H[F],H.removeListener&&this.emit("removeListener",F,W.listener||B));else if(typeof W!="function"){for(le=-1,te=W.length-1;te>=0;te--)if(W[te]===B||W[te].listener===B){se=W[te].listener,le=te;break}if(le<0)return this;le===0?W.shift():C(W,le),W.length===1&&(H[F]=W[0]),H.removeListener!==void 0&&this.emit("removeListener",F,se||B)}return this},b.prototype.off=b.prototype.removeListener,b.prototype.removeAllListeners=function(F){var B,W,H;if(W=this._events,W===void 0)return this;if(W.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):W[F]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete W[F]),this;if(arguments.length===0){var le=Object.keys(W),te;for(H=0;H<le.length;++H)te=le[H],te!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(B=W[F],typeof B=="function")this.removeListener(F,B);else if(B!==void 0)for(H=B.length-1;H>=0;H--)this.removeListener(F,B[H]);return this};function U(N,F,B){var W=N._events;if(W===void 0)return[];var H=W[F];return H===void 0?[]:typeof H=="function"?B?[H.listener||H]:[H]:B?P(H):I(H,H.length)}b.prototype.listeners=function(F){return U(this,F,!0)},b.prototype.rawListeners=function(F){return U(this,F,!1)},b.listenerCount=function(N,F){return typeof N.listenerCount=="function"?N.listenerCount(F):v.call(N,F)},b.prototype.listenerCount=v;function v(N){var F=this._events;if(F!==void 0){var B=F[N];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}b.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]};function I(N,F){for(var B=new Array(F),W=0;W<F;++W)B[W]=N[W];return B}function C(N,F){for(;F+1<N.length;F++)N[F]=N[F+1];N.pop()}function P(N){for(var F=new Array(N.length),B=0;B<F.length;++B)F[B]=N[B].listener||N[B];return F}function X(N,F){return new Promise(function(B,W){function H(te){N.removeListener(F,le),W(te)}function le(){typeof N.removeListener=="function"&&N.removeListener("error",H),B([].slice.call(arguments))}z(N,F,le,{once:!0}),F!=="error"&&V(N,H,{once:!0})})}function V(N,F,B){typeof N.on=="function"&&z(N,"error",F,B)}function z(N,F,B,W){if(typeof N.on=="function")W.once?N.once(F,B):N.on(F,B);else if(typeof N.addEventListener=="function")N.addEventListener(F,function H(le){W.once&&N.removeEventListener(F,H),B(le)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof N)}},58847:function(k){"use strict";var p=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=Object.defineProperty,y=Object.getOwnPropertyDescriptor,T=function(G){return typeof Array.isArray=="function"?Array.isArray(G):o.call(G)==="[object Array]"},b=function(G){if(!G||o.call(G)!=="[object Object]")return!1;var u=p.call(G,"constructor"),Q=G.constructor&&G.constructor.prototype&&p.call(G.constructor.prototype,"isPrototypeOf");if(G.constructor&&!u&&!Q)return!1;var U;for(U in G);return typeof U=="undefined"||p.call(G,U)},_=function(G,u){a&&u.name==="__proto__"?a(G,u.name,{enumerable:!0,configurable:!0,value:u.newValue,writable:!0}):G[u.name]=u.newValue},h=function(G,u){if(u==="__proto__")if(p.call(G,u)){if(y)return y(G,u).value}else return;return G[u]};k.exports=function j(){var G,u,Q,U,v,I,C=arguments[0],P=1,X=arguments.length,V=!1;for(typeof C=="boolean"&&(V=C,C=arguments[1]||{},P=2),(C==null||typeof C!="object"&&typeof C!="function")&&(C={});P<X;++P)if(G=arguments[P],G!=null)for(u in G)Q=h(C,u),U=h(G,u),C!==U&&(V&&U&&(b(U)||(v=T(U)))?(v?(v=!1,I=Q&&T(Q)?Q:[]):I=Q&&b(Q)?Q:{},_(C,{name:u,newValue:j(V,I,U)})):typeof U!="undefined"&&_(C,{name:u,newValue:U}));return C}},46963:function(k){"use strict";k.exports=o;var p=/[#.]/g;function o(a,y){for(var T=a||"",b=y||"div",_={},h=0,j,G,u;h<T.length;)p.lastIndex=h,u=p.exec(T),j=T.slice(h,u?u.index:T.length),j&&(G?G==="#"?_.id=j:_.className?_.className.push(j):_.className=[j]:b=j,h+=j.length),u&&(G=u[0],h++);return{type:"element",tagName:b,properties:_,children:[]}}},5641:function(k,p,o){"use strict";var a=o(88914),y=o(47178),T=o(46963),b=o(92848).Q,_=o(58951).Q;k.exports=j;var h={}.hasOwnProperty;function j(P,X,V){var z=V?C(V):null;return N;function N(B,W){var H=T(B,X),le=Array.prototype.slice.call(arguments,2),te=H.tagName.toLowerCase(),se;if(H.tagName=z&&h.call(z,te)?z[te]:te,W&&G(W,H)&&(le.unshift(W),W=null),W)for(se in W)F(H.properties,se,W[se]);return Q(H.children,le),H.tagName==="template"&&(H.content={type:"root",children:H.children},H.children=[]),H}function F(B,W,H){var le,te,se;H==null||H!==H||(le=a(P,W),te=le.property,se=H,typeof se=="string"&&(le.spaceSeparated?se=b(se):le.commaSeparated?se=_(se):le.commaOrSpaceSeparated&&(se=b(_(se).join(" ")))),te==="style"&&typeof H!="string"&&(se=I(se)),te==="className"&&B.className&&(se=B.className.concat(se)),B[te]=U(le,te,se))}}function G(P,X){return typeof P=="string"||"length"in P||u(X.tagName,P)}function u(P,X){var V=X.type;return P==="input"||!V||typeof V!="string"?!1:typeof X.children=="object"&&"length"in X.children?!0:(V=V.toLowerCase(),P==="button"?V!=="menu"&&V!=="submit"&&V!=="reset"&&V!=="button":"value"in X)}function Q(P,X){var V,z;if(typeof X=="string"||typeof X=="number"){P.push({type:"text",value:String(X)});return}if(typeof X=="object"&&"length"in X){for(V=-1,z=X.length;++V<z;)Q(P,X[V]);return}if(typeof X!="object"||!("type"in X))throw new Error("Expected node, nodes, or string, got `"+X+"`");P.push(X)}function U(P,X,V){var z,N,F;if(typeof V!="object"||!("length"in V))return v(P,X,V);for(N=V.length,z=-1,F=[];++z<N;)F[z]=v(P,X,V[z]);return F}function v(P,X,V){var z=V;return P.number||P.positiveNumber?!isNaN(z)&&z!==""&&(z=Number(z)):(P.boolean||P.overloadedBoolean)&&typeof z=="string"&&(z===""||y(V)===y(X))&&(z=!0),z}function I(P){var X=[],V;for(V in P)X.push([V,P[V]].join(": "));return X.join("; ")}function C(P){for(var X=P.length,V=-1,z={},N;++V<X;)N=P[V],z[N.toLowerCase()]=N;return z}},82073:function(k,p,o){"use strict";var a=o(18795),y=o(5641),T=y(a,"div");T.displayName="html",k.exports=T},43621:function(k,p,o){"use strict";k.exports=o(82073)},93193:function(k){var p=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o=/\n/g,a=/^\s*/,y=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,T=/^:\s*/,b=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_=/^[;\s]*/,h=/^\s+|\s+$/g,j=`
`,G="/",u="*",Q="",U="comment",v="declaration";k.exports=function(C,P){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];P=P||{};var X=1,V=1;function z(ve){var J=ve.match(o);J&&(X+=J.length);var Z=ve.lastIndexOf(j);V=~Z?ve.length-Z:V+ve.length}function N(){var ve={line:X,column:V};return function(J){return J.position=new F(ve),le(),J}}function F(ve){this.start=ve,this.end={line:X,column:V},this.source=P.source}F.prototype.content=C;var B=[];function W(ve){var J=new Error(P.source+":"+X+":"+V+": "+ve);if(J.reason=ve,J.filename=P.source,J.line=X,J.column=V,J.source=C,P.silent)B.push(J);else throw J}function H(ve){var J=ve.exec(C);if(J){var Z=J[0];return z(Z),C=C.slice(Z.length),J}}function le(){H(a)}function te(ve){var J;for(ve=ve||[];J=se();)J!==!1&&ve.push(J);return ve}function se(){var ve=N();if(!(G!=C.charAt(0)||u!=C.charAt(1))){for(var J=2;Q!=C.charAt(J)&&(u!=C.charAt(J)||G!=C.charAt(J+1));)++J;if(J+=2,Q===C.charAt(J-1))return W("End of comment missing");var Z=C.slice(2,J-2);return V+=2,z(Z),C=C.slice(J),V+=2,ve({type:U,comment:Z})}}function Ee(){var ve=N(),J=H(y);if(J){if(se(),!H(T))return W("property missing ':'");var Z=H(b),ie=ve({type:v,property:I(J[0].replace(p,Q)),value:Z?I(Z[0].replace(p,Q)):Q});return H(_),ie}}function he(){var ve=[];te(ve);for(var J;J=Ee();)J!==!1&&(ve.push(J),te(ve));return ve}return le(),he()};function I(C){return C?C.replace(h,Q):Q}},91241:function(k){"use strict";k.exports=p;function p(o){var a=typeof o=="string"?o.charCodeAt(0):o;return a>=97&&a<=122||a>=65&&a<=90}},21127:function(k,p,o){"use strict";var a=o(91241),y=o(22347);k.exports=T;function T(b){return a(b)||y(b)}},22347:function(k){"use strict";k.exports=p;function p(o){var a=typeof o=="string"?o.charCodeAt(0):o;return a>=48&&a<=57}},65207:function(k){"use strict";k.exports=p;function p(o){var a=typeof o=="string"?o.charCodeAt(0):o;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}},53184:function(k,p,o){"use strict";var a,y;function T(b,_,h){var j=function(G,u){return b.js_beautify(G,u)};return j.js=b.js_beautify,j.css=_.css_beautify,j.html=h.html_beautify,j.js_beautify=b.js_beautify,j.css_beautify=_.css_beautify,j.html_beautify=h.html_beautify,j}a=[o(58553),o(87804),o(40998)],y=function(b,_,h){return T(b,_,h)}.apply(p,a),y!==void 0&&(k.exports=y)},87804:function(k,p){var o,a;(function(){var y;(function(){"use strict";var b=[,,function(G){function u(v){this.__parent=v,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}u.prototype.clone_empty=function(){var v=new u(this.__parent);return v.set_indent(this.__indent_count,this.__alignment_count),v},u.prototype.item=function(v){return v<0?this.__items[this.__items.length+v]:this.__items[v]},u.prototype.has_match=function(v){for(var I=this.__items.length-1;I>=0;I--)if(this.__items[I].match(v))return!0;return!1},u.prototype.set_indent=function(v,I){this.is_empty()&&(this.__indent_count=v||0,this.__alignment_count=I||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},u.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},u.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},u.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var v=this.__parent.current_line;return v.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),v.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),v.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,v.__items[0]===" "&&(v.__items.splice(0,1),v.__character_count-=1),!0}return!1},u.prototype.is_empty=function(){return this.__items.length===0},u.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},u.prototype.push=function(v){this.__items.push(v);var I=v.lastIndexOf(`
`);I!==-1?this.__character_count=v.length-I:this.__character_count+=v.length},u.prototype.pop=function(){var v=null;return this.is_empty()||(v=this.__items.pop(),this.__character_count-=v.length),v},u.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},u.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},u.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},u.prototype.toString=function(){var v="";return this.is_empty()?this.__parent.indent_empty_lines&&(v=this.__parent.get_indent_string(this.__indent_count)):(v=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),v+=this.__items.join("")),v};function Q(v,I){this.__cache=[""],this.__indent_size=v.indent_size,this.__indent_string=v.indent_char,v.indent_with_tabs||(this.__indent_string=new Array(v.indent_size+1).join(v.indent_char)),I=I||"",v.indent_level>0&&(I=new Array(v.indent_level+1).join(this.__indent_string)),this.__base_string=I,this.__base_string_length=I.length}Q.prototype.get_indent_size=function(v,I){var C=this.__base_string_length;return I=I||0,v<0&&(C=0),C+=v*this.__indent_size,C+=I,C},Q.prototype.get_indent_string=function(v,I){var C=this.__base_string;return I=I||0,v<0&&(v=0,C=""),I+=v*this.__indent_size,this.__ensure_cache(I),C+=this.__cache[I],C},Q.prototype.__ensure_cache=function(v){for(;v>=this.__cache.length;)this.__add_column()},Q.prototype.__add_column=function(){var v=this.__cache.length,I=0,C="";this.__indent_size&&v>=this.__indent_size&&(I=Math.floor(v/this.__indent_size),v-=I*this.__indent_size,C=new Array(I+1).join(this.__indent_string)),v&&(C+=new Array(v+1).join(" ")),this.__cache.push(C)};function U(v,I){this.__indent_cache=new Q(v,I),this.raw=!1,this._end_with_newline=v.end_with_newline,this.indent_size=v.indent_size,this.wrap_line_length=v.wrap_line_length,this.indent_empty_lines=v.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new u(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}U.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},U.prototype.get_line_number=function(){return this.__lines.length},U.prototype.get_indent_string=function(v,I){return this.__indent_cache.get_indent_string(v,I)},U.prototype.get_indent_size=function(v,I){return this.__indent_cache.get_indent_size(v,I)},U.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},U.prototype.add_new_line=function(v){return this.is_empty()||!v&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},U.prototype.get_code=function(v){this.trim(!0);var I=this.current_line.pop();I&&(I[I.length-1]===`
`&&(I=I.replace(/\n+$/g,"")),this.current_line.push(I)),this._end_with_newline&&this.__add_outputline();var C=this.__lines.join(`
`);return v!==`
`&&(C=C.replace(/[\n]/g,v)),C},U.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},U.prototype.set_indent=function(v,I){return v=v||0,I=I||0,this.next_line.set_indent(v,I),this.__lines.length>1?(this.current_line.set_indent(v,I),!0):(this.current_line.set_indent(),!1)},U.prototype.add_raw_token=function(v){for(var I=0;I<v.newlines;I++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(v.whitespace_before),this.current_line.push(v.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},U.prototype.add_token=function(v){this.__add_space_before_token(),this.current_line.push(v),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},U.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},U.prototype.remove_indent=function(v){for(var I=this.__lines.length;v<I;)this.__lines[v]._remove_indent(),v++;this.current_line._remove_wrap_indent()},U.prototype.trim=function(v){for(v=v===void 0?!1:v,this.current_line.trim();v&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},U.prototype.just_added_newline=function(){return this.current_line.is_empty()},U.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},U.prototype.ensure_empty_line_above=function(v,I){for(var C=this.__lines.length-2;C>=0;){var P=this.__lines[C];if(P.is_empty())break;if(P.item(0).indexOf(v)!==0&&P.item(-1)!==I){this.__lines.splice(C+1,0,new u(this)),this.previous_line=this.__lines[this.__lines.length-2];break}C--}},G.exports.Output=U},,,,function(G){function u(v,I){this.raw_options=Q(v,I),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}u.prototype._get_array=function(v,I){var C=this.raw_options[v],P=I||[];return typeof C=="object"?C!==null&&typeof C.concat=="function"&&(P=C.concat()):typeof C=="string"&&(P=C.split(/[^a-zA-Z0-9_\/\-]+/)),P},u.prototype._get_boolean=function(v,I){var C=this.raw_options[v],P=C===void 0?!!I:!!C;return P},u.prototype._get_characters=function(v,I){var C=this.raw_options[v],P=I||"";return typeof C=="string"&&(P=C.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),P},u.prototype._get_number=function(v,I){var C=this.raw_options[v];I=parseInt(I,10),isNaN(I)&&(I=0);var P=parseInt(C,10);return isNaN(P)&&(P=I),P},u.prototype._get_selection=function(v,I,C){var P=this._get_selection_list(v,I,C);if(P.length!==1)throw new Error("Invalid Option Value: The option '"+v+`' can only be one of the following values:
`+I+`
You passed in: '`+this.raw_options[v]+"'");return P[0]},u.prototype._get_selection_list=function(v,I,C){if(!I||I.length===0)throw new Error("Selection list cannot be empty.");if(C=C||[I[0]],!this._is_valid_selection(C,I))throw new Error("Invalid Default Value!");var P=this._get_array(v,C);if(!this._is_valid_selection(P,I))throw new Error("Invalid Option Value: The option '"+v+`' can contain only the following values:
`+I+`
You passed in: '`+this.raw_options[v]+"'");return P},u.prototype._is_valid_selection=function(v,I){return v.length&&I.length&&!v.some(function(C){return I.indexOf(C)===-1})};function Q(v,I){var C={};v=U(v);var P;for(P in v)P!==I&&(C[P]=v[P]);if(I&&v[I])for(P in v[I])C[P]=v[I][P];return C}function U(v){var I={},C;for(C in v){var P=C.replace(/-/g,"_");I[P]=v[C]}return I}G.exports.Options=u,G.exports.normalizeOpts=U,G.exports.mergeOpts=Q},,function(G){var u=RegExp.prototype.hasOwnProperty("sticky");function Q(U){this.__input=U||"",this.__input_length=this.__input.length,this.__position=0}Q.prototype.restart=function(){this.__position=0},Q.prototype.back=function(){this.__position>0&&(this.__position-=1)},Q.prototype.hasNext=function(){return this.__position<this.__input_length},Q.prototype.next=function(){var U=null;return this.hasNext()&&(U=this.__input.charAt(this.__position),this.__position+=1),U},Q.prototype.peek=function(U){var v=null;return U=U||0,U+=this.__position,U>=0&&U<this.__input_length&&(v=this.__input.charAt(U)),v},Q.prototype.__match=function(U,v){U.lastIndex=v;var I=U.exec(this.__input);return I&&!(u&&U.sticky)&&I.index!==v&&(I=null),I},Q.prototype.test=function(U,v){return v=v||0,v+=this.__position,v>=0&&v<this.__input_length?!!this.__match(U,v):!1},Q.prototype.testChar=function(U,v){var I=this.peek(v);return U.lastIndex=0,I!==null&&U.test(I)},Q.prototype.match=function(U){var v=this.__match(U,this.__position);return v?this.__position+=v[0].length:v=null,v},Q.prototype.read=function(U,v,I){var C="",P;return U&&(P=this.match(U),P&&(C+=P[0])),v&&(P||!U)&&(C+=this.readUntil(v,I)),C},Q.prototype.readUntil=function(U,v){var I="",C=this.__position;U.lastIndex=this.__position;var P=U.exec(this.__input);return P?(C=P.index,v&&(C+=P[0].length)):C=this.__input_length,I=this.__input.substring(this.__position,C),this.__position=C,I},Q.prototype.readUntilAfter=function(U){return this.readUntil(U,!0)},Q.prototype.get_regexp=function(U,v){var I=null,C="g";return v&&u&&(C="y"),typeof U=="string"&&U!==""?I=new RegExp(U,C):U&&(I=new RegExp(U.source,C)),I},Q.prototype.get_literal_regexp=function(U){return RegExp(U.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Q.prototype.peekUntilAfter=function(U){var v=this.__position,I=this.readUntilAfter(U);return this.__position=v,I},Q.prototype.lookBack=function(U){var v=this.__position-1;return v>=U.length&&this.__input.substring(v-U.length,v).toLowerCase()===U},G.exports.InputScanner=Q},,,,,function(G){function u(Q,U){Q=typeof Q=="string"?Q:Q.source,U=typeof U=="string"?U:U.source,this.__directives_block_pattern=new RegExp(Q+/ beautify( \w+[:]\w+)+ /.source+U,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Q+/\sbeautify\signore:end\s/.source+U,"g")}u.prototype.get_directives=function(Q){if(!Q.match(this.__directives_block_pattern))return null;var U={};this.__directive_pattern.lastIndex=0;for(var v=this.__directive_pattern.exec(Q);v;)U[v[1]]=v[2],v=this.__directive_pattern.exec(Q);return U},u.prototype.readIgnored=function(Q){return Q.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=u},,function(G,u,Q){var U=Q(16).Beautifier,v=Q(17).Options;function I(C,P){var X=new U(C,P);return X.beautify()}G.exports=I,G.exports.defaultOptions=function(){return new v}},function(G,u,Q){var U=Q(17).Options,v=Q(2).Output,I=Q(8).InputScanner,C=Q(13).Directives,P=new C(/\/\*/,/\*\//),X=/\r\n|[\r\n]/,V=/\r\n|[\r\n]/g,z=/\s/,N=/(?:\s|\n)+/g,F=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function W(H,le){this._source_text=H||"",this._options=new U(le),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}W.prototype.eatString=function(H){var le="";for(this._ch=this._input.next();this._ch;){if(le+=this._ch,this._ch==="\\")le+=this._input.next();else if(H.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return le},W.prototype.eatWhitespace=function(H){for(var le=z.test(this._input.peek()),te=0;z.test(this._input.peek());)this._ch=this._input.next(),H&&this._ch===`
`&&(te===0||te<this._options.max_preserve_newlines)&&(te++,this._output.add_new_line(!0));return le},W.prototype.foundNestedPseudoClass=function(){for(var H=0,le=1,te=this._input.peek(le);te;){if(te==="{")return!0;if(te==="(")H+=1;else if(te===")"){if(H===0)return!1;H-=1}else if(te===";"||te==="}")return!1;le++,te=this._input.peek(le)}return!1},W.prototype.print_string=function(H){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(H)},W.prototype.preserveSingleSpace=function(H){H&&(this._output.space_before_token=!0)},W.prototype.indent=function(){this._indentLevel++},W.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},W.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var H=this._source_text,le=this._options.eol;le==="auto"&&(le=`
`,H&&X.test(H||"")&&(le=H.match(X)[0])),H=H.replace(V,`
`);var te=H.match(/^[\t ]*/)[0];this._output=new v(this._options,te),this._input=new I(H),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var se=0,Ee=!1,he=!1,ve=!1,J=!1,Z=!1,ie=this._ch,ue=!1,fe,ae,w;fe=this._input.read(N),ae=fe!=="",w=ie,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ie=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var L=this._input.read(F),oe=P.get_directives(L);oe&&oe.ignore==="start"&&(L+=P.readIgnored(this._input)),this.print_string(L),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(B)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ae),this.print_string(this._ch);var M=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);M.match(/[ :]$/)&&(M=this.eatString(": ").replace(/\s+$/,""),this.print_string(M),this._output.space_before_token=!0),se===0&&M.indexOf(":")!==-1&&(he=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ae),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var De=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);De.match(/[ :]$/)&&(De=this.eatString(": ").replace(/\s+$/,""),this.print_string(De),this._output.space_before_token=!0),se===0&&De.indexOf(":")!==-1?(he=!0,this.indent()):De in this.NESTED_AT_RULE?(this._nestedLevel+=1,De in this.CONDITIONAL_GROUP_RULE&&(ve=!0)):se===0&&!he&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ae),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")he&&(he=!1,this.outdent()),J=!1,ve?(ve=!1,Ee=this._indentLevel>=this._nestedLevel):Ee=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Ee&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(w==="("?this._output.space_before_token=!1:w!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),w==="{"&&this._output.trim(!0),he&&(this.outdent(),he=!1),this.print_string(this._ch),Ee=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Fe=0;Fe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Fe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Fe])){ue=!0;break}(Ee||ve)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&se===0?(this.print_string(":"),he||(he=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Re=w==='"'||w==="'";this.preserveSingleSpace(Re||ae),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ue=!1,se===0?(he&&(this.outdent(),he=!1),J=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),se++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),se&&(se--,this.outdent()));else{var dt=!1;this._input.lookBack("with")&&(dt=!0),this.preserveSingleSpace(ae||dt),this.print_string(this._ch),he&&w==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Z=!0):(this.eatWhitespace(),se++,this.indent())}else if(this._ch===")")se&&(se--,this.outdent()),Z&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Z=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!he||Z)&&se===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!he&&se===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&z.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ae),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),z.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var st=w==='"'||w==="'";this.preserveSingleSpace(st||ae),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&ue&&this._output.add_new_line()}var it=this._output.get_code(le);return it},G.exports.Beautifier=W},function(G,u,Q){var U=Q(6).Options;function v(I){U.call(this,I,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var C=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||C;var P=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var X=0;X<P.length;X++)P[X]!=="expand"?this.brace_style="collapse":this.brace_style=P[X]}v.prototype=new U,G.exports.Options=v}],_={};function h(G){var u=_[G];if(u!==void 0)return u.exports;var Q=_[G]={exports:{}};return b[G](Q,Q.exports,h),Q.exports}var j=h(15);y=j})();var T=y;o=[],a=function(){return{css_beautify:T}}.apply(p,o),a!==void 0&&(k.exports=a)})()},40998:function(k,p,o){var a,y;(function(){var T;(function(){"use strict";var j=[,,function(U){function v(P){this.__parent=P,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}v.prototype.clone_empty=function(){var P=new v(this.__parent);return P.set_indent(this.__indent_count,this.__alignment_count),P},v.prototype.item=function(P){return P<0?this.__items[this.__items.length+P]:this.__items[P]},v.prototype.has_match=function(P){for(var X=this.__items.length-1;X>=0;X--)if(this.__items[X].match(P))return!0;return!1},v.prototype.set_indent=function(P,X){this.is_empty()&&(this.__indent_count=P||0,this.__alignment_count=X||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},v.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},v.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},v.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var P=this.__parent.current_line;return P.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),P.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),P.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,P.__items[0]===" "&&(P.__items.splice(0,1),P.__character_count-=1),!0}return!1},v.prototype.is_empty=function(){return this.__items.length===0},v.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},v.prototype.push=function(P){this.__items.push(P);var X=P.lastIndexOf(`
`);X!==-1?this.__character_count=P.length-X:this.__character_count+=P.length},v.prototype.pop=function(){var P=null;return this.is_empty()||(P=this.__items.pop(),this.__character_count-=P.length),P},v.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},v.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},v.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},v.prototype.toString=function(){var P="";return this.is_empty()?this.__parent.indent_empty_lines&&(P=this.__parent.get_indent_string(this.__indent_count)):(P=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),P+=this.__items.join("")),P};function I(P,X){this.__cache=[""],this.__indent_size=P.indent_size,this.__indent_string=P.indent_char,P.indent_with_tabs||(this.__indent_string=new Array(P.indent_size+1).join(P.indent_char)),X=X||"",P.indent_level>0&&(X=new Array(P.indent_level+1).join(this.__indent_string)),this.__base_string=X,this.__base_string_length=X.length}I.prototype.get_indent_size=function(P,X){var V=this.__base_string_length;return X=X||0,P<0&&(V=0),V+=P*this.__indent_size,V+=X,V},I.prototype.get_indent_string=function(P,X){var V=this.__base_string;return X=X||0,P<0&&(P=0,V=""),X+=P*this.__indent_size,this.__ensure_cache(X),V+=this.__cache[X],V},I.prototype.__ensure_cache=function(P){for(;P>=this.__cache.length;)this.__add_column()},I.prototype.__add_column=function(){var P=this.__cache.length,X=0,V="";this.__indent_size&&P>=this.__indent_size&&(X=Math.floor(P/this.__indent_size),P-=X*this.__indent_size,V=new Array(X+1).join(this.__indent_string)),P&&(V+=new Array(P+1).join(" ")),this.__cache.push(V)};function C(P,X){this.__indent_cache=new I(P,X),this.raw=!1,this._end_with_newline=P.end_with_newline,this.indent_size=P.indent_size,this.wrap_line_length=P.wrap_line_length,this.indent_empty_lines=P.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new v(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}C.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},C.prototype.get_line_number=function(){return this.__lines.length},C.prototype.get_indent_string=function(P,X){return this.__indent_cache.get_indent_string(P,X)},C.prototype.get_indent_size=function(P,X){return this.__indent_cache.get_indent_size(P,X)},C.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},C.prototype.add_new_line=function(P){return this.is_empty()||!P&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},C.prototype.get_code=function(P){this.trim(!0);var X=this.current_line.pop();X&&(X[X.length-1]===`
`&&(X=X.replace(/\n+$/g,"")),this.current_line.push(X)),this._end_with_newline&&this.__add_outputline();var V=this.__lines.join(`
`);return P!==`
`&&(V=V.replace(/[\n]/g,P)),V},C.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},C.prototype.set_indent=function(P,X){return P=P||0,X=X||0,this.next_line.set_indent(P,X),this.__lines.length>1?(this.current_line.set_indent(P,X),!0):(this.current_line.set_indent(),!1)},C.prototype.add_raw_token=function(P){for(var X=0;X<P.newlines;X++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(P.whitespace_before),this.current_line.push(P.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},C.prototype.add_token=function(P){this.__add_space_before_token(),this.current_line.push(P),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},C.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},C.prototype.remove_indent=function(P){for(var X=this.__lines.length;P<X;)this.__lines[P]._remove_indent(),P++;this.current_line._remove_wrap_indent()},C.prototype.trim=function(P){for(P=P===void 0?!1:P,this.current_line.trim();P&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},C.prototype.just_added_newline=function(){return this.current_line.is_empty()},C.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},C.prototype.ensure_empty_line_above=function(P,X){for(var V=this.__lines.length-2;V>=0;){var z=this.__lines[V];if(z.is_empty())break;if(z.item(0).indexOf(P)!==0&&z.item(-1)!==X){this.__lines.splice(V+1,0,new v(this)),this.previous_line=this.__lines[this.__lines.length-2];break}V--}},U.exports.Output=C},function(U){function v(I,C,P,X){this.type=I,this.text=C,this.comments_before=null,this.newlines=P||0,this.whitespace_before=X||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}U.exports.Token=v},,,function(U){function v(P,X){this.raw_options=I(P,X),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}v.prototype._get_array=function(P,X){var V=this.raw_options[P],z=X||[];return typeof V=="object"?V!==null&&typeof V.concat=="function"&&(z=V.concat()):typeof V=="string"&&(z=V.split(/[^a-zA-Z0-9_\/\-]+/)),z},v.prototype._get_boolean=function(P,X){var V=this.raw_options[P],z=V===void 0?!!X:!!V;return z},v.prototype._get_characters=function(P,X){var V=this.raw_options[P],z=X||"";return typeof V=="string"&&(z=V.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),z},v.prototype._get_number=function(P,X){var V=this.raw_options[P];X=parseInt(X,10),isNaN(X)&&(X=0);var z=parseInt(V,10);return isNaN(z)&&(z=X),z},v.prototype._get_selection=function(P,X,V){var z=this._get_selection_list(P,X,V);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+P+`' can only be one of the following values:
`+X+`
You passed in: '`+this.raw_options[P]+"'");return z[0]},v.prototype._get_selection_list=function(P,X,V){if(!X||X.length===0)throw new Error("Selection list cannot be empty.");if(V=V||[X[0]],!this._is_valid_selection(V,X))throw new Error("Invalid Default Value!");var z=this._get_array(P,V);if(!this._is_valid_selection(z,X))throw new Error("Invalid Option Value: The option '"+P+`' can contain only the following values:
`+X+`
You passed in: '`+this.raw_options[P]+"'");return z},v.prototype._is_valid_selection=function(P,X){return P.length&&X.length&&!P.some(function(V){return X.indexOf(V)===-1})};function I(P,X){var V={};P=C(P);var z;for(z in P)z!==X&&(V[z]=P[z]);if(X&&P[X])for(z in P[X])V[z]=P[X][z];return V}function C(P){var X={},V;for(V in P){var z=V.replace(/-/g,"_");X[z]=P[V]}return X}U.exports.Options=v,U.exports.normalizeOpts=C,U.exports.mergeOpts=I},,function(U){var v=RegExp.prototype.hasOwnProperty("sticky");function I(C){this.__input=C||"",this.__input_length=this.__input.length,this.__position=0}I.prototype.restart=function(){this.__position=0},I.prototype.back=function(){this.__position>0&&(this.__position-=1)},I.prototype.hasNext=function(){return this.__position<this.__input_length},I.prototype.next=function(){var C=null;return this.hasNext()&&(C=this.__input.charAt(this.__position),this.__position+=1),C},I.prototype.peek=function(C){var P=null;return C=C||0,C+=this.__position,C>=0&&C<this.__input_length&&(P=this.__input.charAt(C)),P},I.prototype.__match=function(C,P){C.lastIndex=P;var X=C.exec(this.__input);return X&&!(v&&C.sticky)&&X.index!==P&&(X=null),X},I.prototype.test=function(C,P){return P=P||0,P+=this.__position,P>=0&&P<this.__input_length?!!this.__match(C,P):!1},I.prototype.testChar=function(C,P){var X=this.peek(P);return C.lastIndex=0,X!==null&&C.test(X)},I.prototype.match=function(C){var P=this.__match(C,this.__position);return P?this.__position+=P[0].length:P=null,P},I.prototype.read=function(C,P,X){var V="",z;return C&&(z=this.match(C),z&&(V+=z[0])),P&&(z||!C)&&(V+=this.readUntil(P,X)),V},I.prototype.readUntil=function(C,P){var X="",V=this.__position;C.lastIndex=this.__position;var z=C.exec(this.__input);return z?(V=z.index,P&&(V+=z[0].length)):V=this.__input_length,X=this.__input.substring(this.__position,V),this.__position=V,X},I.prototype.readUntilAfter=function(C){return this.readUntil(C,!0)},I.prototype.get_regexp=function(C,P){var X=null,V="g";return P&&v&&(V="y"),typeof C=="string"&&C!==""?X=new RegExp(C,V):C&&(X=new RegExp(C.source,V)),X},I.prototype.get_literal_regexp=function(C){return RegExp(C.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(C){var P=this.__position,X=this.readUntilAfter(C);return this.__position=P,X},I.prototype.lookBack=function(C){var P=this.__position-1;return P>=C.length&&this.__input.substring(P-C.length,P).toLowerCase()===C},U.exports.InputScanner=I},function(U,v,I){var C=I(8).InputScanner,P=I(3).Token,X=I(10).TokenStream,V=I(11).WhitespacePattern,z={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},N=function(F,B){this._input=new C(F),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new V(this._input)};N.prototype.tokenize=function(){this._input.restart(),this.__tokens=new X,this._reset();for(var F,B=new P(z.START,""),W=null,H=[],le=new X;B.type!==z.EOF;){for(F=this._get_next_token(B,W);this._is_comment(F);)le.add(F),F=this._get_next_token(B,W);le.isEmpty()||(F.comments_before=le,le=new X),F.parent=W,this._is_opening(F)?(H.push(W),W=F):W&&this._is_closing(F,W)&&(F.opened=W,W.closed=F,W=H.pop(),F.parent=W),F.previous=B,B.next=F,this.__tokens.add(F),B=F}return this.__tokens},N.prototype._is_first_token=function(){return this.__tokens.isEmpty()},N.prototype._reset=function(){},N.prototype._get_next_token=function(F,B){this._readWhitespace();var W=this._input.read(/.+/g);return W?this._create_token(z.RAW,W):this._create_token(z.EOF,"")},N.prototype._is_comment=function(F){return!1},N.prototype._is_opening=function(F){return!1},N.prototype._is_closing=function(F,B){return!1},N.prototype._create_token=function(F,B){var W=new P(F,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return W},N.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},U.exports.Tokenizer=N,U.exports.TOKEN=z},function(U){function v(I){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=I}v.prototype.restart=function(){this.__position=0},v.prototype.isEmpty=function(){return this.__tokens_length===0},v.prototype.hasNext=function(){return this.__position<this.__tokens_length},v.prototype.next=function(){var I=null;return this.hasNext()&&(I=this.__tokens[this.__position],this.__position+=1),I},v.prototype.peek=function(I){var C=null;return I=I||0,I+=this.__position,I>=0&&I<this.__tokens_length&&(C=this.__tokens[I]),C},v.prototype.add=function(I){this.__parent_token&&(I.parent=this.__parent_token),this.__tokens.push(I),this.__tokens_length+=1},U.exports.TokenStream=v},function(U,v,I){var C=I(12).Pattern;function P(X,V){C.call(this,X,V),V?this._line_regexp=this._input.get_regexp(V._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}P.prototype=new C,P.prototype.__set_whitespace_patterns=function(X,V){X+="\\t ",V+="\\n\\r",this._match_pattern=this._input.get_regexp("["+X+V+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+V+"]")},P.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var X=this._input.read(this._match_pattern);if(X===" ")this.whitespace_before_token=" ";else if(X){var V=this.__split(this._newline_regexp,X);this.newline_count=V.length-1,this.whitespace_before_token=V[this.newline_count]}return X},P.prototype.matching=function(X,V){var z=this._create();return z.__set_whitespace_patterns(X,V),z._update(),z},P.prototype._create=function(){return new P(this._input,this)},P.prototype.__split=function(X,V){X.lastIndex=0;for(var z=0,N=[],F=X.exec(V);F;)N.push(V.substring(z,F.index)),z=F.index+F[0].length,F=X.exec(V);return z<V.length?N.push(V.substring(z,V.length)):N.push(""),N},U.exports.WhitespacePattern=P},function(U){function v(I,C){this._input=I,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,C&&(this._starting_pattern=this._input.get_regexp(C._starting_pattern,!0),this._match_pattern=this._input.get_regexp(C._match_pattern,!0),this._until_pattern=this._input.get_regexp(C._until_pattern),this._until_after=C._until_after)}v.prototype.read=function(){var I=this._input.read(this._starting_pattern);return(!this._starting_pattern||I)&&(I+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),I},v.prototype.read_match=function(){return this._input.match(this._match_pattern)},v.prototype.until_after=function(I){var C=this._create();return C._until_after=!0,C._until_pattern=this._input.get_regexp(I),C._update(),C},v.prototype.until=function(I){var C=this._create();return C._until_after=!1,C._until_pattern=this._input.get_regexp(I),C._update(),C},v.prototype.starting_with=function(I){var C=this._create();return C._starting_pattern=this._input.get_regexp(I,!0),C._update(),C},v.prototype.matching=function(I){var C=this._create();return C._match_pattern=this._input.get_regexp(I,!0),C._update(),C},v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){},U.exports.Pattern=v},function(U){function v(I,C){I=typeof I=="string"?I:I.source,C=typeof C=="string"?C:C.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+C,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+C,"g")}v.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var C={};this.__directive_pattern.lastIndex=0;for(var P=this.__directive_pattern.exec(I);P;)C[P[1]]=P[2],P=this.__directive_pattern.exec(I);return C},v.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},U.exports.Directives=v},function(U,v,I){var C=I(12).Pattern,P={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function X(V,z){C.call(this,V,z),this.__template_pattern=null,this._disabled=Object.assign({},P),this._excluded=Object.assign({},P),z&&(this.__template_pattern=this._input.get_regexp(z.__template_pattern),this._excluded=Object.assign(this._excluded,z._excluded),this._disabled=Object.assign(this._disabled,z._disabled));var N=new C(V);this.__patterns={handlebars_comment:N.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:N.starting_with(/{{{/).until_after(/}}}/),handlebars:N.starting_with(/{{/).until_after(/}}/),php:N.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:N.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:N.starting_with(/{%/).until_after(/%}/),django_value:N.starting_with(/{{/).until_after(/}}/),django_comment:N.starting_with(/{#/).until_after(/#}/),smarty:N.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:N.starting_with(/{\*/).until_after(/\*}/),smarty_literal:N.starting_with(/{literal}/).until_after(/{\/literal}/)}}X.prototype=new C,X.prototype._create=function(){return new X(this._input,this)},X.prototype._update=function(){this.__set_templated_pattern()},X.prototype.disable=function(V){var z=this._create();return z._disabled[V]=!0,z._update(),z},X.prototype.read_options=function(V){var z=this._create();for(var N in P)z._disabled[N]=V.templating.indexOf(N)===-1;return z._update(),z},X.prototype.exclude=function(V){var z=this._create();return z._excluded[V]=!0,z._update(),z},X.prototype.read=function(){var V="";this._match_pattern?V=this._input.read(this._starting_pattern):V=this._input.read(this._starting_pattern,this.__template_pattern);for(var z=this._read_template();z;)this._match_pattern?z+=this._input.read(this._match_pattern):z+=this._input.readUntil(this.__template_pattern),V+=z,z=this._read_template();return this._until_after&&(V+=this._input.readUntilAfter(this._until_pattern)),V},X.prototype.__set_templated_pattern=function(){var V=[];this._disabled.php||V.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||V.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||V.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||V.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(V.push(this.__patterns.django._starting_pattern.source),V.push(this.__patterns.django_value._starting_pattern.source),V.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||V.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&V.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+V.join("|")+")")},X.prototype._read_template=function(){var V="",z=this._input.peek();if(z==="<"){var N=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&N==="?"&&(V=V||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&N==="%"&&(V=V||this.__patterns.erb.read())}else z==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(V=V||this.__patterns.handlebars_comment.read(),V=V||this.__patterns.handlebars_unescaped.read(),V=V||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(V=V||this.__patterns.django_value.read()),this._excluded.django||(V=V||this.__patterns.django_comment.read(),V=V||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(V=V||this.__patterns.smarty_comment.read(),V=V||this.__patterns.smarty_literal.read(),V=V||this.__patterns.smarty.read()));return V},U.exports.TemplatablePattern=X},,,,function(U,v,I){var C=I(19).Beautifier,P=I(20).Options;function X(V,z,N,F){var B=new C(V,z,N,F);return B.beautify()}U.exports=X,U.exports.defaultOptions=function(){return new P}},function(U,v,I){var C=I(20).Options,P=I(2).Output,X=I(21).Tokenizer,V=I(21).TOKEN,z=/\r\n|[\r\n]/,N=/\r\n|[\r\n]/g,F=function(J,Z){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new P(J,Z)};F.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},F.prototype.set_space_before_token=function(J,Z){this._output.space_before_token=J,this._output.non_breaking_space=Z},F.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},F.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},F.prototype.print_preserved_newlines=function(J){var Z=0;J.type!==V.TEXT&&J.previous.type!==V.TEXT&&(Z=J.newlines?1:0),this.preserve_newlines&&(Z=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var ie=0;ie<Z;ie++)this.print_newline(ie>0);return Z!==0},F.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},F.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},F.prototype.print_newline=function(J){this._output.add_new_line(J)},F.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},F.prototype.indent=function(){this.indent_level++},F.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},F.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var B=function(J){for(var Z=null,ie=J.next;ie.type!==V.EOF&&J.closed!==ie;){if(ie.type===V.ATTRIBUTE&&ie.text==="type"){ie.next&&ie.next.type===V.EQUALS&&ie.next.next&&ie.next.next.type===V.VALUE&&(Z=ie.next.next.text);break}ie=ie.next}return Z},W=function(J,Z){var ie=null,ue=null;return Z.closed?(J==="script"?ie="text/javascript":J==="style"&&(ie="text/css"),ie=B(Z)||ie,ie.search("text/css")>-1?ue="css":ie.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ue="javascript":ie.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ue="html":ie.search(/test\/null/)>-1&&(ue="null"),ue):null};function H(J,Z){return Z.indexOf(J)!==-1}function le(J,Z,ie){this.parent=J||null,this.tag=Z?Z.tag_name:"",this.indent_level=ie||0,this.parser_token=Z||null}function te(J){this._printer=J,this._current_frame=null}te.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},te.prototype.record_tag=function(J){var Z=new le(this._current_frame,J,this._printer.indent_level);this._current_frame=Z},te.prototype._try_pop_frame=function(J){var Z=null;return J&&(Z=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),Z},te.prototype._get_frame=function(J,Z){for(var ie=this._current_frame;ie&&J.indexOf(ie.tag)===-1;){if(Z&&Z.indexOf(ie.tag)!==-1){ie=null;break}ie=ie.parent}return ie},te.prototype.try_pop=function(J,Z){var ie=this._get_frame([J],Z);return this._try_pop_frame(ie)},te.prototype.indent_to_tag=function(J){var Z=this._get_frame(J);Z&&(this._printer.indent_level=Z.indent_level)};function se(J,Z,ie,ue){this._source_text=J||"",Z=Z||{},this._js_beautify=ie,this._css_beautify=ue,this._tag_stack=null;var fe=new C(Z,"html");this._options=fe,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}se.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,Z=this._options.eol;this._options.eol==="auto"&&(Z=`
`,J&&z.test(J)&&(Z=J.match(z)[0])),J=J.replace(N,`
`);var ie=J.match(/^[\t ]*/)[0],ue={text:"",type:""},fe=new Ee(this._options),ae=new F(this._options,ie),w=new X(J,this._options).tokenize();this._tag_stack=new te(ae);for(var L=null,oe=w.next();oe.type!==V.EOF;)oe.type===V.TAG_OPEN||oe.type===V.COMMENT?(L=this._handle_tag_open(ae,oe,fe,ue,w),fe=L):oe.type===V.ATTRIBUTE||oe.type===V.EQUALS||oe.type===V.VALUE||oe.type===V.TEXT&&!fe.tag_complete?L=this._handle_inside_tag(ae,oe,fe,ue):oe.type===V.TAG_CLOSE?L=this._handle_tag_close(ae,oe,fe):oe.type===V.TEXT?L=this._handle_text(ae,oe,fe):oe.type===V.CONTROL_FLOW_OPEN?L=this._handle_control_flow_open(ae,oe):oe.type===V.CONTROL_FLOW_CLOSE?L=this._handle_control_flow_close(ae,oe):ae.add_raw_token(oe),ue=L,oe=w.next();var M=ae._output.get_code(Z);return M},se.prototype._handle_control_flow_open=function(J,Z){var ie={text:Z.text,type:Z.type};return J.set_space_before_token(Z.newlines||Z.whitespace_before!=="",!0),Z.newlines?J.print_preserved_newlines(Z):J.set_space_before_token(Z.newlines||Z.whitespace_before!=="",!0),J.print_token(Z),J.indent(),ie},se.prototype._handle_control_flow_close=function(J,Z){var ie={text:Z.text,type:Z.type};return J.deindent(),Z.newlines?J.print_preserved_newlines(Z):J.set_space_before_token(Z.newlines||Z.whitespace_before!=="",!0),J.print_token(Z),ie},se.prototype._handle_tag_close=function(J,Z,ie){var ue={text:Z.text,type:Z.type};return J.alignment_size=0,ie.tag_complete=!0,J.set_space_before_token(Z.newlines||Z.whitespace_before!=="",!0),ie.is_unformatted?J.add_raw_token(Z):(ie.tag_start_char==="<"&&(J.set_space_before_token(Z.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&ie.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(Z)),ie.indent_content&&!(ie.is_unformatted||ie.is_content_unformatted)&&(J.indent(),ie.indent_content=!1),!ie.is_inline_element&&!(ie.is_unformatted||ie.is_content_unformatted)&&J.set_wrap_point(),ue},se.prototype._handle_inside_tag=function(J,Z,ie,ue){var fe=ie.has_wrapped_attrs,ae={text:Z.text,type:Z.type};return J.set_space_before_token(Z.newlines||Z.whitespace_before!=="",!0),ie.is_unformatted?J.add_raw_token(Z):ie.tag_start_char==="{"&&Z.type===V.TEXT?J.print_preserved_newlines(Z)?(Z.newlines=0,J.add_raw_token(Z)):J.print_token(Z):(Z.type===V.ATTRIBUTE?J.set_space_before_token(!0):(Z.type===V.EQUALS||Z.type===V.VALUE&&Z.previous.type===V.EQUALS)&&J.set_space_before_token(!1),Z.type===V.ATTRIBUTE&&ie.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(Z),fe=fe||Z.newlines!==0),this._is_wrap_attributes_force&&ie.attr_count>=this._options.wrap_attributes_min_attrs&&(ue.type!==V.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),fe=!0)),J.print_token(Z),fe=fe||J.previous_token_wrapped(),ie.has_wrapped_attrs=fe),ae},se.prototype._handle_text=function(J,Z,ie){var ue={text:Z.text,type:"TK_CONTENT"};return ie.custom_beautifier_name?this._print_custom_beatifier_text(J,Z,ie):ie.is_unformatted||ie.is_content_unformatted?J.add_raw_token(Z):(J.traverse_whitespace(Z),J.print_token(Z)),ue},se.prototype._print_custom_beatifier_text=function(J,Z,ie){var ue=this;if(Z.text!==""){var fe=Z.text,ae,w=1,L="",oe="";ie.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ae=this._js_beautify:ie.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ae=this._css_beautify:ie.custom_beautifier_name==="html"&&(ae=function(st,it){var lt=new se(st,it,ue._js_beautify,ue._css_beautify);return lt.beautify()}),this._options.indent_scripts==="keep"?w=0:this._options.indent_scripts==="separate"&&(w=-J.indent_level);var M=J.get_full_indent(w);if(fe=fe.replace(/\n[ \t]*$/,""),ie.custom_beautifier_name!=="html"&&fe[0]==="<"&&fe.match(/^(<!--|<!\[CDATA\[)/)){var De=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(fe);if(!De){J.add_raw_token(Z);return}L=M+De[1]+`
`,fe=De[4],De[5]&&(oe=M+De[5]),fe=fe.replace(/\n[ \t]*$/,""),(De[2]||De[3].indexOf(`
`)!==-1)&&(De=De[3].match(/[ \t]+$/),De&&(Z.whitespace_before=De[0]))}if(fe)if(ae){var Fe=function(){this.eol=`
`};Fe.prototype=this._options.raw_options;var Re=new Fe;fe=ae(M+fe,Re)}else{var dt=Z.whitespace_before;dt&&(fe=fe.replace(new RegExp(`
(`+dt+")?","g"),`
`)),fe=M+fe.replace(/\n/g,`
`+M)}L&&(fe?fe=L+fe+`
`+oe:fe=L+oe),J.print_newline(!1),fe&&(Z.text=fe,Z.whitespace_before="",Z.newlines=0,J.add_raw_token(Z),J.print_newline(!0))}},se.prototype._handle_tag_open=function(J,Z,ie,ue,fe){var ae=this._get_tag_open_token(Z);if((ie.is_unformatted||ie.is_content_unformatted)&&!ie.is_empty_element&&Z.type===V.TAG_OPEN&&!ae.is_start_tag?(J.add_raw_token(Z),ae.start_tag_token=this._tag_stack.try_pop(ae.tag_name)):(J.traverse_whitespace(Z),this._set_tag_position(J,Z,ae,ie,ue),ae.is_inline_element||J.set_wrap_point(),J.print_token(Z)),ae.is_start_tag&&this._is_wrap_attributes_force){var w=0,L;do L=fe.peek(w),L.type===V.ATTRIBUTE&&(ae.attr_count+=1),w+=1;while(L.type!==V.EOF&&L.type!==V.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ae.alignment_size=Z.text.length+1),!ae.tag_complete&&!ae.is_unformatted&&(J.alignment_size=ae.alignment_size),ae};var Ee=function(J,Z,ie){if(this.parent=Z||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!ie)this.tag_complete=!0;else{var ue;this.tag_start_char=ie.text[0],this.text=ie.text,this.tag_start_char==="<"?(ue=ie.text.match(/^<([^\s>]*)/),this.tag_check=ue?ue[1]:""):(ue=ie.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ue?ue[1]:"",(ie.text.startsWith("{{#>")||ie.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&ie.next!==null?this.tag_check=ie.next.text.split(" ")[0]:this.tag_check=ie.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),ie.type===V.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||ie.closed&&ie.closed.text==="/>";var fe=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(fe=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(fe)))}};se.prototype._get_tag_open_token=function(J){var Z=new Ee(this._options,this._tag_stack.get_parser_token(),J);return Z.alignment_size=this._options.wrap_attributes_indent_size,Z.is_end_tag=Z.is_end_tag||H(Z.tag_check,this._options.void_elements),Z.is_empty_element=Z.tag_complete||Z.is_start_tag&&Z.is_end_tag,Z.is_unformatted=!Z.tag_complete&&H(Z.tag_check,this._options.unformatted),Z.is_content_unformatted=!Z.is_empty_element&&H(Z.tag_check,this._options.content_unformatted),Z.is_inline_element=H(Z.tag_name,this._options.inline)||this._options.inline_custom_elements&&Z.tag_name.includes("-")||Z.tag_start_char==="{",Z},se.prototype._set_tag_position=function(J,Z,ie,ue,fe){if(ie.is_empty_element||(ie.is_end_tag?ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name):(this._do_optional_end_element(ie)&&(ie.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(ie),(ie.tag_name==="script"||ie.tag_name==="style")&&!(ie.is_unformatted||ie.is_content_unformatted)&&(ie.custom_beautifier_name=W(ie.tag_check,Z)))),H(ie.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),ie.is_empty_element){if(ie.tag_start_char==="{"&&ie.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),ie.indent_content=!0;var ae=J.current_line_has_match(/{{#if/);ae||J.print_newline(!1)}ie.tag_name==="!--"&&fe.type===V.TAG_CLOSE&&ue.is_end_tag&&ie.text.indexOf(`
`)===-1||(ie.is_inline_element||ie.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,ie))}else if(ie.is_end_tag){var w=!1;w=ie.start_tag_token&&ie.start_tag_token.multiline_content,w=w||!ie.is_inline_element&&!(ue.is_inline_element||ue.is_unformatted)&&!(fe.type===V.TAG_CLOSE&&ie.start_tag_token===ue)&&fe.type!=="TK_CONTENT",(ie.is_content_unformatted||ie.is_unformatted)&&(w=!1),w&&J.print_newline(!1)}else ie.indent_content=!ie.custom_beautifier_name,ie.tag_start_char==="<"&&(ie.tag_name==="html"?ie.indent_content=this._options.indent_inner_html:ie.tag_name==="head"?ie.indent_content=this._options.indent_head_inner_html:ie.tag_name==="body"&&(ie.indent_content=this._options.indent_body_inner_html)),!(ie.is_inline_element||ie.is_unformatted)&&(fe.type!=="TK_CONTENT"||ie.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,ie)},se.prototype._calcluate_parent_multiline=function(J,Z){Z.parent&&J._output.just_added_newline()&&!((Z.is_inline_element||Z.is_unformatted)&&Z.parent.is_inline_element)&&(Z.parent.multiline_content=!0)};var he=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],ve=["a","audio","del","ins","map","noscript","video"];se.prototype._do_optional_end_element=function(J){var Z=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")Z=Z||this._tag_stack.try_pop("head");else if(J.tag_name==="li")Z=Z||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")Z=Z||this._tag_stack.try_pop("dt",["dl"]),Z=Z||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&he.indexOf(J.tag_name)!==-1){var ie=J.parent.parent;(!ie||ve.indexOf(ie.tag_name)===-1)&&(Z=Z||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(Z=Z||this._tag_stack.try_pop("rt",["ruby","rtc"]),Z=Z||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?Z=Z||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?Z=Z||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?Z=Z||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(Z=Z||this._tag_stack.try_pop("caption",["table"]),Z=Z||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(Z=Z||this._tag_stack.try_pop("caption",["table"]),Z=Z||this._tag_stack.try_pop("colgroup",["table"]),Z=Z||this._tag_stack.try_pop("thead",["table"]),Z=Z||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(Z=Z||this._tag_stack.try_pop("caption",["table"]),Z=Z||this._tag_stack.try_pop("colgroup",["table"]),Z=Z||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(Z=Z||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Z=Z||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),Z}},U.exports.Beautifier=se},function(U,v,I){var C=I(6).Options;function P(X){C.call(this,X,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}P.prototype=new C,U.exports.Options=P},function(U,v,I){var C=I(9).Tokenizer,P=I(9).TOKEN,X=I(13).Directives,V=I(14).TemplatablePattern,z=I(12).Pattern,N={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:P.START,RAW:P.RAW,EOF:P.EOF},F=new X(/<\!--/,/-->/),B=function(W,H){C.call(this,W,H),this._current_tag_name="";var le=new V(this._input).read_options(this._options),te=new z(this._input);if(this.__patterns={word:le.until(/[\n\r\t <]/),word_control_flow_close_excluded:le.until(/[\n\r\t <}]/),single_quote:le.until_after(/'/),double_quote:le.until_after(/"/),attribute:le.until(/[\n\r\t =>]|\/>/),element_name:le.until(/[\n\r\t >\/]/),angular_control_flow_start:te.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:te.starting_with(/{{!--/).until_after(/--}}/),handlebars:te.starting_with(/{{/).until_after(/}}/),handlebars_open:te.until(/[\n\r\t }]/),handlebars_raw_close:te.until(/}}/),comment:te.starting_with(/<!--/).until_after(/-->/),cdata:te.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:te.starting_with(/<!\[/).until_after(/]>/),processing:te.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var se=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=te.matching(se).until_after(se)}};B.prototype=new C,B.prototype._is_comment=function(W){return!1},B.prototype._is_opening=function(W){return W.type===N.TAG_OPEN||W.type===N.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(W,H){return W.type===N.TAG_CLOSE&&H&&((W.text===">"||W.text==="/>")&&H.text[0]==="<"||W.text==="}}"&&H.text[0]==="{"&&H.text[1]==="{")||W.type===N.CONTROL_FLOW_CLOSE&&W.text==="}"&&H.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(W,H){var le=null;this._readWhitespace();var te=this._input.peek();return te===null?this._create_token(N.EOF,""):(le=le||this._read_open_handlebars(te,H),le=le||this._read_attribute(te,W,H),le=le||this._read_close(te,H),le=le||this._read_script_and_style(te,W),le=le||this._read_control_flows(te,H),le=le||this._read_raw_content(te,W,H),le=le||this._read_content_word(te,H),le=le||this._read_comment_or_cdata(te),le=le||this._read_processing(te),le=le||this._read_open(te,H),le=le||this._create_token(N.UNKNOWN,this._input.next()),le)},B.prototype._read_comment_or_cdata=function(W){var H=null,le=null,te=null;if(W==="<"){var se=this._input.peek(1);se==="!"&&(le=this.__patterns.comment.read(),le?(te=F.get_directives(le),te&&te.ignore==="start"&&(le+=F.readIgnored(this._input))):le=this.__patterns.cdata.read()),le&&(H=this._create_token(N.COMMENT,le),H.directives=te)}return H},B.prototype._read_processing=function(W){var H=null,le=null,te=null;if(W==="<"){var se=this._input.peek(1);(se==="!"||se==="?")&&(le=this.__patterns.conditional_comment.read(),le=le||this.__patterns.processing.read()),le&&(H=this._create_token(N.COMMENT,le),H.directives=te)}return H},B.prototype._read_open=function(W,H){var le=null,te=null;return(!H||H.type===N.CONTROL_FLOW_OPEN)&&W==="<"&&(le=this._input.next(),this._input.peek()==="/"&&(le+=this._input.next()),le+=this.__patterns.element_name.read(),te=this._create_token(N.TAG_OPEN,le)),te},B.prototype._read_open_handlebars=function(W,H){var le=null,te=null;return(!H||H.type===N.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&W==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(le=this.__patterns.handlebars_comment.read(),le=le||this.__patterns.handlebars.read(),te=this._create_token(N.COMMENT,le)):(le=this.__patterns.handlebars_open.read(),te=this._create_token(N.TAG_OPEN,le))),te},B.prototype._read_control_flows=function(W,H){var le="",te=null;if(!this._options.templating.includes("angular"))return te;if(W==="@"){if(le=this.__patterns.angular_control_flow_start.read(),le==="")return te;for(var se=le.endsWith("(")?1:0,Ee=0;!(le.endsWith("{")&&se===Ee);){var he=this._input.next();if(he===null)break;he==="("?se++:he===")"&&Ee++,le+=he}te=this._create_token(N.CONTROL_FLOW_OPEN,le)}else W==="}"&&H&&H.type===N.CONTROL_FLOW_OPEN&&(le=this._input.next(),te=this._create_token(N.CONTROL_FLOW_CLOSE,le));return te},B.prototype._read_close=function(W,H){var le=null,te=null;return H&&H.type===N.TAG_OPEN&&(H.text[0]==="<"&&(W===">"||W==="/"&&this._input.peek(1)===">")?(le=this._input.next(),W==="/"&&(le+=this._input.next()),te=this._create_token(N.TAG_CLOSE,le)):H.text[0]==="{"&&W==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),te=this._create_token(N.TAG_CLOSE,"}}"))),te},B.prototype._read_attribute=function(W,H,le){var te=null,se="";if(le&&le.text[0]==="<")if(W==="=")te=this._create_token(N.EQUALS,this._input.next());else if(W==='"'||W==="'"){var Ee=this._input.next();W==='"'?Ee+=this.__patterns.double_quote.read():Ee+=this.__patterns.single_quote.read(),te=this._create_token(N.VALUE,Ee)}else se=this.__patterns.attribute.read(),se&&(H.type===N.EQUALS?te=this._create_token(N.VALUE,se):te=this._create_token(N.ATTRIBUTE,se));return te},B.prototype._is_content_unformatted=function(W){return this._options.void_elements.indexOf(W)===-1&&(this._options.content_unformatted.indexOf(W)!==-1||this._options.unformatted.indexOf(W)!==-1)},B.prototype._read_raw_content=function(W,H,le){var te="";if(le&&le.text[0]==="{")te=this.__patterns.handlebars_raw_close.read();else if(H.type===N.TAG_CLOSE&&H.opened.text[0]==="<"&&H.text[0]!=="/"){var se=H.opened.text.substr(1).toLowerCase();this._is_content_unformatted(se)&&(te=this._input.readUntil(new RegExp("</"+se+"[\\n\\r\\t ]*?>","ig")))}return te?this._create_token(N.TEXT,te):null},B.prototype._read_script_and_style=function(W,H){if(H.type===N.TAG_CLOSE&&H.opened.text[0]==="<"&&H.text[0]!=="/"){var le=H.opened.text.substr(1).toLowerCase();if(le==="script"||le==="style"){var te=this._read_comment_or_cdata(W);if(te)return te.type=N.TEXT,te;var se=this._input.readUntil(new RegExp("</"+le+"[\\n\\r\\t ]*?>","ig"));if(se)return this._create_token(N.TEXT,se)}}return null},B.prototype._read_content_word=function(W,H){var le="";return this._options.unformatted_content_delimiter&&W===this._options.unformatted_content_delimiter[0]&&(le=this.__patterns.unformatted_content_delimiter.read()),le||(le=H&&H.type===N.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),le?this._create_token(N.TEXT,le):null},U.exports.Tokenizer=B,U.exports.TOKEN=N}],G={};function u(U){var v=G[U];if(v!==void 0)return v.exports;var I=G[U]={exports:{}};return j[U](I,I.exports,u),I.exports}var Q=u(18);T=Q})();var b=T;if(1)a=[o,o(58553),o(87804)],y=function(j){var G=o(58553),u=o(87804);return{html_beautify:function(Q,U){return b(Q,U,G.js_beautify,u.css_beautify)}}}.apply(p,a),y!==void 0&&(k.exports=y);else var _,h})()},58553:function(k,p){var o,a;(function(){var y;(function(){"use strict";var b=[function(G,u,Q){var U=Q(1).Beautifier,v=Q(5).Options;function I(C,P){var X=new U(C,P);return X.beautify()}G.exports=I,G.exports.defaultOptions=function(){return new v}},function(G,u,Q){var U=Q(2).Output,v=Q(3).Token,I=Q(4),C=Q(5).Options,P=Q(7).Tokenizer,X=Q(7).line_starters,V=Q(7).positionable_operators,z=Q(7).TOKEN;function N(L,oe){return oe.indexOf(L)!==-1}function F(L){return L.replace(/^\s+/g,"")}function B(L){for(var oe={},M=0;M<L.length;M++)oe[L[M].replace(/-/g,"_")]=L[M];return oe}function W(L,oe){return L&&L.type===z.RESERVED&&L.text===oe}function H(L,oe){return L&&L.type===z.RESERVED&&N(L.text,oe)}var le=["case","return","do","if","throw","else","await","break","continue","async"],te=["before-newline","after-newline","preserve-newline"],se=B(te),Ee=[se.before_newline,se.preserve_newline],he={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ve(L,oe){oe.multiline_frame||oe.mode===he.ForInitializer||oe.mode===he.Conditional||L.remove_indent(oe.start_line_index)}function J(L){L=L.replace(I.allLineBreaks,`
`);for(var oe=[],M=L.indexOf(`
`);M!==-1;)oe.push(L.substring(0,M)),L=L.substring(M+1),M=L.indexOf(`
`);return L.length&&oe.push(L),oe}function Z(L){return L===he.ArrayLiteral}function ie(L){return N(L,[he.Expression,he.ForInitializer,he.Conditional])}function ue(L,oe){for(var M=0;M<L.length;M++){var De=L[M].trim();if(De.charAt(0)!==oe)return!1}return!0}function fe(L,oe){for(var M=0,De=L.length,Fe;M<De;M++)if(Fe=L[M],Fe&&Fe.indexOf(oe)!==0)return!1;return!0}function ae(L,oe){oe=oe||{},this._source_text=L||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new C(oe)}ae.prototype.create_flags=function(L,oe){var M=0;L&&(M=L.indentation_level,!this._output.just_added_newline()&&L.line_indent_level>M&&(M=L.line_indent_level));var De={mode:oe,parent:L,last_token:L?L.last_token:new v(z.START_BLOCK,""),last_word:L?L.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:M,alignment:0,line_indent_level:L?L.line_indent_level:M,start_line_index:this._output.get_line_number(),ternary_depth:0};return De},ae.prototype._reset=function(L){var oe=L.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new U(this._options,oe),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(he.BlockStatement);var M=new P(L,this._options);return this._tokens=M.tokenize(),L},ae.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var L,oe=this._reset(this._source_text),M=this._options.eol;this._options.eol==="auto"&&(M=`
`,oe&&I.lineBreak.test(oe||"")&&(M=oe.match(I.lineBreak)[0]));for(var De=this._tokens.next();De;)this.handle_token(De),this._last_last_text=this._flags.last_token.text,this._flags.last_token=De,De=this._tokens.next();return L=this._output.get_code(M),L},ae.prototype.handle_token=function(L,oe){L.type===z.START_EXPR?this.handle_start_expr(L):L.type===z.END_EXPR?this.handle_end_expr(L):L.type===z.START_BLOCK?this.handle_start_block(L):L.type===z.END_BLOCK?this.handle_end_block(L):L.type===z.WORD?this.handle_word(L):L.type===z.RESERVED?this.handle_word(L):L.type===z.SEMICOLON?this.handle_semicolon(L):L.type===z.STRING?this.handle_string(L):L.type===z.EQUALS?this.handle_equals(L):L.type===z.OPERATOR?this.handle_operator(L):L.type===z.COMMA?this.handle_comma(L):L.type===z.BLOCK_COMMENT?this.handle_block_comment(L,oe):L.type===z.COMMENT?this.handle_comment(L,oe):L.type===z.DOT?this.handle_dot(L):L.type===z.EOF?this.handle_eof(L):L.type===z.UNKNOWN?this.handle_unknown(L,oe):this.handle_unknown(L,oe)},ae.prototype.handle_whitespace_and_comments=function(L,oe){var M=L.newlines,De=this._options.keep_array_indentation&&Z(this._flags.mode);if(L.comments_before)for(var Fe=L.comments_before.next();Fe;)this.handle_whitespace_and_comments(Fe,oe),this.handle_token(Fe,oe),Fe=L.comments_before.next();if(De)for(var Re=0;Re<M;Re+=1)this.print_newline(Re>0,oe);else if(this._options.max_preserve_newlines&&M>this._options.max_preserve_newlines&&(M=this._options.max_preserve_newlines),this._options.preserve_newlines&&M>1){this.print_newline(!1,oe);for(var dt=1;dt<M;dt+=1)this.print_newline(!0,oe)}};var w=["async","break","continue","return","throw","yield"];ae.prototype.allow_wrap_or_preserved_newline=function(L,oe){if(oe=oe===void 0?!1:oe,!this._output.just_added_newline()){var M=this._options.preserve_newlines&&L.newlines||oe,De=N(this._flags.last_token.text,V)||N(L.text,V);if(De){var Fe=N(this._flags.last_token.text,V)&&N(this._options.operator_position,Ee)||N(L.text,V);M=M&&Fe}if(M)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(H(this._flags.last_token,w))return;this._output.set_wrap_point()}}},ae.prototype.print_newline=function(L,oe){if(!oe&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==z.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var M=this._tokens.peek();this._flags.mode===he.Statement&&!(this._flags.if_block&&W(M,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(L)&&(this._flags.multiline_frame=!0)},ae.prototype.print_token_line_indentation=function(L){this._output.just_added_newline()&&(this._options.keep_array_indentation&&L.newlines&&(L.text==="["||Z(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(L.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ae.prototype.print_token=function(L){if(this._output.raw){this._output.add_raw_token(L);return}if(this._options.comma_first&&L.previous&&L.previous.type===z.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var oe=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(oe),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(L),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(L),this._output.non_breaking_space=!0,this._output.add_token(L.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ae.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ae.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ae.prototype.set_mode=function(L){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,L),this._flags=this.create_flags(this._previous_flags,L),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ae.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===he.Statement&&ve(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ae.prototype.start_of_object_property=function(){return this._flags.parent.mode===he.ObjectLiteral&&this._flags.mode===he.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||H(this._flags.last_token,["get","set"]))},ae.prototype.start_of_statement=function(L){var oe=!1;return oe=oe||H(this._flags.last_token,["var","let","const"])&&L.type===z.WORD,oe=oe||W(this._flags.last_token,"do"),oe=oe||!(this._flags.parent.mode===he.ObjectLiteral&&this._flags.mode===he.Statement)&&H(this._flags.last_token,w)&&!L.newlines,oe=oe||W(this._flags.last_token,"else")&&!(W(L,"if")&&!L.comments_before),oe=oe||this._flags.last_token.type===z.END_EXPR&&(this._previous_flags.mode===he.ForInitializer||this._previous_flags.mode===he.Conditional),oe=oe||this._flags.last_token.type===z.WORD&&this._flags.mode===he.BlockStatement&&!this._flags.in_case&&!(L.text==="--"||L.text==="++")&&this._last_last_text!=="function"&&L.type!==z.WORD&&L.type!==z.RESERVED,oe=oe||this._flags.mode===he.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||H(this._flags.last_token,["get","set"])),oe?(this.set_mode(he.Statement),this.indent(),this.handle_whitespace_and_comments(L,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(L,H(L,["do","for","if","while"])),!0):!1},ae.prototype.handle_start_expr=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L);var oe=he.Expression;if(L.text==="["){if(this._flags.last_token.type===z.WORD||this._flags.last_token.text===")"){H(this._flags.last_token,X)&&(this._output.space_before_token=!0),this.print_token(L),this.set_mode(oe),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}oe=he.ArrayLiteral,Z(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),N(this._flags.last_token.type,[z.START_EXPR,z.END_EXPR,z.WORD,z.OPERATOR,z.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===z.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,oe=he.ForInitializer):N(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,oe=he.Conditional):N(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&L.whitespace_before===""?this._output.space_before_token=!1:(N(this._flags.last_token.text,X)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===z.EQUALS||this._flags.last_token.type===z.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(L);else if(this._flags.last_token.type===z.WORD){this._output.space_before_token=!1;var M=this._tokens.peek(-3);if(this._options.space_after_named_function&&M){var De=this._tokens.peek(-4);H(M,["async","function"])||M.text==="*"&&H(De,["async","function"])?this._output.space_before_token=!0:this._flags.mode===he.ObjectLiteral?(M.text==="{"||M.text===","||M.text==="*"&&(De.text==="{"||De.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(L);(this._flags.last_token.type===z.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(N(this._last_last_text,["function","yield"])||this._flags.mode===he.ObjectLiteral&&N(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===z.START_BLOCK?this.print_newline():(this._flags.last_token.type===z.END_EXPR||this._flags.last_token.type===z.START_EXPR||this._flags.last_token.type===z.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===z.COMMA)&&this.allow_wrap_or_preserved_newline(L,L.newlines),this.print_token(L),this.set_mode(oe),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ae.prototype.handle_end_expr=function(L){for(;this._flags.mode===he.Statement;)this.restore_mode();this.handle_whitespace_and_comments(L),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(L,L.text==="]"&&Z(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===z.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(L),this.restore_mode(),ve(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===he.Conditional&&(this._previous_flags.mode=he.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ae.prototype.handle_start_block=function(L){this.handle_whitespace_and_comments(L);var oe=this._tokens.peek(),M=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===z.END_EXPR?(this.set_mode(he.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(he.BlockStatement):M&&(N(M.text,[":",","])&&N(oe.type,[z.STRING,z.WORD,z.RESERVED])||N(oe.text,["get","set","..."])&&N(M.type,[z.WORD,z.RESERVED]))?N(this._last_last_text,["class","interface"])&&!N(M.text,[":",","])?this.set_mode(he.BlockStatement):this.set_mode(he.ObjectLiteral):this._flags.last_token.type===z.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(he.BlockStatement):N(this._flags.last_token.type,[z.EQUALS,z.START_EXPR,z.COMMA,z.OPERATOR])||H(this._flags.last_token,["return","throw","import","default"])?this.set_mode(he.ObjectLiteral):this.set_mode(he.BlockStatement),this._flags.last_token&&H(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var De=!oe.comments_before&&oe.text==="}",Fe=De&&this._flags.last_word==="function"&&this._flags.last_token.type===z.END_EXPR;if(this._options.brace_preserve_inline){var Re=0,dt=null;this._flags.inline_frame=!0;do if(Re+=1,dt=this._tokens.peek(Re-1),dt.newlines){this._flags.inline_frame=!1;break}while(dt.type!==z.EOF&&!(dt.type===z.END_BLOCK&&dt.opened===L))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&L.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==z.OPERATOR&&(Fe||this._flags.last_token.type===z.EQUALS||H(this._flags.last_token,le)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Z(this._previous_flags.mode)&&(this._flags.last_token.type===z.START_EXPR||this._flags.last_token.type===z.COMMA)&&((this._flags.last_token.type===z.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===z.COMMA||this._flags.last_token.type===z.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(L),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==z.OPERATOR&&this._flags.last_token.type!==z.START_EXPR&&(N(this._flags.last_token.type,[z.START_BLOCK,z.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(L),this.indent(),!De&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ae.prototype.handle_end_block=function(L){for(this.handle_whitespace_and_comments(L);this._flags.mode===he.Statement;)this.restore_mode();var oe=this._flags.last_token.type===z.START_BLOCK;this._flags.inline_frame&&!oe?this._output.space_before_token=!0:this._options.brace_style==="expand"?oe||this.print_newline():oe||(Z(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(L)},ae.prototype.handle_word=function(L){if(L.type===z.RESERVED){if(N(L.text,["set","get"])&&this._flags.mode!==he.ObjectLiteral)L.type=z.WORD;else if(L.text==="import"&&N(this._tokens.peek().text,["(","."]))L.type=z.WORD;else if(N(L.text,["as","from"])&&!this._flags.import_block)L.type=z.WORD;else if(this._flags.mode===he.ObjectLiteral){var oe=this._tokens.peek();oe.text===":"&&(L.type=z.WORD)}}if(this.start_of_statement(L)?H(this._flags.last_token,["var","let","const"])&&L.type===z.WORD&&(this._flags.declaration_statement=!0):L.newlines&&!ie(this._flags.mode)&&(this._flags.last_token.type!==z.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==z.EQUALS&&(this._options.preserve_newlines||!H(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(L),this.print_newline()):this.handle_whitespace_and_comments(L),this._flags.do_block&&!this._flags.do_while)if(W(L,"while")){this._output.space_before_token=!0,this.print_token(L),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&W(L,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===he.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&H(L,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(L),this._flags.in_case=!0;return}if((this._flags.last_token.type===z.COMMA||this._flags.last_token.type===z.START_EXPR||this._flags.last_token.type===z.EQUALS||this._flags.last_token.type===z.OPERATOR)&&!this.start_of_object_property()&&!(N(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===he.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(L),W(L,"function")){(N(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(N(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===z.OPERATOR))&&!this._output.just_added_blankline()&&!L.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===z.RESERVED||this._flags.last_token.type===z.WORD?H(this._flags.last_token,["get","set","new","export"])||H(this._flags.last_token,w)?this._output.space_before_token=!0:W(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===z.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ie(this._flags.mode)||Z(this._flags.mode))||this.print_newline(),this.print_token(L),this._flags.last_word=L.text;return}var M="NONE";if(this._flags.last_token.type===z.END_BLOCK?this._previous_flags.inline_frame?M="SPACE":H(L,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&L.newlines?M="NEWLINE":(M="SPACE",this._output.space_before_token=!0):M="NEWLINE":this._flags.last_token.type===z.SEMICOLON&&this._flags.mode===he.BlockStatement?M="NEWLINE":this._flags.last_token.type===z.SEMICOLON&&ie(this._flags.mode)?M="SPACE":this._flags.last_token.type===z.STRING?M="NEWLINE":this._flags.last_token.type===z.RESERVED||this._flags.last_token.type===z.WORD||this._flags.last_token.text==="*"&&(N(this._last_last_text,["function","yield"])||this._flags.mode===he.ObjectLiteral&&N(this._last_last_text,["{",","]))?M="SPACE":this._flags.last_token.type===z.START_BLOCK?this._flags.inline_frame?M="SPACE":M="NEWLINE":this._flags.last_token.type===z.END_EXPR&&(this._output.space_before_token=!0,M="NEWLINE"),H(L,X)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?M="SPACE":M="NEWLINE"),H(L,["else","catch","finally"]))if((!(this._flags.last_token.type===z.END_BLOCK&&this._previous_flags.mode===he.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&L.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var De=this._output.current_line;De.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else M==="NEWLINE"?H(this._flags.last_token,le)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&H(L,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==z.END_EXPR?(this._flags.last_token.type!==z.START_EXPR||!H(L,["var","let","const"]))&&this._flags.last_token.text!==":"&&(W(L,"if")&&W(L.previous,"else")?this._output.space_before_token=!0:this.print_newline()):H(L,X)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Z(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():M==="SPACE"&&(this._output.space_before_token=!0);L.previous&&(L.previous.type===z.WORD||L.previous.type===z.RESERVED)&&(this._output.space_before_token=!0),this.print_token(L),this._flags.last_word=L.text,L.type===z.RESERVED&&(L.text==="do"?this._flags.do_block=!0:L.text==="if"?this._flags.if_block=!0:L.text==="import"?this._flags.import_block=!0:this._flags.import_block&&W(L,"from")&&(this._flags.import_block=!1))},ae.prototype.handle_semicolon=function(L){this.start_of_statement(L)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(L);for(var oe=this._tokens.peek();this._flags.mode===he.Statement&&!(this._flags.if_block&&W(oe,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(L)},ae.prototype.handle_string=function(L){L.text.startsWith("`")&&L.newlines===0&&L.whitespace_before===""&&(L.previous.text===")"||this._flags.last_token.type===z.WORD)||(this.start_of_statement(L)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(L),this._flags.last_token.type===z.RESERVED||this._flags.last_token.type===z.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===z.COMMA||this._flags.last_token.type===z.START_EXPR||this._flags.last_token.type===z.EQUALS||this._flags.last_token.type===z.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(L):L.text.startsWith("`")&&this._flags.last_token.type===z.END_EXPR&&(L.previous.text==="]"||L.previous.text===")")&&L.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(L)},ae.prototype.handle_equals=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(L),this._output.space_before_token=!0},ae.prototype.handle_comma=function(L){this.handle_whitespace_and_comments(L,!0),this.print_token(L),this._output.space_before_token=!0,this._flags.declaration_statement?(ie(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(L)):this._flags.mode===he.ObjectLiteral||this._flags.mode===he.Statement&&this._flags.parent.mode===he.ObjectLiteral?(this._flags.mode===he.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(L)},ae.prototype.handle_operator=function(L){var oe=L.text==="*"&&(H(this._flags.last_token,["function","yield"])||N(this._flags.last_token.type,[z.START_BLOCK,z.COMMA,z.END_BLOCK,z.SEMICOLON])),M=N(L.text,["-","+"])&&(N(this._flags.last_token.type,[z.START_BLOCK,z.START_EXPR,z.EQUALS,z.OPERATOR])||N(this._flags.last_token.text,X)||this._flags.last_token.text===",");if(!this.start_of_statement(L)){var De=!oe;this.handle_whitespace_and_comments(L,De)}if(L.text==="*"&&this._flags.last_token.type===z.DOT){this.print_token(L);return}if(L.text==="::"){this.print_token(L);return}if(N(L.text,["-","+"])&&this.start_of_object_property()){this.print_token(L);return}if(this._flags.last_token.type===z.OPERATOR&&N(this._options.operator_position,Ee)&&this.allow_wrap_or_preserved_newline(L),L.text===":"&&this._flags.in_case){this.print_token(L),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==z.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Fe=!0,Re=!0,dt=!1;if(L.text===":"?this._flags.ternary_depth===0?Fe=!1:(this._flags.ternary_depth-=1,dt=!0):L.text==="?"&&(this._flags.ternary_depth+=1),!M&&!oe&&this._options.preserve_newlines&&N(L.text,V)){var st=L.text===":",it=st&&dt,lt=st&&!dt;switch(this._options.operator_position){case se.before_newline:this._output.space_before_token=!lt,this.print_token(L),(!st||it)&&this.allow_wrap_or_preserved_newline(L),this._output.space_before_token=!0;return;case se.after_newline:this._output.space_before_token=!0,!st||it?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(L):this._output.space_before_token=!1,this.print_token(L),this._output.space_before_token=!0;return;case se.preserve_newline:lt||this.allow_wrap_or_preserved_newline(L),Fe=!(this._output.just_added_newline()||lt),this._output.space_before_token=Fe,this.print_token(L),this._output.space_before_token=!0;return}}if(oe){this.allow_wrap_or_preserved_newline(L),Fe=!1;var zt=this._tokens.peek();Re=zt&&N(zt.type,[z.WORD,z.RESERVED])}else if(L.text==="...")this.allow_wrap_or_preserved_newline(L),Fe=this._flags.last_token.type===z.START_BLOCK,Re=!1;else if(N(L.text,["--","++","!","~"])||M){if((this._flags.last_token.type===z.COMMA||this._flags.last_token.type===z.START_EXPR)&&this.allow_wrap_or_preserved_newline(L),Fe=!1,Re=!1,L.newlines&&(L.text==="--"||L.text==="++"||L.text==="~")){var nn=H(this._flags.last_token,le)&&L.newlines;nn&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(nn,!0)}this._flags.last_token.text===";"&&ie(this._flags.mode)&&(Fe=!0),this._flags.last_token.type===z.RESERVED?Fe=!0:this._flags.last_token.type===z.END_EXPR?Fe=!(this._flags.last_token.text==="]"&&(L.text==="--"||L.text==="++")):this._flags.last_token.type===z.OPERATOR&&(Fe=N(L.text,["--","-","++","+"])&&N(this._flags.last_token.text,["--","-","++","+"]),N(L.text,["+","-"])&&N(this._flags.last_token.text,["--","++"])&&(Re=!0)),(this._flags.mode===he.BlockStatement&&!this._flags.inline_frame||this._flags.mode===he.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Fe,this.print_token(L),this._output.space_before_token=Re},ae.prototype.handle_block_comment=function(L,oe){if(this._output.raw){this._output.add_raw_token(L),L.directives&&L.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(L.directives){this.print_newline(!1,oe),this.print_token(L),L.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!I.newline.test(L.text)&&!L.newlines){this._output.space_before_token=!0,this.print_token(L),this._output.space_before_token=!0;return}else this.print_block_commment(L,oe)},ae.prototype.print_block_commment=function(L,oe){var M=J(L.text),De,Fe=!1,Re=!1,dt=L.whitespace_before,st=dt.length;if(this.print_newline(!1,oe),this.print_token_line_indentation(L),this._output.add_token(M[0]),this.print_newline(!1,oe),M.length>1){for(M=M.slice(1),Fe=ue(M,"*"),Re=fe(M,dt),Fe&&(this._flags.alignment=1),De=0;De<M.length;De++)Fe?(this.print_token_line_indentation(L),this._output.add_token(F(M[De]))):Re&&M[De]?(this.print_token_line_indentation(L),this._output.add_token(M[De].substring(st))):(this._output.current_line.set_indent(-1),this._output.add_token(M[De])),this.print_newline(!1,oe);this._flags.alignment=0}},ae.prototype.handle_comment=function(L,oe){L.newlines?this.print_newline(!1,oe):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(L),this.print_newline(!1,oe)},ae.prototype.handle_dot=function(L){this.start_of_statement(L)||this.handle_whitespace_and_comments(L,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),H(this._flags.last_token,le)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(L,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(L)},ae.prototype.handle_unknown=function(L,oe){this.print_token(L),L.text[L.text.length-1]===`
`&&this.print_newline(!1,oe)},ae.prototype.handle_eof=function(L){for(;this._flags.mode===he.Statement;)this.restore_mode();this.handle_whitespace_and_comments(L)},G.exports.Beautifier=ae},function(G){function u(v){this.__parent=v,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}u.prototype.clone_empty=function(){var v=new u(this.__parent);return v.set_indent(this.__indent_count,this.__alignment_count),v},u.prototype.item=function(v){return v<0?this.__items[this.__items.length+v]:this.__items[v]},u.prototype.has_match=function(v){for(var I=this.__items.length-1;I>=0;I--)if(this.__items[I].match(v))return!0;return!1},u.prototype.set_indent=function(v,I){this.is_empty()&&(this.__indent_count=v||0,this.__alignment_count=I||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},u.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},u.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},u.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var v=this.__parent.current_line;return v.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),v.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),v.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,v.__items[0]===" "&&(v.__items.splice(0,1),v.__character_count-=1),!0}return!1},u.prototype.is_empty=function(){return this.__items.length===0},u.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},u.prototype.push=function(v){this.__items.push(v);var I=v.lastIndexOf(`
`);I!==-1?this.__character_count=v.length-I:this.__character_count+=v.length},u.prototype.pop=function(){var v=null;return this.is_empty()||(v=this.__items.pop(),this.__character_count-=v.length),v},u.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},u.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},u.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},u.prototype.toString=function(){var v="";return this.is_empty()?this.__parent.indent_empty_lines&&(v=this.__parent.get_indent_string(this.__indent_count)):(v=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),v+=this.__items.join("")),v};function Q(v,I){this.__cache=[""],this.__indent_size=v.indent_size,this.__indent_string=v.indent_char,v.indent_with_tabs||(this.__indent_string=new Array(v.indent_size+1).join(v.indent_char)),I=I||"",v.indent_level>0&&(I=new Array(v.indent_level+1).join(this.__indent_string)),this.__base_string=I,this.__base_string_length=I.length}Q.prototype.get_indent_size=function(v,I){var C=this.__base_string_length;return I=I||0,v<0&&(C=0),C+=v*this.__indent_size,C+=I,C},Q.prototype.get_indent_string=function(v,I){var C=this.__base_string;return I=I||0,v<0&&(v=0,C=""),I+=v*this.__indent_size,this.__ensure_cache(I),C+=this.__cache[I],C},Q.prototype.__ensure_cache=function(v){for(;v>=this.__cache.length;)this.__add_column()},Q.prototype.__add_column=function(){var v=this.__cache.length,I=0,C="";this.__indent_size&&v>=this.__indent_size&&(I=Math.floor(v/this.__indent_size),v-=I*this.__indent_size,C=new Array(I+1).join(this.__indent_string)),v&&(C+=new Array(v+1).join(" ")),this.__cache.push(C)};function U(v,I){this.__indent_cache=new Q(v,I),this.raw=!1,this._end_with_newline=v.end_with_newline,this.indent_size=v.indent_size,this.wrap_line_length=v.wrap_line_length,this.indent_empty_lines=v.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new u(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}U.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},U.prototype.get_line_number=function(){return this.__lines.length},U.prototype.get_indent_string=function(v,I){return this.__indent_cache.get_indent_string(v,I)},U.prototype.get_indent_size=function(v,I){return this.__indent_cache.get_indent_size(v,I)},U.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},U.prototype.add_new_line=function(v){return this.is_empty()||!v&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},U.prototype.get_code=function(v){this.trim(!0);var I=this.current_line.pop();I&&(I[I.length-1]===`
`&&(I=I.replace(/\n+$/g,"")),this.current_line.push(I)),this._end_with_newline&&this.__add_outputline();var C=this.__lines.join(`
`);return v!==`
`&&(C=C.replace(/[\n]/g,v)),C},U.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},U.prototype.set_indent=function(v,I){return v=v||0,I=I||0,this.next_line.set_indent(v,I),this.__lines.length>1?(this.current_line.set_indent(v,I),!0):(this.current_line.set_indent(),!1)},U.prototype.add_raw_token=function(v){for(var I=0;I<v.newlines;I++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(v.whitespace_before),this.current_line.push(v.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},U.prototype.add_token=function(v){this.__add_space_before_token(),this.current_line.push(v),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},U.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},U.prototype.remove_indent=function(v){for(var I=this.__lines.length;v<I;)this.__lines[v]._remove_indent(),v++;this.current_line._remove_wrap_indent()},U.prototype.trim=function(v){for(v=v===void 0?!1:v,this.current_line.trim();v&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},U.prototype.just_added_newline=function(){return this.current_line.is_empty()},U.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},U.prototype.ensure_empty_line_above=function(v,I){for(var C=this.__lines.length-2;C>=0;){var P=this.__lines[C];if(P.is_empty())break;if(P.item(0).indexOf(v)!==0&&P.item(-1)!==I){this.__lines.splice(C+1,0,new u(this)),this.previous_line=this.__lines[this.__lines.length-2];break}C--}},G.exports.Output=U},function(G){function u(Q,U,v,I){this.type=Q,this.text=U,this.comments_before=null,this.newlines=v||0,this.whitespace_before=I||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}G.exports.Token=u},function(G,u){var Q="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",U="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",v="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0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ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",I="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",C="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",P="(?:"+C+"|["+Q+v+"])",X="(?:"+C+"|["+U+v+I+"])*";u.identifier=new RegExp(P+X,"g"),u.identifierStart=new RegExp(P),u.identifierMatch=new RegExp("(?:"+C+"|["+U+v+I+"])+");var V=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;u.newline=/[\n\r\u2028\u2029]/,u.lineBreak=new RegExp(`\r
|`+u.newline.source),u.allLineBreaks=new RegExp(u.lineBreak.source,"g")},function(G,u,Q){var U=Q(6).Options,v=["before-newline","after-newline","preserve-newline"];function I(C){U.call(this,C,"js");var P=this.raw_options.brace_style||null;P==="expand-strict"?this.raw_options.brace_style="expand":P==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var X=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var V=0;V<X.length;V++)X[V]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=X[V];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",v),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}I.prototype=new U,G.exports.Options=I},function(G){function u(v,I){this.raw_options=Q(v,I),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}u.prototype._get_array=function(v,I){var C=this.raw_options[v],P=I||[];return typeof C=="object"?C!==null&&typeof C.concat=="function"&&(P=C.concat()):typeof C=="string"&&(P=C.split(/[^a-zA-Z0-9_\/\-]+/)),P},u.prototype._get_boolean=function(v,I){var C=this.raw_options[v],P=C===void 0?!!I:!!C;return P},u.prototype._get_characters=function(v,I){var C=this.raw_options[v],P=I||"";return typeof C=="string"&&(P=C.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),P},u.prototype._get_number=function(v,I){var C=this.raw_options[v];I=parseInt(I,10),isNaN(I)&&(I=0);var P=parseInt(C,10);return isNaN(P)&&(P=I),P},u.prototype._get_selection=function(v,I,C){var P=this._get_selection_list(v,I,C);if(P.length!==1)throw new Error("Invalid Option Value: The option '"+v+`' can only be one of the following values:
`+I+`
You passed in: '`+this.raw_options[v]+"'");return P[0]},u.prototype._get_selection_list=function(v,I,C){if(!I||I.length===0)throw new Error("Selection list cannot be empty.");if(C=C||[I[0]],!this._is_valid_selection(C,I))throw new Error("Invalid Default Value!");var P=this._get_array(v,C);if(!this._is_valid_selection(P,I))throw new Error("Invalid Option Value: The option '"+v+`' can contain only the following values:
`+I+`
You passed in: '`+this.raw_options[v]+"'");return P},u.prototype._is_valid_selection=function(v,I){return v.length&&I.length&&!v.some(function(C){return I.indexOf(C)===-1})};function Q(v,I){var C={};v=U(v);var P;for(P in v)P!==I&&(C[P]=v[P]);if(I&&v[I])for(P in v[I])C[P]=v[I][P];return C}function U(v){var I={},C;for(C in v){var P=C.replace(/-/g,"_");I[P]=v[C]}return I}G.exports.Options=u,G.exports.normalizeOpts=U,G.exports.mergeOpts=Q},function(G,u,Q){var U=Q(8).InputScanner,v=Q(9).Tokenizer,I=Q(9).TOKEN,C=Q(13).Directives,P=Q(4),X=Q(12).Pattern,V=Q(14).TemplatablePattern;function z(ue,fe){return fe.indexOf(ue)!==-1}var N={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:I.START,RAW:I.RAW,EOF:I.EOF},F=new C(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,W=/[0-9]/,H=/[^\d\.]/,le=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),te=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";te=te.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),te="\\?\\.(?!\\d) "+te,te=te.replace(/ /g,"|");var se=new RegExp(te),Ee="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),he=Ee.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ve=new RegExp("^(?:"+he.join("|")+")$"),J,Z=function(ue,fe){v.call(this,ue,fe),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ae=new X(this._input),w=new V(this._input).read_options(this._options);this.__patterns={template:w,identifier:w.starting_with(P.identifier).matching(P.identifierMatch),number:ae.matching(B),punct:ae.matching(se),comment:ae.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ae.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ae.matching(/<!--/),html_comment_end:ae.matching(/-->/),include:ae.starting_with(/#include/).until_after(P.lineBreak),shebang:ae.starting_with(/#!/).until_after(P.lineBreak),xml:ae.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:w.until(/['\\\n\r\u2028\u2029]/),double_quote:w.until(/["\\\n\r\u2028\u2029]/),template_text:w.until(/[`\\$]/),template_expression:w.until(/[`}\\]/)}};Z.prototype=new v,Z.prototype._is_comment=function(ue){return ue.type===N.COMMENT||ue.type===N.BLOCK_COMMENT||ue.type===N.UNKNOWN},Z.prototype._is_opening=function(ue){return ue.type===N.START_BLOCK||ue.type===N.START_EXPR},Z.prototype._is_closing=function(ue,fe){return(ue.type===N.END_BLOCK||ue.type===N.END_EXPR)&&fe&&(ue.text==="]"&&fe.text==="["||ue.text===")"&&fe.text==="("||ue.text==="}"&&fe.text==="{")},Z.prototype._reset=function(){J=!1},Z.prototype._get_next_token=function(ue,fe){var ae=null;this._readWhitespace();var w=this._input.peek();return w===null?this._create_token(N.EOF,""):(ae=ae||this._read_non_javascript(w),ae=ae||this._read_string(w),ae=ae||this._read_pair(w,this._input.peek(1)),ae=ae||this._read_word(ue),ae=ae||this._read_singles(w),ae=ae||this._read_comment(w),ae=ae||this._read_regexp(w,ue),ae=ae||this._read_xml(w,ue),ae=ae||this._read_punctuation(),ae=ae||this._create_token(N.UNKNOWN,this._input.next()),ae)},Z.prototype._read_word=function(ue){var fe;if(fe=this.__patterns.identifier.read(),fe!=="")return fe=fe.replace(P.allLineBreaks,`
`),!(ue.type===N.DOT||ue.type===N.RESERVED&&(ue.text==="set"||ue.text==="get"))&&ve.test(fe)?(fe==="in"||fe==="of")&&(ue.type===N.WORD||ue.type===N.STRING)?this._create_token(N.OPERATOR,fe):this._create_token(N.RESERVED,fe):this._create_token(N.WORD,fe);if(fe=this.__patterns.number.read(),fe!=="")return this._create_token(N.WORD,fe)},Z.prototype._read_singles=function(ue){var fe=null;return ue==="("||ue==="["?fe=this._create_token(N.START_EXPR,ue):ue===")"||ue==="]"?fe=this._create_token(N.END_EXPR,ue):ue==="{"?fe=this._create_token(N.START_BLOCK,ue):ue==="}"?fe=this._create_token(N.END_BLOCK,ue):ue===";"?fe=this._create_token(N.SEMICOLON,ue):ue==="."&&H.test(this._input.peek(1))?fe=this._create_token(N.DOT,ue):ue===","&&(fe=this._create_token(N.COMMA,ue)),fe&&this._input.next(),fe},Z.prototype._read_pair=function(ue,fe){var ae=null;return ue==="#"&&fe==="{"&&(ae=this._create_token(N.START_BLOCK,ue+fe)),ae&&(this._input.next(),this._input.next()),ae},Z.prototype._read_punctuation=function(){var ue=this.__patterns.punct.read();if(ue!=="")return ue==="="?this._create_token(N.EQUALS,ue):ue==="?."?this._create_token(N.DOT,ue):this._create_token(N.OPERATOR,ue)},Z.prototype._read_non_javascript=function(ue){var fe="";if(ue==="#"){if(this._is_first_token()&&(fe=this.__patterns.shebang.read(),fe))return this._create_token(N.UNKNOWN,fe.trim()+`
`);if(fe=this.__patterns.include.read(),fe)return this._create_token(N.UNKNOWN,fe.trim()+`
`);ue=this._input.next();var ae="#";if(this._input.hasNext()&&this._input.testChar(W)){do ue=this._input.next(),ae+=ue;while(this._input.hasNext()&&ue!=="#"&&ue!=="=");return ue==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ae+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ae+="{}",this._input.next(),this._input.next())),this._create_token(N.WORD,ae)}this._input.back()}else if(ue==="<"&&this._is_first_token()){if(fe=this.__patterns.html_comment_start.read(),fe){for(;this._input.hasNext()&&!this._input.testChar(P.newline);)fe+=this._input.next();return J=!0,this._create_token(N.COMMENT,fe)}}else if(J&&ue==="-"&&(fe=this.__patterns.html_comment_end.read(),fe))return J=!1,this._create_token(N.COMMENT,fe);return null},Z.prototype._read_comment=function(ue){var fe=null;if(ue==="/"){var ae="";if(this._input.peek(1)==="*"){ae=this.__patterns.block_comment.read();var w=F.get_directives(ae);w&&w.ignore==="start"&&(ae+=F.readIgnored(this._input)),ae=ae.replace(P.allLineBreaks,`
`),fe=this._create_token(N.BLOCK_COMMENT,ae),fe.directives=w}else this._input.peek(1)==="/"&&(ae=this.__patterns.comment.read(),fe=this._create_token(N.COMMENT,ae))}return fe},Z.prototype._read_string=function(ue){if(ue==="`"||ue==="'"||ue==='"'){var fe=this._input.next();return this.has_char_escapes=!1,ue==="`"?fe+=this._read_string_recursive("`",!0,"${"):fe+=this._read_string_recursive(ue),this.has_char_escapes&&this._options.unescape_strings&&(fe=ie(fe)),this._input.peek()===ue&&(fe+=this._input.next()),fe=fe.replace(P.allLineBreaks,`
`),this._create_token(N.STRING,fe)}return null},Z.prototype._allow_regexp_or_xml=function(ue){return ue.type===N.RESERVED&&z(ue.text,["return","case","throw","else","do","typeof","yield"])||ue.type===N.END_EXPR&&ue.text===")"&&ue.opened.previous.type===N.RESERVED&&z(ue.opened.previous.text,["if","while","for"])||z(ue.type,[N.COMMENT,N.START_EXPR,N.START_BLOCK,N.START,N.END_BLOCK,N.OPERATOR,N.EQUALS,N.EOF,N.SEMICOLON,N.COMMA])},Z.prototype._read_regexp=function(ue,fe){if(ue==="/"&&this._allow_regexp_or_xml(fe)){for(var ae=this._input.next(),w=!1,L=!1;this._input.hasNext()&&(w||L||this._input.peek()!==ue)&&!this._input.testChar(P.newline);)ae+=this._input.peek(),w?w=!1:(w=this._input.peek()==="\\",this._input.peek()==="["?L=!0:this._input.peek()==="]"&&(L=!1)),this._input.next();return this._input.peek()===ue&&(ae+=this._input.next(),ae+=this._input.read(P.identifier)),this._create_token(N.STRING,ae)}return null},Z.prototype._read_xml=function(ue,fe){if(this._options.e4x&&ue==="<"&&this._allow_regexp_or_xml(fe)){var ae="",w=this.__patterns.xml.read_match();if(w){for(var L=w[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),oe=L.indexOf("{")===0,M=0;w;){var De=!!w[1],Fe=w[2],Re=!!w[w.length-1]||Fe.slice(0,8)==="![CDATA[";if(!Re&&(Fe===L||oe&&Fe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(De?--M:++M),ae+=w[0],M<=0)break;w=this.__patterns.xml.read_match()}return w||(ae+=this._input.match(/[\s\S]*/g)[0]),ae=ae.replace(P.allLineBreaks,`
`),this._create_token(N.STRING,ae)}}return null};function ie(ue){for(var fe="",ae=0,w=new U(ue),L=null;w.hasNext();)if(L=w.match(/([\s]|[^\\]|\\\\)+/g),L&&(fe+=L[0]),w.peek()==="\\"){if(w.next(),w.peek()==="x")L=w.match(/x([0-9A-Fa-f]{2})/g);else if(w.peek()==="u")L=w.match(/u([0-9A-Fa-f]{4})/g),L||(L=w.match(/u\{([0-9A-Fa-f]+)\}/g));else{fe+="\\",w.hasNext()&&(fe+=w.next());continue}if(!L||(ae=parseInt(L[1],16),ae>126&&ae<=255&&L[0].indexOf("x")===0))return ue;ae>=0&&ae<32||ae>1114111?fe+="\\"+L[0]:ae===34||ae===39||ae===92?fe+="\\"+String.fromCharCode(ae):fe+=String.fromCharCode(ae)}return fe}Z.prototype._read_string_recursive=function(ue,fe,ae){var w,L;ue==="'"?L=this.__patterns.single_quote:ue==='"'?L=this.__patterns.double_quote:ue==="`"?L=this.__patterns.template_text:ue==="}"&&(L=this.__patterns.template_expression);for(var oe=L.read(),M="";this._input.hasNext();){if(M=this._input.next(),M===ue||!fe&&P.newline.test(M)){this._input.back();break}else M==="\\"&&this._input.hasNext()?(w=this._input.peek(),w==="x"||w==="u"?this.has_char_escapes=!0:w==="\r"&&this._input.peek(1)===`
`&&this._input.next(),M+=this._input.next()):ae&&(ae==="${"&&M==="$"&&this._input.peek()==="{"&&(M+=this._input.next()),ae===M&&(ue==="`"?M+=this._read_string_recursive("}",fe,"`"):M+=this._read_string_recursive("`",fe,"${"),this._input.hasNext()&&(M+=this._input.next())));M+=L.read(),oe+=M}return oe},G.exports.Tokenizer=Z,G.exports.TOKEN=N,G.exports.positionable_operators=le.slice(),G.exports.line_starters=Ee.slice()},function(G){var u=RegExp.prototype.hasOwnProperty("sticky");function Q(U){this.__input=U||"",this.__input_length=this.__input.length,this.__position=0}Q.prototype.restart=function(){this.__position=0},Q.prototype.back=function(){this.__position>0&&(this.__position-=1)},Q.prototype.hasNext=function(){return this.__position<this.__input_length},Q.prototype.next=function(){var U=null;return this.hasNext()&&(U=this.__input.charAt(this.__position),this.__position+=1),U},Q.prototype.peek=function(U){var v=null;return U=U||0,U+=this.__position,U>=0&&U<this.__input_length&&(v=this.__input.charAt(U)),v},Q.prototype.__match=function(U,v){U.lastIndex=v;var I=U.exec(this.__input);return I&&!(u&&U.sticky)&&I.index!==v&&(I=null),I},Q.prototype.test=function(U,v){return v=v||0,v+=this.__position,v>=0&&v<this.__input_length?!!this.__match(U,v):!1},Q.prototype.testChar=function(U,v){var I=this.peek(v);return U.lastIndex=0,I!==null&&U.test(I)},Q.prototype.match=function(U){var v=this.__match(U,this.__position);return v?this.__position+=v[0].length:v=null,v},Q.prototype.read=function(U,v,I){var C="",P;return U&&(P=this.match(U),P&&(C+=P[0])),v&&(P||!U)&&(C+=this.readUntil(v,I)),C},Q.prototype.readUntil=function(U,v){var I="",C=this.__position;U.lastIndex=this.__position;var P=U.exec(this.__input);return P?(C=P.index,v&&(C+=P[0].length)):C=this.__input_length,I=this.__input.substring(this.__position,C),this.__position=C,I},Q.prototype.readUntilAfter=function(U){return this.readUntil(U,!0)},Q.prototype.get_regexp=function(U,v){var I=null,C="g";return v&&u&&(C="y"),typeof U=="string"&&U!==""?I=new RegExp(U,C):U&&(I=new RegExp(U.source,C)),I},Q.prototype.get_literal_regexp=function(U){return RegExp(U.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Q.prototype.peekUntilAfter=function(U){var v=this.__position,I=this.readUntilAfter(U);return this.__position=v,I},Q.prototype.lookBack=function(U){var v=this.__position-1;return v>=U.length&&this.__input.substring(v-U.length,v).toLowerCase()===U},G.exports.InputScanner=Q},function(G,u,Q){var U=Q(8).InputScanner,v=Q(3).Token,I=Q(10).TokenStream,C=Q(11).WhitespacePattern,P={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},X=function(V,z){this._input=new U(V),this._options=z||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new C(this._input)};X.prototype.tokenize=function(){this._input.restart(),this.__tokens=new I,this._reset();for(var V,z=new v(P.START,""),N=null,F=[],B=new I;z.type!==P.EOF;){for(V=this._get_next_token(z,N);this._is_comment(V);)B.add(V),V=this._get_next_token(z,N);B.isEmpty()||(V.comments_before=B,B=new I),V.parent=N,this._is_opening(V)?(F.push(N),N=V):N&&this._is_closing(V,N)&&(V.opened=N,N.closed=V,N=F.pop(),V.parent=N),V.previous=z,z.next=V,this.__tokens.add(V),z=V}return this.__tokens},X.prototype._is_first_token=function(){return this.__tokens.isEmpty()},X.prototype._reset=function(){},X.prototype._get_next_token=function(V,z){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(P.RAW,N):this._create_token(P.EOF,"")},X.prototype._is_comment=function(V){return!1},X.prototype._is_opening=function(V){return!1},X.prototype._is_closing=function(V,z){return!1},X.prototype._create_token=function(V,z){var N=new v(V,z,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},X.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},G.exports.Tokenizer=X,G.exports.TOKEN=P},function(G){function u(Q){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=Q}u.prototype.restart=function(){this.__position=0},u.prototype.isEmpty=function(){return this.__tokens_length===0},u.prototype.hasNext=function(){return this.__position<this.__tokens_length},u.prototype.next=function(){var Q=null;return this.hasNext()&&(Q=this.__tokens[this.__position],this.__position+=1),Q},u.prototype.peek=function(Q){var U=null;return Q=Q||0,Q+=this.__position,Q>=0&&Q<this.__tokens_length&&(U=this.__tokens[Q]),U},u.prototype.add=function(Q){this.__parent_token&&(Q.parent=this.__parent_token),this.__tokens.push(Q),this.__tokens_length+=1},G.exports.TokenStream=u},function(G,u,Q){var U=Q(12).Pattern;function v(I,C){U.call(this,I,C),C?this._line_regexp=this._input.get_regexp(C._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}v.prototype=new U,v.prototype.__set_whitespace_patterns=function(I,C){I+="\\t ",C+="\\n\\r",this._match_pattern=this._input.get_regexp("["+I+C+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+C+"]")},v.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var I=this._input.read(this._match_pattern);if(I===" ")this.whitespace_before_token=" ";else if(I){var C=this.__split(this._newline_regexp,I);this.newline_count=C.length-1,this.whitespace_before_token=C[this.newline_count]}return I},v.prototype.matching=function(I,C){var P=this._create();return P.__set_whitespace_patterns(I,C),P._update(),P},v.prototype._create=function(){return new v(this._input,this)},v.prototype.__split=function(I,C){I.lastIndex=0;for(var P=0,X=[],V=I.exec(C);V;)X.push(C.substring(P,V.index)),P=V.index+V[0].length,V=I.exec(C);return P<C.length?X.push(C.substring(P,C.length)):X.push(""),X},G.exports.WhitespacePattern=v},function(G){function u(Q,U){this._input=Q,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,U&&(this._starting_pattern=this._input.get_regexp(U._starting_pattern,!0),this._match_pattern=this._input.get_regexp(U._match_pattern,!0),this._until_pattern=this._input.get_regexp(U._until_pattern),this._until_after=U._until_after)}u.prototype.read=function(){var Q=this._input.read(this._starting_pattern);return(!this._starting_pattern||Q)&&(Q+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),Q},u.prototype.read_match=function(){return this._input.match(this._match_pattern)},u.prototype.until_after=function(Q){var U=this._create();return U._until_after=!0,U._until_pattern=this._input.get_regexp(Q),U._update(),U},u.prototype.until=function(Q){var U=this._create();return U._until_after=!1,U._until_pattern=this._input.get_regexp(Q),U._update(),U},u.prototype.starting_with=function(Q){var U=this._create();return U._starting_pattern=this._input.get_regexp(Q,!0),U._update(),U},u.prototype.matching=function(Q){var U=this._create();return U._match_pattern=this._input.get_regexp(Q,!0),U._update(),U},u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){},G.exports.Pattern=u},function(G){function u(Q,U){Q=typeof Q=="string"?Q:Q.source,U=typeof U=="string"?U:U.source,this.__directives_block_pattern=new RegExp(Q+/ beautify( \w+[:]\w+)+ /.source+U,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Q+/\sbeautify\signore:end\s/.source+U,"g")}u.prototype.get_directives=function(Q){if(!Q.match(this.__directives_block_pattern))return null;var U={};this.__directive_pattern.lastIndex=0;for(var v=this.__directive_pattern.exec(Q);v;)U[v[1]]=v[2],v=this.__directive_pattern.exec(Q);return U},u.prototype.readIgnored=function(Q){return Q.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=u},function(G,u,Q){var U=Q(12).Pattern,v={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function I(C,P){U.call(this,C,P),this.__template_pattern=null,this._disabled=Object.assign({},v),this._excluded=Object.assign({},v),P&&(this.__template_pattern=this._input.get_regexp(P.__template_pattern),this._excluded=Object.assign(this._excluded,P._excluded),this._disabled=Object.assign(this._disabled,P._disabled));var X=new U(C);this.__patterns={handlebars_comment:X.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:X.starting_with(/{{{/).until_after(/}}}/),handlebars:X.starting_with(/{{/).until_after(/}}/),php:X.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:X.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:X.starting_with(/{%/).until_after(/%}/),django_value:X.starting_with(/{{/).until_after(/}}/),django_comment:X.starting_with(/{#/).until_after(/#}/),smarty:X.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:X.starting_with(/{\*/).until_after(/\*}/),smarty_literal:X.starting_with(/{literal}/).until_after(/{\/literal}/)}}I.prototype=new U,I.prototype._create=function(){return new I(this._input,this)},I.prototype._update=function(){this.__set_templated_pattern()},I.prototype.disable=function(C){var P=this._create();return P._disabled[C]=!0,P._update(),P},I.prototype.read_options=function(C){var P=this._create();for(var X in v)P._disabled[X]=C.templating.indexOf(X)===-1;return P._update(),P},I.prototype.exclude=function(C){var P=this._create();return P._excluded[C]=!0,P._update(),P},I.prototype.read=function(){var C="";this._match_pattern?C=this._input.read(this._starting_pattern):C=this._input.read(this._starting_pattern,this.__template_pattern);for(var P=this._read_template();P;)this._match_pattern?P+=this._input.read(this._match_pattern):P+=this._input.readUntil(this.__template_pattern),C+=P,P=this._read_template();return this._until_after&&(C+=this._input.readUntilAfter(this._until_pattern)),C},I.prototype.__set_templated_pattern=function(){var C=[];this._disabled.php||C.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||C.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||C.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||C.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(C.push(this.__patterns.django._starting_pattern.source),C.push(this.__patterns.django_value._starting_pattern.source),C.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||C.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&C.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+C.join("|")+")")},I.prototype._read_template=function(){var C="",P=this._input.peek();if(P==="<"){var X=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&X==="?"&&(C=C||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&X==="%"&&(C=C||this.__patterns.erb.read())}else P==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(C=C||this.__patterns.handlebars_comment.read(),C=C||this.__patterns.handlebars_unescaped.read(),C=C||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(C=C||this.__patterns.django_value.read()),this._excluded.django||(C=C||this.__patterns.django_comment.read(),C=C||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(C=C||this.__patterns.smarty_comment.read(),C=C||this.__patterns.smarty_literal.read(),C=C||this.__patterns.smarty.read()));return C},G.exports.TemplatablePattern=I}],_={};function h(G){var u=_[G];if(u!==void 0)return u.exports;var Q=_[G]={exports:{}};return b[G](Q,Q.exports,h),Q.exports}var j=h(0);y=j})();var T=y;o=[],a=function(){return{js_beautify:T}}.apply(p,o),a!==void 0&&(k.exports=a)})()},32834:function(k){(function(p,o){k.exports=o()})(this,function(){"use strict";function p(qe,Ge){for(var ke=0;ke<Ge.length;ke++){var ce=Ge[ke];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,"value"in ce&&(ce.writable=!0),Object.defineProperty(qe,ce.key,ce)}}function o(qe,Ge,ke){return Ge&&p(qe.prototype,Ge),ke&&p(qe,ke),qe}function a(qe,Ge){if(qe){if(typeof qe=="string")return y(qe,Ge);var ke=Object.prototype.toString.call(qe).slice(8,-1);if(ke==="Object"&&qe.constructor&&(ke=qe.constructor.name),ke==="Map"||ke==="Set")return Array.from(qe);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return y(qe,Ge)}}function y(qe,Ge){(Ge==null||Ge>qe.length)&&(Ge=qe.length);for(var ke=0,ce=new Array(Ge);ke<Ge;ke++)ce[ke]=qe[ke];return ce}function T(qe,Ge){var ke=typeof Symbol!="undefined"&&qe[Symbol.iterator]||qe["@@iterator"];if(ke)return(ke=ke.call(qe)).next.bind(ke);if(Array.isArray(qe)||(ke=a(qe))||Ge&&qe&&typeof qe.length=="number"){ke&&(qe=ke);var ce=0;return function(){return ce>=qe.length?{done:!0}:{done:!1,value:qe[ce++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b={exports:{}};function _(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function h(qe){b.exports.defaults=qe}b.exports={defaults:_(),getDefaults:_,changeDefaults:h};var j=/[&<>"']/,G=/[&<>"']/g,u=/[<>"']|&(?!#?\w+;)/,Q=/[<>"']|&(?!#?\w+;)/g,U={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},v=function(Ge){return U[Ge]};function I(qe,Ge){if(Ge){if(j.test(qe))return qe.replace(G,v)}else if(u.test(qe))return qe.replace(Q,v);return qe}var C=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function P(qe){return qe.replace(C,function(Ge,ke){return ke=ke.toLowerCase(),ke==="colon"?":":ke.charAt(0)==="#"?ke.charAt(1)==="x"?String.fromCharCode(parseInt(ke.substring(2),16)):String.fromCharCode(+ke.substring(1)):""})}var X=/(^|[^\[])\^/g;function V(qe,Ge){qe=qe.source||qe,Ge=Ge||"";var ke={replace:function(pe,me){return me=me.source||me,me=me.replace(X,"$1"),qe=qe.replace(pe,me),ke},getRegex:function(){return new RegExp(qe,Ge)}};return ke}var z=/[^\w:]/g,N=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function F(qe,Ge,ke){if(qe){var ce;try{ce=decodeURIComponent(P(ke)).replace(z,"").toLowerCase()}catch(pe){return null}if(ce.indexOf("javascript:")===0||ce.indexOf("vbscript:")===0||ce.indexOf("data:")===0)return null}Ge&&!N.test(ke)&&(ke=te(Ge,ke));try{ke=encodeURI(ke).replace(/%25/g,"%")}catch(pe){return null}return ke}var B={},W=/^[^:]+:\/*[^/]*$/,H=/^([^:]+:)[\s\S]*$/,le=/^([^:]+:\/*[^/]*)[\s\S]*$/;function te(qe,Ge){B[" "+qe]||(W.test(qe)?B[" "+qe]=qe+"/":B[" "+qe]=ve(qe,"/",!0)),qe=B[" "+qe];var ke=qe.indexOf(":")===-1;return Ge.substring(0,2)==="//"?ke?Ge:qe.replace(H,"$1")+Ge:Ge.charAt(0)==="/"?ke?Ge:qe.replace(le,"$1")+Ge:qe+Ge}var se={exec:function(){}};function Ee(qe){for(var Ge=1,ke,ce;Ge<arguments.length;Ge++){ke=arguments[Ge];for(ce in ke)Object.prototype.hasOwnProperty.call(ke,ce)&&(qe[ce]=ke[ce])}return qe}function he(qe,Ge){var ke=qe.replace(/\|/g,function(me,we,Ye){for(var bt=!1,Dt=we;--Dt>=0&&Ye[Dt]==="\\";)bt=!bt;return bt?"|":" |"}),ce=ke.split(/ \|/),pe=0;if(ce.length>Ge)ce.splice(Ge);else for(;ce.length<Ge;)ce.push("");for(;pe<ce.length;pe++)ce[pe]=ce[pe].trim().replace(/\\\|/g,"|");return ce}function ve(qe,Ge,ke){var ce=qe.length;if(ce===0)return"";for(var pe=0;pe<ce;){var me=qe.charAt(ce-pe-1);if(me===Ge&&!ke)pe++;else if(me!==Ge&&ke)pe++;else break}return qe.substr(0,ce-pe)}function J(qe,Ge){if(qe.indexOf(Ge[1])===-1)return-1;for(var ke=qe.length,ce=0,pe=0;pe<ke;pe++)if(qe[pe]==="\\")pe++;else if(qe[pe]===Ge[0])ce++;else if(qe[pe]===Ge[1]&&(ce--,ce<0))return pe;return-1}function Z(qe){qe&&qe.sanitize&&!qe.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function ie(qe,Ge){if(Ge<1)return"";for(var ke="";Ge>1;)Ge&1&&(ke+=qe),Ge>>=1,qe+=qe;return ke+qe}var ue={escape:I,unescape:P,edit:V,cleanUrl:F,resolveUrl:te,noopTest:se,merge:Ee,splitCells:he,rtrim:ve,findClosingBracket:J,checkSanitizeDeprecation:Z,repeatString:ie},fe=b.exports.defaults,ae=ue.rtrim,w=ue.splitCells,L=ue.escape,oe=ue.findClosingBracket;function M(qe,Ge,ke){var ce=Ge.href,pe=Ge.title?L(Ge.title):null,me=qe[1].replace(/\\([\[\]])/g,"$1");return qe[0].charAt(0)!=="!"?{type:"link",raw:ke,href:ce,title:pe,text:me}:{type:"image",raw:ke,href:ce,title:pe,text:L(me)}}function De(qe,Ge){var ke=qe.match(/^(\s+)(?:```)/);if(ke===null)return Ge;var ce=ke[1];return Ge.split(`
`).map(function(pe){var me=pe.match(/^\s+/);if(me===null)return pe;var we=me[0];return we.length>=ce.length?pe.slice(ce.length):pe}).join(`
`)}var Fe=function(){function qe(ke){this.options=ke||fe}var Ge=qe.prototype;return Ge.space=function(ce){var pe=this.rules.block.newline.exec(ce);if(pe)return pe[0].length>1?{type:"space",raw:pe[0]}:{raw:`
`}},Ge.code=function(ce){var pe=this.rules.block.code.exec(ce);if(pe){var me=pe[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:pe[0],codeBlockStyle:"indented",text:this.options.pedantic?me:ae(me,`
`)}}},Ge.fences=function(ce){var pe=this.rules.block.fences.exec(ce);if(pe){var me=pe[0],we=De(me,pe[3]||"");return{type:"code",raw:me,lang:pe[2]?pe[2].trim():pe[2],text:we}}},Ge.heading=function(ce){var pe=this.rules.block.heading.exec(ce);if(pe){var me=pe[2].trim();if(/#$/.test(me)){var we=ae(me,"#");(this.options.pedantic||!we||/ $/.test(we))&&(me=we.trim())}return{type:"heading",raw:pe[0],depth:pe[1].length,text:me}}},Ge.nptable=function(ce){var pe=this.rules.block.nptable.exec(ce);if(pe){var me={type:"table",header:w(pe[1].replace(/^ *| *\| *$/g,"")),align:pe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:pe[3]?pe[3].replace(/\n$/,"").split(`
`):[],raw:pe[0]};if(me.header.length===me.align.length){var we=me.align.length,Ye;for(Ye=0;Ye<we;Ye++)/^ *-+: *$/.test(me.align[Ye])?me.align[Ye]="right":/^ *:-+: *$/.test(me.align[Ye])?me.align[Ye]="center":/^ *:-+ *$/.test(me.align[Ye])?me.align[Ye]="left":me.align[Ye]=null;for(we=me.cells.length,Ye=0;Ye<we;Ye++)me.cells[Ye]=w(me.cells[Ye],me.header.length);return me}}},Ge.hr=function(ce){var pe=this.rules.block.hr.exec(ce);if(pe)return{type:"hr",raw:pe[0]}},Ge.blockquote=function(ce){var pe=this.rules.block.blockquote.exec(ce);if(pe){var me=pe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:pe[0],text:me}}},Ge.list=function(ce){var pe=this.rules.block.list.exec(ce);if(pe){var me=pe[0],we=pe[2],Ye=we.length>1,bt={type:"list",raw:me,ordered:Ye,start:Ye?+we.slice(0,-1):"",loose:!1,items:[]},Dt=pe[0].match(this.rules.block.item),jt=!1,Kt,Ht,Ft,Gt,Yt,$t,bn,Jt,un,mn=Dt.length;Ft=this.rules.block.listItemStart.exec(Dt[0]);for(var hn=0;hn<mn;hn++){if(Kt=Dt[hn],me=Kt,this.options.pedantic||(un=Kt.match(new RegExp("\\n\\s*\\n {0,"+(Ft[0].length-1)+"}\\S")),un&&(Yt=Kt.length-un.index+Dt.slice(hn+1).join(`
`).length,bt.raw=bt.raw.substring(0,bt.raw.length-Yt),Kt=Kt.substring(0,un.index),me=Kt,mn=hn+1)),hn!==mn-1){if(Gt=this.rules.block.listItemStart.exec(Dt[hn+1]),this.options.pedantic?Gt[1].length>Ft[1].length:Gt[1].length>=Ft[0].length||Gt[1].length>3){Dt.splice(hn,2,Dt[hn]+(!this.options.pedantic&&Gt[1].length<Ft[0].length&&!Dt[hn].match(/\n$/)?"":`
`)+Dt[hn+1]),hn--,mn--;continue}else(!this.options.pedantic||this.options.smartLists?Gt[2][Gt[2].length-1]!==we[we.length-1]:Ye===(Gt[2].length===1))&&(Yt=Dt.slice(hn+1).join(`
`).length,bt.raw=bt.raw.substring(0,bt.raw.length-Yt),hn=mn-1);Ft=Gt}Ht=Kt.length,Kt=Kt.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Kt.indexOf(`
`)&&(Ht-=Kt.length,Kt=this.options.pedantic?Kt.replace(/^ {1,4}/gm,""):Kt.replace(new RegExp("^ {1,"+Ht+"}","gm"),"")),Kt=ae(Kt,`
`),hn!==mn-1&&(me=me+`
`),$t=jt||/\n\n(?!\s*$)/.test(me),hn!==mn-1&&(jt=me.slice(-2)===`
`,$t||($t=jt)),$t&&(bt.loose=!0),this.options.gfm&&(bn=/^\[[ xX]\] /.test(Kt),Jt=void 0,bn&&(Jt=Kt[1]!==" ",Kt=Kt.replace(/^\[[ xX]\] +/,""))),bt.items.push({type:"list_item",raw:me,task:bn,checked:Jt,loose:$t,text:Kt})}return bt}},Ge.html=function(ce){var pe=this.rules.block.html.exec(ce);if(pe)return{type:this.options.sanitize?"paragraph":"html",raw:pe[0],pre:!this.options.sanitizer&&(pe[1]==="pre"||pe[1]==="script"||pe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(pe[0]):L(pe[0]):pe[0]}},Ge.def=function(ce){var pe=this.rules.block.def.exec(ce);if(pe){pe[3]&&(pe[3]=pe[3].substring(1,pe[3].length-1));var me=pe[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:me,raw:pe[0],href:pe[2],title:pe[3]}}},Ge.table=function(ce){var pe=this.rules.block.table.exec(ce);if(pe){var me={type:"table",header:w(pe[1].replace(/^ *| *\| *$/g,"")),align:pe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:pe[3]?pe[3].replace(/\n$/,"").split(`
`):[]};if(me.header.length===me.align.length){me.raw=pe[0];var we=me.align.length,Ye;for(Ye=0;Ye<we;Ye++)/^ *-+: *$/.test(me.align[Ye])?me.align[Ye]="right":/^ *:-+: *$/.test(me.align[Ye])?me.align[Ye]="center":/^ *:-+ *$/.test(me.align[Ye])?me.align[Ye]="left":me.align[Ye]=null;for(we=me.cells.length,Ye=0;Ye<we;Ye++)me.cells[Ye]=w(me.cells[Ye].replace(/^ *\| *| *\| *$/g,""),me.header.length);return me}}},Ge.lheading=function(ce){var pe=this.rules.block.lheading.exec(ce);if(pe)return{type:"heading",raw:pe[0],depth:pe[2].charAt(0)==="="?1:2,text:pe[1]}},Ge.paragraph=function(ce){var pe=this.rules.block.paragraph.exec(ce);if(pe)return{type:"paragraph",raw:pe[0],text:pe[1].charAt(pe[1].length-1)===`
`?pe[1].slice(0,-1):pe[1]}},Ge.text=function(ce){var pe=this.rules.block.text.exec(ce);if(pe)return{type:"text",raw:pe[0],text:pe[0]}},Ge.escape=function(ce){var pe=this.rules.inline.escape.exec(ce);if(pe)return{type:"escape",raw:pe[0],text:L(pe[1])}},Ge.tag=function(ce,pe,me){var we=this.rules.inline.tag.exec(ce);if(we)return!pe&&/^<a /i.test(we[0])?pe=!0:pe&&/^<\/a>/i.test(we[0])&&(pe=!1),!me&&/^<(pre|code|kbd|script)(\s|>)/i.test(we[0])?me=!0:me&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(we[0])&&(me=!1),{type:this.options.sanitize?"text":"html",raw:we[0],inLink:pe,inRawBlock:me,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):L(we[0]):we[0]}},Ge.link=function(ce){var pe=this.rules.inline.link.exec(ce);if(pe){var me=pe[2].trim();if(!this.options.pedantic&&/^</.test(me)){if(!/>$/.test(me))return;var we=ae(me.slice(0,-1),"\\");if((me.length-we.length)%2===0)return}else{var Ye=oe(pe[2],"()");if(Ye>-1){var bt=pe[0].indexOf("!")===0?5:4,Dt=bt+pe[1].length+Ye;pe[2]=pe[2].substring(0,Ye),pe[0]=pe[0].substring(0,Dt).trim(),pe[3]=""}}var jt=pe[2],Kt="";if(this.options.pedantic){var Ht=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(jt);Ht&&(jt=Ht[1],Kt=Ht[3])}else Kt=pe[3]?pe[3].slice(1,-1):"";return jt=jt.trim(),/^</.test(jt)&&(this.options.pedantic&&!/>$/.test(me)?jt=jt.slice(1):jt=jt.slice(1,-1)),M(pe,{href:jt&&jt.replace(this.rules.inline._escapes,"$1"),title:Kt&&Kt.replace(this.rules.inline._escapes,"$1")},pe[0])}},Ge.reflink=function(ce,pe){var me;if((me=this.rules.inline.reflink.exec(ce))||(me=this.rules.inline.nolink.exec(ce))){var we=(me[2]||me[1]).replace(/\s+/g," ");if(we=pe[we.toLowerCase()],!we||!we.href){var Ye=me[0].charAt(0);return{type:"text",raw:Ye,text:Ye}}return M(me,we,me[0])}},Ge.emStrong=function(ce,pe,me){me===void 0&&(me="");var we=this.rules.inline.emStrong.lDelim.exec(ce);if(we&&!(we[3]&&me.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A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075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uA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E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Ye=we[1]||we[2]||"";if(!Ye||Ye&&(me===""||this.rules.inline.punctuation.exec(me))){var bt=we[0].length-1,Dt,jt,Kt=bt,Ht=0,Ft=we[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Ft.lastIndex=0,pe=pe.slice(-1*ce.length+bt);(we=Ft.exec(pe))!=null;)if(Dt=we[1]||we[2]||we[3]||we[4]||we[5]||we[6],!!Dt){if(jt=Dt.length,we[3]||we[4]){Kt+=jt;continue}else if((we[5]||we[6])&&bt%3&&!((bt+jt)%3)){Ht+=jt;continue}if(Kt-=jt,!(Kt>0))return jt=Math.min(jt,jt+Kt+Ht),Math.min(bt,jt)%2?{type:"em",raw:ce.slice(0,bt+we.index+jt+1),text:ce.slice(1,bt+we.index+jt)}:{type:"strong",raw:ce.slice(0,bt+we.index+jt+1),text:ce.slice(2,bt+we.index+jt-1)}}}}},Ge.codespan=function(ce){var pe=this.rules.inline.code.exec(ce);if(pe){var me=pe[2].replace(/\n/g," "),we=/[^ ]/.test(me),Ye=/^ /.test(me)&&/ $/.test(me);return we&&Ye&&(me=me.substring(1,me.length-1)),me=L(me,!0),{type:"codespan",raw:pe[0],text:me}}},Ge.br=function(ce){var pe=this.rules.inline.br.exec(ce);if(pe)return{type:"br",raw:pe[0]}},Ge.del=function(ce){var pe=this.rules.inline.del.exec(ce);if(pe)return{type:"del",raw:pe[0],text:pe[2]}},Ge.autolink=function(ce,pe){var me=this.rules.inline.autolink.exec(ce);if(me){var we,Ye;return me[2]==="@"?(we=L(this.options.mangle?pe(me[1]):me[1]),Ye="mailto:"+we):(we=L(me[1]),Ye=we),{type:"link",raw:me[0],text:we,href:Ye,tokens:[{type:"text",raw:we,text:we}]}}},Ge.url=function(ce,pe){var me;if(me=this.rules.inline.url.exec(ce)){var we,Ye;if(me[2]==="@")we=L(this.options.mangle?pe(me[0]):me[0]),Ye="mailto:"+we;else{var bt;do bt=me[0],me[0]=this.rules.inline._backpedal.exec(me[0])[0];while(bt!==me[0]);we=L(me[0]),me[1]==="www."?Ye="http://"+we:Ye=we}return{type:"link",raw:me[0],text:we,href:Ye,tokens:[{type:"text",raw:we,text:we}]}}},Ge.inlineText=function(ce,pe,me){var we=this.rules.inline.text.exec(ce);if(we){var Ye;return pe?Ye=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(we[0]):L(we[0]):we[0]:Ye=L(this.options.smartypants?me(we[0]):we[0]),{type:"text",raw:we[0],text:Ye}}},qe}(),Re=ue.noopTest,dt=ue.edit,st=ue.merge,it={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Re,table:Re,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};it._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,it._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,it.def=dt(it.def).replace("label",it._label).replace("title",it._title).getRegex(),it.bullet=/(?:[*+-]|\d{1,9}[.)])/,it.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,it.item=dt(it.item,"gm").replace(/bull/g,it.bullet).getRegex(),it.listItemStart=dt(/^( *)(bull) */).replace("bull",it.bullet).getRegex(),it.list=dt(it.list).replace(/bull/g,it.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+it.def.source+")").getRegex(),it._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",it._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,it.html=dt(it.html,"i").replace("comment",it._comment).replace("tag",it._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),it.paragraph=dt(it._paragraph).replace("hr",it.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",it._tag).getRegex(),it.blockquote=dt(it.blockquote).replace("paragraph",it.paragraph).getRegex(),it.normal=st({},it),it.gfm=st({},it.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),it.gfm.nptable=dt(it.gfm.nptable).replace("hr",it.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",it._tag).getRegex(),it.gfm.table=dt(it.gfm.table).replace("hr",it.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",it._tag).getRegex(),it.pedantic=st({},it.normal,{html:dt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",it._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Re,paragraph:dt(it.normal._paragraph).replace("hr",it.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",it.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var lt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Re,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Re,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};lt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",lt.punctuation=dt(lt.punctuation).replace(/punctuation/g,lt._punctuation).getRegex(),lt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,lt.escapedEmSt=/\\\*|\\_/g,lt._comment=dt(it._comment).replace("(?:-->|$)","-->").getRegex(),lt.emStrong.lDelim=dt(lt.emStrong.lDelim).replace(/punct/g,lt._punctuation).getRegex(),lt.emStrong.rDelimAst=dt(lt.emStrong.rDelimAst,"g").replace(/punct/g,lt._punctuation).getRegex(),lt.emStrong.rDelimUnd=dt(lt.emStrong.rDelimUnd,"g").replace(/punct/g,lt._punctuation).getRegex(),lt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,lt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,lt._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,lt.autolink=dt(lt.autolink).replace("scheme",lt._scheme).replace("email",lt._email).getRegex(),lt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,lt.tag=dt(lt.tag).replace("comment",lt._comment).replace("attribute",lt._attribute).getRegex(),lt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,lt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,lt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,lt.link=dt(lt.link).replace("label",lt._label).replace("href",lt._href).replace("title",lt._title).getRegex(),lt.reflink=dt(lt.reflink).replace("label",lt._label).getRegex(),lt.reflinkSearch=dt(lt.reflinkSearch,"g").replace("reflink",lt.reflink).replace("nolink",lt.nolink).getRegex(),lt.normal=st({},lt),lt.pedantic=st({},lt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:dt(/^!?\[(label)\]\((.*?)\)/).replace("label",lt._label).getRegex(),reflink:dt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",lt._label).getRegex()}),lt.gfm=st({},lt.normal,{escape:dt(lt.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),lt.gfm.url=dt(lt.gfm.url,"i").replace("email",lt.gfm._extended_email).getRegex(),lt.breaks=st({},lt.gfm,{br:dt(lt.br).replace("{2,}","*").getRegex(),text:dt(lt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var zt={block:it,inline:lt},nn=Fe,Mt=b.exports.defaults,en=zt.block,rn=zt.inline,rt=ue.repeatString;function tt(qe){return qe.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Be(qe){var Ge="",ke,ce,pe=qe.length;for(ke=0;ke<pe;ke++)ce=qe.charCodeAt(ke),Math.random()>.5&&(ce="x"+ce.toString(16)),Ge+="&#"+ce+";";return Ge}var Oe=function(){function qe(ke){this.tokens=[],this.tokens.links=Object.create(null),this.options=ke||Mt,this.options.tokenizer=this.options.tokenizer||new nn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ce={block:en.normal,inline:rn.normal};this.options.pedantic?(ce.block=en.pedantic,ce.inline=rn.pedantic):this.options.gfm&&(ce.block=en.gfm,this.options.breaks?ce.inline=rn.breaks:ce.inline=rn.gfm),this.tokenizer.rules=ce}qe.lex=function(ce,pe){var me=new qe(pe);return me.lex(ce)},qe.lexInline=function(ce,pe){var me=new qe(pe);return me.inlineTokens(ce)};var Ge=qe.prototype;return Ge.lex=function(ce){return ce=ce.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(ce,this.tokens,!0),this.inline(this.tokens),this.tokens},Ge.blockTokens=function(ce,pe,me){pe===void 0&&(pe=[]),me===void 0&&(me=!0),this.options.pedantic&&(ce=ce.replace(/^ +$/gm,""));for(var we,Ye,bt,Dt;ce;){if(we=this.tokenizer.space(ce)){ce=ce.substring(we.raw.length),we.type&&pe.push(we);continue}if(we=this.tokenizer.code(ce)){ce=ce.substring(we.raw.length),Dt=pe[pe.length-1],Dt&&Dt.type==="paragraph"?(Dt.raw+=`
`+we.raw,Dt.text+=`
`+we.text):pe.push(we);continue}if(we=this.tokenizer.fences(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.heading(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.nptable(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.hr(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.blockquote(ce)){ce=ce.substring(we.raw.length),we.tokens=this.blockTokens(we.text,[],me),pe.push(we);continue}if(we=this.tokenizer.list(ce)){for(ce=ce.substring(we.raw.length),bt=we.items.length,Ye=0;Ye<bt;Ye++)we.items[Ye].tokens=this.blockTokens(we.items[Ye].text,[],!1);pe.push(we);continue}if(we=this.tokenizer.html(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(me&&(we=this.tokenizer.def(ce))){ce=ce.substring(we.raw.length),this.tokens.links[we.tag]||(this.tokens.links[we.tag]={href:we.href,title:we.title});continue}if(we=this.tokenizer.table(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.lheading(ce)){ce=ce.substring(we.raw.length),pe.push(we);continue}if(me&&(we=this.tokenizer.paragraph(ce))){ce=ce.substring(we.raw.length),pe.push(we);continue}if(we=this.tokenizer.text(ce)){ce=ce.substring(we.raw.length),Dt=pe[pe.length-1],Dt&&Dt.type==="text"?(Dt.raw+=`
`+we.raw,Dt.text+=`
`+we.text):pe.push(we);continue}if(ce){var jt="Infinite loop on byte: "+ce.charCodeAt(0);if(this.options.silent){console.error(jt);break}else throw new Error(jt)}}return pe},Ge.inline=function(ce){var pe,me,we,Ye,bt,Dt,jt=ce.length;for(pe=0;pe<jt;pe++)switch(Dt=ce[pe],Dt.type){case"paragraph":case"text":case"heading":{Dt.tokens=[],this.inlineTokens(Dt.text,Dt.tokens);break}case"table":{for(Dt.tokens={header:[],cells:[]},Ye=Dt.header.length,me=0;me<Ye;me++)Dt.tokens.header[me]=[],this.inlineTokens(Dt.header[me],Dt.tokens.header[me]);for(Ye=Dt.cells.length,me=0;me<Ye;me++)for(bt=Dt.cells[me],Dt.tokens.cells[me]=[],we=0;we<bt.length;we++)Dt.tokens.cells[me][we]=[],this.inlineTokens(bt[we],Dt.tokens.cells[me][we]);break}case"blockquote":{this.inline(Dt.tokens);break}case"list":{for(Ye=Dt.items.length,me=0;me<Ye;me++)this.inline(Dt.items[me].tokens);break}}return ce},Ge.inlineTokens=function(ce,pe,me,we){pe===void 0&&(pe=[]),me===void 0&&(me=!1),we===void 0&&(we=!1);var Ye,bt,Dt=ce,jt,Kt,Ht;if(this.tokens.links){var Ft=Object.keys(this.tokens.links);if(Ft.length>0)for(;(jt=this.tokenizer.rules.inline.reflinkSearch.exec(Dt))!=null;)Ft.includes(jt[0].slice(jt[0].lastIndexOf("[")+1,-1))&&(Dt=Dt.slice(0,jt.index)+"["+rt("a",jt[0].length-2)+"]"+Dt.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(jt=this.tokenizer.rules.inline.blockSkip.exec(Dt))!=null;)Dt=Dt.slice(0,jt.index)+"["+rt("a",jt[0].length-2)+"]"+Dt.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(jt=this.tokenizer.rules.inline.escapedEmSt.exec(Dt))!=null;)Dt=Dt.slice(0,jt.index)+"++"+Dt.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;ce;){if(Kt||(Ht=""),Kt=!1,Ye=this.tokenizer.escape(ce)){ce=ce.substring(Ye.raw.length),pe.push(Ye);continue}if(Ye=this.tokenizer.tag(ce,me,we)){ce=ce.substring(Ye.raw.length),me=Ye.inLink,we=Ye.inRawBlock;var Gt=pe[pe.length-1];Gt&&Ye.type==="text"&&Gt.type==="text"?(Gt.raw+=Ye.raw,Gt.text+=Ye.text):pe.push(Ye);continue}if(Ye=this.tokenizer.link(ce)){ce=ce.substring(Ye.raw.length),Ye.type==="link"&&(Ye.tokens=this.inlineTokens(Ye.text,[],!0,we)),pe.push(Ye);continue}if(Ye=this.tokenizer.reflink(ce,this.tokens.links)){ce=ce.substring(Ye.raw.length);var Yt=pe[pe.length-1];Ye.type==="link"?(Ye.tokens=this.inlineTokens(Ye.text,[],!0,we),pe.push(Ye)):Yt&&Ye.type==="text"&&Yt.type==="text"?(Yt.raw+=Ye.raw,Yt.text+=Ye.text):pe.push(Ye);continue}if(Ye=this.tokenizer.emStrong(ce,Dt,Ht)){ce=ce.substring(Ye.raw.length),Ye.tokens=this.inlineTokens(Ye.text,[],me,we),pe.push(Ye);continue}if(Ye=this.tokenizer.codespan(ce)){ce=ce.substring(Ye.raw.length),pe.push(Ye);continue}if(Ye=this.tokenizer.br(ce)){ce=ce.substring(Ye.raw.length),pe.push(Ye);continue}if(Ye=this.tokenizer.del(ce)){ce=ce.substring(Ye.raw.length),Ye.tokens=this.inlineTokens(Ye.text,[],me,we),pe.push(Ye);continue}if(Ye=this.tokenizer.autolink(ce,Be)){ce=ce.substring(Ye.raw.length),pe.push(Ye);continue}if(!me&&(Ye=this.tokenizer.url(ce,Be))){ce=ce.substring(Ye.raw.length),pe.push(Ye);continue}if(Ye=this.tokenizer.inlineText(ce,we,tt)){ce=ce.substring(Ye.raw.length),Ye.raw.slice(-1)!=="_"&&(Ht=Ye.raw.slice(-1)),Kt=!0,bt=pe[pe.length-1],bt&&bt.type==="text"?(bt.raw+=Ye.raw,bt.text+=Ye.text):pe.push(Ye);continue}if(ce){var $t="Infinite loop on byte: "+ce.charCodeAt(0);if(this.options.silent){console.error($t);break}else throw new Error($t)}}return pe},o(qe,null,[{key:"rules",get:function(){return{block:en,inline:rn}}}]),qe}(),Ue=b.exports.defaults,$e=ue.cleanUrl,ee=ue.escape,ye=function(){function qe(ke){this.options=ke||Ue}var Ge=qe.prototype;return Ge.code=function(ce,pe,me){var we=(pe||"").match(/\S*/)[0];if(this.options.highlight){var Ye=this.options.highlight(ce,we);Ye!=null&&Ye!==ce&&(me=!0,ce=Ye)}return ce=ce.replace(/\n$/,"")+`
`,we?'<pre><code class="'+this.options.langPrefix+ee(we,!0)+'">'+(me?ce:ee(ce,!0))+`</code></pre>
`:"<pre><code>"+(me?ce:ee(ce,!0))+`</code></pre>
`},Ge.blockquote=function(ce){return`<blockquote>
`+ce+`</blockquote>
`},Ge.html=function(ce){return ce},Ge.heading=function(ce,pe,me,we){return this.options.headerIds?"<h"+pe+' id="'+this.options.headerPrefix+we.slug(me)+'">'+ce+"</h"+pe+`>
`:"<h"+pe+">"+ce+"</h"+pe+`>
`},Ge.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},Ge.list=function(ce,pe,me){var we=pe?"ol":"ul",Ye=pe&&me!==1?' start="'+me+'"':"";return"<"+we+Ye+`>
`+ce+"</"+we+`>
`},Ge.listitem=function(ce){return"<li>"+ce+`</li>
`},Ge.checkbox=function(ce){return"<input "+(ce?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ge.paragraph=function(ce){return"<p>"+ce+`</p>
`},Ge.table=function(ce,pe){return pe&&(pe="<tbody>"+pe+"</tbody>"),`<table>
<thead>
`+ce+`</thead>
`+pe+`</table>
`},Ge.tablerow=function(ce){return`<tr>
`+ce+`</tr>
`},Ge.tablecell=function(ce,pe){var me=pe.header?"th":"td",we=pe.align?"<"+me+' align="'+pe.align+'">':"<"+me+">";return we+ce+"</"+me+`>
`},Ge.strong=function(ce){return"<strong>"+ce+"</strong>"},Ge.em=function(ce){return"<em>"+ce+"</em>"},Ge.codespan=function(ce){return"<code>"+ce+"</code>"},Ge.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ge.del=function(ce){return"<del>"+ce+"</del>"},Ge.link=function(ce,pe,me){if(ce=$e(this.options.sanitize,this.options.baseUrl,ce),ce===null)return me;var we='<a href="'+ee(ce)+'"';return pe&&(we+=' title="'+pe+'"'),we+=">"+me+"</a>",we},Ge.image=function(ce,pe,me){if(ce=$e(this.options.sanitize,this.options.baseUrl,ce),ce===null)return me;var we='<img src="'+ce+'" alt="'+me+'"';return pe&&(we+=' title="'+pe+'"'),we+=this.options.xhtml?"/>":">",we},Ge.text=function(ce){return ce},qe}(),Ne=function(){function qe(){}var Ge=qe.prototype;return Ge.strong=function(ce){return ce},Ge.em=function(ce){return ce},Ge.codespan=function(ce){return ce},Ge.del=function(ce){return ce},Ge.html=function(ce){return ce},Ge.text=function(ce){return ce},Ge.link=function(ce,pe,me){return""+me},Ge.image=function(ce,pe,me){return""+me},Ge.br=function(){return""},qe}(),Ie=function(){function qe(){this.seen={}}var Ge=qe.prototype;return Ge.serialize=function(ce){return ce.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ge.getNextSafeSlug=function(ce,pe){var me=ce,we=0;if(this.seen.hasOwnProperty(me)){we=this.seen[ce];do we++,me=ce+"-"+we;while(this.seen.hasOwnProperty(me))}return pe||(this.seen[ce]=we,this.seen[me]=0),me},Ge.slug=function(ce,pe){pe===void 0&&(pe={});var me=this.serialize(ce);return this.getNextSafeSlug(me,pe.dryrun)},qe}(),ze=ye,He=Ne,Je=Ie,Ke=b.exports.defaults,je=ue.unescape,_e=function(){function qe(ke){this.options=ke||Ke,this.options.renderer=this.options.renderer||new ze,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new He,this.slugger=new Je}qe.parse=function(ce,pe){var me=new qe(pe);return me.parse(ce)},qe.parseInline=function(ce,pe){var me=new qe(pe);return me.parseInline(ce)};var Ge=qe.prototype;return Ge.parse=function(ce,pe){pe===void 0&&(pe=!0);var me="",we,Ye,bt,Dt,jt,Kt,Ht,Ft,Gt,Yt,$t,bn,Jt,un,mn,hn,vn,yn,Gn=ce.length;for(we=0;we<Gn;we++)switch(Yt=ce[we],Yt.type){case"space":continue;case"hr":{me+=this.renderer.hr();continue}case"heading":{me+=this.renderer.heading(this.parseInline(Yt.tokens),Yt.depth,je(this.parseInline(Yt.tokens,this.textRenderer)),this.slugger);continue}case"code":{me+=this.renderer.code(Yt.text,Yt.lang,Yt.escaped);continue}case"table":{for(Ft="",Ht="",Dt=Yt.header.length,Ye=0;Ye<Dt;Ye++)Ht+=this.renderer.tablecell(this.parseInline(Yt.tokens.header[Ye]),{header:!0,align:Yt.align[Ye]});for(Ft+=this.renderer.tablerow(Ht),Gt="",Dt=Yt.cells.length,Ye=0;Ye<Dt;Ye++){for(Kt=Yt.tokens.cells[Ye],Ht="",jt=Kt.length,bt=0;bt<jt;bt++)Ht+=this.renderer.tablecell(this.parseInline(Kt[bt]),{header:!1,align:Yt.align[bt]});Gt+=this.renderer.tablerow(Ht)}me+=this.renderer.table(Ft,Gt);continue}case"blockquote":{Gt=this.parse(Yt.tokens),me+=this.renderer.blockquote(Gt);continue}case"list":{for($t=Yt.ordered,bn=Yt.start,Jt=Yt.loose,Dt=Yt.items.length,Gt="",Ye=0;Ye<Dt;Ye++)mn=Yt.items[Ye],hn=mn.checked,vn=mn.task,un="",mn.task&&(yn=this.renderer.checkbox(hn),Jt?mn.tokens.length>0&&mn.tokens[0].type==="text"?(mn.tokens[0].text=yn+" "+mn.tokens[0].text,mn.tokens[0].tokens&&mn.tokens[0].tokens.length>0&&mn.tokens[0].tokens[0].type==="text"&&(mn.tokens[0].tokens[0].text=yn+" "+mn.tokens[0].tokens[0].text)):mn.tokens.unshift({type:"text",text:yn}):un+=yn),un+=this.parse(mn.tokens,Jt),Gt+=this.renderer.listitem(un,vn,hn);me+=this.renderer.list(Gt,$t,bn);continue}case"html":{me+=this.renderer.html(Yt.text);continue}case"paragraph":{me+=this.renderer.paragraph(this.parseInline(Yt.tokens));continue}case"text":{for(Gt=Yt.tokens?this.parseInline(Yt.tokens):Yt.text;we+1<Gn&&ce[we+1].type==="text";)Yt=ce[++we],Gt+=`
`+(Yt.tokens?this.parseInline(Yt.tokens):Yt.text);me+=pe?this.renderer.paragraph(Gt):Gt;continue}default:{var jn='Token with "'+Yt.type+'" type was not found.';if(this.options.silent){console.error(jn);return}else throw new Error(jn)}}return me},Ge.parseInline=function(ce,pe){pe=pe||this.renderer;var me="",we,Ye,bt=ce.length;for(we=0;we<bt;we++)switch(Ye=ce[we],Ye.type){case"escape":{me+=pe.text(Ye.text);break}case"html":{me+=pe.html(Ye.text);break}case"link":{me+=pe.link(Ye.href,Ye.title,this.parseInline(Ye.tokens,pe));break}case"image":{me+=pe.image(Ye.href,Ye.title,Ye.text);break}case"strong":{me+=pe.strong(this.parseInline(Ye.tokens,pe));break}case"em":{me+=pe.em(this.parseInline(Ye.tokens,pe));break}case"codespan":{me+=pe.codespan(Ye.text);break}case"br":{me+=pe.br();break}case"del":{me+=pe.del(this.parseInline(Ye.tokens,pe));break}case"text":{me+=pe.text(Ye.text);break}default:{var Dt='Token with "'+Ye.type+'" type was not found.';if(this.options.silent){console.error(Dt);return}else throw new Error(Dt)}}return me},qe}(),Qe=Oe,Me=_e,Pe=Fe,Le=ye,ht=Ne,nt=Ie,re=ue.merge,ut=ue.checkSanitizeDeprecation,Ze=ue.escape,Se=b.exports.getDefaults,St=b.exports.changeDefaults,tn=b.exports.defaults;function gt(qe,Ge,ke){if(typeof qe=="undefined"||qe===null)throw new Error("marked(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");if(typeof Ge=="function"&&(ke=Ge,Ge=null),Ge=re({},gt.defaults,Ge||{}),ut(Ge),ke){var ce=Ge.highlight,pe;try{pe=Qe.lex(qe,Ge)}catch(bt){return ke(bt)}var me=function(Dt){var jt;if(!Dt)try{Ge.walkTokens&&gt.walkTokens(pe,Ge.walkTokens),jt=Me.parse(pe,Ge)}catch(Kt){Dt=Kt}return Ge.highlight=ce,Dt?ke(Dt):ke(null,jt)};if(!ce||ce.length<3||(delete Ge.highlight,!pe.length))return me();var we=0;gt.walkTokens(pe,function(bt){bt.type==="code"&&(we++,setTimeout(function(){ce(bt.text,bt.lang,function(Dt,jt){if(Dt)return me(Dt);jt!=null&&jt!==bt.text&&(bt.text=jt,bt.escaped=!0),we--,we===0&&me()})},0))}),we===0&&me();return}try{var Ye=Qe.lex(qe,Ge);return Ge.walkTokens&&gt.walkTokens(Ye,Ge.walkTokens),Me.parse(Ye,Ge)}catch(bt){if(bt.message+=`
Please report this to https://github.com/markedjs/marked.`,Ge.silent)return"<p>An error occurred:</p><pre>"+Ze(bt.message+"",!0)+"</pre>";throw bt}}gt.options=gt.setOptions=function(qe){return re(gt.defaults,qe),St(gt.defaults),gt},gt.getDefaults=Se,gt.defaults=tn,gt.use=function(qe){var Ge=re({},qe);if(qe.renderer&&function(){var ce=gt.defaults.renderer||new Le,pe=function(Ye){var bt=ce[Ye];ce[Ye]=function(){for(var Dt=arguments.length,jt=new Array(Dt),Kt=0;Kt<Dt;Kt++)jt[Kt]=arguments[Kt];var Ht=qe.renderer[Ye].apply(ce,jt);return Ht===!1&&(Ht=bt.apply(ce,jt)),Ht}};for(var me in qe.renderer)pe(me);Ge.renderer=ce}(),qe.tokenizer&&function(){var ce=gt.defaults.tokenizer||new Pe,pe=function(Ye){var bt=ce[Ye];ce[Ye]=function(){for(var Dt=arguments.length,jt=new Array(Dt),Kt=0;Kt<Dt;Kt++)jt[Kt]=arguments[Kt];var Ht=qe.tokenizer[Ye].apply(ce,jt);return Ht===!1&&(Ht=bt.apply(ce,jt)),Ht}};for(var me in qe.tokenizer)pe(me);Ge.tokenizer=ce}(),qe.walkTokens){var ke=gt.defaults.walkTokens;Ge.walkTokens=function(ce){qe.walkTokens(ce),ke&&ke(ce)}}gt.setOptions(Ge)},gt.walkTokens=function(qe,Ge){for(var ke=T(qe),ce;!(ce=ke()).done;){var pe=ce.value;switch(Ge(pe),pe.type){case"table":{for(var me=T(pe.tokens.header),we;!(we=me()).done;){var Ye=we.value;gt.walkTokens(Ye,Ge)}for(var bt=T(pe.tokens.cells),Dt;!(Dt=bt()).done;)for(var jt=Dt.value,Kt=T(jt),Ht;!(Ht=Kt()).done;){var Ft=Ht.value;gt.walkTokens(Ft,Ge)}break}case"list":{gt.walkTokens(pe.items,Ge);break}default:pe.tokens&&gt.walkTokens(pe.tokens,Ge)}}},gt.parseInline=function(qe,Ge){if(typeof qe=="undefined"||qe===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");Ge=re({},gt.defaults,Ge||{}),ut(Ge);try{var ke=Qe.lexInline(qe,Ge);return Ge.walkTokens&&gt.walkTokens(ke,Ge.walkTokens),Me.parseInline(ke,Ge)}catch(ce){if(ce.message+=`
Please report this to https://github.com/markedjs/marked.`,Ge.silent)return"<p>An error occurred:</p><pre>"+Ze(ce.message+"",!0)+"</pre>";throw ce}},gt.Parser=Me,gt.parser=Me.parse,gt.Renderer=Le,gt.TextRenderer=ht,gt.Lexer=Qe,gt.lexer=Qe.lex,gt.Tokenizer=Pe,gt.Slugger=nt,gt.parse=gt;var Xe=gt;return Xe})},11690:function(k){const p=/[&<>"']/,o=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,y=/[<>"']|&(?!#?\w+;)/g,T={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},b=te=>T[te];function _(te,se){if(se){if(p.test(te))return te.replace(o,b)}else if(a.test(te))return te.replace(y,b);return te}const h=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function j(te){return te.replace(h,(se,Ee)=>(Ee=Ee.toLowerCase(),Ee==="colon"?":":Ee.charAt(0)==="#"?Ee.charAt(1)==="x"?String.fromCharCode(parseInt(Ee.substring(2),16)):String.fromCharCode(+Ee.substring(1)):""))}const G=/(^|[^\[])\^/g;function u(te,se){te=te.source||te,se=se||"";const Ee={replace:(he,ve)=>(ve=ve.source||ve,ve=ve.replace(G,"$1"),te=te.replace(he,ve),Ee),getRegex:()=>new RegExp(te,se)};return Ee}const Q=/[^\w:]/g,U=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(te,se,Ee){if(te){let he;try{he=decodeURIComponent(j(Ee)).replace(Q,"").toLowerCase()}catch(ve){return null}if(he.indexOf("javascript:")===0||he.indexOf("vbscript:")===0||he.indexOf("data:")===0)return null}se&&!U.test(Ee)&&(Ee=V(se,Ee));try{Ee=encodeURI(Ee).replace(/%25/g,"%")}catch(he){return null}return Ee}const I={},C=/^[^:]+:\/*[^/]*$/,P=/^([^:]+:)[\s\S]*$/,X=/^([^:]+:\/*[^/]*)[\s\S]*$/;function V(te,se){I[" "+te]||(C.test(te)?I[" "+te]=te+"/":I[" "+te]=B(te,"/",!0)),te=I[" "+te];const Ee=te.indexOf(":")===-1;return se.substring(0,2)==="//"?Ee?se:te.replace(P,"$1")+se:se.charAt(0)==="/"?Ee?se:te.replace(X,"$1")+se:te+se}const z={exec:function(){}};function N(te){let se=1,Ee,he;for(;se<arguments.length;se++){Ee=arguments[se];for(he in Ee)Object.prototype.hasOwnProperty.call(Ee,he)&&(te[he]=Ee[he])}return te}function F(te,se){const Ee=te.replace(/\|/g,(J,Z,ie)=>{let ue=!1,fe=Z;for(;--fe>=0&&ie[fe]==="\\";)ue=!ue;return ue?"|":" |"}),he=Ee.split(/ \|/);let ve=0;if(he.length>se)he.splice(se);else for(;he.length<se;)he.push("");for(;ve<he.length;ve++)he[ve]=he[ve].trim().replace(/\\\|/g,"|");return he}function B(te,se,Ee){const he=te.length;if(he===0)return"";let ve=0;for(;ve<he;){const J=te.charAt(he-ve-1);if(J===se&&!Ee)ve++;else if(J!==se&&Ee)ve++;else break}return te.substr(0,he-ve)}function W(te,se){if(te.indexOf(se[1])===-1)return-1;const Ee=te.length;let he=0,ve=0;for(;ve<Ee;ve++)if(te[ve]==="\\")ve++;else if(te[ve]===se[0])he++;else if(te[ve]===se[1]&&(he--,he<0))return ve;return-1}function H(te){te&&te.sanitize&&!te.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function le(te,se){if(se<1)return"";let Ee="";for(;se>1;)se&1&&(Ee+=te),se>>=1,te+=te;return Ee+te}k.exports={escape:_,unescape:j,edit:u,cleanUrl:v,resolveUrl:V,noopTest:z,merge:N,splitCells:F,rtrim:B,findClosingBracket:W,checkSanitizeDeprecation:H,repeatString:le}},75918:function(k,p,o){"use strict";o.d(p,{Wi:function(){return h},Z0:function(){return j},aU:function(){return _},eZ:function(){return u},wY:function(){return G}});var a=o(4348),y=o(69323),T=o(13268),b=function(Q,U,v,I){function C(P){return P instanceof v?P:new v(function(X){X(P)})}return new(v||(v=Promise))(function(P,X){function V(F){try{N(I.next(F))}catch(B){X(B)}}function z(F){try{N(I.throw(F))}catch(B){X(B)}}function N(F){F.done?P(F.value):C(F.value).then(V,z)}N((I=I.apply(Q,U||[])).next())})};class _ extends y.JT{constructor(U,v="",I="",C=!0,P){super(),this._onDidChange=this._register(new a.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=U,this._label=v,this._cssClass=I,this._enabled=C,this._actionCallback=P}get id(){return this._id}get label(){return this._label}set label(U){this._setLabel(U)}_setLabel(U){this._label!==U&&(this._label=U,this._onDidChange.fire({label:U}))}get tooltip(){return this._tooltip||""}set tooltip(U){this._setTooltip(U)}_setTooltip(U){this._tooltip!==U&&(this._tooltip=U,this._onDidChange.fire({tooltip:U}))}get class(){return this._cssClass}set class(U){this._setClass(U)}_setClass(U){this._cssClass!==U&&(this._cssClass=U,this._onDidChange.fire({class:U}))}get enabled(){return this._enabled}set enabled(U){this._setEnabled(U)}_setEnabled(U){this._enabled!==U&&(this._enabled=U,this._onDidChange.fire({enabled:U}))}get checked(){return this._checked}set checked(U){this._setChecked(U)}_setChecked(U){this._checked!==U&&(this._checked=U,this._onDidChange.fire({checked:U}))}run(U,v){return b(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(U))})}}class h extends y.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new a.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new a.Q5),this.onDidRun=this._onDidRun.event}run(U,v){return b(this,void 0,void 0,function*(){if(!U.enabled)return;this._onBeforeRun.fire({action:U});let I;try{yield this.runAction(U,v)}catch(C){I=C}this._onDidRun.fire({action:U,error:I})})}runAction(U,v){return b(this,void 0,void 0,function*(){yield U.run(v)})}}class j extends _{constructor(U){super(j.ID,U,U?"separator text":"separator"),this.checked=!1,this.enabled=!1}}j.ID="vs.actions.separator";class G{constructor(U,v,I,C){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=U,this.label=v,this.class=C,this._actions=I}get actions(){return this._actions}dispose(){}run(){return b(this,void 0,void 0,function*(){})}}class u extends _{constructor(){super(u.ID,T.N("submenu.empty","(empty)"),void 0,!1)}}u.ID="vs.actions.empty"},76068:function(k,p,o){"use strict";o.d(p,{ok:function(){return a}});function a(y,T){if(!y)throw new Error(T?`Assertion failed (${T})`:"Assertion Failed")}},52615:function(k,p,o){"use strict";o.d(p,{CM:function(){return _},JL:function(){return h},dT:function(){return G},fK:function(){return b},lA:function(){return j}});var a=o(4348);class y{constructor(){this._icons=new Map,this._onDidRegister=new a.Q5}add(Q){const U=this._icons.get(Q.id);U?Q.description?U.description=Q.description:console.error(`Duplicate registration of codicon ${Q.id}`):(this._icons.set(Q.id,Q),this._onDidRegister.fire(Q))}get(Q){return this._icons.get(Q)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const T=new y,b=T;function _(u,Q){return new j(u,Q)}function h(u){return u?u.replace(/\$\((.*?)\)/g,(Q,U)=>` ${U} `).trim():""}class j{constructor(Q,U,v){this.id=Q,this.definition=U,this.description=v,T.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var G;(function(u){u.iconNameSegment="[A-Za-z0-9]+",u.iconNameExpression="[A-Za-z0-9\\-]+",u.iconModifierExpression="~[A-Za-z]+";const Q=new RegExp(`^(${u.iconNameExpression})(${u.iconModifierExpression})?$`);function U(C){if(C instanceof j)return["codicon","codicon-"+C.id];const P=Q.exec(C.id);if(!P)return U(j.error);let[,X,V]=P;const z=["codicon","codicon-"+X];return V&&z.push("codicon-modifier-"+V.substr(1)),z}u.asClassNameArray=U;function v(C){return U(C).join(" ")}u.asClassName=v;function I(C){return"."+U(C).join(".")}u.asCSSSelector=I})(G||(G={})),function(u){u.add=new u("add",{fontCharacter:"\\ea60"}),u.plus=new u("plus",u.add.definition),u.gistNew=new u("gist-new",u.add.definition),u.repoCreate=new u("repo-create",u.add.definition),u.lightbulb=new u("lightbulb",{fontCharacter:"\\ea61"}),u.lightBulb=new u("light-bulb",{fontCharacter:"\\ea61"}),u.repo=new u("repo",{fontCharacter:"\\ea62"}),u.repoDelete=new u("repo-delete",{fontCharacter:"\\ea62"}),u.gistFork=new u("gist-fork",{fontCharacter:"\\ea63"}),u.repoForked=new u("repo-forked",{fontCharacter:"\\ea63"}),u.gitPullRequest=new u("git-pull-request",{fontCharacter:"\\ea64"}),u.gitPullRequestAbandoned=new u("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),u.recordKeys=new u("record-keys",{fontCharacter:"\\ea65"}),u.keyboard=new u("keyboard",{fontCharacter:"\\ea65"}),u.tag=new u("tag",{fontCharacter:"\\ea66"}),u.tagAdd=new u("tag-add",{fontCharacter:"\\ea66"}),u.tagRemove=new u("tag-remove",{fontCharacter:"\\ea66"}),u.person=new u("person",{fontCharacter:"\\ea67"}),u.personFollow=new u("person-follow",{fontCharacter:"\\ea67"}),u.personOutline=new u("person-outline",{fontCharacter:"\\ea67"}),u.personFilled=new u("person-filled",{fontCharacter:"\\ea67"}),u.gitBranch=new u("git-branch",{fontCharacter:"\\ea68"}),u.gitBranchCreate=new u("git-branch-create",{fontCharacter:"\\ea68"}),u.gitBranchDelete=new u("git-branch-delete",{fontCharacter:"\\ea68"}),u.sourceControl=new u("source-control",{fontCharacter:"\\ea68"}),u.mirror=new u("mirror",{fontCharacter:"\\ea69"}),u.mirrorPublic=new u("mirror-public",{fontCharacter:"\\ea69"}),u.star=new u("star",{fontCharacter:"\\ea6a"}),u.starAdd=new u("star-add",{fontCharacter:"\\ea6a"}),u.starDelete=new u("star-delete",{fontCharacter:"\\ea6a"}),u.starEmpty=new u("star-empty",{fontCharacter:"\\ea6a"}),u.comment=new u("comment",{fontCharacter:"\\ea6b"}),u.commentAdd=new u("comment-add",{fontCharacter:"\\ea6b"}),u.alert=new u("alert",{fontCharacter:"\\ea6c"}),u.warning=new u("warning",{fontCharacter:"\\ea6c"}),u.search=new u("search",{fontCharacter:"\\ea6d"}),u.searchSave=new u("search-save",{fontCharacter:"\\ea6d"}),u.logOut=new u("log-out",{fontCharacter:"\\ea6e"}),u.signOut=new u("sign-out",{fontCharacter:"\\ea6e"}),u.logIn=new u("log-in",{fontCharacter:"\\ea6f"}),u.signIn=new u("sign-in",{fontCharacter:"\\ea6f"}),u.eye=new u("eye",{fontCharacter:"\\ea70"}),u.eyeUnwatch=new u("eye-unwatch",{fontCharacter:"\\ea70"}),u.eyeWatch=new u("eye-watch",{fontCharacter:"\\ea70"}),u.circleFilled=new u("circle-filled",{fontCharacter:"\\ea71"}),u.primitiveDot=new u("primitive-dot",{fontCharacter:"\\ea71"}),u.closeDirty=new u("close-dirty",{fontCharacter:"\\ea71"}),u.debugBreakpoint=new u("debug-breakpoint",{fontCharacter:"\\ea71"}),u.debugBreakpointDisabled=new u("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),u.debugHint=new u("debug-hint",{fontCharacter:"\\ea71"}),u.primitiveSquare=new u("primitive-square",{fontCharacter:"\\ea72"}),u.edit=new u("edit",{fontCharacter:"\\ea73"}),u.pencil=new u("pencil",{fontCharacter:"\\ea73"}),u.info=new u("info",{fontCharacter:"\\ea74"}),u.issueOpened=new u("issue-opened",{fontCharacter:"\\ea74"}),u.gistPrivate=new u("gist-private",{fontCharacter:"\\ea75"}),u.gitForkPrivate=new u("git-fork-private",{fontCharacter:"\\ea75"}),u.lock=new u("lock",{fontCharacter:"\\ea75"}),u.mirrorPrivate=new u("mirror-private",{fontCharacter:"\\ea75"}),u.close=new u("close",{fontCharacter:"\\ea76"}),u.removeClose=new u("remove-close",{fontCharacter:"\\ea76"}),u.x=new u("x",{fontCharacter:"\\ea76"}),u.repoSync=new u("repo-sync",{fontCharacter:"\\ea77"}),u.sync=new u("sync",{fontCharacter:"\\ea77"}),u.clone=new u("clone",{fontCharacter:"\\ea78"}),u.desktopDownload=new u("desktop-download",{fontCharacter:"\\ea78"}),u.beaker=new u("beaker",{fontCharacter:"\\ea79"}),u.microscope=new u("microscope",{fontCharacter:"\\ea79"}),u.vm=new u("vm",{fontCharacter:"\\ea7a"}),u.deviceDesktop=new u("device-desktop",{fontCharacter:"\\ea7a"}),u.file=new u("file",{fontCharacter:"\\ea7b"}),u.fileText=new u("file-text",{fontCharacter:"\\ea7b"}),u.more=new u("more",{fontCharacter:"\\ea7c"}),u.ellipsis=new u("ellipsis",{fontCharacter:"\\ea7c"}),u.kebabHorizontal=new u("kebab-horizontal",{fontCharacter:"\\ea7c"}),u.mailReply=new u("mail-reply",{fontCharacter:"\\ea7d"}),u.reply=new u("reply",{fontCharacter:"\\ea7d"}),u.organization=new u("organization",{fontCharacter:"\\ea7e"}),u.organizationFilled=new u("organization-filled",{fontCharacter:"\\ea7e"}),u.organizationOutline=new u("organization-outline",{fontCharacter:"\\ea7e"}),u.newFile=new u("new-file",{fontCharacter:"\\ea7f"}),u.fileAdd=new u("file-add",{fontCharacter:"\\ea7f"}),u.newFolder=new u("new-folder",{fontCharacter:"\\ea80"}),u.fileDirectoryCreate=new u("file-directory-create",{fontCharacter:"\\ea80"}),u.trash=new u("trash",{fontCharacter:"\\ea81"}),u.trashcan=new u("trashcan",{fontCharacter:"\\ea81"}),u.history=new u("history",{fontCharacter:"\\ea82"}),u.clock=new u("clock",{fontCharacter:"\\ea82"}),u.folder=new u("folder",{fontCharacter:"\\ea83"}),u.fileDirectory=new u("file-directory",{fontCharacter:"\\ea83"}),u.symbolFolder=new u("symbol-folder",{fontCharacter:"\\ea83"}),u.logoGithub=new u("logo-github",{fontCharacter:"\\ea84"}),u.markGithub=new u("mark-github",{fontCharacter:"\\ea84"}),u.github=new u("github",{fontCharacter:"\\ea84"}),u.terminal=new u("terminal",{fontCharacter:"\\ea85"}),u.console=new u("console",{fontCharacter:"\\ea85"}),u.repl=new u("repl",{fontCharacter:"\\ea85"}),u.zap=new u("zap",{fontCharacter:"\\ea86"}),u.symbolEvent=new u("symbol-event",{fontCharacter:"\\ea86"}),u.error=new u("error",{fontCharacter:"\\ea87"}),u.stop=new u("stop",{fontCharacter:"\\ea87"}),u.variable=new u("variable",{fontCharacter:"\\ea88"}),u.symbolVariable=new u("symbol-variable",{fontCharacter:"\\ea88"}),u.array=new u("array",{fontCharacter:"\\ea8a"}),u.symbolArray=new u("symbol-array",{fontCharacter:"\\ea8a"}),u.symbolModule=new u("symbol-module",{fontCharacter:"\\ea8b"}),u.symbolPackage=new u("symbol-package",{fontCharacter:"\\ea8b"}),u.symbolNamespace=new u("symbol-namespace",{fontCharacter:"\\ea8b"}),u.symbolObject=new u("symbol-object",{fontCharacter:"\\ea8b"}),u.symbolMethod=new u("symbol-method",{fontCharacter:"\\ea8c"}),u.symbolFunction=new u("symbol-function",{fontCharacter:"\\ea8c"}),u.symbolConstructor=new u("symbol-constructor",{fontCharacter:"\\ea8c"}),u.symbolBoolean=new u("symbol-boolean",{fontCharacter:"\\ea8f"}),u.symbolNull=new u("symbol-null",{fontCharacter:"\\ea8f"}),u.symbolNumeric=new u("symbol-numeric",{fontCharacter:"\\ea90"}),u.symbolNumber=new u("symbol-number",{fontCharacter:"\\ea90"}),u.symbolStructure=new u("symbol-structure",{fontCharacter:"\\ea91"}),u.symbolStruct=new u("symbol-struct",{fontCharacter:"\\ea91"}),u.symbolParameter=new u("symbol-parameter",{fontCharacter:"\\ea92"}),u.symbolTypeParameter=new u("symbol-type-parameter",{fontCharacter:"\\ea92"}),u.symbolKey=new u("symbol-key",{fontCharacter:"\\ea93"}),u.symbolText=new u("symbol-text",{fontCharacter:"\\ea93"}),u.symbolReference=new u("symbol-reference",{fontCharacter:"\\ea94"}),u.goToFile=new u("go-to-file",{fontCharacter:"\\ea94"}),u.symbolEnum=new u("symbol-enum",{fontCharacter:"\\ea95"}),u.symbolValue=new u("symbol-value",{fontCharacter:"\\ea95"}),u.symbolRuler=new u("symbol-ruler",{fontCharacter:"\\ea96"}),u.symbolUnit=new u("symbol-unit",{fontCharacter:"\\ea96"}),u.activateBreakpoints=new u("activate-breakpoints",{fontCharacter:"\\ea97"}),u.archive=new u("archive",{fontCharacter:"\\ea98"}),u.arrowBoth=new u("arrow-both",{fontCharacter:"\\ea99"}),u.arrowDown=new u("arrow-down",{fontCharacter:"\\ea9a"}),u.arrowLeft=new u("arrow-left",{fontCharacter:"\\ea9b"}),u.arrowRight=new u("arrow-right",{fontCharacter:"\\ea9c"}),u.arrowSmallDown=new u("arrow-small-down",{fontCharacter:"\\ea9d"}),u.arrowSmallLeft=new u("arrow-small-left",{fontCharacter:"\\ea9e"}),u.arrowSmallRight=new u("arrow-small-right",{fontCharacter:"\\ea9f"}),u.arrowSmallUp=new u("arrow-small-up",{fontCharacter:"\\eaa0"}),u.arrowUp=new u("arrow-up",{fontCharacter:"\\eaa1"}),u.bell=new u("bell",{fontCharacter:"\\eaa2"}),u.bold=new u("bold",{fontCharacter:"\\eaa3"}),u.book=new u("book",{fontCharacter:"\\eaa4"}),u.bookmark=new u("bookmark",{fontCharacter:"\\eaa5"}),u.debugBreakpointConditionalUnverified=new u("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),u.debugBreakpointConditional=new u("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),u.debugBreakpointConditionalDisabled=new u("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),u.debugBreakpointDataUnverified=new u("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),u.debugBreakpointData=new u("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),u.debugBreakpointDataDisabled=new u("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),u.debugBreakpointLogUnverified=new u("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),u.debugBreakpointLog=new u("debug-breakpoint-log",{fontCharacter:"\\eaab"}),u.debugBreakpointLogDisabled=new u("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),u.briefcase=new u("briefcase",{fontCharacter:"\\eaac"}),u.broadcast=new u("broadcast",{fontCharacter:"\\eaad"}),u.browser=new u("browser",{fontCharacter:"\\eaae"}),u.bug=new u("bug",{fontCharacter:"\\eaaf"}),u.calendar=new u("calendar",{fontCharacter:"\\eab0"}),u.caseSensitive=new u("case-sensitive",{fontCharacter:"\\eab1"}),u.check=new u("check",{fontCharacter:"\\eab2"}),u.checklist=new u("checklist",{fontCharacter:"\\eab3"}),u.chevronDown=new u("chevron-down",{fontCharacter:"\\eab4"}),u.dropDownButton=new u("drop-down-button",u.chevronDown.definition),u.chevronLeft=new u("chevron-left",{fontCharacter:"\\eab5"}),u.chevronRight=new u("chevron-right",{fontCharacter:"\\eab6"}),u.chevronUp=new u("chevron-up",{fontCharacter:"\\eab7"}),u.chromeClose=new u("chrome-close",{fontCharacter:"\\eab8"}),u.chromeMaximize=new u("chrome-maximize",{fontCharacter:"\\eab9"}),u.chromeMinimize=new u("chrome-minimize",{fontCharacter:"\\eaba"}),u.chromeRestore=new u("chrome-restore",{fontCharacter:"\\eabb"}),u.circleOutline=new u("circle-outline",{fontCharacter:"\\eabc"}),u.debugBreakpointUnverified=new u("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),u.circleSlash=new u("circle-slash",{fontCharacter:"\\eabd"}),u.circuitBoard=new u("circuit-board",{fontCharacter:"\\eabe"}),u.clearAll=new u("clear-all",{fontCharacter:"\\eabf"}),u.clippy=new u("clippy",{fontCharacter:"\\eac0"}),u.closeAll=new u("close-all",{fontCharacter:"\\eac1"}),u.cloudDownload=new u("cloud-download",{fontCharacter:"\\eac2"}),u.cloudUpload=new u("cloud-upload",{fontCharacter:"\\eac3"}),u.code=new u("code",{fontCharacter:"\\eac4"}),u.collapseAll=new u("collapse-all",{fontCharacter:"\\eac5"}),u.colorMode=new u("color-mode",{fontCharacter:"\\eac6"}),u.commentDiscussion=new u("comment-discussion",{fontCharacter:"\\eac7"}),u.compareChanges=new u("compare-changes",{fontCharacter:"\\eafd"}),u.creditCard=new u("credit-card",{fontCharacter:"\\eac9"}),u.dash=new u("dash",{fontCharacter:"\\eacc"}),u.dashboard=new u("dashboard",{fontCharacter:"\\eacd"}),u.database=new u("database",{fontCharacter:"\\eace"}),u.debugContinue=new u("debug-continue",{fontCharacter:"\\eacf"}),u.debugDisconnect=new u("debug-disconnect",{fontCharacter:"\\ead0"}),u.debugPause=new u("debug-pause",{fontCharacter:"\\ead1"}),u.debugRestart=new u("debug-restart",{fontCharacter:"\\ead2"}),u.debugStart=new u("debug-start",{fontCharacter:"\\ead3"}),u.debugStepInto=new u("debug-step-into",{fontCharacter:"\\ead4"}),u.debugStepOut=new u("debug-step-out",{fontCharacter:"\\ead5"}),u.debugStepOver=new u("debug-step-over",{fontCharacter:"\\ead6"}),u.debugStop=new u("debug-stop",{fontCharacter:"\\ead7"}),u.debug=new u("debug",{fontCharacter:"\\ead8"}),u.deviceCameraVideo=new u("device-camera-video",{fontCharacter:"\\ead9"}),u.deviceCamera=new u("device-camera",{fontCharacter:"\\eada"}),u.deviceMobile=new u("device-mobile",{fontCharacter:"\\eadb"}),u.diffAdded=new u("diff-added",{fontCharacter:"\\eadc"}),u.diffIgnored=new u("diff-ignored",{fontCharacter:"\\eadd"}),u.diffModified=new u("diff-modified",{fontCharacter:"\\eade"}),u.diffRemoved=new u("diff-removed",{fontCharacter:"\\eadf"}),u.diffRenamed=new u("diff-renamed",{fontCharacter:"\\eae0"}),u.diff=new u("diff",{fontCharacter:"\\eae1"}),u.discard=new u("discard",{fontCharacter:"\\eae2"}),u.editorLayout=new u("editor-layout",{fontCharacter:"\\eae3"}),u.emptyWindow=new u("empty-window",{fontCharacter:"\\eae4"}),u.exclude=new u("exclude",{fontCharacter:"\\eae5"}),u.extensions=new u("extensions",{fontCharacter:"\\eae6"}),u.eyeClosed=new u("eye-closed",{fontCharacter:"\\eae7"}),u.fileBinary=new u("file-binary",{fontCharacter:"\\eae8"}),u.fileCode=new u("file-code",{fontCharacter:"\\eae9"}),u.fileMedia=new u("file-media",{fontCharacter:"\\eaea"}),u.filePdf=new u("file-pdf",{fontCharacter:"\\eaeb"}),u.fileSubmodule=new u("file-submodule",{fontCharacter:"\\eaec"}),u.fileSymlinkDirectory=new u("file-symlink-directory",{fontCharacter:"\\eaed"}),u.fileSymlinkFile=new u("file-symlink-file",{fontCharacter:"\\eaee"}),u.fileZip=new u("file-zip",{fontCharacter:"\\eaef"}),u.files=new u("files",{fontCharacter:"\\eaf0"}),u.filter=new u("filter",{fontCharacter:"\\eaf1"}),u.flame=new u("flame",{fontCharacter:"\\eaf2"}),u.foldDown=new u("fold-down",{fontCharacter:"\\eaf3"}),u.foldUp=new u("fold-up",{fontCharacter:"\\eaf4"}),u.fold=new u("fold",{fontCharacter:"\\eaf5"}),u.folderActive=new u("folder-active",{fontCharacter:"\\eaf6"}),u.folderOpened=new u("folder-opened",{fontCharacter:"\\eaf7"}),u.gear=new u("gear",{fontCharacter:"\\eaf8"}),u.gift=new u("gift",{fontCharacter:"\\eaf9"}),u.gistSecret=new u("gist-secret",{fontCharacter:"\\eafa"}),u.gist=new u("gist",{fontCharacter:"\\eafb"}),u.gitCommit=new u("git-commit",{fontCharacter:"\\eafc"}),u.gitCompare=new u("git-compare",{fontCharacter:"\\eafd"}),u.gitMerge=new u("git-merge",{fontCharacter:"\\eafe"}),u.githubAction=new u("github-action",{fontCharacter:"\\eaff"}),u.githubAlt=new u("github-alt",{fontCharacter:"\\eb00"}),u.globe=new u("globe",{fontCharacter:"\\eb01"}),u.grabber=new u("grabber",{fontCharacter:"\\eb02"}),u.graph=new u("graph",{fontCharacter:"\\eb03"}),u.gripper=new u("gripper",{fontCharacter:"\\eb04"}),u.heart=new u("heart",{fontCharacter:"\\eb05"}),u.home=new u("home",{fontCharacter:"\\eb06"}),u.horizontalRule=new u("horizontal-rule",{fontCharacter:"\\eb07"}),u.hubot=new u("hubot",{fontCharacter:"\\eb08"}),u.inbox=new u("inbox",{fontCharacter:"\\eb09"}),u.issueClosed=new u("issue-closed",{fontCharacter:"\\eba4"}),u.issueReopened=new u("issue-reopened",{fontCharacter:"\\eb0b"}),u.issues=new u("issues",{fontCharacter:"\\eb0c"}),u.italic=new u("italic",{fontCharacter:"\\eb0d"}),u.jersey=new u("jersey",{fontCharacter:"\\eb0e"}),u.json=new u("json",{fontCharacter:"\\eb0f"}),u.kebabVertical=new u("kebab-vertical",{fontCharacter:"\\eb10"}),u.key=new u("key",{fontCharacter:"\\eb11"}),u.law=new u("law",{fontCharacter:"\\eb12"}),u.lightbulbAutofix=new u("lightbulb-autofix",{fontCharacter:"\\eb13"}),u.linkExternal=new u("link-external",{fontCharacter:"\\eb14"}),u.link=new u("link",{fontCharacter:"\\eb15"}),u.listOrdered=new u("list-ordered",{fontCharacter:"\\eb16"}),u.listUnordered=new u("list-unordered",{fontCharacter:"\\eb17"}),u.liveShare=new u("live-share",{fontCharacter:"\\eb18"}),u.loading=new u("loading",{fontCharacter:"\\eb19"}),u.location=new u("location",{fontCharacter:"\\eb1a"}),u.mailRead=new u("mail-read",{fontCharacter:"\\eb1b"}),u.mail=new u("mail",{fontCharacter:"\\eb1c"}),u.markdown=new u("markdown",{fontCharacter:"\\eb1d"}),u.megaphone=new u("megaphone",{fontCharacter:"\\eb1e"}),u.mention=new u("mention",{fontCharacter:"\\eb1f"}),u.milestone=new u("milestone",{fontCharacter:"\\eb20"}),u.mortarBoard=new u("mortar-board",{fontCharacter:"\\eb21"}),u.move=new u("move",{fontCharacter:"\\eb22"}),u.multipleWindows=new u("multiple-windows",{fontCharacter:"\\eb23"}),u.mute=new u("mute",{fontCharacter:"\\eb24"}),u.noNewline=new u("no-newline",{fontCharacter:"\\eb25"}),u.note=new u("note",{fontCharacter:"\\eb26"}),u.octoface=new u("octoface",{fontCharacter:"\\eb27"}),u.openPreview=new u("open-preview",{fontCharacter:"\\eb28"}),u.package_=new u("package",{fontCharacter:"\\eb29"}),u.paintcan=new u("paintcan",{fontCharacter:"\\eb2a"}),u.pin=new u("pin",{fontCharacter:"\\eb2b"}),u.play=new u("play",{fontCharacter:"\\eb2c"}),u.run=new u("run",{fontCharacter:"\\eb2c"}),u.plug=new u("plug",{fontCharacter:"\\eb2d"}),u.preserveCase=new u("preserve-case",{fontCharacter:"\\eb2e"}),u.preview=new u("preview",{fontCharacter:"\\eb2f"}),u.project=new u("project",{fontCharacter:"\\eb30"}),u.pulse=new u("pulse",{fontCharacter:"\\eb31"}),u.question=new u("question",{fontCharacter:"\\eb32"}),u.quote=new u("quote",{fontCharacter:"\\eb33"}),u.radioTower=new u("radio-tower",{fontCharacter:"\\eb34"}),u.reactions=new u("reactions",{fontCharacter:"\\eb35"}),u.references=new u("references",{fontCharacter:"\\eb36"}),u.refresh=new u("refresh",{fontCharacter:"\\eb37"}),u.regex=new u("regex",{fontCharacter:"\\eb38"}),u.remoteExplorer=new u("remote-explorer",{fontCharacter:"\\eb39"}),u.remote=new u("remote",{fontCharacter:"\\eb3a"}),u.remove=new u("remove",{fontCharacter:"\\eb3b"}),u.replaceAll=new u("replace-all",{fontCharacter:"\\eb3c"}),u.replace=new u("replace",{fontCharacter:"\\eb3d"}),u.repoClone=new u("repo-clone",{fontCharacter:"\\eb3e"}),u.repoForcePush=new u("repo-force-push",{fontCharacter:"\\eb3f"}),u.repoPull=new u("repo-pull",{fontCharacter:"\\eb40"}),u.repoPush=new u("repo-push",{fontCharacter:"\\eb41"}),u.report=new u("report",{fontCharacter:"\\eb42"}),u.requestChanges=new u("request-changes",{fontCharacter:"\\eb43"}),u.rocket=new u("rocket",{fontCharacter:"\\eb44"}),u.rootFolderOpened=new u("root-folder-opened",{fontCharacter:"\\eb45"}),u.rootFolder=new u("root-folder",{fontCharacter:"\\eb46"}),u.rss=new u("rss",{fontCharacter:"\\eb47"}),u.ruby=new u("ruby",{fontCharacter:"\\eb48"}),u.saveAll=new u("save-all",{fontCharacter:"\\eb49"}),u.saveAs=new u("save-as",{fontCharacter:"\\eb4a"}),u.save=new u("save",{fontCharacter:"\\eb4b"}),u.screenFull=new u("screen-full",{fontCharacter:"\\eb4c"}),u.screenNormal=new u("screen-normal",{fontCharacter:"\\eb4d"}),u.searchStop=new u("search-stop",{fontCharacter:"\\eb4e"}),u.server=new u("server",{fontCharacter:"\\eb50"}),u.settingsGear=new u("settings-gear",{fontCharacter:"\\eb51"}),u.settings=new u("settings",{fontCharacter:"\\eb52"}),u.shield=new u("shield",{fontCharacter:"\\eb53"}),u.smiley=new u("smiley",{fontCharacter:"\\eb54"}),u.sortPrecedence=new u("sort-precedence",{fontCharacter:"\\eb55"}),u.splitHorizontal=new u("split-horizontal",{fontCharacter:"\\eb56"}),u.splitVertical=new u("split-vertical",{fontCharacter:"\\eb57"}),u.squirrel=new u("squirrel",{fontCharacter:"\\eb58"}),u.starFull=new u("star-full",{fontCharacter:"\\eb59"}),u.starHalf=new u("star-half",{fontCharacter:"\\eb5a"}),u.symbolClass=new u("symbol-class",{fontCharacter:"\\eb5b"}),u.symbolColor=new u("symbol-color",{fontCharacter:"\\eb5c"}),u.symbolConstant=new u("symbol-constant",{fontCharacter:"\\eb5d"}),u.symbolEnumMember=new u("symbol-enum-member",{fontCharacter:"\\eb5e"}),u.symbolField=new u("symbol-field",{fontCharacter:"\\eb5f"}),u.symbolFile=new u("symbol-file",{fontCharacter:"\\eb60"}),u.symbolInterface=new u("symbol-interface",{fontCharacter:"\\eb61"}),u.symbolKeyword=new u("symbol-keyword",{fontCharacter:"\\eb62"}),u.symbolMisc=new u("symbol-misc",{fontCharacter:"\\eb63"}),u.symbolOperator=new u("symbol-operator",{fontCharacter:"\\eb64"}),u.symbolProperty=new u("symbol-property",{fontCharacter:"\\eb65"}),u.wrench=new u("wrench",{fontCharacter:"\\eb65"}),u.wrenchSubaction=new u("wrench-subaction",{fontCharacter:"\\eb65"}),u.symbolSnippet=new u("symbol-snippet",{fontCharacter:"\\eb66"}),u.tasklist=new u("tasklist",{fontCharacter:"\\eb67"}),u.telescope=new u("telescope",{fontCharacter:"\\eb68"}),u.textSize=new u("text-size",{fontCharacter:"\\eb69"}),u.threeBars=new u("three-bars",{fontCharacter:"\\eb6a"}),u.thumbsdown=new u("thumbsdown",{fontCharacter:"\\eb6b"}),u.thumbsup=new u("thumbsup",{fontCharacter:"\\eb6c"}),u.tools=new u("tools",{fontCharacter:"\\eb6d"}),u.triangleDown=new u("triangle-down",{fontCharacter:"\\eb6e"}),u.triangleLeft=new u("triangle-left",{fontCharacter:"\\eb6f"}),u.triangleRight=new u("triangle-right",{fontCharacter:"\\eb70"}),u.triangleUp=new u("triangle-up",{fontCharacter:"\\eb71"}),u.twitter=new u("twitter",{fontCharacter:"\\eb72"}),u.unfold=new u("unfold",{fontCharacter:"\\eb73"}),u.unlock=new u("unlock",{fontCharacter:"\\eb74"}),u.unmute=new u("unmute",{fontCharacter:"\\eb75"}),u.unverified=new u("unverified",{fontCharacter:"\\eb76"}),u.verified=new u("verified",{fontCharacter:"\\eb77"}),u.versions=new u("versions",{fontCharacter:"\\eb78"}),u.vmActive=new u("vm-active",{fontCharacter:"\\eb79"}),u.vmOutline=new u("vm-outline",{fontCharacter:"\\eb7a"}),u.vmRunning=new u("vm-running",{fontCharacter:"\\eb7b"}),u.watch=new u("watch",{fontCharacter:"\\eb7c"}),u.whitespace=new u("whitespace",{fontCharacter:"\\eb7d"}),u.wholeWord=new u("whole-word",{fontCharacter:"\\eb7e"}),u.window=new u("window",{fontCharacter:"\\eb7f"}),u.wordWrap=new u("word-wrap",{fontCharacter:"\\eb80"}),u.zoomIn=new u("zoom-in",{fontCharacter:"\\eb81"}),u.zoomOut=new u("zoom-out",{fontCharacter:"\\eb82"}),u.listFilter=new u("list-filter",{fontCharacter:"\\eb83"}),u.listFlat=new u("list-flat",{fontCharacter:"\\eb84"}),u.listSelection=new u("list-selection",{fontCharacter:"\\eb85"}),u.selection=new u("selection",{fontCharacter:"\\eb85"}),u.listTree=new u("list-tree",{fontCharacter:"\\eb86"}),u.debugBreakpointFunctionUnverified=new u("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),u.debugBreakpointFunction=new u("debug-breakpoint-function",{fontCharacter:"\\eb88"}),u.debugBreakpointFunctionDisabled=new u("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),u.debugStackframeActive=new u("debug-stackframe-active",{fontCharacter:"\\eb89"}),u.debugStackframeDot=new u("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),u.debugStackframe=new u("debug-stackframe",{fontCharacter:"\\eb8b"}),u.debugStackframeFocused=new u("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),u.debugBreakpointUnsupported=new u("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),u.symbolString=new u("symbol-string",{fontCharacter:"\\eb8d"}),u.debugReverseContinue=new u("debug-reverse-continue",{fontCharacter:"\\eb8e"}),u.debugStepBack=new u("debug-step-back",{fontCharacter:"\\eb8f"}),u.debugRestartFrame=new u("debug-restart-frame",{fontCharacter:"\\eb90"}),u.callIncoming=new u("call-incoming",{fontCharacter:"\\eb92"}),u.callOutgoing=new u("call-outgoing",{fontCharacter:"\\eb93"}),u.menu=new u("menu",{fontCharacter:"\\eb94"}),u.expandAll=new u("expand-all",{fontCharacter:"\\eb95"}),u.feedback=new u("feedback",{fontCharacter:"\\eb96"}),u.groupByRefType=new u("group-by-ref-type",{fontCharacter:"\\eb97"}),u.ungroupByRefType=new u("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),u.account=new u("account",{fontCharacter:"\\eb99"}),u.bellDot=new u("bell-dot",{fontCharacter:"\\eb9a"}),u.debugConsole=new u("debug-console",{fontCharacter:"\\eb9b"}),u.library=new u("library",{fontCharacter:"\\eb9c"}),u.output=new u("output",{fontCharacter:"\\eb9d"}),u.runAll=new u("run-all",{fontCharacter:"\\eb9e"}),u.syncIgnored=new u("sync-ignored",{fontCharacter:"\\eb9f"}),u.pinned=new u("pinned",{fontCharacter:"\\eba0"}),u.githubInverted=new u("github-inverted",{fontCharacter:"\\eba1"}),u.debugAlt=new u("debug-alt",{fontCharacter:"\\eb91"}),u.serverProcess=new u("server-process",{fontCharacter:"\\eba2"}),u.serverEnvironment=new u("server-environment",{fontCharacter:"\\eba3"}),u.pass=new u("pass",{fontCharacter:"\\eba4"}),u.stopCircle=new u("stop-circle",{fontCharacter:"\\eba5"}),u.playCircle=new u("play-circle",{fontCharacter:"\\eba6"}),u.record=new u("record",{fontCharacter:"\\eba7"}),u.debugAltSmall=new u("debug-alt-small",{fontCharacter:"\\eba8"}),u.vmConnect=new u("vm-connect",{fontCharacter:"\\eba9"}),u.cloud=new u("cloud",{fontCharacter:"\\ebaa"}),u.merge=new u("merge",{fontCharacter:"\\ebab"}),u.exportIcon=new u("export",{fontCharacter:"\\ebac"}),u.graphLeft=new u("graph-left",{fontCharacter:"\\ebad"}),u.magnet=new u("magnet",{fontCharacter:"\\ebae"}),u.notebook=new u("notebook",{fontCharacter:"\\ebaf"}),u.redo=new u("redo",{fontCharacter:"\\ebb0"}),u.checkAll=new u("check-all",{fontCharacter:"\\ebb1"}),u.pinnedDirty=new u("pinned-dirty",{fontCharacter:"\\ebb2"}),u.passFilled=new u("pass-filled",{fontCharacter:"\\ebb3"}),u.circleLargeFilled=new u("circle-large-filled",{fontCharacter:"\\ebb4"}),u.circleLargeOutline=new u("circle-large-outline",{fontCharacter:"\\ebb5"}),u.combine=new u("combine",{fontCharacter:"\\ebb6"}),u.gather=new u("gather",{fontCharacter:"\\ebb6"}),u.table=new u("table",{fontCharacter:"\\ebb7"}),u.variableGroup=new u("variable-group",{fontCharacter:"\\ebb8"}),u.typeHierarchy=new u("type-hierarchy",{fontCharacter:"\\ebb9"}),u.typeHierarchySub=new u("type-hierarchy-sub",{fontCharacter:"\\ebba"}),u.typeHierarchySuper=new u("type-hierarchy-super",{fontCharacter:"\\ebbb"}),u.gitPullRequestCreate=new u("git-pull-request-create",{fontCharacter:"\\ebbc"}),u.runAbove=new u("run-above",{fontCharacter:"\\ebbd"}),u.runBelow=new u("run-below",{fontCharacter:"\\ebbe"}),u.notebookTemplate=new u("notebook-template",{fontCharacter:"\\ebbf"}),u.debugRerun=new u("debug-rerun",{fontCharacter:"\\ebc0"}),u.workspaceTrusted=new u("workspace-trusted",{fontCharacter:"\\ebc1"}),u.workspaceUntrusted=new u("workspace-untrusted",{fontCharacter:"\\ebc2"}),u.workspaceUnspecified=new u("workspace-unspecified",{fontCharacter:"\\ebc3"}),u.terminalCmd=new u("terminal-cmd",{fontCharacter:"\\ebc4"}),u.terminalDebian=new u("terminal-debian",{fontCharacter:"\\ebc5"}),u.terminalLinux=new u("terminal-linux",{fontCharacter:"\\ebc6"}),u.terminalPowershell=new u("terminal-powershell",{fontCharacter:"\\ebc7"}),u.terminalTmux=new u("terminal-tmux",{fontCharacter:"\\ebc8"}),u.terminalUbuntu=new u("terminal-ubuntu",{fontCharacter:"\\ebc9"}),u.terminalBash=new u("terminal-bash",{fontCharacter:"\\ebca"}),u.arrowSwap=new u("arrow-swap",{fontCharacter:"\\ebcb"}),u.copy=new u("copy",{fontCharacter:"\\ebcc"}),u.personAdd=new u("person-add",{fontCharacter:"\\ebcd"}),u.filterFilled=new u("filter-filled",{fontCharacter:"\\ebce"}),u.wand=new u("wand",{fontCharacter:"\\ebcf"}),u.debugLineByLine=new u("debug-line-by-line",{fontCharacter:"\\ebd0"}),u.inspect=new u("inspect",{fontCharacter:"\\ebd1"}),u.layers=new u("layers",{fontCharacter:"\\ebd2"}),u.layersDot=new u("layers-dot",{fontCharacter:"\\ebd3"}),u.layersActive=new u("layers-active",{fontCharacter:"\\ebd4"}),u.compass=new u("compass",{fontCharacter:"\\ebd5"}),u.compassDot=new u("compass-dot",{fontCharacter:"\\ebd6"}),u.compassActive=new u("compass-active",{fontCharacter:"\\ebd7"}),u.azure=new u("azure",{fontCharacter:"\\ebd8"}),u.issueDraft=new u("issue-draft",{fontCharacter:"\\ebd9"}),u.gitPullRequestClosed=new u("git-pull-request-closed",{fontCharacter:"\\ebda"}),u.gitPullRequestDraft=new u("git-pull-request-draft",{fontCharacter:"\\ebdb"}),u.debugAll=new u("debug-all",{fontCharacter:"\\ebdc"}),u.debugCoverage=new u("debug-coverage",{fontCharacter:"\\ebdd"}),u.runErrors=new u("run-errors",{fontCharacter:"\\ebde"}),u.folderLibrary=new u("folder-library",{fontCharacter:"\\ebdf"}),u.debugContinueSmall=new u("debug-continue-small",{fontCharacter:"\\ebe0"}),u.beakerStop=new u("beaker-stop",{fontCharacter:"\\ebe1"}),u.graphLine=new u("graph-line",{fontCharacter:"\\ebe2"}),u.graphScatter=new u("graph-scatter",{fontCharacter:"\\ebe3"}),u.pieChart=new u("pie-chart",{fontCharacter:"\\ebe4"}),u.bracket=new u("bracket",u.json.definition),u.bracketDot=new u("bracket-dot",{fontCharacter:"\\ebe5"}),u.bracketError=new u("bracket-error",{fontCharacter:"\\ebe6"}),u.lockSmall=new u("lock-small",{fontCharacter:"\\ebe7"}),u.azureDevops=new u("azure-devops",{fontCharacter:"\\ebe8"}),u.verifiedFilled=new u("verified-filled",{fontCharacter:"\\ebe9"})}(j||(j={}))},79881:function(k,p,o){"use strict";o.d(p,{B8:function(){return U},Cp:function(){return b},F0:function(){return G},L6:function(){return Q},VV:function(){return j},b1:function(){return u},dL:function(){return T},ri:function(){return _}});class a{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(I){setTimeout(()=>{throw I.stack?new Error(I.message+`
`+I.stack):I},0)}}emit(I){this.listeners.forEach(C=>{C(I)})}onUnexpectedError(I){this.unexpectedErrorHandler(I),this.emit(I)}onUnexpectedExternalError(I){this.unexpectedErrorHandler(I)}}const y=new a;function T(v){j(v)||y.onUnexpectedError(v)}function b(v){j(v)||y.onUnexpectedExternalError(v)}function _(v){if(v instanceof Error){let{name:I,message:C}=v;const P=v.stacktrace||v.stack;return{$isError:!0,name:I,message:C,stack:P}}return v}const h="Canceled";function j(v){return v instanceof Error&&v.name===h&&v.message===h}function G(){const v=new Error(h);return v.name=v.message,v}function u(v){return v?new Error(`Illegal argument: ${v}`):new Error("Illegal argument")}function Q(v){return v?new Error(`Illegal state: ${v}`):new Error("Illegal state")}class U extends Error{constructor(I){super("NotSupported"),I&&(this.message=I)}}},4348:function(k,p,o){"use strict";o.d(p,{D0:function(){return U},E7:function(){return v},K3:function(){return Q},Q5:function(){return u},ZD:function(){return I},ju:function(){return _}});var a=o(79881),y=o(69323),T=o(34502),b=o(95830),_;(function(C){C.None=()=>y.JT.None;function P(ie){return(ue,fe=null,ae)=>{let w=!1,L;return L=ie(oe=>{if(!w)return L?L.dispose():w=!0,ue.call(fe,oe)},null,ae),w&&L.dispose(),L}}C.once=P;function X(ie,ue){return W((fe,ae=null,w)=>ie(L=>fe.call(ae,ue(L)),null,w))}C.map=X;function V(ie,ue){return W((fe,ae=null,w)=>ie(L=>{ue(L),fe.call(ae,L)},null,w))}C.forEach=V;function z(ie,ue){return W((fe,ae=null,w)=>ie(L=>ue(L)&&fe.call(ae,L),null,w))}C.filter=z;function N(ie){return ie}C.signal=N;function F(...ie){return(ue,fe=null,ae)=>(0,y.F8)(...ie.map(w=>w(L=>ue.call(fe,L),null,ae)))}C.any=F;function B(ie,ue,fe){let ae=fe;return X(ie,w=>(ae=ue(ae,w),ae))}C.reduce=B;function W(ie){let ue;const fe=new u({onFirstListenerAdd(){ue=ie(fe.fire,fe)},onLastListenerRemove(){ue.dispose()}});return fe.event}function H(ie,ue,fe=100,ae=!1,w){let L,oe,M,De=0;const Fe=new u({leakWarningThreshold:w,onFirstListenerAdd(){L=ie(Re=>{De++,oe=ue(oe,Re),ae&&!M&&(Fe.fire(oe),oe=void 0),clearTimeout(M),M=setTimeout(()=>{const dt=oe;oe=void 0,M=void 0,(!ae||De>1)&&Fe.fire(dt),De=0},fe)})},onLastListenerRemove(){L.dispose()}});return Fe.event}C.debounce=H;function le(ie,ue=(fe,ae)=>fe===ae){let fe=!0,ae;return z(ie,w=>{const L=fe||!ue(w,ae);return fe=!1,ae=w,L})}C.latch=le;function te(ie,ue){return[C.filter(ie,ue),C.filter(ie,fe=>!ue(fe))]}C.split=te;function se(ie,ue=!1,fe=[]){let ae=fe.slice(),w=ie(M=>{ae?ae.push(M):oe.fire(M)});const L=()=>{ae&&ae.forEach(M=>oe.fire(M)),ae=null},oe=new u({onFirstListenerAdd(){w||(w=ie(M=>oe.fire(M)))},onFirstListenerDidAdd(){ae&&(ue?setTimeout(L):L())},onLastListenerRemove(){w&&w.dispose(),w=null}});return oe.event}C.buffer=se;class Ee{constructor(ue){this.event=ue}map(ue){return new Ee(X(this.event,ue))}forEach(ue){return new Ee(V(this.event,ue))}filter(ue){return new Ee(z(this.event,ue))}reduce(ue,fe){return new Ee(B(this.event,ue,fe))}latch(){return new Ee(le(this.event))}debounce(ue,fe=100,ae=!1,w){return new Ee(H(this.event,ue,fe,ae,w))}on(ue,fe,ae){return this.event(ue,fe,ae)}once(ue,fe,ae){return P(this.event)(ue,fe,ae)}}function he(ie){return new Ee(ie)}C.chain=he;function ve(ie,ue,fe=ae=>ae){const ae=(...M)=>oe.fire(fe(...M)),w=()=>ie.on(ue,ae),L=()=>ie.removeListener(ue,ae),oe=new u({onFirstListenerAdd:w,onLastListenerRemove:L});return oe.event}C.fromNodeEventEmitter=ve;function J(ie,ue,fe=ae=>ae){const ae=(...M)=>oe.fire(fe(...M)),w=()=>ie.addEventListener(ue,ae),L=()=>ie.removeEventListener(ue,ae),oe=new u({onFirstListenerAdd:w,onLastListenerRemove:L});return oe.event}C.fromDOMEventEmitter=J;function Z(ie){return new Promise(ue=>P(ie)(ue))}C.toPromise=Z})(_||(_={}));class h{constructor(P){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${P}_${h._idPool++}`}start(P){this._stopWatch=new b.G(!0),this._listenerCount=P}stop(){if(this._stopWatch){const P=this._stopWatch.elapsed();this._elapsedOverall+=P,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${P.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}h._idPool=0;let j=-1;class G{constructor(P,X=Math.random().toString(18).slice(2,5)){this.customThreshold=P,this.name=X,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(P){let X=j;if(typeof this.customThreshold=="number"&&(X=this.customThreshold),X<=0||P<X)return;this._stacks||(this._stacks=new Map);const V=new Error().stack.split(`
`).slice(3).join(`
`),z=this._stacks.get(V)||0;if(this._stacks.set(V,z+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=X*.5;let N,F=0;for(const[B,W]of this._stacks)(!N||F<W)&&(N=B,F=W);console.warn(`[${this.name}] potential listener LEAK detected, having ${P} listeners already. MOST frequent listener (${F}):`),console.warn(N)}return()=>{const N=this._stacks.get(V)||0;this._stacks.set(V,N-1)}}}class u{constructor(P){var X;this._disposed=!1,this._options=P,this._leakageMon=j>0?new G(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((X=this._options)===null||X===void 0)&&X._profName?new h(this._options._profName):void 0}get event(){return this._event||(this._event=(P,X,V)=>{var z;this._listeners||(this._listeners=new T.S);const N=this._listeners.isEmpty();N&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const F=this._listeners.push(X?[P,X]:P);N&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,P,X);const B=(z=this._leakageMon)===null||z===void 0?void 0:z.check(this._listeners.size),W=(0,y.OF)(()=>{B&&B(),this._disposed||(F(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return V instanceof y.SL?V.add(W):Array.isArray(V)&&V.push(W),W}),this._event}fire(P){var X,V;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new T.S);for(let z of this._listeners)this._deliveryQueue.push([z,P]);for((X=this._perfMon)===null||X===void 0||X.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[z,N]=this._deliveryQueue.shift();try{typeof z=="function"?z.call(void 0,N):z[0].call(z[1],N)}catch(F){(0,a.dL)(F)}}(V=this._perfMon)===null||V===void 0||V.stop()}}dispose(){var P,X,V,z,N;this._disposed||(this._disposed=!0,(P=this._listeners)===null||P===void 0||P.clear(),(X=this._deliveryQueue)===null||X===void 0||X.clear(),(z=(V=this._options)===null||V===void 0?void 0:V.onLastListenerRemove)===null||z===void 0||z.call(V),(N=this._leakageMon)===null||N===void 0||N.dispose())}}class Q extends u{constructor(P){super(P),this._isPaused=0,this._eventQueue=new T.S,this._mergeFn=P==null?void 0:P.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const P=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(P))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(P){this._listeners&&(this._isPaused!==0?this._eventQueue.push(P):super.fire(P))}}class U extends Q{constructor(P){var X;super(P),this._delay=(X=P.delay)!==null&&X!==void 0?X:100}fire(P){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(P)}}class v{constructor(){this.buffers=[]}wrapEvent(P){return(X,V,z)=>P(N=>{const F=this.buffers[this.buffers.length-1];F?F.push(()=>X.call(V,N)):X.call(V,N)},void 0,z)}bufferEvents(P){const X=[];this.buffers.push(X);const V=P();return this.buffers.pop(),X.forEach(z=>z()),V}}class I{constructor(){this.listening=!1,this.inputEvent=_.None,this.inputEventListener=y.JT.None,this.emitter=new u({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(P){this.inputEvent=P,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=P(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(k,p,o){"use strict";o.d(p,{I:function(){return a}});function a(y){const T=this;let b=!1,_;return function(){return b||(b=!0,_=y.apply(T,arguments)),_}}},88226:function(k,p,o){"use strict";o.d(p,{$:function(){return a}});var a;(function(y){function T(F){return F&&typeof F=="object"&&typeof F[Symbol.iterator]=="function"}y.is=T;const b=Object.freeze([]);function _(){return b}y.empty=_;function*h(F){yield F}y.single=h;function j(F){return F||b}y.from=j;function G(F){return!F||F[Symbol.iterator]().next().done===!0}y.isEmpty=G;function u(F){return F[Symbol.iterator]().next().value}y.first=u;function Q(F,B){for(const W of F)if(B(W))return!0;return!1}y.some=Q;function U(F,B){for(const W of F)if(B(W))return W}y.find=U;function*v(F,B){for(const W of F)B(W)&&(yield W)}y.filter=v;function*I(F,B){let W=0;for(const H of F)yield B(H,W++)}y.map=I;function*C(...F){for(const B of F)for(const W of B)yield W}y.concat=C;function*P(F){for(const B of F)for(const W of B)yield W}y.concatNested=P;function X(F,B,W){let H=W;for(const le of F)H=B(H,le);return H}y.reduce=X;function*V(F,B,W=F.length){for(B<0&&(B+=F.length),W<0?W+=F.length:W>F.length&&(W=F.length);B<W;B++)yield F[B]}y.slice=V;function z(F,B=Number.POSITIVE_INFINITY){const W=[];if(B===0)return[W,F];const H=F[Symbol.iterator]();for(let le=0;le<B;le++){const te=H.next();if(te.done)return[W,y.empty()];W.push(te.value)}return[W,{[Symbol.iterator](){return H}}]}y.consume=z;function N(F,B,W=(H,le)=>H===le){const H=F[Symbol.iterator](),le=B[Symbol.iterator]();for(;;){const te=H.next(),se=le.next();if(te.done!==se.done)return!1;if(te.done)return!0;if(!W(te.value,se.value))return!1}}y.equals=N})(a||(a={}))},69323:function(k,p,o){"use strict";o.d(p,{B9:function(){return I},F8:function(){return C},JT:function(){return V},Jz:function(){return N},OF:function(){return P},SL:function(){return X},Wf:function(){return v},XK:function(){return z},dk:function(){return Q}});var a=o(17845),y=o(88226);const T=!1;let b=null;function _(F){b=F}if(T){const F="__is_disposable_tracked__";_(new class{trackDisposable(B){const W=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[F]||console.log(W)},3e3)}setParent(B,W){if(B&&B!==V.None)try{B[F]=!0}catch(H){}}markAsDisposed(B){if(B&&B!==V.None)try{B[F]=!0}catch(W){}}markAsSingleton(B){}})}function h(F){return b==null||b.trackDisposable(F),F}function j(F){b==null||b.markAsDisposed(F)}function G(F,B){b==null||b.setParent(F,B)}function u(F,B){if(b)for(const W of F)b.setParent(W,B)}function Q(F){return b==null||b.markAsSingleton(F),F}class U extends Error{constructor(B){super(`Encountered errors while disposing of store. Errors: [${B.join(", ")}]`),this.errors=B}}function v(F){return typeof F.dispose=="function"&&F.dispose.length===0}function I(F){if(y.$.is(F)){let B=[];for(const W of F)if(W)try{W.dispose()}catch(H){B.push(H)}if(B.length===1)throw B[0];if(B.length>1)throw new U(B);return Array.isArray(F)?[]:F}else if(F)return F.dispose(),F}function C(...F){const B=P(()=>I(F));return u(F,B),B}function P(F){const B=h({dispose:(0,a.I)(()=>{j(B),F()})});return B}class X{constructor(){this._toDispose=new Set,this._isDisposed=!1,h(this)}dispose(){this._isDisposed||(j(this),this._isDisposed=!0,this.clear())}clear(){try{I(this._toDispose.values())}finally{this._toDispose.clear()}}add(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return G(B,this),this._isDisposed?X.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(B),B}}X.DISABLE_DISPOSED_WARNING=!1;class V{constructor(){this._store=new X,h(this),G(this._store,this)}dispose(){j(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}V.None=Object.freeze({dispose(){}});class z{constructor(){this._isDisposed=!1,h(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var W;this._isDisposed||B===this._value||((W=this._value)===null||W===void 0||W.dispose(),B&&G(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,j(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&G(B,null),B}}class N{constructor(B){this.object=B}dispose(){}}},34502:function(k,p,o){"use strict";o.d(p,{S:function(){return y}});class a{constructor(b){this.element=b,this.next=a.Undefined,this.prev=a.Undefined}}a.Undefined=new a(void 0);class y{constructor(){this._first=a.Undefined,this._last=a.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===a.Undefined}clear(){let b=this._first;for(;b!==a.Undefined;){const _=b.next;b.prev=a.Undefined,b.next=a.Undefined,b=_}this._first=a.Undefined,this._last=a.Undefined,this._size=0}unshift(b){return this._insert(b,!1)}push(b){return this._insert(b,!0)}_insert(b,_){const h=new a(b);if(this._first===a.Undefined)this._first=h,this._last=h;else if(_){const G=this._last;this._last=h,h.prev=G,G.next=h}else{const G=this._first;this._first=h,h.next=G,G.prev=h}this._size+=1;let j=!1;return()=>{j||(j=!0,this._remove(h))}}shift(){if(this._first!==a.Undefined){const b=this._first.element;return this._remove(this._first),b}}pop(){if(this._last!==a.Undefined){const b=this._last.element;return this._remove(this._last),b}}_remove(b){if(b.prev!==a.Undefined&&b.next!==a.Undefined){const _=b.prev;_.next=b.next,b.next.prev=_}else b.prev===a.Undefined&&b.next===a.Undefined?(this._first=a.Undefined,this._last=a.Undefined):b.next===a.Undefined?(this._last=this._last.prev,this._last.next=a.Undefined):b.prev===a.Undefined&&(this._first=this._first.next,this._first.prev=a.Undefined);this._size-=1}*[Symbol.iterator](){let b=this._first;for(;b!==a.Undefined;)yield b.element,b=b.next}}},23345:function(k,p,o){"use strict";o.d(p,{$L:function(){return H},ED:function(){return N},IJ:function(){return B},OS:function(){return Ee},WE:function(){return te},dz:function(){return F},gn:function(){return le},li:function(){return P},r:function(){return J},tY:function(){return W},xS:function(){return se}});var a=o(97671),y;const T="en";let b=!1,_=!1,h=!1,j=!1,G=!1,u=!1,Q=!1,U,v=null,I=null,C;const P=typeof self=="object"?self:typeof o.g=="object"?o.g:{};let X;typeof P.vscode!="undefined"&&typeof P.vscode.process!="undefined"?X=P.vscode.process:typeof a!="undefined"&&(X=a);const V=typeof((y=X==null?void 0:X.versions)===null||y===void 0?void 0:y.electron)=="string"&&X.type==="renderer";if(typeof navigator=="object"&&!V)C=navigator.userAgent,b=C.indexOf("Windows")>=0,_=C.indexOf("Macintosh")>=0,Q=(C.indexOf("Macintosh")>=0||C.indexOf("iPad")>=0||C.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,h=C.indexOf("Linux")>=0,u=!0,U=navigator.language,v=U;else if(typeof X=="object"){b=X.platform==="win32",_=X.platform==="darwin",h=X.platform==="linux",j=h&&!!X.env.SNAP&&!!X.env.SNAP_REVISION,U=T,v=T;const Z=X.env.VSCODE_NLS_CONFIG;if(Z)try{const ie=JSON.parse(Z),ue=ie.availableLanguages["*"];U=ie.locale,v=ue||T,I=ie._translationsConfigFile}catch(ie){}G=!0}else console.error("Unable to resolve platform.");let z=0;_?z=1:b?z=3:h&&(z=2);const N=b,F=_,B=h,W=G,H=u,le=Q,te=C,se=function(){if(P.setImmediate)return P.setImmediate.bind(P);if(typeof P.postMessage=="function"&&!P.importScripts){let ue=[];P.addEventListener("message",ae=>{if(ae.data&&ae.data.vscodeSetImmediateId)for(let w=0,L=ue.length;w<L;w++){const oe=ue[w];if(oe.id===ae.data.vscodeSetImmediateId){ue.splice(w,1),oe.callback();return}}});let fe=0;return ae=>{const w=++fe;ue.push({id:w,callback:ae}),P.postMessage({vscodeSetImmediateId:w},"*")}}if(typeof(X==null?void 0:X.nextTick)=="function")return X.nextTick.bind(X);const ie=Promise.resolve();return ue=>ie.then(ue)}(),Ee=_||Q?2:b?1:3;let he=!0,ve=!1;function J(){if(!ve){ve=!0;const Z=new Uint8Array(2);Z[0]=1,Z[1]=2,he=new Uint16Array(Z.buffer)[0]===513}return he}},95830:function(k,p,o){"use strict";o.d(p,{G:function(){return T}});var a=o(23345);const y=a.li.performance&&typeof a.li.performance.now=="function";class T{constructor(_){this._highResolution=y&&_,this._startTime=this._now(),this._stopTime=-1}static create(_=!0){return new T(_)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?a.li.performance.now():Date.now()}}},82983:function(k,p,o){"use strict";o.d(p,{$i:function(){return De},C8:function(){return it},GF:function(){return U},HO:function(){return fe},IO:function(){return v},K7:function(){return st},Kw:function(){return nn},LC:function(){return P},Mh:function(){return se},P1:function(){return Ee},PJ:function(){return Mt},Qe:function(){return Fe},R1:function(){return Q},RP:function(){return oe},S6:function(){return en},TT:function(){return N},Ut:function(){return w},V8:function(){return X},WU:function(){return T},YK:function(){return ve},YU:function(){return b},ZG:function(){return he},ZH:function(){return Z},ab:function(){return Re},c1:function(){return lt},df:function(){return H},ec:function(){return _},fi:function(){return rn},fy:function(){return h},j3:function(){return j},j_:function(){return B},m5:function(){return a},mK:function(){return W},mr:function(){return I},oH:function(){return Be},oL:function(){return G},ok:function(){return te},ow:function(){return V},qq:function(){return le},qu:function(){return z},rL:function(){return J},uS:function(){return zt},un:function(){return u},uq:function(){return C},vH:function(){return ue},xe:function(){return dt},zY:function(){return F}});function a(ee){return!ee||typeof ee!="string"?!0:ee.trim().length===0}const y=/{(\d+)}/g;function T(ee,...ye){return ye.length===0?ee:ee.replace(y,function(Ne,Ie){const ze=parseInt(Ie,10);return isNaN(ze)||ze<0||ze>=ye.length?Ne:ye[ze]})}function b(ee){return ee.replace(/[<>&]/g,function(ye){switch(ye){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return ye}})}function _(ee){return ee.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function h(ee,ye=" "){const Ne=j(ee,ye);return G(Ne,ye)}function j(ee,ye){if(!ee||!ye)return ee;const Ne=ye.length;if(Ne===0||ee.length===0)return ee;let Ie=0;for(;ee.indexOf(ye,Ie)===Ie;)Ie=Ie+Ne;return ee.substring(Ie)}function G(ee,ye){if(!ee||!ye)return ee;const Ne=ye.length,Ie=ee.length;if(Ne===0||Ie===0)return ee;let ze=Ie,He=-1;for(;He=ee.lastIndexOf(ye,ze-1),!(He===-1||He+Ne!==ze);){if(He===0)return"";ze=He}return ee.substring(0,ze)}function u(ee){return ee.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function Q(ee){return ee.replace(/\*/g,"")}function U(ee,ye,Ne={}){if(!ee)throw new Error("Cannot create regex from empty string");ye||(ee=_(ee)),Ne.wholeWord&&(/\B/.test(ee.charAt(0))||(ee="\\b"+ee),/\B/.test(ee.charAt(ee.length-1))||(ee=ee+"\\b"));let Ie="";return Ne.global&&(Ie+="g"),Ne.matchCase||(Ie+="i"),Ne.multiline&&(Ie+="m"),Ne.unicode&&(Ie+="u"),new RegExp(ee,Ie)}function v(ee){return ee.source==="^"||ee.source==="^$"||ee.source==="$"||ee.source==="^\\s*$"?!1:!!(ee.exec("")&&ee.lastIndex===0)}function I(ee){return(ee.global?"g":"")+(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")}function C(ee){return ee.split(/\r\n|\r|\n/)}function P(ee){for(let ye=0,Ne=ee.length;ye<Ne;ye++){const Ie=ee.charCodeAt(ye);if(Ie!==32&&Ie!==9)return ye}return-1}function X(ee,ye=0,Ne=ee.length){for(let Ie=ye;Ie<Ne;Ie++){const ze=ee.charCodeAt(Ie);if(ze!==32&&ze!==9)return ee.substring(ye,Ie)}return ee.substring(ye,Ne)}function V(ee,ye=ee.length-1){for(let Ne=ye;Ne>=0;Ne--){const Ie=ee.charCodeAt(Ne);if(Ie!==32&&Ie!==9)return Ne}return-1}function z(ee,ye){return ee<ye?-1:ee>ye?1:0}function N(ee,ye,Ne=0,Ie=ee.length,ze=0,He=ye.length){for(;Ne<Ie&&ze<He;Ne++,ze++){let je=ee.charCodeAt(Ne),_e=ye.charCodeAt(ze);if(je<_e)return-1;if(je>_e)return 1}const Je=Ie-Ne,Ke=He-ze;return Je<Ke?-1:Je>Ke?1:0}function F(ee,ye){return B(ee,ye,0,ee.length,0,ye.length)}function B(ee,ye,Ne=0,Ie=ee.length,ze=0,He=ye.length){for(;Ne<Ie&&ze<He;Ne++,ze++){let je=ee.charCodeAt(Ne),_e=ye.charCodeAt(ze);if(je===_e)continue;if(je>=128||_e>=128)return N(ee.toLowerCase(),ye.toLowerCase(),Ne,Ie,ze,He);W(je)&&(je-=32),W(_e)&&(_e-=32);const Qe=je-_e;if(Qe!==0)return Qe}const Je=Ie-Ne,Ke=He-ze;return Je<Ke?-1:Je>Ke?1:0}function W(ee){return ee>=97&&ee<=122}function H(ee){return ee>=65&&ee<=90}function le(ee,ye){return ee.length===ye.length&&B(ee,ye)===0}function te(ee,ye){const Ne=ye.length;return ye.length>ee.length?!1:B(ee,ye,0,Ne)===0}function se(ee,ye){let Ne,Ie=Math.min(ee.length,ye.length);for(Ne=0;Ne<Ie;Ne++)if(ee.charCodeAt(Ne)!==ye.charCodeAt(Ne))return Ne;return Ie}function Ee(ee,ye){let Ne,Ie=Math.min(ee.length,ye.length);const ze=ee.length-1,He=ye.length-1;for(Ne=0;Ne<Ie;Ne++)if(ee.charCodeAt(ze-Ne)!==ye.charCodeAt(He-Ne))return Ne;return Ie}function he(ee){return 55296<=ee&&ee<=56319}function ve(ee){return 56320<=ee&&ee<=57343}function J(ee,ye){return(ee-55296<<10)+(ye-56320)+65536}function Z(ee,ye,Ne){const Ie=ee.charCodeAt(Ne);if(he(Ie)&&Ne+1<ye){const ze=ee.charCodeAt(Ne+1);if(ve(ze))return J(Ie,ze)}return Ie}function ie(ee,ye){const Ne=ee.charCodeAt(ye-1);if(ve(Ne)&&ye>1){const Ie=ee.charCodeAt(ye-2);if(he(Ie))return J(Ie,Ne)}return Ne}function ue(ee,ye){const Ne=rt.getInstance(),Ie=ye,ze=ee.length,He=Z(ee,ze,ye);ye+=He>=65536?2:1;let Je=Ne.getGraphemeBreakType(He);for(;ye<ze;){const Ke=Z(ee,ze,ye),je=Ne.getGraphemeBreakType(Ke);if(rn(Je,je))break;ye+=Ke>=65536?2:1,Je=je}return ye-Ie}function fe(ee,ye){const Ne=rt.getInstance(),Ie=ye,ze=ie(ee,ye);ye-=ze>=65536?2:1;let He=Ne.getGraphemeBreakType(ze);for(;ye>0;){const Je=ie(ee,ye),Ke=Ne.getGraphemeBreakType(Je);if(rn(Ke,He))break;ye-=Je>=65536?2:1,He=Ke}return Ie-ye}const ae=/(?:[\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-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function w(ee){return ae.test(ee)}const L=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function oe(ee){return L.test(ee)}const M=/^[\t\n\r\x20-\x7E]*$/;function De(ee){return M.test(ee)}const Fe=/[\u2028\u2029]/;function Re(ee){return Fe.test(ee)}function dt(ee){for(let ye=0,Ne=ee.length;ye<Ne;ye++)if(st(ee.charCodeAt(ye)))return!0;return!1}function st(ee){return ee=+ee,ee>=11904&&ee<=55215||ee>=63744&&ee<=64255||ee>=65281&&ee<=65374}function it(ee){return ee>=127462&&ee<=127487||ee===8986||ee===8987||ee===9200||ee===9203||ee>=9728&&ee<=10175||ee===11088||ee===11093||ee>=127744&&ee<=128591||ee>=128640&&ee<=128764||ee>=128992&&ee<=129003||ee>=129280&&ee<=129535||ee>=129648&&ee<=129750}const lt="\uFEFF";function zt(ee){return!!(ee&&ee.length>0&&ee.charCodeAt(0)===65279)}function nn(ee,ye=!1){return ee?(ye&&(ee=ee.replace(/\\./g,"")),ee.toLowerCase()!==ee):!1}function Mt(ee){return ee=ee%(2*26),ee<26?String.fromCharCode(97+ee):String.fromCharCode(65+ee-26)}function en(ee){return rt.getInstance().getGraphemeBreakType(ee)}function rn(ee,ye){return ee===0?ye!==5&&ye!==7:ee===2&&ye===3?!1:ee===4||ee===2||ee===3||ye===4||ye===2||ye===3?!0:!(ee===8&&(ye===8||ye===9||ye===11||ye===12)||(ee===11||ee===9)&&(ye===9||ye===10)||(ee===12||ee===10)&&ye===10||ye===5||ye===13||ye===7||ee===1||ee===13&&ye===14||ee===6&&ye===6)}class rt{constructor(){this._data=tt()}static getInstance(){return rt._INSTANCE||(rt._INSTANCE=new rt),rt._INSTANCE}getGraphemeBreakType(ye){if(ye<32)return ye===10?3:ye===13?2:4;if(ye<127)return 0;const Ne=this._data,Ie=Ne.length/3;let ze=1;for(;ze<=Ie;)if(ye<Ne[3*ze])ze=2*ze;else if(ye>Ne[3*ze+1])ze=2*ze+1;else return Ne[3*ze+2];return 0}}rt._INSTANCE=null;function tt(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,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,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,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,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,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,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,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,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,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,2259,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,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,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,6848,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,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,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,9776,9783,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,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,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,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,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function Be(ee,ye){if(ee===0)return 0;const Ne=Oe(ee,ye);if(Ne!==void 0)return Ne;const Ie=ie(ye,ee);return ee-=Ue(Ie),ee}function Oe(ee,ye){let Ne=ie(ye,ee);for(ee-=Ue(Ne);$e(Ne)||Ne===65039||Ne===8419;){if(ee===0)return;Ne=ie(ye,ee),ee-=Ue(Ne)}if(it(Ne)){if(ee>=0){const Ie=ie(ye,ee);Ie===8205&&(ee-=Ue(Ie))}return ee}}function Ue(ee){return ee>=65536?2:1}function $e(ee){return 127995<=ee&&ee<=127999}},72999:function(k,p,o){"use strict";o.d(p,{$E:function(){return P},$K:function(){return j},D8:function(){return v},HD:function(){return y},IU:function(){return X},Jp:function(){return G},Kn:function(){return T},cW:function(){return Q},f6:function(){return V},hj:function(){return b},jn:function(){return _},kJ:function(){return a},mf:function(){return U},o8:function(){return h},p_:function(){return u},vE:function(){return z}});function a(N){return Array.isArray(N)}function y(N){return typeof N=="string"}function T(N){return typeof N=="object"&&N!==null&&!Array.isArray(N)&&!(N instanceof RegExp)&&!(N instanceof Date)}function b(N){return typeof N=="number"&&!isNaN(N)}function _(N){return N===!0||N===!1}function h(N){return typeof N=="undefined"}function j(N){return!G(N)}function G(N){return h(N)||N===null}function u(N,F){if(!N)throw new Error(F?`Unexpected type, expected '${F}'`:"Unexpected type")}function Q(N){if(G(N))throw new Error("Assertion Failed: argument is undefined or null");return N}function U(N){return typeof N=="function"}function v(N,F){const B=Math.min(N.length,F.length);for(let W=0;W<B;W++)I(N[W],F[W])}function I(N,F){if(y(F)){if(typeof N!==F)throw new Error(`argument does not match constraint: typeof ${F}`)}else if(U(F)){try{if(N instanceof F)return}catch(B){}if(!G(N)&&N.constructor===F||F.length===1&&F.call(void 0,N)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function C(N){let F=[],B=Object.getPrototypeOf(N);for(;Object.prototype!==B;)F=F.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return F}function P(N){const F=[];for(const B of C(N))typeof N[B]=="function"&&F.push(B);return F}function X(N,F){const B=H=>function(){const le=Array.prototype.slice.call(arguments,0);return F(H,le)};let W={};for(const H of N)W[H]=B(H);return W}function V(N){return N===null?void 0:N}function z(N,F="Unreachable"){throw new Error(F)}},13268:function(k,p,o){"use strict";o.d(p,{N:function(){return y}});function a(T,b){let _;return b.length===0?_=T:_=T.replace(/\{(\d+)\}/g,function(h,j){const G=j[0];return typeof b[G]!="undefined"?b[G]:h}),_}function y(T,b,..._){return a(b,_)}},96236:function(k,p,o){"use strict";o.d(p,{BH:function(){return X},NZ:function(){return V},U8:function(){return z},co:function(){return P},eH:function(){return C},vr:function(){return I}});var a=o(75918),y=o(52615),T=o(4348),b=o(88226),_=o(69323),h=o(34502),j=o(35884),G=o(90689),u=o(16925),Q=o(49055),U=function(N,F,B,W){var H=arguments.length,le=H<3?F:W===null?W=Object.getOwnPropertyDescriptor(F,B):W,te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")le=Reflect.decorate(N,F,B,W);else for(var se=N.length-1;se>=0;se--)(te=N[se])&&(le=(H<3?te(le):H>3?te(F,B,le):te(F,B))||le);return H>3&&le&&Object.defineProperty(F,B,le),le},v=function(N,F){return function(B,W){F(B,W,N)}};function I(N){return N.command!==void 0}class C{constructor(F){this.id=C._idPool++,this._debugName=F}}C._idPool=0,C.CommandPalette=new C("CommandPalette"),C.EditorContext=new C("EditorContext"),C.SimpleEditorContext=new C("SimpleEditorContext"),C.EditorContextCopy=new C("EditorContextCopy"),C.EditorContextPeek=new C("EditorContextPeek"),C.MenubarEditMenu=new C("MenubarEditMenu"),C.MenubarCopy=new C("MenubarCopy"),C.MenubarGoMenu=new C("MenubarGoMenu"),C.MenubarSelectionMenu=new C("MenubarSelectionMenu"),C.InlineCompletionsActions=new C("InlineCompletionsActions");const P=(0,u.yh)("menuService"),X=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new T.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:N=>N===C.CommandPalette}}addCommand(N){return this.addCommands(b.$.single(N))}addCommands(N){for(const F of N)this._commands.set(F.id,F);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,_.OF)(()=>{let F=!1;for(const B of N)F=this._commands.delete(B.id)||F;F&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(N){return this._commands.get(N)}getCommands(){const N=new Map;return this._commands.forEach((F,B)=>N.set(B,F)),N}appendMenuItem(N,F){return this.appendMenuItems(b.$.single({id:N,item:F}))}appendMenuItems(N){const F=new Set,B=new h.S;for(const{id:W,item:H}of N){let le=this._menuItems.get(W);le||(le=new h.S,this._menuItems.set(W,le)),B.push(le.push(H)),F.add(W)}return this._onDidChangeMenu.fire(F),(0,_.OF)(()=>{if(B.size>0){for(let W of B)W();this._onDidChangeMenu.fire(F),B.clear()}})}getMenuItems(N){let F;return this._menuItems.has(N)?F=[...this._menuItems.get(N)]:F=[],N===C.CommandPalette&&this._appendImplicitItems(F),F}_appendImplicitItems(N){const F=new Set;for(const B of N)I(B)&&(F.add(B.command.id),B.alt&&F.add(B.alt.id));this._commands.forEach((B,W)=>{F.has(W)||N.push({command:B})})}};class V extends a.wY{constructor(F,B,W,H){super(`submenuitem.${F.submenu.id}`,typeof F.title=="string"?F.title:F.title.value,[],"submenu"),this.item=F,this._menuService=B,this._contextKeyService=W,this._options=H}get actions(){const F=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),W=B.getActions(this._options);B.dispose();for(const[,H]of W)H.length>0&&(F.push(...H),F.push(new a.Z0));return F.length&&F.pop(),F}}let z=class lu{constructor(F,B,W,H,le){var te,se;if(this._commandService=le,this.id=F.id,this.label=W!=null&&W.renderShortTitle&&F.shortTitle?typeof F.shortTitle=="string"?F.shortTitle:F.shortTitle.value:typeof F.title=="string"?F.title:F.title.value,this.tooltip=(se=typeof F.tooltip=="string"?F.tooltip:(te=F.tooltip)===null||te===void 0?void 0:te.value)!==null&&se!==void 0?se:"",this.enabled=!F.precondition||H.contextMatchesRules(F.precondition),this.checked=void 0,F.toggled){const Ee=F.toggled.condition?F.toggled:{condition:F.toggled};this.checked=H.contextMatchesRules(Ee.condition),this.checked&&Ee.tooltip&&(this.tooltip=typeof Ee.tooltip=="string"?Ee.tooltip:Ee.tooltip.value),Ee.title&&(this.label=typeof Ee.title=="string"?Ee.title:Ee.title.value)}this.item=F,this.alt=B?new lu(B,void 0,W,H,le):void 0,this._options=W,Q.kS.isThemeIcon(F.icon)&&(this.class=y.dT.asClassName(F.icon))}dispose(){}run(...F){var B,W;let H=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(H=[...H,this._options.arg]),!((W=this._options)===null||W===void 0)&&W.shouldForwardArgs&&(H=[...H,...F]),this._commandService.executeCommand(this.id,...H)}};z=U([v(3,G.i6),v(4,j.H)],z)},35884:function(k,p,o){"use strict";o.d(p,{H:function(){return j},P:function(){return G}});var a=o(4348),y=o(88226),T=o(69323),b=o(34502),_=o(72999),h=o(16925);const j=(0,h.yh)("commandService"),G=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new a.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(u,Q){if(!u)throw new Error("invalid command");if(typeof u=="string"){if(!Q)throw new Error("invalid command");return this.registerCommand({id:u,handler:Q})}if(u.description){const P=[];for(let V of u.description.args)P.push(V.constraint);const X=u.handler;u.handler=function(V,...z){return(0,_.D8)(z,P),X(V,...z)}}const{id:U}=u;let v=this._commands.get(U);v||(v=new b.S,this._commands.set(U,v));let I=v.unshift(u),C=(0,T.OF)(()=>{I();const P=this._commands.get(U);P!=null&&P.isEmpty()&&this._commands.delete(U)});return this._onDidRegisterCommand.fire(U),C}registerCommandAlias(u,Q){return G.registerCommand(u,(U,...v)=>U.get(j).executeCommand(Q,...v))}getCommand(u){const Q=this._commands.get(u);if(!(!Q||Q.isEmpty()))return y.$.first(Q)}getCommands(){const u=new Map;for(const Q of this._commands.keys()){const U=this.getCommand(Q);U&&u.set(Q,U)}return u}};G.registerCommand("noop",()=>{})},90689:function(k,p,o){"use strict";o.d(p,{Ao:function(){return j},Eq:function(){return J},Fb:function(){return G},K8:function(){return ue},i6:function(){return ve},uy:function(){return he}});var a=o(23345),y=o(82983),T=o(16925);let b=a.WE||"";const _=new Map;_.set("false",!1),_.set("true",!0),_.set("isMac",a.dz),_.set("isLinux",a.IJ),_.set("isWindows",a.ED),_.set("isWeb",a.$L),_.set("isMacNative",a.dz&&!a.$L),_.set("isEdge",b.indexOf("Edg/")>=0),_.set("isFirefox",b.indexOf("Firefox")>=0),_.set("isChrome",b.indexOf("Chrome")>=0),_.set("isSafari",b.indexOf("Safari")>=0);const h=Object.prototype.hasOwnProperty;class j{static has(w){return v.create(w)}static equals(w,L){return I.create(w,L)}static regex(w,L){return H.create(w,L)}static not(w){return V.create(w)}static and(...w){return se.create(w,null)}static or(...w){return Ee.create(w,null,!0)}static deserialize(w,L=!1){if(w)return this._deserializeOrExpression(w,L)}static _deserializeOrExpression(w,L){let oe=w.split("||");return Ee.create(oe.map(M=>this._deserializeAndExpression(M,L)),null,!0)}static _deserializeAndExpression(w,L){let oe=w.split("&&");return se.create(oe.map(M=>this._deserializeOne(M,L)),null)}static _deserializeOne(w,L){if(w=w.trim(),w.indexOf("!=")>=0){let oe=w.split("!=");return X.create(oe[0].trim(),this._deserializeValue(oe[1],L))}if(w.indexOf("==")>=0){let oe=w.split("==");return I.create(oe[0].trim(),this._deserializeValue(oe[1],L))}if(w.indexOf("=~")>=0){let oe=w.split("=~");return H.create(oe[0].trim(),this._deserializeRegexValue(oe[1],L))}if(w.indexOf(" in ")>=0){let oe=w.split(" in ");return C.create(oe[0].trim(),oe[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(w)){const oe=w.split(">=");return F.create(oe[0].trim(),oe[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(w)){const oe=w.split(">");return N.create(oe[0].trim(),oe[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(w)){const oe=w.split("<=");return W.create(oe[0].trim(),oe[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(w)){const oe=w.split("<");return B.create(oe[0].trim(),oe[1].trim())}return/^\!\s*/.test(w)?V.create(w.substr(1).trim()):v.create(w)}static _deserializeValue(w,L){if(w=w.trim(),w==="true")return!0;if(w==="false")return!1;let oe=/^'([^']*)'$/.exec(w);return oe?oe[1].trim():w}static _deserializeRegexValue(w,L){if((0,y.m5)(w)){if(L)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let oe=w.indexOf("/"),M=w.lastIndexOf("/");if(oe===M||oe<0){if(L)throw new Error(`bad regexp-value '${w}', missing /-enclosure`);return console.warn(`bad regexp-value '${w}', missing /-enclosure`),null}let De=w.slice(oe+1,M),Fe=w[M+1]==="i"?"i":"";try{return new RegExp(De,Fe)}catch(Re){if(L)throw new Error(`bad regexp-value '${w}', parse error: ${Re}`);return console.warn(`bad regexp-value '${w}', parse error: ${Re}`),null}}}function G(ae,w){const L=ae?ae.substituteConstants():void 0,oe=w?w.substituteConstants():void 0;return!L&&!oe?!0:!L||!oe?!1:L.equals(oe)}function u(ae,w){return ae.cmp(w)}class Q{constructor(){this.type=0}cmp(w){return this.type-w.type}equals(w){return w.type===this.type}substituteConstants(){return this}evaluate(w){return!1}serialize(){return"false"}keys(){return[]}negate(){return U.INSTANCE}}Q.INSTANCE=new Q;class U{constructor(){this.type=1}cmp(w){return this.type-w.type}equals(w){return w.type===this.type}substituteConstants(){return this}evaluate(w){return!0}serialize(){return"true"}keys(){return[]}negate(){return Q.INSTANCE}}U.INSTANCE=new U;class v{constructor(w,L){this.key=w,this.negated=L,this.type=2}static create(w,L=null){const oe=_.get(w);return typeof oe=="boolean"?oe?U.INSTANCE:Q.INSTANCE:new v(w,L)}cmp(w){return w.type!==this.type?this.type-w.type:Z(this.key,w.key)}equals(w){return w.type===this.type?this.key===w.key:!1}substituteConstants(){const w=_.get(this.key);return typeof w=="boolean"?w?U.INSTANCE:Q.INSTANCE:this}evaluate(w){return!!w.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this.key,this)),this.negated}}class I{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=4}static create(w,L,oe=null){if(typeof L=="boolean")return L?v.create(w,oe):V.create(w,oe);const M=_.get(w);return typeof M=="boolean"?L===(M?"true":"false")?U.INSTANCE:Q.INSTANCE:new I(w,L,oe)}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){const w=_.get(this.key);if(typeof w=="boolean"){const L=w?"true":"false";return this.value===L?U.INSTANCE:Q.INSTANCE}return this}evaluate(w){return w.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=X.create(this.key,this.value,this)),this.negated}}class C{constructor(w,L){this.key=w,this.valueKey=L,this.type=10,this.negated=null}static create(w,L){return new C(w,L)}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.valueKey,w.key,w.valueKey)}equals(w){return w.type===this.type?this.key===w.key&&this.valueKey===w.valueKey:!1}substituteConstants(){return this}evaluate(w){const L=w.getValue(this.valueKey),oe=w.getValue(this.key);return Array.isArray(L)?L.indexOf(oe)>=0:typeof oe=="string"&&typeof L=="object"&&L!==null?h.call(L,oe):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=P.create(this)),this.negated}}class P{constructor(w){this._actual=w,this.type=11}static create(w){return new P(w)}cmp(w){return w.type!==this.type?this.type-w.type:this._actual.cmp(w._actual)}equals(w){return w.type===this.type?this._actual.equals(w._actual):!1}substituteConstants(){return this}evaluate(w){return!this._actual.evaluate(w)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class X{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=5}static create(w,L,oe=null){if(typeof L=="boolean")return L?V.create(w,oe):v.create(w,oe);const M=_.get(w);return typeof M=="boolean"?L===(M?"true":"false")?Q.INSTANCE:U.INSTANCE:new X(w,L,oe)}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){const w=_.get(this.key);if(typeof w=="boolean"){const L=w?"true":"false";return this.value===L?Q.INSTANCE:U.INSTANCE}return this}evaluate(w){return w.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class V{constructor(w,L){this.key=w,this.negated=L,this.type=3}static create(w,L=null){const oe=_.get(w);return typeof oe=="boolean"?oe?Q.INSTANCE:U.INSTANCE:new V(w,L)}cmp(w){return w.type!==this.type?this.type-w.type:Z(this.key,w.key)}equals(w){return w.type===this.type?this.key===w.key:!1}substituteConstants(){const w=_.get(this.key);return typeof w=="boolean"?w?Q.INSTANCE:U.INSTANCE:this}evaluate(w){return!w.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this)),this.negated}}function z(ae,w){if(typeof ae=="string"){const L=parseFloat(ae);isNaN(L)||(ae=L)}return typeof ae=="string"||typeof ae=="number"?w(ae):Q.INSTANCE}class N{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=12}static create(w,L,oe=null){return z(L,M=>new N(w,M,oe))}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){return this}evaluate(w){return typeof this.value=="string"?!1:parseFloat(w.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class F{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=13}static create(w,L,oe=null){return z(L,M=>new F(w,M,oe))}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){return this}evaluate(w){return typeof this.value=="string"?!1:parseFloat(w.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=14}static create(w,L,oe=null){return z(L,M=>new B(w,M,oe))}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){return this}evaluate(w){return typeof this.value=="string"?!1:parseFloat(w.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F.create(this.key,this.value,this)),this.negated}}class W{constructor(w,L,oe){this.key=w,this.value=L,this.negated=oe,this.type=15}static create(w,L,oe=null){return z(L,M=>new W(w,M,oe))}cmp(w){return w.type!==this.type?this.type-w.type:ie(this.key,this.value,w.key,w.value)}equals(w){return w.type===this.type?this.key===w.key&&this.value===w.value:!1}substituteConstants(){return this}evaluate(w){return typeof this.value=="string"?!1:parseFloat(w.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class H{constructor(w,L){this.key=w,this.regexp=L,this.type=7,this.negated=null}static create(w,L){return new H(w,L)}cmp(w){if(w.type!==this.type)return this.type-w.type;if(this.key<w.key)return-1;if(this.key>w.key)return 1;const L=this.regexp?this.regexp.source:"",oe=w.regexp?w.regexp.source:"";return L<oe?-1:L>oe?1:0}equals(w){if(w.type===this.type){const L=this.regexp?this.regexp.source:"",oe=w.regexp?w.regexp.source:"";return this.key===w.key&&L===oe}return!1}substituteConstants(){return this}evaluate(w){let L=w.getValue(this.key);return this.regexp?this.regexp.test(L):!1}serialize(){const w=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${w}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=le.create(this)),this.negated}}class le{constructor(w){this._actual=w,this.type=8}static create(w){return new le(w)}cmp(w){return w.type!==this.type?this.type-w.type:this._actual.cmp(w._actual)}equals(w){return w.type===this.type?this._actual.equals(w._actual):!1}substituteConstants(){return this}evaluate(w){return!this._actual.evaluate(w)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function te(ae){let w=null;for(let L=0,oe=ae.length;L<oe;L++){const M=ae[L].substituteConstants();if(ae[L]!==M&&w===null){w=[];for(let De=0;De<L;De++)w[De]=ae[De]}w!==null&&(w[L]=M)}return w===null?ae:w}class se{constructor(w,L){this.expr=w,this.negated=L,this.type=6}static create(w,L){return se._normalizeArr(w,L)}cmp(w){if(w.type!==this.type)return this.type-w.type;if(this.expr.length<w.expr.length)return-1;if(this.expr.length>w.expr.length)return 1;for(let L=0,oe=this.expr.length;L<oe;L++){const M=u(this.expr[L],w.expr[L]);if(M!==0)return M}return 0}equals(w){if(w.type===this.type){if(this.expr.length!==w.expr.length)return!1;for(let L=0,oe=this.expr.length;L<oe;L++)if(!this.expr[L].equals(w.expr[L]))return!1;return!0}return!1}substituteConstants(){const w=te(this.expr);return w===this.expr?this:se.create(w,this.negated)}evaluate(w){for(let L=0,oe=this.expr.length;L<oe;L++)if(!this.expr[L].evaluate(w))return!1;return!0}static _normalizeArr(w,L){const oe=[];let M=!1;for(const De of w)if(De){if(De.type===1){M=!0;continue}if(De.type===0)return Q.INSTANCE;if(De.type===6){oe.push(...De.expr);continue}oe.push(De)}if(oe.length===0&&M)return U.INSTANCE;if(oe.length!==0){if(oe.length===1)return oe[0];oe.sort(u);for(let De=1;De<oe.length;De++)oe[De-1].equals(oe[De])&&(oe.splice(De,1),De--);if(oe.length===1)return oe[0];for(;oe.length>1;){const De=oe[oe.length-1];if(De.type!==9)break;oe.pop();const Fe=oe.pop(),Re=oe.length===0,dt=Ee.create(De.expr.map(st=>se.create([st,Fe],null)),null,Re);dt&&(oe.push(dt),oe.sort(u))}return oe.length===1?oe[0]:new se(oe,L)}}serialize(){return this.expr.map(w=>w.serialize()).join(" && ")}keys(){const w=[];for(let L of this.expr)w.push(...L.keys());return w}negate(){if(!this.negated){const w=[];for(let L of this.expr)w.push(L.negate());this.negated=Ee.create(w,this,!0)}return this.negated}}class Ee{constructor(w,L){this.expr=w,this.negated=L,this.type=9}static create(w,L,oe){return Ee._normalizeArr(w,L,oe)}cmp(w){if(w.type!==this.type)return this.type-w.type;if(this.expr.length<w.expr.length)return-1;if(this.expr.length>w.expr.length)return 1;for(let L=0,oe=this.expr.length;L<oe;L++){const M=u(this.expr[L],w.expr[L]);if(M!==0)return M}return 0}equals(w){if(w.type===this.type){if(this.expr.length!==w.expr.length)return!1;for(let L=0,oe=this.expr.length;L<oe;L++)if(!this.expr[L].equals(w.expr[L]))return!1;return!0}return!1}substituteConstants(){const w=te(this.expr);return w===this.expr?this:Ee.create(w,this.negated,!1)}evaluate(w){for(let L=0,oe=this.expr.length;L<oe;L++)if(this.expr[L].evaluate(w))return!0;return!1}static _normalizeArr(w,L,oe){let M=[],De=!1;if(w){for(let Fe=0,Re=w.length;Fe<Re;Fe++){const dt=w[Fe];if(dt){if(dt.type===0){De=!0;continue}if(dt.type===1)return U.INSTANCE;if(dt.type===9){M=M.concat(dt.expr);continue}M.push(dt)}}if(M.length===0&&De)return Q.INSTANCE;M.sort(u)}if(M.length!==0){if(M.length===1)return M[0];for(let Fe=1;Fe<M.length;Fe++)M[Fe-1].equals(M[Fe])&&(M.splice(Fe,1),Fe--);if(M.length===1)return M[0];if(oe){for(let Fe=0;Fe<M.length;Fe++)for(let Re=Fe+1;Re<M.length;Re++)ue(M[Fe],M[Re])&&(M.splice(Re,1),Re--);if(M.length===1)return M[0]}return new Ee(M,L)}}serialize(){return this.expr.map(w=>w.serialize()).join(" || ")}keys(){const w=[];for(let L of this.expr)w.push(...L.keys());return w}negate(){if(!this.negated){let w=[];for(let L of this.expr)w.push(L.negate());for(;w.length>1;){const L=w.shift(),oe=w.shift(),M=[];for(const Fe of fe(L))for(const Re of fe(oe))M.push(se.create([Fe,Re],null));const De=w.length===0;w.unshift(Ee.create(M,null,De))}this.negated=w[0]}return this.negated}}class he extends v{constructor(w,L,oe){super(w,null),this._defaultValue=L,typeof oe=="object"?he._info.push(Object.assign(Object.assign({},oe),{key:w})):oe!==!0&&he._info.push({key:w,description:oe,type:L!=null?typeof L:void 0})}static all(){return he._info.values()}bindTo(w){return w.createKey(this.key,this._defaultValue)}getValue(w){return w.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(w){return I.create(this.key,w)}}he._info=[];const ve=(0,T.yh)("contextKeyService"),J="setContext";function Z(ae,w){return ae<w?-1:ae>w?1:0}function ie(ae,w,L,oe){return ae<L?-1:ae>L?1:w<oe?-1:w>oe?1:0}function ue(ae,w){if(w.type===6&&ae.type!==9&&ae.type!==6){for(const M of w.expr)if(ae.equals(M))return!0}const L=ae.negate(),oe=fe(L).concat(fe(w));oe.sort(u);for(let M=0;M<oe.length;M++){const Fe=oe[M].negate();for(let Re=M+1;Re<oe.length;Re++){const dt=oe[Re];if(Fe.equals(dt))return!0}}return!1}function fe(ae){return ae.type===9?ae.expr:[ae]}},16925:function(k,p,o){"use strict";o.d(p,{I8:function(){return a},TG:function(){return y},jt:function(){return _},yh:function(){return b}});var a;(function(h){h.serviceIds=new Map,h.DI_TARGET="$di$target",h.DI_DEPENDENCIES="$di$dependencies";function j(G){return G[h.DI_DEPENDENCIES]||[]}h.getServiceDependencies=j})(a||(a={}));const y=b("instantiationService");function T(h,j,G,u){j[a.DI_TARGET]===j?j[a.DI_DEPENDENCIES].push({id:h,index:G,optional:u}):(j[a.DI_DEPENDENCIES]=[{id:h,index:G,optional:u}],j[a.DI_TARGET]=j)}function b(h){if(a.serviceIds.has(h))return a.serviceIds.get(h);const j=function(G,u,Q){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");T(j,G,Q,!1)};return j.toString=()=>h,a.serviceIds.set(h,j),j}function _(h){return function(j,G,u){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");T(h,j,u,!0)}}},44650:function(k,p,o){"use strict";o.d(p,{B:function(){return b}});var a=o(76068),y=o(72999);class T{constructor(){this.data=new Map}add(h,j){a.ok(y.HD(h)),a.ok(y.Kn(j)),a.ok(!this.data.has(h),"There is already an extension with this id"),this.data.set(h,j)}as(h){return this.data.get(h)||null}}const b=new T},66213:function(k,p,o){"use strict";o.d(p,{e:function(){return a}});var a;(function(y){y.DARK="dark",y.LIGHT="light",y.HIGH_CONTRAST="hc"})(a||(a={}))},49055:function(k,p,o){"use strict";o.d(p,{EN:function(){return u},IP:function(){return v},Ic:function(){return P},XE:function(){return j},bB:function(){return X},kS:function(){return Q},m6:function(){return U}});var a=o(52615),y=o(4348),T=o(69323),b=o(16925),_=o(44650),h=o(66213);const j=(0,b.yh)("themeService");var G;(function(V){function z(N){return N&&typeof N=="object"&&typeof N.id=="string"}V.isThemeColor=z})(G||(G={}));function u(V){return{id:V}}var Q;(function(V){function z(le){return le&&typeof le=="object"&&typeof le.id=="string"&&(typeof le.color=="undefined"||G.isThemeColor(le.color))}V.isThemeIcon=z;const N=new RegExp(`^\\$\\((${a.dT.iconNameExpression}(?:${a.dT.iconModifierExpression})?)\\)$`);function F(le){const te=N.exec(le);if(!te)return;let[,se]=te;return{id:se}}V.fromString=F;function B(le,te){let se=le.id;const Ee=se.lastIndexOf("~");return Ee!==-1&&(se=se.substring(0,Ee)),te&&(se=`${se}~${te}`),{id:se}}V.modify=B;function W(le,te){var se,Ee;return le.id===te.id&&((se=le.color)===null||se===void 0?void 0:se.id)===((Ee=te.color)===null||Ee===void 0?void 0:Ee.id)}V.isEqual=W;function H(le,te){return{id:le.id,color:te?u(te):void 0}}V.asThemeIcon=H,V.asClassNameArray=a.dT.asClassNameArray,V.asClassName=a.dT.asClassName,V.asCSSSelector=a.dT.asCSSSelector})(Q||(Q={}));function U(V){switch(V){case h.e.DARK:return"vs-dark";case h.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const v={ThemingContribution:"base.contributions.theming"};class I{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new y.Q5}onColorThemeChange(z){return this.themingParticipants.push(z),this.onThemingParticipantAddedEmitter.fire(z),(0,T.OF)(()=>{const N=this.themingParticipants.indexOf(z);this.themingParticipants.splice(N,1)})}getThemingParticipants(){return this.themingParticipants}}let C=new I;_.B.add(v.ThemingContribution,C);function P(V){return C.onColorThemeChange(V)}class X extends T.JT{constructor(z){super(),this.themeService=z,this.theme=z.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(N=>this.onThemeChange(N)))}onThemeChange(z){this.theme=z,this.updateStyles()}updateStyles(){}}},67842:function(k){"use strict";var p,o=59;k.exports=a;function a(y){var T="&"+y+";",b;return p=p||document.createElement("i"),p.innerHTML=T,b=p.textContent,b.charCodeAt(b.length-1)===o&&y!=="semi"||b===T?!1:b}},12256:function(k,p,o){"use strict";var a=o(47854),y=o(80501),T=o(22347),b=o(65207),_=o(21127),h=o(67842);k.exports=w;var j={}.hasOwnProperty,G=String.fromCharCode,u=Function.prototype,Q={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},U=9,v=10,I=12,C=32,P=38,X=59,V=60,z=61,N=35,F=88,B=120,W=65533,H="named",le="hexadecimal",te="decimal",se={};se[le]=16,se[te]=10;var Ee={};Ee[H]=_,Ee[te]=T,Ee[le]=b;var he=1,ve=2,J=3,Z=4,ie=5,ue=6,fe=7,ae={};ae[he]="Named character references must be terminated by a semicolon",ae[ve]="Numeric character references must be terminated by a semicolon",ae[J]="Named character references cannot be empty",ae[Z]="Numeric character references cannot be empty",ae[ie]="Named character references must be known",ae[ue]="Numeric character references cannot be disallowed",ae[fe]="Numeric character references cannot be outside the permissible Unicode range";function w(De,Fe){var Re={},dt,st;Fe||(Fe={});for(st in Q)dt=Fe[st],Re[st]=dt==null?Q[st]:dt;return(Re.position.indent||Re.position.start)&&(Re.indent=Re.position.indent||[],Re.position=Re.position.start),L(De,Re)}function L(De,Fe){var Re=Fe.additional,dt=Fe.nonTerminated,st=Fe.text,it=Fe.reference,lt=Fe.warning,zt=Fe.textContext,nn=Fe.referenceContext,Mt=Fe.warningContext,en=Fe.position,rn=Fe.indent||[],rt=De.length,tt=0,Be=-1,Oe=en.column||1,Ue=en.line||1,$e="",ee=[],ye,Ne,Ie,ze,He,Je,Ke,je,_e,Qe,Me,Pe,Le,ht,nt,re,ut,Ze,Se;for(typeof Re=="string"&&(Re=Re.charCodeAt(0)),re=St(),je=lt?tn:u,tt--,rt++;++tt<rt;)if(He===v&&(Oe=rn[Be]||1),He=De.charCodeAt(tt),He===P){if(Ke=De.charCodeAt(tt+1),Ke===U||Ke===v||Ke===I||Ke===C||Ke===P||Ke===V||Ke!==Ke||Re&&Ke===Re){$e+=G(He),Oe++;continue}for(Le=tt+1,Pe=Le,Se=Le,Ke===N?(Se=++Pe,Ke=De.charCodeAt(Se),Ke===F||Ke===B?(ht=le,Se=++Pe):ht=te):ht=H,ye="",Me="",ze="",nt=Ee[ht],Se--;++Se<rt&&(Ke=De.charCodeAt(Se),!!nt(Ke));)ze+=G(Ke),ht===H&&j.call(a,ze)&&(ye=ze,Me=a[ze]);Ie=De.charCodeAt(Se)===X,Ie&&(Se++,Ne=ht===H?h(ze):!1,Ne&&(ye=ze,Me=Ne)),Ze=1+Se-Le,!Ie&&!dt||(ze?ht===H?(Ie&&!Me?je(ie,1):(ye!==ze&&(Se=Pe+ye.length,Ze=1+Se-Pe,Ie=!1),Ie||(_e=ye?he:J,Fe.attribute?(Ke=De.charCodeAt(Se),Ke===z?(je(_e,Ze),Me=null):_(Ke)?Me=null:je(_e,Ze)):je(_e,Ze))),Je=Me):(Ie||je(ve,Ze),Je=parseInt(ze,se[ht]),oe(Je)?(je(fe,Ze),Je=G(W)):Je in y?(je(ue,Ze),Je=y[Je]):(Qe="",M(Je)&&je(ue,Ze),Je>65535&&(Je-=65536,Qe+=G(Je>>>10|55296),Je=56320|Je&1023),Je=Qe+G(Je))):ht!==H&&je(Z,Ze)),Je?(gt(),re=St(),tt=Se-1,Oe+=Se-Le+1,ee.push(Je),ut=St(),ut.offset++,it&&it.call(nn,Je,{start:re,end:ut},De.slice(Le-1,Se)),re=ut):(ze=De.slice(Le-1,Se),$e+=ze,Oe+=ze.length,tt=Se-1)}else He===10&&(Ue++,Be++,Oe=0),He===He?($e+=G(He),Oe++):gt();return ee.join("");function St(){return{line:Ue,column:Oe,offset:tt+(en.offset||0)}}function tn(Xe,qe){var Ge=St();Ge.column+=qe,Ge.offset+=qe,lt.call(Mt,ae[Xe],Ge,Xe)}function gt(){$e&&(ee.push($e),st&&st.call(zt,$e,{start:re,end:St()}),$e="")}}function oe(De){return De>=55296&&De<=57343||De>1114111}function M(De){return De>=1&&De<=8||De===11||De>=13&&De<=31||De>=127&&De<=159||De>=64976&&De<=65007||(De&65535)===65535||(De&65535)===65534}},68398:function(k,p,o){var a=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var y=function(T){var b=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,_=0,h={},j={manual:T.Prism&&T.Prism.manual,disableWorkerMessageHandler:T.Prism&&T.Prism.disableWorkerMessageHandler,util:{encode:function z(N){return N instanceof G?new G(N.type,z(N.content),N.alias):Array.isArray(N)?N.map(z):N.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(z){return Object.prototype.toString.call(z).slice(8,-1)},objId:function(z){return z.__id||Object.defineProperty(z,"__id",{value:++_}),z.__id},clone:function z(N,F){F=F||{};var B,W;switch(j.util.type(N)){case"Object":if(W=j.util.objId(N),F[W])return F[W];B={},F[W]=B;for(var H in N)N.hasOwnProperty(H)&&(B[H]=z(N[H],F));return B;case"Array":return W=j.util.objId(N),F[W]?F[W]:(B=[],F[W]=B,N.forEach(function(le,te){B[te]=z(le,F)}),B);default:return N}},getLanguage:function(z){for(;z;){var N=b.exec(z.className);if(N)return N[1].toLowerCase();z=z.parentElement}return"none"},setLanguage:function(z,N){z.className=z.className.replace(RegExp(b,"gi"),""),z.classList.add("language-"+N)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(B){var z=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(B.stack)||[])[1];if(z){var N=document.getElementsByTagName("script");for(var F in N)if(N[F].src==z)return N[F]}return null}},isActive:function(z,N,F){for(var B="no-"+N;z;){var W=z.classList;if(W.contains(N))return!0;if(W.contains(B))return!1;z=z.parentElement}return!!F}},languages:{plain:h,plaintext:h,text:h,txt:h,extend:function(z,N){var F=j.util.clone(j.languages[z]);for(var B in N)F[B]=N[B];return F},insertBefore:function(z,N,F,B){B=B||j.languages;var W=B[z],H={};for(var le in W)if(W.hasOwnProperty(le)){if(le==N)for(var te in F)F.hasOwnProperty(te)&&(H[te]=F[te]);F.hasOwnProperty(le)||(H[le]=W[le])}var se=B[z];return B[z]=H,j.languages.DFS(j.languages,function(Ee,he){he===se&&Ee!=z&&(this[Ee]=H)}),H},DFS:function z(N,F,B,W){W=W||{};var H=j.util.objId;for(var le in N)if(N.hasOwnProperty(le)){F.call(N,le,N[le],B||le);var te=N[le],se=j.util.type(te);se==="Object"&&!W[H(te)]?(W[H(te)]=!0,z(te,F,null,W)):se==="Array"&&!W[H(te)]&&(W[H(te)]=!0,z(te,F,le,W))}}},plugins:{},highlightAll:function(z,N){j.highlightAllUnder(document,z,N)},highlightAllUnder:function(z,N,F){var B={callback:F,container:z,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};j.hooks.run("before-highlightall",B),B.elements=Array.prototype.slice.apply(B.container.querySelectorAll(B.selector)),j.hooks.run("before-all-elements-highlight",B);for(var W=0,H;H=B.elements[W++];)j.highlightElement(H,N===!0,B.callback)},highlightElement:function(z,N,F){var B=j.util.getLanguage(z),W=j.languages[B];j.util.setLanguage(z,B);var H=z.parentElement;H&&H.nodeName.toLowerCase()==="pre"&&j.util.setLanguage(H,B);var le=z.textContent,te={element:z,language:B,grammar:W,code:le};function se(he){te.highlightedCode=he,j.hooks.run("before-insert",te),te.element.innerHTML=te.highlightedCode,j.hooks.run("after-highlight",te),j.hooks.run("complete",te),F&&F.call(te.element)}if(j.hooks.run("before-sanity-check",te),H=te.element.parentElement,H&&H.nodeName.toLowerCase()==="pre"&&!H.hasAttribute("tabindex")&&H.setAttribute("tabindex","0"),!te.code){j.hooks.run("complete",te),F&&F.call(te.element);return}if(j.hooks.run("before-highlight",te),!te.grammar){se(j.util.encode(te.code));return}if(N&&T.Worker){var Ee=new Worker(j.filename);Ee.onmessage=function(he){se(he.data)},Ee.postMessage(JSON.stringify({language:te.language,code:te.code,immediateClose:!0}))}else se(j.highlight(te.code,te.grammar,te.language))},highlight:function(z,N,F){var B={code:z,grammar:N,language:F};if(j.hooks.run("before-tokenize",B),!B.grammar)throw new Error('The language "'+B.language+'" has no grammar.');return B.tokens=j.tokenize(B.code,B.grammar),j.hooks.run("after-tokenize",B),G.stringify(j.util.encode(B.tokens),B.language)},tokenize:function(z,N){var F=N.rest;if(F){for(var B in F)N[B]=F[B];delete N.rest}var W=new U;return v(W,W.head,z),Q(z,W,N,W.head,0),C(W)},hooks:{all:{},add:function(z,N){var F=j.hooks.all;F[z]=F[z]||[],F[z].push(N)},run:function(z,N){var F=j.hooks.all[z];if(!(!F||!F.length))for(var B=0,W;W=F[B++];)W(N)}},Token:G};T.Prism=j;function G(z,N,F,B){this.type=z,this.content=N,this.alias=F,this.length=(B||"").length|0}G.stringify=function z(N,F){if(typeof N=="string")return N;if(Array.isArray(N)){var B="";return N.forEach(function(se){B+=z(se,F)}),B}var W={type:N.type,content:z(N.content,F),tag:"span",classes:["token",N.type],attributes:{},language:F},H=N.alias;H&&(Array.isArray(H)?Array.prototype.push.apply(W.classes,H):W.classes.push(H)),j.hooks.run("wrap",W);var le="";for(var te in W.attributes)le+=" "+te+'="'+(W.attributes[te]||"").replace(/"/g,"&quot;")+'"';return"<"+W.tag+' class="'+W.classes.join(" ")+'"'+le+">"+W.content+"</"+W.tag+">"};function u(z,N,F,B){z.lastIndex=N;var W=z.exec(F);if(W&&B&&W[1]){var H=W[1].length;W.index+=H,W[0]=W[0].slice(H)}return W}function Q(z,N,F,B,W,H){for(var le in F)if(!(!F.hasOwnProperty(le)||!F[le])){var te=F[le];te=Array.isArray(te)?te:[te];for(var se=0;se<te.length;++se){if(H&&H.cause==le+","+se)return;var Ee=te[se],he=Ee.inside,ve=!!Ee.lookbehind,J=!!Ee.greedy,Z=Ee.alias;if(J&&!Ee.pattern.global){var ie=Ee.pattern.toString().match(/[imsuy]*$/)[0];Ee.pattern=RegExp(Ee.pattern.source,ie+"g")}for(var ue=Ee.pattern||Ee,fe=B.next,ae=W;fe!==N.tail&&!(H&&ae>=H.reach);ae+=fe.value.length,fe=fe.next){var w=fe.value;if(N.length>z.length)return;if(!(w instanceof G)){var L=1,oe;if(J){if(oe=u(ue,ae,z,ve),!oe||oe.index>=z.length)break;var Re=oe.index,M=oe.index+oe[0].length,De=ae;for(De+=fe.value.length;Re>=De;)fe=fe.next,De+=fe.value.length;if(De-=fe.value.length,ae=De,fe.value instanceof G)continue;for(var Fe=fe;Fe!==N.tail&&(De<M||typeof Fe.value=="string");Fe=Fe.next)L++,De+=Fe.value.length;L--,w=z.slice(ae,De),oe.index-=ae}else if(oe=u(ue,0,w,ve),!oe)continue;var Re=oe.index,dt=oe[0],st=w.slice(0,Re),it=w.slice(Re+dt.length),lt=ae+w.length;H&&lt>H.reach&&(H.reach=lt);var zt=fe.prev;st&&(zt=v(N,zt,st),ae+=st.length),I(N,zt,L);var nn=new G(le,he?j.tokenize(dt,he):dt,Z,dt);if(fe=v(N,zt,nn),it&&v(N,fe,it),L>1){var Mt={cause:le+","+se,reach:lt};Q(z,N,F,fe.prev,ae,Mt),H&&Mt.reach>H.reach&&(H.reach=Mt.reach)}}}}}}function U(){var z={value:null,prev:null,next:null},N={value:null,prev:z,next:null};z.next=N,this.head=z,this.tail=N,this.length=0}function v(z,N,F){var B=N.next,W={value:F,prev:N,next:B};return N.next=W,B.prev=W,z.length++,W}function I(z,N,F){for(var B=N.next,W=0;W<F&&B!==z.tail;W++)B=B.next;N.next=B,B.prev=N,z.length-=W}function C(z){for(var N=[],F=z.head.next;F!==z.tail;)N.push(F.value),F=F.next;return N}if(!T.document)return T.addEventListener&&(j.disableWorkerMessageHandler||T.addEventListener("message",function(z){var N=JSON.parse(z.data),F=N.language,B=N.code,W=N.immediateClose;T.postMessage(j.highlight(B,j.languages[F],F)),W&&T.close()},!1)),j;var P=j.util.currentScript();P&&(j.filename=P.src,P.hasAttribute("data-manual")&&(j.manual=!0));function X(){j.manual||j.highlightAll()}if(!j.manual){var V=document.readyState;V==="loading"||V==="interactive"&&P&&P.defer?document.addEventListener("DOMContentLoaded",X):window.requestAnimationFrame?window.requestAnimationFrame(X):window.setTimeout(X,16)}return j}(a);k.exports&&(k.exports=y),typeof o.g!="undefined"&&(o.g.Prism=y)},88914:function(k,p,o){"use strict";var a=o(47178),y=o(19095),T=o(1969),b="data";k.exports=G;var _=/^data[-\w.:]+$/i,h=/-[a-z]/g,j=/[A-Z]/g;function G(I,C){var P=a(C),X=C,V=T;return P in I.normal?I.property[I.normal[P]]:(P.length>4&&P.slice(0,4)===b&&_.test(C)&&(C.charAt(4)==="-"?X=u(C):C=Q(C),V=y),new V(X,C))}function u(I){var C=I.slice(5).replace(h,v);return b+C.charAt(0).toUpperCase()+C.slice(1)}function Q(I){var C=I.slice(4);return h.test(C)?I:(C=C.replace(j,U),C.charAt(0)!=="-"&&(C="-"+C),b+C)}function U(I){return"-"+I.toLowerCase()}function v(I){return I.charAt(1).toUpperCase()}},18795:function(k,p,o){"use strict";var a=o(83576),y=o(8179),T=o(59780),b=o(68244),_=o(20019),h=o(38567);k.exports=a([T,y,b,_,h])},20019:function(k,p,o){"use strict";var a=o(70167),y=o(79318),T=a.booleanish,b=a.number,_=a.spaceSeparated;k.exports=y({transform:h,properties:{ariaActiveDescendant:null,ariaAtomic:T,ariaAutoComplete:null,ariaBusy:T,ariaChecked:T,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:_,ariaCurrent:null,ariaDescribedBy:_,ariaDetails:null,ariaDisabled:T,ariaDropEffect:_,ariaErrorMessage:null,ariaExpanded:T,ariaFlowTo:_,ariaGrabbed:T,ariaHasPopup:null,ariaHidden:T,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:_,ariaLevel:b,ariaLive:null,ariaModal:T,ariaMultiLine:T,ariaMultiSelectable:T,ariaOrientation:null,ariaOwns:_,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:T,ariaReadOnly:T,ariaRelevant:null,ariaRequired:T,ariaRoleDescription:_,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:T,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}});function h(j,G){return G==="role"?G:"aria-"+G.slice(4).toLowerCase()}},38567:function(k,p,o){"use strict";var a=o(70167),y=o(79318),T=o(85804),b=a.boolean,_=a.overloadedBoolean,h=a.booleanish,j=a.number,G=a.spaceSeparated,u=a.commaSeparated;k.exports=y({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:T,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:G,accessKey:G,action:null,allow:null,allowFullScreen:b,allowPaymentRequest:b,allowUserMedia:b,alt:null,as:null,async:b,autoCapitalize:null,autoComplete:G,autoFocus:b,autoPlay:b,capture:b,charSet:null,checked:b,cite:null,className:G,cols:j,colSpan:null,content:null,contentEditable:h,controls:b,controlsList:G,coords:j|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:b,defer:b,dir:null,dirName:null,disabled:b,download:_,draggable:h,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:b,formTarget:null,headers:G,height:j,hidden:b,high:j,href:null,hrefLang:null,htmlFor:G,httpEquiv:G,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:b,itemId:null,itemProp:G,itemRef:G,itemScope:b,itemType:G,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:b,low:j,manifest:null,max:null,maxLength:j,media:null,method:null,min:null,minLength:j,multiple:b,muted:b,name:null,nonce:null,noModule:b,noValidate:b,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:b,optimum:j,pattern:null,ping:G,placeholder:null,playsInline:b,poster:null,preload:null,readOnly:b,referrerPolicy:null,rel:G,required:b,reversed:b,rows:j,rowSpan:j,sandbox:G,scope:null,scoped:b,seamless:b,selected:b,shape:null,size:j,sizes:null,slot:null,span:j,spellCheck:h,src:null,srcDoc:null,srcLang:null,srcSet:u,start:j,step:null,style:null,tabIndex:j,target:null,title:null,translate:null,type:null,typeMustMatch:b,useMap:null,value:h,width:j,wrap:null,align:null,aLink:null,archive:G,axis:null,background:null,bgColor:null,border:j,borderColor:null,bottomMargin:j,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:b,declare:b,event:null,face:null,frame:null,frameBorder:null,hSpace:j,leftMargin:j,link:null,longDesc:null,lowSrc:null,marginHeight:j,marginWidth:j,noResize:b,noHref:b,noShade:b,noWrap:b,object:null,profile:null,prompt:null,rev:null,rightMargin:j,rules:null,scheme:null,scrolling:h,standby:null,summary:null,text:null,topMargin:j,valueType:null,version:null,vAlign:null,vLink:null,vSpace:j,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:b,disableRemotePlayback:b,prefix:null,property:null,results:j,security:null,unselectable:null}})},85804:function(k,p,o){"use strict";var a=o(56432);k.exports=y;function y(T,b){return a(T,b.toLowerCase())}},56432:function(k){"use strict";k.exports=p;function p(o,a){return a in o?o[a]:a}},79318:function(k,p,o){"use strict";var a=o(47178),y=o(44347),T=o(19095);k.exports=b;function b(_){var h=_.space,j=_.mustUseProperty||[],G=_.attributes||{},u=_.properties,Q=_.transform,U={},v={},I,C;for(I in u)C=new T(I,Q(G,I),u[I],h),j.indexOf(I)!==-1&&(C.mustUseProperty=!0),U[I]=C,v[a(I)]=I,v[a(C.attribute)]=I;return new y(U,v,h)}},19095:function(k,p,o){"use strict";var a=o(1969),y=o(70167);k.exports=_,_.prototype=new a,_.prototype.defined=!0;var T=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],b=T.length;function _(j,G,u,Q){var U=-1,v;for(h(this,"space",Q),a.call(this,j,G);++U<b;)v=T[U],h(this,v,(u&y[v])===y[v])}function h(j,G,u){u&&(j[G]=u)}},1969:function(k){"use strict";k.exports=o;var p=o.prototype;p.space=null,p.attribute=null,p.property=null,p.boolean=!1,p.booleanish=!1,p.overloadedBoolean=!1,p.number=!1,p.commaSeparated=!1,p.spaceSeparated=!1,p.commaOrSpaceSeparated=!1,p.mustUseProperty=!1,p.defined=!1;function o(a,y){this.property=a,this.attribute=y}},83576:function(k,p,o){"use strict";var a=o(97270),y=o(44347);k.exports=T;function T(b){for(var _=b.length,h=[],j=[],G=-1,u,Q;++G<_;)u=b[G],h.push(u.property),j.push(u.normal),Q=u.space;return new y(a.apply(null,h),a.apply(null,j),Q)}},44347:function(k){"use strict";k.exports=o;var p=o.prototype;p.space=null,p.normal={},p.property={};function o(a,y,T){this.property=a,this.normal=y,T&&(this.space=T)}},70167:function(k,p){"use strict";var o=0;p.boolean=a(),p.booleanish=a(),p.overloadedBoolean=a(),p.number=a(),p.spaceSeparated=a(),p.commaSeparated=a(),p.commaOrSpaceSeparated=a();function a(){return Math.pow(2,++o)}},8179:function(k,p,o){"use strict";var a=o(79318);k.exports=a({space:"xlink",transform:y,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function y(T,b){return"xlink:"+b.slice(5).toLowerCase()}},59780:function(k,p,o){"use strict";var a=o(79318);k.exports=a({space:"xml",transform:y,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function y(T,b){return"xml:"+b.slice(3).toLowerCase()}},68244:function(k,p,o){"use strict";var a=o(79318),y=o(85804);k.exports=a({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:y,properties:{xmlns:null,xmlnsXLink:null}})},47178:function(k){"use strict";k.exports=p;function p(o){return o.toLowerCase()}},16632:function(k,p,o){"use strict";var a=o(72308),y=o(77321),T=o(49618),b=o(52487),_=o(74416),h=o(92310),j=o.n(h),G=o(18929),u=o(59301),Q=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],U=(0,u.forwardRef)(function(v,I){var C=v.prefixCls,P=C===void 0?"rc-checkbox":C,X=v.className,V=v.style,z=v.checked,N=v.disabled,F=v.defaultChecked,B=F===void 0?!1:F,W=v.type,H=W===void 0?"checkbox":W,le=v.title,te=v.onChange,se=(0,_.Z)(v,Q),Ee=(0,u.useRef)(null),he=(0,u.useRef)(null),ve=(0,G.Z)(B,{value:z}),J=(0,b.Z)(ve,2),Z=J[0],ie=J[1];(0,u.useImperativeHandle)(I,function(){return{focus:function(w){var L;(L=Ee.current)===null||L===void 0||L.focus(w)},blur:function(){var w;(w=Ee.current)===null||w===void 0||w.blur()},input:Ee.current,nativeElement:he.current}});var ue=j()(P,X,(0,T.Z)((0,T.Z)({},"".concat(P,"-checked"),Z),"".concat(P,"-disabled"),N)),fe=function(w){N||("checked"in v||ie(w.target.checked),te==null||te({target:(0,y.Z)((0,y.Z)({},v),{},{type:H,checked:w.target.checked}),stopPropagation:function(){w.stopPropagation()},preventDefault:function(){w.preventDefault()},nativeEvent:w.nativeEvent}))};return u.createElement("span",{className:ue,title:le,style:V,ref:he},u.createElement("input",(0,a.Z)({},se,{className:"".concat(P,"-input"),ref:Ee,onChange:fe,disabled:N,checked:!!Z,type:H})),u.createElement("span",{className:"".concat(P,"-inner")}))});p.Z=U},66042:function(k,p,o){"use strict";o.d(p,{Z:function(){return J}});var a=o(77321),y=o(52487),T=o(43403),b=o(34280),_=o(59301),h=_.createContext(null),j=_.createContext({}),G=h,u=o(49618),Q=o(72308),U=o(92310),v=o.n(U),I=o(77900),C=o(10228),P=o(26112),X=o(74416),V=o(8654),z=["prefixCls","className","containerRef"],N=function(ie){var ue=ie.prefixCls,fe=ie.className,ae=ie.containerRef,w=(0,X.Z)(ie,z),L=_.useContext(j),oe=L.panel,M=(0,V.x1)(oe,ae);return _.createElement("div",(0,Q.Z)({className:v()("".concat(ue,"-content"),fe),role:"dialog",ref:M},(0,P.Z)(ie,{aria:!0}),{"aria-modal":"true"},w))},F=N,B=o(48736);function W(Z){return typeof Z=="string"&&String(Number(Z))===Z?((0,B.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Z)):Z}function H(Z){warning(!("wrapperClassName"in Z),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Z.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var le={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function te(Z,ie){var ue,fe,ae,w=Z.prefixCls,L=Z.open,oe=Z.placement,M=Z.inline,De=Z.push,Fe=Z.forceRender,Re=Z.autoFocus,dt=Z.keyboard,st=Z.classNames,it=Z.rootClassName,lt=Z.rootStyle,zt=Z.zIndex,nn=Z.className,Mt=Z.id,en=Z.style,rn=Z.motion,rt=Z.width,tt=Z.height,Be=Z.children,Oe=Z.mask,Ue=Z.maskClosable,$e=Z.maskMotion,ee=Z.maskClassName,ye=Z.maskStyle,Ne=Z.afterOpenChange,Ie=Z.onClose,ze=Z.onMouseEnter,He=Z.onMouseOver,Je=Z.onMouseLeave,Ke=Z.onClick,je=Z.onKeyDown,_e=Z.onKeyUp,Qe=Z.styles,Me=Z.drawerRender,Pe=_.useRef(),Le=_.useRef(),ht=_.useRef();_.useImperativeHandle(ie,function(){return Pe.current});var nt=function(Ye){var bt=Ye.keyCode,Dt=Ye.shiftKey;switch(bt){case C.Z.TAB:{if(bt===C.Z.TAB){if(!Dt&&document.activeElement===ht.current){var jt;(jt=Le.current)===null||jt===void 0||jt.focus({preventScroll:!0})}else if(Dt&&document.activeElement===Le.current){var Kt;(Kt=ht.current)===null||Kt===void 0||Kt.focus({preventScroll:!0})}}break}case C.Z.ESC:{Ie&&dt&&(Ye.stopPropagation(),Ie(Ye));break}}};_.useEffect(function(){if(L&&Re){var we;(we=Pe.current)===null||we===void 0||we.focus({preventScroll:!0})}},[L]);var re=_.useState(!1),ut=(0,y.Z)(re,2),Ze=ut[0],Se=ut[1],St=_.useContext(G),tn;typeof De=="boolean"?tn=De?{}:{distance:0}:tn=De||{};var gt=(ue=(fe=(ae=tn)===null||ae===void 0?void 0:ae.distance)!==null&&fe!==void 0?fe:St==null?void 0:St.pushDistance)!==null&&ue!==void 0?ue:180,Xe=_.useMemo(function(){return{pushDistance:gt,push:function(){Se(!0)},pull:function(){Se(!1)}}},[gt]);_.useEffect(function(){if(L){var we;St==null||(we=St.push)===null||we===void 0||we.call(St)}else{var Ye;St==null||(Ye=St.pull)===null||Ye===void 0||Ye.call(St)}},[L]),_.useEffect(function(){return function(){var we;St==null||(we=St.pull)===null||we===void 0||we.call(St)}},[]);var qe=Oe&&_.createElement(I.default,(0,Q.Z)({key:"mask"},$e,{visible:L}),function(we,Ye){var bt=we.className,Dt=we.style;return _.createElement("div",{className:v()("".concat(w,"-mask"),bt,st==null?void 0:st.mask,ee),style:(0,a.Z)((0,a.Z)((0,a.Z)({},Dt),ye),Qe==null?void 0:Qe.mask),onClick:Ue&&L?Ie:void 0,ref:Ye})}),Ge=typeof rn=="function"?rn(oe):rn,ke={};if(Ze&&gt)switch(oe){case"top":ke.transform="translateY(".concat(gt,"px)");break;case"bottom":ke.transform="translateY(".concat(-gt,"px)");break;case"left":ke.transform="translateX(".concat(gt,"px)");break;default:ke.transform="translateX(".concat(-gt,"px)");break}oe==="left"||oe==="right"?ke.width=W(rt):ke.height=W(tt);var ce={onMouseEnter:ze,onMouseOver:He,onMouseLeave:Je,onClick:Ke,onKeyDown:je,onKeyUp:_e},pe=_.createElement(I.default,(0,Q.Z)({key:"panel"},Ge,{visible:L,forceRender:Fe,onVisibleChanged:function(Ye){Ne==null||Ne(Ye)},removeOnLeave:!1,leavedClassName:"".concat(w,"-content-wrapper-hidden")}),function(we,Ye){var bt=we.className,Dt=we.style,jt=_.createElement(F,(0,Q.Z)({id:Mt,containerRef:Ye,prefixCls:w,className:v()(nn,st==null?void 0:st.content),style:(0,a.Z)((0,a.Z)({},en),Qe==null?void 0:Qe.content)},(0,P.Z)(Z,{aria:!0}),ce),Be);return _.createElement("div",(0,Q.Z)({className:v()("".concat(w,"-content-wrapper"),st==null?void 0:st.wrapper,bt),style:(0,a.Z)((0,a.Z)((0,a.Z)({},ke),Dt),Qe==null?void 0:Qe.wrapper)},(0,P.Z)(Z,{data:!0})),Me?Me(jt):jt)}),me=(0,a.Z)({},lt);return zt&&(me.zIndex=zt),_.createElement(G.Provider,{value:Xe},_.createElement("div",{className:v()(w,"".concat(w,"-").concat(oe),it,(0,u.Z)((0,u.Z)({},"".concat(w,"-open"),L),"".concat(w,"-inline"),M)),style:me,tabIndex:-1,ref:Pe,onKeyDown:nt},qe,_.createElement("div",{tabIndex:0,ref:Le,style:le,"aria-hidden":"true","data-sentinel":"start"}),pe,_.createElement("div",{tabIndex:0,ref:ht,style:le,"aria-hidden":"true","data-sentinel":"end"})))}var se=_.forwardRef(te),Ee=se,he=function(ie){var ue=ie.open,fe=ue===void 0?!1:ue,ae=ie.prefixCls,w=ae===void 0?"rc-drawer":ae,L=ie.placement,oe=L===void 0?"right":L,M=ie.autoFocus,De=M===void 0?!0:M,Fe=ie.keyboard,Re=Fe===void 0?!0:Fe,dt=ie.width,st=dt===void 0?378:dt,it=ie.mask,lt=it===void 0?!0:it,zt=ie.maskClosable,nn=zt===void 0?!0:zt,Mt=ie.getContainer,en=ie.forceRender,rn=ie.afterOpenChange,rt=ie.destroyOnClose,tt=ie.onMouseEnter,Be=ie.onMouseOver,Oe=ie.onMouseLeave,Ue=ie.onClick,$e=ie.onKeyDown,ee=ie.onKeyUp,ye=ie.panelRef,Ne=_.useState(!1),Ie=(0,y.Z)(Ne,2),ze=Ie[0],He=Ie[1],Je=_.useState(!1),Ke=(0,y.Z)(Je,2),je=Ke[0],_e=Ke[1];(0,b.Z)(function(){_e(!0)},[]);var Qe=je?fe:!1,Me=_.useRef(),Pe=_.useRef();(0,b.Z)(function(){Qe&&(Pe.current=document.activeElement)},[Qe]);var Le=function(Ze){var Se;if(He(Ze),rn==null||rn(Ze),!Ze&&Pe.current&&!((Se=Me.current)!==null&&Se!==void 0&&Se.contains(Pe.current))){var St;(St=Pe.current)===null||St===void 0||St.focus({preventScroll:!0})}},ht=_.useMemo(function(){return{panel:ye}},[ye]);if(!en&&!ze&&!Qe&&rt)return null;var nt={onMouseEnter:tt,onMouseOver:Be,onMouseLeave:Oe,onClick:Ue,onKeyDown:$e,onKeyUp:ee},re=(0,a.Z)((0,a.Z)({},ie),{},{open:Qe,prefixCls:w,placement:oe,autoFocus:De,keyboard:Re,width:st,mask:lt,maskClosable:nn,inline:Mt===!1,afterOpenChange:Le,ref:Me},nt);return _.createElement(j.Provider,{value:ht},_.createElement(T.Z,{open:Qe||en||ze,autoDestroy:!1,getContainer:Mt,autoLock:lt&&(Qe||ze)},_.createElement(Ee,re)))},ve=he,J=ve},96478:function(k,p,o){"use strict";o.d(p,{Z:function(){return le}});var a=o(72308),y=o(49618),T=o(52487),b=o(74416),_=o(65352),h=o(92310),j=o.n(h),G=o(8654),u=o(59301),Q=o(10228),U=o(16089),v=Q.Z.ESC,I=Q.Z.TAB;function C(te){var se=te.visible,Ee=te.triggerRef,he=te.onVisibleChange,ve=te.autoFocus,J=te.overlayRef,Z=u.useRef(!1),ie=function(){if(se){var w,L;(w=Ee.current)===null||w===void 0||(L=w.focus)===null||L===void 0||L.call(w),he==null||he(!1)}},ue=function(){var w;return(w=J.current)!==null&&w!==void 0&&w.focus?(J.current.focus(),Z.current=!0,!0):!1},fe=function(w){switch(w.keyCode){case v:ie();break;case I:{var L=!1;Z.current||(L=ue()),L?w.preventDefault():ie();break}}};u.useEffect(function(){return se?(window.addEventListener("keydown",fe),ve&&(0,U.Z)(ue,3),function(){window.removeEventListener("keydown",fe),Z.current=!1}):function(){Z.current=!1}},[se])}var P=(0,u.forwardRef)(function(te,se){var Ee=te.overlay,he=te.arrow,ve=te.prefixCls,J=(0,u.useMemo)(function(){var ie;return typeof Ee=="function"?ie=Ee():ie=Ee,ie},[Ee]),Z=(0,G.sQ)(se,(0,G.C4)(J));return u.createElement(u.Fragment,null,he&&u.createElement("div",{className:"".concat(ve,"-arrow")}),u.cloneElement(J,{ref:(0,G.Yr)(J)?Z:void 0}))}),X=P,V={adjustX:1,adjustY:1},z=[0,0],N={topLeft:{points:["bl","tl"],overflow:V,offset:[0,-4],targetOffset:z},top:{points:["bc","tc"],overflow:V,offset:[0,-4],targetOffset:z},topRight:{points:["br","tr"],overflow:V,offset:[0,-4],targetOffset:z},bottomLeft:{points:["tl","bl"],overflow:V,offset:[0,4],targetOffset:z},bottom:{points:["tc","bc"],overflow:V,offset:[0,4],targetOffset:z},bottomRight:{points:["tr","br"],overflow:V,offset:[0,4],targetOffset:z}},F=N,B=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function W(te,se){var Ee,he=te.arrow,ve=he===void 0?!1:he,J=te.prefixCls,Z=J===void 0?"rc-dropdown":J,ie=te.transitionName,ue=te.animation,fe=te.align,ae=te.placement,w=ae===void 0?"bottomLeft":ae,L=te.placements,oe=L===void 0?F:L,M=te.getPopupContainer,De=te.showAction,Fe=te.hideAction,Re=te.overlayClassName,dt=te.overlayStyle,st=te.visible,it=te.trigger,lt=it===void 0?["hover"]:it,zt=te.autoFocus,nn=te.overlay,Mt=te.children,en=te.onVisibleChange,rn=(0,b.Z)(te,B),rt=u.useState(),tt=(0,T.Z)(rt,2),Be=tt[0],Oe=tt[1],Ue="visible"in te?st:Be,$e=u.useRef(null),ee=u.useRef(null),ye=u.useRef(null);u.useImperativeHandle(se,function(){return $e.current});var Ne=function(Me){Oe(Me),en==null||en(Me)};C({visible:Ue,triggerRef:ye,onVisibleChange:Ne,autoFocus:zt,overlayRef:ee});var Ie=function(Me){var Pe=te.onOverlayClick;Oe(!1),Pe&&Pe(Me)},ze=function(){return u.createElement(X,{ref:ee,overlay:nn,prefixCls:Z,arrow:ve})},He=function(){return typeof nn=="function"?ze:ze()},Je=function(){var Me=te.minOverlayWidthMatchTrigger,Pe=te.alignPoint;return"minOverlayWidthMatchTrigger"in te?Me:!Pe},Ke=function(){var Me=te.openClassName;return Me!==void 0?Me:"".concat(Z,"-open")},je=u.cloneElement(Mt,{className:j()((Ee=Mt.props)===null||Ee===void 0?void 0:Ee.className,Ue&&Ke()),ref:(0,G.Yr)(Mt)?(0,G.sQ)(ye,(0,G.C4)(Mt)):void 0}),_e=Fe;return!_e&&lt.indexOf("contextMenu")!==-1&&(_e=["click"]),u.createElement(_.Z,(0,a.Z)({builtinPlacements:oe},rn,{prefixCls:Z,ref:$e,popupClassName:j()(Re,(0,y.Z)({},"".concat(Z,"-show-arrow"),ve)),popupStyle:dt,action:lt,showAction:De,hideAction:_e,popupPlacement:w,popupAlign:fe,popupTransitionName:ie,popupAnimation:ue,popupVisible:Ue,stretch:Je()?"minWidth":"",popup:He(),onPopupVisibleChange:Ne,onPopupClick:Ie,getPopupContainer:M}),je)}var H=u.forwardRef(W),le=H},91574:function(k,p,o){"use strict";o.d(p,{Z:function(){return Ke}});var a=o(72308),y=o(77321),T=o(49618),b=o(52487),_=o(62853),h=o(74416),j=o(92310),G=o.n(j),u=/margin|padding|width|height|max|min|offset/,Q={left:!0,top:!0},U={cssFloat:1,styleFloat:1,float:1};function v(je){return je.nodeType===1?je.ownerDocument.defaultView.getComputedStyle(je,null):{}}function I(je,_e,Qe){if(_e=_e.toLowerCase(),Qe==="auto"){if(_e==="height")return je.offsetHeight;if(_e==="width")return je.offsetWidth}return _e in Q||(Q[_e]=u.test(_e)),Q[_e]?parseFloat(Qe)||0:Qe}function C(je,_e){var Qe=arguments.length,Me=v(je);return _e=U[_e]?"cssFloat"in je.style?"cssFloat":"styleFloat":_e,Qe===1?Me:I(je,_e,Me[_e]||je.style[_e])}function P(je,_e,Qe){var Me=arguments.length;if(_e=U[_e]?"cssFloat"in je.style?"cssFloat":"styleFloat":_e,Me===3)return typeof Qe=="number"&&u.test(_e)&&(Qe="".concat(Qe,"px")),je.style[_e]=Qe,Qe;for(var Pe in _e)_e.hasOwnProperty(Pe)&&P(je,Pe,_e[Pe]);return v(je)}function X(je){return je===document.body?document.documentElement.clientWidth:je.offsetWidth}function V(je){return je===document.body?window.innerHeight||document.documentElement.clientHeight:je.offsetHeight}function z(){var je=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),_e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:je,height:_e}}function N(){var je=document.documentElement.clientWidth,_e=window.innerHeight||document.documentElement.clientHeight;return{width:je,height:_e}}function F(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function B(je){var _e=je.getBoundingClientRect(),Qe=document.documentElement;return{left:_e.left+(window.pageXOffset||Qe.scrollLeft)-(Qe.clientLeft||document.body.clientLeft||0),top:_e.top+(window.pageYOffset||Qe.scrollTop)-(Qe.clientTop||document.body.clientTop||0)}}var W=o(18929),H=o(59301),le=o(55311),te=o(8224),se=o(10228),Ee=o(43403),he=o(77900),ve=H.createContext(null),J=function(_e){var Qe=_e.visible,Me=_e.maskTransitionName,Pe=_e.getContainer,Le=_e.prefixCls,ht=_e.rootClassName,nt=_e.icons,re=_e.countRender,ut=_e.showSwitch,Ze=_e.showProgress,Se=_e.current,St=_e.transform,tn=_e.count,gt=_e.scale,Xe=_e.minScale,qe=_e.maxScale,Ge=_e.closeIcon,ke=_e.onActive,ce=_e.onClose,pe=_e.onZoomIn,me=_e.onZoomOut,we=_e.onRotateRight,Ye=_e.onRotateLeft,bt=_e.onFlipX,Dt=_e.onFlipY,jt=_e.onReset,Kt=_e.toolbarRender,Ht=_e.zIndex,Ft=_e.image,Gt=(0,H.useContext)(ve),Yt=nt.rotateLeft,$t=nt.rotateRight,bn=nt.zoomIn,Jt=nt.zoomOut,un=nt.close,mn=nt.left,hn=nt.right,vn=nt.flipX,yn=nt.flipY,Gn="".concat(Le,"-operations-operation");H.useEffect(function(){var Qt=function(_n){_n.keyCode===se.Z.ESC&&ce()};return Qe&&window.addEventListener("keydown",Qt),function(){window.removeEventListener("keydown",Qt)}},[Qe]);var jn=function(An,_n){An.preventDefault(),An.stopPropagation(),ke(_n)},It=H.useCallback(function(Qt){var An=Qt.type,_n=Qt.disabled,at=Qt.onClick,vt=Qt.icon;return H.createElement("div",{key:An,className:G()(Gn,"".concat(Le,"-operations-operation-").concat(An),(0,T.Z)({},"".concat(Le,"-operations-operation-disabled"),!!_n)),onClick:at},vt)},[Gn,Le]),Ct=ut?It({icon:mn,onClick:function(An){return jn(An,-1)},type:"prev",disabled:Se===0}):void 0,Ut=ut?It({icon:hn,onClick:function(An){return jn(An,1)},type:"next",disabled:Se===tn-1}):void 0,xt=It({icon:yn,onClick:Dt,type:"flipY"}),fn=It({icon:vn,onClick:bt,type:"flipX"}),cn=It({icon:Yt,onClick:Ye,type:"rotateLeft"}),ot=It({icon:$t,onClick:we,type:"rotateRight"}),D=It({icon:Jt,onClick:me,type:"zoomOut",disabled:gt<=Xe}),En=It({icon:bn,onClick:pe,type:"zoomIn",disabled:gt===qe}),Pn=H.createElement("div",{className:"".concat(Le,"-operations")},xt,fn,cn,ot,D,En);return H.createElement(he.default,{visible:Qe,motionName:Me},function(Qt){var An=Qt.className,_n=Qt.style;return H.createElement(Ee.Z,{open:!0,getContainer:Pe!=null?Pe:document.body},H.createElement("div",{className:G()("".concat(Le,"-operations-wrapper"),An,ht),style:(0,y.Z)((0,y.Z)({},_n),{},{zIndex:Ht})},Ge===null?null:H.createElement("button",{className:"".concat(Le,"-close"),onClick:ce},Ge||un),ut&&H.createElement(H.Fragment,null,H.createElement("div",{className:G()("".concat(Le,"-switch-left"),(0,T.Z)({},"".concat(Le,"-switch-left-disabled"),Se===0)),onClick:function(vt){return jn(vt,-1)}},mn),H.createElement("div",{className:G()("".concat(Le,"-switch-right"),(0,T.Z)({},"".concat(Le,"-switch-right-disabled"),Se===tn-1)),onClick:function(vt){return jn(vt,1)}},hn)),H.createElement("div",{className:"".concat(Le,"-footer")},Ze&&H.createElement("div",{className:"".concat(Le,"-progress")},re?re(Se+1,tn):"".concat(Se+1," / ").concat(tn)),Kt?Kt(Pn,(0,y.Z)((0,y.Z)({icons:{prevIcon:Ct,nextIcon:Ut,flipYIcon:xt,flipXIcon:fn,rotateLeftIcon:cn,rotateRightIcon:ot,zoomOutIcon:D,zoomInIcon:En},actions:{onActive:ke,onFlipY:Dt,onFlipX:bt,onRotateLeft:Ye,onRotateRight:we,onZoomOut:me,onZoomIn:pe,onReset:jt,onClose:ce},transform:St},Gt?{current:Se,total:tn}:{}),{},{image:Ft})):Pn)))})},Z=J,ie=o(13697),ue=o(16089),fe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ae(je,_e,Qe,Me){var Pe=(0,H.useRef)(null),Le=(0,H.useRef)([]),ht=(0,H.useState)(fe),nt=(0,b.Z)(ht,2),re=nt[0],ut=nt[1],Ze=function(gt){ut(fe),(0,ie.Z)(fe,re)||Me==null||Me({transform:fe,action:gt})},Se=function(gt,Xe){Pe.current===null&&(Le.current=[],Pe.current=(0,ue.Z)(function(){ut(function(qe){var Ge=qe;return Le.current.forEach(function(ke){Ge=(0,y.Z)((0,y.Z)({},Ge),ke)}),Pe.current=null,Me==null||Me({transform:Ge,action:Xe}),Ge})})),Le.current.push((0,y.Z)((0,y.Z)({},re),gt))},St=function(gt,Xe,qe,Ge,ke){var ce=je.current,pe=ce.width,me=ce.height,we=ce.offsetWidth,Ye=ce.offsetHeight,bt=ce.offsetLeft,Dt=ce.offsetTop,jt=gt,Kt=re.scale*gt;Kt>Qe?(Kt=Qe,jt=Qe/re.scale):Kt<_e&&(Kt=ke?Kt:_e,jt=Kt/re.scale);var Ht=qe!=null?qe:innerWidth/2,Ft=Ge!=null?Ge:innerHeight/2,Gt=jt-1,Yt=Gt*pe*.5,$t=Gt*me*.5,bn=Gt*(Ht-re.x-bt),Jt=Gt*(Ft-re.y-Dt),un=re.x-(bn-Yt),mn=re.y-(Jt-$t);if(gt<1&&Kt===1){var hn=we*Kt,vn=Ye*Kt,yn=N(),Gn=yn.width,jn=yn.height;hn<=Gn&&vn<=jn&&(un=0,mn=0)}Se({x:un,y:mn,scale:Kt},Xe)};return{transform:re,resetTransform:Ze,updateTransform:Se,dispatchZoomChange:St}}var w=o(48736);function L(je,_e,Qe,Me){var Pe=_e+Qe,Le=(Qe-Me)/2;if(Qe>Me){if(_e>0)return(0,T.Z)({},je,Le);if(_e<0&&Pe<Me)return(0,T.Z)({},je,-Le)}else if(_e<0||Pe>Me)return(0,T.Z)({},je,_e<0?Le:-Le);return{}}function oe(je,_e,Qe,Me){var Pe=N(),Le=Pe.width,ht=Pe.height,nt=null;return je<=Le&&_e<=ht?nt={x:0,y:0}:(je>Le||_e>ht)&&(nt=(0,y.Z)((0,y.Z)({},L("x",Qe,je,Le)),L("y",Me,_e,ht))),nt}var M=1,De=1;function Fe(je,_e,Qe,Me,Pe,Le,ht){var nt=Pe.rotate,re=Pe.scale,ut=Pe.x,Ze=Pe.y,Se=(0,H.useState)(!1),St=(0,b.Z)(Se,2),tn=St[0],gt=St[1],Xe=(0,H.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),qe=function(me){!_e||me.button!==0||(me.preventDefault(),me.stopPropagation(),Xe.current={diffX:me.pageX-ut,diffY:me.pageY-Ze,transformX:ut,transformY:Ze},gt(!0))},Ge=function(me){Qe&&tn&&Le({x:me.pageX-Xe.current.diffX,y:me.pageY-Xe.current.diffY},"move")},ke=function(){if(Qe&&tn){gt(!1);var me=Xe.current,we=me.transformX,Ye=me.transformY,bt=ut!==we&&Ze!==Ye;if(!bt)return;var Dt=je.current.offsetWidth*re,jt=je.current.offsetHeight*re,Kt=je.current.getBoundingClientRect(),Ht=Kt.left,Ft=Kt.top,Gt=nt%180!==0,Yt=oe(Gt?jt:Dt,Gt?Dt:jt,Ht,Ft);Yt&&Le((0,y.Z)({},Yt),"dragRebound")}},ce=function(me){if(!(!Qe||me.deltaY==0)){var we=Math.abs(me.deltaY/100),Ye=Math.min(we,De),bt=M+Ye*Me;me.deltaY>0&&(bt=M/bt),ht(bt,"wheel",me.clientX,me.clientY)}};return(0,H.useEffect)(function(){var pe,me,we,Ye;if(_e){we=(0,te.Z)(window,"mouseup",ke,!1),Ye=(0,te.Z)(window,"mousemove",Ge,!1);try{window.top!==window.self&&(pe=(0,te.Z)(window.top,"mouseup",ke,!1),me=(0,te.Z)(window.top,"mousemove",Ge,!1))}catch(bt){(0,w.Kp)(!1,"[rc-image] ".concat(bt))}}return function(){var bt,Dt,jt,Kt;(bt=we)===null||bt===void 0||bt.remove(),(Dt=Ye)===null||Dt===void 0||Dt.remove(),(jt=pe)===null||jt===void 0||jt.remove(),(Kt=me)===null||Kt===void 0||Kt.remove()}},[Qe,tn,ut,Ze,nt,_e]),{isMoving:tn,onMouseDown:qe,onMouseMove:Ge,onMouseUp:ke,onWheel:ce}}function Re(je){return new Promise(function(_e){if(!je){_e(!1);return}var Qe=document.createElement("img");Qe.onerror=function(){return _e(!1)},Qe.onload=function(){return _e(!0)},Qe.src=je})}function dt(je){var _e=je.src,Qe=je.isCustomPlaceholder,Me=je.fallback,Pe=(0,H.useState)(Qe?"loading":"normal"),Le=(0,b.Z)(Pe,2),ht=Le[0],nt=Le[1],re=(0,H.useRef)(!1),ut=ht==="error";(0,H.useEffect)(function(){var tn=!0;return Re(_e).then(function(gt){!gt&&tn&&nt("error")}),function(){tn=!1}},[_e]),(0,H.useEffect)(function(){Qe&&!re.current?nt("loading"):ut&&nt("normal")},[_e]);var Ze=function(){nt("normal")},Se=function(gt){re.current=!1,ht==="loading"&&gt!==null&&gt!==void 0&&gt.complete&&(gt.naturalWidth||gt.naturalHeight)&&(re.current=!0,Ze())},St=ut&&Me?{src:Me}:{onLoad:Ze,src:_e};return[Se,St,ht]}function st(je,_e){var Qe=je.x-_e.x,Me=je.y-_e.y;return Math.hypot(Qe,Me)}function it(je,_e,Qe,Me){var Pe=st(je,Qe),Le=st(_e,Me);if(Pe===0&&Le===0)return[je.x,je.y];var ht=Pe/(Pe+Le),nt=je.x+ht*(_e.x-je.x),re=je.y+ht*(_e.y-je.y);return[nt,re]}function lt(je,_e,Qe,Me,Pe,Le,ht){var nt=Pe.rotate,re=Pe.scale,ut=Pe.x,Ze=Pe.y,Se=(0,H.useState)(!1),St=(0,b.Z)(Se,2),tn=St[0],gt=St[1],Xe=(0,H.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),qe=function(me){Xe.current=(0,y.Z)((0,y.Z)({},Xe.current),me)},Ge=function(me){if(_e){me.stopPropagation(),gt(!0);var we=me.touches,Ye=we===void 0?[]:we;Ye.length>1?qe({point1:{x:Ye[0].clientX,y:Ye[0].clientY},point2:{x:Ye[1].clientX,y:Ye[1].clientY},eventType:"touchZoom"}):qe({point1:{x:Ye[0].clientX-ut,y:Ye[0].clientY-Ze},eventType:"move"})}},ke=function(me){var we=me.touches,Ye=we===void 0?[]:we,bt=Xe.current,Dt=bt.point1,jt=bt.point2,Kt=bt.eventType;if(Ye.length>1&&Kt==="touchZoom"){var Ht={x:Ye[0].clientX,y:Ye[0].clientY},Ft={x:Ye[1].clientX,y:Ye[1].clientY},Gt=it(Dt,jt,Ht,Ft),Yt=(0,b.Z)(Gt,2),$t=Yt[0],bn=Yt[1],Jt=st(Ht,Ft)/st(Dt,jt);ht(Jt,"touchZoom",$t,bn,!0),qe({point1:Ht,point2:Ft,eventType:"touchZoom"})}else Kt==="move"&&(Le({x:Ye[0].clientX-Dt.x,y:Ye[0].clientY-Dt.y},"move"),qe({eventType:"move"}))},ce=function(){if(Qe){if(tn&&gt(!1),qe({eventType:"none"}),Me>re)return Le({x:0,y:0,scale:Me},"touchZoom");var me=je.current.offsetWidth*re,we=je.current.offsetHeight*re,Ye=je.current.getBoundingClientRect(),bt=Ye.left,Dt=Ye.top,jt=nt%180!==0,Kt=oe(jt?we:me,jt?me:we,bt,Dt);Kt&&Le((0,y.Z)({},Kt),"dragRebound")}};return(0,H.useEffect)(function(){var pe;return Qe&&_e&&(pe=(0,te.Z)(window,"touchmove",function(me){return me.preventDefault()},{passive:!1})),function(){var me;(me=pe)===null||me===void 0||me.remove()}},[Qe,_e]),{isTouching:tn,onTouchStart:Ge,onTouchMove:ke,onTouchEnd:ce}}var zt=["fallback","src","imgRef"],nn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Mt=function(_e){var Qe=_e.fallback,Me=_e.src,Pe=_e.imgRef,Le=(0,h.Z)(_e,zt),ht=dt({src:Me,fallback:Qe}),nt=(0,b.Z)(ht,2),re=nt[0],ut=nt[1];return H.createElement("img",(0,a.Z)({ref:function(Se){Pe.current=Se,re(Se)}},Le,ut))},en=function(_e){var Qe=_e.prefixCls,Me=_e.src,Pe=_e.alt,Le=_e.imageInfo,ht=_e.fallback,nt=_e.movable,re=nt===void 0?!0:nt,ut=_e.onClose,Ze=_e.visible,Se=_e.icons,St=Se===void 0?{}:Se,tn=_e.rootClassName,gt=_e.closeIcon,Xe=_e.getContainer,qe=_e.current,Ge=qe===void 0?0:qe,ke=_e.count,ce=ke===void 0?1:ke,pe=_e.countRender,me=_e.scaleStep,we=me===void 0?.5:me,Ye=_e.minScale,bt=Ye===void 0?1:Ye,Dt=_e.maxScale,jt=Dt===void 0?50:Dt,Kt=_e.transitionName,Ht=Kt===void 0?"zoom":Kt,Ft=_e.maskTransitionName,Gt=Ft===void 0?"fade":Ft,Yt=_e.imageRender,$t=_e.imgCommonProps,bn=_e.toolbarRender,Jt=_e.onTransform,un=_e.onChange,mn=(0,h.Z)(_e,nn),hn=(0,H.useRef)(),vn=(0,H.useContext)(ve),yn=vn&&ce>1,Gn=vn&&ce>=1,jn=(0,H.useState)(!0),It=(0,b.Z)(jn,2),Ct=It[0],Ut=It[1],xt=ae(hn,bt,jt,Jt),fn=xt.transform,cn=xt.resetTransform,ot=xt.updateTransform,D=xt.dispatchZoomChange,En=Fe(hn,re,Ze,we,fn,ot,D),Pn=En.isMoving,Qt=En.onMouseDown,An=En.onWheel,_n=lt(hn,re,Ze,bt,fn,ot,D),at=_n.isTouching,vt=_n.onTouchStart,be=_n.onTouchMove,wt=_n.onTouchEnd,sn=fn.rotate,Wt=fn.scale,dn=G()((0,T.Z)({},"".concat(Qe,"-moving"),Pn));(0,H.useEffect)(function(){Ct||Ut(!0)},[Ct]);var gn=function(){cn("close")},zn=function(){D(M+we,"zoomIn")},Dn=function(){D(M/(M+we),"zoomOut")},xn=function(){ot({rotate:sn+90},"rotateRight")},Ln=function(){ot({rotate:sn-90},"rotateLeft")},Vn=function(){ot({flipX:!fn.flipX},"flipX")},nr=function(){ot({flipY:!fn.flipY},"flipY")},hr=function(){cn("reset")},Kn=function(er){var $n=Ge+er;!Number.isInteger($n)||$n<0||$n>ce-1||(Ut(!1),cn(er<0?"prev":"next"),un==null||un($n,Ge))},Cn=function(er){!Ze||!yn||(er.keyCode===se.Z.LEFT?Kn(-1):er.keyCode===se.Z.RIGHT&&Kn(1))},rr=function(er){Ze&&(Wt!==1?ot({x:0,y:0,scale:1},"doubleClick"):D(M+we,"doubleClick",er.clientX,er.clientY))};(0,H.useEffect)(function(){var On=(0,te.Z)(window,"keydown",Cn,!1);return function(){On.remove()}},[Ze,yn,Ge]);var fr=H.createElement(Mt,(0,a.Z)({},$t,{width:_e.width,height:_e.height,imgRef:hn,className:"".concat(Qe,"-img"),alt:Pe,style:{transform:"translate3d(".concat(fn.x,"px, ").concat(fn.y,"px, 0) scale3d(").concat(fn.flipX?"-":"").concat(Wt,", ").concat(fn.flipY?"-":"").concat(Wt,", 1) rotate(").concat(sn,"deg)"),transitionDuration:(!Ct||at)&&"0s"},fallback:ht,src:Me,onWheel:An,onMouseDown:Qt,onDoubleClick:rr,onTouchStart:vt,onTouchMove:be,onTouchEnd:wt,onTouchCancel:wt})),Zn=(0,y.Z)({url:Me,alt:Pe},Le);return H.createElement(H.Fragment,null,H.createElement(le.Z,(0,a.Z)({transitionName:Ht,maskTransitionName:Gt,closable:!1,keyboard:!0,prefixCls:Qe,onClose:ut,visible:Ze,classNames:{wrapper:dn},rootClassName:tn,getContainer:Xe},mn,{afterClose:gn}),H.createElement("div",{className:"".concat(Qe,"-img-wrapper")},Yt?Yt(fr,(0,y.Z)({transform:fn,image:Zn},vn?{current:Ge}:{})):fr)),H.createElement(Z,{visible:Ze,transform:fn,maskTransitionName:Gt,closeIcon:gt,getContainer:Xe,prefixCls:Qe,rootClassName:tn,icons:St,countRender:pe,showSwitch:yn,showProgress:Gn,current:Ge,count:ce,scale:Wt,minScale:bt,maxScale:jt,toolbarRender:bn,onActive:Kn,onZoomIn:zn,onZoomOut:Dn,onRotateRight:xn,onRotateLeft:Ln,onFlipX:Vn,onFlipY:nr,onClose:ut,onReset:hr,zIndex:mn.zIndex!==void 0?mn.zIndex+1:void 0,image:Zn}))},rn=en,rt=o(80702),tt=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function Be(je){var _e=H.useState({}),Qe=(0,b.Z)(_e,2),Me=Qe[0],Pe=Qe[1],Le=H.useCallback(function(nt,re){return Pe(function(ut){return(0,y.Z)((0,y.Z)({},ut),{},(0,T.Z)({},nt,re))}),function(){Pe(function(ut){var Ze=(0,y.Z)({},ut);return delete Ze[nt],Ze})}},[]),ht=H.useMemo(function(){return je?je.map(function(nt){if(typeof nt=="string")return{data:{src:nt}};var re={};return Object.keys(nt).forEach(function(ut){["src"].concat((0,rt.Z)(tt)).includes(ut)&&(re[ut]=nt[ut])}),{data:re}}):Object.keys(Me).reduce(function(nt,re){var ut=Me[re],Ze=ut.canPreview,Se=ut.data;return Ze&&nt.push({data:Se,id:re}),nt},[])},[je,Me]);return[ht,Le,!!je]}var Oe=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ue=["src"],$e=function(_e){var Qe,Me=_e.previewPrefixCls,Pe=Me===void 0?"rc-image-preview":Me,Le=_e.children,ht=_e.icons,nt=ht===void 0?{}:ht,re=_e.items,ut=_e.preview,Ze=_e.fallback,Se=(0,_.Z)(ut)==="object"?ut:{},St=Se.visible,tn=Se.onVisibleChange,gt=Se.getContainer,Xe=Se.current,qe=Se.movable,Ge=Se.minScale,ke=Se.maxScale,ce=Se.countRender,pe=Se.closeIcon,me=Se.onChange,we=Se.onTransform,Ye=Se.toolbarRender,bt=Se.imageRender,Dt=(0,h.Z)(Se,Oe),jt=Be(re),Kt=(0,b.Z)(jt,3),Ht=Kt[0],Ft=Kt[1],Gt=Kt[2],Yt=(0,W.Z)(0,{value:Xe}),$t=(0,b.Z)(Yt,2),bn=$t[0],Jt=$t[1],un=(0,H.useState)(!1),mn=(0,b.Z)(un,2),hn=mn[0],vn=mn[1],yn=((Qe=Ht[bn])===null||Qe===void 0?void 0:Qe.data)||{},Gn=yn.src,jn=(0,h.Z)(yn,Ue),It=(0,W.Z)(!!St,{value:St,onChange:function(at,vt){tn==null||tn(at,vt,bn)}}),Ct=(0,b.Z)(It,2),Ut=Ct[0],xt=Ct[1],fn=(0,H.useState)(null),cn=(0,b.Z)(fn,2),ot=cn[0],D=cn[1],En=H.useCallback(function(_n,at,vt,be){var wt=Gt?Ht.findIndex(function(sn){return sn.data.src===at}):Ht.findIndex(function(sn){return sn.id===_n});Jt(wt<0?0:wt),xt(!0),D({x:vt,y:be}),vn(!0)},[Ht,Gt]);H.useEffect(function(){Ut?hn||Jt(0):vn(!1)},[Ut]);var Pn=function(at,vt){Jt(at),me==null||me(at,vt)},Qt=function(){xt(!1),D(null)},An=H.useMemo(function(){return{register:Ft,onPreview:En}},[Ft,En]);return H.createElement(ve.Provider,{value:An},Le,H.createElement(rn,(0,a.Z)({"aria-hidden":!Ut,movable:qe,visible:Ut,prefixCls:Pe,closeIcon:pe,onClose:Qt,mousePosition:ot,imgCommonProps:jn,src:Gn,fallback:Ze,icons:nt,minScale:Ge,maxScale:ke,getContainer:gt,current:bn,count:Ht.length,countRender:ce,onTransform:we,toolbarRender:Ye,imageRender:bt,onChange:Pn},Dt)))},ee=$e,ye=0;function Ne(je,_e){var Qe=H.useState(function(){return ye+=1,String(ye)}),Me=(0,b.Z)(Qe,1),Pe=Me[0],Le=H.useContext(ve),ht={data:_e,canPreview:je};return H.useEffect(function(){if(Le)return Le.register(Pe,ht)},[]),H.useEffect(function(){Le&&Le.register(Pe,ht)},[je,_e]),Pe}var Ie=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ze=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],He=function(_e){var Qe=_e.src,Me=_e.alt,Pe=_e.onPreviewClose,Le=_e.prefixCls,ht=Le===void 0?"rc-image":Le,nt=_e.previewPrefixCls,re=nt===void 0?"".concat(ht,"-preview"):nt,ut=_e.placeholder,Ze=_e.fallback,Se=_e.width,St=_e.height,tn=_e.style,gt=_e.preview,Xe=gt===void 0?!0:gt,qe=_e.className,Ge=_e.onClick,ke=_e.onError,ce=_e.wrapperClassName,pe=_e.wrapperStyle,me=_e.rootClassName,we=(0,h.Z)(_e,Ie),Ye=ut&&ut!==!0,bt=(0,_.Z)(Xe)==="object"?Xe:{},Dt=bt.src,jt=bt.visible,Kt=jt===void 0?void 0:jt,Ht=bt.onVisibleChange,Ft=Ht===void 0?Pe:Ht,Gt=bt.getContainer,Yt=Gt===void 0?void 0:Gt,$t=bt.mask,bn=bt.maskClassName,Jt=bt.movable,un=bt.icons,mn=bt.scaleStep,hn=bt.minScale,vn=bt.maxScale,yn=bt.imageRender,Gn=bt.toolbarRender,jn=(0,h.Z)(bt,ze),It=Dt!=null?Dt:Qe,Ct=(0,W.Z)(!!Kt,{value:Kt,onChange:Ft}),Ut=(0,b.Z)(Ct,2),xt=Ut[0],fn=Ut[1],cn=dt({src:Qe,isCustomPlaceholder:Ye,fallback:Ze}),ot=(0,b.Z)(cn,3),D=ot[0],En=ot[1],Pn=ot[2],Qt=(0,H.useState)(null),An=(0,b.Z)(Qt,2),_n=An[0],at=An[1],vt=(0,H.useContext)(ve),be=!!Xe,wt=function(){fn(!1),at(null)},sn=G()(ht,ce,me,(0,T.Z)({},"".concat(ht,"-error"),Pn==="error")),Wt=(0,H.useMemo)(function(){var Dn={};return tt.forEach(function(xn){_e[xn]!==void 0&&(Dn[xn]=_e[xn])}),Dn},tt.map(function(Dn){return _e[Dn]})),dn=(0,H.useMemo)(function(){return(0,y.Z)((0,y.Z)({},Wt),{},{src:It})},[It,Wt]),gn=Ne(be,dn),zn=function(xn){var Ln=B(xn.target),Vn=Ln.left,nr=Ln.top;vt?vt.onPreview(gn,It,Vn,nr):(at({x:Vn,y:nr}),fn(!0)),Ge==null||Ge(xn)};return H.createElement(H.Fragment,null,H.createElement("div",(0,a.Z)({},we,{className:sn,onClick:be?zn:Ge,style:(0,y.Z)({width:Se,height:St},pe)}),H.createElement("img",(0,a.Z)({},Wt,{className:G()("".concat(ht,"-img"),(0,T.Z)({},"".concat(ht,"-img-placeholder"),ut===!0),qe),style:(0,y.Z)({height:St},tn),ref:D},En,{width:Se,height:St,onError:ke})),Pn==="loading"&&H.createElement("div",{"aria-hidden":"true",className:"".concat(ht,"-placeholder")},ut),$t&&be&&H.createElement("div",{className:G()("".concat(ht,"-mask"),bn),style:{display:(tn==null?void 0:tn.display)==="none"?"none":void 0}},$t)),!vt&&be&&H.createElement(rn,(0,a.Z)({"aria-hidden":!xt,visible:xt,prefixCls:re,onClose:wt,mousePosition:_n,src:It,alt:Me,imageInfo:{width:Se,height:St},fallback:Ze,getContainer:Yt,icons:un,movable:Jt,scaleStep:mn,minScale:hn,maxScale:vn,rootClassName:me,imageRender:yn,imgCommonProps:Wt,toolbarRender:Gn},jn)))};He.PreviewGroup=ee;var Je=He,Ke=Je},66003:function(k,p,o){"use strict";o.d(p,{Z:function(){return j}});var a=o(74416),y=o(77321),T=o(62853),b=o(59301),_=["show"];function h(G,u){if(!u.max)return!0;var Q=u.strategy(G);return Q<=u.max}function j(G,u){return b.useMemo(function(){var Q={};u&&(Q.show=(0,T.Z)(u)==="object"&&u.formatter?u.formatter:!!u),Q=(0,y.Z)((0,y.Z)({},Q),G);var U=Q,v=U.show,I=(0,a.Z)(U,_);return(0,y.Z)((0,y.Z)({},I),{},{show:!!v,showFormatter:typeof v=="function"?v:void 0,strategy:I.strategy||function(C){return C.length}})},[G,u])}},36901:function(k,p,o){"use strict";o.r(p),o.d(p,{BaseInput:function(){return Q},default:function(){return F}});var a=o(77321),y=o(72308),T=o(49618),b=o(62853),_=o(92310),h=o.n(_),j=o(59301),G=o(30292),u=j.forwardRef(function(B,W){var H,le,te,se=B.inputElement,Ee=B.children,he=B.prefixCls,ve=B.prefix,J=B.suffix,Z=B.addonBefore,ie=B.addonAfter,ue=B.className,fe=B.style,ae=B.disabled,w=B.readOnly,L=B.focused,oe=B.triggerFocus,M=B.allowClear,De=B.value,Fe=B.handleReset,Re=B.hidden,dt=B.classes,st=B.classNames,it=B.dataAttrs,lt=B.styles,zt=B.components,nn=B.onClear,Mt=Ee!=null?Ee:se,en=(zt==null?void 0:zt.affixWrapper)||"span",rn=(zt==null?void 0:zt.groupWrapper)||"span",rt=(zt==null?void 0:zt.wrapper)||"span",tt=(zt==null?void 0:zt.groupAddon)||"span",Be=(0,j.useRef)(null),Oe=function(ht){var nt;(nt=Be.current)!==null&&nt!==void 0&&nt.contains(ht.target)&&(oe==null||oe())},Ue=(0,G.X3)(B),$e=(0,j.cloneElement)(Mt,{value:De,className:h()((H=Mt.props)===null||H===void 0?void 0:H.className,!Ue&&(st==null?void 0:st.variant))||null}),ee=(0,j.useRef)(null);if(j.useImperativeHandle(W,function(){return{nativeElement:ee.current||Be.current}}),Ue){var ye=null;if(M){var Ne=!ae&&!w&&De,Ie="".concat(he,"-clear-icon"),ze=(0,b.Z)(M)==="object"&&M!==null&&M!==void 0&&M.clearIcon?M.clearIcon:"\u2716";ye=j.createElement("button",{type:"button",tabIndex:-1,onClick:function(ht){Fe==null||Fe(ht),nn==null||nn()},onMouseDown:function(ht){return ht.preventDefault()},className:h()(Ie,(0,T.Z)((0,T.Z)({},"".concat(Ie,"-hidden"),!Ne),"".concat(Ie,"-has-suffix"),!!J))},ze)}var He="".concat(he,"-affix-wrapper"),Je=h()(He,(0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)((0,T.Z)({},"".concat(he,"-disabled"),ae),"".concat(He,"-disabled"),ae),"".concat(He,"-focused"),L),"".concat(He,"-readonly"),w),"".concat(He,"-input-with-clear-btn"),J&&M&&De),dt==null?void 0:dt.affixWrapper,st==null?void 0:st.affixWrapper,st==null?void 0:st.variant),Ke=(J||M)&&j.createElement("span",{className:h()("".concat(he,"-suffix"),st==null?void 0:st.suffix),style:lt==null?void 0:lt.suffix},ye,J);$e=j.createElement(en,(0,y.Z)({className:Je,style:lt==null?void 0:lt.affixWrapper,onClick:Oe},it==null?void 0:it.affixWrapper,{ref:Be}),ve&&j.createElement("span",{className:h()("".concat(he,"-prefix"),st==null?void 0:st.prefix),style:lt==null?void 0:lt.prefix},ve),$e,Ke)}if((0,G.He)(B)){var je="".concat(he,"-group"),_e="".concat(je,"-addon"),Qe="".concat(je,"-wrapper"),Me=h()("".concat(he,"-wrapper"),je,dt==null?void 0:dt.wrapper,st==null?void 0:st.wrapper),Pe=h()(Qe,(0,T.Z)({},"".concat(Qe,"-disabled"),ae),dt==null?void 0:dt.group,st==null?void 0:st.groupWrapper);$e=j.createElement(rn,{className:Pe,ref:ee},j.createElement(rt,{className:Me},Z&&j.createElement(tt,{className:_e},Z),$e,ie&&j.createElement(tt,{className:_e},ie)))}return j.cloneElement($e,{className:h()((le=$e.props)===null||le===void 0?void 0:le.className,ue)||null,style:(0,a.Z)((0,a.Z)({},(te=$e.props)===null||te===void 0?void 0:te.style),fe),hidden:Re})}),Q=u,U=o(80702),v=o(52487),I=o(74416),C=o(18929),P=o(2738),X=o(66003),V=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],z=(0,j.forwardRef)(function(B,W){var H=B.autoComplete,le=B.onChange,te=B.onFocus,se=B.onBlur,Ee=B.onPressEnter,he=B.onKeyDown,ve=B.onKeyUp,J=B.prefixCls,Z=J===void 0?"rc-input":J,ie=B.disabled,ue=B.htmlSize,fe=B.className,ae=B.maxLength,w=B.suffix,L=B.showCount,oe=B.count,M=B.type,De=M===void 0?"text":M,Fe=B.classes,Re=B.classNames,dt=B.styles,st=B.onCompositionStart,it=B.onCompositionEnd,lt=(0,I.Z)(B,V),zt=(0,j.useState)(!1),nn=(0,v.Z)(zt,2),Mt=nn[0],en=nn[1],rn=(0,j.useRef)(!1),rt=(0,j.useRef)(!1),tt=(0,j.useRef)(null),Be=(0,j.useRef)(null),Oe=function(Xe){tt.current&&(0,G.nH)(tt.current,Xe)},Ue=(0,C.Z)(B.defaultValue,{value:B.value}),$e=(0,v.Z)(Ue,2),ee=$e[0],ye=$e[1],Ne=ee==null?"":String(ee),Ie=(0,j.useState)(null),ze=(0,v.Z)(Ie,2),He=ze[0],Je=ze[1],Ke=(0,X.Z)(oe,L),je=Ke.max||ae,_e=Ke.strategy(Ne),Qe=!!je&&_e>je;(0,j.useImperativeHandle)(W,function(){var gt;return{focus:Oe,blur:function(){var qe;(qe=tt.current)===null||qe===void 0||qe.blur()},setSelectionRange:function(qe,Ge,ke){var ce;(ce=tt.current)===null||ce===void 0||ce.setSelectionRange(qe,Ge,ke)},select:function(){var qe;(qe=tt.current)===null||qe===void 0||qe.select()},input:tt.current,nativeElement:((gt=Be.current)===null||gt===void 0?void 0:gt.nativeElement)||tt.current}}),(0,j.useEffect)(function(){rt.current&&(rt.current=!1),en(function(gt){return gt&&ie?!1:gt})},[ie]);var Me=function(Xe,qe,Ge){var ke=qe;if(!rn.current&&Ke.exceedFormatter&&Ke.max&&Ke.strategy(qe)>Ke.max){if(ke=Ke.exceedFormatter(qe,{max:Ke.max}),qe!==ke){var ce,pe;Je([((ce=tt.current)===null||ce===void 0?void 0:ce.selectionStart)||0,((pe=tt.current)===null||pe===void 0?void 0:pe.selectionEnd)||0])}}else if(Ge.source==="compositionEnd")return;ye(ke),tt.current&&(0,G.rJ)(tt.current,Xe,le,ke)};(0,j.useEffect)(function(){if(He){var gt;(gt=tt.current)===null||gt===void 0||gt.setSelectionRange.apply(gt,(0,U.Z)(He))}},[He]);var Pe=function(Xe){Me(Xe,Xe.target.value,{source:"change"})},Le=function(Xe){rn.current=!1,Me(Xe,Xe.currentTarget.value,{source:"compositionEnd"}),it==null||it(Xe)},ht=function(Xe){Ee&&Xe.key==="Enter"&&!rt.current&&(rt.current=!0,Ee(Xe)),he==null||he(Xe)},nt=function(Xe){Xe.key==="Enter"&&(rt.current=!1),ve==null||ve(Xe)},re=function(Xe){en(!0),te==null||te(Xe)},ut=function(Xe){rt.current&&(rt.current=!1),en(!1),se==null||se(Xe)},Ze=function(Xe){ye(""),Oe(),tt.current&&(0,G.rJ)(tt.current,Xe,le)},Se=Qe&&"".concat(Z,"-out-of-range"),St=function(){var Xe=(0,P.Z)(B,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return j.createElement("input",(0,y.Z)({autoComplete:H},Xe,{onChange:Pe,onFocus:re,onBlur:ut,onKeyDown:ht,onKeyUp:nt,className:h()(Z,(0,T.Z)({},"".concat(Z,"-disabled"),ie),Re==null?void 0:Re.input),style:dt==null?void 0:dt.input,ref:tt,size:ue,type:De,onCompositionStart:function(Ge){rn.current=!0,st==null||st(Ge)},onCompositionEnd:Le}))},tn=function(){var Xe=Number(je)>0;if(w||Ke.show){var qe=Ke.showFormatter?Ke.showFormatter({value:Ne,count:_e,maxLength:je}):"".concat(_e).concat(Xe?" / ".concat(je):"");return j.createElement(j.Fragment,null,Ke.show&&j.createElement("span",{className:h()("".concat(Z,"-show-count-suffix"),(0,T.Z)({},"".concat(Z,"-show-count-has-suffix"),!!w),Re==null?void 0:Re.count),style:(0,a.Z)({},dt==null?void 0:dt.count)},qe),w)}return null};return j.createElement(Q,(0,y.Z)({},lt,{prefixCls:Z,className:h()(fe,Se),handleReset:Ze,value:Ne,focused:Mt,triggerFocus:Oe,suffix:tn(),disabled:ie,classes:Fe,classNames:Re,styles:dt}),St())}),N=z,F=N},30292:function(k,p,o){"use strict";o.d(p,{He:function(){return a},X3:function(){return y},nH:function(){return _},rJ:function(){return b}});function a(h){return!!(h.addonBefore||h.addonAfter)}function y(h){return!!(h.prefix||h.suffix||h.allowClear)}function T(h,j,G){var u=j.cloneNode(!0),Q=Object.create(h,{target:{value:u},currentTarget:{value:u}});return u.value=G,typeof j.selectionStart=="number"&&typeof j.selectionEnd=="number"&&(u.selectionStart=j.selectionStart,u.selectionEnd=j.selectionEnd),u.setSelectionRange=function(){j.setSelectionRange.apply(j,arguments)},Q}function b(h,j,G,u){if(G){var Q=j;if(j.type==="click"){Q=T(j,h,""),G(Q);return}if(h.type!=="file"&&u!==void 0){Q=T(j,h,u),G(Q);return}G(Q)}}function _(h,j){if(h){h.focus(j);var G=j||{},u=G.cursor;if(u){var Q=h.value.length;switch(u){case"start":h.setSelectionRange(0,0);break;case"end":h.setSelectionRange(Q,Q);break;default:h.setSelectionRange(0,Q)}}}}},28321:function(k,p,o){"use strict";o.d(p,{iz:function(){return jn},ck:function(){return ke},BW:function(){return xt},sN:function(){return ke},Wd:function(){return yn},ZP:function(){return _n},Xl:function(){return Ee}});var a=o(72308),y=o(49618),T=o(77321),b=o(80702),_=o(52487),h=o(74416),j=o(92310),G=o.n(j),u=o(11780),Q=o(18929),U=o(13697),v=o(48736),I=o(59301),C=o(4676),P=I.createContext(null);function X(at,vt){return at===void 0?null:"".concat(at,"-").concat(vt)}function V(at){var vt=I.useContext(P);return X(vt,at)}var z=o(80547),N=["children","locked"],F=I.createContext(null);function B(at,vt){var be=(0,T.Z)({},at);return Object.keys(vt).forEach(function(wt){var sn=vt[wt];sn!==void 0&&(be[wt]=sn)}),be}function W(at){var vt=at.children,be=at.locked,wt=(0,h.Z)(at,N),sn=I.useContext(F),Wt=(0,z.Z)(function(){return B(sn,wt)},[sn,wt],function(dn,gn){return!be&&(dn[0]!==gn[0]||!(0,U.Z)(dn[1],gn[1],!0))});return I.createElement(F.Provider,{value:Wt},vt)}var H=[],le=I.createContext(null);function te(){return I.useContext(le)}var se=I.createContext(H);function Ee(at){var vt=I.useContext(se);return I.useMemo(function(){return at!==void 0?[].concat((0,b.Z)(vt),[at]):vt},[vt,at])}var he=I.createContext(null),ve=I.createContext({}),J=ve,Z=o(29194);function ie(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Z.Z)(at)){var be=at.nodeName.toLowerCase(),wt=["input","select","textarea","button"].includes(be)||at.isContentEditable||be==="a"&&!!at.getAttribute("href"),sn=at.getAttribute("tabindex"),Wt=Number(sn),dn=null;return sn&&!Number.isNaN(Wt)?dn=Wt:wt&&dn===null&&(dn=0),wt&&at.disabled&&(dn=null),dn!==null&&(dn>=0||vt&&dn<0)}return!1}function ue(at){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,be=(0,b.Z)(at.querySelectorAll("*")).filter(function(wt){return ie(wt,vt)});return ie(at,vt)&&be.unshift(at),be}var fe=null;function ae(){fe=document.activeElement}function w(){fe=null}function L(){if(fe)try{fe.focus()}catch(at){}}function oe(at,vt){if(vt.keyCode===9){var be=ue(at),wt=be[vt.shiftKey?0:be.length-1],sn=wt===document.activeElement||at===document.activeElement;if(sn){var Wt=be[vt.shiftKey?be.length-1:0];Wt.focus(),vt.preventDefault()}}}var M=o(10228),De=o(16089),Fe=M.Z.LEFT,Re=M.Z.RIGHT,dt=M.Z.UP,st=M.Z.DOWN,it=M.Z.ENTER,lt=M.Z.ESC,zt=M.Z.HOME,nn=M.Z.END,Mt=[dt,st,Fe,Re];function en(at,vt,be,wt){var sn,Wt="prev",dn="next",gn="children",zn="parent";if(at==="inline"&&wt===it)return{inlineTrigger:!0};var Dn=(0,y.Z)((0,y.Z)({},dt,Wt),st,dn),xn=(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},Fe,be?dn:Wt),Re,be?Wt:dn),st,gn),it,gn),Ln=(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},dt,Wt),st,dn),it,gn),lt,zn),Fe,be?gn:zn),Re,be?zn:gn),Vn={inline:Dn,horizontal:xn,vertical:Ln,inlineSub:Dn,horizontalSub:Ln,verticalSub:Ln},nr=(sn=Vn["".concat(at).concat(vt?"":"Sub")])===null||sn===void 0?void 0:sn[wt];switch(nr){case Wt:return{offset:-1,sibling:!0};case dn:return{offset:1,sibling:!0};case zn:return{offset:-1,sibling:!1};case gn:return{offset:1,sibling:!1};default:return null}}function rn(at){for(var vt=at;vt;){if(vt.getAttribute("data-menu-list"))return vt;vt=vt.parentElement}return null}function rt(at,vt){for(var be=at||document.activeElement;be;){if(vt.has(be))return be;be=be.parentElement}return null}function tt(at,vt){var be=ue(at,!0);return be.filter(function(wt){return vt.has(wt)})}function Be(at,vt,be){var wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!at)return null;var sn=tt(at,vt),Wt=sn.length,dn=sn.findIndex(function(gn){return be===gn});return wt<0?dn===-1?dn=Wt-1:dn-=1:wt>0&&(dn+=1),dn=(dn+Wt)%Wt,sn[dn]}var Oe=function(vt,be){var wt=new Set,sn=new Map,Wt=new Map;return vt.forEach(function(dn){var gn=document.querySelector("[data-menu-id='".concat(X(be,dn),"']"));gn&&(wt.add(gn),Wt.set(gn,dn),sn.set(dn,gn))}),{elements:wt,key2element:sn,element2key:Wt}};function Ue(at,vt,be,wt,sn,Wt,dn,gn,zn,Dn){var xn=I.useRef(),Ln=I.useRef();Ln.current=vt;var Vn=function(){De.Z.cancel(xn.current)};return I.useEffect(function(){return function(){Vn()}},[]),function(nr){var hr=nr.which;if([].concat(Mt,[it,lt,zt,nn]).includes(hr)){var Kn=Wt(),Cn=Oe(Kn,wt),rr=Cn,fr=rr.elements,Zn=rr.key2element,On=rr.element2key,er=Zn.get(vt),$n=rt(er,fr),vr=On.get($n),Yn=en(at,dn(vr,!0).length===1,be,hr);if(!Yn&&hr!==zt&&hr!==nn)return;(Mt.includes(hr)||[zt,nn].includes(hr))&&nr.preventDefault();var ir=function(Nr){if(Nr){var fi=Nr,Lr=Nr.querySelector("a");Lr!=null&&Lr.getAttribute("href")&&(fi=Lr);var wi=On.get(Nr);gn(wi),Vn(),xn.current=(0,De.Z)(function(){Ln.current===wi&&fi.focus()})}};if([zt,nn].includes(hr)||Yn.sibling||!$n){var Sr;!$n||at==="inline"?Sr=sn.current:Sr=rn($n);var Bn,Hn=tt(Sr,fr);hr===zt?Bn=Hn[0]:hr===nn?Bn=Hn[Hn.length-1]:Bn=Be(Sr,fr,$n,Yn.offset),ir(Bn)}else if(Yn.inlineTrigger)zn(vr);else if(Yn.offset>0)zn(vr,!0),Vn(),xn.current=(0,De.Z)(function(){Cn=Oe(Kn,wt);var si=$n.getAttribute("aria-controls"),Nr=document.getElementById(si),fi=Be(Nr,Cn.elements);ir(fi)},5);else if(Yn.offset<0){var kr=dn(vr,!0),Ir=kr[kr.length-2],Dr=Zn.get(Ir);zn(Ir,!1),ir(Dr)}}Dn==null||Dn(nr)}}function $e(at){Promise.resolve().then(at)}var ee="__RC_UTIL_PATH_SPLIT__",ye=function(vt){return vt.join(ee)},Ne=function(vt){return vt.split(ee)},Ie="rc-menu-more";function ze(){var at=I.useState({}),vt=(0,_.Z)(at,2),be=vt[1],wt=(0,I.useRef)(new Map),sn=(0,I.useRef)(new Map),Wt=I.useState([]),dn=(0,_.Z)(Wt,2),gn=dn[0],zn=dn[1],Dn=(0,I.useRef)(0),xn=(0,I.useRef)(!1),Ln=function(){xn.current||be({})},Vn=(0,I.useCallback)(function(Zn,On){var er=ye(On);sn.current.set(er,Zn),wt.current.set(Zn,er),Dn.current+=1;var $n=Dn.current;$e(function(){$n===Dn.current&&Ln()})},[]),nr=(0,I.useCallback)(function(Zn,On){var er=ye(On);sn.current.delete(er),wt.current.delete(Zn)},[]),hr=(0,I.useCallback)(function(Zn){zn(Zn)},[]),Kn=(0,I.useCallback)(function(Zn,On){var er=wt.current.get(Zn)||"",$n=Ne(er);return On&&gn.includes($n[0])&&$n.unshift(Ie),$n},[gn]),Cn=(0,I.useCallback)(function(Zn,On){return Zn.filter(function(er){return er!==void 0}).some(function(er){var $n=Kn(er,!0);return $n.includes(On)})},[Kn]),rr=function(){var On=(0,b.Z)(wt.current.keys());return gn.length&&On.push(Ie),On},fr=(0,I.useCallback)(function(Zn){var On="".concat(wt.current.get(Zn)).concat(ee),er=new Set;return(0,b.Z)(sn.current.keys()).forEach(function($n){$n.startsWith(On)&&er.add(sn.current.get($n))}),er},[]);return I.useEffect(function(){return function(){xn.current=!0}},[]),{registerPath:Vn,unregisterPath:nr,refreshOverflowKeys:hr,isSubPathKey:Cn,getKeyPath:Kn,getKeys:rr,getSubPathKeys:fr}}function He(at){var vt=I.useRef(at);vt.current=at;var be=I.useCallback(function(){for(var wt,sn=arguments.length,Wt=new Array(sn),dn=0;dn<sn;dn++)Wt[dn]=arguments[dn];return(wt=vt.current)===null||wt===void 0?void 0:wt.call.apply(wt,[vt].concat(Wt))},[]);return at?be:void 0}var Je=Math.random().toFixed(5).toString().slice(2),Ke=0;function je(at){var vt=(0,Q.Z)(at,{value:at}),be=(0,_.Z)(vt,2),wt=be[0],sn=be[1];return I.useEffect(function(){Ke+=1;var Wt="".concat(Je,"-").concat(Ke);sn("rc-menu-uuid-".concat(Wt))},[]),wt}var _e=o(96949),Qe=o(55090),Me=o(77205),Pe=o(38793),Le=o(2738),ht=o(8654);function nt(at,vt,be,wt){var sn=I.useContext(F),Wt=sn.activeKey,dn=sn.onActive,gn=sn.onInactive,zn={active:Wt===at};return vt||(zn.onMouseEnter=function(Dn){be==null||be({key:at,domEvent:Dn}),dn(at)},zn.onMouseLeave=function(Dn){wt==null||wt({key:at,domEvent:Dn}),gn(at)}),zn}function re(at){var vt=I.useContext(F),be=vt.mode,wt=vt.rtl,sn=vt.inlineIndent;if(be!=="inline")return null;var Wt=at;return wt?{paddingRight:Wt*sn}:{paddingLeft:Wt*sn}}function ut(at){var vt=at.icon,be=at.props,wt=at.children,sn;return vt===null||vt===!1?null:(typeof vt=="function"?sn=I.createElement(vt,(0,T.Z)({},be)):typeof vt!="boolean"&&(sn=vt),sn||wt||null)}var Ze=["item"];function Se(at){var vt=at.item,be=(0,h.Z)(at,Ze);return Object.defineProperty(be,"item",{get:function(){return(0,v.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),vt}}),be}var St=["title","attribute","elementRef"],tn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],gt=["active"],Xe=function(at){(0,Me.Z)(be,at);var vt=(0,Pe.Z)(be);function be(){return(0,_e.Z)(this,be),vt.apply(this,arguments)}return(0,Qe.Z)(be,[{key:"render",value:function(){var sn=this.props,Wt=sn.title,dn=sn.attribute,gn=sn.elementRef,zn=(0,h.Z)(sn,St),Dn=(0,Le.Z)(zn,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,v.ZP)(!dn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),I.createElement(u.Z.Item,(0,a.Z)({},dn,{title:typeof Wt=="string"?Wt:void 0},Dn,{ref:gn}))}}]),be}(I.Component),qe=I.forwardRef(function(at,vt){var be=at.style,wt=at.className,sn=at.eventKey,Wt=at.warnKey,dn=at.disabled,gn=at.itemIcon,zn=at.children,Dn=at.role,xn=at.onMouseEnter,Ln=at.onMouseLeave,Vn=at.onClick,nr=at.onKeyDown,hr=at.onFocus,Kn=(0,h.Z)(at,tn),Cn=V(sn),rr=I.useContext(F),fr=rr.prefixCls,Zn=rr.onItemClick,On=rr.disabled,er=rr.overflowDisabled,$n=rr.itemIcon,vr=rr.selectedKeys,Yn=rr.onActive,ir=I.useContext(J),Sr=ir._internalRenderMenuItem,Bn="".concat(fr,"-item"),Hn=I.useRef(),kr=I.useRef(),Ir=On||dn,Dr=(0,ht.x1)(vt,kr),si=Ee(sn),Nr=function(wr){return{key:sn,keyPath:(0,b.Z)(si).reverse(),item:Hn.current,domEvent:wr}},fi=gn||$n,Lr=nt(sn,Ir,xn,Ln),wi=Lr.active,ji=(0,h.Z)(Lr,gt),vi=vr.includes(sn),Ai=re(si.length),Di=function(wr){if(!Ir){var Ni=Nr(wr);Vn==null||Vn(Se(Ni)),Zn(Ni)}},ti=function(wr){if(nr==null||nr(wr),wr.which===M.Z.ENTER){var Ni=Nr(wr);Vn==null||Vn(Se(Ni)),Zn(Ni)}},Qr=function(wr){Yn(sn),hr==null||hr(wr)},xi={};at.role==="option"&&(xi["aria-selected"]=vi);var zi=I.createElement(Xe,(0,a.Z)({ref:Hn,elementRef:Dr,role:Dn===null?"none":Dn||"menuitem",tabIndex:dn?null:-1,"data-menu-id":er&&Cn?null:Cn},(0,Le.Z)(Kn,["extra"]),ji,xi,{component:"li","aria-disabled":dn,style:(0,T.Z)((0,T.Z)({},Ai),be),className:G()(Bn,(0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(Bn,"-active"),wi),"".concat(Bn,"-selected"),vi),"".concat(Bn,"-disabled"),Ir),wt),onClick:Di,onKeyDown:ti,onFocus:Qr}),zn,I.createElement(ut,{props:(0,T.Z)((0,T.Z)({},at),{},{isSelected:vi}),icon:fi}));return Sr&&(zi=Sr(zi,at,{selected:vi})),zi});function Ge(at,vt){var be=at.eventKey,wt=te(),sn=Ee(be);return I.useEffect(function(){if(wt)return wt.registerPath(be,sn),function(){wt.unregisterPath(be,sn)}},[sn]),wt?null:I.createElement(qe,(0,a.Z)({},at,{ref:vt}))}var ke=I.forwardRef(Ge),ce=["className","children"],pe=function(vt,be){var wt=vt.className,sn=vt.children,Wt=(0,h.Z)(vt,ce),dn=I.useContext(F),gn=dn.prefixCls,zn=dn.mode,Dn=dn.rtl;return I.createElement("ul",(0,a.Z)({className:G()(gn,Dn&&"".concat(gn,"-rtl"),"".concat(gn,"-sub"),"".concat(gn,"-").concat(zn==="inline"?"inline":"vertical"),wt),role:"menu"},Wt,{"data-menu-list":!0,ref:be}),sn)},me=I.forwardRef(pe);me.displayName="SubMenuList";var we=me,Ye=o(11592);function bt(at,vt){return(0,Ye.Z)(at).map(function(be,wt){if(I.isValidElement(be)){var sn,Wt,dn=be.key,gn=(sn=(Wt=be.props)===null||Wt===void 0?void 0:Wt.eventKey)!==null&&sn!==void 0?sn:dn,zn=gn==null;zn&&(gn="tmp_key-".concat([].concat((0,b.Z)(vt),[wt]).join("-")));var Dn={key:gn,eventKey:gn};return I.cloneElement(be,Dn)}return be})}var Dt=o(65352),jt={adjustX:1,adjustY:1},Kt={topLeft:{points:["bl","tl"],overflow:jt},topRight:{points:["br","tr"],overflow:jt},bottomLeft:{points:["tl","bl"],overflow:jt},bottomRight:{points:["tr","br"],overflow:jt},leftTop:{points:["tr","tl"],overflow:jt},leftBottom:{points:["br","bl"],overflow:jt},rightTop:{points:["tl","tr"],overflow:jt},rightBottom:{points:["bl","br"],overflow:jt}},Ht={topLeft:{points:["bl","tl"],overflow:jt},topRight:{points:["br","tr"],overflow:jt},bottomLeft:{points:["tl","bl"],overflow:jt},bottomRight:{points:["tr","br"],overflow:jt},rightTop:{points:["tr","tl"],overflow:jt},rightBottom:{points:["br","bl"],overflow:jt},leftTop:{points:["tl","tr"],overflow:jt},leftBottom:{points:["bl","br"],overflow:jt}},Ft=null;function Gt(at,vt,be){if(vt)return vt;if(be)return be[at]||be.other}var Yt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function $t(at){var vt=at.prefixCls,be=at.visible,wt=at.children,sn=at.popup,Wt=at.popupStyle,dn=at.popupClassName,gn=at.popupOffset,zn=at.disabled,Dn=at.mode,xn=at.onVisibleChange,Ln=I.useContext(F),Vn=Ln.getPopupContainer,nr=Ln.rtl,hr=Ln.subMenuOpenDelay,Kn=Ln.subMenuCloseDelay,Cn=Ln.builtinPlacements,rr=Ln.triggerSubMenuAction,fr=Ln.forceSubMenuRender,Zn=Ln.rootClassName,On=Ln.motion,er=Ln.defaultMotions,$n=I.useState(!1),vr=(0,_.Z)($n,2),Yn=vr[0],ir=vr[1],Sr=nr?(0,T.Z)((0,T.Z)({},Ht),Cn):(0,T.Z)((0,T.Z)({},Kt),Cn),Bn=Yt[Dn],Hn=Gt(Dn,On,er),kr=I.useRef(Hn);Dn!=="inline"&&(kr.current=Hn);var Ir=(0,T.Z)((0,T.Z)({},kr.current),{},{leavedClassName:"".concat(vt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Dr=I.useRef();return I.useEffect(function(){return Dr.current=(0,De.Z)(function(){ir(be)}),function(){De.Z.cancel(Dr.current)}},[be]),I.createElement(Dt.Z,{prefixCls:vt,popupClassName:G()("".concat(vt,"-popup"),(0,y.Z)({},"".concat(vt,"-rtl"),nr),dn,Zn),stretch:Dn==="horizontal"?"minWidth":null,getPopupContainer:Vn,builtinPlacements:Sr,popupPlacement:Bn,popupVisible:Yn,popup:sn,popupStyle:Wt,popupAlign:gn&&{offset:gn},action:zn?[]:[rr],mouseEnterDelay:hr,mouseLeaveDelay:Kn,onPopupVisibleChange:xn,forceRender:fr,popupMotion:Ir,fresh:!0},wt)}var bn=o(77900);function Jt(at){var vt=at.id,be=at.open,wt=at.keyPath,sn=at.children,Wt="inline",dn=I.useContext(F),gn=dn.prefixCls,zn=dn.forceSubMenuRender,Dn=dn.motion,xn=dn.defaultMotions,Ln=dn.mode,Vn=I.useRef(!1);Vn.current=Ln===Wt;var nr=I.useState(!Vn.current),hr=(0,_.Z)(nr,2),Kn=hr[0],Cn=hr[1],rr=Vn.current?be:!1;I.useEffect(function(){Vn.current&&Cn(!1)},[Ln]);var fr=(0,T.Z)({},Gt(Wt,Dn,xn));wt.length>1&&(fr.motionAppear=!1);var Zn=fr.onVisibleChanged;return fr.onVisibleChanged=function(On){return!Vn.current&&!On&&Cn(!0),Zn==null?void 0:Zn(On)},Kn?null:I.createElement(W,{mode:Wt,locked:!Vn.current},I.createElement(bn.default,(0,a.Z)({visible:rr},fr,{forceRender:zn,removeOnLeave:!1,leavedClassName:"".concat(gn,"-hidden")}),function(On){var er=On.className,$n=On.style;return I.createElement(we,{id:vt,className:er,style:$n},sn)}))}var un=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],mn=["active"],hn=I.forwardRef(function(at,vt){var be=at.style,wt=at.className,sn=at.title,Wt=at.eventKey,dn=at.warnKey,gn=at.disabled,zn=at.internalPopupClose,Dn=at.children,xn=at.itemIcon,Ln=at.expandIcon,Vn=at.popupClassName,nr=at.popupOffset,hr=at.popupStyle,Kn=at.onClick,Cn=at.onMouseEnter,rr=at.onMouseLeave,fr=at.onTitleClick,Zn=at.onTitleMouseEnter,On=at.onTitleMouseLeave,er=(0,h.Z)(at,un),$n=V(Wt),vr=I.useContext(F),Yn=vr.prefixCls,ir=vr.mode,Sr=vr.openKeys,Bn=vr.disabled,Hn=vr.overflowDisabled,kr=vr.activeKey,Ir=vr.selectedKeys,Dr=vr.itemIcon,si=vr.expandIcon,Nr=vr.onItemClick,fi=vr.onOpenChange,Lr=vr.onActive,wi=I.useContext(J),ji=wi._internalRenderSubMenuItem,vi=I.useContext(he),Ai=vi.isSubPathKey,Di=Ee(),ti="".concat(Yn,"-submenu"),Qr=Bn||gn,xi=I.useRef(),zi=I.useRef(),Mi=xn!=null?xn:Dr,wr=Ln!=null?Ln:si,Ni=Sr.includes(Wt),hi=!Hn&&Ni,Ei=Ai(Ir,Wt),pi=nt(Wt,Qr,Zn,On),Xn=pi.active,ki=(0,h.Z)(pi,mn),Pi=I.useState(!1),Hi=(0,_.Z)(Pi,2),Gi=Hi[0],Xi=Hi[1],Yi=function(Zr){Qr||Xi(Zr)},Qi=function(Zr){Yi(!0),Cn==null||Cn({key:Wt,domEvent:Zr})},Rr=function(Zr){Yi(!1),rr==null||rr({key:Wt,domEvent:Zr})},ft=I.useMemo(function(){return Xn||(ir!=="inline"?Gi||Ai([kr],Wt):!1)},[ir,Xn,kr,Gi,Wt,Ai]),Fi=re(Di.length),aa=function(Zr){Qr||(fr==null||fr({key:Wt,domEvent:Zr}),ir==="inline"&&fi(Wt,!Ni))},ta=He(function(Yr){Kn==null||Kn(Se(Yr)),Nr(Yr)}),$i=function(Zr){ir!=="inline"&&fi(Wt,Zr)},Ji=function(){Lr(Wt)},Li=$n&&"".concat($n,"-popup"),Bi=I.useMemo(function(){return I.createElement(ut,{icon:ir!=="horizontal"?wr:void 0,props:(0,T.Z)((0,T.Z)({},at),{},{isOpen:hi,isSubMenu:!0})},I.createElement("i",{className:"".concat(ti,"-arrow")}))},[ir,wr,at,hi,ti]),gi=I.createElement("div",(0,a.Z)({role:"menuitem",style:Fi,className:"".concat(ti,"-title"),tabIndex:Qr?null:-1,ref:xi,title:typeof sn=="string"?sn:null,"data-menu-id":Hn&&$n?null:$n,"aria-expanded":hi,"aria-haspopup":!0,"aria-controls":Li,"aria-disabled":Qr,onClick:aa,onFocus:Ji},ki),sn,Bi),bi=I.useRef(ir);if(ir!=="inline"&&Di.length>1?bi.current="vertical":bi.current=ir,!Hn){var Jr=bi.current;gi=I.createElement($t,{mode:Jr,prefixCls:ti,visible:!zn&&hi&&ir!=="inline",popupClassName:Vn,popupOffset:nr,popupStyle:hr,popup:I.createElement(W,{mode:Jr==="horizontal"?"vertical":Jr},I.createElement(we,{id:Li,ref:zi},Dn)),disabled:Qr,onVisibleChange:$i},gi)}var Ui=I.createElement(u.Z.Item,(0,a.Z)({ref:vt,role:"none"},er,{component:"li",style:be,className:G()(ti,"".concat(ti,"-").concat(ir),wt,(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(ti,"-open"),hi),"".concat(ti,"-active"),ft),"".concat(ti,"-selected"),Ei),"".concat(ti,"-disabled"),Qr)),onMouseEnter:Qi,onMouseLeave:Rr}),gi,!Hn&&I.createElement(Jt,{id:Li,open:hi,keyPath:Di},Dn));return ji&&(Ui=ji(Ui,at,{selected:Ei,active:ft,open:hi,disabled:Qr})),I.createElement(W,{onItemClick:ta,mode:ir==="horizontal"?"vertical":ir,itemIcon:Mi,expandIcon:wr},Ui)}),vn=I.forwardRef(function(at,vt){var be=at.eventKey,wt=at.children,sn=Ee(be),Wt=bt(wt,sn),dn=te();I.useEffect(function(){if(dn)return dn.registerPath(be,sn),function(){dn.unregisterPath(be,sn)}},[sn]);var gn;return dn?gn=Wt:gn=I.createElement(hn,(0,a.Z)({ref:vt},at),Wt),I.createElement(se.Provider,{value:sn},gn)}),yn=vn,Gn=o(62853);function jn(at){var vt=at.className,be=at.style,wt=I.useContext(F),sn=wt.prefixCls,Wt=te();return Wt?null:I.createElement("li",{role:"separator",className:G()("".concat(sn,"-item-divider"),vt),style:be})}var It=["className","title","eventKey","children"],Ct=I.forwardRef(function(at,vt){var be=at.className,wt=at.title,sn=at.eventKey,Wt=at.children,dn=(0,h.Z)(at,It),gn=I.useContext(F),zn=gn.prefixCls,Dn="".concat(zn,"-item-group");return I.createElement("li",(0,a.Z)({ref:vt,role:"presentation"},dn,{onClick:function(Ln){return Ln.stopPropagation()},className:G()(Dn,be)}),I.createElement("div",{role:"presentation",className:"".concat(Dn,"-title"),title:typeof wt=="string"?wt:void 0},wt),I.createElement("ul",{role:"group",className:"".concat(Dn,"-list")},Wt))}),Ut=I.forwardRef(function(at,vt){var be=at.eventKey,wt=at.children,sn=Ee(be),Wt=bt(wt,sn),dn=te();return dn?Wt:I.createElement(Ct,(0,a.Z)({ref:vt},(0,Le.Z)(at,["warnKey"])),Wt)}),xt=Ut,fn=["label","children","key","type","extra"];function cn(at,vt,be){var wt=vt.item,sn=vt.group,Wt=vt.submenu,dn=vt.divider;return(at||[]).map(function(gn,zn){if(gn&&(0,Gn.Z)(gn)==="object"){var Dn=gn,xn=Dn.label,Ln=Dn.children,Vn=Dn.key,nr=Dn.type,hr=Dn.extra,Kn=(0,h.Z)(Dn,fn),Cn=Vn!=null?Vn:"tmp-".concat(zn);return Ln||nr==="group"?nr==="group"?I.createElement(sn,(0,a.Z)({key:Cn},Kn,{title:xn}),cn(Ln,vt,be)):I.createElement(Wt,(0,a.Z)({key:Cn},Kn,{title:xn}),cn(Ln,vt,be)):nr==="divider"?I.createElement(dn,(0,a.Z)({key:Cn},Kn)):I.createElement(wt,(0,a.Z)({key:Cn},Kn,{extra:hr}),xn,(!!hr||hr===0)&&I.createElement("span",{className:"".concat(be,"-item-extra")},hr))}return null}).filter(function(gn){return gn})}function ot(at,vt,be,wt,sn){var Wt=at,dn=(0,T.Z)({divider:jn,item:ke,group:xt,submenu:yn},wt);return vt&&(Wt=cn(vt,dn,sn)),bt(Wt,be)}var D=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],En=[],Pn=I.forwardRef(function(at,vt){var be,wt=at,sn=wt.prefixCls,Wt=sn===void 0?"rc-menu":sn,dn=wt.rootClassName,gn=wt.style,zn=wt.className,Dn=wt.tabIndex,xn=Dn===void 0?0:Dn,Ln=wt.items,Vn=wt.children,nr=wt.direction,hr=wt.id,Kn=wt.mode,Cn=Kn===void 0?"vertical":Kn,rr=wt.inlineCollapsed,fr=wt.disabled,Zn=wt.disabledOverflow,On=wt.subMenuOpenDelay,er=On===void 0?.1:On,$n=wt.subMenuCloseDelay,vr=$n===void 0?.1:$n,Yn=wt.forceSubMenuRender,ir=wt.defaultOpenKeys,Sr=wt.openKeys,Bn=wt.activeKey,Hn=wt.defaultActiveFirst,kr=wt.selectable,Ir=kr===void 0?!0:kr,Dr=wt.multiple,si=Dr===void 0?!1:Dr,Nr=wt.defaultSelectedKeys,fi=wt.selectedKeys,Lr=wt.onSelect,wi=wt.onDeselect,ji=wt.inlineIndent,vi=ji===void 0?24:ji,Ai=wt.motion,Di=wt.defaultMotions,ti=wt.triggerSubMenuAction,Qr=ti===void 0?"hover":ti,xi=wt.builtinPlacements,zi=wt.itemIcon,Mi=wt.expandIcon,wr=wt.overflowedIndicator,Ni=wr===void 0?"...":wr,hi=wt.overflowedIndicatorPopupClassName,Ei=wt.getPopupContainer,pi=wt.onClick,Xn=wt.onOpenChange,ki=wt.onKeyDown,Pi=wt.openAnimation,Hi=wt.openTransitionName,Gi=wt._internalRenderMenuItem,Xi=wt._internalRenderSubMenuItem,Yi=wt._internalComponents,Qi=(0,h.Z)(wt,D),Rr=I.useMemo(function(){return[ot(Vn,Ln,En,Yi,Wt),ot(Vn,Ln,En,{},Wt)]},[Vn,Ln,Yi]),ft=(0,_.Z)(Rr,2),Fi=ft[0],aa=ft[1],ta=I.useState(!1),$i=(0,_.Z)(ta,2),Ji=$i[0],Li=$i[1],Bi=I.useRef(),gi=je(hr),bi=nr==="rtl",Jr=(0,Q.Z)(ir,{value:Sr,postState:function(Pr){return Pr||En}}),Ui=(0,_.Z)(Jr,2),Yr=Ui[0],Zr=Ui[1],pr=function(Pr){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function qt(){Zr(Pr),Xn==null||Xn(Pr)}Wr?(0,C.flushSync)(qt):qt()},qr=I.useState(Yr),Ki=(0,_.Z)(qr,2),Ti=Ki[0],Ea=Ki[1],qi=I.useRef(!1),Rn=I.useMemo(function(){return(Cn==="inline"||Cn==="vertical")&&rr?["vertical",rr]:[Cn,!1]},[Cn,rr]),qn=(0,_.Z)(Rn,2),Gr=qn[0],Vr=qn[1],gr=Gr==="inline",sa=I.useState(Gr),_i=(0,_.Z)(sa,2),oi=_i[0],oa=_i[1],Pa=I.useState(Vr),wa=(0,_.Z)(Pa,2),ba=wa[0],Wa=wa[1];I.useEffect(function(){oa(Gr),Wa(Vr),qi.current&&(gr?Zr(Ti):pr(En))},[Gr,Vr]);var ya=I.useState(0),Ri=(0,_.Z)(ya,2),na=Ri[0],Ka=Ri[1],za=na>=Fi.length-1||oi!=="horizontal"||Zn;I.useEffect(function(){gr&&Ea(Yr)},[Yr]),I.useEffect(function(){return qi.current=!0,function(){qi.current=!1}},[]);var ea=ze(),Nt=ea.registerPath,Mn=ea.unregisterPath,Jn=ea.refreshOverflowKeys,ar=ea.isSubPathKey,xr=ea.getKeyPath,ur=ea.getKeys,Br=ea.getSubPathKeys,li=I.useMemo(function(){return{registerPath:Nt,unregisterPath:Mn}},[Nt,Mn]),Ci=I.useMemo(function(){return{isSubPathKey:ar}},[ar]);I.useEffect(function(){Jn(za?En:Fi.slice(na+1).map(function(ci){return ci.key}))},[na,za]);var ui=(0,Q.Z)(Bn||Hn&&((be=Fi[0])===null||be===void 0?void 0:be.key),{value:Bn}),Oi=(0,_.Z)(ui,2),va=Oi[0],Fa=Oi[1],la=He(function(ci){Fa(ci)}),Aa=He(function(){Fa(void 0)});(0,I.useImperativeHandle)(vt,function(){return{list:Bi.current,focus:function(Pr){var Wr,qt=ur(),Vi=Oe(qt,gi),Za=Vi.elements,rs=Vi.key2element,zs=Vi.element2key,is=tt(Bi.current,Za),as=va!=null?va:is[0]?zs.get(is[0]):(Wr=Fi.find(function(ss){return!ss.props.disabled}))===null||Wr===void 0?void 0:Wr.key,Ha=rs.get(as);if(as&&Ha){var ps;Ha==null||(ps=Ha.focus)===null||ps===void 0||ps.call(Ha,Pr)}}}});var Da=(0,Q.Z)(Nr||[],{value:fi,postState:function(Pr){return Array.isArray(Pr)?Pr:Pr==null?En:[Pr]}}),ua=(0,_.Z)(Da,2),Ta=ua[0],Qa=ua[1],Na=function(Pr){if(Ir){var Wr=Pr.key,qt=Ta.includes(Wr),Vi;si?qt?Vi=Ta.filter(function(rs){return rs!==Wr}):Vi=[].concat((0,b.Z)(Ta),[Wr]):Vi=[Wr],Qa(Vi);var Za=(0,T.Z)((0,T.Z)({},Pr),{},{selectedKeys:Vi});qt?wi==null||wi(Za):Lr==null||Lr(Za)}!si&&Yr.length&&oi!=="inline"&&pr(En)},ca=He(function(ci){pi==null||pi(Se(ci)),Na(ci)}),La=He(function(ci,Pr){var Wr=Yr.filter(function(Vi){return Vi!==ci});if(Pr)Wr.push(ci);else if(oi!=="inline"){var qt=Br(ci);Wr=Wr.filter(function(Vi){return!qt.has(Vi)})}(0,U.Z)(Yr,Wr,!0)||pr(Wr,!0)}),Ba=function(Pr,Wr){var qt=Wr!=null?Wr:!Yr.includes(Pr);La(Pr,qt)},Us=Ue(oi,va,bi,gi,Bi,ur,xr,Fa,Ba,ki);I.useEffect(function(){Li(!0)},[]);var hs=I.useMemo(function(){return{_internalRenderMenuItem:Gi,_internalRenderSubMenuItem:Xi}},[Gi,Xi]),Is=oi!=="horizontal"||Zn?Fi:Fi.map(function(ci,Pr){return I.createElement(W,{key:ci.key,overflowDisabled:Pr>na},ci)}),js=I.createElement(u.Z,(0,a.Z)({id:hr,ref:Bi,prefixCls:"".concat(Wt,"-overflow"),component:"ul",itemComponent:ke,className:G()(Wt,"".concat(Wt,"-root"),"".concat(Wt,"-").concat(oi),zn,(0,y.Z)((0,y.Z)({},"".concat(Wt,"-inline-collapsed"),ba),"".concat(Wt,"-rtl"),bi),dn),dir:nr,style:gn,role:"menu",tabIndex:xn,data:Is,renderRawItem:function(Pr){return Pr},renderRawRest:function(Pr){var Wr=Pr.length,qt=Wr?Fi.slice(-Wr):null;return I.createElement(yn,{eventKey:Ie,title:Ni,disabled:za,internalPopupClose:Wr===0,popupClassName:hi},qt)},maxCount:oi!=="horizontal"||Zn?u.Z.INVALIDATE:u.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Pr){Ka(Pr)},onKeyDown:Us},Qi));return I.createElement(J.Provider,{value:hs},I.createElement(P.Provider,{value:gi},I.createElement(W,{prefixCls:Wt,rootClassName:dn,mode:oi,openKeys:Yr,rtl:bi,disabled:fr,motion:Ji?Ai:null,defaultMotions:Ji?Di:null,activeKey:va,onActive:la,onInactive:Aa,selectedKeys:Ta,inlineIndent:vi,subMenuOpenDelay:er,subMenuCloseDelay:vr,forceSubMenuRender:Yn,builtinPlacements:xi,triggerSubMenuAction:Qr,getPopupContainer:Ei,itemIcon:zi,expandIcon:Mi,onItemClick:ca,onOpenChange:La},I.createElement(he.Provider,{value:Ci},js),I.createElement("div",{style:{display:"none"},"aria-hidden":!0},I.createElement(le.Provider,{value:li},aa)))))}),Qt=Pn,An=Qt;An.Item=ke,An.SubMenu=yn,An.ItemGroup=xt,An.Divider=jn;var _n=An},11780:function(k,p,o){"use strict";o.d(p,{Z:function(){return ae}});var a=o(72308),y=o(77321),T=o(52487),b=o(74416),_=o(59301),h=o(92310),j=o.n(h),G=o(29301),u=o(34280),Q=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],U=void 0;function v(w,L){var oe=w.prefixCls,M=w.invalidate,De=w.item,Fe=w.renderItem,Re=w.responsive,dt=w.responsiveDisabled,st=w.registerSize,it=w.itemKey,lt=w.className,zt=w.style,nn=w.children,Mt=w.display,en=w.order,rn=w.component,rt=rn===void 0?"div":rn,tt=(0,b.Z)(w,Q),Be=Re&&!Mt;function Oe(Ne){st(it,Ne)}_.useEffect(function(){return function(){Oe(null)}},[]);var Ue=Fe&&De!==U?Fe(De,{index:en}):nn,$e;M||($e={opacity:Be?0:1,height:Be?0:U,overflowY:Be?"hidden":U,order:Re?en:U,pointerEvents:Be?"none":U,position:Be?"absolute":U});var ee={};Be&&(ee["aria-hidden"]=!0);var ye=_.createElement(rt,(0,a.Z)({className:j()(!M&&oe,lt),style:(0,y.Z)((0,y.Z)({},$e),zt)},ee,tt,{ref:L}),Ue);return Re&&(ye=_.createElement(G.Z,{onResize:function(Ie){var ze=Ie.offsetWidth;Oe(ze)},disabled:dt},ye)),ye}var I=_.forwardRef(v);I.displayName="Item";var C=I,P=o(6089),X=o(4676),V=o(16089);function z(w){if(typeof MessageChannel=="undefined")(0,V.Z)(w);else{var L=new MessageChannel;L.port1.onmessage=function(){return w()},L.port2.postMessage(void 0)}}function N(){var w=_.useRef(null),L=function(M){w.current||(w.current=[],z(function(){(0,X.unstable_batchedUpdates)(function(){w.current.forEach(function(De){De()}),w.current=null})})),w.current.push(M)};return L}function F(w,L){var oe=_.useState(L),M=(0,T.Z)(oe,2),De=M[0],Fe=M[1],Re=(0,P.Z)(function(dt){w(function(){Fe(dt)})});return[De,Re]}var B=_.createContext(null),W=["component"],H=["className"],le=["className"],te=function(L,oe){var M=_.useContext(B);if(!M){var De=L.component,Fe=De===void 0?"div":De,Re=(0,b.Z)(L,W);return _.createElement(Fe,(0,a.Z)({},Re,{ref:oe}))}var dt=M.className,st=(0,b.Z)(M,H),it=L.className,lt=(0,b.Z)(L,le);return _.createElement(B.Provider,{value:null},_.createElement(C,(0,a.Z)({ref:oe,className:j()(dt,it)},st,lt)))},se=_.forwardRef(te);se.displayName="RawItem";var Ee=se,he=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ve="responsive",J="invalidate";function Z(w){return"+ ".concat(w.length," ...")}function ie(w,L){var oe=w.prefixCls,M=oe===void 0?"rc-overflow":oe,De=w.data,Fe=De===void 0?[]:De,Re=w.renderItem,dt=w.renderRawItem,st=w.itemKey,it=w.itemWidth,lt=it===void 0?10:it,zt=w.ssr,nn=w.style,Mt=w.className,en=w.maxCount,rn=w.renderRest,rt=w.renderRawRest,tt=w.suffix,Be=w.component,Oe=Be===void 0?"div":Be,Ue=w.itemComponent,$e=w.onVisibleChange,ee=(0,b.Z)(w,he),ye=zt==="full",Ne=N(),Ie=F(Ne,null),ze=(0,T.Z)(Ie,2),He=ze[0],Je=ze[1],Ke=He||0,je=F(Ne,new Map),_e=(0,T.Z)(je,2),Qe=_e[0],Me=_e[1],Pe=F(Ne,0),Le=(0,T.Z)(Pe,2),ht=Le[0],nt=Le[1],re=F(Ne,0),ut=(0,T.Z)(re,2),Ze=ut[0],Se=ut[1],St=F(Ne,0),tn=(0,T.Z)(St,2),gt=tn[0],Xe=tn[1],qe=(0,_.useState)(null),Ge=(0,T.Z)(qe,2),ke=Ge[0],ce=Ge[1],pe=(0,_.useState)(null),me=(0,T.Z)(pe,2),we=me[0],Ye=me[1],bt=_.useMemo(function(){return we===null&&ye?Number.MAX_SAFE_INTEGER:we||0},[we,He]),Dt=(0,_.useState)(!1),jt=(0,T.Z)(Dt,2),Kt=jt[0],Ht=jt[1],Ft="".concat(M,"-item"),Gt=Math.max(ht,Ze),Yt=en===ve,$t=Fe.length&&Yt,bn=en===J,Jt=$t||typeof en=="number"&&Fe.length>en,un=(0,_.useMemo)(function(){var An=Fe;return $t?He===null&&ye?An=Fe:An=Fe.slice(0,Math.min(Fe.length,Ke/lt)):typeof en=="number"&&(An=Fe.slice(0,en)),An},[Fe,lt,He,en,$t]),mn=(0,_.useMemo)(function(){return $t?Fe.slice(bt+1):Fe.slice(un.length)},[Fe,un,$t,bt]),hn=(0,_.useCallback)(function(An,_n){var at;return typeof st=="function"?st(An):(at=st&&(An==null?void 0:An[st]))!==null&&at!==void 0?at:_n},[st]),vn=(0,_.useCallback)(Re||function(An){return An},[Re]);function yn(An,_n,at){we===An&&(_n===void 0||_n===ke)||(Ye(An),at||(Ht(An<Fe.length-1),$e==null||$e(An)),_n!==void 0&&ce(_n))}function Gn(An,_n){Je(_n.clientWidth)}function jn(An,_n){Me(function(at){var vt=new Map(at);return _n===null?vt.delete(An):vt.set(An,_n),vt})}function It(An,_n){Se(_n),nt(Ze)}function Ct(An,_n){Xe(_n)}function Ut(An){return Qe.get(hn(un[An],An))}(0,u.Z)(function(){if(Ke&&typeof Gt=="number"&&un){var An=gt,_n=un.length,at=_n-1;if(!_n){yn(0,null);return}for(var vt=0;vt<_n;vt+=1){var be=Ut(vt);if(ye&&(be=be||0),be===void 0){yn(vt-1,void 0,!0);break}if(An+=be,at===0&&An<=Ke||vt===at-1&&An+Ut(at)<=Ke){yn(at,null);break}else if(An+Gt>Ke){yn(vt-1,An-be-gt+Ze);break}}tt&&Ut(0)+gt>Ke&&ce(null)}},[Ke,Qe,Ze,gt,hn,un]);var xt=Kt&&!!mn.length,fn={};ke!==null&&$t&&(fn={position:"absolute",left:ke,top:0});var cn={prefixCls:Ft,responsive:$t,component:Ue,invalidate:bn},ot=dt?function(An,_n){var at=hn(An,_n);return _.createElement(B.Provider,{key:at,value:(0,y.Z)((0,y.Z)({},cn),{},{order:_n,item:An,itemKey:at,registerSize:jn,display:_n<=bt})},dt(An,_n))}:function(An,_n){var at=hn(An,_n);return _.createElement(C,(0,a.Z)({},cn,{order:_n,key:at,item:An,renderItem:vn,itemKey:at,registerSize:jn,display:_n<=bt}))},D={order:xt?bt:Number.MAX_SAFE_INTEGER,className:"".concat(Ft,"-rest"),registerSize:It,display:xt},En=rn||Z,Pn=rt?_.createElement(B.Provider,{value:(0,y.Z)((0,y.Z)({},cn),D)},rt(mn)):_.createElement(C,(0,a.Z)({},cn,D),typeof En=="function"?En(mn):En),Qt=_.createElement(Oe,(0,a.Z)({className:j()(!bn&&M,Mt),style:nn,ref:L},ee),un.map(ot),Jt?Pn:null,tt&&_.createElement(C,(0,a.Z)({},cn,{responsive:Yt,responsiveDisabled:!$t,order:bt,className:"".concat(Ft,"-suffix"),registerSize:Ct,display:!0,style:fn}),tt));return Yt?_.createElement(G.Z,{onResize:Gn,disabled:!$t},Qt):Qt}var ue=_.forwardRef(ie);ue.displayName="Overflow",ue.Item=Ee,ue.RESPONSIVE=ve,ue.INVALIDATE=J;var fe=ue,ae=fe},25930:function(k,p,o){"use strict";o.d(p,{Cd:function(){return he}});var a=o(72308),y=o(77321),T=o(74416),b=o(59301),_=o(92310),h=o.n(_),j={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},G=function(){var Z=(0,b.useRef)([]),ie=(0,b.useRef)(null);return(0,b.useEffect)(function(){var ue=Date.now(),fe=!1;Z.current.forEach(function(ae){if(ae){fe=!0;var w=ae.style;w.transitionDuration=".3s, .3s, .3s, .06s",ie.current&&ue-ie.current<100&&(w.transitionDuration="0s, 0s")}}),fe&&(ie.current=Date.now())}),Z.current},u=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Q=function(Z){var ie=(0,y.Z)((0,y.Z)({},j),Z),ue=ie.className,fe=ie.percent,ae=ie.prefixCls,w=ie.strokeColor,L=ie.strokeLinecap,oe=ie.strokeWidth,M=ie.style,De=ie.trailColor,Fe=ie.trailWidth,Re=ie.transition,dt=(0,T.Z)(ie,u);delete dt.gapPosition;var st=Array.isArray(fe)?fe:[fe],it=Array.isArray(w)?w:[w],lt=G(),zt=oe/2,nn=100-oe/2,Mt="M ".concat(L==="round"?zt:0,",").concat(zt,`
L `).concat(L==="round"?nn:100,",").concat(zt),en="0 0 100 ".concat(oe),rn=0;return b.createElement("svg",(0,a.Z)({className:h()("".concat(ae,"-line"),ue),viewBox:en,preserveAspectRatio:"none",style:M},dt),b.createElement("path",{className:"".concat(ae,"-line-trail"),d:Mt,strokeLinecap:L,stroke:De,strokeWidth:Fe||oe,fillOpacity:"0"}),st.map(function(rt,tt){var Be=1;switch(L){case"round":Be=1-oe/100;break;case"square":Be=1-oe/2/100;break;default:Be=1;break}var Oe={strokeDasharray:"".concat(rt*Be,"px, 100px"),strokeDashoffset:"-".concat(rn,"px"),transition:Re||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ue=it[tt]||it[it.length-1];return rn+=rt,b.createElement("path",{key:tt,className:"".concat(ae,"-line-path"),d:Mt,strokeLinecap:L,stroke:Ue,strokeWidth:oe,fillOpacity:"0",ref:function(ee){lt[tt]=ee},style:Oe})}))},U=Q,v=o(62853),I=o(52487),C=o(47273),P=0,X=(0,C.Z)();function V(){var J;return X?(J=P,P+=1):J="TEST_OR_SSR",J}var z=function(J){var Z=b.useState(),ie=(0,I.Z)(Z,2),ue=ie[0],fe=ie[1];return b.useEffect(function(){fe("rc_progress_".concat(V()))},[]),J||ue},N=function(Z){var ie=Z.bg,ue=Z.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:ie}},ue)};function F(J,Z){return Object.keys(J).map(function(ie){var ue=parseFloat(ie),fe="".concat(Math.floor(ue*Z),"%");return"".concat(J[ie]," ").concat(fe)})}var B=b.forwardRef(function(J,Z){var ie=J.prefixCls,ue=J.color,fe=J.gradientId,ae=J.radius,w=J.style,L=J.ptg,oe=J.strokeLinecap,M=J.strokeWidth,De=J.size,Fe=J.gapDegree,Re=ue&&(0,v.Z)(ue)==="object",dt=Re?"#FFF":void 0,st=De/2,it=b.createElement("circle",{className:"".concat(ie,"-circle-path"),r:ae,cx:st,cy:st,stroke:dt,strokeLinecap:oe,strokeWidth:M,opacity:L===0?0:1,style:w,ref:Z});if(!Re)return it;var lt="".concat(fe,"-conic"),zt=Fe?"".concat(180+Fe/2,"deg"):"0deg",nn=F(ue,(360-Fe)/360),Mt=F(ue,1),en="conic-gradient(from ".concat(zt,", ").concat(nn.join(", "),")"),rn="linear-gradient(to ".concat(Fe?"bottom":"top",", ").concat(Mt.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:lt},it),b.createElement("foreignObject",{x:0,y:0,width:De,height:De,mask:"url(#".concat(lt,")")},b.createElement(N,{bg:rn},b.createElement(N,{bg:en}))))}),W=B,H=100,le=function(Z,ie,ue,fe,ae,w,L,oe,M,De){var Fe=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Re=ue/100*360*((360-w)/360),dt=w===0?0:{bottom:0,top:180,left:90,right:-90}[L],st=(100-fe)/100*ie;M==="round"&&fe!==100&&(st+=De/2,st>=ie&&(st=ie-.01));var it=H/2;return{stroke:typeof oe=="string"?oe:void 0,strokeDasharray:"".concat(ie,"px ").concat(Z),strokeDashoffset:st+Fe,transform:"rotate(".concat(ae+Re+dt,"deg)"),transformOrigin:"".concat(it,"px ").concat(it,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},te=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function se(J){var Z=J!=null?J:[];return Array.isArray(Z)?Z:[Z]}var Ee=function(Z){var ie=(0,y.Z)((0,y.Z)({},j),Z),ue=ie.id,fe=ie.prefixCls,ae=ie.steps,w=ie.strokeWidth,L=ie.trailWidth,oe=ie.gapDegree,M=oe===void 0?0:oe,De=ie.gapPosition,Fe=ie.trailColor,Re=ie.strokeLinecap,dt=ie.style,st=ie.className,it=ie.strokeColor,lt=ie.percent,zt=(0,T.Z)(ie,te),nn=H/2,Mt=z(ue),en="".concat(Mt,"-gradient"),rn=nn-w/2,rt=Math.PI*2*rn,tt=M>0?90+M/2:-90,Be=rt*((360-M)/360),Oe=(0,v.Z)(ae)==="object"?ae:{count:ae,gap:2},Ue=Oe.count,$e=Oe.gap,ee=se(lt),ye=se(it),Ne=ye.find(function(_e){return _e&&(0,v.Z)(_e)==="object"}),Ie=Ne&&(0,v.Z)(Ne)==="object",ze=Ie?"butt":Re,He=le(rt,Be,0,100,tt,M,De,Fe,ze,w),Je=G(),Ke=function(){var Qe=0;return ee.map(function(Me,Pe){var Le=ye[Pe]||ye[ye.length-1],ht=le(rt,Be,Qe,Me,tt,M,De,Le,ze,w);return Qe+=Me,b.createElement(W,{key:Pe,color:Le,ptg:Me,radius:rn,prefixCls:fe,gradientId:en,style:ht,strokeLinecap:ze,strokeWidth:w,gapDegree:M,ref:function(re){Je[Pe]=re},size:H})}).reverse()},je=function(){var Qe=Math.round(Ue*(ee[0]/100)),Me=100/Ue,Pe=0;return new Array(Ue).fill(null).map(function(Le,ht){var nt=ht<=Qe-1?ye[0]:Fe,re=nt&&(0,v.Z)(nt)==="object"?"url(#".concat(en,")"):void 0,ut=le(rt,Be,Pe,Me,tt,M,De,nt,"butt",w,$e);return Pe+=(Be-ut.strokeDashoffset+$e)*100/Be,b.createElement("circle",{key:ht,className:"".concat(fe,"-circle-path"),r:rn,cx:nn,cy:nn,stroke:re,strokeWidth:w,opacity:1,style:ut,ref:function(Se){Je[ht]=Se}})})};return b.createElement("svg",(0,a.Z)({className:h()("".concat(fe,"-circle"),st),viewBox:"0 0 ".concat(H," ").concat(H),style:dt,id:ue,role:"presentation"},zt),!Ue&&b.createElement("circle",{className:"".concat(fe,"-circle-trail"),r:rn,cx:nn,cy:nn,stroke:Fe,strokeLinecap:ze,strokeWidth:L||w,style:He}),Ue?je():Ke())},he=Ee,ve={Line:U,Circle:he}},738:function(k,p,o){"use strict";o.d(p,{Z:function(){return F}});var a=o(72308),y=o(49618),T=o(52487),b=o(74416),_=o(92310),h=o.n(_),j=o(18929),G=o(10228),u=o(26112),Q=o(59301);function U(B,W){var H=B.disabled,le=B.prefixCls,te=B.character,se=B.characterRender,Ee=B.index,he=B.count,ve=B.value,J=B.allowHalf,Z=B.focused,ie=B.onHover,ue=B.onClick,fe=function(Re){ie(Re,Ee)},ae=function(Re){ue(Re,Ee)},w=function(Re){Re.keyCode===G.Z.ENTER&&ue(Re,Ee)},L=Ee+1,oe=new Set([le]);ve===0&&Ee===0&&Z?oe.add("".concat(le,"-focused")):J&&ve+.5>=L&&ve<L?(oe.add("".concat(le,"-half")),oe.add("".concat(le,"-active")),Z&&oe.add("".concat(le,"-focused"))):(L<=ve?oe.add("".concat(le,"-full")):oe.add("".concat(le,"-zero")),L===ve&&Z&&oe.add("".concat(le,"-focused")));var M=typeof te=="function"?te(B):te,De=Q.createElement("li",{className:h()(Array.from(oe)),ref:W},Q.createElement("div",{onClick:H?null:ae,onKeyDown:H?null:w,onMouseMove:H?null:fe,role:"radio","aria-checked":ve>Ee?"true":"false","aria-posinset":Ee+1,"aria-setsize":he,tabIndex:H?-1:0},Q.createElement("div",{className:"".concat(le,"-first")},M),Q.createElement("div",{className:"".concat(le,"-second")},M)));return se&&(De=se(De,B)),De}var v=Q.forwardRef(U);function I(){var B=Q.useRef({});function W(le){return B.current[le]}function H(le){return function(te){B.current[le]=te}}return[W,H]}function C(B){var W=B.pageXOffset,H="scrollLeft";if(typeof W!="number"){var le=B.document;W=le.documentElement[H],typeof W!="number"&&(W=le.body[H])}return W}function P(B){var W,H,le=B.ownerDocument,te=le.body,se=le&&le.documentElement,Ee=B.getBoundingClientRect();return W=Ee.left,H=Ee.top,W-=se.clientLeft||te.clientLeft||0,H-=se.clientTop||te.clientTop||0,{left:W,top:H}}function X(B){var W=P(B),H=B.ownerDocument,le=H.defaultView||H.parentWindow;return W.left+=C(le),W.left}var V=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function z(B,W){var H=B.prefixCls,le=H===void 0?"rc-rate":H,te=B.className,se=B.defaultValue,Ee=B.value,he=B.count,ve=he===void 0?5:he,J=B.allowHalf,Z=J===void 0?!1:J,ie=B.allowClear,ue=ie===void 0?!0:ie,fe=B.keyboard,ae=fe===void 0?!0:fe,w=B.character,L=w===void 0?"\u2605":w,oe=B.characterRender,M=B.disabled,De=B.direction,Fe=De===void 0?"ltr":De,Re=B.tabIndex,dt=Re===void 0?0:Re,st=B.autoFocus,it=B.onHoverChange,lt=B.onChange,zt=B.onFocus,nn=B.onBlur,Mt=B.onKeyDown,en=B.onMouseLeave,rn=(0,b.Z)(B,V),rt=I(),tt=(0,T.Z)(rt,2),Be=tt[0],Oe=tt[1],Ue=Q.useRef(null),$e=function(){if(!M){var ce;(ce=Ue.current)===null||ce===void 0||ce.focus()}};Q.useImperativeHandle(W,function(){return{focus:$e,blur:function(){if(!M){var ce;(ce=Ue.current)===null||ce===void 0||ce.blur()}}}});var ee=(0,j.Z)(se||0,{value:Ee}),ye=(0,T.Z)(ee,2),Ne=ye[0],Ie=ye[1],ze=(0,j.Z)(null),He=(0,T.Z)(ze,2),Je=He[0],Ke=He[1],je=function(ce,pe){var me=Fe==="rtl",we=ce+1;if(Z){var Ye=Be(ce),bt=X(Ye),Dt=Ye.clientWidth;(me&&pe-bt>Dt/2||!me&&pe-bt<Dt/2)&&(we-=.5)}return we},_e=function(ce){Ie(ce),lt==null||lt(ce)},Qe=Q.useState(!1),Me=(0,T.Z)(Qe,2),Pe=Me[0],Le=Me[1],ht=function(){Le(!0),zt==null||zt()},nt=function(){Le(!1),nn==null||nn()},re=Q.useState(null),ut=(0,T.Z)(re,2),Ze=ut[0],Se=ut[1],St=function(ce,pe){var me=je(pe,ce.pageX);me!==Je&&(Se(me),Ke(null)),it==null||it(me)},tn=function(ce){M||(Se(null),Ke(null),it==null||it(void 0)),ce&&(en==null||en(ce))},gt=function(ce,pe){var me=je(pe,ce.pageX),we=!1;ue&&(we=me===Ne),tn(),_e(we?0:me),Ke(we?me:null)},Xe=function(ce){var pe=ce.keyCode,me=Fe==="rtl",we=Z?.5:1;ae&&(pe===G.Z.RIGHT&&Ne<ve&&!me?(_e(Ne+we),ce.preventDefault()):pe===G.Z.LEFT&&Ne>0&&!me||pe===G.Z.RIGHT&&Ne>0&&me?(_e(Ne-we),ce.preventDefault()):pe===G.Z.LEFT&&Ne<ve&&me&&(_e(Ne+we),ce.preventDefault())),Mt==null||Mt(ce)};Q.useEffect(function(){st&&!M&&$e()},[]);var qe=new Array(ve).fill(0).map(function(ke,ce){return Q.createElement(v,{ref:Oe(ce),index:ce,count:ve,disabled:M,prefixCls:"".concat(le,"-star"),allowHalf:Z,value:Ze===null?Ne:Ze,onClick:gt,onHover:St,key:ke||ce,character:L,characterRender:oe,focused:Pe})}),Ge=h()(le,te,(0,y.Z)((0,y.Z)({},"".concat(le,"-disabled"),M),"".concat(le,"-rtl"),Fe==="rtl"));return Q.createElement("ul",(0,a.Z)({className:Ge,onMouseLeave:tn,tabIndex:M?-1:dt,onFocus:M?null:ht,onBlur:M?null:nt,onKeyDown:M?null:Xe,ref:Ue},(0,u.Z)(rn,{aria:!0,data:!0,attr:!0})),qe)}var N=Q.forwardRef(z),F=N},29301:function(k,p,o){"use strict";o.d(p,{Z:function(){return J}});var a=o(72308),y=o(59301),T=o(11592),b=o(48736),_=o(77321),h=o(62853),j=o(76846),G=o(8654),u=y.createContext(null);function Q(Z){var ie=Z.children,ue=Z.onBatchResize,fe=y.useRef(0),ae=y.useRef([]),w=y.useContext(u),L=y.useCallback(function(oe,M,De){fe.current+=1;var Fe=fe.current;ae.current.push({size:oe,element:M,data:De}),Promise.resolve().then(function(){Fe===fe.current&&(ue==null||ue(ae.current),ae.current=[])}),w==null||w(oe,M,De)},[ue,w]);return y.createElement(u.Provider,{value:L},ie)}var U=o(76374),v=new Map;function I(Z){Z.forEach(function(ie){var ue,fe=ie.target;(ue=v.get(fe))===null||ue===void 0||ue.forEach(function(ae){return ae(fe)})})}var C=new U.Z(I),P=null,X=null;function V(Z,ie){v.has(Z)||(v.set(Z,new Set),C.observe(Z)),v.get(Z).add(ie)}function z(Z,ie){v.has(Z)&&(v.get(Z).delete(ie),v.get(Z).size||(C.unobserve(Z),v.delete(Z)))}var N=o(96949),F=o(55090),B=o(77205),W=o(38793),H=function(Z){(0,B.Z)(ue,Z);var ie=(0,W.Z)(ue);function ue(){return(0,N.Z)(this,ue),ie.apply(this,arguments)}return(0,F.Z)(ue,[{key:"render",value:function(){return this.props.children}}]),ue}(y.Component);function le(Z,ie){var ue=Z.children,fe=Z.disabled,ae=y.useRef(null),w=y.useRef(null),L=y.useContext(u),oe=typeof ue=="function",M=oe?ue(ae):ue,De=y.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Fe=!oe&&y.isValidElement(M)&&(0,G.Yr)(M),Re=Fe?(0,G.C4)(M):null,dt=(0,G.x1)(Re,ae),st=function(){var nn;return(0,j.ZP)(ae.current)||(ae.current&&(0,h.Z)(ae.current)==="object"?(0,j.ZP)((nn=ae.current)===null||nn===void 0?void 0:nn.nativeElement):null)||(0,j.ZP)(w.current)};y.useImperativeHandle(ie,function(){return st()});var it=y.useRef(Z);it.current=Z;var lt=y.useCallback(function(zt){var nn=it.current,Mt=nn.onResize,en=nn.data,rn=zt.getBoundingClientRect(),rt=rn.width,tt=rn.height,Be=zt.offsetWidth,Oe=zt.offsetHeight,Ue=Math.floor(rt),$e=Math.floor(tt);if(De.current.width!==Ue||De.current.height!==$e||De.current.offsetWidth!==Be||De.current.offsetHeight!==Oe){var ee={width:Ue,height:$e,offsetWidth:Be,offsetHeight:Oe};De.current=ee;var ye=Be===Math.round(rt)?rt:Be,Ne=Oe===Math.round(tt)?tt:Oe,Ie=(0,_.Z)((0,_.Z)({},ee),{},{offsetWidth:ye,offsetHeight:Ne});L==null||L(Ie,zt,en),Mt&&Promise.resolve().then(function(){Mt(Ie,zt)})}},[]);return y.useEffect(function(){var zt=st();return zt&&!fe&&V(zt,lt),function(){return z(zt,lt)}},[ae.current,fe]),y.createElement(H,{ref:w},Fe?y.cloneElement(M,{ref:dt}):M)}var te=y.forwardRef(le),se=te,Ee="rc-observer-key";function he(Z,ie){var ue=Z.children,fe=typeof ue=="function"?[ue]:(0,T.Z)(ue);return fe.map(function(ae,w){var L=(ae==null?void 0:ae.key)||"".concat(Ee,"-").concat(w);return y.createElement(se,(0,a.Z)({},Z,{key:L,ref:w===0?ie:void 0}),ae)})}var ve=y.forwardRef(he);ve.Collection=Q;var J=ve},22711:function(k,p,o){"use strict";o.r(p),o.d(p,{ResizableTextArea:function(){return ve},default:function(){return ue}});var a=o(72308),y=o(49618),T=o(77321),b=o(80702),_=o(52487),h=o(74416),j=o(92310),G=o.n(j),u=o(36901),Q=o(66003),U=o(30292),v=o(18929),I=o(59301),C=o(62853),P=o(29301),X=o(34280),V=o(16089),z=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,N=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],F={},B;function W(fe){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=fe.getAttribute("id")||fe.getAttribute("data-reactid")||fe.getAttribute("name");if(ae&&F[w])return F[w];var L=window.getComputedStyle(fe),oe=L.getPropertyValue("box-sizing")||L.getPropertyValue("-moz-box-sizing")||L.getPropertyValue("-webkit-box-sizing"),M=parseFloat(L.getPropertyValue("padding-bottom"))+parseFloat(L.getPropertyValue("padding-top")),De=parseFloat(L.getPropertyValue("border-bottom-width"))+parseFloat(L.getPropertyValue("border-top-width")),Fe=N.map(function(dt){return"".concat(dt,":").concat(L.getPropertyValue(dt))}).join(";"),Re={sizingStyle:Fe,paddingSize:M,borderSize:De,boxSizing:oe};return ae&&w&&(F[w]=Re),Re}function H(fe){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;B||(B=document.createElement("textarea"),B.setAttribute("tab-index","-1"),B.setAttribute("aria-hidden","true"),B.setAttribute("name","hiddenTextarea"),document.body.appendChild(B)),fe.getAttribute("wrap")?B.setAttribute("wrap",fe.getAttribute("wrap")):B.removeAttribute("wrap");var oe=W(fe,ae),M=oe.paddingSize,De=oe.borderSize,Fe=oe.boxSizing,Re=oe.sizingStyle;B.setAttribute("style","".concat(Re,";").concat(z)),B.value=fe.value||fe.placeholder||"";var dt=void 0,st=void 0,it,lt=B.scrollHeight;if(Fe==="border-box"?lt+=De:Fe==="content-box"&&(lt-=M),w!==null||L!==null){B.value=" ";var zt=B.scrollHeight-M;w!==null&&(dt=zt*w,Fe==="border-box"&&(dt=dt+M+De),lt=Math.max(dt,lt)),L!==null&&(st=zt*L,Fe==="border-box"&&(st=st+M+De),it=lt>st?"":"hidden",lt=Math.min(st,lt))}var nn={height:lt,overflowY:it,resize:"none"};return dt&&(nn.minHeight=dt),st&&(nn.maxHeight=st),nn}var le=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],te=0,se=1,Ee=2,he=I.forwardRef(function(fe,ae){var w=fe,L=w.prefixCls,oe=w.defaultValue,M=w.value,De=w.autoSize,Fe=w.onResize,Re=w.className,dt=w.style,st=w.disabled,it=w.onChange,lt=w.onInternalAutoSize,zt=(0,h.Z)(w,le),nn=(0,v.Z)(oe,{value:M,postState:function(ut){return ut!=null?ut:""}}),Mt=(0,_.Z)(nn,2),en=Mt[0],rn=Mt[1],rt=function(ut){rn(ut.target.value),it==null||it(ut)},tt=I.useRef();I.useImperativeHandle(ae,function(){return{textArea:tt.current}});var Be=I.useMemo(function(){return De&&(0,C.Z)(De)==="object"?[De.minRows,De.maxRows]:[]},[De]),Oe=(0,_.Z)(Be,2),Ue=Oe[0],$e=Oe[1],ee=!!De,ye=function(){try{if(document.activeElement===tt.current){var ut=tt.current,Ze=ut.selectionStart,Se=ut.selectionEnd,St=ut.scrollTop;tt.current.setSelectionRange(Ze,Se),tt.current.scrollTop=St}}catch(tn){}},Ne=I.useState(Ee),Ie=(0,_.Z)(Ne,2),ze=Ie[0],He=Ie[1],Je=I.useState(),Ke=(0,_.Z)(Je,2),je=Ke[0],_e=Ke[1],Qe=function(){He(te)};(0,X.Z)(function(){ee&&Qe()},[M,Ue,$e,ee]),(0,X.Z)(function(){if(ze===te)He(se);else if(ze===se){var re=H(tt.current,!1,Ue,$e);He(Ee),_e(re)}else ye()},[ze]);var Me=I.useRef(),Pe=function(){V.Z.cancel(Me.current)},Le=function(ut){ze===Ee&&(Fe==null||Fe(ut),De&&(Pe(),Me.current=(0,V.Z)(function(){Qe()})))};I.useEffect(function(){return Pe},[]);var ht=ee?je:null,nt=(0,T.Z)((0,T.Z)({},dt),ht);return(ze===te||ze===se)&&(nt.overflowY="hidden",nt.overflowX="hidden"),I.createElement(P.Z,{onResize:Le,disabled:!(De||Fe)},I.createElement("textarea",(0,a.Z)({},zt,{ref:tt,style:nt,className:G()(L,Re,(0,y.Z)({},"".concat(L,"-disabled"),st)),disabled:st,value:en,onChange:rt})))}),ve=he,J=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Z=I.forwardRef(function(fe,ae){var w,L=fe.defaultValue,oe=fe.value,M=fe.onFocus,De=fe.onBlur,Fe=fe.onChange,Re=fe.allowClear,dt=fe.maxLength,st=fe.onCompositionStart,it=fe.onCompositionEnd,lt=fe.suffix,zt=fe.prefixCls,nn=zt===void 0?"rc-textarea":zt,Mt=fe.showCount,en=fe.count,rn=fe.className,rt=fe.style,tt=fe.disabled,Be=fe.hidden,Oe=fe.classNames,Ue=fe.styles,$e=fe.onResize,ee=fe.onClear,ye=fe.onPressEnter,Ne=fe.readOnly,Ie=fe.autoSize,ze=fe.onKeyDown,He=(0,h.Z)(fe,J),Je=(0,v.Z)(L,{value:oe,defaultValue:L}),Ke=(0,_.Z)(Je,2),je=Ke[0],_e=Ke[1],Qe=je==null?"":String(je),Me=I.useState(!1),Pe=(0,_.Z)(Me,2),Le=Pe[0],ht=Pe[1],nt=I.useRef(!1),re=I.useState(null),ut=(0,_.Z)(re,2),Ze=ut[0],Se=ut[1],St=(0,I.useRef)(null),tn=(0,I.useRef)(null),gt=function(){var vn;return(vn=tn.current)===null||vn===void 0?void 0:vn.textArea},Xe=function(){gt().focus()};(0,I.useImperativeHandle)(ae,function(){var hn;return{resizableTextArea:tn.current,focus:Xe,blur:function(){gt().blur()},nativeElement:((hn=St.current)===null||hn===void 0?void 0:hn.nativeElement)||gt()}}),(0,I.useEffect)(function(){ht(function(hn){return!tt&&hn})},[tt]);var qe=I.useState(null),Ge=(0,_.Z)(qe,2),ke=Ge[0],ce=Ge[1];I.useEffect(function(){if(ke){var hn;(hn=gt()).setSelectionRange.apply(hn,(0,b.Z)(ke))}},[ke]);var pe=(0,Q.Z)(en,Mt),me=(w=pe.max)!==null&&w!==void 0?w:dt,we=Number(me)>0,Ye=pe.strategy(Qe),bt=!!me&&Ye>me,Dt=function(vn,yn){var Gn=yn;!nt.current&&pe.exceedFormatter&&pe.max&&pe.strategy(yn)>pe.max&&(Gn=pe.exceedFormatter(yn,{max:pe.max}),yn!==Gn&&ce([gt().selectionStart||0,gt().selectionEnd||0])),_e(Gn),(0,U.rJ)(vn.currentTarget,vn,Fe,Gn)},jt=function(vn){nt.current=!0,st==null||st(vn)},Kt=function(vn){nt.current=!1,Dt(vn,vn.currentTarget.value),it==null||it(vn)},Ht=function(vn){Dt(vn,vn.target.value)},Ft=function(vn){vn.key==="Enter"&&ye&&ye(vn),ze==null||ze(vn)},Gt=function(vn){ht(!0),M==null||M(vn)},Yt=function(vn){ht(!1),De==null||De(vn)},$t=function(vn){_e(""),Xe(),(0,U.rJ)(gt(),vn,Fe)},bn=lt,Jt;pe.show&&(pe.showFormatter?Jt=pe.showFormatter({value:Qe,count:Ye,maxLength:me}):Jt="".concat(Ye).concat(we?" / ".concat(me):""),bn=I.createElement(I.Fragment,null,bn,I.createElement("span",{className:G()("".concat(nn,"-data-count"),Oe==null?void 0:Oe.count),style:Ue==null?void 0:Ue.count},Jt)));var un=function(vn){var yn;$e==null||$e(vn),(yn=gt())!==null&&yn!==void 0&&yn.style.height&&Se(!0)},mn=!Ie&&!Mt&&!Re;return I.createElement(u.BaseInput,{ref:St,value:Qe,allowClear:Re,handleReset:$t,suffix:bn,prefixCls:nn,classNames:(0,T.Z)((0,T.Z)({},Oe),{},{affixWrapper:G()(Oe==null?void 0:Oe.affixWrapper,(0,y.Z)((0,y.Z)({},"".concat(nn,"-show-count"),Mt),"".concat(nn,"-textarea-allow-clear"),Re))}),disabled:tt,focused:Le,className:G()(rn,bt&&"".concat(nn,"-out-of-range")),style:(0,T.Z)((0,T.Z)({},rt),Ze&&!mn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Jt=="string"?Jt:void 0}},hidden:Be,readOnly:Ne,onClear:ee},I.createElement(ve,(0,a.Z)({},He,{autoSize:Ie,maxLength:dt,onKeyDown:Ft,onChange:Ht,onFocus:Gt,onBlur:Yt,onCompositionStart:jt,onCompositionEnd:Kt,className:G()(Oe==null?void 0:Oe.textarea),style:(0,T.Z)((0,T.Z)({},Ue==null?void 0:Ue.textarea),{},{resize:rt==null?void 0:rt.resize}),disabled:tt,prefixCls:nn,onResize:un,ref:tn,readOnly:Ne})))}),ie=Z,ue=ie},29125:function(k,p,o){"use strict";o.d(p,{G:function(){return b},Z:function(){return z}});var a=o(92310),y=o.n(a),T=o(59301);function b(N){var F=N.children,B=N.prefixCls,W=N.id,H=N.overlayInnerStyle,le=N.bodyClassName,te=N.className,se=N.style;return T.createElement("div",{className:y()("".concat(B,"-content"),te),style:se},T.createElement("div",{className:y()("".concat(B,"-inner"),le),id:W,role:"tooltip",style:H},typeof F=="function"?F():F))}var _=o(72308),h=o(77321),j=o(74416),G=o(65352),u={shiftX:64,adjustY:1},Q={adjustX:1,shiftY:!0},U=[0,0],v={left:{points:["cr","cl"],overflow:Q,offset:[-4,0],targetOffset:U},right:{points:["cl","cr"],overflow:Q,offset:[4,0],targetOffset:U},top:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:U},bottom:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:U},topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:U},leftTop:{points:["tr","tl"],overflow:Q,offset:[-4,0],targetOffset:U},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:U},rightTop:{points:["tl","tr"],overflow:Q,offset:[4,0],targetOffset:U},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:U},rightBottom:{points:["bl","br"],overflow:Q,offset:[4,0],targetOffset:U},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:U},leftBottom:{points:["br","bl"],overflow:Q,offset:[-4,0],targetOffset:U}},I=null,C=o(80402),P=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],X=function(F,B){var W=F.overlayClassName,H=F.trigger,le=H===void 0?["hover"]:H,te=F.mouseEnterDelay,se=te===void 0?0:te,Ee=F.mouseLeaveDelay,he=Ee===void 0?.1:Ee,ve=F.overlayStyle,J=F.prefixCls,Z=J===void 0?"rc-tooltip":J,ie=F.children,ue=F.onVisibleChange,fe=F.afterVisibleChange,ae=F.transitionName,w=F.animation,L=F.motion,oe=F.placement,M=oe===void 0?"right":oe,De=F.align,Fe=De===void 0?{}:De,Re=F.destroyTooltipOnHide,dt=Re===void 0?!1:Re,st=F.defaultVisible,it=F.getTooltipContainer,lt=F.overlayInnerStyle,zt=F.arrowContent,nn=F.overlay,Mt=F.id,en=F.showArrow,rn=en===void 0?!0:en,rt=F.classNames,tt=F.styles,Be=(0,j.Z)(F,P),Oe=(0,C.Z)(Mt),Ue=(0,T.useRef)(null);(0,T.useImperativeHandle)(B,function(){return Ue.current});var $e=(0,h.Z)({},Be);"visible"in F&&($e.popupVisible=F.visible);var ee=function(){return T.createElement(b,{key:"content",prefixCls:Z,id:Oe,bodyClassName:rt==null?void 0:rt.body,overlayInnerStyle:(0,h.Z)((0,h.Z)({},lt),tt==null?void 0:tt.body)},nn)},ye=function(){var Ie=T.Children.only(ie),ze=(Ie==null?void 0:Ie.props)||{},He=(0,h.Z)((0,h.Z)({},ze),{},{"aria-describedby":nn?Oe:null});return T.cloneElement(ie,He)};return T.createElement(G.Z,(0,_.Z)({popupClassName:y()(W,rt==null?void 0:rt.root),prefixCls:Z,popup:ee,action:le,builtinPlacements:v,popupPlacement:M,ref:Ue,popupAlign:Fe,getPopupContainer:it,onPopupVisibleChange:ue,afterPopupVisibleChange:fe,popupTransitionName:ae,popupAnimation:w,popupMotion:L,defaultPopupVisible:st,autoDestroy:dt,mouseLeaveDelay:he,popupStyle:(0,h.Z)((0,h.Z)({},ve),tt==null?void 0:tt.root),mouseEnterDelay:se,arrow:rn},$e),ye())},V=(0,T.forwardRef)(X),z=V},90472:function(k,p,o){"use strict";o.d(p,{Z:function(){return fe}});var a=o(72308),y=o(96949),T=o(55090),b=o(80237),_=o(77205),h=o(38793),j=o(49618),G=o(59301),u=o(77321),Q=o(74416),U=o(62853),v=o(65736),I=o(72633),C=o(80702),P=o(92310),X=o.n(P),V=o(26112),z=o(48736),N=function(ae,w){if(ae&&w){var L=Array.isArray(w)?w:w.split(","),oe=ae.name||"",M=ae.type||"",De=M.replace(/\/.*$/,"");return L.some(function(Fe){var Re=Fe.trim();if(/^\*(\/\*)?$/.test(Fe))return!0;if(Re.charAt(0)==="."){var dt=oe.toLowerCase(),st=Re.toLowerCase(),it=[st];return(st===".jpg"||st===".jpeg")&&(it=[".jpg",".jpeg"]),it.some(function(lt){return dt.endsWith(lt)})}return/\/\*$/.test(Re)?De===Re.replace(/\/.*$/,""):M===Re?!0:/^\w+$/.test(Re)?((0,z.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Re,"'.Skip for check.")),!0):!1})}return!0};function F(ae,w){var L="cannot ".concat(ae.method," ").concat(ae.action," ").concat(w.status,"'"),oe=new Error(L);return oe.status=w.status,oe.method=ae.method,oe.url=ae.action,oe}function B(ae){var w=ae.responseText||ae.response;if(!w)return w;try{return JSON.parse(w)}catch(L){return w}}function W(ae){var w=new XMLHttpRequest;ae.onProgress&&w.upload&&(w.upload.onprogress=function(De){De.total>0&&(De.percent=De.loaded/De.total*100),ae.onProgress(De)});var L=new FormData;ae.data&&Object.keys(ae.data).forEach(function(M){var De=ae.data[M];if(Array.isArray(De)){De.forEach(function(Fe){L.append("".concat(M,"[]"),Fe)});return}L.append(M,De)}),ae.file instanceof Blob?L.append(ae.filename,ae.file,ae.file.name):L.append(ae.filename,ae.file),w.onerror=function(De){ae.onError(De)},w.onload=function(){return w.status<200||w.status>=300?ae.onError(F(ae,w),B(w)):ae.onSuccess(B(w),w)},w.open(ae.method,ae.action,!0),ae.withCredentials&&"withCredentials"in w&&(w.withCredentials=!0);var oe=ae.headers||{};return oe["X-Requested-With"]!==null&&w.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(oe).forEach(function(M){oe[M]!==null&&w.setRequestHeader(M,oe[M])}),w.send(L),{abort:function(){w.abort()}}}var H=function(){var ae=(0,I.Z)((0,v.Z)().mark(function w(L,oe){var M,De,Fe,Re,dt,st,it,lt;return(0,v.Z)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:st=function(){return st=(0,I.Z)((0,v.Z)().mark(function en(rn){return(0,v.Z)().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return tt.abrupt("return",new Promise(function(Be){rn.file(function(Oe){oe(Oe)?(rn.fullPath&&!Oe.webkitRelativePath&&(Object.defineProperties(Oe,{webkitRelativePath:{writable:!0}}),Oe.webkitRelativePath=rn.fullPath.replace(/^\//,""),Object.defineProperties(Oe,{webkitRelativePath:{writable:!1}})),Be(Oe)):Be(null)})}));case 1:case"end":return tt.stop()}},en)})),st.apply(this,arguments)},dt=function(en){return st.apply(this,arguments)},Re=function(){return Re=(0,I.Z)((0,v.Z)().mark(function en(rn){var rt,tt,Be,Oe,Ue;return(0,v.Z)().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:rt=rn.createReader(),tt=[];case 2:return ee.next=5,new Promise(function(ye){rt.readEntries(ye,function(){return ye([])})});case 5:if(Be=ee.sent,Oe=Be.length,Oe){ee.next=9;break}return ee.abrupt("break",12);case 9:for(Ue=0;Ue<Oe;Ue++)tt.push(Be[Ue]);ee.next=2;break;case 12:return ee.abrupt("return",tt);case 13:case"end":return ee.stop()}},en)})),Re.apply(this,arguments)},Fe=function(en){return Re.apply(this,arguments)},M=[],De=[],L.forEach(function(Mt){return De.push(Mt.webkitGetAsEntry())}),it=function(){var Mt=(0,I.Z)((0,v.Z)().mark(function en(rn,rt){var tt,Be;return(0,v.Z)().wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(rn){Ue.next=2;break}return Ue.abrupt("return");case 2:if(rn.path=rt||"",!rn.isFile){Ue.next=10;break}return Ue.next=6,dt(rn);case 6:tt=Ue.sent,tt&&M.push(tt),Ue.next=15;break;case 10:if(!rn.isDirectory){Ue.next=15;break}return Ue.next=13,Fe(rn);case 13:Be=Ue.sent,De.push.apply(De,(0,C.Z)(Be));case 15:case"end":return Ue.stop()}},en)}));return function(rn,rt){return Mt.apply(this,arguments)}}(),lt=0;case 9:if(!(lt<De.length)){nn.next=15;break}return nn.next=12,it(De[lt]);case 12:lt++,nn.next=9;break;case 15:return nn.abrupt("return",M);case 16:case"end":return nn.stop()}},w)}));return function(L,oe){return ae.apply(this,arguments)}}(),le=H,te=+new Date,se=0;function Ee(){return"rc-upload-".concat(te,"-").concat(++se)}var he=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],ve=function(ae){(0,_.Z)(L,ae);var w=(0,h.Z)(L);function L(){var oe;(0,y.Z)(this,L);for(var M=arguments.length,De=new Array(M),Fe=0;Fe<M;Fe++)De[Fe]=arguments[Fe];return oe=w.call.apply(w,[this].concat(De)),(0,j.Z)((0,b.Z)(oe),"state",{uid:Ee()}),(0,j.Z)((0,b.Z)(oe),"reqs",{}),(0,j.Z)((0,b.Z)(oe),"fileInput",void 0),(0,j.Z)((0,b.Z)(oe),"_isMounted",void 0),(0,j.Z)((0,b.Z)(oe),"onChange",function(Re){var dt=oe.props,st=dt.accept,it=dt.directory,lt=Re.target.files,zt=(0,C.Z)(lt).filter(function(nn){return!it||N(nn,st)});oe.uploadFiles(zt),oe.reset()}),(0,j.Z)((0,b.Z)(oe),"onClick",function(Re){var dt=oe.fileInput;if(dt){var st=Re.target,it=oe.props.onClick;if(st&&st.tagName==="BUTTON"){var lt=dt.parentNode;lt.focus(),st.blur()}dt.click(),it&&it(Re)}}),(0,j.Z)((0,b.Z)(oe),"onKeyDown",function(Re){Re.key==="Enter"&&oe.onClick(Re)}),(0,j.Z)((0,b.Z)(oe),"onFileDrop",function(){var Re=(0,I.Z)((0,v.Z)().mark(function dt(st){var it,lt,zt;return(0,v.Z)().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:if(it=oe.props.multiple,st.preventDefault(),st.type!=="dragover"){Mt.next=4;break}return Mt.abrupt("return");case 4:if(!oe.props.directory){Mt.next=11;break}return Mt.next=7,le(Array.prototype.slice.call(st.dataTransfer.items),function(en){return N(en,oe.props.accept)});case 7:lt=Mt.sent,oe.uploadFiles(lt),Mt.next=14;break;case 11:zt=(0,C.Z)(st.dataTransfer.files).filter(function(en){return N(en,oe.props.accept)}),it===!1&&(zt=zt.slice(0,1)),oe.uploadFiles(zt);case 14:case"end":return Mt.stop()}},dt)}));return function(dt){return Re.apply(this,arguments)}}()),(0,j.Z)((0,b.Z)(oe),"uploadFiles",function(Re){var dt=(0,C.Z)(Re),st=dt.map(function(it){return it.uid=Ee(),oe.processFile(it,dt)});Promise.all(st).then(function(it){var lt=oe.props.onBatchStart;lt==null||lt(it.map(function(zt){var nn=zt.origin,Mt=zt.parsedFile;return{file:nn,parsedFile:Mt}})),it.filter(function(zt){return zt.parsedFile!==null}).forEach(function(zt){oe.post(zt)})})}),(0,j.Z)((0,b.Z)(oe),"processFile",function(){var Re=(0,I.Z)((0,v.Z)().mark(function dt(st,it){var lt,zt,nn,Mt,en,rn,rt,tt,Be;return(0,v.Z)().wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(lt=oe.props.beforeUpload,zt=st,!lt){Ue.next=14;break}return Ue.prev=3,Ue.next=6,lt(st,it);case 6:zt=Ue.sent,Ue.next=12;break;case 9:Ue.prev=9,Ue.t0=Ue.catch(3),zt=!1;case 12:if(zt!==!1){Ue.next=14;break}return Ue.abrupt("return",{origin:st,parsedFile:null,action:null,data:null});case 14:if(nn=oe.props.action,typeof nn!="function"){Ue.next=21;break}return Ue.next=18,nn(st);case 18:Mt=Ue.sent,Ue.next=22;break;case 21:Mt=nn;case 22:if(en=oe.props.data,typeof en!="function"){Ue.next=29;break}return Ue.next=26,en(st);case 26:rn=Ue.sent,Ue.next=30;break;case 29:rn=en;case 30:return rt=((0,U.Z)(zt)==="object"||typeof zt=="string")&&zt?zt:st,rt instanceof File?tt=rt:tt=new File([rt],st.name,{type:st.type}),Be=tt,Be.uid=st.uid,Ue.abrupt("return",{origin:st,data:rn,parsedFile:Be,action:Mt});case 35:case"end":return Ue.stop()}},dt,null,[[3,9]])}));return function(dt,st){return Re.apply(this,arguments)}}()),(0,j.Z)((0,b.Z)(oe),"saveFileInput",function(Re){oe.fileInput=Re}),oe}return(0,T.Z)(L,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(M){var De=this,Fe=M.data,Re=M.origin,dt=M.action,st=M.parsedFile;if(this._isMounted){var it=this.props,lt=it.onStart,zt=it.customRequest,nn=it.name,Mt=it.headers,en=it.withCredentials,rn=it.method,rt=Re.uid,tt=zt||W,Be={action:dt,filename:nn,data:Fe,file:st,headers:Mt,withCredentials:en,method:rn||"post",onProgress:function(Ue){var $e=De.props.onProgress;$e==null||$e(Ue,st)},onSuccess:function(Ue,$e){var ee=De.props.onSuccess;ee==null||ee(Ue,st,$e),delete De.reqs[rt]},onError:function(Ue,$e){var ee=De.props.onError;ee==null||ee(Ue,$e,st),delete De.reqs[rt]}};lt(Re),this.reqs[rt]=tt(Be)}}},{key:"reset",value:function(){this.setState({uid:Ee()})}},{key:"abort",value:function(M){var De=this.reqs;if(M){var Fe=M.uid?M.uid:M;De[Fe]&&De[Fe].abort&&De[Fe].abort(),delete De[Fe]}else Object.keys(De).forEach(function(Re){De[Re]&&De[Re].abort&&De[Re].abort(),delete De[Re]})}},{key:"render",value:function(){var M=this.props,De=M.component,Fe=M.prefixCls,Re=M.className,dt=M.classNames,st=dt===void 0?{}:dt,it=M.disabled,lt=M.id,zt=M.name,nn=M.style,Mt=M.styles,en=Mt===void 0?{}:Mt,rn=M.multiple,rt=M.accept,tt=M.capture,Be=M.children,Oe=M.directory,Ue=M.openFileDialogOnClick,$e=M.onMouseEnter,ee=M.onMouseLeave,ye=M.hasControlInside,Ne=(0,Q.Z)(M,he),Ie=X()((0,j.Z)((0,j.Z)((0,j.Z)({},Fe,!0),"".concat(Fe,"-disabled"),it),Re,Re)),ze=Oe?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},He=it?{}:{onClick:Ue?this.onClick:function(){},onKeyDown:Ue?this.onKeyDown:function(){},onMouseEnter:$e,onMouseLeave:ee,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:ye?void 0:"0"};return G.createElement(De,(0,a.Z)({},He,{className:Ie,role:ye?void 0:"button",style:nn}),G.createElement("input",(0,a.Z)({},(0,V.Z)(Ne,{aria:!0,data:!0}),{id:lt,name:zt,disabled:it,type:"file",ref:this.saveFileInput,onClick:function(Ke){return Ke.stopPropagation()},key:this.state.uid,style:(0,u.Z)({display:"none"},en.input),className:st.input,accept:rt},ze,{multiple:rn,onChange:this.onChange},tt!=null?{capture:tt}:{})),Be)}}]),L}(G.Component),J=ve;function Z(){}var ie=function(ae){(0,_.Z)(L,ae);var w=(0,h.Z)(L);function L(){var oe;(0,y.Z)(this,L);for(var M=arguments.length,De=new Array(M),Fe=0;Fe<M;Fe++)De[Fe]=arguments[Fe];return oe=w.call.apply(w,[this].concat(De)),(0,j.Z)((0,b.Z)(oe),"uploader",void 0),(0,j.Z)((0,b.Z)(oe),"saveUploader",function(Re){oe.uploader=Re}),oe}return(0,T.Z)(L,[{key:"abort",value:function(M){this.uploader.abort(M)}},{key:"render",value:function(){return G.createElement(J,(0,a.Z)({},this.props,{ref:this.saveUploader}))}}]),L}(G.Component);(0,j.Z)(ie,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Z,onError:Z,onSuccess:Z,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var ue=ie,fe=ue},8224:function(k,p,o){"use strict";o.d(p,{Z:function(){return y}});var a=o(4676);function y(T,b,_,h){var j=a.unstable_batchedUpdates?function(u){a.unstable_batchedUpdates(_,u)}:_;return T!=null&&T.addEventListener&&T.addEventListener(b,j,h),{remove:function(){T!=null&&T.removeEventListener&&T.removeEventListener(b,j,h)}}}},49658:function(k,p){"use strict";p.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var o=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(o)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(o==null?void 0:o.substr(0,4))}},83145:function(k,p,o){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.CopyToClipboard=void 0;var a=T(o(59301)),y=T(o(25769));function T(N){return N&&N.__esModule?N:{default:N}}function b(N){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(B){return typeof B}:b=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},b(N)}function _(N,F){var B=Object.keys(N);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(N);F&&(W=W.filter(function(H){return Object.getOwnPropertyDescriptor(N,H).enumerable})),B.push.apply(B,W)}return B}function h(N){for(var F=1;F<arguments.length;F++){var B=arguments[F]!=null?arguments[F]:{};F%2?_(B,!0).forEach(function(W){V(N,W,B[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(B)):_(B).forEach(function(W){Object.defineProperty(N,W,Object.getOwnPropertyDescriptor(B,W))})}return N}function j(N,F){if(N==null)return{};var B=G(N,F),W,H;if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(N);for(H=0;H<le.length;H++)W=le[H],!(F.indexOf(W)>=0)&&Object.prototype.propertyIsEnumerable.call(N,W)&&(B[W]=N[W])}return B}function G(N,F){if(N==null)return{};var B={},W=Object.keys(N),H,le;for(le=0;le<W.length;le++)H=W[le],!(F.indexOf(H)>=0)&&(B[H]=N[H]);return B}function u(N,F){if(!(N instanceof F))throw new TypeError("Cannot call a class as a function")}function Q(N,F){for(var B=0;B<F.length;B++){var W=F[B];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(N,W.key,W)}}function U(N,F,B){return F&&Q(N.prototype,F),B&&Q(N,B),N}function v(N,F){return F&&(b(F)==="object"||typeof F=="function")?F:C(N)}function I(N){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},I(N)}function C(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function P(N,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(F&&F.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),F&&X(N,F)}function X(N,F){return X=Object.setPrototypeOf||function(W,H){return W.__proto__=H,W},X(N,F)}function V(N,F,B){return F in N?Object.defineProperty(N,F,{value:B,enumerable:!0,configurable:!0,writable:!0}):N[F]=B,N}var z=function(N){P(F,N);function F(){var B,W;u(this,F);for(var H=arguments.length,le=new Array(H),te=0;te<H;te++)le[te]=arguments[te];return W=v(this,(B=I(F)).call.apply(B,[this].concat(le))),V(C(W),"onClick",function(se){var Ee=W.props,he=Ee.text,ve=Ee.onCopy,J=Ee.children,Z=Ee.options,ie=a.default.Children.only(J),ue=(0,y.default)(he,Z);ve&&ve(he,ue),ie&&ie.props&&typeof ie.props.onClick=="function"&&ie.props.onClick(se)}),W}return U(F,[{key:"render",value:function(){var W=this.props,H=W.text,le=W.onCopy,te=W.options,se=W.children,Ee=j(W,["text","onCopy","options","children"]),he=a.default.Children.only(se);return a.default.cloneElement(he,h({},Ee,{onClick:this.onClick}))}}]),F}(a.default.PureComponent);p.CopyToClipboard=z,V(z,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(k,p,o){"use strict";var a=o(83145),y=a.CopyToClipboard;y.CopyToClipboard=y,k.exports=y},77596:function(k,p,o){"use strict";o.d(p,{Z:function(){return oe}});var a=o(74416),y=o(80702),T=o(49618),b=o(59301),_=o(72308);function h(M,De){var Fe=Object.keys(M);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(M);De&&(Re=Re.filter(function(dt){return Object.getOwnPropertyDescriptor(M,dt).enumerable})),Fe.push.apply(Fe,Re)}return Fe}function j(M){for(var De=1;De<arguments.length;De++){var Fe=arguments[De]!=null?arguments[De]:{};De%2?h(Object(Fe),!0).forEach(function(Re){(0,T.Z)(M,Re,Fe[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(Fe)):h(Object(Fe)).forEach(function(Re){Object.defineProperty(M,Re,Object.getOwnPropertyDescriptor(Fe,Re))})}return M}function G(M){var De=M.length;if(De===0||De===1)return M;if(De===2)return[M[0],M[1],"".concat(M[0],".").concat(M[1]),"".concat(M[1],".").concat(M[0])];if(De===3)return[M[0],M[1],M[2],"".concat(M[0],".").concat(M[1]),"".concat(M[0],".").concat(M[2]),"".concat(M[1],".").concat(M[0]),"".concat(M[1],".").concat(M[2]),"".concat(M[2],".").concat(M[0]),"".concat(M[2],".").concat(M[1]),"".concat(M[0],".").concat(M[1],".").concat(M[2]),"".concat(M[0],".").concat(M[2],".").concat(M[1]),"".concat(M[1],".").concat(M[0],".").concat(M[2]),"".concat(M[1],".").concat(M[2],".").concat(M[0]),"".concat(M[2],".").concat(M[0],".").concat(M[1]),"".concat(M[2],".").concat(M[1],".").concat(M[0])];if(De>=4)return[M[0],M[1],M[2],M[3],"".concat(M[0],".").concat(M[1]),"".concat(M[0],".").concat(M[2]),"".concat(M[0],".").concat(M[3]),"".concat(M[1],".").concat(M[0]),"".concat(M[1],".").concat(M[2]),"".concat(M[1],".").concat(M[3]),"".concat(M[2],".").concat(M[0]),"".concat(M[2],".").concat(M[1]),"".concat(M[2],".").concat(M[3]),"".concat(M[3],".").concat(M[0]),"".concat(M[3],".").concat(M[1]),"".concat(M[3],".").concat(M[2]),"".concat(M[0],".").concat(M[1],".").concat(M[2]),"".concat(M[0],".").concat(M[1],".").concat(M[3]),"".concat(M[0],".").concat(M[2],".").concat(M[1]),"".concat(M[0],".").concat(M[2],".").concat(M[3]),"".concat(M[0],".").concat(M[3],".").concat(M[1]),"".concat(M[0],".").concat(M[3],".").concat(M[2]),"".concat(M[1],".").concat(M[0],".").concat(M[2]),"".concat(M[1],".").concat(M[0],".").concat(M[3]),"".concat(M[1],".").concat(M[2],".").concat(M[0]),"".concat(M[1],".").concat(M[2],".").concat(M[3]),"".concat(M[1],".").concat(M[3],".").concat(M[0]),"".concat(M[1],".").concat(M[3],".").concat(M[2]),"".concat(M[2],".").concat(M[0],".").concat(M[1]),"".concat(M[2],".").concat(M[0],".").concat(M[3]),"".concat(M[2],".").concat(M[1],".").concat(M[0]),"".concat(M[2],".").concat(M[1],".").concat(M[3]),"".concat(M[2],".").concat(M[3],".").concat(M[0]),"".concat(M[2],".").concat(M[3],".").concat(M[1]),"".concat(M[3],".").concat(M[0],".").concat(M[1]),"".concat(M[3],".").concat(M[0],".").concat(M[2]),"".concat(M[3],".").concat(M[1],".").concat(M[0]),"".concat(M[3],".").concat(M[1],".").concat(M[2]),"".concat(M[3],".").concat(M[2],".").concat(M[0]),"".concat(M[3],".").concat(M[2],".").concat(M[1]),"".concat(M[0],".").concat(M[1],".").concat(M[2],".").concat(M[3]),"".concat(M[0],".").concat(M[1],".").concat(M[3],".").concat(M[2]),"".concat(M[0],".").concat(M[2],".").concat(M[1],".").concat(M[3]),"".concat(M[0],".").concat(M[2],".").concat(M[3],".").concat(M[1]),"".concat(M[0],".").concat(M[3],".").concat(M[1],".").concat(M[2]),"".concat(M[0],".").concat(M[3],".").concat(M[2],".").concat(M[1]),"".concat(M[1],".").concat(M[0],".").concat(M[2],".").concat(M[3]),"".concat(M[1],".").concat(M[0],".").concat(M[3],".").concat(M[2]),"".concat(M[1],".").concat(M[2],".").concat(M[0],".").concat(M[3]),"".concat(M[1],".").concat(M[2],".").concat(M[3],".").concat(M[0]),"".concat(M[1],".").concat(M[3],".").concat(M[0],".").concat(M[2]),"".concat(M[1],".").concat(M[3],".").concat(M[2],".").concat(M[0]),"".concat(M[2],".").concat(M[0],".").concat(M[1],".").concat(M[3]),"".concat(M[2],".").concat(M[0],".").concat(M[3],".").concat(M[1]),"".concat(M[2],".").concat(M[1],".").concat(M[0],".").concat(M[3]),"".concat(M[2],".").concat(M[1],".").concat(M[3],".").concat(M[0]),"".concat(M[2],".").concat(M[3],".").concat(M[0],".").concat(M[1]),"".concat(M[2],".").concat(M[3],".").concat(M[1],".").concat(M[0]),"".concat(M[3],".").concat(M[0],".").concat(M[1],".").concat(M[2]),"".concat(M[3],".").concat(M[0],".").concat(M[2],".").concat(M[1]),"".concat(M[3],".").concat(M[1],".").concat(M[0],".").concat(M[2]),"".concat(M[3],".").concat(M[1],".").concat(M[2],".").concat(M[0]),"".concat(M[3],".").concat(M[2],".").concat(M[0],".").concat(M[1]),"".concat(M[3],".").concat(M[2],".").concat(M[1],".").concat(M[0])]}var u={};function Q(M){if(M.length===0||M.length===1)return M;var De=M.join(".");return u[De]||(u[De]=G(M)),u[De]}function U(M){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Fe=arguments.length>2?arguments[2]:void 0,Re=M.filter(function(st){return st!=="token"}),dt=Q(Re);return dt.reduce(function(st,it){return j(j({},st),Fe[it])},De)}function v(M){return M.join(" ")}function I(M,De){var Fe=0;return function(Re){return Fe+=1,Re.map(function(dt,st){return C({node:dt,stylesheet:M,useInlineStyles:De,key:"code-segment-".concat(Fe,"-").concat(st)})})}}function C(M){var De=M.node,Fe=M.stylesheet,Re=M.style,dt=Re===void 0?{}:Re,st=M.useInlineStyles,it=M.key,lt=De.properties,zt=De.type,nn=De.tagName,Mt=De.value;if(zt==="text")return Mt;if(nn){var en=I(Fe,st),rn;if(!st)rn=j(j({},lt),{},{className:v(lt.className)});else{var rt=Object.keys(Fe).reduce(function(Ue,$e){return $e.split(".").forEach(function(ee){Ue.includes(ee)||Ue.push(ee)}),Ue},[]),tt=lt.className&&lt.className.includes("token")?["token"]:[],Be=lt.className&&tt.concat(lt.className.filter(function(Ue){return!rt.includes(Ue)}));rn=j(j({},lt),{},{className:v(Be)||void 0,style:U(lt.className,Object.assign({},lt.style,dt),Fe)})}var Oe=en(De.children);return b.createElement(nn,(0,_.Z)({key:it},rn),Oe)}}var P=function(M,De){var Fe=M.listLanguages();return Fe.indexOf(De)!==-1},X=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function V(M,De){var Fe=Object.keys(M);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(M);De&&(Re=Re.filter(function(dt){return Object.getOwnPropertyDescriptor(M,dt).enumerable})),Fe.push.apply(Fe,Re)}return Fe}function z(M){for(var De=1;De<arguments.length;De++){var Fe=arguments[De]!=null?arguments[De]:{};De%2?V(Object(Fe),!0).forEach(function(Re){(0,T.Z)(M,Re,Fe[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(Fe)):V(Object(Fe)).forEach(function(Re){Object.defineProperty(M,Re,Object.getOwnPropertyDescriptor(Fe,Re))})}return M}var N=/\n/g;function F(M){return M.match(N)}function B(M){var De=M.lines,Fe=M.startingLineNumber,Re=M.style;return De.map(function(dt,st){var it=st+Fe;return b.createElement("span",{key:"line-".concat(st),className:"react-syntax-highlighter-line-number",style:typeof Re=="function"?Re(it):Re},"".concat(it,`
`))})}function W(M){var De=M.codeString,Fe=M.codeStyle,Re=M.containerStyle,dt=Re===void 0?{float:"left",paddingRight:"10px"}:Re,st=M.numberStyle,it=st===void 0?{}:st,lt=M.startingLineNumber;return b.createElement("code",{style:Object.assign({},Fe,dt)},B({lines:De.replace(/\n$/,"").split(`
`),style:it,startingLineNumber:lt}))}function H(M){return"".concat(M.toString().length,".25em")}function le(M,De){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(M),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:De},children:[{type:"text",value:M}]}}function te(M,De,Fe){var Re={display:"inline-block",minWidth:H(Fe),paddingRight:"1em",textAlign:"right",userSelect:"none"},dt=typeof M=="function"?M(De):M,st=z(z({},Re),dt);return st}function se(M){var De=M.children,Fe=M.lineNumber,Re=M.lineNumberStyle,dt=M.largestLineNumber,st=M.showInlineLineNumbers,it=M.lineProps,lt=it===void 0?{}:it,zt=M.className,nn=zt===void 0?[]:zt,Mt=M.showLineNumbers,en=M.wrapLongLines,rn=M.wrapLines,rt=rn===void 0?!1:rn,tt=rt?z({},typeof lt=="function"?lt(Fe):lt):{};if(tt.className=tt.className?[].concat((0,y.Z)(tt.className.trim().split(/\s+/)),(0,y.Z)(nn)):nn,Fe&&st){var Be=te(Re,Fe,dt);De.unshift(le(Fe,Be))}return en&Mt&&(tt.style=z({display:"flex"},tt.style)),{type:"element",tagName:"span",properties:tt,children:De}}function Ee(M){for(var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Re=0;Re<M.length;Re++){var dt=M[Re];if(dt.type==="text")Fe.push(se({children:[dt],className:(0,y.Z)(new Set(De))}));else if(dt.children){var st=De.concat(dt.properties.className);Ee(dt.children,st).forEach(function(it){return Fe.push(it)})}}return Fe}function he(M,De,Fe,Re,dt,st,it,lt,zt){var nn,Mt=Ee(M.value),en=[],rn=-1,rt=0;function tt(Ne,Ie){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return se({children:Ne,lineNumber:Ie,lineNumberStyle:lt,largestLineNumber:it,showInlineLineNumbers:dt,lineProps:Fe,className:ze,showLineNumbers:Re,wrapLongLines:zt,wrapLines:De})}function Be(Ne,Ie){if(Re&&Ie&&dt){var ze=te(lt,Ie,it);Ne.unshift(le(Ie,ze))}return Ne}function Oe(Ne,Ie){var ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return De||ze.length>0?tt(Ne,Ie,ze):Be(Ne,Ie)}for(var Ue=function(){var Ie=Mt[rt],ze=Ie.children[0].value,He=F(ze);if(He){var Je=ze.split(`
`);Je.forEach(function(Ke,je){var _e=Re&&en.length+st,Qe={type:"text",value:"".concat(Ke,`
`)};if(je===0){var Me=Mt.slice(rn+1,rt).concat(se({children:[Qe],className:Ie.properties.className})),Pe=Oe(Me,_e);en.push(Pe)}else if(je===Je.length-1){var Le=Mt[rt+1]&&Mt[rt+1].children&&Mt[rt+1].children[0],ht={type:"text",value:"".concat(Ke)};if(Le){var nt=se({children:[ht],className:Ie.properties.className});Mt.splice(rt+1,0,nt)}else{var re=[ht],ut=Oe(re,_e,Ie.properties.className);en.push(ut)}}else{var Ze=[Qe],Se=Oe(Ze,_e,Ie.properties.className);en.push(Se)}}),rn=rt}rt++};rt<Mt.length;)Ue();if(rn!==Mt.length-1){var $e=Mt.slice(rn+1,Mt.length);if($e&&$e.length){var ee=Re&&en.length+st,ye=Oe($e,ee);en.push(ye)}}return De?en:(nn=[]).concat.apply(nn,en)}function ve(M){var De=M.rows,Fe=M.stylesheet,Re=M.useInlineStyles;return De.map(function(dt,st){return C({node:dt,stylesheet:Fe,useInlineStyles:Re,key:"code-segement".concat(st)})})}function J(M){return M&&typeof M.highlightAuto!="undefined"}function Z(M){var De=M.astGenerator,Fe=M.language,Re=M.code,dt=M.defaultCodeValue;if(J(De)){var st=P(De,Fe);return Fe==="text"?{value:dt,language:"text"}:st?De.highlight(Fe,Re):De.highlightAuto(Re)}try{return Fe&&Fe!=="text"?{value:De.highlight(Re,Fe)}:{value:dt}}catch(it){return{value:dt}}}function ie(M,De){return function(Re){var dt=Re.language,st=Re.children,it=Re.style,lt=it===void 0?De:it,zt=Re.customStyle,nn=zt===void 0?{}:zt,Mt=Re.codeTagProps,en=Mt===void 0?{className:dt?"language-".concat(dt):void 0,style:z(z({},lt['code[class*="language-"]']),lt['code[class*="language-'.concat(dt,'"]')])}:Mt,rn=Re.useInlineStyles,rt=rn===void 0?!0:rn,tt=Re.showLineNumbers,Be=tt===void 0?!1:tt,Oe=Re.showInlineLineNumbers,Ue=Oe===void 0?!0:Oe,$e=Re.startingLineNumber,ee=$e===void 0?1:$e,ye=Re.lineNumberContainerStyle,Ne=Re.lineNumberStyle,Ie=Ne===void 0?{}:Ne,ze=Re.wrapLines,He=Re.wrapLongLines,Je=He===void 0?!1:He,Ke=Re.lineProps,je=Ke===void 0?{}:Ke,_e=Re.renderer,Qe=Re.PreTag,Me=Qe===void 0?"pre":Qe,Pe=Re.CodeTag,Le=Pe===void 0?"code":Pe,ht=Re.code,nt=ht===void 0?(Array.isArray(st)?st[0]:st)||"":ht,re=Re.astGenerator,ut=(0,a.Z)(Re,X);re=re||M;var Ze=Be?b.createElement(W,{containerStyle:ye,codeStyle:en.style||{},numberStyle:Ie,startingLineNumber:ee,codeString:nt}):null,Se=lt.hljs||lt['pre[class*="language-"]']||{backgroundColor:"#fff"},St=J(re)?"hljs":"prismjs",tn=rt?Object.assign({},ut,{style:Object.assign({},Se,nn)}):Object.assign({},ut,{className:ut.className?"".concat(St," ").concat(ut.className):St,style:Object.assign({},nn)});if(Je?en.style=z({whiteSpace:"pre-wrap"},en.style):en.style=z({whiteSpace:"pre"},en.style),!re)return b.createElement(Me,tn,Ze,b.createElement(Le,en,nt));(ze===void 0&&_e||Je)&&(ze=!0),_e=_e||ve;var gt=[{type:"text",value:nt}],Xe=Z({astGenerator:re,language:dt,code:nt,defaultCodeValue:gt});Xe.language===null&&(Xe.value=gt);var qe=Xe.value.length;qe===1&&Xe.value[0].type==="text"&&(qe=Xe.value[0].value.split(`
`).length);var Ge=qe+ee,ke=he(Xe,ze,je,Be,Ue,ee,Ge,Ie,Je);return b.createElement(Me,tn,b.createElement(Le,en,!Ue&&Ze,_e({rows:ke,stylesheet:lt,useInlineStyles:rt})))}}var ue={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},fe=o(11594),ae=o.n(fe),w=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],L=ie(ae(),ue);L.supportedLanguages=w;var oe=L},14179:function(k,p){"use strict";p.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(k,p,o){"use strict";o(84126);var a=o(59301),y=60103;if(p.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var T=Symbol.for;y=T("react.element"),p.Fragment=T("react.fragment")}var b=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_=Object.prototype.hasOwnProperty,h={key:!0,ref:!0,__self:!0,__source:!0};function j(G,u,Q){var U,v={},I=null,C=null;Q!==void 0&&(I=""+Q),u.key!==void 0&&(I=""+u.key),u.ref!==void 0&&(C=u.ref);for(U in u)_.call(u,U)&&!h.hasOwnProperty(U)&&(v[U]=u[U]);if(G&&G.defaultProps)for(U in u=G.defaultProps,u)v[U]===void 0&&(v[U]=u[U]);return{$$typeof:y,type:G,key:I,ref:C,props:v,_owner:b.current}}p.jsx=j,p.jsxs=j},37712:function(k,p,o){"use strict";k.exports=o(19524)},95489:function(k,p,o){"use strict";var a=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof o.g=="object"?o.g:{},y=W();a.Prism={manual:!0,disableWorkerMessageHandler:!0};var T=o(43621),b=o(12256),_=o(68398),h=o(70614),j=o(54212),G=o(9720),u=o(88786);y();var Q={}.hasOwnProperty;function U(){}U.prototype=_;var v=new U;k.exports=v,v.highlight=P,v.register=I,v.alias=C,v.registered=X,v.listLanguages=V,I(h),I(j),I(G),I(u),v.util.encode=F,v.Token.stringify=z;function I(H){if(typeof H!="function"||!H.displayName)throw new Error("Expected `function` for `grammar`, got `"+H+"`");v.languages[H.displayName]===void 0&&H(v)}function C(H,le){var te=v.languages,se=H,Ee,he,ve,J;le&&(se={},se[H]=le);for(Ee in se)for(he=se[Ee],he=typeof he=="string"?[he]:he,ve=he.length,J=-1;++J<ve;)te[he[J]]=te[Ee]}function P(H,le){var te=_.highlight,se;if(typeof H!="string")throw new Error("Expected `string` for `value`, got `"+H+"`");if(v.util.type(le)==="Object")se=le,le=null;else{if(typeof le!="string")throw new Error("Expected `string` for `name`, got `"+le+"`");if(Q.call(v.languages,le))se=v.languages[le];else throw new Error("Unknown language: `"+le+"` is not registered")}return te.call(this,H,se,le)}function X(H){if(typeof H!="string")throw new Error("Expected `string` for `language`, got `"+H+"`");return Q.call(v.languages,H)}function V(){var H=v.languages,le=[],te;for(te in H)Q.call(H,te)&&typeof H[te]=="object"&&le.push(te);return le}function z(H,le,te){var se;return typeof H=="string"?{type:"text",value:H}:v.util.type(H)==="Array"?N(H,le):(se={type:H.type,content:v.Token.stringify(H.content,le,te),tag:"span",classes:["token",H.type],attributes:{},language:le,parent:te},H.alias&&(se.classes=se.classes.concat(H.alias)),v.hooks.run("wrap",se),T(se.tag+"."+se.classes.join("."),B(se.attributes),se.content))}function N(H,le){for(var te=[],se=H.length,Ee=-1,he;++Ee<se;)he=H[Ee],he!==""&&he!==null&&he!==void 0&&te.push(he);for(Ee=-1,se=te.length;++Ee<se;)he=te[Ee],te[Ee]=v.Token.stringify(he,le,te);return te}function F(H){return H}function B(H){var le;for(le in H)H[le]=b(H[le]);return H}function W(){var H="Prism"in a,le=H?a.Prism:void 0;return te;function te(){H?a.Prism=le:delete a.Prism,H=void 0,le=void 0}}},11594:function(k,p,o){"use strict";var a=o(95489);k.exports=a,a.register(o(79007)),a.register(o(15465)),a.register(o(42746)),a.register(o(93281)),a.register(o(95143)),a.register(o(65924)),a.register(o(65043)),a.register(o(43556)),a.register(o(14901)),a.register(o(4248)),a.register(o(17758)),a.register(o(33335)),a.register(o(17427)),a.register(o(22956)),a.register(o(56007)),a.register(o(45652)),a.register(o(33819)),a.register(o(84230)),a.register(o(20803)),a.register(o(65235)),a.register(o(52406)),a.register(o(79571)),a.register(o(3058)),a.register(o(51422)),a.register(o(1618)),a.register(o(2505)),a.register(o(51274)),a.register(o(23796)),a.register(o(13979)),a.register(o(87994)),a.register(o(47035)),a.register(o(36142)),a.register(o(85290)),a.register(o(7407)),a.register(o(79440)),a.register(o(7110)),a.register(o(73435)),a.register(o(91372)),a.register(o(63663)),a.register(o(92987)),a.register(o(91657)),a.register(o(34367)),a.register(o(35348)),a.register(o(26841)),a.register(o(87071)),a.register(o(13652)),a.register(o(87648)),a.register(o(10617)),a.register(o(5348)),a.register(o(71053)),a.register(o(69820)),a.register(o(41929)),a.register(o(51837)),a.register(o(4182)),a.register(o(22117)),a.register(o(95627)),a.register(o(34265)),a.register(o(50618)),a.register(o(32126)),a.register(o(26737)),a.register(o(90134)),a.register(o(51348)),a.register(o(60841)),a.register(o(42857)),a.register(o(81269)),a.register(o(31134)),a.register(o(83125)),a.register(o(9438)),a.register(o(27771)),a.register(o(86549)),a.register(o(37079)),a.register(o(59250)),a.register(o(81226)),a.register(o(65245)),a.register(o(25040)),a.register(o(40284)),a.register(o(39187)),a.register(o(34302)),a.register(o(90515)),a.register(o(33534)),a.register(o(9885)),a.register(o(76364)),a.register(o(56452)),a.register(o(8477)),a.register(o(58230)),a.register(o(66192)),a.register(o(81084)),a.register(o(50318)),a.register(o(95769)),a.register(o(14155)),a.register(o(92823)),a.register(o(63092)),a.register(o(21550)),a.register(o(29710)),a.register(o(2050)),a.register(o(67967)),a.register(o(29138)),a.register(o(67915)),a.register(o(54853)),a.register(o(68330)),a.register(o(76823)),a.register(o(86712)),a.register(o(72252)),a.register(o(78634)),a.register(o(43583)),a.register(o(23328)),a.register(o(74494)),a.register(o(46745)),a.register(o(22152)),a.register(o(83698)),a.register(o(26619)),a.register(o(53990)),a.register(o(7093)),a.register(o(4005)),a.register(o(53510)),a.register(o(24799)),a.register(o(97443)),a.register(o(80746)),a.register(o(17015)),a.register(o(89246)),a.register(o(487)),a.register(o(79539)),a.register(o(15628)),a.register(o(14320)),a.register(o(73222)),a.register(o(92486)),a.register(o(24103)),a.register(o(40604)),a.register(o(23109)),a.register(o(32082)),a.register(o(77674)),a.register(o(37524)),a.register(o(6658)),a.register(o(24824)),a.register(o(22776)),a.register(o(89700)),a.register(o(99296)),a.register(o(39940)),a.register(o(34973)),a.register(o(98135)),a.register(o(36907)),a.register(o(3567)),a.register(o(23763)),a.register(o(33978)),a.register(o(40472)),a.register(o(44695)),a.register(o(53885)),a.register(o(51478)),a.register(o(16928)),a.register(o(13586)),a.register(o(37164)),a.register(o(25153)),a.register(o(33245)),a.register(o(32218)),a.register(o(65626)),a.register(o(60090)),a.register(o(40722)),a.register(o(37783)),a.register(o(41224)),a.register(o(71365)),a.register(o(42846)),a.register(o(32964)),a.register(o(78830)),a.register(o(88799)),a.register(o(66791)),a.register(o(41735)),a.register(o(13490)),a.register(o(7383)),a.register(o(66894)),a.register(o(45779)),a.register(o(27734)),a.register(o(91889)),a.register(o(55965)),a.register(o(37326)),a.register(o(92949)),a.register(o(5681)),a.register(o(70696)),a.register(o(35790)),a.register(o(25777)),a.register(o(65889)),a.register(o(53852)),a.register(o(97719)),a.register(o(63839)),a.register(o(67623)),a.register(o(32530)),a.register(o(8938)),a.register(o(55259)),a.register(o(67411)),a.register(o(15375)),a.register(o(12093)),a.register(o(83588)),a.register(o(94127)),a.register(o(21294)),a.register(o(38709)),a.register(o(15008)),a.register(o(96549)),a.register(o(5221)),a.register(o(27447)),a.register(o(73191)),a.register(o(75542)),a.register(o(50323)),a.register(o(44298)),a.register(o(9634)),a.register(o(75266)),a.register(o(48139)),a.register(o(97534)),a.register(o(90826)),a.register(o(63919)),a.register(o(68862)),a.register(o(39523)),a.register(o(31207)),a.register(o(75308)),a.register(o(45315)),a.register(o(13794)),a.register(o(41299)),a.register(o(98177)),a.register(o(48780)),a.register(o(79793)),a.register(o(52085)),a.register(o(65411)),a.register(o(84750)),a.register(o(88216)),a.register(o(66433)),a.register(o(34855)),a.register(o(12998)),a.register(o(10202)),a.register(o(41186)),a.register(o(68963)),a.register(o(5569)),a.register(o(69435)),a.register(o(42766)),a.register(o(46449)),a.register(o(89032)),a.register(o(40241)),a.register(o(24812)),a.register(o(16747)),a.register(o(73584)),a.register(o(79243)),a.register(o(31788)),a.register(o(60871)),a.register(o(21023)),a.register(o(14693)),a.register(o(8743)),a.register(o(1689)),a.register(o(69210)),a.register(o(58710)),a.register(o(60452)),a.register(o(92784)),a.register(o(36489)),a.register(o(78380)),a.register(o(10409)),a.register(o(6539)),a.register(o(82028)),a.register(o(62282)),a.register(o(55686)),a.register(o(70889)),a.register(o(37116)),a.register(o(66963)),a.register(o(21078)),a.register(o(96198)),a.register(o(17723)),a.register(o(67771)),a.register(o(30307)),a.register(o(8921)),a.register(o(13429)),a.register(o(65197)),a.register(o(88904)),a.register(o(35)),a.register(o(86095)),a.register(o(76998)),a.register(o(14409)),a.register(o(33460)),a.register(o(28108))},79007:function(k){"use strict";k.exports=p,p.displayName="abap",p.aliases=[];function p(o){o.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(k){"use strict";k.exports=p,p.displayName="abnf",p.aliases=[];function p(o){(function(a){var y="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";a.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+y+"|<"+y+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(o)}},42746:function(k){"use strict";k.exports=p,p.displayName="actionscript",p.aliases=[];function p(o){o.languages.actionscript=o.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),o.languages.actionscript["class-name"].alias="function",delete o.languages.actionscript.parameter,delete o.languages.actionscript["literal-property"],o.languages.markup&&o.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:o.languages.markup}})}},93281:function(k){"use strict";k.exports=p,p.displayName="ada",p.aliases=[];function p(o){o.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(k){"use strict";k.exports=p,p.displayName="agda",p.aliases=[];function p(o){(function(a){a.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(o)}},65924:function(k){"use strict";k.exports=p,p.displayName="al",p.aliases=[];function p(o){o.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(k){"use strict";k.exports=p,p.displayName="antlr4",p.aliases=["g4"];function p(o){o.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},o.languages.g4=o.languages.antlr4}},43556:function(k){"use strict";k.exports=p,p.displayName="apacheconf",p.aliases=[];function p(o){o.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(k,p,o){"use strict";var a=o(69435);k.exports=y,y.displayName="apex",y.aliases=[];function y(T){T.register(a),function(b){var _=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,h=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return _.source});function j(u){return RegExp(u.replace(/<CLASS-NAME>/g,function(){return h}),"i")}var G={keyword:_,punctuation:/[()\[\]{};,:.<>]/};b.languages.apex={comment:b.languages.clike.comment,string:b.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:b.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:j(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:G},{pattern:j(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:G},{pattern:j(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:G}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:_,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(T)}},4248:function(k){"use strict";k.exports=p,p.displayName="apl",p.aliases=[];function p(o){o.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(k){"use strict";k.exports=p,p.displayName="applescript",p.aliases=[];function p(o){o.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(k){"use strict";k.exports=p,p.displayName="aql",p.aliases=[];function p(o){o.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(k,p,o){"use strict";var a=o(87071);k.exports=y,y.displayName="arduino",y.aliases=["ino"];function y(T){T.register(a),T.languages.arduino=T.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),T.languages.ino=T.languages.arduino}},22956:function(k){"use strict";k.exports=p,p.displayName="arff",p.aliases=[];function p(o){o.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(k){"use strict";k.exports=p,p.displayName="asciidoc",p.aliases=["adoc"];function p(o){(function(a){var y={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},T=a.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:y,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:y.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:y,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function b(_){_=_.split(" ");for(var h={},j=0,G=_.length;j<G;j++)h[_[j]]=T[_[j]];return h}y.inside.interpreted.inside.rest=b("macro inline replacement entity"),T["passthrough-block"].inside.rest=b("macro"),T["literal-block"].inside.rest=b("callout"),T.table.inside.rest=b("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),T["other-block"].inside.rest=b("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),T.title.inside.rest=b("macro inline replacement entity"),a.hooks.add("wrap",function(_){_.type==="entity"&&(_.attributes.title=_.content.value.replace(/&amp;/,"&"))}),a.languages.adoc=a.languages.asciidoc})(o)}},45652:function(k){"use strict";k.exports=p,p.displayName="asm6502",p.aliases=[];function p(o){o.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}},33819:function(k){"use strict";k.exports=p,p.displayName="asmatmel",p.aliases=[];function p(o){o.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(k,p,o){"use strict";var a=o(87648);k.exports=y,y.displayName="aspnet",y.aliases=[];function y(T){T.register(a),T.languages.aspnet=T.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:T.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:T.languages.csharp}}}),T.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,T.languages.insertBefore("inside","punctuation",{directive:T.languages.aspnet.directive},T.languages.aspnet.tag.inside["attr-value"]),T.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),T.languages.insertBefore("aspnet",T.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:T.languages.csharp||{}}})}},20803:function(k){"use strict";k.exports=p,p.displayName="autohotkey",p.aliases=[];function p(o){o.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(k){"use strict";k.exports=p,p.displayName="autoit",p.aliases=[];function p(o){o.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(k){"use strict";k.exports=p,p.displayName="avisynth",p.aliases=["avs"];function p(o){(function(a){function y(u,Q){return u.replace(/<<(\d+)>>/g,function(U,v){return Q[+v]})}function T(u,Q,U){return RegExp(y(u,Q),U||"")}var b=/bool|clip|float|int|string|val/.source,_=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),h=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),j=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),G=[_,h,j].join("|");a.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:T(/\b(?:<<0>>)\s+("?)\w+\1/.source,[b],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:T(/\b(?:<<0>>)\b/.source,[G],"i"),alias:"function"},"type-cast":{pattern:T(/\b(?:<<0>>)(?=\s*\()/.source,[b],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},a.languages.avs=a.languages.avisynth})(o)}},79571:function(k){"use strict";k.exports=p,p.displayName="avroIdl",p.aliases=[];function p(o){o.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},o.languages.avdl=o.languages["avro-idl"]}},3058:function(k){"use strict";k.exports=p,p.displayName="bash",p.aliases=["shell"];function p(o){(function(a){var y="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",T={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},b={bash:T,environment:{pattern:RegExp("\\$"+y),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+y),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+y),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:b},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:T}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:b},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:b.entity}}],environment:{pattern:RegExp("\\$?"+y),alias:"constant"},variable:b.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},T.inside=a.languages.bash;for(var _=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],h=b.variable[1].inside,j=0;j<_.length;j++)h[_[j]]=a.languages.bash[_[j]];a.languages.shell=a.languages.bash})(o)}},51422:function(k){"use strict";k.exports=p,p.displayName="basic",p.aliases=[];function p(o){o.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(k){"use strict";k.exports=p,p.displayName="batch",p.aliases=[];function p(o){(function(a){var y=/%%?[~:\w]+%?|!\S+!/,T={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},b=/"(?:[\\"]"|[^"])*"(?!")/,_=/(?:\b|-)\d+\b/;a.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:b,parameter:T,variable:y,number:_,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:b,parameter:T,variable:y,number:_,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:b,parameter:T,variable:[y,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:_,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:b,parameter:T,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:y,number:_,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(o)}},2505:function(k){"use strict";k.exports=p,p.displayName="bbcode",p.aliases=["shortcode"];function p(o){o.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},o.languages.shortcode=o.languages.bbcode}},51274:function(k){"use strict";k.exports=p,p.displayName="bicep",p.aliases=[];function p(o){o.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},o.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=o.languages.bicep}},23796:function(k){"use strict";k.exports=p,p.displayName="birb",p.aliases=[];function p(o){o.languages.birb=o.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),o.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="bison",y.aliases=[];function y(T){T.register(a),T.languages.bison=T.languages.extend("c",{}),T.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:T.languages.c}},comment:T.languages.c.comment,string:T.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(k){"use strict";k.exports=p,p.displayName="bnf",p.aliases=["rbnf"];function p(o){o.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},o.languages.rbnf=o.languages.bnf}},47035:function(k){"use strict";k.exports=p,p.displayName="brainfuck",p.aliases=[];function p(o){o.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(k){"use strict";k.exports=p,p.displayName="brightscript",p.aliases=[];function p(o){o.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},o.languages.brightscript["directive-statement"].inside.expression.inside=o.languages.brightscript}},85290:function(k){"use strict";k.exports=p,p.displayName="bro",p.aliases=[];function p(o){o.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(k){"use strict";k.exports=p,p.displayName="bsl",p.aliases=[];function p(o){o.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},o.languages.oscript=o.languages.bsl}},79440:function(k){"use strict";k.exports=p,p.displayName="c",p.aliases=[];function p(o){o.languages.c=o.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),o.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),o.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},o.languages.c.string],char:o.languages.c.char,comment:o.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:o.languages.c}}}}),o.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete o.languages.c.boolean}},7110:function(k){"use strict";k.exports=p,p.displayName="cfscript",p.aliases=[];function p(o){o.languages.cfscript=o.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),o.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete o.languages.cfscript["class-name"],o.languages.cfc=o.languages.cfscript}},73435:function(k,p,o){"use strict";var a=o(87071);k.exports=y,y.displayName="chaiscript",y.aliases=[];function y(T){T.register(a),T.languages.chaiscript=T.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[T.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),T.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),T.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:T.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(k){"use strict";k.exports=p,p.displayName="cil",p.aliases=[];function p(o){o.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(k){"use strict";k.exports=p,p.displayName="clike",p.aliases=[];function p(o){o.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(k){"use strict";k.exports=p,p.displayName="clojure",p.aliases=[];function p(o){o.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(k){"use strict";k.exports=p,p.displayName="cmake",p.aliases=[];function p(o){o.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(k){"use strict";k.exports=p,p.displayName="cobol",p.aliases=[];function p(o){o.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(k){"use strict";k.exports=p,p.displayName="coffeescript",p.aliases=["coffee"];function p(o){(function(a){var y=/#(?!\{).+/,T={pattern:/#\{[^}]+\}/,alias:"variable"};a.languages.coffeescript=a.languages.extend("javascript",{comment:y,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:T}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),a.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:y,interpolation:T}}}),a.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:a.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:T}}]}),a.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete a.languages.coffeescript["template-string"],a.languages.coffee=a.languages.coffeescript})(o)}},35348:function(k){"use strict";k.exports=p,p.displayName="concurnas",p.aliases=["conc"];function p(o){o.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},o.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:o.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:o.languages.concurnas},string:/[\s\S]+/}}}),o.languages.conc=o.languages.concurnas}},26841:function(k){"use strict";k.exports=p,p.displayName="coq",p.aliases=[];function p(o){(function(a){for(var y=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,T=0;T<2;T++)y=y.replace(/<self>/g,function(){return y});y=y.replace(/<self>/g,"[]"),a.languages.coq={comment:RegExp(y),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return y})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(y),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(o)}},87071:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="cpp",y.aliases=[];function y(T){T.register(a),function(b){var _=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,h=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return _.source});b.languages.cpp=b.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return _.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:_,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),b.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return h})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),b.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b.languages.cpp}}}}),b.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),b.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:b.languages.extend("cpp",{})}}),b.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},b.languages.cpp["base-clause"])}(T)}},13652:function(k,p,o){"use strict";var a=o(75308);k.exports=y,y.displayName="crystal",y.aliases=[];function y(T){T.register(a),function(b){b.languages.crystal=b.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,b.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),b.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:b.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:b.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(T)}},87648:function(k){"use strict";k.exports=p,p.displayName="csharp",p.aliases=["dotnet","cs"];function p(o){(function(a){function y(w,L){return w.replace(/<<(\d+)>>/g,function(oe,M){return"(?:"+L[+M]+")"})}function T(w,L,oe){return RegExp(y(w,L),oe||"")}function b(w,L){for(var oe=0;oe<L;oe++)w=w.replace(/<<self>>/g,function(){return"(?:"+w+")"});return w.replace(/<<self>>/g,"[^\\s\\S]")}var _={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function h(w){return"\\b(?:"+w.trim().replace(/ /g,"|")+")\\b"}var j=h(_.typeDeclaration),G=RegExp(h(_.type+" "+_.typeDeclaration+" "+_.contextual+" "+_.other)),u=h(_.typeDeclaration+" "+_.contextual+" "+_.other),Q=h(_.type+" "+_.typeDeclaration+" "+_.other),U=b(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),v=b(/\((?:[^()]|<<self>>)*\)/.source,2),I=/@?\b[A-Za-z_]\w*\b/.source,C=y(/<<0>>(?:\s*<<1>>)?/.source,[I,U]),P=y(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[u,C]),X=/\[\s*(?:,\s*)*\]/.source,V=y(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[P,X]),z=y(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[U,v,X]),N=y(/\(<<0>>+(?:,<<0>>+)+\)/.source,[z]),F=y(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[N,P,X]),B={keyword:G,punctuation:/[<>()?,.:[\]]/},W=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,H=/"(?:\\.|[^\\"\r\n])*"/.source,le=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;a.languages.csharp=a.languages.extend("clike",{string:[{pattern:T(/(^|[^$\\])<<0>>/.source,[le]),lookbehind:!0,greedy:!0},{pattern:T(/(^|[^@$\\])<<0>>/.source,[H]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:T(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[P]),lookbehind:!0,inside:B},{pattern:T(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[I,F]),lookbehind:!0,inside:B},{pattern:T(/(\busing\s+)<<0>>(?=\s*=)/.source,[I]),lookbehind:!0},{pattern:T(/(\b<<0>>\s+)<<1>>/.source,[j,C]),lookbehind:!0,inside:B},{pattern:T(/(\bcatch\s*\(\s*)<<0>>/.source,[P]),lookbehind:!0,inside:B},{pattern:T(/(\bwhere\s+)<<0>>/.source,[I]),lookbehind:!0},{pattern:T(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[V]),lookbehind:!0,inside:B},{pattern:T(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[F,Q,I]),inside:B}],keyword:G,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),a.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),a.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:T(/([(,]\s*)<<0>>(?=\s*:)/.source,[I]),lookbehind:!0,alias:"punctuation"}}),a.languages.insertBefore("csharp","class-name",{namespace:{pattern:T(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[I]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:T(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[v]),lookbehind:!0,alias:"class-name",inside:B},"return-type":{pattern:T(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[F,P]),inside:B,alias:"class-name"},"constructor-invocation":{pattern:T(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[F]),lookbehind:!0,inside:B,alias:"class-name"},"generic-method":{pattern:T(/<<0>>\s*<<1>>(?=\s*\()/.source,[I,U]),inside:{function:T(/^<<0>>/.source,[I]),generic:{pattern:RegExp(U),alias:"class-name",inside:B}}},"type-list":{pattern:T(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[j,C,I,F,G.source,v,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:T(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[C,v]),lookbehind:!0,greedy:!0,inside:a.languages.csharp},keyword:G,"class-name":{pattern:RegExp(F),greedy:!0,inside:B},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var te=H+"|"+W,se=y(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[te]),Ee=b(y(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[se]),2),he=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ve=y(/<<0>>(?:\s*\(<<1>>*\))?/.source,[P,Ee]);a.languages.insertBefore("csharp","class-name",{attribute:{pattern:T(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[he,ve]),lookbehind:!0,greedy:!0,inside:{target:{pattern:T(/^<<0>>(?=\s*:)/.source,[he]),alias:"keyword"},"attribute-arguments":{pattern:T(/\(<<0>>*\)/.source,[Ee]),inside:a.languages.csharp},"class-name":{pattern:RegExp(P),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var J=/:[^}\r\n]+/.source,Z=b(y(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[se]),2),ie=y(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Z,J]),ue=b(y(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[te]),2),fe=y(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ue,J]);function ae(w,L){return{interpolation:{pattern:T(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[w]),lookbehind:!0,inside:{"format-string":{pattern:T(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[L,J]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:a.languages.csharp}}},string:/[\s\S]+/}}a.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:T(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ie]),lookbehind:!0,greedy:!0,inside:ae(ie,Z)},{pattern:T(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[fe]),lookbehind:!0,greedy:!0,inside:ae(fe,ue)}],char:{pattern:RegExp(W),greedy:!0}}),a.languages.dotnet=a.languages.cs=a.languages.csharp})(o)}},10617:function(k,p,o){"use strict";var a=o(87648);k.exports=y,y.displayName="cshtml",y.aliases=["razor"];function y(T){T.register(a),function(b){var _=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,h=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function j(V,z){for(var N=0;N<z;N++)V=V.replace(/<self>/g,function(){return"(?:"+V+")"});return V.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+h+")").replace(/<comment>/g,"(?:"+_+")")}var G=j(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),u=j(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),Q=j(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),U=j(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),v=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,I=/(?!\d)[^\s>\/=$<%]+/.source+v+/\s*\/?>/.source,C=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+v+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+I+"|"+j(/<\1/.source+v+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+I+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+I+")";b.languages.cshtml=b.languages.extend("markup",{});var P=b.languages.insertBefore("csharp","string",{html:{pattern:RegExp(C),greedy:!0,inside:b.languages.cshtml}},{csharp:b.languages.extend("csharp",{})}),X={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:P};b.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[Q,/(?:code|functions)\s*/.source+Q,/(?:for|foreach|lock|switch|using|while)\s*/.source+G+/\s*/.source+Q,/do\s*/.source+Q+/\s*while\s*/.source+G+/(?:\s*;)?/.source,/try\s*/.source+Q+/\s*catch\s*/.source+G+/\s*/.source+Q+/\s*finally\s*/.source+Q,/if\s*/.source+G+/\s*/.source+Q+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+G+")?"+/\s*/.source+Q+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:X}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:X}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+G+")(?:"+/[?!]?\.\w+\b/.source+"|"+G+"|"+u+"|"+U+G+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:X}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),b.languages.razor=b.languages.cshtml}(T)}},5348:function(k){"use strict";k.exports=p,p.displayName="csp",p.aliases=[];function p(o){(function(a){function y(T){return RegExp(/([ \t])/.source+"(?:"+T+")"+/(?=[\s;]|$)/.source,"i")}a.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:y(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:y(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:y(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:y(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:y(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:y(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:y(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(o)}},71053:function(k){"use strict";k.exports=p,p.displayName="cssExtras",p.aliases=[];function p(o){(function(a){var y=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,T;a.languages.css.selector={pattern:a.languages.css.selector.pattern,lookbehind:!0,inside:T={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+y.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[y,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},a.languages.css.atrule.inside["selector-function-argument"].inside=T,a.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var b={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},_={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};a.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:b,number:_,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:b,number:_})})(o)}},54212:function(k){"use strict";k.exports=p,p.displayName="css",p.aliases=[];function p(o){(function(a){var y=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+y.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+y.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+y.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:y,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var T=a.languages.markup;T&&(T.tag.addInlined("style","css"),T.tag.addAttribute("style","css"))})(o)}},69820:function(k){"use strict";k.exports=p,p.displayName="csv",p.aliases=[];function p(o){o.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(k){"use strict";k.exports=p,p.displayName="cypher",p.aliases=[];function p(o){o.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(k){"use strict";k.exports=p,p.displayName="d",p.aliases=[];function p(o){o.languages.d=o.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),o.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),o.languages.insertBefore("d","keyword",{property:/\B@\w*/}),o.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(k){"use strict";k.exports=p,p.displayName="dart",p.aliases=[];function p(o){(function(a){var y=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],T=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(T+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};a.languages.dart=a.languages.extend("clike",{"class-name":[b,{pattern:RegExp(T+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:y,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),a.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:a.languages.dart}}},string:/[\s\S]+/}},string:void 0}),a.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),a.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":b,keyword:y,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(o)}},22117:function(k){"use strict";k.exports=p,p.displayName="dataweave",p.aliases=[];function p(o){(function(a){a.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(o)}},95627:function(k){"use strict";k.exports=p,p.displayName="dax",p.aliases=[];function p(o){o.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(k){"use strict";k.exports=p,p.displayName="dhall",p.aliases=[];function p(o){o.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},o.languages.dhall.string.inside.interpolation.inside.expression.inside=o.languages.dhall}},50618:function(k){"use strict";k.exports=p,p.displayName="diff",p.aliases=[];function p(o){(function(a){a.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var y={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(y).forEach(function(T){var b=y[T],_=[];/^\w+$/.test(T)||_.push(/\w+/.exec(T)[0]),T==="diff"&&_.push("bold"),a.languages.diff[T]={pattern:RegExp("^(?:["+b+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:_,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(T)[0]}}}}),Object.defineProperty(a.languages.diff,"PREFIXES",{value:y})})(o)}},32126:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="django",y.aliases=["jinja2"];function y(T){T.register(a),function(b){b.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var _=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,h=b.languages["markup-templating"];b.hooks.add("before-tokenize",function(j){h.buildPlaceholders(j,"django",_)}),b.hooks.add("after-tokenize",function(j){h.tokenizePlaceholders(j,"django")}),b.languages.jinja2=b.languages.django,b.hooks.add("before-tokenize",function(j){h.buildPlaceholders(j,"jinja2",_)}),b.hooks.add("after-tokenize",function(j){h.tokenizePlaceholders(j,"jinja2")})}(T)}},26737:function(k){"use strict";k.exports=p,p.displayName="dnsZoneFile",p.aliases=[];function p(o){o.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},o.languages["dns-zone"]=o.languages["dns-zone-file"]}},90134:function(k){"use strict";k.exports=p,p.displayName="docker",p.aliases=["dockerfile"];function p(o){(function(a){var y=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,T=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return y}),b=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,_=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return b}),h={pattern:RegExp(b),greedy:!0},j={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function G(u,Q){return u=u.replace(/<OPT>/g,function(){return _}).replace(/<SP>/g,function(){return T}),RegExp(u,Q)}a.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:G(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[h,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:G(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:G(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:G(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:j,string:h,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:j},a.languages.dockerfile=a.languages.docker})(o)}},51348:function(k){"use strict";k.exports=p,p.displayName="dot",p.aliases=["gv"];function p(o){(function(a){var y="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",T={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:a.languages.markup}};function b(_,h){return RegExp(_.replace(/<ID>/g,function(){return y}),h)}a.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:b(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:T},"attr-value":{pattern:b(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:T},"attr-name":{pattern:b(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:T},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:b(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:T},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},a.languages.gv=a.languages.dot})(o)}},60841:function(k){"use strict";k.exports=p,p.displayName="ebnf",p.aliases=[];function p(o){o.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(k){"use strict";k.exports=p,p.displayName="editorconfig",p.aliases=[];function p(o){o.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(k){"use strict";k.exports=p,p.displayName="eiffel",p.aliases=[];function p(o){o.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="ejs",y.aliases=["eta"];function y(T){T.register(a),function(b){b.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:b.languages.javascript}},b.hooks.add("before-tokenize",function(_){var h=/<%(?!%)[\s\S]+?%>/g;b.languages["markup-templating"].buildPlaceholders(_,"ejs",h)}),b.hooks.add("after-tokenize",function(_){b.languages["markup-templating"].tokenizePlaceholders(_,"ejs")}),b.languages.eta=b.languages.ejs}(T)}},83125:function(k){"use strict";k.exports=p,p.displayName="elixir",p.aliases=[];function p(o){o.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},o.languages.elixir.string.forEach(function(a){a.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:o.languages.elixir}}}})}},9438:function(k){"use strict";k.exports=p,p.displayName="elm",p.aliases=[];function p(o){o.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(k,p,o){"use strict";var a=o(75308),y=o(51478);k.exports=T,T.displayName="erb",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){_.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:_.languages.ruby}},_.hooks.add("before-tokenize",function(h){var j=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;_.languages["markup-templating"].buildPlaceholders(h,"erb",j)}),_.hooks.add("after-tokenize",function(h){_.languages["markup-templating"].tokenizePlaceholders(h,"erb")})}(b)}},86549:function(k){"use strict";k.exports=p,p.displayName="erlang",p.aliases=[];function p(o){o.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(k,p,o){"use strict";var a=o(33978),y=o(51478);k.exports=T,T.displayName="etlua",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){_.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:_.languages.lua}},_.hooks.add("before-tokenize",function(h){var j=/<%[\s\S]+?%>/g;_.languages["markup-templating"].buildPlaceholders(h,"etlua",j)}),_.hooks.add("after-tokenize",function(h){_.languages["markup-templating"].tokenizePlaceholders(h,"etlua")})}(b)}},59250:function(k){"use strict";k.exports=p,p.displayName="excelFormula",p.aliases=[];function p(o){o.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},o.languages.xlsx=o.languages.xls=o.languages["excel-formula"]}},81226:function(k){"use strict";k.exports=p,p.displayName="factor",p.aliases=[];function p(o){(function(a){var y={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},T={number:/\\[^\s']|%\w/},b={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:y},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:y},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:y}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:T.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:T},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:T}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:T}},_=function(u){return(u+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},h=function(u){return new RegExp("(^|\\s)(?:"+u.map(_).join("|")+")(?=\\s|$)")},j={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(j).forEach(function(u){b[u].pattern=h(j[u])});var G=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];b.combinators.pattern=h(G),a.languages.factor=b})(o)}},65245:function(k){"use strict";k.exports=p,p.displayName="$false",p.aliases=[];function p(o){(function(a){a.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(o)}},25040:function(k){"use strict";k.exports=p,p.displayName="firestoreSecurityRules",p.aliases=[];function p(o){o.languages["firestore-security-rules"]=o.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete o.languages["firestore-security-rules"]["class-name"],o.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(k){"use strict";k.exports=p,p.displayName="flow",p.aliases=[];function p(o){(function(a){a.languages.flow=a.languages.extend("javascript",{}),a.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),a.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete a.languages.flow.parameter,a.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(a.languages.flow.keyword)||(a.languages.flow.keyword=[a.languages.flow.keyword]),a.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(o)}},39187:function(k){"use strict";k.exports=p,p.displayName="fortran",p.aliases=[];function p(o){o.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(k){"use strict";k.exports=p,p.displayName="fsharp",p.aliases=[];function p(o){o.languages.fsharp=o.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),o.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),o.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),o.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:o.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="ftl",y.aliases=[];function y(T){T.register(a),function(b){for(var _=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,h=0;h<2;h++)_=_.replace(/<expr>/g,function(){return _});_=_.replace(/<expr>/g,/[^\s\S]/.source);var j={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return _})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return _})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};j.string[1].inside.interpolation.inside.rest=j,b.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:j}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:j}}}},b.hooks.add("before-tokenize",function(G){var u=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return _}),"gi");b.languages["markup-templating"].buildPlaceholders(G,"ftl",u)}),b.hooks.add("after-tokenize",function(G){b.languages["markup-templating"].tokenizePlaceholders(G,"ftl")})}(T)}},33534:function(k){"use strict";k.exports=p,p.displayName="gap",p.aliases=[];function p(o){o.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},o.languages.gap.shell.inside.gap.inside=o.languages.gap}},9885:function(k){"use strict";k.exports=p,p.displayName="gcode",p.aliases=[];function p(o){o.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(k){"use strict";k.exports=p,p.displayName="gdscript",p.aliases=[];function p(o){o.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(k){"use strict";k.exports=p,p.displayName="gedcom",p.aliases=[];function p(o){o.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(k){"use strict";k.exports=p,p.displayName="gherkin",p.aliases=[];function p(o){(function(a){var y=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;a.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+y+")(?:"+y+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(y),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(o)}},58230:function(k){"use strict";k.exports=p,p.displayName="git",p.aliases=[];function p(o){o.languages.git={comment:/^#.*/m,deleted:/^[-].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="glsl",y.aliases=[];function y(T){T.register(a),T.languages.glsl=T.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(k){"use strict";k.exports=p,p.displayName="gml",p.aliases=[];function p(o){o.languages.gamemakerlanguage=o.languages.gml=o.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(k){"use strict";k.exports=p,p.displayName="gn",p.aliases=["gni"];function p(o){o.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},o.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=o.languages.gn,o.languages.gni=o.languages.gn}},95769:function(k){"use strict";k.exports=p,p.displayName="goModule",p.aliases=[];function p(o){o.languages["go-mod"]=o.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(k){"use strict";k.exports=p,p.displayName="go",p.aliases=[];function p(o){o.languages.go=o.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),o.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete o.languages.go["class-name"]}},92823:function(k){"use strict";k.exports=p,p.displayName="graphql",p.aliases=[];function p(o){o.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:o.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},o.hooks.add("after-tokenize",function(y){if(y.language!=="graphql")return;var T=y.tokens.filter(function(X){return typeof X!="string"&&X.type!=="comment"&&X.type!=="scalar"}),b=0;function _(X){return T[b+X]}function h(X,V){V=V||0;for(var z=0;z<X.length;z++){var N=_(z+V);if(!N||N.type!==X[z])return!1}return!0}function j(X,V){for(var z=1,N=b;N<T.length;N++){var F=T[N],B=F.content;if(F.type==="punctuation"&&typeof B=="string"){if(X.test(B))z++;else if(V.test(B)&&(z--,z===0))return N}}return-1}function G(X,V){var z=X.alias;z?Array.isArray(z)||(X.alias=z=[z]):X.alias=z=[],z.push(V)}for(;b<T.length;){var u=T[b++];if(u.type==="keyword"&&u.content==="mutation"){var Q=[];if(h(["definition-mutation","punctuation"])&&_(1).content==="("){b+=2;var U=j(/^\($/,/^\)$/);if(U===-1)continue;for(;b<U;b++){var v=_(0);v.type==="variable"&&(G(v,"variable-input"),Q.push(v.content))}b=U+1}if(h(["punctuation","property-query"])&&_(0).content==="{"&&(b++,G(_(0),"property-mutation"),Q.length>0)){var I=j(/^\{$/,/^\}$/);if(I===-1)continue;for(var C=b;C<I;C++){var P=T[C];P.type==="variable"&&Q.indexOf(P.content)>=0&&G(P,"variable-input")}}}}})}},63092:function(k){"use strict";k.exports=p,p.displayName="groovy",p.aliases=[];function p(o){o.languages.groovy=o.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),o.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),o.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),o.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),o.hooks.add("wrap",function(a){if(a.language==="groovy"&&a.type==="string"){var y=a.content.value[0];if(y!="'"){var T=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;y==="$"&&(T=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),a.content.value=a.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),a.content=o.highlight(a.content.value,{expression:{pattern:T,lookbehind:!0,inside:o.languages.groovy}}),a.classes.push(y==="/"?"regex":"gstring")}}})}},21550:function(k,p,o){"use strict";var a=o(75308);k.exports=y,y.displayName="haml",y.aliases=[];function y(T){T.register(a),function(b){b.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:b.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:b.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:b.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:b.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:b.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:b.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var _="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",h=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],j={},G=0,u=h.length;G<u;G++){var Q=h[G];Q=typeof Q=="string"?{filter:Q,language:Q}:Q,b.languages[Q.language]&&(j["filter-"+Q.filter]={pattern:RegExp(_.replace("{{filter_name}}",function(){return Q.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[Q.language,"language-"+Q.language],inside:b.languages[Q.language]}}})}b.languages.insertBefore("haml","filter",j)}(T)}},29710:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="handlebars",y.aliases=["hbs"];function y(T){T.register(a),function(b){b.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},b.hooks.add("before-tokenize",function(_){var h=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;b.languages["markup-templating"].buildPlaceholders(_,"handlebars",h)}),b.hooks.add("after-tokenize",function(_){b.languages["markup-templating"].tokenizePlaceholders(_,"handlebars")}),b.languages.hbs=b.languages.handlebars}(T)}},2050:function(k){"use strict";k.exports=p,p.displayName="haskell",p.aliases=["hs"];function p(o){o.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},o.languages.hs=o.languages.haskell}},67967:function(k){"use strict";k.exports=p,p.displayName="haxe",p.aliases=[];function p(o){o.languages.haxe=o.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),o.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:o.languages.haxe}}},string:/[\s\S]+/}}}),o.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),o.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(k){"use strict";k.exports=p,p.displayName="hcl",p.aliases=[];function p(o){o.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="hlsl",y.aliases=[];function y(T){T.register(a),T.languages.hlsl=T.languages.extend("c",{"class-name":[T.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(k){"use strict";k.exports=p,p.displayName="hoon",p.aliases=[];function p(o){o.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(k){"use strict";k.exports=p,p.displayName="hpkp",p.aliases=[];function p(o){o.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(k){"use strict";k.exports=p,p.displayName="hsts",p.aliases=[];function p(o){o.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(k){"use strict";k.exports=p,p.displayName="http",p.aliases=[];function p(o){(function(a){function y(Q){return RegExp("(^(?:"+Q+"):[ ]*(?![ ]))[^]+","i")}a.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:a.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:y(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:a.languages.csp},{pattern:y(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:a.languages.hpkp},{pattern:y(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:a.languages.hsts},{pattern:y(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var T=a.languages,b={"application/javascript":T.javascript,"application/json":T.json||T.javascript,"application/xml":T.xml,"text/xml":T.xml,"text/html":T.html,"text/css":T.css,"text/plain":T.plain},_={"application/json":!0,"application/xml":!0};function h(Q){var U=Q.replace(/^[a-z]+\//,""),v="\\w+/(?:[\\w.-]+\\+)+"+U+"(?![+\\w.-])";return"(?:"+Q+"|"+v+")"}var j;for(var G in b)if(b[G]){j=j||{};var u=_[G]?h(G):G;j[G.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+u+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:b[G]}}j&&a.languages.insertBefore("http","header",j)})(o)}},72252:function(k){"use strict";k.exports=p,p.displayName="ichigojam",p.aliases=[];function p(o){o.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(k){"use strict";k.exports=p,p.displayName="icon",p.aliases=[];function p(o){o.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(k){"use strict";k.exports=p,p.displayName="icuMessageFormat",p.aliases=[];function p(o){(function(a){function y(G,u){return u<=0?/[]/.source:G.replace(/<SELF>/g,function(){return y(G,u-1)})}var T=/'[{}:=,](?:[^']|'')*'(?!')/,b={pattern:/''/,greedy:!0,alias:"operator"},_={pattern:T,greedy:!0,inside:{escape:b}},h=y(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return T.source}),8),j={pattern:RegExp(h),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};a.languages["icu-message-format"]={argument:{pattern:RegExp(h),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":j,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":j,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+y(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:b,string:_},j.inside.message.inside=a.languages["icu-message-format"],a.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=a.languages["icu-message-format"]})(o)}},23328:function(k,p,o){"use strict";var a=o(2050);k.exports=y,y.displayName="idris",y.aliases=["idr"];function y(T){T.register(a),T.languages.idris=T.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),T.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),T.languages.idr=T.languages.idris}},74494:function(k){"use strict";k.exports=p,p.displayName="iecst",p.aliases=[];function p(o){o.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(k){"use strict";k.exports=p,p.displayName="ignore",p.aliases=["gitignore","hgignore","npmignore"];function p(o){(function(a){a.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},a.languages.gitignore=a.languages.ignore,a.languages.hgignore=a.languages.ignore,a.languages.npmignore=a.languages.ignore})(o)}},22152:function(k){"use strict";k.exports=p,p.displayName="inform7",p.aliases=[];function p(o){o.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},o.languages.inform7.string.inside.substitution.inside.rest=o.languages.inform7,o.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(k){"use strict";k.exports=p,p.displayName="ini",p.aliases=[];function p(o){o.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(k){"use strict";k.exports=p,p.displayName="io",p.aliases=[];function p(o){o.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}},53990:function(k){"use strict";k.exports=p,p.displayName="j",p.aliases=[];function p(o){o.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(k){"use strict";k.exports=p,p.displayName="java",p.aliases=[];function p(o){(function(a){var y=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,T=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,b={pattern:RegExp(T+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};a.languages.java=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[b,{pattern:RegExp(T+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:b.inside}],keyword:y,function:[a.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),a.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),a.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":b,keyword:y,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return y.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(o)}},4005:function(k,p,o){"use strict";var a=o(7093),y=o(53510);k.exports=T,T.displayName="javadoc",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){var h=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,j=/#\s*\w+(?:\s*\([^()]*\))?/.source,G=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return j});_.languages.javadoc=_.languages.extend("javadoclike",{}),_.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+G+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:_.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:h,lookbehind:!0,inside:_.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:h,lookbehind:!0,inside:{tag:_.languages.markup.tag,entity:_.languages.markup.entity,code:{pattern:/.+/,inside:_.languages.java,alias:"language-java"}}}}}],tag:_.languages.markup.tag,entity:_.languages.markup.entity}),_.languages.javadoclike.addSupport("java",_.languages.javadoc)}(b)}},53510:function(k){"use strict";k.exports=p,p.displayName="javadoclike",p.aliases=[];function p(o){(function(a){var y=a.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function T(_,h){var j="doc-comment",G=a.languages[_];if(G){var u=G[j];if(!u){var Q={};Q[j]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},G=a.languages.insertBefore(_,"comment",Q),u=G[j]}if(u instanceof RegExp&&(u=G[j]={pattern:u}),Array.isArray(u))for(var U=0,v=u.length;U<v;U++)u[U]instanceof RegExp&&(u[U]={pattern:u[U]}),h(u[U]);else h(u)}}function b(_,h){typeof _=="string"&&(_=[_]),_.forEach(function(j){T(j,function(G){G.inside||(G.inside={}),G.inside.rest=h})})}Object.defineProperty(y,"addSupport",{value:b}),y.addSupport(["java","javascript","php"],y)})(o)}},88786:function(k){"use strict";k.exports=p,p.displayName="javascript",p.aliases=["js"];function p(o){o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript}},24799:function(k){"use strict";k.exports=p,p.displayName="javastacktrace",p.aliases=[];function p(o){o.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(k){"use strict";k.exports=p,p.displayName="jexl",p.aliases=[];function p(o){o.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(k){"use strict";k.exports=p,p.displayName="jolie",p.aliases=[];function p(o){o.languages.jolie=o.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),o.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(k){"use strict";k.exports=p,p.displayName="jq",p.aliases=[];function p(o){(function(a){var y=/\\\((?:[^()]|\([^()]*\))*\)/.source,T=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return y})),b={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+y),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},_=a.languages.jq={comment:/#.*/,property:{pattern:RegExp(T.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:b},string:{pattern:T,lookbehind:!0,greedy:!0,inside:b},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};b.interpolation.inside.content.inside=_})(o)}},89246:function(k){"use strict";k.exports=p,p.displayName="jsExtras",p.aliases=[];function p(o){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function y(G,u){return RegExp(G.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),u)}a.languages.insertBefore("javascript","keyword",{imports:{pattern:y(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:y(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:y(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var T=["function","function-variable","method","method-variable","property-access"],b=0;b<T.length;b++){var _=T[b],h=a.languages.javascript[_];a.util.type(h)==="RegExp"&&(h=a.languages.javascript[_]={pattern:h});var j=h.inside||{};h.inside=j,j["maybe-class-name"]=/^[A-Z][\s\S]*/}})(o)}},487:function(k){"use strict";k.exports=p,p.displayName="jsTemplates",p.aliases=[];function p(o){(function(a){var y=a.languages.javascript["template-string"],T=y.pattern.source,b=y.inside.interpolation,_=b.inside["interpolation-punctuation"],h=b.pattern.source;function j(C,P){if(a.languages[C])return{pattern:RegExp("((?:"+P+")\\s*)"+T),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:C}}}}a.languages.javascript["template-string"]=[j("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),j("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),j("svg",/\bsvg/.source),j("markdown",/\b(?:markdown|md)/.source),j("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),j("sql",/\bsql/.source),y].filter(Boolean);function G(C,P){return"___"+P.toUpperCase()+"_"+C+"___"}function u(C,P,X){var V={code:C,grammar:P,language:X};return a.hooks.run("before-tokenize",V),V.tokens=a.tokenize(V.code,V.grammar),a.hooks.run("after-tokenize",V),V.tokens}function Q(C){var P={};P["interpolation-punctuation"]=_;var X=a.tokenize(C,P);if(X.length===3){var V=[1,1];V.push.apply(V,u(X[1],a.languages.javascript,"javascript")),X.splice.apply(X,V)}return new a.Token("interpolation",X,b.alias,C)}function U(C,P,X){var V=a.tokenize(C,{interpolation:{pattern:RegExp(h),lookbehind:!0}}),z=0,N={},F=V.map(function(le){if(typeof le=="string")return le;for(var te=le.content,se;C.indexOf(se=G(z++,X))!==-1;);return N[se]=te,se}).join(""),B=u(F,P,X),W=Object.keys(N);z=0;function H(le){for(var te=0;te<le.length;te++){if(z>=W.length)return;var se=le[te];if(typeof se=="string"||typeof se.content=="string"){var Ee=W[z],he=typeof se=="string"?se:se.content,ve=he.indexOf(Ee);if(ve!==-1){++z;var J=he.substring(0,ve),Z=Q(N[Ee]),ie=he.substring(ve+Ee.length),ue=[];if(J&&ue.push(J),ue.push(Z),ie){var fe=[ie];H(fe),ue.push.apply(ue,fe)}typeof se=="string"?(le.splice.apply(le,[te,1].concat(ue)),te+=ue.length-1):se.content=ue}}else{var ae=se.content;Array.isArray(ae)?H(ae):H([ae])}}}return H(B),new a.Token(X,B,"language-"+X,C)}var v={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};a.hooks.add("after-tokenize",function(C){if(!(C.language in v))return;function P(X){for(var V=0,z=X.length;V<z;V++){var N=X[V];if(typeof N!="string"){var F=N.content;if(!Array.isArray(F)){typeof F!="string"&&P([F]);continue}if(N.type==="template-string"){var B=F[1];if(F.length===3&&typeof B!="string"&&B.type==="embedded-code"){var W=I(B),H=B.alias,le=Array.isArray(H)?H[0]:H,te=a.languages[le];if(!te)continue;F[1]=U(W,te,le)}}else P(F)}}}P(C.tokens)});function I(C){return typeof C=="string"?C:Array.isArray(C)?C.map(I).join(""):I(C.content)}})(o)}},79539:function(k,p,o){"use strict";var a=o(53510),y=o(92784);k.exports=T,T.displayName="jsdoc",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){var h=_.languages.javascript,j=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,G="(@(?:arg|argument|param|property)\\s+(?:"+j+"\\s+)?)";_.languages.jsdoc=_.languages.extend("javadoclike",{parameter:{pattern:RegExp(G+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),_.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(G+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:h,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return j})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+j),lookbehind:!0,inside:{string:h.string,number:h.number,boolean:h.boolean,keyword:_.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:h,alias:"language-javascript"}}}}),_.languages.javadoclike.addSupport("javascript",_.languages.jsdoc)}(b)}},15628:function(k){"use strict";k.exports=p,p.displayName="json",p.aliases=["webmanifest"];function p(o){o.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},o.languages.webmanifest=o.languages.json}},14320:function(k,p,o){"use strict";var a=o(15628);k.exports=y,y.displayName="json5",y.aliases=[];function y(T){T.register(a),function(b){var _=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;b.languages.json5=b.languages.extend("json",{property:[{pattern:RegExp(_.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:_,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(T)}},73222:function(k,p,o){"use strict";var a=o(15628);k.exports=y,y.displayName="jsonp",y.aliases=[];function y(T){T.register(a),T.languages.jsonp=T.languages.extend("json",{punctuation:/[{}[\]();,.]/}),T.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(k){"use strict";k.exports=p,p.displayName="jsstacktrace",p.aliases=[];function p(o){o.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(k){"use strict";k.exports=p,p.displayName="jsx",p.aliases=[];function p(o){(function(a){var y=a.util.clone(a.languages.javascript),T=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,b=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,_=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function h(u,Q){return u=u.replace(/<S>/g,function(){return T}).replace(/<BRACES>/g,function(){return b}).replace(/<SPREAD>/g,function(){return _}),RegExp(u,Q)}_=h(_).source,a.languages.jsx=a.languages.extend("markup",y),a.languages.jsx.tag.pattern=h(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=y.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:h(/<SPREAD>/.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:h(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var j=function(u){return u?typeof u=="string"?u:typeof u.content=="string"?u.content:u.content.map(j).join(""):""},G=function(u){for(var Q=[],U=0;U<u.length;U++){var v=u[U],I=!1;if(typeof v!="string"&&(v.type==="tag"&&v.content[0]&&v.content[0].type==="tag"?v.content[0].content[0].content==="</"?Q.length>0&&Q[Q.length-1].tagName===j(v.content[0].content[1])&&Q.pop():v.content[v.content.length-1].content==="/>"||Q.push({tagName:j(v.content[0].content[1]),openedBraces:0}):Q.length>0&&v.type==="punctuation"&&v.content==="{"?Q[Q.length-1].openedBraces++:Q.length>0&&Q[Q.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?Q[Q.length-1].openedBraces--:I=!0),(I||typeof v=="string")&&Q.length>0&&Q[Q.length-1].openedBraces===0){var C=j(v);U<u.length-1&&(typeof u[U+1]=="string"||u[U+1].type==="plain-text")&&(C+=j(u[U+1]),u.splice(U+1,1)),U>0&&(typeof u[U-1]=="string"||u[U-1].type==="plain-text")&&(C=j(u[U-1])+C,u.splice(U-1,1),U--),u[U]=new a.Token("plain-text",C,null,C)}v.content&&typeof v.content!="string"&&G(v.content)}};a.hooks.add("after-tokenize",function(u){u.language!=="jsx"&&u.language!=="tsx"||G(u.tokens)})})(o)}},40604:function(k){"use strict";k.exports=p,p.displayName="julia",p.aliases=[];function p(o){o.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(k){"use strict";k.exports=p,p.displayName="keepalived",p.aliases=[];function p(o){o.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(k){"use strict";k.exports=p,p.displayName="keyman",p.aliases=[];function p(o){o.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(k){"use strict";k.exports=p,p.displayName="kotlin",p.aliases=["kt","kts"];function p(o){(function(a){a.languages.kotlin=a.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete a.languages.kotlin["class-name"];var y={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:a.languages.kotlin}};a.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:y},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:y},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete a.languages.kotlin.string,a.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),a.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),a.languages.kt=a.languages.kotlin,a.languages.kts=a.languages.kotlin})(o)}},37524:function(k){"use strict";k.exports=p,p.displayName="kumir",p.aliases=["kum"];function p(o){(function(a){var y=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function T(b,_){return RegExp(b.replace(/<nonId>/g,y),_)}a.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:T(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:T(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:T(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:T(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:T(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:T(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:T(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:T(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},a.languages.kum=a.languages.kumir})(o)}},6658:function(k){"use strict";k.exports=p,p.displayName="kusto",p.aliases=[];function p(o){o.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(k){"use strict";k.exports=p,p.displayName="latex",p.aliases=["tex","context"];function p(o){(function(a){var y=/\\(?:[^a-z()[\]]|[a-z*]+)/i,T={"equation-command":{pattern:y,alias:"regex"}};a.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:T,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:T,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:y,alias:"selector"},punctuation:/[[\]{}&]/},a.languages.tex=a.languages.latex,a.languages.context=a.languages.latex})(o)}},22776:function(k,p,o){"use strict";var a=o(51478),y=o(53852);k.exports=T,T.displayName="latte",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){_.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:_.languages.php}};var h=_.languages.extend("markup",{});_.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:_.languages.php}}}}}},h.tag),_.hooks.add("before-tokenize",function(j){if(j.language==="latte"){var G=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;_.languages["markup-templating"].buildPlaceholders(j,"latte",G),j.grammar=h}}),_.hooks.add("after-tokenize",function(j){_.languages["markup-templating"].tokenizePlaceholders(j,"latte")})}(b)}},89700:function(k){"use strict";k.exports=p,p.displayName="less",p.aliases=[];function p(o){o.languages.less=o.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),o.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(k,p,o){"use strict";var a=o(48780);k.exports=y,y.displayName="lilypond",y.aliases=[];function y(T){T.register(a),function(b){for(var _=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,h=5,j=0;j<h;j++)_=_.replace(/<expr>/g,function(){return _});_=_.replace(/<expr>/g,/[^\s\S]/.source);var G=b.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return _}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:b.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};G["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=G,b.languages.ly=G}(T)}},39940:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="liquid",y.aliases=[];function y(T){T.register(a),T.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},T.hooks.add("before-tokenize",function(b){var _=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,h=!1;T.languages["markup-templating"].buildPlaceholders(b,"liquid",_,function(j){var G=/^\{%-?\s*(\w+)/.exec(j);if(G){var u=G[1];if(u==="raw"&&!h)return h=!0,!0;if(u==="endraw")return h=!1,!0}return!h})}),T.hooks.add("after-tokenize",function(b){T.languages["markup-templating"].tokenizePlaceholders(b,"liquid")})}},34973:function(k){"use strict";k.exports=p,p.displayName="lisp",p.aliases=[];function p(o){(function(a){function y(C){return RegExp(/(\()/.source+"(?:"+C+")"+/(?=[\s\)])/.source)}function T(C){return RegExp(/([\s([])/.source+"(?:"+C+")"+/(?=[\s)])/.source)}var b=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,_="&"+b,h="(\\()",j="(?=\\))",G="(?=\\s)",u=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,Q={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+b+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+b),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+b),alias:"property"},splice:{pattern:RegExp(",@?"+b),alias:["symbol","variable"]},keyword:[{pattern:RegExp(h+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+G),lookbehind:!0},{pattern:RegExp(h+"(?:append|by|collect|concat|do|finally|for|in|return)"+G),lookbehind:!0}],declare:{pattern:y(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:y(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:T(/nil|t/.source),lookbehind:!0},number:{pattern:T(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(h+"def(?:const|custom|group|var)\\s+"+b),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(b)}},defun:{pattern:RegExp(h+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+b+/\s+\(/.source+u+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+b),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(h+"lambda\\s+\\(\\s*(?:&?"+b+"(?:\\s+&?"+b+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(h+b),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},U={"lisp-marker":RegExp(_),varform:{pattern:RegExp(/\(/.source+b+/\s+(?=\S)/.source+u+/\)/.source),inside:Q},argument:{pattern:RegExp(/(^|[\s(])/.source+b),lookbehind:!0,alias:"variable"},rest:Q},v="\\S+(?:\\s+\\S+)*",I={pattern:RegExp(h+u+j),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+v),inside:U},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+v),inside:U},keys:{pattern:RegExp("&key\\s+"+v+"(?:\\s+&allow-other-keys)?"),inside:U},argument:{pattern:RegExp(b),alias:"variable"},punctuation:/[()]/}};Q.lambda.inside.arguments=I,Q.defun.inside.arguments=a.util.clone(I),Q.defun.inside.arguments.inside.sublist=I,a.languages.lisp=Q,a.languages.elisp=Q,a.languages.emacs=Q,a.languages["emacs-lisp"]=Q})(o)}},98135:function(k){"use strict";k.exports=p,p.displayName="livescript",p.aliases=[];function p(o){o.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},o.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=o.languages.livescript}},36907:function(k){"use strict";k.exports=p,p.displayName="llvm",p.aliases=[];function p(o){(function(a){a.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(o)}},3567:function(k){"use strict";k.exports=p,p.displayName="log",p.aliases=[];function p(o){o.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:o.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(k){"use strict";k.exports=p,p.displayName="lolcode",p.aliases=[];function p(o){o.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(k){"use strict";k.exports=p,p.displayName="lua",p.aliases=[];function p(o){o.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(k){"use strict";k.exports=p,p.displayName="magma",p.aliases=[];function p(o){o.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(k){"use strict";k.exports=p,p.displayName="makefile",p.aliases=[];function p(o){o.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},53885:function(k){"use strict";k.exports=p,p.displayName="markdown",p.aliases=["md"];function p(o){(function(a){var y=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function T(U){return U=U.replace(/<inner>/g,function(){return y}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+U+")")}var b=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,_=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return b}),h=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+_+h+"(?:"+_+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+_+h+")(?:"+_+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(b),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+_+")"+h+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+_+"$"),inside:{"table-header":{pattern:RegExp(b),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:T(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:T(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:T(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:T(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(U){["url","bold","italic","strike","code-snippet"].forEach(function(v){U!==v&&(a.languages.markdown[U].inside.content.inside[v]=a.languages.markdown[v])})}),a.hooks.add("after-tokenize",function(U){if(U.language!=="markdown"&&U.language!=="md")return;function v(I){if(!(!I||typeof I=="string"))for(var C=0,P=I.length;C<P;C++){var X=I[C];if(X.type!=="code"){v(X.content);continue}var V=X.content[1],z=X.content[3];if(V&&z&&V.type==="code-language"&&z.type==="code-block"&&typeof V.content=="string"){var N=V.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");N=(/[a-z][\w-]*/i.exec(N)||[""])[0].toLowerCase();var F="language-"+N;z.alias?typeof z.alias=="string"?z.alias=[z.alias,F]:z.alias.push(F):z.alias=[F]}}}v(U.tokens)}),a.hooks.add("wrap",function(U){if(U.type==="code-block"){for(var v="",I=0,C=U.classes.length;I<C;I++){var P=U.classes[I],X=/language-(.+)/.exec(P);if(X){v=X[1];break}}var V=a.languages[v];if(V)U.content=a.highlight(Q(U.content.value),V,v);else if(v&&v!=="none"&&a.plugins.autoloader){var z="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);U.attributes.id=z,a.plugins.autoloader.loadLanguages(v,function(){var N=document.getElementById(z);N&&(N.innerHTML=a.highlight(N.textContent,a.languages[v],v))})}}});var j=RegExp(a.languages.markup.tag.pattern.source,"gi"),G={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;function Q(U){var v=U.replace(j,"");return v=v.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(I,C){if(C=C.toLowerCase(),C[0]==="#"){var P;return C[1]==="x"?P=parseInt(C.slice(2),16):P=Number(C.slice(1)),u(P)}else{var X=G[C];return X||I}}),v}a.languages.md=a.languages.markdown})(o)}},51478:function(k){"use strict";k.exports=p,p.displayName="markupTemplating",p.aliases=[];function p(o){(function(a){function y(T,b){return"___"+T.toUpperCase()+b+"___"}Object.defineProperties(a.languages["markup-templating"]={},{buildPlaceholders:{value:function(T,b,_,h){if(T.language===b){var j=T.tokenStack=[];T.code=T.code.replace(_,function(G){if(typeof h=="function"&&!h(G))return G;for(var u=j.length,Q;T.code.indexOf(Q=y(b,u))!==-1;)++u;return j[u]=G,Q}),T.grammar=a.languages.markup}}},tokenizePlaceholders:{value:function(T,b){if(T.language!==b||!T.tokenStack)return;T.grammar=a.languages[b];var _=0,h=Object.keys(T.tokenStack);function j(G){for(var u=0;u<G.length&&!(_>=h.length);u++){var Q=G[u];if(typeof Q=="string"||Q.content&&typeof Q.content=="string"){var U=h[_],v=T.tokenStack[U],I=typeof Q=="string"?Q:Q.content,C=y(b,U),P=I.indexOf(C);if(P>-1){++_;var X=I.substring(0,P),V=new a.Token(b,a.tokenize(v,T.grammar),"language-"+b,v),z=I.substring(P+C.length),N=[];X&&N.push.apply(N,j([X])),N.push(V),z&&N.push.apply(N,j([z])),typeof Q=="string"?G.splice.apply(G,[u,1].concat(N)):Q.content=N}}else Q.content&&j(Q.content)}return G}j(T.tokens)}}})})(o)}},70614:function(k){"use strict";k.exports=p,p.displayName="markup",p.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function p(o){o.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(y,T){var b={};b["language-"+T]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:o.languages[T]},b.cdata=/^<!\[CDATA\[|\]\]>$/i;var _={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:b}};_["language-"+T]={pattern:/[\s\S]+/,inside:o.languages[T]};var h={};h[y]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return y}),"i"),lookbehind:!0,greedy:!0,inside:_},o.languages.insertBefore("markup","cdata",h)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(a,y){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[y,"language-"+y],inside:o.languages[y]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml}},16928:function(k){"use strict";k.exports=p,p.displayName="matlab",p.aliases=[];function p(o){o.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(k){"use strict";k.exports=p,p.displayName="maxscript",p.aliases=[];function p(o){(function(a){var y=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;a.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+y.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+y.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:y,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(o)}},37164:function(k){"use strict";k.exports=p,p.displayName="mel",p.aliases=[];function p(o){o.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},o.languages.mel.code.inside.rest=o.languages.mel}},25153:function(k){"use strict";k.exports=p,p.displayName="mermaid",p.aliases=[];function p(o){o.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(k){"use strict";k.exports=p,p.displayName="mizar",p.aliases=[];function p(o){o.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(k){"use strict";k.exports=p,p.displayName="mongodb",p.aliases=[];function p(o){(function(a){var y=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],T=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];y=y.map(function(_){return _.replace("$","\\$")});var b="(?:"+y.join("|")+")\\b";a.languages.mongodb=a.languages.extend("javascript",{}),a.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+b+"(?:\\1)?$")}}}),a.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},a.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+T.join("|")+")\\b"),alias:"keyword"}})})(o)}},65626:function(k){"use strict";k.exports=p,p.displayName="monkey",p.aliases=[];function p(o){o.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(k){"use strict";k.exports=p,p.displayName="moonscript",p.aliases=["moon"];function p(o){o.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},o.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=o.languages.moonscript,o.languages.moon=o.languages.moonscript}},40722:function(k){"use strict";k.exports=p,p.displayName="n1ql",p.aliases=[];function p(o){o.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(k){"use strict";k.exports=p,p.displayName="n4js",p.aliases=["n4jsd"];function p(o){o.languages.n4js=o.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),o.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),o.languages.n4jsd=o.languages.n4js}},41224:function(k){"use strict";k.exports=p,p.displayName="nand2tetrisHdl",p.aliases=[];function p(o){o.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(k){"use strict";k.exports=p,p.displayName="naniscript",p.aliases=[];function p(o){(function(a){var y=/\{[^\r\n\[\]{}]*\}/,T={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:y,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};a.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:y,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:T}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:y,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:T},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},a.languages.nani=a.languages.naniscript,a.hooks.add("after-tokenize",function(h){var j=h.tokens;j.forEach(function(G){if(typeof G!="string"&&G.type==="generic-text"){var u=_(G);b(u)||(G.type="bad-line",G.content=u)}})});function b(h){for(var j="[]{}",G=[],u=0;u<h.length;u++){var Q=h[u],U=j.indexOf(Q);if(U!==-1){if(U%2===0)G.push(U+1);else if(G.pop()!==U)return!1}}return G.length===0}function _(h){return typeof h=="string"?h:Array.isArray(h)?h.map(_).join(""):_(h.content)}})(o)}},42846:function(k){"use strict";k.exports=p,p.displayName="nasm",p.aliases=[];function p(o){o.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}},32964:function(k){"use strict";k.exports=p,p.displayName="neon",p.aliases=[];function p(o){o.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(k){"use strict";k.exports=p,p.displayName="nevod",p.aliases=[];function p(o){o.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(k){"use strict";k.exports=p,p.displayName="nginx",p.aliases=[];function p(o){(function(a){var y=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;a.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:y}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:y}},punctuation:/[{};]/}})(o)}},66791:function(k){"use strict";k.exports=p,p.displayName="nim",p.aliases=[];function p(o){o.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(k){"use strict";k.exports=p,p.displayName="nix",p.aliases=[];function p(o){o.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},o.languages.nix.string.inside.interpolation.inside=o.languages.nix}},13490:function(k){"use strict";k.exports=p,p.displayName="nsis",p.aliases=[];function p(o){o.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="objectivec",y.aliases=["objc"];function y(T){T.register(a),T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec}},66894:function(k){"use strict";k.exports=p,p.displayName="ocaml",p.aliases=[];function p(o){o.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(k,p,o){"use strict";var a=o(79440);k.exports=y,y.displayName="opencl",y.aliases=[];function y(T){T.register(a),function(b){b.languages.opencl=b.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),b.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var _={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};b.languages.insertBefore("c","keyword",_),b.languages.cpp&&(_["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},b.languages.insertBefore("cpp","keyword",_))}(T)}},27734:function(k){"use strict";k.exports=p,p.displayName="openqasm",p.aliases=["qasm"];function p(o){o.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},o.languages.qasm=o.languages.openqasm}},91889:function(k){"use strict";k.exports=p,p.displayName="oz",p.aliases=[];function p(o){o.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(k){"use strict";k.exports=p,p.displayName="parigp",p.aliases=[];function p(o){o.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var a=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return a=a.map(function(y){return y.split("").join(" *")}).join("|"),RegExp("\\b(?:"+a+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(k){"use strict";k.exports=p,p.displayName="parser",p.aliases=[];function p(o){(function(a){var y=a.languages.parser=a.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});y=a.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:y.keyword,variable:y.variable,function:y.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:y.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:y.punctuation}}}),a.languages.insertBefore("inside","punctuation",{expression:y.expression,keyword:y.keyword,variable:y.variable,function:y.function,escape:y.escape,"parser-punctuation":{pattern:y.punctuation,alias:"punctuation"}},y.tag.inside["attr-value"])})(o)}},92949:function(k){"use strict";k.exports=p,p.displayName="pascal",p.aliases=["objectpascal"];function p(o){o.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},o.languages.pascal.asm.inside=o.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),o.languages.objectpascal=o.languages.pascal}},5681:function(k){"use strict";k.exports=p,p.displayName="pascaligo",p.aliases=[];function p(o){(function(a){var y=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,T=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return y}),b=a.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return T}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return T}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return T})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},_=["comment","keyword","builtin","operator","punctuation"].reduce(function(h,j){return h[j]=b[j],h},{});b["class-name"].forEach(function(h){h.inside=_})})(o)}},70696:function(k){"use strict";k.exports=p,p.displayName="pcaxis",p.aliases=["px"];function p(o){o.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},o.languages.px=o.languages.pcaxis}},35790:function(k){"use strict";k.exports=p,p.displayName="peoplecode",p.aliases=["pcode"];function p(o){o.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},o.languages.pcode=o.languages.peoplecode}},25777:function(k){"use strict";k.exports=p,p.displayName="perl",p.aliases=[];function p(o){(function(a){var y=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;a.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,y].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,y].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,y+/\s*/.source+y].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(o)}},65889:function(k,p,o){"use strict";var a=o(53852);k.exports=y,y.displayName="phpExtras",y.aliases=[];function y(T){T.register(a),T.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="php",y.aliases=[];function y(T){T.register(a),function(b){var _=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,h=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],j=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,G=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,u=/[{}\[\](),:;]/;b.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:_,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:h,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:j,operator:G,punctuation:u};var Q={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:b.languages.php},U=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:Q}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:Q}}];b.languages.insertBefore("php","variable",{string:U,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:_,string:U,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:h,number:j,operator:G,punctuation:u}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),b.hooks.add("before-tokenize",function(v){if(/<\?/.test(v.code)){var I=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;b.languages["markup-templating"].buildPlaceholders(v,"php",I)}}),b.hooks.add("after-tokenize",function(v){b.languages["markup-templating"].tokenizePlaceholders(v,"php")})}(T)}},97719:function(k,p,o){"use strict";var a=o(53852),y=o(53510);k.exports=T,T.displayName="phpdoc",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){var h=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;_.languages.phpdoc=_.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+h+"\\s+)?)\\$\\w+"),lookbehind:!0}}),_.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+h),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),_.languages.javadoclike.addSupport("php",_.languages.phpdoc)}(b)}},63839:function(k,p,o){"use strict";var a=o(69435);k.exports=y,y.displayName="plsql",y.aliases=[];function y(T){T.register(a),T.languages.plsql=T.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),T.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(k){"use strict";k.exports=p,p.displayName="powerquery",p.aliases=[];function p(o){o.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},o.languages.pq=o.languages.powerquery,o.languages.mscript=o.languages.powerquery}},32530:function(k){"use strict";k.exports=p,p.displayName="powershell",p.aliases=[];function p(o){(function(a){var y=a.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};y.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:y},boolean:y.boolean,variable:y.variable}})(o)}},8938:function(k){"use strict";k.exports=p,p.displayName="processing",p.aliases=[];function p(o){o.languages.processing=o.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),o.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(k){"use strict";k.exports=p,p.displayName="prolog",p.aliases=[];function p(o){o.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(k){"use strict";k.exports=p,p.displayName="promql",p.aliases=[];function p(o){(function(a){var y=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],T=["on","ignoring","group_right","group_left","by","without"],b=["offset"],_=y.concat(T,b);a.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+T.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+_.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(o)}},15375:function(k){"use strict";k.exports=p,p.displayName="properties",p.aliases=[];function p(o){o.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(k){"use strict";k.exports=p,p.displayName="protobuf",p.aliases=[];function p(o){(function(a){var y=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;a.languages.protobuf=a.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),a.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:y}},builtin:y,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(o)}},83588:function(k){"use strict";k.exports=p,p.displayName="psl",p.aliases=[];function p(o){o.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(k){"use strict";k.exports=p,p.displayName="pug",p.aliases=[];function p(o){(function(a){a.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:a.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:a.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:a.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:a.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:a.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:a.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:a.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:a.languages.javascript}],punctuation:/[.\-!=|]+/};for(var y=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,T=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],b={},_=0,h=T.length;_<h;_++){var j=T[_];j=typeof j=="string"?{filter:j,language:j}:j,a.languages[j.language]&&(b["filter-"+j.filter]={pattern:RegExp(y.replace("<filter_name>",function(){return j.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[j.language,"language-"+j.language],inside:a.languages[j.language]}}})}a.languages.insertBefore("pug","filter",b)})(o)}},21294:function(k){"use strict";k.exports=p,p.displayName="puppet",p.aliases=[];function p(o){(function(a){a.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var y=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:a.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];a.languages.puppet.heredoc[0].inside.interpolation=y,a.languages.puppet.string.inside["double-quoted"].inside.interpolation=y})(o)}},38709:function(k){"use strict";k.exports=p,p.displayName="pure",p.aliases=[];function p(o){(function(a){a.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var y=["c",{lang:"c++",alias:"cpp"},"fortran"],T=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;y.forEach(function(b){var _=b;if(typeof b!="string"&&(_=b.alias,b=b.lang),a.languages[_]){var h={};h["inline-lang-"+_]={pattern:RegExp(T.replace("<lang>",b.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:a.util.clone(a.languages.pure["inline-lang"].inside)},h["inline-lang-"+_].inside.rest=a.util.clone(a.languages[_]),a.languages.insertBefore("pure","inline-lang",h)}}),a.languages.c&&(a.languages.pure["inline-lang"].inside.rest=a.util.clone(a.languages.c))})(o)}},15008:function(k){"use strict";k.exports=p,p.displayName="purebasic",p.aliases=[];function p(o){o.languages.purebasic=o.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),o.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete o.languages.purebasic["class-name"],delete o.languages.purebasic.boolean,o.languages.pbfasm=o.languages.purebasic}},96549:function(k,p,o){"use strict";var a=o(2050);k.exports=y,y.displayName="purescript",y.aliases=["purs"];function y(T){T.register(a),T.languages.purescript=T.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[T.languages.haskell.operator[0],T.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),T.languages.purs=T.languages.purescript}},5221:function(k){"use strict";k.exports=p,p.displayName="python",p.aliases=["py"];function p(o){o.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.python["string-interpolation"].inside.interpolation.inside.rest=o.languages.python,o.languages.py=o.languages.python}},27447:function(k){"use strict";k.exports=p,p.displayName="q",p.aliases=[];function p(o){o.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(k){"use strict";k.exports=p,p.displayName="qml",p.aliases=[];function p(o){(function(a){for(var y=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,T=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,b=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return y}).replace(/<comment>/g,function(){return T}),_=0;_<2;_++)b=b.replace(/<expr>/g,function(){return b});b=b.replace(/<expr>/g,"[^\\s\\S]"),a.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:a.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return b}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:a.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(o)}},75542:function(k){"use strict";k.exports=p,p.displayName="qore",p.aliases=[];function p(o){o.languages.qore=o.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(k){"use strict";k.exports=p,p.displayName="qsharp",p.aliases=["qs"];function p(o){(function(a){function y(I,C){return I.replace(/<<(\d+)>>/g,function(P,X){return"(?:"+C[+X]+")"})}function T(I,C,P){return RegExp(y(I,C),P||"")}function b(I,C){for(var P=0;P<C;P++)I=I.replace(/<<self>>/g,function(){return"(?:"+I+")"});return I.replace(/<<self>>/g,"[^\\s\\S]")}var _={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function h(I){return"\\b(?:"+I.trim().replace(/ /g,"|")+")\\b"}var j=RegExp(h(_.type+" "+_.other)),G=/\b[A-Za-z_]\w*\b/.source,u=y(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[G]),Q={keyword:j,punctuation:/[<>()?,.:[\]]/},U=/"(?:\\.|[^\\"])*"/.source;a.languages.qsharp=a.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:T(/(^|[^$\\])<<0>>/.source,[U]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:T(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[u]),lookbehind:!0,inside:Q},{pattern:T(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[u]),lookbehind:!0,inside:Q}],keyword:j,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),a.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var v=b(y(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[U]),2);a.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:T(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[v]),greedy:!0,inside:{interpolation:{pattern:T(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[v]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:a.languages.qsharp}}},string:/[\s\S]+/}}})})(o),o.languages.qs=o.languages.qsharp}},44298:function(k){"use strict";k.exports=p,p.displayName="r",p.aliases=[];function p(o){o.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(k,p,o){"use strict";var a=o(48780);k.exports=y,y.displayName="racket",y.aliases=["rkt"];function y(T){T.register(a),T.languages.racket=T.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),T.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),T.languages.rkt=T.languages.racket}},75266:function(k){"use strict";k.exports=p,p.displayName="reason",p.aliases=[];function p(o){o.languages.reason=o.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),o.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete o.languages.reason.function}},48139:function(k){"use strict";k.exports=p,p.displayName="regex",p.aliases=[];function p(o){(function(a){var y={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},T=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,b={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},_={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},h="(?:[^\\\\-]|"+T.source+")",j=RegExp(h+"-"+h),G={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:j,inside:{escape:T,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":y,"char-set":_,escape:T}},"special-escape":y,"char-set":b,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":G}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:T,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":G}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(o)}},97534:function(k){"use strict";k.exports=p,p.displayName="rego",p.aliases=[];function p(o){o.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(k){"use strict";k.exports=p,p.displayName="renpy",p.aliases=["rpy"];function p(o){o.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},o.languages.rpy=o.languages.renpy}},63919:function(k){"use strict";k.exports=p,p.displayName="rest",p.aliases=[];function p(o){o.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(k){"use strict";k.exports=p,p.displayName="rip",p.aliases=[];function p(o){o.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(k){"use strict";k.exports=p,p.displayName="roboconf",p.aliases=[];function p(o){o.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(k){"use strict";k.exports=p,p.displayName="robotframework",p.aliases=[];function p(o){(function(a){var y={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},T={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function b(G,u){var Q={};Q["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var U in u)Q[U]=u[U];return Q.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},Q.variable=T,Q.comment=y,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return G}),"im"),alias:"section",inside:Q}}var _={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},h={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:T}},j={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:T}};a.languages.robotframework={settings:b("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:b("Variables"),"test-cases":b("Test Cases",{"test-name":h,documentation:_,property:j}),keywords:b("Keywords",{"keyword-name":h,documentation:_,property:j}),tasks:b("Tasks",{"task-name":h,documentation:_,property:j}),comment:y},a.languages.robot=a.languages.robotframework})(o)}},75308:function(k){"use strict";k.exports=p,p.displayName="ruby",p.aliases=["rb"];function p(o){(function(a){a.languages.ruby=a.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),a.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var y={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:a.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete a.languages.ruby.function;var T="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",b=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;a.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+T+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:y,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:y,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+b),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+b+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),a.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+T),greedy:!0,inside:{interpolation:y,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:y,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:y,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+T),greedy:!0,inside:{interpolation:y,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:y,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete a.languages.ruby.string,a.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),a.languages.rb=a.languages.ruby})(o)}},45315:function(k){"use strict";k.exports=p,p.displayName="rust",p.aliases=[];function p(o){(function(a){for(var y=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,T=0;T<2;T++)y=y.replace(/<self>/g,function(){return y});y=y.replace(/<self>/g,function(){return/[^\s\S]/.source}),a.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+y),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},a.languages.rust["closure-params"].inside.rest=a.languages.rust,a.languages.rust.attribute.inside.string=a.languages.rust.string})(o)}},13794:function(k){"use strict";k.exports=p,p.displayName="sas",p.aliases=[];function p(o){(function(a){var y=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,T=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,b={pattern:RegExp(y+"[bx]"),alias:"number"},_={pattern:/&[a-z_]\w*/i},h={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},j={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},G=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],u={pattern:RegExp(y),greedy:!0},Q=/[$%@.(){}\[\];,\\]/,U={pattern:/%?\b\w+(?=\()/,alias:"keyword"},v={function:U,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":_,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:T,"numeric-constant":b,punctuation:Q,string:u},I={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},C={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},P={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},X={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},V=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,z={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return V}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return V}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:G,function:U,"arg-value":v["arg-value"],operator:v.operator,argument:v.arg,number:T,"numeric-constant":b,punctuation:Q,string:u}},N={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};a.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return y}),"im"),alias:"language-sql",inside:a.languages.sql},"global-statements":P,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:T,"numeric-constant":b,punctuation:Q,string:u}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:G,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,alias:"language-groovy",inside:a.languages.groovy},keyword:N,"submit-statement":X,"global-statements":P,number:T,"numeric-constant":b,punctuation:Q,string:u}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:G,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,alias:"language-lua",inside:a.languages.lua},keyword:N,"submit-statement":X,"global-statements":P,number:T,"numeric-constant":b,punctuation:Q,string:u}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:G,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:v}},"cas-actions":z,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:v},step:j,keyword:N,function:U,format:I,altformat:C,"global-statements":P,number:T,"numeric-constant":b,punctuation:Q,string:u}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return y}),"im"),lookbehind:!0,inside:v},"macro-keyword":h,"macro-variable":_,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":h,"macro-variable":_,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:Q}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:G,number:T,"numeric-constant":b}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:v},"cas-actions":z,comment:G,function:U,format:I,altformat:C,"numeric-constant":b,datetime:{pattern:RegExp(y+"(?:dt?|t)"),alias:"number"},string:u,step:j,keyword:N,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:T,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:Q}})(o)}},41299:function(k){"use strict";k.exports=p,p.displayName="sass",p.aliases=[];function p(o){(function(a){a.languages.sass=a.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),a.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete a.languages.sass.atrule;var y=/\$[-\w]+|#\{\$[-\w]+\}/,T=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];a.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:y,operator:T}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:y,operator:T,important:a.languages.sass.important}}}),delete a.languages.sass.property,delete a.languages.sass.important,a.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(o)}},98177:function(k,p,o){"use strict";var a=o(7093);k.exports=y,y.displayName="scala",y.aliases=[];function y(T){T.register(a),T.languages.scala=T.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),T.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:T.languages.scala}}},string:/[\s\S]+/}}}),delete T.languages.scala["class-name"],delete T.languages.scala.function}},48780:function(k){"use strict";k.exports=p,p.displayName="scheme",p.aliases=[];function p(o){(function(a){a.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(y({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function y(T){for(var b in T)T[b]=T[b].replace(/<[\w\s]+>/g,function(_){return"(?:"+T[_].trim()+")"});return T[b]}})(o)}},79793:function(k){"use strict";k.exports=p,p.displayName="scss",p.aliases=[];function p(o){o.languages.scss=o.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),o.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),o.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),o.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),o.languages.scss.atrule.inside.rest=o.languages.scss}},52085:function(k,p,o){"use strict";var a=o(3058);k.exports=y,y.displayName="shellSession",y.aliases=[];function y(T){T.register(a),function(b){var _=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");b.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return _}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:b.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},b.languages["sh-session"]=b.languages.shellsession=b.languages["shell-session"]}(T)}},65411:function(k){"use strict";k.exports=p,p.displayName="smali",p.aliases=[];function p(o){o.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(k){"use strict";k.exports=p,p.displayName="smalltalk",p.aliases=[];function p(o){o.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="smarty",y.aliases=[];function y(T){T.register(a),function(b){b.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:b.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},b.languages.smarty["embedded-php"].inside.smarty.inside=b.languages.smarty,b.languages.smarty.string[0].inside.interpolation.inside.expression.inside=b.languages.smarty;var _=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,h=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return _.source}),"g");b.hooks.add("before-tokenize",function(j){var G="{literal}",u="{/literal}",Q=!1;b.languages["markup-templating"].buildPlaceholders(j,"smarty",h,function(U){return U===u&&(Q=!1),Q?!1:(U===G&&(Q=!0),!0)})}),b.hooks.add("after-tokenize",function(j){b.languages["markup-templating"].tokenizePlaceholders(j,"smarty")})}(T)}},66433:function(k){"use strict";k.exports=p,p.displayName="sml",p.aliases=["smlnj"];function p(o){(function(a){var y=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;a.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return y.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:y,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},a.languages.sml["class-name"][0].inside=a.languages.sml,a.languages.smlnj=a.languages.sml})(o)}},34855:function(k){"use strict";k.exports=p,p.displayName="solidity",p.aliases=["sol"];function p(o){o.languages.solidity=o.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),o.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),o.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),o.languages.sol=o.languages.solidity}},12998:function(k){"use strict";k.exports=p,p.displayName="solutionFile",p.aliases=[];function p(o){(function(a){var y={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};a.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:y}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:y}},guid:y,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},a.languages.sln=a.languages["solution-file"]})(o)}},10202:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="soy",y.aliases=[];function y(T){T.register(a),function(b){var _=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,h=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;b.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:_,greedy:!0},number:h,punctuation:/[\[\].?]/}},string:{pattern:_,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:h,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},b.hooks.add("before-tokenize",function(j){var G=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,u="{literal}",Q="{/literal}",U=!1;b.languages["markup-templating"].buildPlaceholders(j,"soy",G,function(v){return v===Q&&(U=!1),U?!1:(v===u&&(U=!0),!0)})}),b.hooks.add("after-tokenize",function(j){b.languages["markup-templating"].tokenizePlaceholders(j,"soy")})}(T)}},41186:function(k,p,o){"use strict";var a=o(58710);k.exports=y,y.displayName="sparql",y.aliases=["rq"];function y(T){T.register(a),T.languages.sparql=T.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),T.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),T.languages.rq=T.languages.sparql}},68963:function(k){"use strict";k.exports=p,p.displayName="splunkSpl",p.aliases=[];function p(o){o.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(k){"use strict";k.exports=p,p.displayName="sqf",p.aliases=[];function p(o){o.languages.sqf=o.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),o.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:o.languages.sqf.comment}}}),delete o.languages.sqf["class-name"]}},69435:function(k){"use strict";k.exports=p,p.displayName="sql",p.aliases=[];function p(o){o.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(k){"use strict";k.exports=p,p.displayName="squirrel",p.aliases=[];function p(o){o.languages.squirrel=o.languages.extend("clike",{comment:[o.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),o.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),o.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(k){"use strict";k.exports=p,p.displayName="stan",p.aliases=[];function p(o){(function(a){var y=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;a.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+y.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,y],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},a.languages.stan.constraint.inside.expression.inside=a.languages.stan})(o)}},89032:function(k){"use strict";k.exports=p,p.displayName="stylus",p.aliases=[];function p(o){(function(a){var y={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},T={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},b={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:y,number:T,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:y,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:T,punctuation:/[{}()\[\];:,]/};b.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:b}},b.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:b}},a.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:b}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:b}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:b}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:b.interpolation}},rest:b}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:b.interpolation,comment:b.comment,punctuation:/[{},]/}},func:b.func,string:b.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:b.interpolation,punctuation:/[{}()\[\];:.]/}})(o)}},40241:function(k){"use strict";k.exports=p,p.displayName="swift",p.aliases=[];function p(o){o.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},o.languages.swift["string-literal"].forEach(function(a){a.inside.interpolation.inside=o.languages.swift})}},24812:function(k){"use strict";k.exports=p,p.displayName="systemd",p.aliases=[];function p(o){(function(a){var y={pattern:/^[;#].*/m,greedy:!0},T=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;a.languages.systemd={comment:y,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+T+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+T+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:y,quoted:{pattern:RegExp(/(^|\s)/.source+T),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(o)}},16747:function(k,p,o){"use strict";var a=o(73584),y=o(87648);k.exports=T,T.displayName="t4Cs",T.aliases=[];function T(b){b.register(a),b.register(y),b.languages.t4=b.languages["t4-cs"]=b.languages["t4-templating"].createT4("csharp")}},73584:function(k){"use strict";k.exports=p,p.displayName="t4Templating",p.aliases=[];function p(o){(function(a){function y(b,_,h){return{pattern:RegExp("<#"+b+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+b+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:_,alias:h}}}}function T(b){var _=a.languages[b],h="language-"+b;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:y("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:y("=",_,h),"class-feature":y("\\+",_,h),standard:y("",_,h)}}}}a.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:T})})(o)}},79243:function(k,p,o){"use strict";var a=o(73584),y=o(55686);k.exports=T,T.displayName="t4Vb",T.aliases=[];function T(b){b.register(a),b.register(y),b.languages["t4-vb"]=b.languages["t4-templating"].createT4("vbnet")}},31788:function(k,p,o){"use strict";var a=o(14409);k.exports=y,y.displayName="tap",y.aliases=[];function y(T){T.register(a),T.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:T.languages.yaml,alias:"language-yaml"}}}},60871:function(k){"use strict";k.exports=p,p.displayName="tcl",p.aliases=[];function p(o){o.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(k){"use strict";k.exports=p,p.displayName="textile",p.aliases=[];function p(o){(function(a){var y=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,T=/\)|\((?![^|()\n]+\))/.source;function b(U,v){return RegExp(U.replace(/<MOD>/g,function(){return"(?:"+y+")"}).replace(/<PAR>/g,function(){return"(?:"+T+")"}),v||"")}var _={css:{pattern:/\{[^{}]+\}/,inside:{rest:a.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},h=a.languages.textile=a.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:b(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:b(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:_},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:b(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:b(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:_},punctuation:/^[*#]+/}},table:{pattern:b(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:b(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:_},punctuation:/\||^\./}},inline:{pattern:b(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:b(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:b(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:b(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:b(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:b(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:b(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:b(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:b(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:_},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:b(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:b(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:b(/(^")<MOD>+/.source),lookbehind:!0,inside:_},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:b(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:b(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:b(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:_},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),j=h.phrase.inside,G={inline:j.inline,link:j.link,image:j.image,footnote:j.footnote,acronym:j.acronym,mark:j.mark};h.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var u=j.inline.inside;u.bold.inside=G,u.italic.inside=G,u.inserted.inside=G,u.deleted.inside=G,u.span.inside=G;var Q=j.table.inside;Q.inline=G.inline,Q.link=G.link,Q.image=G.image,Q.footnote=G.footnote,Q.acronym=G.acronym,Q.mark=G.mark})(o)}},14693:function(k){"use strict";k.exports=p,p.displayName="toml",p.aliases=[];function p(o){(function(a){var y=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function T(b){return b.replace(/__/g,function(){return y})}a.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(T(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(T(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(o)}},8743:function(k){"use strict";k.exports=p,p.displayName="tremor",p.aliases=[];function p(o){(function(a){a.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var y=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;a.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+y+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+y+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(y),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:a.languages.tremor}}},string:/[\s\S]+/}},a.languages.troy=a.languages.tremor,a.languages.trickle=a.languages.tremor})(o)}},1689:function(k,p,o){"use strict";var a=o(24103),y=o(92784);k.exports=T,T.displayName="tsx",T.aliases=[];function T(b){b.register(a),b.register(y),function(_){var h=_.util.clone(_.languages.typescript);_.languages.tsx=_.languages.extend("jsx",h),delete _.languages.tsx.parameter,delete _.languages.tsx["literal-property"];var j=_.languages.tsx.tag;j.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+j.pattern.source+")",j.pattern.flags),j.lookbehind=!0}(b)}},69210:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="tt2",y.aliases=[];function y(T){T.register(a),function(b){b.languages.tt2=b.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),b.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),b.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),b.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete b.languages.tt2.string,b.hooks.add("before-tokenize",function(_){var h=/\[%[\s\S]+?%\]/g;b.languages["markup-templating"].buildPlaceholders(_,"tt2",h)}),b.hooks.add("after-tokenize",function(_){b.languages["markup-templating"].tokenizePlaceholders(_,"tt2")})}(T)}},58710:function(k){"use strict";k.exports=p,p.displayName="turtle",p.aliases=[];function p(o){o.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},o.languages.trig=o.languages.turtle}},60452:function(k,p,o){"use strict";var a=o(51478);k.exports=y,y.displayName="twig",y.aliases=[];function y(T){T.register(a),T.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},T.hooks.add("before-tokenize",function(b){if(b.language==="twig"){var _=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;T.languages["markup-templating"].buildPlaceholders(b,"twig",_)}}),T.hooks.add("after-tokenize",function(b){T.languages["markup-templating"].tokenizePlaceholders(b,"twig")})}},92784:function(k){"use strict";k.exports=p,p.displayName="typescript",p.aliases=["ts"];function p(o){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var y=a.languages.extend("typescript",{});delete y["class-name"],a.languages.typescript["class-name"].inside=y,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:y}}}}),a.languages.ts=a.languages.typescript})(o)}},36489:function(k){"use strict";k.exports=p,p.displayName="typoscript",p.aliases=["tsconfig"];function p(o){(function(a){var y=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;a.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:y}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:y,number:/^\d+$/,punctuation:/[,|:]/}},keyword:y,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},a.languages.tsconfig=a.languages.typoscript})(o)}},78380:function(k){"use strict";k.exports=p,p.displayName="unrealscript",p.aliases=["uc","uscript"];function p(o){o.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},o.languages.uc=o.languages.uscript=o.languages.unrealscript}},10409:function(k){"use strict";k.exports=p,p.displayName="uorazor",p.aliases=[];function p(o){o.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(k){"use strict";k.exports=p,p.displayName="uri",p.aliases=["url"];function p(o){o.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},o.languages.url=o.languages.uri}},82028:function(k){"use strict";k.exports=p,p.displayName="v",p.aliases=[];function p(o){(function(a){var y={pattern:/[\s\S]+/,inside:null};a.languages.v=a.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":y}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),y.inside=a.languages.v,a.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),a.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),a.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:a.languages.v.generic.inside}}}})})(o)}},62282:function(k){"use strict";k.exports=p,p.displayName="vala",p.aliases=[];function p(o){o.languages.vala=o.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),o.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:o.languages.vala}},string:/[\s\S]+/}}}),o.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(k,p,o){"use strict";var a=o(51422);k.exports=y,y.displayName="vbnet",y.aliases=[];function y(T){T.register(a),T.languages.vbnet=T.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(k){"use strict";k.exports=p,p.displayName="velocity",p.aliases=[];function p(o){(function(a){a.languages.velocity=a.languages.extend("markup",{});var y={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};y.variable.inside={string:y.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:y.number,boolean:y.boolean,punctuation:y.punctuation},a.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:y}},variable:y.variable}),a.languages.velocity.tag.inside["attr-value"].inside.rest=a.languages.velocity})(o)}},37116:function(k){"use strict";k.exports=p,p.displayName="verilog",p.aliases=[];function p(o){o.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(k){"use strict";k.exports=p,p.displayName="vhdl",p.aliases=[];function p(o){o.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(k){"use strict";k.exports=p,p.displayName="vim",p.aliases=[];function p(o){o.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(k){"use strict";k.exports=p,p.displayName="visualBasic",p.aliases=[];function p(o){o.languages["visual-basic"]={comment:{pattern:/(?:[']|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},o.languages.vb=o.languages["visual-basic"],o.languages.vba=o.languages["visual-basic"]}},17723:function(k){"use strict";k.exports=p,p.displayName="warpscript",p.aliases=[];function p(o){o.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(k){"use strict";k.exports=p,p.displayName="wasm",p.aliases=[];function p(o){o.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(k){"use strict";k.exports=p,p.displayName="webIdl",p.aliases=[];function p(o){(function(a){var y=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,T="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+y+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,b={};a.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+y),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+T),lookbehind:!0,inside:b},{pattern:RegExp("("+/\bcallback\s+/.source+y+/\s*=\s*/.source+")"+T),lookbehind:!0,inside:b},{pattern:RegExp(/(\btypedef\b\s*)/.source+T),lookbehind:!0,inside:b},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+y),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+y),lookbehind:!0},RegExp(y+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+y),lookbehind:!0},{pattern:RegExp(T+"(?="+/\s*(?:\.{3}\s*)?/.source+y+/\s*[(),;=]/.source+")"),inside:b}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var _ in a.languages["web-idl"])_!=="class-name"&&(b[_]=a.languages["web-idl"][_]);a.languages.webidl=a.languages["web-idl"]})(o)}},8921:function(k){"use strict";k.exports=p,p.displayName="wiki",p.aliases=[];function p(o){o.languages.wiki=o.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:o.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),o.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:o.languages.markup.tag.inside}}}})}},13429:function(k){"use strict";k.exports=p,p.displayName="wolfram",p.aliases=["mathematica","wl","nb"];function p(o){o.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},o.languages.mathematica=o.languages.wolfram,o.languages.wl=o.languages.wolfram,o.languages.nb=o.languages.wolfram}},65197:function(k){"use strict";k.exports=p,p.displayName="wren",p.aliases=[];function p(o){o.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},o.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:o.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(k){"use strict";k.exports=p,p.displayName="xeora",p.aliases=["xeoracube"];function p(o){(function(a){a.languages.xeora=a.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),a.languages.insertBefore("inside","punctuation",{variable:a.languages.xeora["function-inline"].inside.variable},a.languages.xeora["function-block"]),a.languages.xeoracube=a.languages.xeora})(o)}},35:function(k){"use strict";k.exports=p,p.displayName="xmlDoc",p.aliases=[];function p(o){(function(a){function y(h,j){a.languages[h]&&a.languages.insertBefore(h,"comment",{"doc-comment":j})}var T=a.languages.markup.tag,b={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:T}},_={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:T}};y("csharp",b),y("fsharp",b),y("vbnet",_)})(o)}},86095:function(k){"use strict";k.exports=p,p.displayName="xojo",p.aliases=[];function p(o){o.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(k){"use strict";k.exports=p,p.displayName="xquery",p.aliases=[];function p(o){(function(a){a.languages.xquery=a.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),a.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,a.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,a.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,a.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:a.languages.xquery,alias:"language-xquery"};var y=function(b){return typeof b=="string"?b:typeof b.content=="string"?b.content:b.content.map(y).join("")},T=function(b){for(var _=[],h=0;h<b.length;h++){var j=b[h],G=!1;if(typeof j!="string"&&(j.type==="tag"&&j.content[0]&&j.content[0].type==="tag"?j.content[0].content[0].content==="</"?_.length>0&&_[_.length-1].tagName===y(j.content[0].content[1])&&_.pop():j.content[j.content.length-1].content==="/>"||_.push({tagName:y(j.content[0].content[1]),openedBraces:0}):_.length>0&&j.type==="punctuation"&&j.content==="{"&&(!b[h+1]||b[h+1].type!=="punctuation"||b[h+1].content!=="{")&&(!b[h-1]||b[h-1].type!=="plain-text"||b[h-1].content!=="{")?_[_.length-1].openedBraces++:_.length>0&&_[_.length-1].openedBraces>0&&j.type==="punctuation"&&j.content==="}"?_[_.length-1].openedBraces--:j.type!=="comment"&&(G=!0)),(G||typeof j=="string")&&_.length>0&&_[_.length-1].openedBraces===0){var u=y(j);h<b.length-1&&(typeof b[h+1]=="string"||b[h+1].type==="plain-text")&&(u+=y(b[h+1]),b.splice(h+1,1)),h>0&&(typeof b[h-1]=="string"||b[h-1].type==="plain-text")&&(u=y(b[h-1])+u,b.splice(h-1,1),h--),/^\s+$/.test(u)?b[h]=u:b[h]=new a.Token("plain-text",u,null,u)}j.content&&typeof j.content!="string"&&T(j.content)}};a.hooks.add("after-tokenize",function(b){b.language==="xquery"&&T(b.tokens)})})(o)}},14409:function(k){"use strict";k.exports=p,p.displayName="yaml",p.aliases=["yml"];function p(o){(function(a){var y=/[*&][^\s[\]{},]+/,T=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,b="(?:"+T.source+"(?:[ ]+"+y.source+")?|"+y.source+"(?:[ ]+"+T.source+")?)",_=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),h=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function j(G,u){u=(u||"").replace(/m/g,"")+"m";var Q=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<value>>/g,function(){return G});return RegExp(Q,u)}a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return b})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return b}).replace(/<<key>>/g,function(){return"(?:"+_+"|"+h+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:j(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:j(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:j(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:j(h),lookbehind:!0,greedy:!0},number:{pattern:j(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:T,important:y,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(o)}},33460:function(k){"use strict";k.exports=p,p.displayName="yang",p.aliases=[];function p(o){o.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(k){"use strict";k.exports=p,p.displayName="zig",p.aliases=[];function p(o){(function(a){function y(u){return function(){return u}}var T=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,b="\\b(?!"+T.source+")(?!\\d)\\w+\\b",_=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,h=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,y(_)),j=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,y(b)),G="(?!\\s)(?:!?\\s*(?:"+h+"\\s*)*"+j+")+";a.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,y(G)).replace(/<ALIGN>/g,y(_))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,y(G)).replace(/<ALIGN>/g,y(_))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:T,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},a.languages.zig["class-name"].forEach(function(u){u.inside===null&&(u.inside=a.languages.zig)})})(o)}},76374:function(k,p,o){"use strict";var a=function(){if(typeof Map!="undefined")return Map;function J(Z,ie){var ue=-1;return Z.some(function(fe,ae){return fe[0]===ie?(ue=ae,!0):!1}),ue}return function(){function Z(){this.__entries__=[]}return Object.defineProperty(Z.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Z.prototype.get=function(ie){var ue=J(this.__entries__,ie),fe=this.__entries__[ue];return fe&&fe[1]},Z.prototype.set=function(ie,ue){var fe=J(this.__entries__,ie);~fe?this.__entries__[fe][1]=ue:this.__entries__.push([ie,ue])},Z.prototype.delete=function(ie){var ue=this.__entries__,fe=J(ue,ie);~fe&&ue.splice(fe,1)},Z.prototype.has=function(ie){return!!~J(this.__entries__,ie)},Z.prototype.clear=function(){this.__entries__.splice(0)},Z.prototype.forEach=function(ie,ue){ue===void 0&&(ue=null);for(var fe=0,ae=this.__entries__;fe<ae.length;fe++){var w=ae[fe];ie.call(ue,w[1],w[0])}},Z}()}(),y=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,T=function(){return typeof o.g!="undefined"&&o.g.Math===Math?o.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),b=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(T):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),_=2;function h(J,Z){var ie=!1,ue=!1,fe=0;function ae(){ie&&(ie=!1,J()),ue&&L()}function w(){b(ae)}function L(){var oe=Date.now();if(ie){if(oe-fe<_)return;ue=!0}else ie=!0,ue=!1,setTimeout(w,Z);fe=oe}return L}var j=20,G=["top","right","bottom","left","width","height","size","weight"],u=typeof MutationObserver!="undefined",Q=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=h(this.refresh.bind(this),j)}return J.prototype.addObserver=function(Z){~this.observers_.indexOf(Z)||this.observers_.push(Z),this.connected_||this.connect_()},J.prototype.removeObserver=function(Z){var ie=this.observers_,ue=ie.indexOf(Z);~ue&&ie.splice(ue,1),!ie.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var Z=this.updateObservers_();Z&&this.refresh()},J.prototype.updateObservers_=function(){var Z=this.observers_.filter(function(ie){return ie.gatherActive(),ie.hasActive()});return Z.forEach(function(ie){return ie.broadcastActive()}),Z.length>0},J.prototype.connect_=function(){!y||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},J.prototype.disconnect_=function(){!y||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},J.prototype.onTransitionEnd_=function(Z){var ie=Z.propertyName,ue=ie===void 0?"":ie,fe=G.some(function(ae){return!!~ue.indexOf(ae)});fe&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),U=function(J,Z){for(var ie=0,ue=Object.keys(Z);ie<ue.length;ie++){var fe=ue[ie];Object.defineProperty(J,fe,{value:Z[fe],enumerable:!1,writable:!1,configurable:!0})}return J},v=function(J){var Z=J&&J.ownerDocument&&J.ownerDocument.defaultView;return Z||T},I=H(0,0,0,0);function C(J){return parseFloat(J)||0}function P(J){for(var Z=[],ie=1;ie<arguments.length;ie++)Z[ie-1]=arguments[ie];return Z.reduce(function(ue,fe){var ae=J["border-"+fe+"-width"];return ue+C(ae)},0)}function X(J){for(var Z=["top","right","bottom","left"],ie={},ue=0,fe=Z;ue<fe.length;ue++){var ae=fe[ue],w=J["padding-"+ae];ie[ae]=C(w)}return ie}function V(J){var Z=J.getBBox();return H(0,0,Z.width,Z.height)}function z(J){var Z=J.clientWidth,ie=J.clientHeight;if(!Z&&!ie)return I;var ue=v(J).getComputedStyle(J),fe=X(ue),ae=fe.left+fe.right,w=fe.top+fe.bottom,L=C(ue.width),oe=C(ue.height);if(ue.boxSizing==="border-box"&&(Math.round(L+ae)!==Z&&(L-=P(ue,"left","right")+ae),Math.round(oe+w)!==ie&&(oe-=P(ue,"top","bottom")+w)),!F(J)){var M=Math.round(L+ae)-Z,De=Math.round(oe+w)-ie;Math.abs(M)!==1&&(L-=M),Math.abs(De)!==1&&(oe-=De)}return H(fe.left,fe.top,L,oe)}var N=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof v(J).SVGGraphicsElement}:function(J){return J instanceof v(J).SVGElement&&typeof J.getBBox=="function"}}();function F(J){return J===v(J).document.documentElement}function B(J){return y?N(J)?V(J):z(J):I}function W(J){var Z=J.x,ie=J.y,ue=J.width,fe=J.height,ae=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,w=Object.create(ae.prototype);return U(w,{x:Z,y:ie,width:ue,height:fe,top:ie,right:Z+ue,bottom:fe+ie,left:Z}),w}function H(J,Z,ie,ue){return{x:J,y:Z,width:ie,height:ue}}var le=function(){function J(Z){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=H(0,0,0,0),this.target=Z}return J.prototype.isActive=function(){var Z=B(this.target);return this.contentRect_=Z,Z.width!==this.broadcastWidth||Z.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var Z=this.contentRect_;return this.broadcastWidth=Z.width,this.broadcastHeight=Z.height,Z},J}(),te=function(){function J(Z,ie){var ue=W(ie);U(this,{target:Z,contentRect:ue})}return J}(),se=function(){function J(Z,ie,ue){if(this.activeObservations_=[],this.observations_=new a,typeof Z!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Z,this.controller_=ie,this.callbackCtx_=ue}return J.prototype.observe=function(Z){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Z instanceof v(Z).Element))throw new TypeError('parameter 1 is not of type "Element".');var ie=this.observations_;ie.has(Z)||(ie.set(Z,new le(Z)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(Z){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Z instanceof v(Z).Element))throw new TypeError('parameter 1 is not of type "Element".');var ie=this.observations_;ie.has(Z)&&(ie.delete(Z),ie.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var Z=this;this.clearActive(),this.observations_.forEach(function(ie){ie.isActive()&&Z.activeObservations_.push(ie)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var Z=this.callbackCtx_,ie=this.activeObservations_.map(function(ue){return new te(ue.target,ue.broadcastRect())});this.callback_.call(Z,ie,Z),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),Ee=typeof WeakMap!="undefined"?new WeakMap:new a,he=function(){function J(Z){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ie=Q.getInstance(),ue=new se(Z,ie,this);Ee.set(this,ue)}return J}();["observe","unobserve","disconnect"].forEach(function(J){he.prototype[J]=function(){var Z;return(Z=Ee.get(this))[J].apply(Z,arguments)}});var ve=function(){return typeof T.ResizeObserver!="undefined"?T.ResizeObserver:he}();p.Z=ve},92848:function(k,p){"use strict";var o;p.Q=b,o=_;var a="",y=" ",T=/[ \t\n\r\f]+/g;function b(h){var j=String(h||a).trim();return j===a?[]:j.split(T)}function _(h){return h.join(y).trim()}},77179:function(k,p,o){"use strict";var a=this&&this.__importDefault||function(_){return _&&_.__esModule?_:{default:_}},y=a(o(58970)),T=o(39159);function b(_,h){var j={};return!_||typeof _!="string"||(0,y.default)(_,function(G,u){G&&u&&(j[(0,T.camelCase)(G,h)]=u)}),j}b.default=b,k.exports=b},39159:function(k,p){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.camelCase=void 0;var o=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,y=/^[^-]+$/,T=/^-(webkit|moz|ms|o|khtml)-/,b=/^-(ms)-/,_=function(u){return!u||y.test(u)||o.test(u)},h=function(u,Q){return Q.toUpperCase()},j=function(u,Q){return"".concat(Q,"-")},G=function(u,Q){return Q===void 0&&(Q={}),_(u)?u:(u=u.toLowerCase(),Q.reactCompat?u=u.replace(b,j):u=u.replace(T,j),u.replace(a,h))};p.camelCase=G},58970:function(k,p,o){"use strict";var a=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(p,"__esModule",{value:!0}),p.default=T;var y=a(o(93193));function T(b,_){var h=null;if(!b||typeof b!="string")return h;var j=(0,y.default)(b),G=typeof _=="function";return j.forEach(function(u){if(u.type==="declaration"){var Q=u.property,U=u.value;G?_(Q,U,u):U&&(h=h||{},h[Q]=U)}}),h}},98040:function(k){k.exports=function(){var p=document.getSelection();if(!p.rangeCount)return function(){};for(var o=document.activeElement,a=[],y=0;y<p.rangeCount;y++)a.push(p.getRangeAt(y));switch(o.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":o.blur();break;default:o=null;break}return p.removeAllRanges(),function(){p.type==="Caret"&&p.removeAllRanges(),p.rangeCount||a.forEach(function(T){p.addRange(T)}),o&&o.focus()}}},97270:function(k){k.exports=o;var p=Object.prototype.hasOwnProperty;function o(){for(var a={},y=0;y<arguments.length;y++){var T=arguments[y];for(var b in T)p.call(T,b)&&(a[b]=T[b])}return a}},90034:function(k,p,o){var a={"./doc.png":63604,"./docx.png":30045,"./jpg.png":13740,"./md.png":58881,"./pdf.png":28982,"./png.png":2487,"./txt.png":3164,"./xls.png":88745,"./xlsx.png":49321};function y(b){var _=T(b);return o(_)}function T(b){if(!o.o(a,b)){var _=new Error("Cannot find module '"+b+"'");throw _.code="MODULE_NOT_FOUND",_}return a[b]}y.keys=function(){return Object.keys(a)},y.resolve=T,k.exports=y,y.id=90034},93314:function(k){"use strict";k.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VX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DUn5sLmArcpT3TmxK2GYa7/M2pG8k8D8bPa9FZCT2gQCiDl1x35XMhoIA3tPY3ColfhYDJNqhK+7ZBQu8u1F1suSnTMDP64r7+4ULPKt5NgOT4oDim3qNOvDGb/T1//2Q7ivt+Ov+B9Y9YupdaSXbhL7qZ84m7+EW1sDx27H1VUBJDi705stpHTkPnLwYV28fvzd0rHpLLAZDhLc0xfPwYPUbPXwKQOxmlrFZGDciX+Zmr/veSaCzN65zqnI7zla8e+UBgQXE/GTrb2xD0rCON0kgdiwxzA588Z7E8Ez2ZuZG4XwXYAT5zMl730u4fJvRZwYvNWk17kGvIkbzNKzjuRJI2JEY8ShlFHB7UX4jlKk0Q/SupQacuwwc60g8VA8WXcR/ZrwAgHUisVZT1GeG0ozepp3ZwluZMei4H0rkZr33T/19+NIo/xsE6w9DyupAKnZEgee+yLeHgtjNjOpUCt0KefpKO148/vmXlif7XcP17ItdEH9kPd/WbfxahbHgVgAa1MsSukFYsWspJdwATtXma37k0bCe6yGxWAL1BJT/72A59puHVEXzkM9YiD6AwJZhRdiwdQklfCikU99/AbthZuR4JJoLAAAAAElFTkSuQmCC"},19773:function(k){"use strict";k.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAABrVJREFUaEPtm2lsVFUUx//nddYuU6DM64woRQS0UxCDiFrF2AiYiERFCjEgBo1BI59E3IJxi0QTNVHERD6AkUoUJdEoSsEFVEJkkUU6FbCRsnRmXpcZ6DbrO/pm7I6dMjP3WbH3S5vMPcvvnnPPO/fOG0KK47f6+jwV0TVguouZbSmqSVuMgCATdpLRstQ1fHhtMoWUbMI/fe6u97zLKh5NVT7jckS7SmTHzcn0pgxcpXh/B/MVyQzo9TkR8Qg78hzkaO3PZsrAbsVbx8xOvYAGYkey5owsttkah4C7rcCAIry9qW50Q/jc5rOR0HiVkKXJS6BsMEsDWflMzbFQFoqMuZBhPq/KjEX4vdOH/HWh1mGZcjxdP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195bcdnBgfGxRKrgfzjYG74uqs3MRCyJvWBbO7f+FhXZ+dGPSSK1alTpyemTrxxV6oDWbt2zX0bLu0bFqKYvX785IHT75y5P9WBFCUzdt2VH5W2tjb+E6YUm4XFxakjk8fWtok3kvZA9q/s6nxm8xUbPq2fIorFkcmp5xcWlz6pgaT7PQgC0aH0XbL+mb4P9DASqtvkMd1anT47pENxJhDo7l55oH/DpUM6JKrJq0ePPXN2YfH8H7ROBfKujEz1faB3Uh/nf5NEJsVice7N/Py/p9/K94snG/VT57kXyPvm2tvbX1uxonOuo63d02OiCywsLHQsFoprCoVCVg9DdbR7AzffNDChQyusBvLsC7nsUiGT0yGRFUODWatz2OqTw4GDE1wdyApPvKPDgwP9YpH9QJ7LjUkmc5sOiWLm7R0aHBgVi6wH8vfncyNeMbNPh0Sxsv0GHawHAgcO5sb1pYaEKDb2Vw9IJJCDB3P950QmMpLp0UOiuuh7jxd7VsrwwMBAXg+tSiQQwBmtxYKMMxKqB+LobJdRm6d2yyUWCORyud75s7JbX3anHhJVydu7bqV8L4mVoyTRQEqwmiwtyai+elb43oQi6GoxpxN0QofjXSJ7BgcHJiVh/wemziNQhWOwlgAAAABJRU5ErkJggg=="},88745:function(k){"use strict";k.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFQlJREFUeF7tnXtwFUW+x3+T9/tBCALyBiEkEhJehiAm4RGiF+5a7i6lgCV3191bKMvq6kVx1V1dWW8ZdfXuZYF7d2t1FZeXpYJlQUBAUcI7qIRnAIXEEE7CCQl5J2du9eEezOOcTPec6TndM7+uSuWP6f49vr/+nJkz09NHgQA0h6N2AgTDFFAhQ1XVaQootwcgDMu5PHH2W4iOjKgICQ05HgzK0XFpI5+xXJImJ6SY7A8cjmt/AkVdCgAhZvu2uj8CSOcWGRFeHR4etnJ86sg3rJ47r/xMA8ThqJ2kKrBNAUjilYzd7XYHxKNHbEzUoQnjRk+xuz568jcPk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tSivqztrmv5RqSKzv/AzX70/fxN4ToYFL0XdBk3rJBThvy/rnzMhT62TNyahTpMtFhsO1OF9aEfsYgHKFTfoeVDh8PbuHANJCJj4ewC0QIGOQgEMvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},90302:function(k,p,o){"use strict";o.d(p,{ZP:function(){return B}});const a=-1,y=0,T=1,b=2,_=3,h=4,j=5,G=6,u=7,Q=8,U=typeof self=="object"?self:globalThis,v=(W,H)=>{const le=(se,Ee)=>(W.set(Ee,se),se),te=se=>{if(W.has(se))return W.get(se);const[Ee,he]=H[se];switch(Ee){case y:case a:return le(he,se);case T:{const ve=le([],se);for(const J of he)ve.push(te(J));return ve}case b:{const ve=le({},se);for(const[J,Z]of he)ve[te(J)]=te(Z);return ve}case _:return le(new Date(he),se);case h:{const{source:ve,flags:J}=he;return le(new RegExp(ve,J),se)}case j:{const ve=le(new Map,se);for(const[J,Z]of he)ve.set(te(J),te(Z));return ve}case G:{const ve=le(new Set,se);for(const J of he)ve.add(te(J));return ve}case u:{const{name:ve,message:J}=he;return le(new U[ve](J),se)}case Q:return le(BigInt(he),se);case"BigInt":return le(Object(BigInt(he)),se);case"ArrayBuffer":return le(new Uint8Array(he).buffer,he);case"DataView":{const{buffer:ve}=new Uint8Array(he);return le(new DataView(ve),he)}}return le(new U[Ee](he),se)};return te},I=W=>v(new Map,W)(0),C="",{toString:P}={},{keys:X}=Object,V=W=>{const H=typeof W;if(H!=="object"||!W)return[y,H];const le=P.call(W).slice(8,-1);switch(le){case"Array":return[T,C];case"Object":return[b,C];case"Date":return[_,C];case"RegExp":return[h,C];case"Map":return[j,C];case"Set":return[G,C];case"DataView":return[T,le]}return le.includes("Array")?[T,le]:le.includes("Error")?[u,le]:[b,le]},z=([W,H])=>W===y&&(H==="function"||H==="symbol"),N=(W,H,le,te)=>{const se=(he,ve)=>{const J=te.push(he)-1;return le.set(ve,J),J},Ee=he=>{if(le.has(he))return le.get(he);let[ve,J]=V(he);switch(ve){case y:{let ie=he;switch(J){case"bigint":ve=Q,ie=he.toString();break;case"function":case"symbol":if(W)throw new TypeError("unable to serialize "+J);ie=null;break;case"undefined":return se([a],he)}return se([ve,ie],he)}case T:{if(J){let fe=he;return J==="DataView"?fe=new Uint8Array(he.buffer):J==="ArrayBuffer"&&(fe=new Uint8Array(he)),se([J,[...fe]],he)}const ie=[],ue=se([ve,ie],he);for(const fe of he)ie.push(Ee(fe));return ue}case b:{if(J)switch(J){case"BigInt":return se([J,he.toString()],he);case"Boolean":case"Number":case"String":return se([J,he.valueOf()],he)}if(H&&"toJSON"in he)return Ee(he.toJSON());const ie=[],ue=se([ve,ie],he);for(const fe of X(he))(W||!z(V(he[fe])))&&ie.push([Ee(fe),Ee(he[fe])]);return ue}case _:return se([ve,he.toISOString()],he);case h:{const{source:ie,flags:ue}=he;return se([ve,{source:ie,flags:ue}],he)}case j:{const ie=[],ue=se([ve,ie],he);for(const[fe,ae]of he)(W||!(z(V(fe))||z(V(ae))))&&ie.push([Ee(fe),Ee(ae)]);return ue}case G:{const ie=[],ue=se([ve,ie],he);for(const fe of he)(W||!z(V(fe)))&&ie.push(Ee(fe));return ue}}const{message:Z}=he;return se([ve,{name:J,message:Z}],he)};return Ee},F=(W,{json:H,lossy:le}={})=>{const te=[];return N(!(H||le),!!H,new Map,te)(W),te};var B=typeof structuredClone=="function"?(W,H)=>H&&("json"in H||"lossy"in H)?I(F(W,H)):structuredClone(W):(W,H)=>I(F(W,H))},11630:function(k,p,o){"use strict";o.d(p,{P:function(){return y},Q:function(){return a}});function a(T){const b=[],_=String(T||"");let h=_.indexOf(","),j=0,G=!1;for(;!G;){h===-1&&(h=_.length,G=!0);const u=_.slice(j,h).trim();(u||!G)&&b.push(u),j=h+1,h=_.indexOf(",",j)}return b}function y(T,b){const _=b||{};return(T[T.length-1]===""?[...T,""]:T).join((_.padRight?" ":"")+","+(_.padLeft===!1?"":" ")).trim()}},87342:function(k,p,o){"use strict";o.d(p,{ok:function(){return T},t1:function(){return b}});function a(_){return _}function y(){}function T(){}function b(){}},40797:function(k,p,o){"use strict";o.d(p,{N:function(){return I}});var a=o(81994),y=o(43309);function T(P,X){return b(P,X||{})||{type:"root",children:[]}}function b(P,X){const V=_(P,X);return V&&X.afterTransform&&X.afterTransform(P,V),V}function _(P,X){switch(P.nodeType){case 1:return Q(P,X);case 3:return G(P);case 8:return u(P);case 9:return h(P,X);case 10:return j();case 11:return h(P,X);default:return}}function h(P,X){return{type:"root",children:U(P,X)}}function j(){return{type:"doctype"}}function G(P){return{type:"text",value:P.nodeValue||""}}function u(P){return{type:"comment",value:P.nodeValue||""}}function Q(P,X){const V=P.namespaceURI,z=V===y.t.svg?a.s:a.h,N=V===y.t.html?P.tagName.toLowerCase():P.tagName,F=V===y.t.html&&N==="template"?P.content:P,B=P.getAttributeNames(),W={};let H=-1;for(;++H<B.length;)W[B[H]]=P.getAttribute(B[H])||"";return z(N,W,U(F,X))}function U(P,X){const V=P.childNodes,z=[];let N=-1;for(;++N<V.length;){const F=b(V[N],X);F!==void 0&&z.push(F)}return z}const v=new DOMParser;function I(P,X){const V=X!=null&&X.fragment?C(P):v.parseFromString(P,"text/html");return T(V)}function C(P){const X=document.createElement("template");return X.innerHTML=P,X.content}},91378:function(k,p,o){"use strict";o.d(p,{l:function(){return z}});var a=o(10502);const y=function(he,ve,J){const Z=(0,a.O)(J);if(!he||!he.type||!he.children)throw new Error("Expected parent node");if(typeof ve=="number"){if(ve<0||ve===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(ve=he.children.indexOf(ve),ve<0)throw new Error("Expected child node or index");for(;++ve<he.children.length;)if(Z(he.children[ve],ve,he))return he.children[ve]},T=function(he,ve,J,Z,ie){const ue=b(ve);if(J!=null&&(typeof J!="number"||J<0||J===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(Z!=null&&(!Z.type||!Z.children))throw new Error("Expected valid `parent`");if(J==null!=(Z==null))throw new Error("Expected both `index` and `parent`");return u(he)?ue.call(ie,he,J,Z):!1},b=function(he){if(he==null)return G;if(typeof he=="string")return h(he);if(typeof he=="object")return _(he);if(typeof he=="function")return j(he);throw new Error("Expected function, string, or array as `test`")};function _(he){const ve=[];let J=-1;for(;++J<he.length;)ve[J]=b(he[J]);return j(Z);function Z(...ie){let ue=-1;for(;++ue<ve.length;)if(ve[ue].apply(this,ie))return!0;return!1}}function h(he){return j(ve);function ve(J){return J.tagName===he}}function j(he){return ve;function ve(J,Z,ie){return!!(u(J)&&he.call(this,J,typeof Z=="number"?Z:void 0,ie||void 0))}}function G(he){return!!(he&&typeof he=="object"&&"type"in he&&he.type==="element"&&"tagName"in he&&typeof he.tagName=="string")}function u(he){return he!==null&&typeof he=="object"&&"type"in he&&"tagName"in he}const Q=/\n/g,U=/[\t ]+/g,v=b("br"),I=b(se),C=b("p"),P=b("tr"),X=b(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",te,Ee]),V=b(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function z(he,ve){const J=ve||{},Z="children"in he?he.children:[],ie=V(he),ue=le(he,{whitespace:J.whitespace||"normal",breakBefore:!1,breakAfter:!1}),fe=[];(he.type==="text"||he.type==="comment")&&fe.push(...B(he,{whitespace:ue,breakBefore:!0,breakAfter:!0}));let ae=-1;for(;++ae<Z.length;)fe.push(...N(Z[ae],he,{whitespace:ue,breakBefore:ae?void 0:ie,breakAfter:ae<Z.length-1?v(Z[ae+1]):ie}));const w=[];let L;for(ae=-1;++ae<fe.length;){const oe=fe[ae];typeof oe=="number"?L!==void 0&&oe>L&&(L=oe):oe&&(L!==void 0&&L>-1&&w.push(`
`.repeat(L)||" "),L=-1,w.push(oe))}return w.join("")}function N(he,ve,J){return he.type==="element"?F(he,ve,J):he.type==="text"?J.whitespace==="normal"?B(he,J):W(he):[]}function F(he,ve,J){const Z=le(he,J),ie=he.children||[];let ue=-1,fe=[];if(X(he))return fe;let ae,w;for(v(he)||P(he)&&y(ve,he,P)?w=`
`:C(he)?(ae=2,w=2):V(he)&&(ae=1,w=1);++ue<ie.length;)fe=fe.concat(N(ie[ue],he,{whitespace:Z,breakBefore:ue?void 0:ae,breakAfter:ue<ie.length-1?v(ie[ue+1]):w}));return I(he)&&y(ve,he,I)&&fe.push(" "),ae&&fe.unshift(ae),w&&fe.push(w),fe}function B(he,ve){const J=String(he.value),Z=[],ie=[];let ue=0;for(;ue<=J.length;){Q.lastIndex=ue;const w=Q.exec(J),L=w&&"index"in w?w.index:J.length;Z.push(H(J.slice(ue,L).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),ue===0?ve.breakBefore:!0,L===J.length?ve.breakAfter:!0)),ue=L+1}let fe=-1,ae;for(;++fe<Z.length;)Z[fe].charCodeAt(Z[fe].length-1)===8203||fe<Z.length-1&&Z[fe+1].charCodeAt(0)===8203?(ie.push(Z[fe]),ae=void 0):Z[fe]?(typeof ae=="number"&&ie.push(ae),ie.push(Z[fe]),ae=0):(fe===0||fe===Z.length-1)&&ie.push(0);return ie}function W(he){return[String(he.value)]}function H(he,ve,J){const Z=[];let ie=0,ue;for(;ie<he.length;){U.lastIndex=ie;const fe=U.exec(he);ue=fe?fe.index:he.length,!ie&&!ue&&fe&&!ve&&Z.push(""),ie!==ue&&Z.push(he.slice(ie,ue)),ie=fe?ue+fe[0].length:ue}return ie!==ue&&!J&&Z.push(""),Z.join(" ")}function le(he,ve){if(he.type==="element"){const J=he.properties||{};switch(he.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return J.wrap?"pre-wrap":"pre";case"td":case"th":return J.noWrap?"nowrap":ve.whitespace;case"textarea":return"pre-wrap";default:}}return ve.whitespace}function te(he){return!!(he.properties||{}).hidden}function se(he){return he.tagName==="td"||he.tagName==="th"}function Ee(he){return he.tagName==="dialog"&&!(he.properties||{}).open}},81994:function(k,p,o){"use strict";o.d(p,{h:function(){return X},s:function(){return V}});var a=o(58222),y=o(11630);const T=/[#.]/g;function b(z,N){const F=z||"",B={};let W=0,H,le;for(;W<F.length;){T.lastIndex=W;const te=T.exec(F),se=F.slice(W,te?te.index:F.length);se&&(H?H==="#"?B.id=se:Array.isArray(B.className)?B.className.push(se):B.className=[se]:le=se,W+=se.length),te&&(H=te[0],W++)}return{type:"element",tagName:le||N||"div",properties:B,children:[]}}var _=o(84837),h=o(64326),j=o(71523);function G(z,N,F){const B=F?C(F):void 0;function W(H,le,...te){let se;if(H==null){se={type:"root",children:[]};const Ee=le;te.unshift(Ee)}else{se=b(H,N);const Ee=se.tagName.toLowerCase(),he=B?B.get(Ee):void 0;if(se.tagName=he||Ee,u(le))te.unshift(le);else for(const[ve,J]of Object.entries(le))Q(z,se.properties,ve,J)}for(const Ee of te)U(se.children,Ee);return se.type==="element"&&se.tagName==="template"&&(se.content={type:"root",children:se.children},se.children=[]),se}return W}function u(z){if(z===null||typeof z!="object"||Array.isArray(z))return!0;if(typeof z.type!="string")return!1;const N=z,F=Object.keys(z);for(const B of F){const W=N[B];if(W&&typeof W=="object"){if(!Array.isArray(W))return!0;const H=W;for(const le of H)if(typeof le!="number"&&typeof le!="string")return!0}}return!!("children"in z&&Array.isArray(z.children))}function Q(z,N,F,B){const W=(0,_.s)(z,F);let H;if(B!=null){if(typeof B=="number"){if(Number.isNaN(B))return;H=B}else typeof B=="boolean"?H=B:typeof B=="string"?W.spaceSeparated?H=(0,j.Q)(B):W.commaSeparated?H=(0,y.Q)(B):W.commaOrSpaceSeparated?H=(0,j.Q)((0,y.Q)(B).join(" ")):H=v(W,W.property,B):Array.isArray(B)?H=[...B]:H=W.property==="style"?I(B):String(B);if(Array.isArray(H)){const le=[];for(const te of H)le.push(v(W,W.property,te));H=le}W.property==="className"&&Array.isArray(N.className)&&(H=N.className.concat(H)),N[W.property]=H}}function U(z,N){if(N!=null)if(typeof N=="number"||typeof N=="string")z.push({type:"text",value:String(N)});else if(Array.isArray(N))for(const F of N)U(z,F);else if(typeof N=="object"&&"type"in N)N.type==="root"?U(z,N.children):z.push(N);else throw new Error("Expected node, nodes, or string, got `"+N+"`")}function v(z,N,F){if(typeof F=="string"){if(z.number&&F&&!Number.isNaN(Number(F)))return Number(F);if((z.boolean||z.overloadedBoolean)&&(F===""||(0,h.F)(F)===(0,h.F)(N)))return!0}return F}function I(z){const N=[];for(const[F,B]of Object.entries(z))N.push([F,B].join(": "));return N.join("; ")}function C(z){const N=new Map;for(const F of z)N.set(F.toLowerCase(),F);return N}const P=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],X=G(a.dy,"div"),V=G(a.YP,"g",P)},79710:function(k,p,o){"use strict";o.d(p,{ZP:function(){return Fs}});const a=Number.isFinite||function(d){return typeof d=="number"&&isFinite(d)},y=Number.isSafeInteger||function(d){return typeof d=="number"&&Math.abs(d)<=T},T=Number.MAX_SAFE_INTEGER||9007199254740991;let b=function(d){return d.NETWORK_ERROR="networkError",d.MEDIA_ERROR="mediaError",d.KEY_SYSTEM_ERROR="keySystemError",d.MUX_ERROR="muxError",d.OTHER_ERROR="otherError",d}({}),_=function(d){return d.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",d.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",d.KEY_SYSTEM_NO_SESSION="keySystemNoSession",d.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",d.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",d.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",d.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",d.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",d.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",d.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",d.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",d.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",d.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",d.MANIFEST_LOAD_ERROR="manifestLoadError",d.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",d.MANIFEST_PARSING_ERROR="manifestParsingError",d.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",d.LEVEL_EMPTY_ERROR="levelEmptyError",d.LEVEL_LOAD_ERROR="levelLoadError",d.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",d.LEVEL_PARSING_ERROR="levelParsingError",d.LEVEL_SWITCH_ERROR="levelSwitchError",d.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",d.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",d.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",d.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",d.FRAG_LOAD_ERROR="fragLoadError",d.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",d.FRAG_DECRYPT_ERROR="fragDecryptError",d.FRAG_PARSING_ERROR="fragParsingError",d.FRAG_GAP="fragGap",d.REMUX_ALLOC_ERROR="remuxAllocError",d.KEY_LOAD_ERROR="keyLoadError",d.KEY_LOAD_TIMEOUT="keyLoadTimeOut",d.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",d.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",d.BUFFER_APPEND_ERROR="bufferAppendError",d.BUFFER_APPENDING_ERROR="bufferAppendingError",d.BUFFER_STALLED_ERROR="bufferStalledError",d.BUFFER_FULL_ERROR="bufferFullError",d.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",d.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",d.ASSET_LIST_LOAD_ERROR="assetListLoadError",d.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",d.ASSET_LIST_PARSING_ERROR="assetListParsingError",d.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",d.INTERNAL_EXCEPTION="internalException",d.INTERNAL_ABORTED="aborted",d.ATTACH_MEDIA_ERROR="attachMediaError",d.UNKNOWN="unknown",d}({}),h=function(d){return d.MEDIA_ATTACHING="hlsMediaAttaching",d.MEDIA_ATTACHED="hlsMediaAttached",d.MEDIA_DETACHING="hlsMediaDetaching",d.MEDIA_DETACHED="hlsMediaDetached",d.MEDIA_ENDED="hlsMediaEnded",d.STALL_RESOLVED="hlsStallResolved",d.BUFFER_RESET="hlsBufferReset",d.BUFFER_CODECS="hlsBufferCodecs",d.BUFFER_CREATED="hlsBufferCreated",d.BUFFER_APPENDING="hlsBufferAppending",d.BUFFER_APPENDED="hlsBufferAppended",d.BUFFER_EOS="hlsBufferEos",d.BUFFERED_TO_END="hlsBufferedToEnd",d.BUFFER_FLUSHING="hlsBufferFlushing",d.BUFFER_FLUSHED="hlsBufferFlushed",d.MANIFEST_LOADING="hlsManifestLoading",d.MANIFEST_LOADED="hlsManifestLoaded",d.MANIFEST_PARSED="hlsManifestParsed",d.LEVEL_SWITCHING="hlsLevelSwitching",d.LEVEL_SWITCHED="hlsLevelSwitched",d.LEVEL_LOADING="hlsLevelLoading",d.LEVEL_LOADED="hlsLevelLoaded",d.LEVEL_UPDATED="hlsLevelUpdated",d.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",d.LEVELS_UPDATED="hlsLevelsUpdated",d.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",d.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",d.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",d.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",d.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",d.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",d.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",d.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",d.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",d.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",d.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",d.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",d.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",d.CUES_PARSED="hlsCuesParsed",d.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",d.INIT_PTS_FOUND="hlsInitPtsFound",d.FRAG_LOADING="hlsFragLoading",d.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",d.FRAG_LOADED="hlsFragLoaded",d.FRAG_DECRYPTED="hlsFragDecrypted",d.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",d.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",d.FRAG_PARSING_METADATA="hlsFragParsingMetadata",d.FRAG_PARSED="hlsFragParsed",d.FRAG_BUFFERED="hlsFragBuffered",d.FRAG_CHANGED="hlsFragChanged",d.FPS_DROP="hlsFpsDrop",d.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",d.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",d.ERROR="hlsError",d.DESTROYING="hlsDestroying",d.KEY_LOADING="hlsKeyLoading",d.KEY_LOADED="hlsKeyLoaded",d.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",d.BACK_BUFFER_REACHED="hlsBackBufferReached",d.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",d.ASSET_LIST_LOADING="hlsAssetListLoading",d.ASSET_LIST_LOADED="hlsAssetListLoaded",d.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",d.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",d.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",d.INTERSTITIAL_STARTED="hlsInterstitialStarted",d.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",d.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",d.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",d.INTERSTITIAL_ENDED="hlsInterstitialEnded",d.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",d.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",d.EVENT_CUE_ENTER="hlsEventCueEnter",d}({});var j={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},G={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class u{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class Q{constructor(e,t,n,r=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new u(e),this.fast_=new u(t),this.defaultTTFB_=r,this.ttfb_=new u(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:s}=this;n.halfLife!==e&&(this.slow_=new u(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new u(t,r.getEstimate(),r.getTotalWeight())),s.halfLife!==e&&(this.ttfb_=new u(e,s.getEstimate(),s.getTotalWeight()))}sample(e,t){e=Math.max(e,this.minDelayMs_);const n=8*t,r=e/1e3,s=n/r;this.fast_.sample(r,s),this.slow_.sample(r,s)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function U(d,e,t){return(e=X(e))in d?Object.defineProperty(d,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):d[e]=t,d}function v(){return v=Object.assign?Object.assign.bind():function(d){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(d[n]=t[n])}return d},v.apply(null,arguments)}function I(d,e){var t=Object.keys(d);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(d);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(d,r).enumerable})),t.push.apply(t,n)}return t}function C(d){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?I(Object(t),!0).forEach(function(n){U(d,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach(function(n){Object.defineProperty(d,n,Object.getOwnPropertyDescriptor(t,n))})}return d}function P(d,e){if(typeof d!="object"||!d)return d;var t=d[Symbol.toPrimitive];if(t!==void 0){var n=t.call(d,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(d)}function X(d){var e=P(d,"string");return typeof e=="symbol"?e:e+""}class V{constructor(e,t){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const n=`[${e}]:`;this.trace=z,this.debug=t.debug.bind(null,n),this.log=t.log.bind(null,n),this.warn=t.warn.bind(null,n),this.info=t.info.bind(null,n),this.error=t.error.bind(null,n)}}const z=function(){},N={trace:z,debug:z,log:z,warn:z,info:z,error:z};function F(){return v({},N)}function B(d,e){const t=self.console[d];return t?t.bind(self.console,`${e?"["+e+"] ":""}[${d}] >`):z}function W(d,e,t){return e[d]?e[d].bind(e):B(d,t)}const H=F();function le(d,e,t){const n=F();if(typeof console=="object"&&d===!0||typeof d=="object"){const r=["debug","log","info","warn","error"];r.forEach(s=>{n[s]=W(s,d,t)});try{n.log(`Debug logs enabled for "${e}" in hls.js version 1.6.2`)}catch(s){return F()}r.forEach(s=>{H[s]=W(s,d)})}else v(H,n);return n}const te=H;function se(d=!0){return typeof self=="undefined"?void 0:(d||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function Ee(d){return typeof self!="undefined"&&d===self.ManagedMediaSource}function he(d,e){const t=Object.keys(d),n=Object.keys(e),r=t.length,s=n.length;return!r||!s||r===s&&!t.some(l=>n.indexOf(l)===-1)}function ve(d,e=!1){if(typeof TextDecoder!="undefined"){const m=new TextDecoder("utf-8").decode(d);if(e){const A=m.indexOf("\0");return A!==-1?m.substring(0,A):m}return m.replace(/\0/g,"")}const t=d.length;let n,r,s,l="",f=0;for(;f<t;){if(n=d[f++],n===0&&e)return l;if(n===0||n===3)continue;switch(n>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:l+=String.fromCharCode(n);break;case 12:case 13:r=d[f++],l+=String.fromCharCode((n&31)<<6|r&63);break;case 14:r=d[f++],s=d[f++],l+=String.fromCharCode((n&15)<<12|(r&63)<<6|(s&63)<<0);break}}return l}const J={hexDump:function(d){let e="";for(let t=0;t<d.length;t++){let n=d[t].toString(16);n.length<2&&(n="0"+n),e+=n}return e}};function Z(d){return d&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d}var ie={exports:{}},ue;function fe(){return ue||(ue=1,function(d,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,s=/(?:\/|^)\.(?=\/)/g,l=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,f={buildAbsoluteURL:function(E,m,A){if(A=A||{},E=E.trim(),m=m.trim(),!m){if(!A.alwaysNormalize)return E;var S=f.parseURL(E);if(!S)throw new Error("Error trying to parse base URL.");return S.path=f.normalizePath(S.path),f.buildURLFromParts(S)}var Y=f.parseURL(m);if(!Y)throw new Error("Error trying to parse relative URL.");if(Y.scheme)return A.alwaysNormalize?(Y.path=f.normalizePath(Y.path),f.buildURLFromParts(Y)):m;var q=f.parseURL(E);if(!q)throw new Error("Error trying to parse base URL.");if(!q.netLoc&&q.path&&q.path[0]!=="/"){var ne=r.exec(q.path);q.netLoc=ne[1],q.path=ne[2]}q.netLoc&&!q.path&&(q.path="/");var Te={scheme:q.scheme,netLoc:Y.netLoc,path:null,params:Y.params,query:Y.query,fragment:Y.fragment};if(!Y.netLoc&&(Te.netLoc=q.netLoc,Y.path[0]!=="/"))if(!Y.path)Te.path=q.path,Y.params||(Te.params=q.params,Y.query||(Te.query=q.query));else{var Ae=q.path,We=Ae.substring(0,Ae.lastIndexOf("/")+1)+Y.path;Te.path=f.normalizePath(We)}return Te.path===null&&(Te.path=A.alwaysNormalize?f.normalizePath(Y.path):Y.path),f.buildURLFromParts(Te)},parseURL:function(E){var m=n.exec(E);return m?{scheme:m[1]||"",netLoc:m[2]||"",path:m[3]||"",params:m[4]||"",query:m[5]||"",fragment:m[6]||""}:null},normalizePath:function(E){for(E=E.split("").reverse().join("").replace(s,"");E.length!==(E=E.replace(l,"")).length;);return E.split("").reverse().join("")},buildURLFromParts:function(E){return E.scheme+E.netLoc+E.path+E.params+E.query+E.fragment}};d.exports=f})()}(ie)),ie.exports}var ae=fe();class w{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var L={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class oe{constructor(e){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof e=="string"&&(e={url:e}),this.base=e,dt(this,"stats")}setByteRange(e,t){const n=e.split("@",2);let r;n.length===1?r=(t==null?void 0:t.byteRangeEndOffset)||0:r=parseInt(n[1]),this._byteRange=[r,parseInt(n[0])+r]}get baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[L.AUDIO]:null,[L.VIDEO]:null,[L.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(e){this._streams=e}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new w),this._stats}set stats(e){this._stats=e}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ae.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[L.AUDIO]=null,e[L.VIDEO]=null,e[L.AUDIOVIDEO]=null}}function M(d){return d.sn!=="initSegment"}class De extends oe{constructor(e,t){super(t),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=e}get byteLength(){if(this.hasStats){const e=this.stats.total;if(e)return e}if(this.byteRange){const e=this.byteRange[0],t=this.byteRange[1];if(a(e)&&a(t))return t-e}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(e){this._bitrate=e}get decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{const n=Object.keys(this.levelkeys);if(n.length===1)return this._decryptdata=this.levelkeys[n[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const e=a(this.duration)?this.duration:0;return this.programDateTime+e*1e3}get encrypted(){var e;if((e=this._decryptdata)!=null&&e.encrypted)return!0;if(this.levelkeys){const t=Object.keys(this.levelkeys),n=t.length;if(n>1||n===1&&this.levelkeys[t[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(e){if(!a(e)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=e}get ref(){return M(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(e){this.setStart(this.start+e)}setStart(e){this.start=e,this._ref&&(this._ref.start=e)}setDuration(e){this.duration=e,this._ref&&(this._ref.duration=e)}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;(e=this.loader)==null||e.abort(),(t=this.keyLoader)==null||t.abort()}setElementaryStreamInfo(e,t,n,r,s,l=!1){const{elementaryStreams:f}=this,E=f[e];if(!E){f[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:s,partial:l};return}E.startPTS=Math.min(E.startPTS,t),E.endPTS=Math.max(E.endPTS,n),E.startDTS=Math.min(E.startDTS,r),E.endDTS=Math.max(E.endDTS,s)}}class Fe extends oe{constructor(e,t,n,r,s){super(n),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const l=e.enumeratedString("BYTERANGE");l&&this.setByteRange(l,s),s&&(this.fragOffset=s.fragOffset+s.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}function Re(d,e){const t=Object.getPrototypeOf(d);if(t){const n=Object.getOwnPropertyDescriptor(t,e);return n||Re(t,e)}}function dt(d,e){const t=Re(d,e);t&&(t.enumerable=!0,Object.defineProperty(d,e,t))}const st=Math.pow(2,32)-1,it=[].push,lt={video:1,audio:2,id3:3,text:4};function zt(d){return String.fromCharCode.apply(null,d)}function nn(d,e){const t=d[e]<<8|d[e+1];return t<0?65536+t:t}function Mt(d,e){const t=rn(d,e);return t<0?4294967296+t:t}function en(d,e){let t=Mt(d,e);return t*=Math.pow(2,32),t+=Mt(d,e+4),t}function rn(d,e){return d[e]<<24|d[e+1]<<16|d[e+2]<<8|d[e+3]}function rt(d,e,t){d[e]=t>>24,d[e+1]=t>>16&255,d[e+2]=t>>8&255,d[e+3]=t&255}function tt(d){const e=d.byteLength;for(let t=0;t<e;){const n=Mt(d,t);if(n>8&&d[t+4]===109&&d[t+5]===111&&d[t+6]===111&&d[t+7]===102)return!0;t=n>1?t+n:e}return!1}function Be(d,e){const t=[];if(!e.length)return t;const n=d.byteLength;for(let r=0;r<n;){const s=Mt(d,r),l=zt(d.subarray(r+4,r+8)),f=s>1?r+s:n;if(l===e[0])if(e.length===1)t.push(d.subarray(r+8,f));else{const E=Be(d.subarray(r+8,f),e.slice(1));E.length&&it.apply(t,E)}r=f}return t}function Oe(d){const e=[],t=d[0];let n=8;const r=Mt(d,n);n+=4;let s=0,l=0;t===0?(s=Mt(d,n),l=Mt(d,n+4),n+=8):(s=en(d,n),l=en(d,n+8),n+=16),n+=2;let f=d.length+l;const E=nn(d,n);n+=2;for(let m=0;m<E;m++){let A=n;const S=Mt(d,A);A+=4;const Y=S&2147483647;if((S&2147483648)>>>31===1)return te.warn("SIDX has hierarchical references (not supported)"),null;const ne=Mt(d,A);A+=4,e.push({referenceSize:Y,subsegmentDuration:ne,info:{duration:ne/r,start:f,end:f+Y-1}}),f+=Y,A+=4,n=A}return{earliestPresentationTime:s,timescale:r,version:t,referencesCount:E,references:e}}function Ue(d){const e=[],t=Be(d,["moov","trak"]);for(let r=0;r<t.length;r++){const s=t[r],l=Be(s,["tkhd"])[0];if(l){let f=l[0];const E=Mt(l,f===0?12:20),m=Be(s,["mdia","mdhd"])[0];if(m){f=m[0];const A=Mt(m,f===0?12:20),S=Be(s,["mdia","hdlr"])[0];if(S){const Y=zt(S.subarray(8,12)),q={soun:L.AUDIO,vide:L.VIDEO}[Y],ne=Be(s,["mdia","minf","stbl","stsd"])[0],Te=$e(ne);q?(e[E]={timescale:A,type:q,stsd:Te},e[q]=C({timescale:A,id:E},Te)):e[E]={timescale:A,type:Y,stsd:Te}}}}}return Be(d,["moov","mvex","trex"]).forEach(r=>{const s=Mt(r,4),l=e[s];l&&(l.default={duration:Mt(r,12),flags:Mt(r,20)})}),e}function $e(d){const e=d.subarray(8),t=e.subarray(86),n=zt(e.subarray(4,8));let r=n,s;const l=n==="enca"||n==="encv";if(l){const m=Be(e,[n])[0].subarray(n==="enca"?28:78);Be(m,["sinf"]).forEach(S=>{const Y=Be(S,["schm"])[0];if(Y){const q=zt(Y.subarray(4,8));if(q==="cbcs"||q==="cenc"){const ne=Be(S,["frma"])[0];ne&&(r=zt(ne))}}})}const f=r;switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const E=Be(t,["avcC"])[0];E&&E.length>3&&(r+="."+Ne(E[1])+Ne(E[2])+Ne(E[3]),s=ee(f==="avc1"?"dva1":"dvav",t));break}case"mp4a":{const E=Be(e,[n])[0],m=Be(E.subarray(28),["esds"])[0];if(m&&m.length>7){let A=4;if(m[A++]!==3)break;A=ye(m,A),A+=2;const S=m[A++];if(S&128&&(A+=2),S&64&&(A+=m[A++]),m[A++]!==4)break;A=ye(m,A);const Y=m[A++];if(Y===64)r+="."+Ne(Y);else break;if(A+=12,m[A++]!==5)break;A=ye(m,A);const q=m[A++];let ne=(q&248)>>3;ne===31&&(ne+=1+((q&7)<<3)+((m[A]&224)>>5)),r+="."+ne}break}case"hvc1":case"hev1":{const E=Be(t,["hvcC"])[0];if(E&&E.length>12){const m=E[1],A=["","A","B","C"][m>>6],S=m&31,Y=Mt(E,2),q=(m&32)>>5?"H":"L",ne=E[12],Te=E.subarray(6,12);r+="."+A+S,r+="."+Y.toString(16).toUpperCase(),r+="."+q+ne;let Ae="";for(let We=Te.length;We--;){const pt=Te[We];(pt||Ae)&&(Ae="."+pt.toString(16).toUpperCase()+Ae)}r+=Ae}s=ee(f=="hev1"?"dvhe":"dvh1",t);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{r=ee(r,t)||r;break}case"vp09":{const E=Be(t,["vpcC"])[0];if(E&&E.length>6){const m=E[4],A=E[5],S=E[6]>>4&15;r+="."+Ie(m)+"."+Ie(A)+"."+Ie(S)}break}case"av01":{const E=Be(t,["av1C"])[0];if(E&&E.length>2){const m=E[1]>>>5,A=E[1]&31,S=E[2]>>>7?"H":"M",Y=(E[2]&64)>>6,q=(E[2]&32)>>5,ne=m===2&&Y?q?12:10:Y?10:8,Te=(E[2]&16)>>4,Ae=(E[2]&8)>>3,We=(E[2]&4)>>2,pt=E[2]&3;r+="."+m+"."+Ie(A)+S+"."+Ie(ne)+"."+Te+"."+Ae+We+pt+"."+Ie(1)+"."+Ie(1)+"."+Ie(1)+"."+0,s=ee("dav1",t)}break}}return{codec:r,encrypted:l,supplemental:s}}function ee(d,e){const t=Be(e,["dvvC"]),n=t.length?t[0]:Be(e,["dvcC"])[0];if(n){const r=n[2]>>1&127,s=n[2]<<5&32|n[3]>>3&31;return d+"."+Ie(r)+"."+Ie(s)}}function ye(d,e){const t=e+5;for(;d[e++]&128&&e<t;);return e}function Ne(d){return("0"+d.toString(16).toUpperCase()).slice(-2)}function Ie(d){return(d<10?"0":"")+d}function ze(d,e){if(!d||!e)return d;const t=e.keyId;return t&&e.isCommonEncryption&&Be(d,["moov","trak"]).forEach(r=>{const l=Be(r,["mdia","minf","stbl","stsd"])[0].subarray(8);let f=Be(l,["enca"]);const E=f.length>0;E||(f=Be(l,["encv"])),f.forEach(m=>{const A=E?m.subarray(28):m.subarray(78);Be(A,["sinf"]).forEach(Y=>{const q=He(Y);if(q){const ne=q.subarray(8,24);ne.some(Te=>Te!==0)||(te.log(`[eme] Patching keyId in 'enc${E?"a":"v"}>sinf>>tenc' box: ${J.hexDump(ne)} -> ${J.hexDump(t)}`),q.set(t,8))}})})}),d}function He(d){const e=Be(d,["schm"])[0];if(e){const t=zt(e.subarray(4,8));if(t==="cbcs"||t==="cenc")return Be(d,["schi","tenc"])[0]}return null}function Je(d,e){return Be(e,["moof","traf"]).reduce((t,n)=>{const r=Be(n,["tfdt"])[0],s=r[0],l=Be(n,["tfhd"]).reduce((f,E)=>{const m=Mt(E,4),A=d[m];if(A){let S=Mt(r,4);if(s===1){if(S===st)return te.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),f;S*=st+1,S+=Mt(r,8)}const Y=A.timescale||9e4,q=S/Y;if(a(q)&&(f===null||q<f))return q}return f},null);return l!==null&&a(l)&&(t===null||l<t)?l:t},null)}function Ke(d,e){let t=0,n=0,r=0;const s=Be(d,["moof","traf"]);for(let l=0;l<s.length;l++){const f=s[l],E=Be(f,["tfhd"])[0],m=Mt(E,4),A=e[m];if(!A)continue;const S=A.default,Y=Mt(E,0)|(S==null?void 0:S.flags);let q=S==null?void 0:S.duration;Y&8&&(Y&2?q=Mt(E,12):q=Mt(E,8));const ne=A.timescale||9e4,Te=Be(f,["trun"]);for(let Ae=0;Ae<Te.length;Ae++){if(t=je(Te[Ae]),!t&&q){const We=Mt(Te[Ae],4);t=q*We}A.type===L.VIDEO?n+=t/ne:A.type===L.AUDIO&&(r+=t/ne)}}if(n===0&&r===0){let l=1/0,f=0,E=0;const m=Be(d,["sidx"]);for(let A=0;A<m.length;A++){const S=Oe(m[A]);if(S!=null&&S.references){l=Math.min(l,S.earliestPresentationTime/S.timescale);const Y=S.references.reduce((q,ne)=>q+ne.info.duration||0,0);f=Math.max(f,Y+S.earliestPresentationTime/S.timescale),E=f-l}}if(E&&a(E))return E}return n||r}function je(d){const e=Mt(d,0);let t=8;e&1&&(t+=4),e&4&&(t+=4);let n=0;const r=Mt(d,4);for(let s=0;s<r;s++){if(e&256){const l=Mt(d,t);n+=l,t+=4}e&512&&(t+=4),e&1024&&(t+=4),e&2048&&(t+=4)}return n}function _e(d,e,t){Be(e,["moof","traf"]).forEach(n=>{Be(n,["tfhd"]).forEach(r=>{const s=Mt(r,4),l=d[s];if(!l)return;const f=l.timescale||9e4;Be(n,["tfdt"]).forEach(E=>{const m=E[0],A=t*f;if(A){let S=Mt(E,4);if(m===0)S-=A,S=Math.max(S,0),rt(E,4,S);else{S*=Math.pow(2,32),S+=Mt(E,8),S-=A,S=Math.max(S,0);const Y=Math.floor(S/(st+1)),q=Math.floor(S%(st+1));rt(E,4,Y),rt(E,8,q)}}})})})}function Qe(d){const e={valid:null,remainder:null},t=Be(d,["moof"]);if(t.length<2)return e.remainder=d,e;const n=t[t.length-1];return e.valid=d.slice(0,n.byteOffset-8),e.remainder=d.slice(n.byteOffset-8),e}function Me(d,e){const t=new Uint8Array(d.length+e.length);return t.set(d),t.set(e,d.length),t}function Pe(d,e){const t=[],n=e.samples,r=e.timescale,s=e.id;let l=!1;return Be(n,["moof"]).map(E=>{const m=E.byteOffset-8;Be(E,["traf"]).map(S=>{const Y=Be(S,["tfdt"]).map(q=>{const ne=q[0];let Te=Mt(q,4);return ne===1&&(Te*=Math.pow(2,32),Te+=Mt(q,8)),Te/r})[0];return Y!==void 0&&(d=Y),Be(S,["tfhd"]).map(q=>{const ne=Mt(q,4),Te=Mt(q,0)&16777215,Ae=(Te&1)!==0,We=(Te&2)!==0,pt=(Te&8)!==0;let et=0;const Rt=(Te&16)!==0;let kt=0;const on=(Te&32)!==0;let Bt=8;ne===s&&(Ae&&(Bt+=8),We&&(Bt+=4),pt&&(et=Mt(q,Bt),Bt+=4),Rt&&(kt=Mt(q,Bt),Bt+=4),on&&(Bt+=4),e.type==="video"&&(l=Le(e.codec)),Be(S,["trun"]).map(Xt=>{const ln=Xt[0],Vt=Mt(Xt,0)&16777215,Sn=(Vt&1)!==0;let kn=0;const Hr=(Vt&4)!==0,br=(Vt&256)!==0;let or=0;const Wn=(Vt&512)!==0;let lr=0;const tr=(Vt&1024)!==0,In=(Vt&2048)!==0;let Nn=0;const Cr=Mt(Xt,4);let Tr=8;Sn&&(kn=Mt(Xt,Tr),Tr+=4),Hr&&(Tr+=4);let Ur=kn+m;for(let Kr=0;Kr<Cr;Kr++){if(br?(or=Mt(Xt,Tr),Tr+=4):or=et,Wn?(lr=Mt(Xt,Tr),Tr+=4):lr=kt,tr&&(Tr+=4),In&&(ln===0?Nn=Mt(Xt,Tr):Nn=rn(Xt,Tr),Tr+=4),e.type===L.VIDEO){let ai=0;for(;ai<lr;){const yi=Mt(n,Ur);if(Ur+=4,ht(l,n[Ur])){const Ca=n.subarray(Ur,Ur+yi);nt(Ca,l?2:1,d+Nn/r,t)}Ur+=yi,ai+=yi+4}}d+=or/r}}))})})}),t}function Le(d){if(!d)return!1;const e=d.substring(0,4);return e==="hvc1"||e==="hev1"||e==="dvh1"||e==="dvhe"}function ht(d,e){if(d){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function nt(d,e,t,n){const r=re(d);let s=0;s+=e;let l=0,f=0,E=0;for(;s<r.length;){l=0;do{if(s>=r.length)break;E=r[s++],l+=E}while(E===255);f=0;do{if(s>=r.length)break;E=r[s++],f+=E}while(E===255);const m=r.length-s;let A=s;if(f<m)s+=f;else if(f>m){te.error(`Malformed SEI payload. ${f} is too small, only ${m} bytes left to parse.`);break}if(l===4){if(r[A++]===181){const Y=nn(r,A);if(A+=2,Y===49){const q=Mt(r,A);if(A+=4,q===1195456820){const ne=r[A++];if(ne===3){const Te=r[A++],Ae=31&Te,We=64&Te,pt=We?2+Ae*3:0,et=new Uint8Array(pt);if(We){et[0]=Te;for(let Rt=1;Rt<pt;Rt++)et[Rt]=r[A++]}n.push({type:ne,payloadType:l,pts:t,bytes:et})}}}}}else if(l===5&&f>16){const S=[];for(let ne=0;ne<16;ne++){const Te=r[A++].toString(16);S.push(Te.length==1?"0"+Te:Te),(ne===3||ne===5||ne===7||ne===9)&&S.push("-")}const Y=f-16,q=new Uint8Array(Y);for(let ne=0;ne<Y;ne++)q[ne]=r[A++];n.push({payloadType:l,pts:t,uuid:S.join(""),userData:ve(q),userDataBytes:q})}}}function re(d){const e=d.byteLength,t=[];let n=1;for(;n<e-2;)d[n]===0&&d[n+1]===0&&d[n+2]===3?(t.push(n+2),n+=2):n++;if(t.length===0)return d;const r=e-t.length,s=new Uint8Array(r);let l=0;for(n=0;n<r;l++,n++)l===t[0]&&(l++,t.shift()),s[n]=d[l];return s}function ut(d){const e=d[0];let t="",n="",r=0,s=0,l=0,f=0,E=0,m=0;if(e===0){for(;zt(d.subarray(m,m+1))!=="\0";)t+=zt(d.subarray(m,m+1)),m+=1;for(t+=zt(d.subarray(m,m+1)),m+=1;zt(d.subarray(m,m+1))!=="\0";)n+=zt(d.subarray(m,m+1)),m+=1;n+=zt(d.subarray(m,m+1)),m+=1,r=Mt(d,12),s=Mt(d,16),f=Mt(d,20),E=Mt(d,24),m=28}else if(e===1){m+=4,r=Mt(d,m),m+=4;const S=Mt(d,m);m+=4;const Y=Mt(d,m);for(m+=4,l=jo(2,32)*S+Y,y(l)||(l=Number.MAX_SAFE_INTEGER,te.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),f=Mt(d,m),m+=4,E=Mt(d,m),m+=4;zt(d.subarray(m,m+1))!=="\0";)t+=zt(d.subarray(m,m+1)),m+=1;for(t+=zt(d.subarray(m,m+1)),m+=1;zt(d.subarray(m,m+1))!=="\0";)n+=zt(d.subarray(m,m+1)),m+=1;n+=zt(d.subarray(m,m+1)),m+=1}const A=d.subarray(m,d.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:l,presentationTimeDelta:s,eventDuration:f,id:E,payload:A}}function Ze(d,...e){const t=e.length;let n=8,r=t;for(;r--;)n+=e[r].byteLength;const s=new Uint8Array(n);for(s[0]=n>>24&255,s[1]=n>>16&255,s[2]=n>>8&255,s[3]=n&255,s.set(d,4),r=0,n=8;r<t;r++)s.set(e[r],n),n+=e[r].byteLength;return s}function Se(d,e,t){if(d.byteLength!==16)throw new RangeError("Invalid system id");let n,r;n=0,r=new Uint8Array;let s;n>0?(s=new Uint8Array(4),e.length>0&&new DataView(s.buffer).setUint32(0,e.length,!1)):s=new Uint8Array;const l=new Uint8Array(4);return t&&t.byteLength>0&&new DataView(l.buffer).setUint32(0,t.byteLength,!1),Ze([112,115,115,104],new Uint8Array([n,0,0,0]),d,s,r,l,t||new Uint8Array)}function St(d){const e=[];if(d instanceof ArrayBuffer){const t=d.byteLength;let n=0;for(;n+32<t;){const r=new DataView(d,n),s=tn(r);e.push(s),n+=s.size}}return e}function tn(d){const e=d.getUint32(0),t=d.byteOffset,n=d.byteLength;if(n<e)return{offset:t,size:n};if(d.getUint32(4)!==1886614376)return{offset:t,size:e};const s=d.getUint32(8)>>>24;if(s!==0&&s!==1)return{offset:t,size:e};const l=d.buffer,f=J.hexDump(new Uint8Array(l,t+12,16)),E=d.getUint32(28);let m=null,A=null;if(s===0){if(e-32<E||E<22)return{offset:t,size:e};A=new Uint8Array(l,t+32,E)}else if(s===1){if(!E||n<t+32+E*16+16)return{offset:t,size:e};m=[];for(let S=0;S<E;S++)m.push(new Uint8Array(l,t+32+S*16,16))}return{version:s,systemId:f,kids:m,data:A,offset:t,size:e}}const gt=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),Xe={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function qe(d,e){const t=Xe[e];return!!t&&!!t[d.slice(0,4)]}function Ge(d,e,t=!0){return!d.split(",").some(n=>!ke(n,e,t))}function ke(d,e,t=!0){var n;const r=se(t);return(n=r==null?void 0:r.isTypeSupported(ce(d,e)))!=null?n:!1}function ce(d,e){return`${e}/mp4;codecs=${d}`}function pe(d){if(d){const e=d.substring(0,4);return Xe.video[e]}return 2}function me(d){const e=gt();return d.split(",").reduce((t,n)=>{const s=e&&Le(n)?9:Xe.video[n];return s?(s*2+t)/(t?3:2):(Xe.audio[n]+t)/(t?2:1)},0)}const we={};function Ye(d,e=!0){if(we[d])return we[d];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[d];for(let r=0;r<t.length;r++){var n;if(ke(t[r],"audio",e))return we[d]=t[r],t[r];if(t[r]==="mp3"&&(n=se(e))!=null&&n.isTypeSupported("audio/mpeg"))return""}return d}const bt=/flac|opus|mp4a\.40\.34/i;function Dt(d,e=!0){return d.replace(bt,t=>Ye(t.toLowerCase(),e))}function jt(d,e){const t=[];if(d){const n=d.split(",");for(let r=0;r<n.length;r++)qe(n[r],"video")||t.push(n[r])}return e&&t.push(e),t.join(",")}function Kt(d,e){if(d&&(d.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(d)!==-1))return d;if(e){const t=e.split(",");if(t.length>1){if(d){for(let n=t.length;n--;)if(t[n].substring(0,4)===d.substring(0,4))return t[n]}return t[0]}}return e||d}function Ht(d){const e=d.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");if(n.length>2){let r=n.shift()+".";r+=parseInt(n.shift()).toString(16),r+=("000"+parseInt(n.shift()).toString(16)).slice(-4),e[t]=r}}return e.join(",")}function Ft(d){if(d.startsWith("av01.")){const e=d.split("."),t=["0","111","01","01","01","0"];for(let n=e.length;n>4&&n<10;n++)e[n]=t[n-4];return e.join(".")}return d}function Gt(d){const e=se(d)||{isTypeSupported:()=>!1};return{mpeg:e.isTypeSupported("audio/mpeg"),mp3:e.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:e.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Yt(d){return d.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const $t={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function bn(d,e){return{supported:!1,configurations:e,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:d}}const Jt={};function un(d,e,t,n,r,s){const l=d.audioCodec?d.audioGroups:null,f=s==null?void 0:s.audioCodec,E=s==null?void 0:s.channels,m=E?parseInt(E):f?1/0:2;let A=null;if(l!=null&&l.length)try{l.length===1&&l[0]?A=e.groups[l[0]].channels:A=l.reduce((S,Y)=>{if(Y){const q=e.groups[Y];if(!q)throw new Error(`Audio track group ${Y} not found`);Object.keys(q.channels).forEach(ne=>{S[ne]=(S[ne]||0)+q.channels[ne]})}return S},{2:0})}catch(S){return!0}return d.videoCodec!==void 0&&(d.width>1920&&d.height>1088||d.height>1920&&d.width>1088||d.frameRate>Math.max(n,30)||d.videoRange!=="SDR"&&d.videoRange!==t||d.bitrate>Math.max(r,8e6))||!!A&&a(m)&&Object.keys(A).some(S=>parseInt(S)>m)}function mn(d,e,t){const n=d.videoCodec,r=d.audioCodec;if(!n&&!r||!t)return Promise.resolve($t);const s=[];if(n){const l={width:d.width,height:d.height,bitrate:Math.ceil(Math.max(d.bitrate*.9,d.averageBitrate)),framerate:d.frameRate||30},f=d.videoRange;f!=="SDR"&&(l.transferFunction=f.toLowerCase());const E=n.split(","),m=navigator.userAgent;if(E.some(A=>Le(A))&&gt())return Promise.resolve(bn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${m})`),s));s.push.apply(s,E.map(A=>({type:"media-source",video:C(C({},l),{},{contentType:ce(Ft(A),"video")})})))}return r&&d.audioGroups&&d.audioGroups.forEach(l=>{var f;l&&((f=e.groups[l])==null||f.tracks.forEach(E=>{if(E.groupId===l){const m=E.channels||"",A=parseFloat(m);a(A)&&A>2&&s.push.apply(s,r.split(",").map(S=>({type:"media-source",audio:{contentType:ce(S,"audio"),channels:""+A}})))}}))}),Promise.all(s.map(l=>{const f=hn(l);return Jt[f]||(Jt[f]=t.decodingInfo(l))})).then(l=>({supported:!l.some(f=>!f.supported),configurations:s,decodingInfoResults:l})).catch(l=>({supported:!1,configurations:s,decodingInfoResults:[],error:l}))}function hn(d){const{audio:e,video:t}=d,n=t||e;if(n){const r=Yt(n.contentType);if(t)return`r${t.height}x${t.width}f${Math.ceil(t.framerate)}${t.transferFunction||"sd"}_${r}_${Math.ceil(t.bitrate/1e5)}`;if(e)return`c${e.channels}${e.spatialRendering?"s":"n"}_${r}`}return""}const vn=["NONE","TYPE-0","TYPE-1",null];function yn(d){return vn.indexOf(d)>-1}const Gn=["SDR","PQ","HLG"];function jn(d){return!!d&&Gn.indexOf(d)>-1}var It={No:"",Yes:"YES",v2:"v2"};function Ct(d){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=d,r=n<e/2;return e&&r?t?It.v2:It.Yes:It.No}class Ut{constructor(e,t,n){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=n}addDirectives(e){const t=new self.URL(e);return this.msn!==void 0&&t.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class xt{constructor(e){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.frameRate=e.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=e.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.codecSet=[e.videoCodec,e.audioCodec].filter(n=>!!n).map(n=>n.substring(0,4)).join(","),"supplemental"in e){var t;this.supplemental=e.supplemental;const n=(t=e.supplemental)==null?void 0:t.videoCodec;n&&n!==e.videoCodec&&(this.codecSet+=`,${n.substring(0,4)}`)}this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(e){return fn(this._audioGroups,e)}hasSubtitleGroup(e){return fn(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t){if(e==="audio"){let n=this._audioGroups;n||(n=this._audioGroups=[]),n.indexOf(t)===-1&&n.push(t)}else if(e==="text"){let n=this._subtitleGroups;n||(n=this._subtitleGroups=[]),n.indexOf(t)===-1&&n.push(t)}}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return(e=this.audioGroups)==null?void 0:e[0]}get textGroupId(){var e;return(e=this.subtitleGroups)==null?void 0:e[0]}addFallback(){}}function fn(d,e){return!e||!d?!1:d.indexOf(e)!==-1}function cn(){if(typeof matchMedia=="function"){const d=matchMedia("(dynamic-range: high)"),e=matchMedia("bad query");if(d.media!==e.media)return d.matches===!0}return!1}function ot(d,e){let t=!1,n=[];if(d&&(t=d!=="SDR",n=[d]),e){n=e.allowedVideoRanges||Gn.slice(0);const r=n.join("")!=="SDR"&&!e.videoCodec;t=e.preferHDR!==void 0?e.preferHDR:r&&cn(),t||(n=["SDR"])}return{preferHDR:t,allowedVideoRanges:n}}const D=d=>{const e=new WeakSet;return(t,n)=>{if(d&&(n=d(t,n)),typeof n=="object"&&n!==null){if(e.has(n))return;e.add(n)}return n}},En=(d,e)=>JSON.stringify(d,D(e));function Pn(d,e,t,n,r){const s=Object.keys(d),l=n==null?void 0:n.channels,f=n==null?void 0:n.audioCodec,E=r==null?void 0:r.videoCodec,m=l&&parseInt(l)===2;let A=!1,S=!1,Y=1/0,q=1/0,ne=1/0,Te=1/0,Ae=0,We=[];const{preferHDR:pt,allowedVideoRanges:et}=ot(e,r);for(let Xt=s.length;Xt--;){const ln=d[s[Xt]];A||(A=ln.channels[2]>0),Y=Math.min(Y,ln.minHeight),q=Math.min(q,ln.minFramerate),ne=Math.min(ne,ln.minBitrate),et.filter(Sn=>ln.videoRanges[Sn]>0).length>0&&(S=!0)}Y=a(Y)?Y:0,q=a(q)?q:0;const Rt=Math.max(1080,Y),kt=Math.max(30,q);ne=a(ne)?ne:t,t=Math.max(ne,t),S||(e=void 0);const on=s.length>1;return{codecSet:s.reduce((Xt,ln)=>{const Vt=d[ln];if(ln===Xt)return Xt;if(We=S?et.filter(Sn=>Vt.videoRanges[Sn]>0):[],on){if(Vt.minBitrate>t)return Qt(ln,`min bitrate of ${Vt.minBitrate} > current estimate of ${t}`),Xt;if(!Vt.hasDefaultAudio)return Qt(ln,"no renditions with default or auto-select sound found"),Xt;if(f&&ln.indexOf(f.substring(0,4))%5!==0)return Qt(ln,`audio codec preference "${f}" not found`),Xt;if(l&&!m){if(!Vt.channels[l])return Qt(ln,`no renditions with ${l} channel sound found (channels options: ${Object.keys(Vt.channels)})`),Xt}else if((!f||m)&&A&&Vt.channels[2]===0)return Qt(ln,"no renditions with stereo sound found"),Xt;if(Vt.minHeight>Rt)return Qt(ln,`min resolution of ${Vt.minHeight} > maximum of ${Rt}`),Xt;if(Vt.minFramerate>kt)return Qt(ln,`min framerate of ${Vt.minFramerate} > maximum of ${kt}`),Xt;if(!We.some(Sn=>Vt.videoRanges[Sn]>0))return Qt(ln,`no variants with VIDEO-RANGE of ${En(We)} found`),Xt;if(E&&ln.indexOf(E.substring(0,4))%5!==0)return Qt(ln,`video codec preference "${E}" not found`),Xt;if(Vt.maxScore<Ae)return Qt(ln,`max score of ${Vt.maxScore} < selected max of ${Ae}`),Xt}return Xt&&(me(ln)>=me(Xt)||Vt.fragmentError>d[Xt].fragmentError)?Xt:(Te=Vt.minIndex,Ae=Vt.maxScore,ln)},void 0),videoRanges:We,preferHDR:pt,minFramerate:q,minBitrate:ne,minIndex:Te}}function Qt(d,e){te.log(`[abr] start candidates with "${d}" ignored because ${e}`)}function An(d){return d.reduce((e,t)=>{let n=e.groups[t.groupId];n||(n=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),n.tracks.push(t);const r=t.channels||"2";return n.channels[r]=(n.channels[r]||0)+1,n.hasDefault=n.hasDefault||t.default,n.hasAutoSelect=n.hasAutoSelect||t.autoselect,n.hasDefault&&(e.hasDefaultAudio=!0),n.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function _n(d,e,t,n){return d.slice(t,n+1).reduce((r,s,l)=>{if(!s.codecSet)return r;const f=s.audioGroups;let E=r[s.codecSet];E||(r[s.codecSet]=E={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:l,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!f,fragmentError:0}),E.minBitrate=Math.min(E.minBitrate,s.bitrate);const m=Math.min(s.height,s.width);return E.minHeight=Math.min(E.minHeight,m),E.minFramerate=Math.min(E.minFramerate,s.frameRate),E.minIndex=Math.min(E.minIndex,l),E.maxScore=Math.max(E.maxScore,s.score),E.fragmentError+=s.fragmentError,E.videoRanges[s.videoRange]=(E.videoRanges[s.videoRange]||0)+1,f&&f.forEach(A=>{if(!A)return;const S=e.groups[A];S&&(E.hasDefaultAudio=E.hasDefaultAudio||e.hasDefaultAudio?S.hasDefault:S.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(S.channels).forEach(Y=>{E.channels[Y]=(E.channels[Y]||0)+S.channels[Y]}))}),r},{})}function at(d){if(!d)return d;const{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:s}=d;return{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:s}}function vt(d,e,t){if("attrs"in d){const n=e.indexOf(d);if(n!==-1)return n}for(let n=0;n<e.length;n++){const r=e[n];if(be(d,r,t))return n}return-1}function be(d,e,t){const{groupId:n,name:r,lang:s,assocLang:l,default:f}=d,E=d.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(s===void 0||wt(s,e.lang))&&(s===void 0||e.assocLang===l)&&(f===void 0||e.default===f)&&(E===void 0||e.forced===E)&&(!("characteristics"in d)||sn(d.characteristics||"",e.characteristics))&&(t===void 0||t(d,e))}function wt(d,e="--"){return d.length===e.length?d===e:d.startsWith(e)||e.startsWith(d)}function sn(d,e=""){const t=d.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function Wt(d,e){const{audioCodec:t,channels:n}=d;return(t===void 0||(e.audioCodec||"").substring(0,4)===t.substring(0,4))&&(n===void 0||n===(e.channels||"2"))}function dn(d,e,t,n,r){const s=e[n],f=e.reduce((Y,q,ne)=>{const Te=q.uri;return(Y[Te]||(Y[Te]=[])).push(ne),Y},{})[s.uri];f.length>1&&(n=Math.max.apply(Math,f));const E=s.videoRange,m=s.frameRate,A=s.codecSet.substring(0,4),S=gn(e,n,Y=>{if(Y.videoRange!==E||Y.frameRate!==m||Y.codecSet.substring(0,4)!==A)return!1;const q=Y.audioGroups,ne=t.filter(Te=>!q||q.indexOf(Te.groupId)!==-1);return vt(d,ne,r)>-1});return S>-1?S:gn(e,n,Y=>{const q=Y.audioGroups,ne=t.filter(Te=>!q||q.indexOf(Te.groupId)!==-1);return vt(d,ne,r)>-1})}function gn(d,e,t){for(let n=e;n>-1;n--)if(t(d[n]))return n;for(let n=e+1;n<d.length;n++)if(t(d[n]))return n;return-1}function zn(d,e){var t;return!!d&&d!==((t=e.loadLevelObj)==null?void 0:t.uri)}class Dn extends V{constructor(e){super("abr",e.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.bwEstimator=void 0,this._abandonRulesCheck=t=>{var n;const{fragCurrent:r,partCurrent:s,hls:l}=this,{autoLevelEnabled:f,media:E}=l;if(!r||!E)return;const m=performance.now(),A=s?s.stats:r.stats,S=s?s.duration:r.duration,Y=m-A.loading.start,q=l.minAutoLevel,ne=r.level,Te=this._nextAutoLevel;if(A.aborted||A.loaded&&A.loaded===A.total||ne<=q){this.clearTimer(),this._nextAutoLevel=-1;return}if(!f)return;const Ae=Te>-1&&Te!==ne,We=!!t||Ae;if(!We&&(E.paused||!E.playbackRate||!E.readyState))return;const pt=l.mainForwardBufferInfo;if(!We&&pt===null)return;const et=this.bwEstimator.getEstimateTTFB(),Rt=Math.abs(E.playbackRate);if(Y<=Math.max(et,1e3*(S/(Rt*2))))return;const kt=pt?pt.len/Rt:0,on=A.loading.first?A.loading.first-A.loading.start:-1,Bt=A.loaded&&on>-1,Xt=this.getBwEstimate(),ln=l.levels,Vt=ln[ne],Sn=Math.max(A.loaded,Math.round(S*(r.bitrate||Vt.averageBitrate)/8));let kn=Bt?Y-on:Y;kn<1&&Bt&&(kn=Math.min(Y,A.loaded*8/Xt));const Hr=Bt?A.loaded*1e3/kn:0,br=et/1e3,or=Hr?(Sn-A.loaded)/Hr:Sn*8/Xt+br;if(or<=kt)return;const Wn=Hr?Hr*8:Xt,lr=((n=(t==null?void 0:t.details)||this.hls.latestLevelDetails)==null?void 0:n.live)===!0,tr=this.hls.config.abrBandWidthUpFactor;let In=Number.POSITIVE_INFINITY,Nn;for(Nn=ne-1;Nn>q;Nn--){const Kr=ln[Nn].maxBitrate,ai=!ln[Nn].details||lr;if(In=this.getTimeToLoadFrag(br,Wn,S*Kr,ai),In<Math.min(kt,S+br))break}if(In>=or||In>S*10)return;Bt?this.bwEstimator.sample(Y-Math.min(et,on),A.loaded):this.bwEstimator.sampleTTFB(Y);const Cr=ln[Nn].maxBitrate;this.getBwEstimate()*tr>Cr&&this.resetEstimator(Cr);const Tr=this.findBestLevel(Cr,q,Nn,0,kt,1,1);Tr>-1&&(Nn=Tr),this.warn(`Fragment ${r.sn}${s?" part "+s.index:""} of level ${ne} is loading too slowly;
Fragment duration: ${r.duration.toFixed(3)}
Time to underbuffer: ${kt.toFixed(3)} s
Estimated load time for current fragment: ${or.toFixed(3)} s
Estimated load time for down switch fragment: ${In.toFixed(3)} s
TTFB estimate: ${on|0} ms
Current BW estimate: ${a(Xt)?Xt|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${Nn} @ ${Cr|0} bps`),l.nextLoadLevel=l.nextAutoLevel=Nn,this.clearTimer();const Ur=()=>{if(this.clearTimer(),this.fragCurrent===r&&this.hls.loadLevel===Nn&&Nn>0){const Kr=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Nn>0?"and switching down":""}
Fragment duration: ${r.duration.toFixed(3)} s
Time to underbuffer: ${Kr.toFixed(3)} s`),r.abortRequests(),this.fragCurrent=this.partCurrent=null,Nn>q){let ai=this.findBestLevel(this.hls.levels[q].bitrate,q,Nn,0,Kr,1,1);ai===-1&&(ai=q),this.hls.nextLoadLevel=this.hls.nextAutoLevel=ai,this.resetEstimator(this.hls.levels[ai].bitrate)}}};Ae||or>In*2?Ur():this.timer=self.setInterval(Ur,In*1e3),l.trigger(h.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,part:s,stats:A})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(this.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new Q(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.FRAG_LOADING,this.onFragLoading,this),e.on(h.FRAG_LOADED,this.onFragLoaded,this),e.on(h.FRAG_BUFFERED,this.onFragBuffered,this),e.on(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(h.LEVEL_LOADED,this.onLevelLoaded,this),e.on(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(h.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.FRAG_LOADING,this.onFragLoading,this),e.off(h.FRAG_LOADED,this.onFragLoaded,this),e.off(h.FRAG_BUFFERED,this.onFragBuffered,this),e.off(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(h.LEVEL_LOADED,this.onLevelLoaded,this),e.off(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(h.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(h.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;if(!this.ignoreFragment(n)){if(!n.bitrateTest){var r;this.fragCurrent=n,this.partCurrent=(r=t.part)!=null?r:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case _.BUFFER_ADD_CODEC_ERROR:case _.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case _.FRAG_LOAD_TIMEOUT:{const n=t.frag,{fragCurrent:r,partCurrent:s}=this;if(n&&r&&n.sn===r.sn&&n.level===r.level){const l=performance.now(),f=s?s.stats:n.stats,E=l-f.loading.start,m=f.loading.first?f.loading.first-f.loading.start:-1;if(f.loaded&&m>-1){const S=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(E-Math.min(S,m),f.loaded)}else this.bwEstimator.sampleTTFB(E)}break}}}getTimeToLoadFrag(e,t,n,r){const s=e+n/t,l=r?e+this.lastLevelLoadSec:0;return s+l}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,s=r.end-r.first;a(s)&&(this.lastLevelLoadSec=s/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(t.levelInfo)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===G.MAIN&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const s=n?n.duration:t.duration,l=this.hls.levels[t.level],f=(l.loaded?l.loaded.bytes:0)+r.loaded,E=(l.loaded?l.loaded.duration:0)+s;l.loaded={bytes:f,duration:E},l.realBitrate=Math.round(8*f/E)}if(t.bitrateTest){const s={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(h.FRAG_BUFFERED,s),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,s=r!=null&&r.stats.loaded?r.stats:n.stats;if(s.aborted||this.ignoreFragment(n))return;const l=s.parsing.end-s.loading.start-Math.min(s.loading.first-s.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(l,s.loaded),s.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=l/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==G.MAIN||e.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,n=this.getBwEstimate(),r=this.hls.config.maxStarvationDelay,s=this.findBestLevel(n,t,e,0,r,1,1);if(s>-1)return s;const l=this.hls.firstLevel,f=Math.min(Math.max(l,t),e);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${l} clamped to ${f}`),f}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,n=this.bwEstimator.canEstimate(),r=this.lastLoadedFragLevel>-1;if(e!==-1&&(!n||!r||this.nextAutoLevelKey===this.getAutoLevelKey()))return e;const s=n&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(e!==-1){const l=this.hls.levels;if(l.length>Math.max(e,s)&&l[e].loadError<=l[s].loadError)return e}return this._nextAutoLevel=s,this.nextAutoLevelKey=this.getAutoLevelKey(),s}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this;if(n.levels.length<=1)return n.loadLevel;const{maxAutoLevel:r,config:s,minAutoLevel:l}=n,f=t?t.duration:e?e.duration:0,E=this.getBwEstimate(),m=this.getStarvationDelay();let A=s.abrBandWidthFactor,S=s.abrBandWidthUpFactor;if(m){const Ae=this.findBestLevel(E,l,r,m,0,A,S);if(Ae>=0)return this.rebufferNotice=-1,Ae}let Y=f?Math.min(f,s.maxStarvationDelay):s.maxStarvationDelay;if(!m){const Ae=this.bitrateTestDelay;Ae&&(Y=(f?Math.min(f,s.maxLoadingDelay):s.maxLoadingDelay)-Ae,this.info(`bitrate test took ${Math.round(1e3*Ae)}ms, set first fragment max fetchDuration to ${Math.round(1e3*Y)} ms`),A=S=1)}const q=this.findBestLevel(E,l,r,m,Y,A,S);if(this.rebufferNotice!==q&&(this.rebufferNotice=q,this.info(`${m?"rebuffering expected":"buffer is empty"}, optimal quality level ${q}`)),q>-1)return q;const ne=n.levels[l],Te=n.loadLevelObj;return Te&&(ne==null?void 0:ne.bitrate)<Te.bitrate?l:n.loadLevel}getStarvationDelay(){const e=this.hls,t=e.media;if(!t)return 1/0;const n=t&&t.playbackRate!==0?Math.abs(t.playbackRate):1,r=e.mainForwardBufferInfo;return(r?r.len:0)/n}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(e,t,n,r,s,l,f){var E;const m=r+s,A=this.lastLoadedFragLevel,S=A===-1?this.hls.firstLevel:A,{fragCurrent:Y,partCurrent:q}=this,{levels:ne,allAudioTracks:Te,loadLevel:Ae,config:We}=this.hls;if(ne.length===1)return 0;const pt=ne[S],et=!!((E=this.hls.latestLevelDetails)!=null&&E.live),Rt=Ae===-1||A===-1;let kt,on="SDR",Bt=(pt==null?void 0:pt.frameRate)||0;const{audioPreference:Xt,videoPreference:ln}=We,Vt=this.audioTracksByGroup||(this.audioTracksByGroup=An(Te));let Sn=-1;if(Rt){if(this.firstSelection!==-1)return this.firstSelection;const Wn=this.codecTiers||(this.codecTiers=_n(ne,Vt,t,n)),lr=Pn(Wn,on,e,Xt,ln),{codecSet:tr,videoRanges:In,minFramerate:Nn,minBitrate:Cr,minIndex:Tr,preferHDR:Ur}=lr;Sn=Tr,kt=tr,on=Ur?In[In.length-1]:In[0],Bt=Nn,e=Math.max(e,Cr),this.log(`picked start tier ${En(lr)}`)}else kt=pt==null?void 0:pt.codecSet,on=pt==null?void 0:pt.videoRange;const kn=q?q.duration:Y?Y.duration:0,Hr=this.bwEstimator.getEstimateTTFB()/1e3,br=[];for(let Wn=n;Wn>=t;Wn--){var or;const lr=ne[Wn],tr=Wn>S;if(!lr)continue;if(We.useMediaCapabilities&&!lr.supportedResult&&!lr.supportedPromise){const ai=navigator.mediaCapabilities;typeof(ai==null?void 0:ai.decodingInfo)=="function"&&(un(lr,Vt,on,Bt,e,Xt)||Le(lr.videoCodec))?(lr.supportedPromise=mn(lr,Vt,ai),lr.supportedPromise.then(yi=>{if(!this.hls)return;lr.supportedResult=yi;const Ca=this.hls.levels,Oa=Ca.indexOf(lr);yi.error?this.warn(`MediaCapabilities decodingInfo error: "${yi.error}" for level ${Oa} ${En(yi)}`):yi.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${Oa} ${En(yi)}`),Oa>-1&&Ca.length>1&&(this.log(`Removing unsupported level ${Oa}`),this.hls.removeLevel(Oa),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):lr.supportedResult=$t}if((kt&&lr.codecSet!==kt||on&&lr.videoRange!==on||tr&&Bt>lr.frameRate||!tr&&Bt>0&&Bt<lr.frameRate||lr.supportedResult&&!((or=lr.supportedResult.decodingInfoResults)!=null&&or[0].smooth))&&(!Rt||Wn!==Sn)){br.push(Wn);continue}const In=lr.details,Nn=(q?In==null?void 0:In.partTarget:In==null?void 0:In.averagetargetduration)||kn;let Cr;tr?Cr=f*e:Cr=l*e;const Tr=kn&&r>=kn*2&&s===0?lr.averageBitrate:lr.maxBitrate,Ur=this.getTimeToLoadFrag(Hr,Cr,Tr*Nn,In===void 0);if(Cr>=Tr&&(Wn===A||lr.loadError===0&&lr.fragmentError===0)&&(Ur<=Hr||!a(Ur)||et&&!this.bitrateTestDelay||Ur<m)){const ai=this.forcedAutoLevel;return Wn!==Ae&&(ai===-1||ai!==Ae)&&(br.length&&this.trace(`Skipped level(s) ${br.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${ne[br[0]].codecs}" ${ne[br[0]].videoRange}; not compatible with "${kt}" ${on}`),this.info(`switch candidate:${S}->${Wn} adjustedbw(${Math.round(Cr)})-bitrate=${Math.round(Cr-Tr)} ttfb:${Hr.toFixed(1)} avgDuration:${Nn.toFixed(1)} maxFetchDuration:${m.toFixed(1)} fetchDuration:${Ur.toFixed(1)} firstSelection:${Rt} codecSet:${lr.codecSet} videoRange:${lr.videoRange} hls.loadLevel:${Ae}`)),Rt&&(this.firstSelection=Wn),Wn}}return-1}set nextAutoLevel(e){const t=this.deriveNextAutoLevel(e);this._nextAutoLevel!==t&&(this.nextAutoLevelKey="",this._nextAutoLevel=t)}deriveNextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls;return Math.min(Math.max(e,n),t)}}const xn={search:function(d,e){let t=0,n=d.length-1,r=null,s=null;for(;t<=n;){r=(t+n)/2|0,s=d[r];const l=e(s);if(l>0)t=r+1;else if(l<0)n=r-1;else return s}return null}};function Ln(d,e,t){if(e===null||!Array.isArray(d)||!d.length||!a(e))return null;const n=d[0].programDateTime;if(e<(n||0))return null;const r=d[d.length-1].endProgramDateTime;if(e>=(r||0))return null;t=t||0;for(let s=0;s<d.length;++s){const l=d[s];if(Kn(e,t,l))return l}return null}function Vn(d,e,t=0,n=0,r=.005){let s=null;if(d){s=e[1+d.sn-e[0].sn]||null;const f=d.endDTS-t;f>0&&f<15e-7&&(t+=15e-7),s&&d.level!==s.level&&s.end<=d.end&&(s=e[2+d.sn-e[0].sn]||null)}else t===0&&e[0].start===0&&(s=e[0]);if(s&&((!d||d.level===s.level)&&hr(t,n,s)===0||nr(s,d,Math.min(r,n))))return s;const l=xn.search(e,hr.bind(null,t,n));return l&&(l!==d||!s)?l:s}function nr(d,e,t){if(e&&e.start===0&&e.level<d.level&&(e.endPTS||0)>0){const n=e.tagList.reduce((r,s)=>(s[0]==="INF"&&(r+=parseFloat(s[1])),r),t);return d.start<=n}return!1}function hr(d=0,e=0,t){if(t.start<=d&&t.start+t.duration>d)return 0;const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-n<=d?1:t.start-n>d&&t.start?-1:0}function Kn(d,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>d}function Cn(d,e){return xn.search(d,t=>t.cc<e?1:t.cc>e?-1:0)}function rr(d,e,t){if(d&&d.startCC<=e&&d.endCC>=e){const n=t.start,r=t.end;let s=d.fragments;if(!t.relurl){const{fragmentHint:l}=d;l&&(s=s.concat(l))}return xn.search(s,l=>l.cc<e||l.end<=n?1:l.cc>e||l.start>=r?-1:0)}return null}function fr(d){switch(d.details){case _.FRAG_LOAD_TIMEOUT:case _.KEY_LOAD_TIMEOUT:case _.LEVEL_LOAD_TIMEOUT:case _.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Zn(d,e){const t=fr(e);return d.default[`${t?"timeout":"error"}Retry`]}function On(d,e){const t=d.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*d.retryDelayMs,d.maxRetryDelayMs)}function er(d){return C(C({},d),{errorRetry:null,timeoutRetry:null})}function $n(d,e,t,n){if(!d)return!1;const r=n==null?void 0:n.code,s=e<d.maxNumRetry&&(vr(r)||!!t);return d.shouldRetry?d.shouldRetry(d,e,t,n,s):s}function vr(d){return d===0&&navigator.onLine===!1||!!d&&(d<400||d>499)}var Yn={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},ir={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Sr extends V{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(h.ERROR,this.onError,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(h.ERROR,this.onError,this),e.off(h.ERROR,this.onErrorOut,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===G.MAIN?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,s=t.context;switch(t.details){case _.FRAG_LOAD_ERROR:case _.FRAG_LOAD_TIMEOUT:case _.KEY_LOAD_ERROR:case _.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case _.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction=Bn();return}case _.FRAG_GAP:case _.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=Yn.SendAlternateToPenaltyBox;return}case _.LEVEL_EMPTY_ERROR:case _.LEVEL_PARSING_ERROR:{var l,f;const m=t.parent===G.MAIN?t.level:r.loadLevel;t.details===_.LEVEL_EMPTY_ERROR&&((l=t.context)!=null&&(f=l.levelDetails)!=null&&f.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,m):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,m))}return;case _.LEVEL_LOAD_ERROR:case _.LEVEL_LOAD_TIMEOUT:typeof(s==null?void 0:s.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,s.level));return;case _.AUDIO_TRACK_LOAD_ERROR:case _.AUDIO_TRACK_LOAD_TIMEOUT:case _.SUBTITLE_LOAD_ERROR:case _.SUBTITLE_TRACK_LOAD_TIMEOUT:if(s){const m=r.loadLevelObj;if(m&&(s.type===j.AUDIO_TRACK&&m.hasAudioGroup(s.groupId)||s.type===j.SUBTITLE_TRACK&&m.hasSubtitleGroup(s.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=Yn.SendAlternateToPenaltyBox,t.errorAction.flags=ir.MoveAllAlternatesMatchingHost;return}}return;case _.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const m=r.loadLevelObj,A=m==null?void 0:m.attrs["HDCP-LEVEL"];A?t.errorAction={action:Yn.SendAlternateToPenaltyBox,flags:ir.MoveAllAlternatesMatchingHDCP,hdcpLevel:A}:this.keySystemError(t)}return;case _.BUFFER_ADD_CODEC_ERROR:case _.REMUX_ALLOC_ERROR:case _.BUFFER_APPEND_ERROR:if(!t.errorAction){var E;t.errorAction=this.getLevelSwitchAction(t,(E=t.level)!=null?E:r.loadLevel)}return;case _.INTERNAL_EXCEPTION:case _.BUFFER_APPENDING_ERROR:case _.BUFFER_FULL_ERROR:case _.LEVEL_SWITCH_ERROR:case _.BUFFER_STALLED_ERROR:case _.BUFFER_SEEK_OVER_HOLE:case _.BUFFER_NUDGE_ON_STALL:t.errorAction=Bn();return}t.type===b.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=Zn(n.config.playlistLoadPolicy,e),s=this.playlistError++;if($n(r,s,fr(e),e.response))return{action:Yn.RetryRequest,flags:ir.None,retryConfig:r,retryCount:s};const f=this.getLevelSwitchAction(e,t);return r&&(f.retryConfig=r,f.retryCount=s),f}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:s,keyLoadPolicy:l}=t.config,f=Zn(e.details.startsWith("key")?l:s,e),E=t.levels.reduce((A,S)=>A+S.fragmentError,0);if(r&&(e.details!==_.FRAG_GAP&&r.fragmentError++,$n(f,E,fr(e),e.response)))return{action:Yn.RetryRequest,flags:ir.None,retryConfig:f,retryCount:E};const m=this.getLevelSwitchAction(e,n);return f&&(m.retryConfig=f,m.retryCount=E),m}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var s,l;const m=e.details;r.loadError++,m===_.BUFFER_APPEND_ERROR&&r.fragmentError++;let A=-1;const{levels:S,loadLevel:Y,minAutoLevel:q,maxAutoLevel:ne}=n;n.autoLevelEnabled||(n.loadLevel=-1);const Te=(s=e.frag)==null?void 0:s.type,We=(Te===G.AUDIO&&m===_.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(m===_.BUFFER_ADD_CODEC_ERROR||m===_.BUFFER_APPEND_ERROR))&&S.some(({audioCodec:on})=>r.audioCodec!==on),et=e.sourceBufferName==="video"&&(m===_.BUFFER_ADD_CODEC_ERROR||m===_.BUFFER_APPEND_ERROR)&&S.some(({codecSet:on,audioCodec:Bt})=>r.codecSet!==on&&r.audioCodec===Bt),{type:Rt,groupId:kt}=(l=e.context)!=null?l:{};for(let on=S.length;on--;){const Bt=(on+Y)%S.length;if(Bt!==Y&&Bt>=q&&Bt<=ne&&S[Bt].loadError===0){var f,E;const Xt=S[Bt];if(m===_.FRAG_GAP&&Te===G.MAIN&&e.frag){const ln=S[Bt].details;if(ln){const Vt=Vn(e.frag,ln.fragments,e.frag.start);if(Vt!=null&&Vt.gap)continue}}else{if(Rt===j.AUDIO_TRACK&&Xt.hasAudioGroup(kt)||Rt===j.SUBTITLE_TRACK&&Xt.hasSubtitleGroup(kt))continue;if(Te===G.AUDIO&&(f=r.audioGroups)!=null&&f.some(ln=>Xt.hasAudioGroup(ln))||Te===G.SUBTITLE&&(E=r.subtitleGroups)!=null&&E.some(ln=>Xt.hasSubtitleGroup(ln))||We&&r.audioCodec===Xt.audioCodec||!We&&r.audioCodec!==Xt.audioCodec||et&&r.codecSet===Xt.codecSet)continue}A=Bt;break}}if(A>-1&&n.loadLevel!==A)return e.levelRetry=!0,this.playlistError=0,{action:Yn.SendAlternateToPenaltyBox,flags:ir.None,nextAutoLevel:A}}return{action:Yn.SendAlternateToPenaltyBox,flags:ir.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case Yn.DoNothing:break;case Yn.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==_.FRAG_GAP?t.fatal=!0:/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError());break;case Yn.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:s,nextAutoLevel:l}=n;switch(r){case ir.None:this.switchLevel(e,l);break;case ir.MoveAllAlternatesMatchingHDCP:s&&(t.maxHdcpLevel=vn[vn.indexOf(s)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}n.resolved||this.switchLevel(e,l)}switchLevel(e,t){if(t!==void 0&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,e.details===_.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&e.sourceBufferName!=="audiovideo")){const n=Yt(e.mimeType),r=this.hls.levels;for(let s=r.length;s--;)r[s][`${e.sourceBufferName}Codec`]===n&&this.hls.removeLevel(s)}}}function Bn(d){const e={action:Yn.DoNothing,flags:ir.None};return d&&(e.resolved=!0),e}var Hn={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class kr{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.BUFFER_APPENDED,this.onBufferAppended,this),e.on(h.FRAG_BUFFERED,this.onFragBuffered,this),e.on(h.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.BUFFER_APPENDED,this.onBufferAppended,this),e.off(h.FRAG_BUFFERED,this.onFragBuffered,this),e.off(h.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const s=n[r];if(!s)break;const l=s.end;if(s.start<=e&&l!==null&&e<=l)return s}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){return this.getFragAtPos(e,t,!0)}getFragAtPos(e,t,n){const{fragments:r}=this,s=Object.keys(r);for(let l=s.length;l--;){const f=r[s[l]];if((f==null?void 0:f.body.type)===t&&(!n||f.buffered)){const E=f.body;if(E.start<=e&&e<=E.end)return E}}return null}detectEvictedFragments(e,t,n,r,s){this.timeRanges&&(this.timeRanges[e]=t);const l=(r==null?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(f=>{const E=this.fragments[f];if(!E||l>=E.body.sn)return;if(!E.buffered&&(!E.loaded||s)){E.body.type===n&&this.removeFragment(E.body);return}const m=E.range[e];if(m){if(m.time.length===0){this.removeFragment(E.body);return}m.time.some(A=>{const S=!this.isTimeBuffered(A.startPTS,A.endPTS,t);return S&&this.removeFragment(E.body),S})}})}detectPartialFragments(e){const t=this.timeRanges;if(!t||e.frag.sn==="initSegment")return;const n=e.frag,r=Dr(n),s=this.fragments[r];if(!s||s.buffered&&n.gap)return;const l=!n.relurl;Object.keys(t).forEach(f=>{const E=n.elementaryStreams[f];if(!E)return;const m=t[f],A=l||E.partial===!0;s.range[f]=this.getBufferedTimes(n,e.part,A,m)}),s.loaded=null,Object.keys(s.range).length?(s.buffered=!0,(s.body.endList=n.endList||s.body.endList)&&(this.endListFragments[s.body.type]=s),Ir(s)||this.removeParts(n.sn-1,n.type)):this.removeFragment(s.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=si(n,r=>r.fragment.sn>=e))}fragBuffered(e,t){const n=Dr(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const s={time:[],partial:n},l=e.start,f=e.end,E=e.minEndPTS||f,m=e.maxStartPTS||l;for(let A=0;A<r.length;A++){const S=r.start(A)-this.bufferPadding,Y=r.end(A)+this.bufferPadding;if(m>=S&&E<=Y){s.time.push({startPTS:Math.max(l,r.start(A)),endPTS:Math.min(f,r.end(A))});break}else if(l<Y&&f>S){const q=Math.max(l,r.start(A)),ne=Math.min(f,r.end(A));ne>q&&(s.partial=!0,s.time.push({startPTS:q,endPTS:ne}))}else if(f<=S)break}return s}getPartialFragment(e){let t=null,n,r,s,l=0;const{bufferPadding:f,fragments:E}=this;return Object.keys(E).forEach(m=>{const A=E[m];A&&Ir(A)&&(r=A.body.start-f,s=A.body.end+f,e>=r&&e<=s&&(n=Math.min(e-r,s-e),l<=n&&(t=A.body,l=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||Ir(t))}getState(e){const t=Dr(e),n=this.fragments[t];return n?n.buffered?Ir(n)?Hn.PARTIAL:Hn.OK:Hn.APPENDING:Hn.NOT_LOADED}isTimeBuffered(e,t,n){let r,s;for(let l=0;l<n.length;l++){if(r=n.start(l)-this.bufferPadding,s=n.end(l)+this.bufferPadding,e>=r&&t<=s)return!0;if(t<=r)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(e,t){if(t.frag.sn==="initSegment"||t.frag.bitrateTest)return;const n=t.frag,r=t.part?null:t,s=Dr(n);this.fragments[s]={body:n,appendedPTS:null,loaded:r,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:s,type:l}=t;if(n.sn==="initSegment")return;const f=n.type;if(r){let m=this.activePartLists[f];m||(this.activePartLists[f]=m=[]),m.push(r)}this.timeRanges=s;const E=s[l];this.detectEvictedFragments(l,E,f,r)}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=Dr(e);return!!this.fragments[t]}hasFragments(e){const{fragments:t}=this,n=Object.keys(t);if(!e)return n.length>0;for(let r=n.length;r--;){const s=t[n[r]];if((s==null?void 0:s.body.type)===e)return!0}return!1}hasParts(e){var t;return!!((t=this.activePartLists[e])!=null&&t.length)}removeFragmentsInRange(e,t,n,r,s){r&&!this.hasGaps||Object.keys(this.fragments).forEach(l=>{const f=this.fragments[l];if(!f)return;const E=f.body;E.type!==n||r&&!E.gap||E.start<t&&E.end>e&&(f.buffered||s)&&this.removeFragment(E)})}removeFragment(e){const t=Dr(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=si(n,s=>s.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e,t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(e=this.hls)==null||(t=e.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(r=>r.clearElementaryStreamInfo())}}function Ir(d){var e,t,n;return d.buffered&&(d.body.gap||((e=d.range.video)==null?void 0:e.partial)||((t=d.range.audio)==null?void 0:t.partial)||((n=d.range.audiovideo)==null?void 0:n.partial))}function Dr(d){return`${d.type}_${d.level}_${d.sn}`}function si(d,e){return d.filter(t=>{const n=e(t);return n||t.clearElementaryStreamInfo(),n})}var Nr={cbc:0,ctr:1};class fi{constructor(e,t,n){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=e,this.aesIV=t,this.aesMode=n}decrypt(e,t){switch(this.aesMode){case Nr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case Nr.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},t,e);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function Lr(d){const e=d.byteLength,t=e&&new DataView(d.buffer).getUint8(e-1);return t?d.slice(0,e-t):d}class wi{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),n=new Uint32Array(4);for(let r=0;r<4;r++)n[r]=t.getUint32(r*4);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],s=n[1],l=n[2],f=n[3],E=this.invSubMix,m=E[0],A=E[1],S=E[2],Y=E[3],q=new Uint32Array(256);let ne=0,Te=0,Ae=0;for(Ae=0;Ae<256;Ae++)Ae<128?q[Ae]=Ae<<1:q[Ae]=Ae<<1^283;for(Ae=0;Ae<256;Ae++){let We=Te^Te<<1^Te<<2^Te<<3^Te<<4;We=We>>>8^We&255^99,e[ne]=We,t[We]=ne;const pt=q[ne],et=q[pt],Rt=q[et];let kt=q[We]*257^We*16843008;r[ne]=kt<<24|kt>>>8,s[ne]=kt<<16|kt>>>16,l[ne]=kt<<8|kt>>>24,f[ne]=kt,kt=Rt*16843009^et*65537^pt*257^ne*16843008,m[We]=kt<<24|kt>>>8,A[We]=kt<<16|kt>>>16,S[We]=kt<<8|kt>>>24,Y[We]=kt,ne?(ne=pt^q[q[q[Rt^pt]]],Te^=q[q[Te]]):ne=Te=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r<t.length&&n;)n=t[r]===this.key[r],r++;if(n)return;this.key=t;const s=this.keySize=t.length;if(s!==4&&s!==6&&s!==8)throw new Error("Invalid aes key size="+s);const l=this.ksRows=(s+6+1)*4;let f,E;const m=this.keySchedule=new Uint32Array(l),A=this.invKeySchedule=new Uint32Array(l),S=this.sBox,Y=this.rcon,q=this.invSubMix,ne=q[0],Te=q[1],Ae=q[2],We=q[3];let pt,et;for(f=0;f<l;f++){if(f<s){pt=m[f]=t[f];continue}et=pt,f%s===0?(et=et<<8|et>>>24,et=S[et>>>24]<<24|S[et>>>16&255]<<16|S[et>>>8&255]<<8|S[et&255],et^=Y[f/s|0]<<24):s>6&&f%s===4&&(et=S[et>>>24]<<24|S[et>>>16&255]<<16|S[et>>>8&255]<<8|S[et&255]),m[f]=pt=(m[f-s]^et)>>>0}for(E=0;E<l;E++)f=l-E,E&3?et=m[f]:et=m[f-4],E<4||f<=4?A[E]=et:A[E]=ne[S[et>>>24]]^Te[S[et>>>16&255]]^Ae[S[et>>>8&255]]^We[S[et&255]],A[E]=A[E]>>>0}networkToHostOrderSwap(e){return e<<24|(e&65280)<<8|(e&16711680)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,s=this.invKeySchedule,l=this.invSBox,f=this.invSubMix,E=f[0],m=f[1],A=f[2],S=f[3],Y=this.uint8ArrayToUint32Array_(n);let q=Y[0],ne=Y[1],Te=Y[2],Ae=Y[3];const We=new Int32Array(e),pt=new Int32Array(We.length);let et,Rt,kt,on,Bt,Xt,ln,Vt,Sn,kn,Hr,br,or,Wn;const lr=this.networkToHostOrderSwap;for(;t<We.length;){for(Sn=lr(We[t]),kn=lr(We[t+1]),Hr=lr(We[t+2]),br=lr(We[t+3]),Bt=Sn^s[0],Xt=br^s[1],ln=Hr^s[2],Vt=kn^s[3],or=4,Wn=1;Wn<r;Wn++)et=E[Bt>>>24]^m[Xt>>16&255]^A[ln>>8&255]^S[Vt&255]^s[or],Rt=E[Xt>>>24]^m[ln>>16&255]^A[Vt>>8&255]^S[Bt&255]^s[or+1],kt=E[ln>>>24]^m[Vt>>16&255]^A[Bt>>8&255]^S[Xt&255]^s[or+2],on=E[Vt>>>24]^m[Bt>>16&255]^A[Xt>>8&255]^S[ln&255]^s[or+3],Bt=et,Xt=Rt,ln=kt,Vt=on,or=or+4;et=l[Bt>>>24]<<24^l[Xt>>16&255]<<16^l[ln>>8&255]<<8^l[Vt&255]^s[or],Rt=l[Xt>>>24]<<24^l[ln>>16&255]<<16^l[Vt>>8&255]<<8^l[Bt&255]^s[or+1],kt=l[ln>>>24]<<24^l[Vt>>16&255]<<16^l[Bt>>8&255]<<8^l[Xt&255]^s[or+2],on=l[Vt>>>24]<<24^l[Bt>>16&255]<<16^l[Xt>>8&255]<<8^l[ln&255]^s[or+3],pt[t]=lr(et^q),pt[t+1]=lr(on^ne),pt[t+2]=lr(kt^Te),pt[t+3]=lr(Rt^Ae),q=Sn,ne=kn,Te=Hr,Ae=br,t=t+4}return pt.buffer}}class ji{constructor(e,t,n){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=e,this.key=t,this.aesMode=n}expandKey(){const e=vi(this.aesMode);return this.subtle.importKey("raw",this.key,{name:e},!1,["encrypt","decrypt"])}}function vi(d){switch(d){case Nr.cbc:return"AES-CBC";case Nr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${d}`)}}const Ai=16;class Di{constructor(e,{removePKCS7Padding:t=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.enableSoftwareAES=void 0,this.enableSoftwareAES=e.enableSoftwareAES,this.removePKCS7Padding=t,t)try{const n=self.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(n){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const n=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?Lr(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n,r){return this.useSoftware?new Promise((s,l)=>{const f=ArrayBuffer.isView(e)?e:new Uint8Array(e);this.softwareDecrypt(f,t,n,r);const E=this.flush();E?s(E.buffer):l(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n,r)}softwareDecrypt(e,t,n,r){const{currentIV:s,currentResult:l,remainderData:f}=this;if(r!==Nr.cbc||t.byteLength!==16)return te.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),f&&(e=Me(f,e),this.remainderData=null);const E=this.getValidChunk(e);if(!E.length)return null;s&&(n=s);let m=this.softwareDecrypter;m||(m=this.softwareDecrypter=new wi),m.expandKey(t);const A=l;return this.currentResult=m.decrypt(E.buffer,0,n),this.currentIV=E.slice(-16).buffer,A||null}webCryptoDecrypt(e,t,n,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n,r));this.key=t,this.fastAesKey=new ji(this.subtle,t,r)}return this.fastAesKey.expandKey().then(s=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new fi(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,s)):Promise.reject(new Error("web crypto not initialized"))).catch(s=>(te.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${s.name}: ${s.message}`),this.onWebCryptoError(e,t,n,r)))}onWebCryptoError(e,t,n,r){const s=this.enableSoftwareAES;if(s){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n,r);const l=this.flush();if(l)return l.buffer}throw new Error("WebCrypto"+(s?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%Ai;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(te.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const ti=Math.pow(2,17);class Qr{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new wr({type:b.NETWORK_ERROR,details:_.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error(`Fragment does not have a ${n?"part list":"url"}`),networkDetails:null}));this.abort();const r=this.config,s=r.fLoader,l=r.loader;return new Promise((f,E)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some(ne=>ne[0]==="GAP")){E(zi(e));return}else e.gap=!1;const m=this.loader=s?new s(r):new l(r),A=xi(e);e.loader=m;const S=er(r.fragLoadPolicy.default),Y={loadPolicy:S,timeout:S.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:ti};e.stats=m.stats;const q={onSuccess:(ne,Te,Ae,We)=>{this.resetLoader(e,m);let pt=ne.data;Ae.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(pt.slice(0,16)),pt=pt.slice(16)),f({frag:e,part:null,payload:pt,networkDetails:We})},onError:(ne,Te,Ae,We)=>{this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:C({url:n,data:void 0},ne),error:new Error(`HTTP Error ${ne.code} ${ne.text}`),networkDetails:Ae,stats:We}))},onAbort:(ne,Te,Ae)=>{this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:Ae,stats:ne}))},onTimeout:(ne,Te,Ae)=>{this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${Y.timeout}ms`),networkDetails:Ae,stats:ne}))}};t&&(q.onProgress=(ne,Te,Ae,We)=>t({frag:e,part:null,payload:Ae,networkDetails:We})),m.load(A,Y,q)})}loadPart(e,t,n){this.abort();const r=this.config,s=r.fLoader,l=r.loader;return new Promise((f,E)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){E(zi(e,t));return}const m=this.loader=s?new s(r):new l(r),A=xi(e,t);e.loader=m;const S=er(r.fragLoadPolicy.default),Y={loadPolicy:S,timeout:S.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:ti};t.stats=m.stats,m.load(A,Y,{onSuccess:(q,ne,Te,Ae)=>{this.resetLoader(e,m),this.updateStatsFromPart(e,t);const We={frag:e,part:t,payload:q.data,networkDetails:Ae};n(We),f(We)},onError:(q,ne,Te,Ae)=>{this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:C({url:A.url,data:void 0},q),error:new Error(`HTTP Error ${q.code} ${q.text}`),networkDetails:Te,stats:Ae}))},onAbort:(q,ne,Te)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:Te,stats:q}))},onTimeout:(q,ne,Te)=>{this.resetLoader(e,m),E(new wr({type:b.NETWORK_ERROR,details:_.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${Y.timeout}ms`),networkDetails:Te,stats:q}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,s=r.total;if(n.loaded+=r.loaded,s){const E=Math.round(e.duration/t.duration),m=Math.min(Math.round(n.loaded/s),E),S=(E-m)*Math.round(n.loaded/m);n.total=n.loaded+S}else n.total=Math.max(n.loaded,n.total);const l=n.loading,f=r.loading;l.start?l.first+=f.first-f.start:(l.start=f.start,l.first=f.first),l.end=f.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function xi(d,e=null){const t=e||d,n={frag:d,part:e,responseType:"arraybuffer",url:t.url,headers:{},rangeStart:0,rangeEnd:0},r=t.byteRangeStartOffset,s=t.byteRangeEndOffset;if(a(r)&&a(s)){var l;let f=r,E=s;if(d.sn==="initSegment"&&Mi((l=d.decryptdata)==null?void 0:l.method)){const m=s-r;m%16&&(E=s+(16-m%16)),r!==0&&(n.resetIV=!0,f=r-16)}n.rangeStart=f,n.rangeEnd=E}return n}function zi(d,e){const t=new Error(`GAP ${d.gap?"tag":"attribute"} found`),n={type:b.MEDIA_ERROR,details:_.FRAG_GAP,fatal:!1,frag:d,error:t,networkDetails:null};return e&&(n.part=e),(e||d).stats.aborted=!0,new wr(n)}function Mi(d){return d==="AES-128"||d==="AES-256"}class wr extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class Ni extends V{constructor(e,t){super(e,t),this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1}clearNextTick(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1}tick(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}class hi{constructor(e,t,n,r=0,s=-1,l=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Ei(),this.buffering={audio:Ei(),video:Ei(),audiovideo:Ei()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=s,this.partial=l}}function Ei(){return{start:0,executeStart:0,executeEnd:0,end:0}}const pi={length:0,start:()=>0,end:()=>0};class Xn{static isBuffered(e,t){if(e){const n=Xn.getBuffered(e);for(let r=n.length;r--;)if(t>=n.start(r)&&t<=n.end(r))return!0}return!1}static bufferedRanges(e){if(e){const t=Xn.getBuffered(e);return Xn.timeRangesToArray(t)}return[]}static timeRangesToArray(e){const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}static bufferInfo(e,t,n){if(e){const r=Xn.bufferedRanges(e);if(r.length)return Xn.bufferedInfo(r,t,n)}return{len:0,start:t,end:t,bufferedIndex:-1}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.length>1&&e.sort((A,S)=>A.start-S.start||S.end-A.end);let r=-1,s=[];if(n)for(let A=0;A<e.length;A++){t>=e[A].start&&t<=e[A].end&&(r=A);const S=s.length;if(S){const Y=s[S-1].end;e[A].start-Y<n?e[A].end>Y&&(s[S-1].end=e[A].end):s.push(e[A])}else s.push(e[A])}else s=e;let l=0,f,E=t,m=t;for(let A=0;A<s.length;A++){const S=s[A].start,Y=s[A].end;if(r===-1&&t>=S&&t<=Y&&(r=A),t+n>=S&&t<Y)E=S,m=Y,l=m-t;else if(t+n<S){f=S;break}}return{len:l,start:E||0,end:m||0,nextStart:f,buffered:e,bufferedIndex:r}}static getBuffered(e){try{return e.buffered||pi}catch(t){return te.log("failed to get media.buffered",t),pi}}}const ki=/\{\$([a-zA-Z0-9-_]+)\}/g;function Pi(d){return ki.test(d)}function Hi(d,e){if(d.variableList!==null||d.hasVariableRefs){const t=d.variableList;return e.replace(ki,n=>{const r=n.substring(2,n.length-1),s=t==null?void 0:t[r];return s===void 0?(d.playlistParsingError||(d.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),n):s})}return e}function Gi(d,e,t){let n=d.variableList;n||(d.variableList=n={});let r,s;if("QUERYPARAM"in e){r=e.QUERYPARAM;try{const l=new self.URL(t).searchParams;if(l.has(r))s=l.get(r);else throw new Error(`"${r}" does not match any query parameter in URI: "${t}"`)}catch(l){d.playlistParsingError||(d.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${l.message}`))}}else r=e.NAME,s=e.VALUE;r in n?d.playlistParsingError||(d.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):n[r]=s||""}function Xi(d,e,t){const n=e.IMPORT;if(t&&n in t){let r=d.variableList;r||(d.variableList=r={}),r[n]=t[n]}else d.playlistParsingError||(d.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${n}"`))}const Yi=/^(\d+)x(\d+)$/,Qi=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Rr{constructor(e,t){typeof e=="string"&&(e=Rr.parseAttrList(e,t)),v(this,e)}get clientAttrs(){return Object.keys(this).filter(e=>e.substring(0,2)==="X-")}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(t.length&1?"0":"")+t;const n=new Uint8Array(t.length/2);for(let r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(r*2,r*2+2),16);return n}return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}enumeratedStringList(e,t){const n=this[e];return(n?n.split(/[ ,]+/):[]).reduce((r,s)=>(r[s.toLowerCase()]=!0,r),t)}bool(e){return this[e]==="YES"}decimalResolution(e){const t=Yi.exec(this[e]);if(t!==null)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e,t){let n;const r={},s='"';for(Qi.lastIndex=0;(n=Qi.exec(e))!==null;){const l=n[1].trim();let f=n[2];const E=f.indexOf(s)===0&&f.lastIndexOf(s)===f.length-1;let m=!1;if(E)f=f.slice(1,-1);else switch(l){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":m=!0}if(t&&(E||m))f=Hi(t,f);else if(!m&&!E)switch(l){case"CLOSED-CAPTIONS":if(f==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":te.warn(`${e}: attribute ${l} is missing quotes`)}r[l]=f}return r}}const ft="com.apple.hls.interstitial";function Fi(d){return d!=="ID"&&d!=="CLASS"&&d!=="CUE"&&d!=="START-DATE"&&d!=="DURATION"&&d!=="END-DATE"&&d!=="END-ON-NEXT"}function aa(d){return d==="SCTE35-OUT"||d==="SCTE35-IN"||d==="SCTE35-CMD"}class ta{constructor(e,t,n=0){var r;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(t==null?void 0:t.tagAnchor)||null,this.tagOrder=(r=t==null?void 0:t.tagOrder)!=null?r:n,t){const s=t.attr;for(const l in s)if(Object.prototype.hasOwnProperty.call(e,l)&&e[l]!==s[l]){te.warn(`DATERANGE tag attribute: "${l}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=l;break}e=v(new Rr({}),s,e)}if(this.attr=e,t?(this._startDate=t._startDate,this._cue=t._cue,this._endDate=t._endDate,this._dateAtEnd=t._dateAtEnd):this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const s=(t==null?void 0:t.endDate)||new Date(this.attr["END-DATE"]);a(s.getTime())&&(this._endDate=s)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const e=this._cue;return e===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):e}get startTime(){const{tagAnchor:e}=this;return e===null||e.programDateTime===null?(te.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${e}`),NaN):e.start+(this.startDate.getTime()-e.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const e=this._endDate||this._dateAtEnd;if(e)return e;const t=this.duration;return t!==null?this._dateAtEnd=new Date(this._startDate.getTime()+t*1e3):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(a(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===ft}get isValid(){return!!this.id&&!this._badValueForSameId&&a(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}const $i=10;class Ji{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e){this.advanced=!0,this.updated=!0;return}const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||t===0&&n>0,this.updated||this.advanced?this.misses=Math.floor(e.misses*.6):this.misses=e.misses+1}get hasProgramDateTime(){return this.fragments.length?a(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||$i}get drift(){const e=this.driftEndTime-this.driftStartTime;return e>0?(this.driftEnd-this.driftStart)*1e3/e:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const e=this.partList;if(e){const t=this.lastPartIndex;if(t!==-1){for(let n=e.length;n--;)if(e[n].index>t)return e[n].index;return t}}return 0}get lastPartSn(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const e=this.partEnd-this.fragmentStart;return this.age>Math.max(e,this.totalduration)+this.levelTargetDuration}return!1}}function Li(d){return d==="AES-128"||d==="AES-256"||d==="AES-256-CTR"}function Bi(d){switch(d){case"AES-128":case"AES-256":return Nr.cbc;case"AES-256-CTR":return Nr.ctr;default:throw new Error(`invalid full segment method ${d}`)}}function gi(d){return Uint8Array.from(atob(d),e=>e.charCodeAt(0))}function bi(d){return Uint8Array.from(unescape(encodeURIComponent(d)),e=>e.charCodeAt(0))}function Jr(d){const e=bi(d).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function Ui(d){const e=function(n,r,s){const l=n[r];n[r]=n[s],n[s]=l};e(d,0,3),e(d,1,2),e(d,4,5),e(d,6,7)}function Yr(d){const e=d.split(":");let t=null;if(e[0]==="data"&&e.length===2){const n=e[1].split(";"),r=n[n.length-1].split(",");if(r.length===2){const s=r[0]==="base64",l=r[1];s?(n.splice(-1,1),t=gi(l)):t=Jr(l)}}return t}const Zr=typeof self!="undefined"?self:void 0;var pr={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},qr={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Ki(d){switch(d){case qr.FAIRPLAY:return pr.FAIRPLAY;case qr.PLAYREADY:return pr.PLAYREADY;case qr.WIDEVINE:return pr.WIDEVINE;case qr.CLEARKEY:return pr.CLEARKEY}}var Ti={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Ea(d){if(d===Ti.WIDEVINE)return pr.WIDEVINE;if(d===Ti.PLAYREADY)return pr.PLAYREADY;if(d===Ti.CENC||d===Ti.CLEARKEY)return pr.CLEARKEY}function qi(d){switch(d){case pr.FAIRPLAY:return qr.FAIRPLAY;case pr.PLAYREADY:return qr.PLAYREADY;case pr.WIDEVINE:return qr.WIDEVINE;case pr.CLEARKEY:return qr.CLEARKEY}}function Rn(d){const{drmSystems:e,widevineLicenseUrl:t}=d,n=e?[pr.FAIRPLAY,pr.WIDEVINE,pr.PLAYREADY,pr.CLEARKEY].filter(r=>!!e[r]):[];return!n[pr.WIDEVINE]&&t&&n.push(pr.WIDEVINE),n}const qn=function(d){return Zr!=null&&(d=Zr.navigator)!=null&&d.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Gr(d,e,t,n){let r;switch(d){case pr.FAIRPLAY:r=["cenc","sinf"];break;case pr.WIDEVINE:case pr.PLAYREADY:r=["cenc"];break;case pr.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${d}`)}return Vr(r,e,t,n)}function Vr(d,e,t,n){return[{initDataTypes:d,persistentState:n.persistentState||"optional",distinctiveIdentifier:n.distinctiveIdentifier||"optional",sessionTypes:n.sessionTypes||[n.sessionType||"temporary"],audioCapabilities:e.map(s=>({contentType:`audio/mp4; codecs=${s}`,robustness:n.audioRobustness||"",encryptionScheme:n.audioEncryptionScheme||null})),videoCapabilities:t.map(s=>({contentType:`video/mp4; codecs=${s}`,robustness:n.videoRobustness||"",encryptionScheme:n.videoEncryptionScheme||null}))}]}function gr(d){var e;return d.sessionType==="persistent-license"||!!((e=d.sessionTypes)!=null&&e.some(t=>t==="persistent-license"))}function sa(d){const e=new Uint16Array(d.buffer,d.byteOffset,d.byteLength/2),t=String.fromCharCode.apply(null,Array.from(e)),n=t.substring(t.indexOf("<"),t.length),l=new DOMParser().parseFromString(n,"text/xml").getElementsByTagName("KID")[0];if(l){const f=l.childNodes[0]?l.childNodes[0].nodeValue:l.getAttribute("VALUE");if(f){const E=gi(f).subarray(0,16);return Ui(E),E}}return null}let _i={};class oi{static clearKeyUriToKeyIdMap(){_i={}}constructor(e,t,n,r=[1],s=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=s,this.encrypted=e?e!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Li(e)}isSupported(){if(this.method){if(Li(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case qr.FAIRPLAY:case qr.WIDEVINE:case qr.PLAYREADY:case qr.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if(Li(this.method)&&this.uri&&!this.iv){typeof e!="number"&&(te.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const n=oa(e);return new oi(this.method,this.uri,"identity",this.keyFormatVersions,n)}const t=Yr(this.uri);if(t)switch(this.keyFormat){case qr.WIDEVINE:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case qr.PLAYREADY:{const n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Se(n,null,t),this.keyId=sa(t);break}default:{let n=t.subarray(0,16);if(n.length!==16){const r=new Uint8Array(16);r.set(n,16-n.length),n=r}this.keyId=n;break}}if(!this.keyId||this.keyId.byteLength!==16){let n=_i[this.uri];if(!n){const r=Object.keys(_i).length%Number.MAX_SAFE_INTEGER;n=new Uint8Array(16),new DataView(n.buffer,12,4).setUint32(0,r),_i[this.uri]=n}this.keyId=n}return this}}function oa(d){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=d>>8*(15-t)&255;return e}const Pa=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,wa=/#EXT-X-MEDIA:(.*)/g,ba=/^#EXT(?:INF|-X-TARGETDURATION):/m,Wa=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),ya=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class Ri{static findGroup(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.id===t)return r}}static resolve(e,t){return ae.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return ba.test(e)}static parseMasterPlaylist(e,t){const n=Pi(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},s=[];Pa.lastIndex=0;let l;for(;(l=Pa.exec(e))!=null;)if(l[1]){var f;const m=new Rr(l[1],r),A=Hi(r,l[2]),S={attrs:m,bitrate:m.decimalInteger("BANDWIDTH")||m.decimalInteger("AVERAGE-BANDWIDTH"),name:m.NAME,url:Ri.resolve(A,t)},Y=m.decimalResolution("RESOLUTION");Y&&(S.width=Y.width,S.height=Y.height),Nt(m.CODECS,S);const q=m["SUPPLEMENTAL-CODECS"];q&&(S.supplemental={},Nt(q,S.supplemental)),(f=S.unknownCodecs)!=null&&f.length||s.push(S),r.levels.push(S)}else if(l[3]){const m=l[3],A=l[4];switch(m){case"SESSION-DATA":{const S=new Rr(A,r),Y=S["DATA-ID"];Y&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[Y]=S);break}case"SESSION-KEY":{const S=za(A,t,r);S.encrypted&&S.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(S)):te.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${A}"`);break}case"DEFINE":{{const S=new Rr(A,r);Gi(r,S,t)}break}case"CONTENT-STEERING":{const S=new Rr(A,r);r.contentSteering={uri:Ri.resolve(S["SERVER-URI"],t),pathwayId:S["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=ea(A);break}}}const E=s.length>0&&s.length<r.levels.length;return r.levels=E?s:r.levels,r.levels.length===0&&(r.playlistParsingError=new Error("no levels found in manifest")),r}static parseMasterPlaylistMedia(e,t,n){let r;const s={},l=n.levels,f={AUDIO:l.map(m=>({id:m.attrs.AUDIO,audioCodec:m.audioCodec})),SUBTITLES:l.map(m=>({id:m.attrs.SUBTITLES,textCodec:m.textCodec})),"CLOSED-CAPTIONS":[]};let E=0;for(wa.lastIndex=0;(r=wa.exec(e))!==null;){const m=new Rr(r[1],n),A=m.TYPE;if(A){const S=f[A],Y=s[A]||[];s[A]=Y;const q=m.LANGUAGE,ne=m["ASSOC-LANGUAGE"],Te=m.CHANNELS,Ae=m.CHARACTERISTICS,We=m["INSTREAM-ID"],pt={attrs:m,bitrate:0,id:E++,groupId:m["GROUP-ID"]||"",name:m.NAME||q||"",type:A,default:m.bool("DEFAULT"),autoselect:m.bool("AUTOSELECT"),forced:m.bool("FORCED"),lang:q,url:m.URI?Ri.resolve(m.URI,t):""};if(ne&&(pt.assocLang=ne),Te&&(pt.channels=Te),Ae&&(pt.characteristics=Ae),We&&(pt.instreamId=We),S!=null&&S.length){const et=Ri.findGroup(S,pt.groupId)||S[0];Mn(pt,et,"audioCodec"),Mn(pt,et,"textCodec")}Y.push(pt)}}return s}static parseLevelPlaylist(e,t,n,r,s,l){var f;const E={url:t},m=new Ji(t),A=m.fragments,S=[];let Y=null,q=0,ne=0,Te=0,Ae=0,We=0,pt=null,et=new De(r,E),Rt,kt,on,Bt=-1,Xt=!1,ln=null,Vt;if(Wa.lastIndex=0,m.m3u8=e,m.hasVariableRefs=Pi(e),((f=Wa.exec(e))==null?void 0:f[0])!=="#EXTM3U")return m.playlistParsingError=new Error("Missing format identifier #EXTM3U"),m;for(;(Rt=Wa.exec(e))!==null;){Xt&&(Xt=!1,et=new De(r,E),et.playlistOffset=Te,et.start=Te,et.sn=q,et.cc=Ae,We&&(et.bitrate=We),et.level=n,Y&&(et.initSegment=Y,Y.rawProgramDateTime&&(et.rawProgramDateTime=Y.rawProgramDateTime,Y.rawProgramDateTime=null),ln&&(et.setByteRange(ln),ln=null)));const br=Rt[1];if(br){et.duration=parseFloat(br);const or=(" "+Rt[2]).slice(1);et.title=or||null,et.tagList.push(or?["INF",br,or]:["INF",br])}else if(Rt[3]){if(a(et.duration)){et.playlistOffset=Te,et.start=Te,on&&ur(et,on,m),et.sn=q,et.level=n,et.cc=Ae,A.push(et);const or=(" "+Rt[3]).slice(1);et.relurl=Hi(m,or),ar(et,pt,S),pt=et,Te+=et.duration,q++,ne=0,Xt=!0}}else{if(Rt=Rt[0].match(ya),!Rt){te.warn("No matches on slow regex match for level playlist!");continue}for(kt=1;kt<Rt.length&&Rt[kt]===void 0;kt++);const or=(" "+Rt[kt]).slice(1),Wn=(" "+Rt[kt+1]).slice(1),lr=Rt[kt+2]?(" "+Rt[kt+2]).slice(1):null;switch(or){case"BYTERANGE":pt?et.setByteRange(Wn,pt):et.setByteRange(Wn);break;case"PROGRAM-DATE-TIME":et.rawProgramDateTime=Wn,et.tagList.push(["PROGRAM-DATE-TIME",Wn]),Bt===-1&&(Bt=A.length);break;case"PLAYLIST-TYPE":m.type&&Br(m,or,Rt),m.type=Wn.toUpperCase();break;case"MEDIA-SEQUENCE":m.startSN!==0?Br(m,or,Rt):A.length>0&&li(m,or,Rt),q=m.startSN=parseInt(Wn);break;case"SKIP":{m.skippedSegments&&Br(m,or,Rt);const tr=new Rr(Wn,m),In=tr.decimalInteger("SKIPPED-SEGMENTS");if(a(In)){m.skippedSegments+=In;for(let Cr=In;Cr--;)A.push(null);q+=In}const Nn=tr.enumeratedString("RECENTLY-REMOVED-DATERANGES");Nn&&(m.recentlyRemovedDateranges=(m.recentlyRemovedDateranges||[]).concat(Nn.split(" ")));break}case"TARGETDURATION":m.targetduration!==0&&Br(m,or,Rt),m.targetduration=Math.max(parseInt(Wn),1);break;case"VERSION":m.version!==null&&Br(m,or,Rt),m.version=parseInt(Wn);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":m.live||Br(m,or,Rt),m.live=!1;break;case"#":(Wn||lr)&&et.tagList.push(lr?[Wn,lr]:[Wn]);break;case"DISCONTINUITY":Ae++,et.tagList.push(["DIS"]);break;case"GAP":et.gap=!0,et.tagList.push([or]);break;case"BITRATE":et.tagList.push([or,Wn]),We=parseInt(Wn)*1e3,a(We)?et.bitrate=We:We=0;break;case"DATERANGE":{const tr=new Rr(Wn,m),In=new ta(tr,m.dateRanges[tr.ID],m.dateRangeTagCount);m.dateRangeTagCount++,In.isValid||m.skippedSegments?m.dateRanges[In.id]=In:te.warn(`Ignoring invalid DATERANGE tag: "${Wn}"`),et.tagList.push(["EXT-X-DATERANGE",Wn]);break}case"DEFINE":{{const tr=new Rr(Wn,m);"IMPORT"in tr?Xi(m,tr,l):Gi(m,tr,t)}break}case"DISCONTINUITY-SEQUENCE":m.startCC!==0?Br(m,or,Rt):A.length>0&&li(m,or,Rt),m.startCC=Ae=parseInt(Wn);break;case"KEY":{const tr=za(Wn,t,m);if(tr.isSupported()){if(tr.method==="NONE"){on=void 0;break}on||(on={}),on[tr.keyFormat]&&(on=v({},on)),on[tr.keyFormat]=tr}else te.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Wn}"`);break}case"START":m.startTimeOffset=ea(Wn);break;case"MAP":{const tr=new Rr(Wn,m);if(et.duration){const In=new De(r,E);xr(In,tr,n,on),Y=In,et.initSegment=Y,Y.rawProgramDateTime&&!et.rawProgramDateTime&&(et.rawProgramDateTime=Y.rawProgramDateTime)}else{const In=et.byteRangeEndOffset;if(In){const Nn=et.byteRangeStartOffset;ln=`${In-Nn}@${Nn}`}else ln=null;xr(et,tr,n,on),Y=et,Xt=!0}Y.cc=Ae;break}case"SERVER-CONTROL":{Vt&&Br(m,or,Rt),Vt=new Rr(Wn),m.canBlockReload=Vt.bool("CAN-BLOCK-RELOAD"),m.canSkipUntil=Vt.optionalFloat("CAN-SKIP-UNTIL",0),m.canSkipDateRanges=m.canSkipUntil>0&&Vt.bool("CAN-SKIP-DATERANGES"),m.partHoldBack=Vt.optionalFloat("PART-HOLD-BACK",0),m.holdBack=Vt.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{m.partTarget&&Br(m,or,Rt);const tr=new Rr(Wn);m.partTarget=tr.decimalFloatingPoint("PART-TARGET");break}case"PART":{let tr=m.partList;tr||(tr=m.partList=[]);const In=ne>0?tr[tr.length-1]:void 0,Nn=ne++,Cr=new Rr(Wn,m),Tr=new Fe(Cr,et,E,Nn,In);tr.push(Tr),et.duration+=Tr.duration;break}case"PRELOAD-HINT":{const tr=new Rr(Wn,m);m.preloadHint=tr;break}case"RENDITION-REPORT":{const tr=new Rr(Wn,m);m.renditionReports=m.renditionReports||[],m.renditionReports.push(tr);break}default:te.warn(`line parsed but not handled: ${Rt}`);break}}}pt&&!pt.relurl?(A.pop(),Te-=pt.duration,m.partList&&(m.fragmentHint=pt)):m.partList&&(ar(et,pt,S),et.cc=Ae,m.fragmentHint=et,on&&ur(et,on,m)),m.targetduration||(m.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Sn=A.length,kn=A[0],Hr=A[Sn-1];if(Te+=m.skippedSegments*m.targetduration,Te>0&&Sn&&Hr){m.averagetargetduration=Te/Sn;const br=Hr.sn;m.endSN=br!=="initSegment"?br:0,m.live||(Hr.endList=!0),kn&&m.startCC===void 0&&(m.startCC=kn.cc),Bt>0&&(Jn(A,Bt),kn&&S.unshift(kn))}else m.endSN=0,m.startCC=0;return m.fragmentHint&&(Te+=m.fragmentHint.duration),m.totalduration=Te,S.length&&m.dateRangeTagCount&&kn&&na(S,m),m.endCC=Ae,m}}function na(d,e){const t=d.length,n=d[t-1],r=e.live?1/0:e.totalduration,s=Object.keys(e.dateRanges);for(let l=s.length;l--;){const f=e.dateRanges[s[l]],E=f.startDate.getTime();f.tagAnchor=n.ref;for(let m=t;m--;){const A=Ka(e,E,d,m,r);if(A!==-1){f.tagAnchor=e.fragments[A].ref;break}}}}function Ka(d,e,t,n,r){const s=t[n];if(s){const f=s.programDateTime;if(e>=f||n===0){var l;const E=(((l=t[n+1])==null?void 0:l.start)||r)-s.start;if(e<=f+E*1e3){const m=t[n].sn-d.startSN,A=d.fragments;if(A.length>t.length){const Y=(t[n+1]||A[A.length-1]).sn-d.startSN;for(let q=Y;q>m;q--){const ne=A[q].programDateTime;if(e>=ne&&e<ne+A[q].duration*1e3)return q}}return m}}}return-1}function za(d,e,t){var n,r;const s=new Rr(d,t),l=(n=s.METHOD)!=null?n:"",f=s.URI,E=s.hexadecimalInteger("IV"),m=s.KEYFORMATVERSIONS,A=(r=s.KEYFORMAT)!=null?r:"identity";f&&s.IV&&!E&&te.error(`Invalid IV: ${s.IV}`);const S=f?Ri.resolve(f,e):"",Y=(m||"1").split("/").map(Number).filter(Number.isFinite);return new oi(l,S,A,Y,E)}function ea(d){const t=new Rr(d).decimalFloatingPoint("TIME-OFFSET");return a(t)?t:null}function Nt(d,e){let t=(d||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(s=>qe(s,n));r.length&&(e[`${n}Codec`]=r.map(s=>s.split("/")[0]).join(","),t=t.filter(s=>r.indexOf(s)===-1))}),e.unknownCodecs=t}function Mn(d,e,t){const n=e[t];n&&(d[t]=n)}function Jn(d,e){let t=d[e];for(let n=e;n--;){const r=d[n];if(!r)return;r.programDateTime=t.programDateTime-r.duration*1e3,t=r}}function ar(d,e,t){d.rawProgramDateTime?t.push(d):e!=null&&e.programDateTime&&(d.programDateTime=e.endProgramDateTime)}function xr(d,e,t,n){d.relurl=e.URI,e.BYTERANGE&&d.setByteRange(e.BYTERANGE),d.level=t,d.sn="initSegment",n&&(d.levelkeys=n),d.initSegment=null}function ur(d,e,t){d.levelkeys=e;const{encryptedFragments:n}=t;(!n.length||n[n.length-1].levelkeys!==e)&&Object.keys(e).some(r=>e[r].isCommonEncryption)&&n.push(d)}function Br(d,e,t){d.playlistParsingError=new Error(`#EXT-X-${e} must not appear more than once (${t[0]})`)}function li(d,e,t){d.playlistParsingError=new Error(`#EXT-X-${e} must appear before the first Media Segment (${t[0]})`)}function Ci(d,e){const t=e.startPTS;if(a(t)){let n=0,r;e.sn>d.sn?(n=t-d.start,r=d):(n=d.start-t,r=e),r.duration!==n&&r.setDuration(n)}else e.sn>d.sn?d.cc===e.cc&&d.minEndPTS?e.setStart(d.start+(d.minEndPTS-d.start)):e.setStart(d.start+d.duration):e.setStart(Math.max(d.start-e.duration,0))}function ui(d,e,t,n,r,s){n-t<=0&&(te.warn("Fragment should have a positive duration",e),n=t+e.duration,s=r+e.duration);let f=t,E=n;const m=e.startPTS,A=e.endPTS;if(a(m)){const Ae=Math.abs(m-t);a(e.deltaPTS)?e.deltaPTS=Math.max(Ae,e.deltaPTS):e.deltaPTS=Ae,f=Math.max(t,m),t=Math.min(t,m),r=Math.min(r,e.startDTS),E=Math.min(n,A),n=Math.max(n,A),s=Math.max(s,e.endDTS)}const S=t-e.start;e.start!==0&&e.setStart(t),e.setDuration(n-e.start),e.startPTS=t,e.maxStartPTS=f,e.startDTS=r,e.endPTS=n,e.minEndPTS=E,e.endDTS=s;const Y=e.sn;if(!d||Y<d.startSN||Y>d.endSN)return 0;let q;const ne=Y-d.startSN,Te=d.fragments;for(Te[ne]=e,q=ne;q>0;q--)Ci(Te[q],Te[q-1]);for(q=ne;q<Te.length-1;q++)Ci(Te[q],Te[q+1]);return d.fragmentHint&&Ci(Te[Te.length-1],d.fragmentHint),d.PTSKnown=d.alignedSliding=!0,S}function Oi(d,e){if(d===e)return;let t=null;const n=d.fragments;for(let E=n.length-1;E>=0;E--){const m=n[E].initSegment;if(m){t=m;break}}d.fragmentHint&&delete d.fragmentHint.endPTS;let r;la(d,e,(E,m,A,S)=>{if(!e.startCC&&m.cc!==E.cc){var Y,q;const ne=E.cc-m.cc;for(let Te=A;Te<S.length;Te++)S[Te].cc+=ne;e.startCC=(Y=(q=Qa(d,e.startSN-1))==null?void 0:q.cc)!=null?Y:S[0].cc,e.endCC=S[S.length-1].cc}a(E.startPTS)&&a(E.endPTS)&&(m.setStart(m.startPTS=E.startPTS),m.startDTS=E.startDTS,m.maxStartPTS=E.maxStartPTS,m.endPTS=E.endPTS,m.endDTS=E.endDTS,m.minEndPTS=E.minEndPTS,m.setDuration(E.endPTS-E.startPTS),m.duration&&(r=m),e.PTSKnown=e.alignedSliding=!0),E.hasStreams&&(m.elementaryStreams=E.elementaryStreams),m.loader=E.loader,E.hasStats&&(m.stats=E.stats),E.initSegment&&(m.initSegment=E.initSegment,t=E.initSegment)});const s=e.fragments,l=e.fragmentHint?s.concat(e.fragmentHint):s;if(t&&l.forEach(E=>{var m;E&&(!E.initSegment||E.initSegment.relurl===((m=t)==null?void 0:m.relurl))&&(E.initSegment=t)}),e.skippedSegments)if(e.deltaUpdateFailed=s.some(E=>!E),e.deltaUpdateFailed){te.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let E=e.skippedSegments;E--;)s.shift();e.startSN=s[0].sn}else{e.endCC=s[s.length-1].cc,e.canSkipDateRanges&&(e.dateRanges=va(d.dateRanges,e));const E=d.fragments.filter(m=>m.rawProgramDateTime);if(d.hasProgramDateTime&&!e.hasProgramDateTime)for(let m=1;m<l.length;m++)l[m].programDateTime===null&&ar(l[m],l[m-1],E);na(E,e)}Fa(d.partList,e.partList,(E,m)=>{m.elementaryStreams=E.elementaryStreams,m.stats=E.stats}),r?ui(e,r,r.startPTS,r.endPTS,r.startDTS,r.endDTS):Da(d,e),s.length&&(e.totalduration=e.edge-s[0].start),e.driftStartTime=d.driftStartTime,e.driftStart=d.driftStart;const f=e.advancedDateTime;if(e.advanced&&f){const E=e.edge;e.driftStart||(e.driftStartTime=f,e.driftStart=E),e.driftEndTime=f,e.driftEnd=E}else e.driftEndTime=d.driftEndTime,e.driftEnd=d.driftEnd,e.advancedDateTime=d.advancedDateTime;e.requestScheduled===-1&&(e.requestScheduled=d.requestScheduled)}function va(d,e){const{dateRanges:t,recentlyRemovedDateranges:n}=e,r=v({},d);n&&n.forEach(f=>{delete r[f]});const l=Object.keys(r).length;return l&&Object.keys(t).forEach(f=>{const E=r[f],m=new ta(t[f].attr,E);m.isValid?(r[f]=m,E||(m.tagOrder+=l)):te.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${En(t[f].attr)}"`)}),r}function Fa(d,e,t){if(d&&e){let n=0;for(let r=0,s=d.length;r<=s;r++){const l=d[r],f=e[r+n];l&&f&&l.index===f.index&&l.fragment.sn===f.fragment.sn?t(l,f):n--}}}function la(d,e,t){const n=e.skippedSegments,r=Math.max(d.startSN,e.startSN)-e.startSN,s=(d.fragmentHint?1:0)+(n?e.endSN:Math.min(d.endSN,e.endSN))-e.startSN,l=e.startSN-d.startSN,f=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,E=d.fragmentHint?d.fragments.concat(d.fragmentHint):d.fragments;for(let m=r;m<=s;m++){const A=E[l+m];let S=f[m];if(n&&!S&&A&&(S=e.fragments[m]=A),A&&S){if(t(A,S,m,f),A.url&&A.url!==S.url){e.playlistParsingError=Aa(`media sequence mismatch ${S.sn}:`,d,e,A,S);return}else if(A.cc!==S.cc){e.playlistParsingError=Aa(`discontinuity sequence mismatch (${A.cc}!=${S.cc})`,d,e,A,S);return}}}}function Aa(d,e,t,n,r){return new Error(`${d} ${r.url}
Playlist starting @${e.startSN}
${e.m3u8}
Playlist starting @${t.startSN}
${t.m3u8}`)}function Da(d,e,t=!0){const n=e.startSN+e.skippedSegments-d.startSN,r=d.fragments,s=n>=0;let l=0;if(s&&n<r.length)l=r[n].start;else if(s&&e.startSN===d.endSN+1)l=d.fragmentEnd;else if(s&&t)l=d.fragmentStart+n*e.levelTargetDuration;else if(!e.skippedSegments&&e.fragmentStart===0)l=d.fragmentStart;else return;ua(e,l)}function ua(d,e){if(e){const t=d.fragments;for(let n=d.skippedSegments;n<t.length;n++)t[n].addStart(e);d.fragmentHint&&d.fragmentHint.addStart(e)}}function Ta(d,e=1/0){let t=1e3*d.targetduration;if(d.updated){const n=d.fragments;if(n.length&&t*4>e){const s=n[n.length-1].duration*1e3;s<t&&(t=s)}}else t/=2;return Math.round(t)}function Qa(d,e,t){if(!d)return null;let n=d.fragments[e-d.startSN];return n||(n=d.fragmentHint,n&&n.sn===e)?n:e<d.startSN&&t&&t.sn===e?t:null}function Na(d,e,t){return d?ca(d.partList,e,t):null}function ca(d,e,t){if(d)for(let n=d.length;n--;){const r=d[n];if(r.index===t&&r.fragment.sn===e)return r}return null}function La(d){d.forEach((e,t)=>{var n;(n=e.details)==null||n.fragments.forEach(r=>{r.level=t,r.initSegment&&(r.initSegment.level=t)})})}function Ba(d,e){for(let n=0,r=d.length;n<r;n++){var t;if(((t=d[n])==null?void 0:t.cc)===e)return d[n]}return null}function Us(d,e){return!!(d&&e.startCC<d.endCC&&e.endCC>d.startCC)}function hs(d,e){if(d){const t=d.start+e;d.start=d.startPTS=t,d.endPTS=t+d.duration}}function Is(d,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)hs(t[n],d);e.fragmentHint&&hs(e.fragmentHint,d),e.alignedSliding=!0}function js(d,e){d&&(ci(e,d),!e.alignedSliding&&d&&Pr(e,d),!e.alignedSliding&&d&&!e.skippedSegments&&Da(d,e,!1))}function ci(d,e){if(!Us(e,d))return;const t=Math.min(e.endCC,d.endCC),n=Ba(e.fragments,t),r=Ba(d.fragments,t);if(!n||!r)return;te.log(`Aligning playlist at start of dicontinuity sequence ${t}`);const s=n.start-r.start;Is(s,d)}function Pr(d,e){if(!d.hasProgramDateTime||!e.hasProgramDateTime)return;const t=d.fragments,n=e.fragments;if(!t.length||!n.length)return;let r,s;const l=Math.min(e.endCC,d.endCC);e.startCC<l&&d.startCC<l&&(r=Ba(n,l),s=Ba(t,l)),(!r||!s)&&(r=n[Math.floor(n.length/2)],s=Ba(t,r.cc)||t[Math.floor(t.length/2)]);const f=r.programDateTime,E=s.programDateTime;if(!f||!E)return;const m=(E-f)/1e3-(s.start-r.start);Is(m,d)}const Wr={toString:function(d){let e="";const t=d.length;for(let n=0;n<t;n++)e+=`[${d.start(n).toFixed(3)}-${d.end(n).toFixed(3)}]`;return e}},qt={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class Vi extends Ni{constructor(e,t,n,r,s){super(r,e.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=qt.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:l,fragCurrent:f,media:E,mediaBuffer:m,state:A}=this,S=E?E.currentTime:0,Y=Xn.bufferInfo(m||E,S,l.maxBufferHole);if(this.log(`media seeking to ${a(S)?S.toFixed(3):S}, state: ${A}`),this.state===qt.ENDED)this.resetLoadingState();else if(f){const q=l.maxFragLookUpTolerance,ne=f.start-q,Te=f.start+f.duration+q;if(!Y.len||Te<Y.start||ne>Y.end){const Ae=S>Te;(S<ne||Ae)&&(Ae&&f.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),f.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(E){this.fragmentTracker.removeFragmentsInRange(S,1/0,this.playlistType,!0);const q=this.lastCurrentTime;if(S>q&&(this.lastCurrentTime=S),!this.loadingParts){const ne=Math.max(Y.end,S),Te=this.shouldLoadParts(this.getLevelDetails(),ne);Te&&(this.log(`LL-Part loading ON after seeking to ${S.toFixed(2)} with buffer @${ne.toFixed(2)}`),this.loadingParts=Te)}}!this.hls.hasEnoughToStart&&!Y.len&&(this.log(`setting startPosition to ${S} because of seek before start`),this.nextLoadPosition=this.startPosition=S),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=s,this.hls=e,this.fragmentLoader=new Qr(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new Di(e.config)}registerListeners(){const{hls:e}=this;e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(h.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===qt.STOPPED)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;e!=null&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=qt.STOPPED}get startPositionValue(){const{nextLoadPosition:e,startPosition:t}=this;return t===-1&&e?e:t}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(e,t){if(t.live||!this.media)return!1;const n=e.end||0,r=this.config.timelineOffset||0;if(n<=r)return!1;const s=e.nextStart;if(s&&s>r&&s<t.edge||this.media.currentTime<e.start)return!1;const f=t.partList;if(f!=null&&f.length){const m=f[f.length-1];return Xn.isBuffered(this.media,m.start+m.duration/2)}const E=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(E)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var e;return(e=this.levelLastLoaded)==null?void 0:e.details}}get timelineOffset(){const e=this.config.timelineOffset;if(e){var t;return((t=this.getLevelDetails())==null?void 0:t.appliedTimelineOffset)||e}return 0}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;n.removeEventListener("seeking",this.onMediaSeeking),n.removeEventListener("ended",this.onMediaEnded),n.addEventListener("seeking",this.onMediaSeeking),n.addEventListener("ended",this.onMediaEnded);const r=this.config;this.levels&&r.autoStartLoad&&this.state===qt.STOPPED&&this.startLoad(r.startPosition)}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(r!==null){if(r.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),r.removeEventListener("seeking",this.onMediaSeeking),r.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!n&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,n){this.resetLoadingState(),this.resetTransmuxer();return}this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(e,t){}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=qt.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(e,t,n){this.startFragRequested=!0,this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){const r=s=>{const l=s.frag;if(this.fragContextChanged(l)){this.warn(`${l.type} sn: ${l.sn}${s.part?" part: "+s.part.index:""} of ${this.fragInfo(l,!1,s.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(l);return}l.stats.chunkCount++,this._handleFragmentLoadProgress(s)};this._doFragLoad(e,t,n,r).then(s=>{if(!s)return;const l=this.state,f=s.frag;if(this.fragContextChanged(f)){(l===qt.FRAG_LOADING||!this.fragCurrent&&l===qt.PARSING)&&(this.fragmentTracker.removeFragment(f),this.state=qt.IDLE);return}"payload"in s&&(this.log(`Loaded ${f.type} sn: ${f.sn} of ${this.playlistLabel()} ${f.level}`),this.hls.trigger(h.FRAG_LOADED,s)),this._handleFragmentLoadComplete(s)}).catch(s=>{this.state===qt.STOPPED||this.state===qt.ERROR||(this.warn(`Frag error: ${(s==null?void 0:s.message)||s}`),this.resetFragmentLoading(e))})}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===Hn.APPENDING){const s=e.type,l=this.getFwdBufferInfo(this.mediaBuffer,s),f=Math.max(e.duration,l?l.len:this.config.maxBufferLength),E=this.backtrackFragment;((E?e.sn-E.sn:0)===1||this.reduceMaxBufferLength(f,e.duration))&&n.removeFragment(e)}else((t=this.mediaBuffer)==null?void 0:t.buffered.length)===0?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===Hn.PARTIAL&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}waitForLive(e){const t=e.details;return(t==null?void 0:t.live)&&t.type!=="EVENT"&&(this.levelLastLoaded!==e||t.expired)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(h.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(n=>{const r=n==null?void 0:n.frag;if(!r||this.fragContextChanged(r)||!this.levels)throw new Error("init load aborted");return n}).then(n=>{const{hls:r}=this,{frag:s,payload:l}=n,f=s.decryptdata;if(l&&l.byteLength>0&&f!=null&&f.key&&f.iv&&Li(f.method)){const E=self.performance.now();return this.decrypter.decrypt(new Uint8Array(l),f.key.buffer,f.iv.buffer,Bi(f.method)).catch(m=>{throw r.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_DECRYPT_ERROR,fatal:!1,error:m,reason:m.message,frag:s}),m}).then(m=>{const A=self.performance.now();return r.trigger(h.FRAG_DECRYPTED,{frag:s,payload:m,stats:{tstart:E,tdecrypt:A}}),n.payload=m,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===qt.STOPPED||this.state===qt.ERROR||(this.warn(n),this.resetFragmentLoading(e))})}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const n=e.frag.stats;this.state!==qt.STOPPED&&(this.state=qt.IDLE),e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){const n=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)} > buffer:${n?Wr.toString(Xn.getBuffered(n)):"(detached)"})`),M(e)){var r;if(e.type!==G.SUBTITLE){const l=e.elementaryStreams;if(!Object.keys(l).some(f=>!!l[f])){this.state=qt.IDLE;return}}const s=(r=this.levels)==null?void 0:r[e.level];s!=null&&s.fragmentError&&(this.log(`Resetting level fragment error count of ${s.fragmentError} on frag buffered`),s.fragmentError=0)}this.state=qt.IDLE}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:s}=e,l=!s||s.length===0||s.some(E=>!E),f=new hi(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!l);t.flush(f)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var s;this.fragCurrent=e;const l=t==null?void 0:t.details;if(!this.levels||!l)throw new Error(`frag load aborted, missing level${l?"":" detail"}s`);let f=null;e.encrypted&&!((s=e.decryptdata)!=null&&s.key)?(this.log(`Loading key for ${e.sn} of [${l.startSN}-${l.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=qt.KEY_LOADING,this.fragCurrent=e,f=this.keyLoader.load(e).then(S=>{if(!this.fragContextChanged(S.frag))return this.hls.trigger(h.KEY_LOADED,S),this.state===qt.KEY_LOADING&&(this.state=qt.IDLE),S}),this.hls.trigger(h.KEY_LOADING,{frag:e}),this.fragCurrent===null&&(f=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!e.encrypted&&l.encryptedFragments.length&&this.keyLoader.loadClear(e,l.encryptedFragments);const E=this.fragPrevious;if(M(e)&&(!E||e.sn!==E.sn)){const S=this.shouldLoadParts(t.details,e.end);S!==this.loadingParts&&(this.log(`LL-Part loading ${S?"ON":"OFF"} loading sn ${E==null?void 0:E.sn}->${e.sn}`),this.loadingParts=S)}if(n=Math.max(e.start,n||0),this.loadingParts&&M(e)){const S=l.partList;if(S&&r){n>e.end&&l.fragmentHint&&(e=l.fragmentHint);const Y=this.getNextPart(S,e,n);if(Y>-1){const q=S[Y];e=this.fragCurrent=q.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${q.index} (${Y}/${S.length-1}) of ${this.fragInfo(e,!1,q)}) cc: ${e.cc} [${l.startSN}-${l.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=q.start+q.duration,this.state=qt.FRAG_LOADING;let ne;return f?ne=f.then(Te=>!Te||this.fragContextChanged(Te.frag)?null:this.doFragPartsLoad(e,q,t,r)).catch(Te=>this.handleFragLoadError(Te)):ne=this.doFragPartsLoad(e,q,t,r).catch(Te=>this.handleFragLoadError(Te)),this.hls.trigger(h.FRAG_LOADING,{frag:e,part:q,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ne}else if(!e.url||this.loadedEndOfParts(S,n))return Promise.resolve(null)}}if(M(e)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)}`),this.loadingParts=!1;else if(!e.url)return Promise.resolve(null);this.log(`Loading ${e.type} sn: ${e.sn} of ${this.fragInfo(e,!1)}) cc: ${e.cc} ${l?"["+l.startSN+"-"+l.endSN+"]":""}, target: ${parseFloat(n.toFixed(3))}`),a(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=qt.FRAG_LOADING;const m=this.config.progressive;let A;return m&&f?A=f.then(S=>!S||this.fragContextChanged(S==null?void 0:S.frag)?null:this.fragmentLoader.load(e,r)).catch(S=>this.handleFragLoadError(S)):A=Promise.all([this.fragmentLoader.load(e,m?r:void 0),f]).then(([S])=>(!m&&S&&r&&r(S),S)).catch(S=>this.handleFragLoadError(S)),this.hls.trigger(h.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):A}doFragPartsLoad(e,t,n,r){return new Promise((s,l)=>{var f;const E=[],m=(f=n.details)==null?void 0:f.partList,A=S=>{this.fragmentLoader.loadPart(e,S,r).then(Y=>{E[S.index]=Y;const q=Y.part;this.hls.trigger(h.FRAG_LOADED,Y);const ne=Na(n.details,e.sn,S.index+1)||ca(m,e.sn,S.index+1);if(ne)A(ne);else return s({frag:e,part:q,partsLoaded:E})}).catch(l)};A(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===_.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(h.ERROR,t)}else this.hls.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==qt.PARSING){!this.fragCurrent&&this.state!==qt.STOPPED&&this.state!==qt.ERROR&&(this.state=qt.IDLE);return}const{frag:n,part:r,level:s}=t,l=self.performance.now();n.stats.parsing.end=l,r&&(r.stats.parsing.end=l);const f=this.getLevelDetails(),m=f&&n.sn>f.endSN||this.shouldLoadParts(f,n.end);m!==this.loadingParts&&(this.log(`LL-Part loading ${m?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=m),this.updateLevelTiming(n,r,s,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(e!=null&&e.partList){var n;const s=e.partList[0],l=s.end+(((n=e.fragmentHint)==null?void 0:n.duration)||0);if(t>=l){var r;if((this.hls.hasEnoughToStart?((r=this.media)==null?void 0:r.currentTime)||this.lastCurrentTime:this.getLoadPosition())>s.start-s.fragment.duration)return!0}}}return!1}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:s,part:l}=e;if(!(t!=null&&t[r]))return this.warn(`Levels object was unset while buffering fragment ${s} of ${this.playlistLabel()} ${r}. The current chunk will not be buffered.`),null;const f=t[r],E=f.details,m=l>-1?Na(E,s,l):null,A=m?m.fragment:Qa(E,s,n);return A?(n&&n!==A&&(A.stats=n.stats),{frag:A,part:m,level:f}):null}bufferFragmentData(e,t,n,r,s){var l;if(!e||this.state!==qt.PARSING)return;const{data1:f,data2:E}=e;let m=f;if(f&&E&&(m=Me(f,E)),!((l=m)!=null&&l.length))return;const A={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:m};if(this.hls.trigger(h.BUFFER_APPENDING,A),e.dropped&&e.independent&&!n){if(s)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!Xn.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=Xn.bufferInfo(t,n,0),s=e.duration,l=Math.min(this.config.maxFragLookUpTolerance*2,s*.25),f=Math.max(Math.min(e.start-l,r.end-l),n+l);e.start-f>l&&this.flushMainBuffer(f,e.start)}getFwdBufferInfo(e,t){var n;const r=this.getLoadPosition();if(!a(r))return null;const l=this.lastCurrentTime>r||(n=this.media)!=null&&n.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(e,r,t,l)}getFwdBufferInfoAtPos(e,t,n,r){const s=Xn.bufferInfo(e,t,r);if(s.len===0&&s.nextStart!==void 0){const l=this.fragmentTracker.getBufferedFrag(t,n);if(l&&(s.nextStart<=l.end||l.gap)){const f=Math.max(Math.min(s.nextStart,l.end)-t,r);return Xn.bufferInfo(e,t,f)}}return s}getMaxBufferLength(e){const{config:t}=this;let n;return e?n=Math.max(8*t.maxBufferSize/e,t.maxBufferLength):n=t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}reduceMaxBufferLength(e,t){const n=this.config,r=Math.max(Math.min(e-t,n.maxBufferLength),t),s=Math.max(e-t*3,n.maxMaxBufferLength/2,r);return s>=r?(n.maxMaxBufferLength=s,this.warn(`Reduce max buffer length to ${s}s`),!0):!1}getAppendedFrag(e,t=G.MAIN){var n;const r=(n=this.fragmentTracker)==null?void 0:n.getAppendedFrag(e,t);return r&&"fragment"in r?r.fragment:r}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:s}=this,l=n[0].start,f=s.lowLatencyMode&&!!t.partList;let E=null;if(t.live){const S=s.initialLiveManifestSize;if(r<S)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${S})`),null;if(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<l){var m;f&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),E=this.getInitialLiveFragment(t,n);const Y=this.hls.startPosition,q=this.hls.liveSyncPosition,ne=E?(Y!==-1&&Y>=l?Y:q)||E.start:e;this.log(`Setting startPosition to ${ne} to match start frag at live edge. mainStart: ${Y} liveSyncPosition: ${q} frag.start: ${(m=E)==null?void 0:m.start}`),this.startPosition=this.nextLoadPosition=ne}}else e<=l&&(E=n[0]);if(!E){const S=this.loadingParts?t.partEnd:t.fragmentEnd;E=this.getFragmentAtPosition(e,S,t)}let A=this.filterReplacedPrimary(E,t);if(!A&&E){const S=E.sn-t.startSN;A=this.filterReplacedPrimary(n[S+1]||null,t)}return this.mapToInitFragWhenRequired(A)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===Hn.OK||n===Hn.PARTIAL&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,s){let l=null;if(e.gap&&(l=this.getNextFragment(this.nextLoadPosition,t),l&&!l.gap&&n.nextStart)){const f=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r,0);if(f!==null&&n.len+f.len>=s){const E=l.sn;return this.loopSn!==E&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${E}`),this.loopSn=E),null}}return this.loopSn=void 0,l}get primaryPrefetch(){if(Za(this.hls.config)){var e,t;if((e=this.hls.interstitialsManager)==null||(t=e.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(e,t){if(!e)return e;if(Za(this.hls.config)&&e.type!==G.SUBTITLE){const n=this.hls.interstitialsManager,r=n==null?void 0:n.bufferingItem;if(r){const l=r.event;if(l){if(l.appendInPlace||Math.abs(e.start-r.start)>1||r.start===0)return null}else if(e.end<=r.start&&(t==null?void 0:t.live)===!1||e.start>r.end&&r.nextEvent&&(r.nextEvent.appendInPlace||e.start-r.end>1))return null}const s=n==null?void 0:n.playerQueue;if(s)for(let l=s.length;l--;){const f=s[l].interstitial;if(f.appendInPlace&&e.start>=f.startTime&&e.end<=f.resumeTime)return null}}return e}mapToInitFragWhenRequired(e){return e!=null&&e.initSegment&&!(e!=null&&e.initSegment.data)&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,s=!1,l=!0;for(let f=0,E=e.length;f<E;f++){const m=e[f];if(l=l&&!m.independent,r>-1&&n<m.start)break;const A=m.loaded;A?r=-1:(s||m.independent||l)&&m.fragment===t&&(r=f),s=A}return r}loadedEndOfParts(e,t){const n=e[e.length-1];return n&&t>n.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),r=Ln(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const s=n.sn+1;if(s>=e.startSN&&s<=e.endSN){const l=t[s-e.startSN];n.cc===l.cc&&(r=l,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=Cn(t,n.cc),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const s=this.hls.liveSyncPosition;s!==null&&(r=this.getFragmentAtPosition(s,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:s}=this,{fragments:l,endSN:f}=n;const{fragmentHint:E}=n,{maxFragLookUpTolerance:m}=r,A=n.partList,S=!!(this.loadingParts&&A!=null&&A.length&&E);S&&E&&!this.bitrateTest&&A[A.length-1].fragment.sn===E.sn&&(l=l.concat(E),f=E.sn);let Y;if(e<t){var q;const Te=e<this.lastCurrentTime||e>t-m||(q=this.media)!=null&&q.paused||!this.startFragRequested?0:m;Y=Vn(s,l,e,Te)}else Y=l[l.length-1];if(Y){const ne=Y.sn-n.startSN,Te=this.fragmentTracker.getState(Y);if((Te===Hn.OK||Te===Hn.PARTIAL&&Y.gap)&&(s=Y),s&&Y.sn===s.sn&&(!S||A[0].fragment.sn>Y.sn||!n.live&&!S)&&s&&Y.level===s.level){const We=l[ne+1];Y.sn<f&&this.fragmentTracker.getState(We)!==Hn.OK?Y=We:Y=null}}return Y}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const s=e.fragmentStart,l=!t,f=e.alignedSliding&&a(s);if(l||!f&&!s){js(n,e);const E=e.fragmentStart;return this.log(`Live playlist sliding: ${E.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} fragments: ${r}`),E}return s}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,e.partTarget*3)}setStartPosition(e,t){let n=this.startPosition;n<t&&(n=-1);const r=this.timelineOffset;if(n===-1){const s=this.startTimeOffset!==null,l=s?this.startTimeOffset:e.startTimeOffset;l!==null&&a(l)?(n=t+l,l<0&&(n+=e.edge),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Setting startPosition to ${n} for start time offset ${l} found in ${s?"multivariant":"media"} playlist`),this.startPosition=n):e.live?(n=this.hls.liveSyncPosition||t,this.log(`Setting startPosition to -1 to start at live edge ${n}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=n=0),this.lastCurrentTime=n+r}this.nextLoadPosition=n+r}getLoadPosition(){var e;const{media:t}=this;let n=0;return(e=this.hls)!=null&&e.hasEnoughToStart&&t?n=t.currentTime:this.nextLoadPosition>=0&&(n=this.nextLoadPosition),n}handleFragLoadAborted(e,t){this.transmuxer&&e.type===this.playlistType&&M(e)&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of ${this.playlistLabel()} ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){(!this.fragCurrent||!this.fragContextChanged(e)&&this.state!==qt.FRAG_LOADING_WAITING_RETRY)&&(this.state=qt.IDLE)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const ne=this.getCurrentContext(t.chunkMeta);ne&&(t.frag=ne.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;if(this.fragContextChanged(n)){var r;this.warn(`Frag load error must match current frag to retry ${n.url} > ${(r=this.fragCurrent)==null?void 0:r.url}`);return}const s=t.details===_.FRAG_GAP;s&&this.fragmentTracker.fragBuffered(n,!0);const l=t.errorAction,{action:f,flags:E,retryCount:m=0,retryConfig:A}=l||{},S=!!l&&!!A,Y=S&&f===Yn.RetryRequest,q=S&&!l.resolved&&E===ir.MoveAllAlternatesMatchingHost;if(!Y&&q&&M(n)&&!n.endList)this.resetFragmentErrors(e),this.treatAsGap(n),l.resolved=!0;else if((Y||q)&&m<A.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const ne=On(A,m);this.warn(`Fragment ${n.sn} of ${e} ${n.level} errored with ${t.details}, retrying loading ${m+1}/${A.maxNumRetry} in ${ne}ms`),l.resolved=!0,this.retryDate=self.performance.now()+ne,this.state=qt.FRAG_LOADING_WAITING_RETRY}else if(A&&l)if(this.resetFragmentErrors(e),m<A.maxNumRetry)!s&&f!==Yn.RemoveAlternatePermanently&&(l.resolved=!0);else{this.warn(`${t.details} reached or exceeded max retry (${m})`);return}else f===Yn.SendAlternateToPenaltyBox?this.state=qt.WAITING_LEVEL:this.state=qt.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===qt.PARSING||this.state===qt.PARSED){const t=e.frag,n=e.parent,r=this.getFwdBufferInfo(this.mediaBuffer,n),s=r&&r.len>.5;s&&this.reduceMaxBufferLength(r.len,(t==null?void 0:t.duration)||10);const l=!s;return l&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),l}return!1}resetFragmentErrors(e){e===G.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==qt.STOPPED&&(this.state=qt.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=Xn.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===qt.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==qt.STOPPED&&(this.state=qt.IDLE)}resetStartWhenNotLoaded(e){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=e?e.details:null;t!=null&&t.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(t,t.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of ${this.playlistLabel()} ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){const s=n.details;if(!s){this.warn("level.details undefined");return}if(!Object.keys(e.elementaryStreams).reduce((E,m)=>{const A=e.elementaryStreams[m];if(A){const S=A.endPTS-A.startPTS;if(S<=0)return this.warn(`Could not parse fragment ${e.sn} ${m} duration reliably (${S})`),E||!1;const Y=r?0:ui(s,e,A.startPTS,A.endPTS,A.startDTS,A.endDTS);return this.hls.trigger(h.LEVEL_PTS_UPDATED,{details:s,level:n,drift:Y,type:m,frag:e,start:A.startPTS,end:A.endPTS}),!0}return E},!1)){var f;if(n.fragmentError===0&&this.treatAsGap(e,n),((f=this.transmuxer)==null?void 0:f.error)===null){const E=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(E.message),this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_PARSING_ERROR,fatal:!1,error:E,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=qt.PARSED,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(h.FRAG_PARSED,{frag:e,part:t})}playlistLabel(){return this.playlistType===G.MAIN?"level":"track"}fragInfo(e,t=!0,n){var r,s;return`${this.playlistLabel()} ${e.level} (${n?"part":"frag"}:[${((r=t&&!n?e.startPTS:(n||e).start)!=null?r:NaN).toFixed(3)}-${((s=t&&!n?e.endPTS:(n||e).end)!=null?s:NaN).toFixed(3)}]${n&&e.type==="main"?"INDEPENDENT="+(n.independent?"YES":"NO"):""}`}treatAsGap(e,t){t&&t.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)}resetTransmuxer(){var e;(e=this.transmuxer)==null||e.reset()}recoverWorkerError(e){e.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function Za(d){return!!d.interstitialsController&&d.enableInterstitialPlayback!==!1}class rs{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;if(e.length)e.length===1?n=e[0]:n=zs(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function zs(d,e){const t=new Uint8Array(e);let n=0;for(let r=0;r<d.length;r++){const s=d[r];t.set(s,n),n+=s.length}return t}var is={exports:{}},as;function Ha(){return as||(as=1,function(d){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function r(E,m,A){this.fn=E,this.context=m,this.once=A||!1}function s(E,m,A,S,Y){if(typeof A!="function")throw new TypeError("The listener must be a function");var q=new r(A,S||E,Y),ne=t?t+m:m;return E._events[ne]?E._events[ne].fn?E._events[ne]=[E._events[ne],q]:E._events[ne].push(q):(E._events[ne]=q,E._eventsCount++),E}function l(E,m){--E._eventsCount===0?E._events=new n:delete E._events[m]}function f(){this._events=new n,this._eventsCount=0}f.prototype.eventNames=function(){var m=[],A,S;if(this._eventsCount===0)return m;for(S in A=this._events)e.call(A,S)&&m.push(t?S.slice(1):S);return Object.getOwnPropertySymbols?m.concat(Object.getOwnPropertySymbols(A)):m},f.prototype.listeners=function(m){var A=t?t+m:m,S=this._events[A];if(!S)return[];if(S.fn)return[S.fn];for(var Y=0,q=S.length,ne=new Array(q);Y<q;Y++)ne[Y]=S[Y].fn;return ne},f.prototype.listenerCount=function(m){var A=t?t+m:m,S=this._events[A];return S?S.fn?1:S.length:0},f.prototype.emit=function(m,A,S,Y,q,ne){var Te=t?t+m:m;if(!this._events[Te])return!1;var Ae=this._events[Te],We=arguments.length,pt,et;if(Ae.fn){switch(Ae.once&&this.removeListener(m,Ae.fn,void 0,!0),We){case 1:return Ae.fn.call(Ae.context),!0;case 2:return Ae.fn.call(Ae.context,A),!0;case 3:return Ae.fn.call(Ae.context,A,S),!0;case 4:return Ae.fn.call(Ae.context,A,S,Y),!0;case 5:return Ae.fn.call(Ae.context,A,S,Y,q),!0;case 6:return Ae.fn.call(Ae.context,A,S,Y,q,ne),!0}for(et=1,pt=new Array(We-1);et<We;et++)pt[et-1]=arguments[et];Ae.fn.apply(Ae.context,pt)}else{var Rt=Ae.length,kt;for(et=0;et<Rt;et++)switch(Ae[et].once&&this.removeListener(m,Ae[et].fn,void 0,!0),We){case 1:Ae[et].fn.call(Ae[et].context);break;case 2:Ae[et].fn.call(Ae[et].context,A);break;case 3:Ae[et].fn.call(Ae[et].context,A,S);break;case 4:Ae[et].fn.call(Ae[et].context,A,S,Y);break;default:if(!pt)for(kt=1,pt=new Array(We-1);kt<We;kt++)pt[kt-1]=arguments[kt];Ae[et].fn.apply(Ae[et].context,pt)}}return!0},f.prototype.on=function(m,A,S){return s(this,m,A,S,!1)},f.prototype.once=function(m,A,S){return s(this,m,A,S,!0)},f.prototype.removeListener=function(m,A,S,Y){var q=t?t+m:m;if(!this._events[q])return this;if(!A)return l(this,q),this;var ne=this._events[q];if(ne.fn)ne.fn===A&&(!Y||ne.once)&&(!S||ne.context===S)&&l(this,q);else{for(var Te=0,Ae=[],We=ne.length;Te<We;Te++)(ne[Te].fn!==A||Y&&!ne[Te].once||S&&ne[Te].context!==S)&&Ae.push(ne[Te]);Ae.length?this._events[q]=Ae.length===1?Ae[0]:Ae:l(this,q)}return this},f.prototype.removeAllListeners=function(m){var A;return m?(A=t?t+m:m,this._events[A]&&l(this,A)):(this._events=new n,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=t,f.EventEmitter=f,d.exports=f}(is)),is.exports}var ps=Ha(),ss=Z(ps);const Xa="1.6.2",Ua={};function xs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function ro(){const d=Ua[Xa];if(d)return d.clientCount++,d;const e=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),t=self.URL.createObjectURL(e),r={worker:new self.Worker(t),objectURL:t,clientCount:1};return Ua[Xa]=r,r}function Ra(d){const e=Ua[d];if(e)return e.clientCount++,e;const t=new self.URL(d,self.location.href).href,r={worker:new self.Worker(t),scriptURL:t,clientCount:1};return Ua[d]=r,r}function bo(d){const e=Ua[d||Xa];if(e&&e.clientCount--===1){const{worker:n,objectURL:r}=e;delete Ua[d||Xa],r&&self.URL.revokeObjectURL(r),n.terminate()}}function Cs(d,e){return e+10<=d.length&&d[e]===51&&d[e+1]===68&&d[e+2]===73&&d[e+3]<255&&d[e+4]<255&&d[e+6]<128&&d[e+7]<128&&d[e+8]<128&&d[e+9]<128}function Hs(d,e){return e+10<=d.length&&d[e]===73&&d[e+1]===68&&d[e+2]===51&&d[e+3]<255&&d[e+4]<255&&d[e+6]<128&&d[e+7]<128&&d[e+8]<128&&d[e+9]<128}function ws(d,e){let t=0;return t=(d[e]&127)<<21,t|=(d[e+1]&127)<<14,t|=(d[e+2]&127)<<7,t|=d[e+3]&127,t}function gs(d,e){const t=e;let n=0;for(;Hs(d,e);){n+=10;const r=ws(d,e+6);n+=r,Cs(d,e+10)&&(n+=10),e+=n}if(n>0)return d.subarray(t,t+n)}function yo(d,e,t,n){const r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],s=e[t+2],l=s>>2&15;if(l>12){const q=new Error(`invalid ADTS sampling index:${l}`);d.emit(h.ERROR,h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_PARSING_ERROR,fatal:!0,error:q,reason:q.message});return}const f=(s>>6&3)+1,E=e[t+3]>>6&3|(s&1)<<2,m="mp4a.40."+f,A=r[l];let S=l;(f===5||f===29)&&(S-=3);const Y=[f<<3|(S&14)>>1,(S&1)<<7|E<<3];return te.log(`manifest codec:${n}, parsed codec:${m}, channels:${E}, rate:${A} (ADTS object type:${f} sampling index:${l})`),{config:Y,samplerate:A,channelCount:E,codec:m,parsedCodec:m,manifestCodec:n}}function os(d,e){return d[e]===255&&(d[e+1]&246)===240}function io(d,e){return d[e+1]&1?7:9}function Gs(d,e){return(d[e+3]&3)<<11|d[e+4]<<3|(d[e+5]&224)>>>5}function Ys(d,e){return e+5<d.length}function ja(d,e){return e+1<d.length&&os(d,e)}function ms(d,e){return Ys(d,e)&&os(d,e)&&Gs(d,e)<=d.length-e}function $a(d,e){if(ja(d,e)){const t=io(d,e);if(e+t>=d.length)return!1;const n=Gs(d,e);if(n<=t)return!1;const r=e+n;return r===d.length||ja(d,r)}return!1}function Ds(d,e,t,n,r){if(!d.samplerate){const s=yo(e,t,n,r);if(!s)return;v(d,s)}}function Es(d){return 1024*9e4/d}function Ja(d,e){const t=io(d,e);if(e+t<=d.length){const n=Gs(d,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function Ns(d,e,t,n,r){const s=Es(d.samplerate),l=n+r*s,f=Ja(e,t);let E;if(f){const{frameLength:S,headerLength:Y}=f,q=Y+S,ne=Math.max(0,t+q-e.length);ne?(E=new Uint8Array(q-Y),E.set(e.subarray(t+Y,e.length),0)):E=e.subarray(t+Y,t+q);const Te={unit:E,pts:l};return ne||d.samples.push(Te),{sample:Te,length:q,missing:ne}}const m=e.length-t;return E=new Uint8Array(m),E.set(e.subarray(t,e.length),0),{sample:{unit:E,pts:l},length:m,missing:-1}}function vo(d,e){return Hs(d,e)&&ws(d,e+6)+10<=d.length-e}function Ao(d){if(d.size<2)return;const e=ve(d.data,!0),t=new Uint8Array(d.data.subarray(e.length+1));return{key:d.type,info:e,data:t.buffer}}function Vs(d){if(d.size<2)return;if(d.type==="TXXX"){let t=1;const n=ve(d.data.subarray(t),!0);t+=n.length+1;const r=ve(d.data.subarray(t));return{key:d.type,info:n,data:r}}const e=ve(d.data.subarray(1));return{key:d.type,info:"",data:e}}function Ws(d){if(d.type==="WXXX"){if(d.size<2)return;let t=1;const n=ve(d.data.subarray(t),!0);t+=n.length+1;const r=ve(d.data.subarray(t));return{key:d.type,info:n,data:r}}const e=ve(d.data);return{key:d.type,info:"",data:e}}function Ls(d){return btoa(String.fromCharCode(...d))}function qa(d,e){if(d<0)return-qa(-d,e);const t=Math.pow(10,e);if(Math.abs(d*t%1-.5)<Number.EPSILON){const r=Math.floor(d*t);return(r%2===0?r:r+1)/t}else return Math.round(d*t)/t}function bs(d,e){const t=new URL(d),n=new URL(e);if(t.origin!==n.origin)return d;const r=t.pathname.split("/").slice(1),s=n.pathname.split("/").slice(1,-1);for(;r[0]===s[0];)r.shift(),s.shift();for(;s.length;)s.shift(),r.unshift("..");return r.join("/")}function ls(){try{return crypto.randomUUID()}catch(d){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(e){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const s=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(r=="x"?s:s&3|8).toString(16)})}}}function Ks(d){return d instanceof ArrayBuffer?d:d.byteOffset==0&&d.byteLength==d.buffer.byteLength?d.buffer:new Uint8Array(d).buffer}function Rs(d,e=0,t=1/0){return Ms(d,e,t,Uint8Array)}function Ms(d,e,t,n){const r=ao(d);let s=1;"BYTES_PER_ELEMENT"in n&&(s=n.BYTES_PER_ELEMENT);const l=so(d)?d.byteOffset:0,f=(l+d.byteLength)/s,E=(l+e)/s,m=Math.floor(Math.max(0,Math.min(E,f))),A=Math.floor(Math.min(m+Math.max(t,0),f));return new n(r,m,A-m)}function ao(d){return d instanceof ArrayBuffer?d:d.buffer}function so(d){return d&&d.buffer instanceof ArrayBuffer&&d.byteLength!==void 0&&d.byteOffset!==void 0}function To(d){const e={key:d.type,description:"",data:"",mimeType:null,pictureType:null},t=3;if(d.size<2)return;if(d.data[0]!==t){console.log("Ignore frame with unrecognized character encoding");return}const n=d.data.subarray(1).indexOf(0);if(n===-1)return;const r=ve(Rs(d.data,1,n)),s=d.data[2+n],l=d.data.subarray(3+n).indexOf(0);if(l===-1)return;const f=ve(Rs(d.data,3+n,l));let E;return r==="-->"?E=ve(Rs(d.data,4+n+l)):E=Ks(d.data.subarray(4+n+l)),e.mimeType=r,e.pictureType=s,e.description=f,e.data=E,e}function _o(d){return d.type==="PRIV"?Ao(d):d.type[0]==="W"?Ws(d):d.type==="APIC"?To(d):Vs(d)}function oo(d){const e=String.fromCharCode(d[0],d[1],d[2],d[3]),t=ws(d,4),n=10;return{type:e,size:t,data:d.subarray(n,n+t)}}const ys=10,lo=10;function uo(d){let e=0;const t=[];for(;Hs(d,e);){const n=ws(d,e+6);d[e+5]>>6&1&&(e+=ys),e+=ys;const r=e+n;for(;e+lo<r;){const s=oo(d.subarray(e)),l=_o(s);l&&t.push(l),e+=s.size+ys}Cs(d,e)&&(e+=ys)}return t}function Qs(d){return d&&d.key==="PRIV"&&d.info==="com.apple.streaming.transportStreamTimestamp"}function Zs(d){if(d.data.byteLength===8){const e=new Uint8Array(d.data),t=e[3]&1;let n=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return n/=45,t&&(n+=4772185884e-2),Math.round(n)}}function co(d){const e=uo(d);for(let t=0;t<e.length;t++){const n=e[t];if(Qs(n))return Zs(n)}}let Zi=function(d){return d.audioId3="org.id3",d.dateRange="com.apple.quicktime.HLS",d.emsg="https://aomedia.org/emsg/ID3",d.misbklv="urn:misb:KLV:bin:1910.1",d}({});function da(d="",e=9e4){return{type:d,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class vs{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(e,t,n,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,n){}demux(e,t){this.cachedData&&(e=Me(this.cachedData,e),this.cachedData=null);let n=gs(e,0),r=n?n.length:0,s;const l=this._audioTrack,f=this._id3Track,E=n?co(n):void 0,m=e.length;for((this.basePTS===null||this.frameIndex===0&&a(E))&&(this.basePTS=So(E,t,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),n&&n.length>0&&f.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Zi.audioId3,duration:Number.POSITIVE_INFINITY});r<m;){if(this.canParse(e,r)){const A=this.appendFrame(l,e,r);A?(this.frameIndex++,this.lastPTS=A.sample.pts,r+=A.length,s=r):r=m}else vo(e,r)?(n=gs(e,r),f.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Zi.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,s=r):r++;if(r===m&&s!==m){const A=e.slice(s);this.cachedData?this.cachedData=Me(this.cachedData,A):this.cachedData=A}}return{audioTrack:l,videoTrack:da(),id3Track:f,textTrack:da()}}demuxSampleAes(e,t,n){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:da(),id3Track:this._id3Track,textTrack:da()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const So=(d,e,t)=>{if(a(d))return d*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};let g=null;const x=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],O=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],K=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],de=[0,1,1,4];function ge(d,e,t,n,r){if(t+24>e.length)return;const s=Ce(e,t);if(s&&t+s.frameLength<=e.length){const l=s.samplesPerFrame*9e4/s.sampleRate,f=n+r*l,E={unit:e.subarray(t,t+s.frameLength),pts:f,dts:f};return d.config=[],d.channelCount=s.channelCount,d.samplerate=s.sampleRate,d.samples.push(E),{sample:E,length:s.frameLength,missing:0}}}function Ce(d,e){const t=d[e+1]>>3&3,n=d[e+1]>>1&3,r=d[e+2]>>4&15,s=d[e+2]>>2&3;if(t!==1&&r!==0&&r!==15&&s!==3){const l=d[e+2]>>1&1,f=d[e+3]>>6,E=t===3?3-n:n===3?3:4,m=x[E*14+r-1]*1e3,S=O[(t===3?0:t===2?1:2)*3+s],Y=f===3?1:2,q=K[t][n],ne=de[n],Te=q*8*ne,Ae=Math.floor(q*m/S+l)*ne;if(g===null){const et=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);g=et?parseInt(et[1]):0}return!!g&&g<=87&&n===2&&m>=224e3&&f===0&&(d[e+3]=d[e+3]|128),{sampleRate:S,channelCount:Y,frameLength:Ae,samplesPerFrame:Te}}}function Ve(d,e){return d[e]===255&&(d[e+1]&224)===224&&(d[e+1]&6)!==0}function Tt(d,e){return e+1<d.length&&Ve(d,e)}function yt(d,e){return Ve(d,e)&&4<=d.length-e}function ct(d,e){if(e+1<d.length&&Ve(d,e)){const n=Ce(d,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const s=e+r;return s===d.length||Tt(d,s)}return!1}class Pt extends vs{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e,t){if(!e)return!1;const n=gs(e,0);let r=(n==null?void 0:n.length)||0;if(ct(e,r))return!1;for(let s=e.length;r<s;r++)if($a(e,r))return t.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return ms(e,t)}appendFrame(e,t,n){Ds(e,this.observer,t,n,e.manifestCodec);const r=Ns(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const Lt=(d,e)=>{let t=0,n=5;e+=n;const r=new Uint32Array(1),s=new Uint32Array(1),l=new Uint8Array(1);for(;n>0;){l[0]=d[e];const f=Math.min(n,8),E=8-f;s[0]=4278190080>>>24+E<<E,r[0]=(l[0]&s[0])>>E,t=t?t<<f|r[0]:r[0],e+=1,n-=f}return t};class mt extends vs{constructor(e){super(),this.observer=void 0,this.observer=e}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}canParse(e,t){return t+64<e.length}appendFrame(e,t,n){const r=Qn(e,t,n,this.basePTS,this.frameIndex);if(r!==-1)return{sample:e.samples[e.samples.length-1],length:r,missing:0}}static probe(e){if(!e)return!1;const t=gs(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&co(t)!==void 0&&Lt(e,n)<16}}function Qn(d,e,t,n,r){if(t+8>e.length||e[t]!==11||e[t+1]!==119)return-1;const s=e[t+4]>>6;if(s>=3)return-1;const f=[48e3,44100,32e3][s],E=e[t+4]&63,A=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][E*3+s]*2;if(t+A>e.length)return-1;const S=e[t+6]>>5;let Y=0;S===2?Y+=2:(S&1&&S!==1&&(Y+=2),S&4&&(Y+=2));const q=(e[t+6]<<8|e[t+7])>>12-Y&1,Te=[2,1,2,3,3,4,4,5][S]+q,Ae=e[t+5]>>3,We=e[t+5]&7,pt=new Uint8Array([s<<6|Ae<<1|We>>2,(We&3)<<6|S<<3|q<<2|E>>4,E<<4&224]),et=1536/f*9e4,Rt=n+r*et,kt=e.subarray(t,t+A);return d.config=pt,d.channelCount=Te,d.samplerate=f,d.samples.push({unit:kt,pts:Rt}),A}class Ar extends vs{resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=gs(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&co(t)!==void 0&&Lt(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(ct(e,n))return te.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return yt(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return ge(e,t,n,this.basePTS,this.frameIndex)}}const jr=/\/emsg[-/]ID3/i;class Fn{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const s=this.videoTrack=da("video",1),l=this.audioTrack=da("audio",1),f=this.txtTrack=da("text",1);if(this.id3Track=da("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const E=Ue(e);if(E.video){const{id:m,timescale:A,codec:S,supplemental:Y}=E.video;s.id=m,s.timescale=f.timescale=A,s.codec=S,s.supplemental=Y}if(E.audio){const{id:m,timescale:A,codec:S}=E.audio;l.id=m,l.timescale=A,l.codec=S}f.id=lt.text,s.sampleDuration=0,s.duration=l.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return tt(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,s=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Me(this.remainderData,e));const f=Qe(n);this.remainderData=f.remainder,r.samples=f.valid||new Uint8Array}else r.samples=n;const l=this.extractID3Track(r,t);return s.samples=Pe(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:l,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=Pe(e,t),{videoTrack:t,audioTrack:da(),id3Track:r,textTrack:da()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=Be(e.samples,["emsg"]);r&&r.forEach(s=>{const l=ut(s);if(jr.test(l.schemeIdUri)){const f=Mr(l,t);let E=l.eventDuration===4294967295?Number.POSITIVE_INFINITY:l.eventDuration/l.timeScale;E<=.001&&(E=Number.POSITIVE_INFINITY);const m=l.payload;n.samples.push({data:m,len:m.byteLength,dts:f,pts:f,type:Zi.emsg,duration:E})}else if(this.config.enableEmsgKLVMetadata&&l.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const f=Mr(l,t);n.samples.push({data:l.payload,len:l.payload.byteLength,dts:f,pts:f,type:Zi.misbklv,duration:Number.POSITIVE_INFINITY})}})}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}}function Mr(d,e){return a(d.presentationTime)?d.presentationTime/d.timeScale:e+d.presentationTimeDelta/d.timeScale}class sr{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new Di(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,Nr.cbc)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const s=r.subarray(16,r.length-r.length%16),l=s.buffer.slice(s.byteOffset,s.byteOffset+s.length);this.decryptBuffer(l).then(f=>{const E=new Uint8Array(f);r.set(E,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)})}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length){n();return}if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=Math.floor((e.length-48)/160)*16+16,n=new Int8Array(t);let r=0;for(let s=32;s<e.length-16;s+=160,r+=16)n.set(e.subarray(s,s+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let s=32;s<e.length-16;s+=160,r+=16)e.set(n.subarray(r,r+16),s);return e}decryptAvcSample(e,t,n,r,s){const l=re(s.data),f=this.getAvcEncryptedData(l);this.decryptBuffer(f.buffer).then(E=>{s.data=this.getAvcDecryptedUnit(l,E),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)})}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length){r();return}const s=e[t].units;for(;!(n>=s.length);n++){const l=s[n];if(!(l.data.length<=48||l.type!==1&&l.type!==5)&&(this.decryptAvcSample(e,t,n,r,l),!this.decrypter.isSync()))return}}}}class mi{constructor(){this.VideoSample=null}createVideoSample(e,t,n){return{key:e,frame:!1,pts:t,dts:n,units:[],length:0}}getLastNalUnit(e){var t;let n=this.VideoSample,r;if((!n||n.units.length===0)&&(n=e[e.length-1]),(t=n)!=null&&t.units){const s=n.units;r=s[s.length-1]}return r}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(e.pts===void 0){const n=t.samples,r=n.length;if(r){const s=n[r-1];e.pts=s.pts,e.dts=s.dts}else{t.dropped++;return}}t.samples.push(e)}}parseNALu(e,t,n){const r=t.byteLength;let s=e.naluState||0;const l=s,f=[];let E=0,m,A,S,Y=-1,q=0;for(s===-1&&(Y=0,q=this.getNALuType(t,0),s=0,E=1);E<r;){if(m=t[E++],!s){s=m?0:1;continue}if(s===1){s=m?0:2;continue}if(!m)s=3;else if(m===1){if(A=E-s-1,Y>=0){const ne={data:t.subarray(Y,A),type:q};f.push(ne)}else{const ne=this.getLastNalUnit(e.samples);ne&&(l&&E<=4-l&&ne.state&&(ne.data=ne.data.subarray(0,ne.data.byteLength-l)),A>0&&(ne.data=Me(ne.data,t.subarray(0,A)),ne.state=0))}E<r?(S=this.getNALuType(t,E),Y=E,q=S,s=0):s=-1}else s=0}if(Y>=0&&s>=0){const ne={data:t.subarray(Y,r),type:q,state:s};f.push(ne)}if(f.length===0){const ne=this.getLastNalUnit(e.samples);ne&&(ne.data=Me(ne.data,t))}return e.naluState=s,f}}class Xr{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),s=Math.min(4,t);if(s===0)throw new Error("no bytes available");r.set(e.subarray(n,n+s)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=s*8,this.bytesAvailable-=s}skipBits(e){let t;e=Math.min(e,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,t=e>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&&te.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(this.word&2147483648>>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class Tn extends mi{parsePES(e,t,n,r){const s=this.parseNALu(e,n.data,r);let l=this.VideoSample,f,E=!1;n.data=null,l&&s.length&&!e.audFound&&(this.pushAccessUnit(l,e),l=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),s.forEach(m=>{var A,S;switch(m.type){case 1:{let Te=!1;f=!0;const Ae=m.data;if(E&&Ae.length>4){const We=this.readSliceType(Ae);(We===2||We===4||We===7||We===9)&&(Te=!0)}if(Te){var Y;(Y=l)!=null&&Y.frame&&!l.key&&(this.pushAccessUnit(l,e),l=this.VideoSample=null)}l||(l=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),l.frame=!0,l.key=Te;break}case 5:f=!0,(A=l)!=null&&A.frame&&!l.key&&(this.pushAccessUnit(l,e),l=this.VideoSample=null),l||(l=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),l.key=!0,l.frame=!0;break;case 6:{f=!0,nt(m.data,1,n.pts,t.samples);break}case 7:{var q,ne;f=!0,E=!0;const Te=m.data,Ae=this.readSPS(Te);if(!e.sps||e.width!==Ae.width||e.height!==Ae.height||((q=e.pixelRatio)==null?void 0:q[0])!==Ae.pixelRatio[0]||((ne=e.pixelRatio)==null?void 0:ne[1])!==Ae.pixelRatio[1]){e.width=Ae.width,e.height=Ae.height,e.pixelRatio=Ae.pixelRatio,e.sps=[Te];const We=Te.subarray(1,4);let pt="avc1.";for(let et=0;et<3;et++){let Rt=We[et].toString(16);Rt.length<2&&(Rt="0"+Rt),pt+=Rt}e.codec=pt}break}case 8:f=!0,e.pps=[m.data];break;case 9:f=!0,e.audFound=!0,(S=l)!=null&&S.frame&&(this.pushAccessUnit(l,e),l=null),l||(l=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;case 12:f=!0;break;default:f=!1;break}l&&f&&l.units.push(m)}),r&&l&&(this.pushAccessUnit(l,e),this.VideoSample=null)}getNALuType(e,t){return e[t]&31}readSliceType(e){const t=new Xr(e);return t.readUByte(),t.readUEG(),t.readUEG()}skipScalingList(e,t){let n=8,r=8,s;for(let l=0;l<e;l++)r!==0&&(s=t.readEG(),r=(n+s+256)%256),n=r===0?n:r}readSPS(e){const t=new Xr(e);let n=0,r=0,s=0,l=0,f,E,m;const A=t.readUByte.bind(t),S=t.readBits.bind(t),Y=t.readUEG.bind(t),q=t.readBoolean.bind(t),ne=t.skipBits.bind(t),Te=t.skipEG.bind(t),Ae=t.skipUEG.bind(t),We=this.skipScalingList.bind(this);A();const pt=A();if(S(5),ne(3),A(),Ae(),pt===100||pt===110||pt===122||pt===244||pt===44||pt===83||pt===86||pt===118||pt===128){const Xt=Y();if(Xt===3&&ne(1),Ae(),Ae(),ne(1),q())for(E=Xt!==3?8:12,m=0;m<E;m++)q()&&(m<6?We(16,t):We(64,t))}Ae();const et=Y();if(et===0)Y();else if(et===1)for(ne(1),Te(),Te(),f=Y(),m=0;m<f;m++)Te();Ae(),ne(1);const Rt=Y(),kt=Y(),on=S(1);on===0&&ne(1),ne(1),q()&&(n=Y(),r=Y(),s=Y(),l=Y());let Bt=[1,1];if(q()&&q())switch(A()){case 1:Bt=[1,1];break;case 2:Bt=[12,11];break;case 3:Bt=[10,11];break;case 4:Bt=[16,11];break;case 5:Bt=[40,33];break;case 6:Bt=[24,11];break;case 7:Bt=[20,11];break;case 8:Bt=[32,11];break;case 9:Bt=[80,33];break;case 10:Bt=[18,11];break;case 11:Bt=[15,11];break;case 12:Bt=[64,33];break;case 13:Bt=[160,99];break;case 14:Bt=[4,3];break;case 15:Bt=[3,2];break;case 16:Bt=[2,1];break;case 255:{Bt=[A()<<8|A(),A()<<8|A()];break}}return{width:Math.ceil((Rt+1)*16-n*2-r*2),height:(2-on)*(kt+1)*16-(on?2:4)*(s+l),pixelRatio:Bt}}}class ei extends mi{constructor(...e){super(...e),this.initVPS=null}parsePES(e,t,n,r){const s=this.parseNALu(e,n.data,r);let l=this.VideoSample,f,E=!1;n.data=null,l&&s.length&&!e.audFound&&(this.pushAccessUnit(l,e),l=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),s.forEach(m=>{var A,S;switch(m.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:l||(l=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),l.frame=!0,f=!0;break;case 16:case 17:case 18:case 21:if(f=!0,E){var Y;(Y=l)!=null&&Y.frame&&!l.key&&(this.pushAccessUnit(l,e),l=this.VideoSample=null)}l||(l=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),l.key=!0,l.frame=!0;break;case 19:case 20:f=!0,(A=l)!=null&&A.frame&&!l.key&&(this.pushAccessUnit(l,e),l=this.VideoSample=null),l||(l=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),l.key=!0,l.frame=!0;break;case 39:f=!0,nt(m.data,2,n.pts,t.samples);break;case 32:f=!0,e.vps||(typeof e.params!="object"&&(e.params={}),e.params=v(e.params,this.readVPS(m.data)),this.initVPS=m.data),e.vps=[m.data];break;case 33:if(f=!0,E=!0,e.vps!==void 0&&e.vps[0]!==this.initVPS&&e.sps!==void 0&&!this.matchSPS(e.sps[0],m.data)&&(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const q=this.readSPS(m.data);e.width=q.width,e.height=q.height,e.pixelRatio=q.pixelRatio,e.codec=q.codecString,e.sps=[],typeof e.params!="object"&&(e.params={});for(const ne in q.params)e.params[ne]=q.params[ne]}this.pushParameterSet(e.sps,m.data,e.vps),l||(l=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),l.key=!0;break;case 34:if(f=!0,typeof e.params=="object"){if(!e.pps){e.pps=[];const q=this.readPPS(m.data);for(const ne in q)e.params[ne]=q[ne]}this.pushParameterSet(e.pps,m.data,e.vps)}break;case 35:f=!0,e.audFound=!0,(S=l)!=null&&S.frame&&(this.pushAccessUnit(l,e),l=null),l||(l=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;default:f=!1;break}l&&f&&l.units.push(m)}),r&&l&&(this.pushAccessUnit(l,e),this.VideoSample=null)}pushParameterSet(e,t,n){(n&&n[0]===this.initVPS||!n&&!e.length)&&e.push(t)}getNALuType(e,t){return(e[t]&126)>>>1}ebsp2rbsp(e){const t=new Uint8Array(e.byteLength);let n=0;for(let r=0;r<e.byteLength;r++)r>=2&&e[r]===3&&e[r-1]===0&&e[r-2]===0||(t[n]=e[r],n++);return new Uint8Array(t.buffer,0,n)}pushAccessUnit(e,t){super.pushAccessUnit(e,t),this.initVPS&&(this.initVPS=null)}readVPS(e){const t=new Xr(e);t.readUByte(),t.readUByte(),t.readBits(4),t.skipBits(2),t.readBits(6);const n=t.readBits(3),r=t.readBoolean();return{numTemporalLayers:n+1,temporalIdNested:r}}readSPS(e){const t=new Xr(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.readBits(4);const n=t.readBits(3);t.readBoolean();const r=t.readBits(2),s=t.readBoolean(),l=t.readBits(5),f=t.readUByte(),E=t.readUByte(),m=t.readUByte(),A=t.readUByte(),S=t.readUByte(),Y=t.readUByte(),q=t.readUByte(),ne=t.readUByte(),Te=t.readUByte(),Ae=t.readUByte(),We=t.readUByte(),pt=[],et=[];for(let $r=0;$r<n;$r++)pt.push(t.readBoolean()),et.push(t.readBoolean());if(n>0)for(let $r=n;$r<8;$r++)t.readBits(2);for(let $r=0;$r<n;$r++)pt[$r]&&(t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte()),et[$r]&&t.readUByte();t.readUEG();const Rt=t.readUEG();Rt==3&&t.skipBits(1);const kt=t.readUEG(),on=t.readUEG(),Bt=t.readBoolean();let Xt=0,ln=0,Vt=0,Sn=0;Bt&&(Xt+=t.readUEG(),ln+=t.readUEG(),Vt+=t.readUEG(),Sn+=t.readUEG());const kn=t.readUEG(),Hr=t.readUEG(),br=t.readUEG(),or=t.readBoolean();for(let $r=or?0:n;$r<=n;$r++)t.skipUEG(),t.skipUEG(),t.skipUEG();if(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.readBoolean()&&t.readBoolean())for(let ma=0;ma<4;ma++)for(let Va=0;Va<(ma===3?2:6);Va++)if(!t.readBoolean())t.readUEG();else{const ns=Math.min(64,1<<4+(ma<<1));ma>1&&t.readEG();for(let Eo=0;Eo<ns;Eo++)t.readEG()}t.readBoolean(),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.skipUEG(),t.skipUEG(),t.readBoolean());const tr=t.readUEG();let In=0;for(let $r=0;$r<tr;$r++){let ma=!1;if($r!==0&&(ma=t.readBoolean()),ma){$r===tr&&t.readUEG(),t.readBoolean(),t.readUEG();let Va=0;for(let eo=0;eo<=In;eo++){const ns=t.readBoolean();let Eo=!1;ns||(Eo=t.readBoolean()),(ns||Eo)&&Va++}In=Va}else{const Va=t.readUEG(),eo=t.readUEG();In=Va+eo;for(let ns=0;ns<Va;ns++)t.readUEG(),t.readBoolean();for(let ns=0;ns<eo;ns++)t.readUEG(),t.readBoolean()}}if(t.readBoolean()){const $r=t.readUEG();for(let ma=0;ma<$r;ma++){for(let Va=0;Va<br+4;Va++)t.readBits(1);t.readBits(1)}}let Cr=0,Tr=1,Ur=1,Kr=!0,ai=1,yi=0;t.readBoolean(),t.readBoolean();let Ca=!1;if(t.readBoolean()){if(t.readBoolean()){const to=t.readUByte(),Jl=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Bo=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];to>0&&to<16?(Tr=Jl[to-1],Ur=Bo[to-1]):to===255&&(Tr=t.readBits(16),Ur=t.readBits(16))}if(t.readBoolean()&&t.readBoolean(),t.readBoolean()&&(t.readBits(3),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.readUByte(),t.readUByte())),t.readBoolean()&&(t.readUEG(),t.readUEG()),t.readBoolean(),t.readBoolean(),t.readBoolean(),Ca=t.readBoolean(),Ca&&(Xt+=t.readUEG(),ln+=t.readUEG(),Vt+=t.readUEG(),Sn+=t.readUEG()),t.readBoolean()&&(ai=t.readBits(32),yi=t.readBits(32),t.readBoolean()&&t.readUEG(),t.readBoolean())){const Bo=t.readBoolean(),ql=t.readBoolean();let Co=!1;(Bo||ql)&&(Co=t.readBoolean(),Co&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),Co&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let eu=0;eu<=n;eu++){Kr=t.readBoolean();const dd=Kr||t.readBoolean();let tu=!1;dd?t.readEG():tu=t.readBoolean();const nu=tu?1:t.readUEG()+1;if(Bo)for(let wo=0;wo<nu;wo++)t.readUEG(),t.readUEG(),Co&&(t.readUEG(),t.readUEG()),t.skipBits(1);if(ql)for(let wo=0;wo<nu;wo++)t.readUEG(),t.readUEG(),Co&&(t.readUEG(),t.readUEG()),t.skipBits(1)}}t.readBoolean()&&(t.readBoolean(),t.readBoolean(),t.readBoolean(),Cr=t.readUEG())}let Bs=kt,$l=on;if(Bt||Ca){let $r=1,ma=1;Rt===1?$r=ma=2:Rt==2&&($r=2),Bs=kt-$r*ln-$r*Xt,$l=on-ma*Sn-ma*Vt}const ud=r?["A","B","C"][r]:"",cd=f<<24|E<<16|m<<8|A;let ol=0;for(let $r=0;$r<32;$r++)ol=(ol|(cd>>$r&1)<<31-$r)>>>0;let ll=ol.toString(16);return l===1&&ll==="2"&&(ll="6"),{codecString:`hvc1.${ud}${l}.${ll}.${s?"H":"L"}${We}.B0`,params:{general_tier_flag:s,general_profile_idc:l,general_profile_space:r,general_profile_compatibility_flags:[f,E,m,A],general_constraint_indicator_flags:[S,Y,q,ne,Te,Ae],general_level_idc:We,bit_depth:kn+8,bit_depth_luma_minus8:kn,bit_depth_chroma_minus8:Hr,min_spatial_segmentation_idc:Cr,chroma_format_idc:Rt,frame_rate:{fixed:Kr,fps:yi/ai}},width:Bs,height:$l,pixelRatio:[Tr,Ur]}}readPPS(e){const t=new Xr(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.skipUEG(),t.skipUEG(),t.skipBits(2),t.skipBits(3),t.skipBits(2),t.skipUEG(),t.skipUEG(),t.skipEG(),t.skipBits(2),t.readBoolean()&&t.skipUEG(),t.skipEG(),t.skipEG(),t.skipBits(4);const r=t.readBoolean(),s=t.readBoolean();let l=1;return s&&r?l=0:s?l=3:r&&(l=2),{parallelismType:l}}matchSPS(e,t){return String.fromCharCode.apply(null,e).substr(3)===String.fromCharCode.apply(null,t).substr(3)}}const Or=188;class Fr{constructor(e,t,n,r){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.videoParser=null}static probe(e,t){const n=Fr.syncOffset(e);return n>0&&t.warn(`MPEG2-TS detected but first sync word found @ offset ${n}`),n!==-1}static syncOffset(e){const t=e.length;let n=Math.min(Or*5,t-Or)+1,r=0;for(;r<n;){let s=!1,l=-1,f=0;for(let E=r;E<t;E+=Or)if(e[E]===71&&(t-E===Or||e[E+Or]===71)){if(f++,l===-1&&(l=E,l!==0&&(n=Math.min(l+Or*99,e.length-Or)+1)),s||(s=ni(e,E)===0),s&&f>1&&(l===0&&f>2||E+Or>n))return l}else{if(f)return-1;break}r++}return-1}static createTrack(e,t){return{container:e==="video"||e==="audio"?"video/mp2t":void 0,type:e,id:lt[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:e==="audio"?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Fr.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=Fr.createTrack("audio",r),this._id3Track=Fr.createTrack("id3"),this._txtTrack=Fr.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,n=!1,r=!1){n||(this.sampleAes=null);let s;const l=this._videoTrack,f=this._audioTrack,E=this._id3Track,m=this._txtTrack;let A=l.pid,S=l.pesData,Y=f.pid,q=E.pid,ne=f.pesData,Te=E.pesData,Ae=null,We=this.pmtParsed,pt=this._pmtId,et=e.length;if(this.remainderData&&(e=Me(this.remainderData,e),et=e.length,this.remainderData=null),et<Or&&!r)return this.remainderData=e,{audioTrack:f,videoTrack:l,id3Track:E,textTrack:m};const Rt=Math.max(0,Fr.syncOffset(e));et-=(et-Rt)%Or,et<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,et,e.buffer.byteLength-et));let kt=0;for(let Bt=Rt;Bt<et;Bt+=Or)if(e[Bt]===71){const Xt=!!(e[Bt+1]&64),ln=ni(e,Bt),Vt=(e[Bt+3]&48)>>4;let Sn;if(Vt>1){if(Sn=Bt+5+e[Bt+4],Sn===Bt+Or)continue}else Sn=Bt+4;switch(ln){case A:if(Xt){if(S&&(s=_r(S,this.logger))){if(this.videoParser===null)switch(l.segmentCodec){case"avc":this.videoParser=new Tn;break;case"hevc":this.videoParser=new ei;break}this.videoParser!==null&&this.videoParser.parsePES(l,m,s,!1)}S={data:[],size:0}}S&&(S.data.push(e.subarray(Sn,Bt+Or)),S.size+=Bt+Or-Sn);break;case Y:if(Xt){if(ne&&(s=_r(ne,this.logger)))switch(f.segmentCodec){case"aac":this.parseAACPES(f,s);break;case"mp3":this.parseMPEGPES(f,s);break;case"ac3":this.parseAC3PES(f,s);break}ne={data:[],size:0}}ne&&(ne.data.push(e.subarray(Sn,Bt+Or)),ne.size+=Bt+Or-Sn);break;case q:Xt&&(Te&&(s=_r(Te,this.logger))&&this.parseID3PES(E,s),Te={data:[],size:0}),Te&&(Te.data.push(e.subarray(Sn,Bt+Or)),Te.size+=Bt+Or-Sn);break;case 0:Xt&&(Sn+=e[Sn]+1),pt=this._pmtId=fa(e,Sn);break;case pt:{Xt&&(Sn+=e[Sn]+1);const kn=ri(e,Sn,this.typeSupported,n,this.observer,this.logger);A=kn.videoPid,A>0&&(l.pid=A,l.segmentCodec=kn.segmentVideoCodec),Y=kn.audioPid,Y>0&&(f.pid=Y,f.segmentCodec=kn.segmentAudioCodec),q=kn.id3Pid,q>0&&(E.pid=q),Ae!==null&&!We&&(this.logger.warn(`MPEG-TS PMT found at ${Bt} after unknown PID '${Ae}'. Backtracking to sync byte @${Rt} to parse all TS packets.`),Ae=null,Bt=Rt-188),We=this.pmtParsed=!0;break}case 17:case 8191:break;default:Ae=ln;break}}else kt++;kt>0&&cr(this.observer,new Error(`Found ${kt} TS packet/s that do not start with 0x47`),void 0,this.logger),l.pesData=S,f.pesData=ne,E.pesData=Te;const on={audioTrack:f,videoTrack:l,id3Track:E,textTrack:m};return r&&this.extractRemainingSamples(on),on}flush(){const{remainderData:e}=this;this.remainderData=null;let t;return e?t=this.demux(e,-1,!1,!0):t={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:s}=e,l=n.pesData,f=t.pesData,E=r.pesData;let m;if(l&&(m=_r(l,this.logger))){if(this.videoParser===null)switch(n.segmentCodec){case"avc":this.videoParser=new Tn;break;case"hevc":this.videoParser=new ei;break}this.videoParser!==null&&(this.videoParser.parsePES(n,s,m,!0),n.pesData=null)}else n.pesData=l;if(f&&(m=_r(f,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,m);break;case"mp3":this.parseMPEGPES(t,m);break;case"ac3":this.parseAC3PES(t,m);break}t.pesData=null}else f!=null&&f.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=f;E&&(m=_r(E,this.logger))?(this.parseID3PES(r,m),r.pesData=null):r.pesData=E}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),s=this.sampleAes=new sr(this.observer,this.config,t);return this.decrypt(r,s)}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:s}=e;r.samples&&r.segmentCodec==="aac"?t.decryptAacSamples(r.samples,0,()=>{s.samples?t.decryptAvcSamples(s.samples,0,0,()=>{n(e)}):n(e)}):s.samples&&t.decryptAvcSamples(s.samples,0,0,()=>{n(e)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let s=t.data;if(r){this.aacOverFlow=null;const S=r.missing,Y=r.sample.unit.byteLength;if(S===-1)s=Me(r.sample.unit,s);else{const q=Y-S;r.sample.unit.set(s.subarray(0,S),q),e.samples.push(r.sample),n=r.missing}}let l,f;for(l=n,f=s.length;l<f-1&&!ja(s,l);l++);if(l!==n){let S;const Y=l<f-1;if(Y?S=`AAC PES did not start with ADTS header,offset:${l}`:S="No ADTS header found in AAC PES",cr(this.observer,new Error(S),Y,this.logger),!Y)return}Ds(e,this.observer,s,l,this.audioCodec);let E;if(t.pts!==void 0)E=t.pts;else if(r){const S=Es(e.samplerate);E=r.sample.pts+S}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let m=0,A;for(;l<f;)if(A=Ns(e,s,l,E,m),l+=A.length,A.missing){this.aacOverFlow=A;break}else for(m++;l<f-1&&!ja(s,l);l++);}parseMPEGPES(e,t){const n=t.data,r=n.length;let s=0,l=0;const f=t.pts;if(f===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;l<r;)if(Tt(n,l)){const E=ge(e,n,l,f,s);if(E)l+=E.length,s++;else break}else l++}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(r===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const s=n.length;let l=0,f=0,E;for(;f<s&&(E=Qn(e,n,f,r,l++))>0;)f+=E}}parseID3PES(e,t){if(t.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=v({},t,{type:this._videoTrack?Zi.emsg:Zi.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function ni(d,e){return((d[e+1]&31)<<8)+d[e+2]}function fa(d,e){return(d[e+10]&31)<<8|d[e+11]}function ri(d,e,t,n,r,s){const l={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},f=(d[e+1]&15)<<8|d[e+2],E=e+3+f-4,m=(d[e+10]&15)<<8|d[e+11];for(e+=12+m;e<E;){const A=ni(d,e),S=(d[e+3]&15)<<8|d[e+4];switch(d[e]){case 207:if(!n){mr("ADTS AAC",s);break}case 15:l.audioPid===-1&&(l.audioPid=A);break;case 21:l.id3Pid===-1&&(l.id3Pid=A);break;case 219:if(!n){mr("H.264",s);break}case 27:l.videoPid===-1&&(l.videoPid=A);break;case 3:case 4:!t.mpeg&&!t.mp3?s.log("MPEG audio found, not supported in this browser"):l.audioPid===-1&&(l.audioPid=A,l.segmentAudioCodec="mp3");break;case 193:if(!n){mr("AC-3",s);break}case 129:t.ac3?l.audioPid===-1&&(l.audioPid=A,l.segmentAudioCodec="ac3"):s.log("AC-3 audio found, not supported in this browser");break;case 6:if(l.audioPid===-1&&S>0){let Y=e+5,q=S;for(;q>2;){switch(d[Y]){case 106:t.ac3!==!0?s.log("AC-3 audio found, not supported in this browser for now"):(l.audioPid=A,l.segmentAudioCodec="ac3");break}const Te=d[Y+1]+2;Y+=Te,q-=Te}}break;case 194:case 135:return cr(r,new Error("Unsupported EC-3 in M2TS found"),void 0,s),l;case 36:l.videoPid===-1&&(l.videoPid=A,l.segmentVideoCodec="hevc",s.log("HEVC in M2TS found"));break}e+=S+5}return l}function cr(d,e,t,n){n.warn(`parsing error: ${e.message}`),d.emit(h.ERROR,h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function mr(d,e){e.log(`${d} with AES-128-CBC encryption found in unencrypted stream`)}function _r(d,e){let t=0,n,r,s,l,f;const E=d.data;if(!d||d.size===0)return null;for(;E[0].length<19&&E.length>1;)E[0]=Me(E[0],E[1]),E.splice(1,1);if(n=E[0],(n[0]<<16)+(n[1]<<8)+n[2]===1){if(r=(n[4]<<8)+n[5],r&&r>d.size-6)return null;const A=n[7];A&192&&(l=(n[9]&14)*536870912+(n[10]&255)*4194304+(n[11]&254)*16384+(n[12]&255)*128+(n[13]&254)/2,A&64?(f=(n[14]&14)*536870912+(n[15]&255)*4194304+(n[16]&254)*16384+(n[17]&255)*128+(n[18]&254)/2,l-f>60*9e4&&(e.warn(`${Math.round((l-f)/9e4)}s delta between PTS and DTS, align them`),l=f)):f=l),s=n[8];let S=s+9;if(d.size<=S)return null;d.size-=S;const Y=new Uint8Array(d.size);for(let q=0,ne=E.length;q<ne;q++){n=E[q];let Te=n.byteLength;if(S)if(S>Te){S-=Te;continue}else n=n.subarray(S),Te-=S,S=0;Y.set(n,t),t+=Te}return r&&(r-=s+3),{data:Y,pts:l,dts:f,len:r}}return null}class Si{static getSilentFrame(e,t){switch(e){case"mp4a.40.2":if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const ii=Math.pow(2,32)-1;class Ot{static init(){Ot.types={avc1:[],avcC:[],hvc1:[],hvcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};let e;for(e in Ot.types)Ot.types.hasOwnProperty(e)&&(Ot.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Ot.HDLR_TYPES={video:t,audio:n};const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),s=new Uint8Array([0,0,0,0,0,0,0,0]);Ot.STTS=Ot.STSC=Ot.STCO=s,Ot.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ot.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Ot.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ot.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const l=new Uint8Array([105,115,111,109]),f=new Uint8Array([97,118,99,49]),E=new Uint8Array([0,0,0,1]);Ot.FTYP=Ot.box(Ot.types.ftyp,l,E,l,f),Ot.DINF=Ot.box(Ot.types.dinf,Ot.box(Ot.types.dref,r))}static box(e,...t){let n=8,r=t.length;const s=r;for(;r--;)n+=t[r].byteLength;const l=new Uint8Array(n);for(l[0]=n>>24&255,l[1]=n>>16&255,l[2]=n>>8&255,l[3]=n&255,l.set(e,4),r=0,n=8;r<s;r++)l.set(t[r],n),n+=t[r].byteLength;return l}static hdlr(e){return Ot.box(Ot.types.hdlr,Ot.HDLR_TYPES[e])}static mdat(e){return Ot.box(Ot.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(ii+1)),r=Math.floor(t%(ii+1));return Ot.box(Ot.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&255,85,196,0,0]))}static mdia(e){return Ot.box(Ot.types.mdia,Ot.mdhd(e.timescale||0,e.duration||0),Ot.hdlr(e.type),Ot.minf(e))}static mfhd(e){return Ot.box(Ot.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,e&255]))}static minf(e){return e.type==="audio"?Ot.box(Ot.types.minf,Ot.box(Ot.types.smhd,Ot.SMHD),Ot.DINF,Ot.stbl(e)):Ot.box(Ot.types.minf,Ot.box(Ot.types.vmhd,Ot.VMHD),Ot.DINF,Ot.stbl(e))}static moof(e,t,n){return Ot.box(Ot.types.moof,Ot.mfhd(e),Ot.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=Ot.trak(e[t]);return Ot.box.apply(null,[Ot.types.moov,Ot.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(Ot.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=Ot.trex(e[t]);return Ot.box.apply(null,[Ot.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(ii+1)),r=Math.floor(t%(ii+1)),s=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Ot.box(Ot.types.mvhd,s)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,s;for(r=0;r<t.length;r++)s=t[r].flags,n[r+4]=s.dependsOn<<4|s.isDependedOn<<2|s.hasRedundancy;return Ot.box(Ot.types.sdtp,n)}static stbl(e){return Ot.box(Ot.types.stbl,Ot.stsd(e),Ot.box(Ot.types.stts,Ot.STTS),Ot.box(Ot.types.stsc,Ot.STSC),Ot.box(Ot.types.stsz,Ot.STSZ),Ot.box(Ot.types.stco,Ot.STCO))}static avc1(e){let t=[],n=[],r,s,l;for(r=0;r<e.sps.length;r++)s=e.sps[r],l=s.byteLength,t.push(l>>>8&255),t.push(l&255),t=t.concat(Array.prototype.slice.call(s));for(r=0;r<e.pps.length;r++)s=e.pps[r],l=s.byteLength,n.push(l>>>8&255),n.push(l&255),n=n.concat(Array.prototype.slice.call(s));const f=Ot.box(Ot.types.avcC,new Uint8Array([1,t[3],t[4],t[5],255,224|e.sps.length].concat(t).concat([e.pps.length]).concat(n))),E=e.width,m=e.height,A=e.pixelRatio[0],S=e.pixelRatio[1];return Ot.box(Ot.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,E>>8&255,E&255,m>>8&255,m&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),f,Ot.box(Ot.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ot.box(Ot.types.pasp,new Uint8Array([A>>24,A>>16&255,A>>8&255,A&255,S>>24,S>>16&255,S>>8&255,S&255])))}static esds(e){const t=e.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...t,6,1,2])}static audioStsd(e){const t=e.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount||0,0,16,0,0,0,0,t>>8&255,t&255,0,0])}static mp4a(e){return Ot.box(Ot.types.mp4a,Ot.audioStsd(e),Ot.box(Ot.types.esds,Ot.esds(e)))}static mp3(e){return Ot.box(Ot.types[".mp3"],Ot.audioStsd(e))}static ac3(e){return Ot.box(Ot.types["ac-3"],Ot.audioStsd(e),Ot.box(Ot.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if(e.type==="audio"){if(t==="aac")return Ot.box(Ot.types.stsd,Ot.STSD,Ot.mp4a(e));if(t==="ac3"&&e.config)return Ot.box(Ot.types.stsd,Ot.STSD,Ot.ac3(e));if(t==="mp3"&&e.codec==="mp3")return Ot.box(Ot.types.stsd,Ot.STSD,Ot.mp3(e))}else if(e.pps&&e.sps){if(t==="avc")return Ot.box(Ot.types.stsd,Ot.STSD,Ot.avc1(e));if(t==="hevc"&&e.vps)return Ot.box(Ot.types.stsd,Ot.STSD,Ot.hvc1(e))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${e.type} segment codec (${t}/${e.codec})`)}static tkhd(e){const t=e.id,n=(e.duration||0)*(e.timescale||0),r=e.width||0,s=e.height||0,l=Math.floor(n/(ii+1)),f=Math.floor(n%(ii+1));return Ot.box(Ot.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,0,0,0,0,l>>24,l>>16&255,l>>8&255,l&255,f>>24,f>>16&255,f>>8&255,f&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,r&255,0,0,s>>8&255,s&255,0,0]))}static traf(e,t){const n=Ot.sdtp(e),r=e.id,s=Math.floor(t/(ii+1)),l=Math.floor(t%(ii+1));return Ot.box(Ot.types.traf,Ot.box(Ot.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),Ot.box(Ot.types.tfdt,new Uint8Array([1,0,0,0,s>>24,s>>16&255,s>>8&255,s&255,l>>24,l>>16&255,l>>8&255,l&255])),Ot.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,Ot.box(Ot.types.trak,Ot.tkhd(e),Ot.mdia(e))}static trex(e){const t=e.id;return Ot.box(Ot.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,s=12+16*r,l=new Uint8Array(s);let f,E,m,A,S,Y;for(t+=8+s,l.set([e.type==="video"?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,r&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0),f=0;f<r;f++)E=n[f],m=E.duration,A=E.size,S=E.flags,Y=E.cts,l.set([m>>>24&255,m>>>16&255,m>>>8&255,m&255,A>>>24&255,A>>>16&255,A>>>8&255,A&255,S.isLeading<<2|S.dependsOn,S.isDependedOn<<6|S.hasRedundancy<<4|S.paddingValue<<1|S.isNonSync,S.degradPrio&61440,S.degradPrio&15,Y>>>24&255,Y>>>16&255,Y>>>8&255,Y&255],12+16*f);return Ot.box(Ot.types.trun,l)}static initSegment(e){Ot.types||Ot.init();const t=Ot.moov(e);return Me(Ot.FTYP,t)}static hvc1(e){const t=e.params,n=[e.vps,e.sps,e.pps],r=4,s=new Uint8Array([1,t.general_profile_space<<6|(t.general_tier_flag?32:0)|t.general_profile_idc,t.general_profile_compatibility_flags[0],t.general_profile_compatibility_flags[1],t.general_profile_compatibility_flags[2],t.general_profile_compatibility_flags[3],t.general_constraint_indicator_flags[0],t.general_constraint_indicator_flags[1],t.general_constraint_indicator_flags[2],t.general_constraint_indicator_flags[3],t.general_constraint_indicator_flags[4],t.general_constraint_indicator_flags[5],t.general_level_idc,240|t.min_spatial_segmentation_idc>>8,255&t.min_spatial_segmentation_idc,252|t.parallelismType,252|t.chroma_format_idc,248|t.bit_depth_luma_minus8,248|t.bit_depth_chroma_minus8,0,parseInt(t.frame_rate.fps),r-1|t.temporal_id_nested<<2|t.num_temporal_layers<<3|(t.frame_rate.fixed?64:0),n.length]);let l=s.length;for(let ne=0;ne<n.length;ne+=1){l+=3;for(let Te=0;Te<n[ne].length;Te+=1)l+=2+n[ne][Te].length}const f=new Uint8Array(l);f.set(s,0),l=s.length;const E=n.length-1;for(let ne=0;ne<n.length;ne+=1){f.set(new Uint8Array([32+ne|(ne===E?128:0),0,n[ne].length]),l),l+=3;for(let Te=0;Te<n[ne].length;Te+=1)f.set(new Uint8Array([n[ne][Te].length>>8,n[ne][Te].length&255]),l),l+=2,f.set(n[ne][Te],l),l+=n[ne][Te].length}const m=Ot.box(Ot.types.hvcC,f),A=e.width,S=e.height,Y=e.pixelRatio[0],q=e.pixelRatio[1];return Ot.box(Ot.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,A>>8&255,A&255,S>>8&255,S&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),m,Ot.box(Ot.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ot.box(Ot.types.pasp,new Uint8Array([Y>>24,Y>>16&255,Y>>8&255,Y&255,q>>24,q>>16&255,q>>8&255,q&255])))}}Ot.types=void 0,Ot.HDLR_TYPES=void 0,Ot.STTS=void 0,Ot.STSC=void 0,Ot.STCO=void 0,Ot.STSZ=void 0,Ot.VMHD=void 0,Ot.SMHD=void 0,Ot.STSD=void 0,Ot.FTYP=void 0,Ot.DINF=void 0;const ha=9e4;function At(d,e,t=1,n=!1){const r=d*e*t;return n?Math.round(r):r}function pa(d,e,t=1,n=!1){return At(d,e,1/t,n)}function ra(d,e=!1){return At(d,1e3,1/ha,e)}function _t(d,e=1){return At(d,ha,1/e)}const ia=10*1e3,es=1024,ks=1152,Os=1536;let Ii=null,ga=null;function _a(d,e,t,n){return{duration:e,size:t,cts:n,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:d?2:1,isNonSync:d?0:1}}}class Ma{constructor(e,t,n,r){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.ISGenerated=!1,Ii===null){const l=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ii=l?parseInt(l[1]):0}if(ga===null){const s=navigator.userAgent.match(/Safari\/(\d+)/i);ga=s?parseInt(s[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((s,l)=>{let f=l.pts,E=f-s;return E<-4294967296&&(t=!0,f=Wi(f,n),E=f-s),E>0?s:f},n);return t&&this.logger.debug("PTS rollover detected"),r}remux(e,t,n,r,s,l,f,E){let m,A,S,Y,q,ne,Te=s,Ae=s;const We=e.pid>-1,pt=t.pid>-1,et=t.samples.length,Rt=e.samples.length>0,kt=f&&et>0||et>1;if((!We||Rt)&&(!pt||kt)||this.ISGenerated||f){if(this.ISGenerated){var Bt,Xt,ln,Vt;const br=this.videoTrackConfig;(br&&(t.width!==br.width||t.height!==br.height||((Bt=t.pixelRatio)==null?void 0:Bt[0])!==((Xt=br.pixelRatio)==null?void 0:Xt[0])||((ln=t.pixelRatio)==null?void 0:ln[1])!==((Vt=br.pixelRatio)==null?void 0:Vt[1]))||!br&&kt||this.nextAudioPts===null&&Rt)&&this.resetInitSegment()}this.ISGenerated||(S=this.generateIS(e,t,s,l));const Sn=this.isVideoContiguous;let kn=-1,Hr;if(kt&&(kn=Xs(t.samples),!Sn&&this.config.forceKeyFrameOnDiscontinuity))if(ne=!0,kn>0){this.logger.warn(`[mp4-remuxer]: Dropped ${kn} out of ${et} video samples due to a missing keyframe`);const br=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(kn),t.dropped+=kn,Ae+=(t.samples[0].pts-br)/t.inputTimeScale,Hr=Ae}else kn===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${et} video samples`),ne=!1);if(this.ISGenerated){if(Rt&&kt){const br=this.getVideoStartPts(t.samples),Wn=(Wi(e.samples[0].pts,br)-br)/t.inputTimeScale;Te+=Math.max(0,Wn),Ae+=Math.max(0,-Wn)}if(Rt){if(e.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),S=this.generateIS(e,t,s,l)),A=this.remuxAudio(e,Te,this.isAudioContiguous,l,pt||kt||E===G.AUDIO?Ae:void 0),kt){const br=A?A.endPTS-A.startPTS:0;t.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),S=this.generateIS(e,t,s,l)),m=this.remuxVideo(t,Ae,Sn,br)}}else kt&&(m=this.remuxVideo(t,Ae,Sn,0));m&&(m.firstKeyFrame=kn,m.independent=kn!==-1,m.firstKeyFramePTS=Hr)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(q=us(n,s,this._initPTS,this._initDTS)),r.samples.length&&(Y=$s(r,s,this._initPTS))),{audio:A,video:m,initSegment:S,independent:ne,text:Y,id3:q}}generateIS(e,t,n,r){const s=e.samples,l=t.samples,f=this.typeSupported,E={},m=this._initPTS;let A=!m||r,S="audio/mp4",Y,q,ne;if(A&&(Y=q=1/0),e.config&&s.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":f.mpeg?(S="audio/mpeg",e.codec=""):f.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}E.audio={id:"audio",container:S,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&f.mpeg?new Uint8Array(0):Ot.initSegment([e]),metadata:{channelCount:e.channelCount}},A&&(ne=e.inputTimeScale,!m||ne!==m.timescale?Y=q=s[0].pts-Math.round(ne*n):A=!1)}if(t.sps&&t.pps&&l.length){if(t.timescale=t.inputTimeScale,E.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:Ot.initSegment([t]),metadata:{width:t.width,height:t.height}},A)if(ne=t.inputTimeScale,!m||ne!==m.timescale){const Te=this.getVideoStartPts(l),Ae=Math.round(ne*n);q=Math.min(q,Wi(l[0].dts,Te)-Ae),Y=Math.min(Y,Te-Ae)}else A=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(E).length)return this.ISGenerated=!0,A?(this._initPTS={baseTime:Y,timescale:ne},this._initDTS={baseTime:q,timescale:ne}):Y=ne=void 0,{tracks:E,initPTS:Y,timescale:ne}}remuxVideo(e,t,n,r){const s=e.inputTimeScale,l=e.samples,f=[],E=l.length,m=this._initPTS;let A=this.nextAvcDts,S=8,Y=this.videoSampleDuration,q,ne,Te=Number.POSITIVE_INFINITY,Ae=Number.NEGATIVE_INFINITY,We=!1;if(!n||A===null){const In=t*s,Nn=l[0].pts-Wi(l[0].dts,l[0].pts);Ii&&A!==null&&Math.abs(In-Nn-A)<15e3?n=!0:A=In-Nn}const pt=m.baseTime*s/m.timescale;for(let In=0;In<E;In++){const Nn=l[In];Nn.pts=Wi(Nn.pts-pt,A),Nn.dts=Wi(Nn.dts-pt,A),Nn.dts<l[In>0?In-1:In].dts&&(We=!0)}We&&l.sort(function(In,Nn){const Cr=In.dts-Nn.dts,Tr=In.pts-Nn.pts;return Cr||Tr}),q=l[0].dts,ne=l[l.length-1].dts;const et=ne-q,Rt=et?Math.round(et/(E-1)):Y||e.inputTimeScale/30;if(n){const In=q-A,Nn=In>Rt,Cr=In<-1;if((Nn||Cr)&&(Nn?this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${ra(In,!0)} ms (${In}dts) hole between fragments detected at ${t.toFixed(3)}`):this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${ra(-In,!0)} ms (${In}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!Cr||A>=l[0].pts||Ii)){q=A;const Tr=l[0].pts-In;if(Nn)l[0].dts=q,l[0].pts=Tr;else{let Ur=!0;for(let Kr=0;Kr<l.length&&!(l[Kr].dts>Tr&&Ur);Kr++){const ai=l[Kr].pts;if(l[Kr].dts-=In,l[Kr].pts-=In,Kr<l.length-1){const yi=l[Kr+1].pts,Ca=l[Kr].pts,Oa=yi<=Ca,Bs=yi<=ai;Ur=Oa==Bs}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${ra(Tr,!0)}/${ra(q,!0)}, delta: ${ra(In,!0)} ms`)}}q=Math.max(0,q);let kt=0,on=0,Bt=q;for(let In=0;In<E;In++){const Nn=l[In],Cr=Nn.units,Tr=Cr.length;let Ur=0;for(let Kr=0;Kr<Tr;Kr++)Ur+=Cr[Kr].data.length;on+=Ur,kt+=Tr,Nn.length=Ur,Nn.dts<Bt?(Nn.dts=Bt,Bt+=Rt/4|0||1):Bt=Nn.dts,Te=Math.min(Nn.pts,Te),Ae=Math.max(Nn.pts,Ae)}ne=l[E-1].dts;const Xt=on+4*kt+8;let ln;try{ln=new Uint8Array(Xt)}catch(In){this.observer.emit(h.ERROR,h.ERROR,{type:b.MUX_ERROR,details:_.REMUX_ALLOC_ERROR,fatal:!1,error:In,bytes:Xt,reason:`fail allocating video mdat ${Xt}`});return}const Vt=new DataView(ln.buffer);Vt.setUint32(0,Xt),ln.set(Ot.types.mdat,4);let Sn=!1,kn=Number.POSITIVE_INFINITY,Hr=Number.POSITIVE_INFINITY,br=Number.NEGATIVE_INFINITY,or=Number.NEGATIVE_INFINITY;for(let In=0;In<E;In++){const Nn=l[In],Cr=Nn.units;let Tr=0;for(let ai=0,yi=Cr.length;ai<yi;ai++){const Ca=Cr[ai],Oa=Ca.data,Bs=Ca.data.byteLength;Vt.setUint32(S,Bs),S+=4,ln.set(Oa,S),S+=Bs,Tr+=4+Bs}let Ur;if(In<E-1)Y=l[In+1].dts-Nn.dts,Ur=l[In+1].pts-Nn.pts;else{const ai=this.config,yi=In>0?Nn.dts-l[In-1].dts:Rt;if(Ur=In>0?Nn.pts-l[In-1].pts:Rt,ai.stretchShortVideoTrack&&this.nextAudioPts!==null){const Ca=Math.floor(ai.maxBufferHole*s),Oa=(r?Te+r*s:this.nextAudioPts)-Nn.pts;Oa>Ca?(Y=Oa-yi,Y<0?Y=yi:Sn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${Oa/90} ms to the next segment; using duration ${Y/90} ms for the last video frame.`)):Y=yi}else Y=yi}const Kr=Math.round(Nn.pts-Nn.dts);kn=Math.min(kn,Y),br=Math.max(br,Y),Hr=Math.min(Hr,Ur),or=Math.max(or,Ur),f.push(_a(Nn.key,Y,Tr,Kr))}if(f.length){if(Ii){if(Ii<70){const In=f[0].flags;In.dependsOn=2,In.isNonSync=0}}else if(ga&&or-Hr<br-kn&&Rt/br<.025&&f[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let In=q;for(let Nn=0,Cr=f.length;Nn<Cr;Nn++){const Tr=In+f[Nn].duration,Ur=In+f[Nn].cts;if(Nn<Cr-1){const Kr=Tr+f[Nn+1].cts;f[Nn].duration=Kr-Ur}else f[Nn].duration=Nn?f[Nn-1].duration:Rt;f[Nn].cts=0,In=Tr}}}Y=Sn||!Y?Rt:Y,this.nextAvcDts=A=ne+Y,this.videoSampleDuration=Y,this.isVideoContiguous=!0;const tr={data1:Ot.moof(e.sequenceNumber++,q,v(e,{samples:f})),data2:ln,startPTS:Te/s,endPTS:(Ae+Y)/s,startDTS:q/s,endDTS:A/s,type:"video",hasAudio:!1,hasVideo:!0,nb:f.length,dropped:e.dropped};return e.samples=[],e.dropped=0,tr}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return ks;case"ac3":return Os;default:return es}}remuxAudio(e,t,n,r,s){const l=e.inputTimeScale,f=e.samplerate?e.samplerate:l,E=l/f,m=this.getSamplesPerFrame(e),A=m*E,S=this._initPTS,Y=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,q=[],ne=s!==void 0;let Te=e.samples,Ae=Y?0:8,We=this.nextAudioPts||-1;const pt=t*l,et=S.baseTime*l/S.timescale;if(this.isAudioContiguous=n=n||Te.length&&We>0&&(r&&Math.abs(pt-We)<9e3||Math.abs(Wi(Te[0].pts-et,pt)-We)<20*A),Te.forEach(function(Wn){Wn.pts=Wi(Wn.pts-et,pt)}),!n||We<0){if(Te=Te.filter(Wn=>Wn.pts>=0),!Te.length)return;s===0?We=0:r&&!ne?We=Math.max(0,pt):We=Te[0].pts}if(e.segmentCodec==="aac"){const Wn=this.config.maxAudioFramesDrift;for(let lr=0,tr=We;lr<Te.length;lr++){const In=Te[lr],Nn=In.pts,Cr=Nn-tr,Tr=Math.abs(1e3*Cr/l);if(Cr<=-Wn*A&&ne)lr===0&&(this.logger.warn(`Audio frame @ ${(Nn/l).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*Cr/l)} ms.`),this.nextAudioPts=We=tr=Nn);else if(Cr>=Wn*A&&Tr<ia&&ne){let Ur=Math.round(Cr/A);tr=Nn-Ur*A,tr<0&&(Ur--,tr+=A),lr===0&&(this.nextAudioPts=We=tr),this.logger.warn(`[mp4-remuxer]: Injecting ${Ur} audio frame @ ${(tr/l).toFixed(3)}s due to ${Math.round(1e3*Cr/l)} ms gap.`);for(let Kr=0;Kr<Ur;Kr++){const ai=Math.max(tr,0);let yi=Si.getSilentFrame(e.parsedCodec||e.manifestCodec||e.codec,e.channelCount);yi||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),yi=In.unit.subarray()),Te.splice(lr,0,{unit:yi,pts:ai}),tr+=A,lr++}}In.pts=tr,tr+=A}}let Rt=null,kt=null,on,Bt=0,Xt=Te.length;for(;Xt--;)Bt+=Te[Xt].unit.byteLength;for(let Wn=0,lr=Te.length;Wn<lr;Wn++){const tr=Te[Wn],In=tr.unit;let Nn=tr.pts;if(kt!==null){const Tr=q[Wn-1];Tr.duration=Math.round((Nn-kt)/E)}else if(n&&e.segmentCodec==="aac"&&(Nn=We),Rt=Nn,Bt>0){Bt+=Ae;try{on=new Uint8Array(Bt)}catch(Tr){this.observer.emit(h.ERROR,h.ERROR,{type:b.MUX_ERROR,details:_.REMUX_ALLOC_ERROR,fatal:!1,error:Tr,bytes:Bt,reason:`fail allocating audio mdat ${Bt}`});return}Y||(new DataView(on.buffer).setUint32(0,Bt),on.set(Ot.types.mdat,4))}else return;on.set(In,Ae);const Cr=In.byteLength;Ae+=Cr,q.push(_a(!0,m,Cr,0)),kt=Nn}const ln=q.length;if(!ln)return;const Vt=q[q.length-1];this.nextAudioPts=We=kt+E*Vt.duration;const Sn=Y?new Uint8Array(0):Ot.moof(e.sequenceNumber++,Rt/E,v({},e,{samples:q}));e.samples=[];const kn=Rt/l,Hr=We/l,or={data1:Sn,data2:on,startPTS:kn,endPTS:Hr,startDTS:kn,endDTS:Hr,type:"audio",hasAudio:!0,hasVideo:!1,nb:ln};return this.isAudioContiguous=!0,or}}function Wi(d,e){let t;if(e===null)return d;for(e<d?t=-8589934592:t=8589934592;Math.abs(d-e)>4294967296;)d+=t;return d}function Xs(d){for(let e=0;e<d.length;e++)if(d[e].key)return e;return-1}function us(d,e,t,n){const r=d.samples.length;if(!r)return;const s=d.inputTimeScale;for(let f=0;f<r;f++){const E=d.samples[f];E.pts=Wi(E.pts-t.baseTime*s/t.timescale,e*s)/s,E.dts=Wi(E.dts-n.baseTime*s/n.timescale,e*s)/s}const l=d.samples;return d.samples=[],{samples:l}}function $s(d,e,t){const n=d.samples.length;if(!n)return;const r=d.inputTimeScale;for(let l=0;l<n;l++){const f=d.samples[l];f.pts=Wi(f.pts-t.baseTime*r/t.timescale,e*r)/r}d.samples.sort((l,f)=>l.pts-f.pts);const s=d.samples;return d.samples=[],{samples:s}}class fo{constructor(e,t,n,r){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=r}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(ze(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const r=this.initData=Ue(e);r.audio&&(t=c(r.audio,L.AUDIO)),r.video&&(n=c(r.video,L.VIDEO));const s={};r.audio&&r.video?s.audiovideo={container:"video/mp4",codec:t+","+n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:r.audio?s.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?s.video={container:"video/mp4",codec:n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=s}remux(e,t,n,r,s,l){var f,E;let{initPTS:m,lastEndTime:A}=this;const S={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};a(A)||(A=this.lastEndTime=s||0);const Y=t.samples;if(!(Y!=null&&Y.length))return S;const q={initPTS:void 0,timescale:1};let ne=this.initData;if((f=ne)!=null&&f.length||(this.generateInitSegment(Y),ne=this.initData),!((E=ne)!=null&&E.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),S;this.emitInitSegment&&(q.tracks=this.initTracks,this.emitInitSegment=!1);const Te=Ke(Y,ne),Ae=Je(ne,Y),We=Ae===null?s:Ae;(l||!m)&&(i(m,We,s,Te)||q.timescale!==m.timescale)&&(q.initPTS=We-s,m&&m.timescale===1&&this.logger.warn(`Adjusting initPTS @${s} from ${m.baseTime/m.timescale} to ${q.initPTS}`),this.initPTS=m={baseTime:q.initPTS,timescale:1});const pt=e?We-m.baseTime/m.timescale:A,et=pt+Te;_e(ne,Y,m.baseTime/m.timescale),Te>0?this.lastEndTime=et:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Rt=!!ne.audio,kt=!!ne.video;let on="";Rt&&(on+="audio"),kt&&(on+="video");const Bt={data1:Y,startPTS:pt,startDTS:pt,endPTS:et,endDTS:et,type:on,hasAudio:Rt,hasVideo:kt,nb:1,dropped:0};return S.audio=Bt.type==="audio"?Bt:void 0,S.video=Bt.type!=="audio"?Bt:void 0,S.initSegment=q,S.id3=us(n,s,m,m),r.samples.length&&(S.text=$s(r,s,m)),S}}function i(d,e,t,n){if(d===null)return!0;const r=Math.max(n,1),s=e-d.baseTime/d.timescale;return Math.abs(s-t)>r}function c(d,e){const t=d==null?void 0:d.codec;return t&&t.length>4?t:e===L.AUDIO?t==="ec-3"||t==="ac-3"||t==="alac"?t:t==="fLaC"||t==="Opus"?Dt(t,!1):(te.warn(`Unhandled audio codec "${t}" in mp4 MAP`),t||"mp4a"):(te.warn(`Unhandled video codec "${t}" in mp4 MAP`),t||"avc1")}let R;try{R=self.performance.now.bind(self.performance)}catch(d){R=Date.now}const xe=[{demux:Fn,remux:fo},{demux:Fr,remux:Ma},{demux:Pt,remux:Ma},{demux:Ar,remux:Ma}];xe.splice(2,0,{demux:mt,remux:Ma});class Et{constructor(e,t,n,r,s,l){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=e,this.typeSupported=t,this.config=n,this.id=s,this.logger=l}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const s=n.transmuxing;s.executeStart=R();let l=new Uint8Array(e);const{currentTransmuxState:f,transmuxConfig:E}=this;r&&(this.currentTransmuxState=r);const{contiguous:m,discontinuity:A,trackSwitch:S,accurateTimeOffset:Y,timeOffset:q,initSegmentChange:ne}=r||f,{audioCodec:Te,videoCodec:Ae,defaultInitPts:We,duration:pt,initSegmentData:et}=E,Rt=Zt(l,t);if(Rt&&Li(Rt.method)){const Xt=this.getDecrypter(),ln=Bi(Rt.method);if(Xt.isSync()){let Vt=Xt.softwareDecrypt(l,Rt.key.buffer,Rt.iv.buffer,ln);if(n.part>-1){const kn=Xt.flush();Vt=kn&&kn.buffer}if(!Vt)return s.executeEnd=R(),pn(n);l=new Uint8Array(Vt)}else return this.asyncResult=!0,this.decryptionPromise=Xt.webCryptoDecrypt(l,Rt.key.buffer,Rt.iv.buffer,ln).then(Vt=>{const Sn=this.push(Vt,null,n);return this.decryptionPromise=null,Sn}),this.decryptionPromise}const kt=this.needsProbing(A,S);if(kt){const Xt=this.configureTransmuxer(l);if(Xt)return this.logger.warn(`[transmuxer] ${Xt.message}`),this.observer.emit(h.ERROR,h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_PARSING_ERROR,fatal:!1,error:Xt,reason:Xt.message}),s.executeEnd=R(),pn(n)}(A||S||ne||kt)&&this.resetInitSegment(et,Te,Ae,pt,t),(A||ne||kt)&&this.resetInitialTimestamp(We),m||this.resetContiguity();const on=this.transmux(l,Rt,q,Y,n);this.asyncResult=Un(on);const Bt=this.currentTransmuxState;return Bt.contiguous=!0,Bt.discontinuity=!1,Bt.trackSwitch=!1,s.executeEnd=R(),on}flush(e){const t=e.transmuxing;t.executeStart=R();const{decrypter:n,currentTransmuxState:r,decryptionPromise:s}=this;if(s)return this.asyncResult=!0,s.then(()=>this.flush(e));const l=[],{timeOffset:f}=r;if(n){const S=n.flush();S&&l.push(this.push(S.buffer,null,e))}const{demuxer:E,remuxer:m}=this;if(!E||!m){t.executeEnd=R();const S=[pn(e)];return this.asyncResult?Promise.resolve(S):S}const A=E.flush(f);return Un(A)?(this.asyncResult=!0,A.then(S=>(this.flushRemux(l,S,e),l))):(this.flushRemux(l,A,e),this.asyncResult?Promise.resolve(l):l)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:s,id3Track:l,textTrack:f}=t,{accurateTimeOffset:E,timeOffset:m}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===G.MAIN?"level":"track"} ${n.level}`);const A=this.remuxer.remux(r,s,l,f,m,E,!0,this.id);e.push({remuxResult:A,chunkMeta:n}),n.transmuxing.executeEnd=R()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;!e||!t||(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,s){const{demuxer:l,remuxer:f}=this;!l||!f||(l.resetInitSegment(e,t,n,r),f.resetInitSegment(e,t,n,s))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,s){let l;return t&&t.method==="SAMPLE-AES"?l=this.transmuxSampleAes(e,t,n,r,s):l=this.transmuxUnencrypted(e,n,r,s),l}transmuxUnencrypted(e,t,n,r){const{audioTrack:s,videoTrack:l,id3Track:f,textTrack:E}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(s,l,f,E,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,s){return this.demuxer.demuxSampleAes(e,t,n).then(l=>({remuxResult:this.remuxer.remux(l.audioTrack,l.videoTrack,l.id3Track,l.textTrack,n,r,!1,this.id),chunkMeta:s}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r}=this;let s;for(let S=0,Y=xe.length;S<Y;S++){var l;if((l=xe[S].demux)!=null&&l.probe(e,this.logger)){s=xe[S];break}}if(!s)return new Error("Failed to find demuxer by probing fragment data");const f=this.demuxer,E=this.remuxer,m=s.remux,A=s.demux;(!E||!(E instanceof m))&&(this.remuxer=new m(n,t,r,this.logger)),(!f||!(f instanceof A))&&(this.demuxer=new A(n,t,r,this.logger),this.probe=A.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new Di(this.config)),e}}function Zt(d,e){let t=null;return d.byteLength>0&&(e==null?void 0:e.key)!=null&&e.iv!==null&&e.method!=null&&(t=e),t}const pn=d=>({remuxResult:{},chunkMeta:d});function Un(d){return"then"in d&&d.then instanceof Function}class dr{constructor(e,t,n,r,s){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=s||null}}class an{constructor(e,t,n,r,s,l){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=s,this.initSegmentChange=l}}let wn=0;class Er{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=wn++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=E=>{const m=E.data,A=this.hls;if(!(!A||!(m!=null&&m.event)||m.instanceNo!==this.instanceNo))switch(m.event){case"init":{var S;const Y=(S=this.workerContext)==null?void 0:S.objectURL;Y&&self.URL.revokeObjectURL(Y);break}case"transmuxComplete":{this.handleTransmuxComplete(m.data);break}case"flush":{this.onFlush(m.data);break}case"workerLog":{A.logger[m.data.logType]&&A.logger[m.data.logType](m.data.message);break}default:{m.data=m.data||{},m.data.frag=this.frag,m.data.part=this.part,m.data.id=this.id,A.trigger(m.event,m.data);break}}},this.onWorkerError=E=>{if(!this.hls)return;const m=new Error(`${E.message} (${E.filename}:${E.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:m})};const s=e.config;this.hls=e,this.id=t,this.useWorker=!!s.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const l=(E,m)=>{m=m||{},m.frag=this.frag||void 0,E===h.ERROR&&(m=m,m.parent=this.id,m.part=this.part,this.error=m.error),this.hls.trigger(E,m)};this.observer=new ss,this.observer.on(h.FRAG_DECRYPTED,l),this.observer.on(h.ERROR,l);const f=Gt(s.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const E=this.hls.logger;if(s.workerPath||xs()){try{s.workerPath?(E.log(`loading Web Worker ${s.workerPath} for "${t}"`),this.workerContext=Ra(s.workerPath)):(E.log(`injecting Web Worker for "${t}"`),this.workerContext=ro());const{worker:A}=this.workerContext;A.addEventListener("message",this.onWorkerMessage),A.addEventListener("error",this.onWorkerError),A.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:f,id:t,config:En(s)})}catch(A){E.warn(`Error setting up "${t}" Web Worker, fallback to inline`,A),this.terminateWorker(),this.error=null,this.transmuxer=new Et(this.observer,f,s,"",t,e.logger)}return}}this.transmuxer=new Et(this.observer,f,s,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=wn++;const t=this.hls.config,n=Gt(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,config:En(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),bo(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(e,t,n,r,s,l,f,E,m,A){var S,Y;m.transmuxing.start=self.performance.now();const{instanceNo:q,transmuxer:ne}=this,Te=l?l.start:s.start,Ae=s.decryptdata,We=this.frag,pt=!(We&&s.cc===We.cc),et=!(We&&m.level===We.level),Rt=We?m.sn-We.sn:-1,kt=this.part?m.part-this.part.index:-1,on=Rt===0&&m.id>1&&m.id===(We==null?void 0:We.stats.chunkCount),Bt=!et&&(Rt===1||Rt===0&&(kt===1||on&&kt<=0)),Xt=self.performance.now();(et||Rt||s.stats.parsing.start===0)&&(s.stats.parsing.start=Xt),l&&(kt||!Bt)&&(l.stats.parsing.start=Xt);const ln=!(We&&((S=s.initSegment)==null?void 0:S.url)===((Y=We.initSegment)==null?void 0:Y.url)),Vt=new an(pt,Bt,E,et,Te,ln);if(!Bt||pt||ln){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${s.type} sn: ${m.sn}${m.part>-1?" part: "+m.part:""} ${this.id===G.MAIN?"level":"track"}: ${m.level} id: ${m.id}
discontinuity: ${pt}
trackSwitch: ${et}
contiguous: ${Bt}
accurateTimeOffset: ${E}
timeOffset: ${Te}
initSegmentChange: ${ln}`);const Sn=new dr(n,r,t,f,A);this.configureTransmuxer(Sn)}if(this.frag=s,this.part=l,this.workerContext)this.workerContext.worker.postMessage({instanceNo:q,cmd:"demux",data:e,decryptdata:Ae,chunkMeta:m,state:Vt},e instanceof ArrayBuffer?[e]:[]);else if(ne){const Sn=ne.push(e,Ae,m,Vt);Un(Sn)?Sn.then(kn=>{this.handleTransmuxComplete(kn)}).catch(kn=>{this.transmuxerError(kn,m,"transmuxer-interface push error")}):this.handleTransmuxComplete(Sn)}}flush(e){e.transmuxing.start=self.performance.now();const{instanceNo:t,transmuxer:n}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:t,cmd:"flush",chunkMeta:e});else if(n){const r=n.flush(e);Un(r)?r.then(s=>{this.handleFlushResult(s,e)}).catch(s=>{this.transmuxerError(s,e,"transmuxer-interface flush error")}):this.handleFlushResult(r,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(n=>{this.handleTransmuxComplete(n)}),this.onFlush(t)}configureTransmuxer(e){const{instanceNo:t,transmuxer:n}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:t,cmd:"configure",config:e}):n&&n.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}const zr=100;class di extends Vi{constructor(e,t,n){super(e,t,n,"audio-stream-controller",G.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(h.LEVEL_LOADED,this.onLevelLoaded,this),e.on(h.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(h.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(h.BUFFER_RESET,this.onBufferReset,this),e.on(h.BUFFER_CREATED,this.onBufferCreated,this),e.on(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(h.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(h.FRAG_LOADING,this.onFragLoading,this),e.on(h.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(h.LEVEL_LOADED,this.onLevelLoaded,this),e.off(h.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(h.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(h.BUFFER_RESET,this.onBufferReset,this),e.off(h.BUFFER_CREATED,this.onBufferCreated,this),e.off(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(h.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(h.FRAG_LOADING,this.onFragLoading,this),e.off(h.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:s}){if(n===G.MAIN){const l=t.cc,f=this.fragCurrent;if(this.initPTS[l]={baseTime:r,timescale:s},this.log(`InitPTS for cc: ${l} found from main: ${r}/${s}`),this.mainAnchor=t,this.state===qt.WAITING_INIT_PTS){const E=this.waitingData;(!E&&!this.loadingParts||E&&E.frag.cc!==l)&&(this.nextLoadPosition=this.findSyncFrag(t).start),this.tick()}else!this.hls.hasEnoughToStart&&f&&f.cc!==l?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(t).start,f.abortRequests(),this.resetLoadingState()):this.state===qt.IDLE&&this.tick()}}findSyncFrag(e){const t=this.getLevelDetails(),n=e.cc;return rr(t,n,e)||t&&Cn(t.fragments,n)||e}startLoad(e,t){if(!this.levels){this.startPosition=e,this.state=qt.STOPPED;return}const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(zr),n>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=qt.IDLE):this.state=qt.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case qt.IDLE:this.doTickIdle();break;case qt.WAITING_TRACK:{const{levels:t,trackId:n}=this,r=t==null?void 0:t[n],s=r==null?void 0:r.details;if(s&&!this.waitForLive(r)){if(this.waitForCdnTuneIn(s))break;this.state=qt.WAITING_INIT_PTS}break}case qt.FRAG_LOADING_WAITING_RETRY:{var e;const t=performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,trackId:s}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((r==null?void 0:r[s])||null),this.state=qt.IDLE}break}case qt.WAITING_INIT_PTS:{const t=this.waitingData;if(t){const{frag:n,part:r,cache:s,complete:l}=t,f=this.mainAnchor;if(this.initPTS[n.cc]!==void 0){this.waitingData=null,this.state=qt.FRAG_LOADING;const E=s.flush().buffer,m={frag:n,part:r,payload:E,networkDetails:null};this._handleFragmentLoadProgress(m),l&&super._handleFragmentLoadComplete(m)}else f&&f.cc!==t.frag.cc&&(this.log(`Waiting fragment cc (${n.cc}) cancelled because video is at cc ${f.cc}`),this.nextLoadPosition=this.findSyncFrag(f).start,this.clearWaitingFragment())}else this.state=qt.IDLE}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.state!==qt.STOPPED&&(this.state=qt.IDLE))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;e!=null&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){var e;const{hls:t,levels:n,media:r,trackId:s}=this,l=t.config;if(!this.buffering||!r&&!this.primaryPrefetch&&(this.startFragRequested||!l.startFragPrefetch)||!(n!=null&&n[s]))return;const f=n[s],E=f.details;if(!E||this.waitForLive(f)||this.waitForCdnTuneIn(E)){this.state=qt.WAITING_TRACK,this.startFragRequested=!1;return}const m=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&m&&(this.bufferFlushed=!1,this.afterBufferFlushed(m,L.AUDIO,G.AUDIO));const A=this.getFwdBufferInfo(m,G.AUDIO);if(A===null)return;if(!this.switchingTrack&&this._streamEnded(A,E)){t.trigger(h.BUFFER_EOS,{type:"audio"}),this.state=qt.ENDED;return}const S=A.len,Y=t.maxBufferLength,q=E.fragments,ne=q[0].start,Te=this.getLoadPosition(),Ae=this.flushing?Te:A.end;if(this.switchingTrack&&r){const et=Te;E.PTSKnown&&et<ne&&(A.end>ne||A.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=ne+.05)}if(S>=Y&&!this.switchingTrack&&Ae<q[q.length-1].start)return;let We=this.getNextFragment(Ae,E);if(We&&this.isLoopLoading(We,Ae)&&(We=this.getNextFragmentLoopLoading(We,E,A,G.MAIN,Y)),!We){this.bufferFlushed=!0;return}let pt=((e=this.mainFragLoading)==null?void 0:e.frag)||null;if(!this.audioOnly&&this.startFragRequested&&pt&&M(We)&&!We.endList&&(!E.live||!this.loadingParts&&Ae<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(pt)===Hn.OK&&(this.mainFragLoading=pt=null),pt&&M(pt))){if(We.start>pt.end){const Rt=this.fragmentTracker.getFragAtPos(Ae,G.MAIN);Rt&&Rt.end>pt.end&&(pt=Rt,this.mainFragLoading={frag:Rt,targetBufferTime:null})}if(We.start>pt.end)return}this.loadFragment(We,f,Ae)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new xt(n))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?(this.switchingTrack=t,this.flushAudioIfNeeded(t),this.state!==qt.STOPPED&&(this.setInterval(zr),this.state=qt.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=t,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(e,t){this.mainDetails=t.details;const n=this.cachedTrackLoadedData;n&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(h.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:s,id:l,groupId:f,track:E}=t;if(!r){this.warn(`Audio tracks reset while loading track ${l} "${E.name}" of "${f}"`);return}const m=this.mainDetails;if(!m||s.endCC>m.endCC||m.expired){this.cachedTrackLoadedData=t,this.state!==qt.STOPPED&&(this.state=qt.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${l} "${E.name}" of "${f}" loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""},duration:${s.totalduration}`);const A=r[l];let S=0;if(s.live||(n=A.details)!=null&&n.live){if(this.checkLiveUpdate(s),s.deltaUpdateFailed)return;if(A.details){var Y;S=this.alignPlaylists(s,A.details,(Y=this.levelLastLoaded)==null?void 0:Y.details)}s.alignedSliding||(ci(s,m),s.alignedSliding||Pr(s,m),S=s.fragmentStart)}A.details=s,this.levelLastLoaded=A,this.startFragRequested||this.setStartPosition(m,S),this.hls.trigger(h.AUDIO_TRACK_UPDATED,{details:s,id:l,groupId:t.groupId}),this.state===qt.WAITING_TRACK&&!this.waitForCdnTuneIn(s)&&(this.state=qt.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:s}=e,{config:l,trackId:f,levels:E}=this;if(!E){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const m=E[f];if(!m){this.warn("Audio track is undefined on fragment load progress");return}const A=m.details;if(!A){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const S=l.defaultAudioCodec||m.audioCodec||"mp4a.40.2";let Y=this.transmuxer;Y||(Y=this.transmuxer=new Er(this.hls,G.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const q=this.initPTS[n.cc],ne=(t=n.initSegment)==null?void 0:t.data;if(q!==void 0){const Ae=r?r.index:-1,We=Ae!==-1,pt=new hi(n.level,n.sn,n.stats.chunkCount,s.byteLength,Ae,We);Y.push(s,ne,S,"",n,r,A.totalduration,!1,pt,q)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${A.startSN} ,${A.endSN}],track ${f}`);const{cache:Te}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new rs,complete:!1};Te.push(new Uint8Array(s)),this.state!==qt.STOPPED&&(this.state=qt.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(e){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(e,t){this.bufferFlushed=this.flushing=!1;const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null)}onFragLoading(e,t){!this.audioOnly&&t.frag.type===G.MAIN&&M(t.frag)&&(this.mainFragLoading=t,this.state===qt.IDLE&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==G.AUDIO){!this.audioOnly&&n.type===G.MAIN&&!n.elementaryStreams.video&&!n.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(M(n)){this.fragPrevious=n;const s=this.switchingTrack;s&&(this.bufferedTrack=s,this.switchingTrack=null,this.hls.trigger(h.AUDIO_TRACK_SWITCHED,C({},s)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}onError(e,t){var n;if(t.fatal){this.state=qt.ERROR;return}switch(t.details){case _.FRAG_GAP:case _.FRAG_PARSING_ERROR:case _.FRAG_DECRYPT_ERROR:case _.FRAG_LOAD_ERROR:case _.FRAG_LOAD_TIMEOUT:case _.KEY_LOAD_ERROR:case _.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(G.AUDIO,t);break;case _.AUDIO_TRACK_LOAD_ERROR:case _.AUDIO_TRACK_LOAD_TIMEOUT:case _.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===qt.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===j.AUDIO_TRACK&&(this.state=qt.IDLE);break;case _.BUFFER_ADD_CODEC_ERROR:case _.BUFFER_APPEND_ERROR:if(t.parent!=="audio")return;this.resetLoadingState();break;case _.BUFFER_FULL_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case _.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==L.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==L.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===qt.ENDED&&(this.state=qt.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,G.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:s,chunkMeta:l}=e,f=this.getCurrentContext(l);if(!f){this.resetWhenMissingContext(l);return}const{frag:E,part:m,level:A}=f,{details:S}=A,{audio:Y,text:q,id3:ne,initSegment:Te}=s;if(this.fragContextChanged(E)||!S){this.fragmentTracker.removeFragment(E);return}if(this.state=qt.PARSING,this.switchingTrack&&Y&&this.completeAudioSwitch(this.switchingTrack),Te!=null&&Te.tracks){const Ae=E.initSegment||E;this._bufferInitSegment(A,Te.tracks,Ae,l),r.trigger(h.FRAG_PARSING_INIT_SEGMENT,{frag:Ae,id:n,tracks:Te.tracks})}if(Y){const{startPTS:Ae,endPTS:We,startDTS:pt,endDTS:et}=Y;m&&(m.elementaryStreams[L.AUDIO]={startPTS:Ae,endPTS:We,startDTS:pt,endDTS:et}),E.setElementaryStreamInfo(L.AUDIO,Ae,We,pt,et),this.bufferFragmentData(Y,E,m,l)}if(ne!=null&&(t=ne.samples)!=null&&t.length){const Ae=v({id:n,frag:E,details:S},ne);r.trigger(h.FRAG_PARSING_METADATA,Ae)}if(q){const Ae=v({id:n,frag:E,details:S},q);r.trigger(h.FRAG_PARSING_USERDATA,Ae)}}_bufferInitSegment(e,t,n,r){if(this.state!==qt.PARSING||(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio))return;const s=t.audio;s.id=G.AUDIO;const l=e.audioCodec;this.log(`Init audio buffer, container:${s.container}, codecs[level/parsed]=[${l}/${s.codec}]`),l&&l.split(",").length===1&&(s.levelCodec=l),this.hls.trigger(h.BUFFER_CODECS,t);const f=s.initSegment;if(f!=null&&f.byteLength){const E={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:f};this.hls.trigger(h.BUFFER_APPENDING,E)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.switchingTrack||r===Hn.NOT_LOADED||r===Hn.PARTIAL){var s;if(!M(e))this._loadInitSegment(e,t);else if((s=t.details)!=null&&s.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=qt.WAITING_INIT_PTS;const l=this.mainDetails;l&&l.fragmentStart!==t.details.fragmentStart&&Pr(t.details,l)}else super.loadFragment(e,t,n)}else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:s,audioCodec:l,channels:f}=this.bufferedTrack;be({name:t,lang:n,assocLang:r,characteristics:s,audioCodec:l,channels:f},e,Wt)||(zn(e.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=e)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(h.AUDIO_TRACK_SWITCHED,C({},e))}}class Sa extends V{constructor(e,t){super(t,e.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){this.timer!==-1&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,n){const r=t==null?void 0:t.renditionReports;if(r){let s=-1;for(let l=0;l<r.length;l++){const f=r[l];let E;try{E=new self.URL(f.URI,t.url).href}catch(m){this.warn(`Could not construct new URL for Rendition Report: ${m}`),E=f.URI||""}if(E===e){s=l;break}else E===e.substring(0,E.length)&&(s=l)}if(s!==-1){const l=r[s],f=parseInt(l["LAST-MSN"])||(t==null?void 0:t.lastPartSn);let E=parseInt(l["LAST-PART"])||(t==null?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const A=Math.min(t.age-t.partTarget,t.targetduration);E>=0&&A>t.partTarget&&(E+=1)}const m=n&&Ct(n);return new Ut(f,E>=0?E:void 0,m)}}}loadPlaylist(e){this.clearTimer()}loadingPlaylist(e,t){this.clearTimer()}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}getUrlWithDirectives(e,t){if(t)try{return t.addDirectives(e)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}return e}playlistLoaded(e,t,n){const{details:r,stats:s}=t,l=self.performance.now(),f=s.loading.first?Math.max(0,l-s.loading.first):0;r.advancedDateTime=Date.now()-f;const E=this.hls.config.timelineOffset;if(E!==r.appliedTimelineOffset){const A=Math.max(E||0,0);r.appliedTimelineOffset=A,r.fragments.forEach(S=>{S.start=S.playlistOffset+A})}if(r.live||n!=null&&n.live){const A="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){Oi(n,r);const pt=r.playlistParsingError;if(pt){this.warn(pt);const et=this.hls;if(!et.config.ignorePlaylistParsingErrors){var m;const{networkDetails:Rt}=t;et.trigger(h.ERROR,{type:b.NETWORK_ERROR,details:_.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:pt,reason:pt.message,level:t.level||void 0,parent:(m=r.fragments[0])==null?void 0:m.type,networkDetails:Rt,stats:s});return}r.playlistParsingError=null}}r.requestScheduled===-1&&(r.requestScheduled=s.loading.start);const S=this.hls.mainForwardBufferInfo,Y=S?S.end-S.len:0,q=(r.edge-Y)*1e3,ne=Ta(r,q);if(r.requestScheduled+ne<l?r.requestScheduled=l:r.requestScheduled+=ne,this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),!this.canLoad||!r.live)return;let Te,Ae,We;if(r.canBlockReload&&r.endSN&&r.advanced){const pt=this.hls.config.lowLatencyMode,et=r.lastPartSn,Rt=r.endSN,kt=r.lastPartIndex,on=kt!==-1,Bt=et===Rt;on?Bt?(Ae=Rt+1,We=pt?0:kt):(Ae=et,We=pt?kt+1:r.maxPartIndex):Ae=Rt+1;const Xt=r.age,ln=Xt+r.ageHeader;let Vt=Math.min(ln-r.partTarget,r.targetduration*1.5);if(Vt>0){if(ln>r.targetduration*3)this.log(`Playlist last advanced ${Xt.toFixed(2)}s ago. Omitting segment and part directives.`),Ae=void 0,We=void 0;else if(n!=null&&n.tuneInGoal&&ln-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${Vt} with playlist age: ${r.age}`),Vt=0;else{const Sn=Math.floor(Vt/r.targetduration);if(Ae+=Sn,We!==void 0){const kn=Math.round(Vt%r.targetduration/r.partTarget);We+=kn}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${Xt.toFixed(2)}s goal: ${Vt} skip sn ${Sn} to part ${We}`)}r.tuneInGoal=Vt}if(Te=this.getDeliveryDirectives(r,t.deliveryDirectives,Ae,We),pt||!Bt){r.requestScheduled=l,this.loadingPlaylist(A,Te);return}}else(r.canBlockReload||r.canSkipUntil)&&(Te=this.getDeliveryDirectives(r,t.deliveryDirectives,Ae,We));Te&&Ae!==void 0&&r.canBlockReload&&(r.requestScheduled=s.loading.first+Math.max(ne-f*2,ne/2)),this.scheduleLoading(A,Te,r)}else this.clearTimer()}scheduleLoading(e,t,n){const r=n||e.details;if(!r){this.loadingPlaylist(e,t);return}const s=self.performance.now(),l=r.requestScheduled;if(s>=l){this.loadingPlaylist(e,t);return}const f=l-s;this.log(`reload live playlist ${e.name||e.bitrate+"bps"} in ${Math.round(f)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(e,t),f)}getDeliveryDirectives(e,t,n,r){let s=Ct(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,s=It.No),new Ut(n,r,s)}checkRetry(e){const t=e.details,n=fr(e),r=e.errorAction,{action:s,retryCount:l=0,retryConfig:f}=r||{},E=!!r&&!!f&&(s===Yn.RetryRequest||!r.resolved&&s===Yn.SendAlternateToPenaltyBox);if(E){var m;if(l>=f.maxNumRetry)return!1;if(n&&(m=e.context)!=null&&m.deliveryDirectives)this.warn(`Retrying playlist loading ${l+1}/${f.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const A=On(f,l);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),A),this.warn(`Retrying playlist loading ${l+1}/${f.maxNumRetry} after "${t}" in ${A}ms`)}e.levelRetry=!0,r.resolved=!0}return E}}function cs(d,e){if(d.length!==e.length)return!1;for(let t=0;t<d.length;t++)if(!Ia(d[t].attrs,e[t].attrs))return!1;return!0}function Ia(d,e,t){const n=d["STABLE-RENDITION-ID"];return n&&!t?n===e["STABLE-RENDITION-ID"]:!(t||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(r=>d[r]!==e[r])}function As(d,e){return e.label.toLowerCase()===d.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(d.lang||"").toLowerCase())}class Js extends Sa{constructor(e){super(e,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.LEVEL_LOADING,this.onLevelLoading,this),e.on(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(h.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.LEVEL_LOADING,this.onLevelLoading,this),e.off(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(h.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(h.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:s}=t,l=this.tracksInGroup[n];if(!l||l.groupId!==r){this.warn(`Audio track with id:${n} and group:${r} not found in active group ${l==null?void 0:l.groupId}`);return}const f=l.details;l.details=t.details,this.log(`Audio track ${n} "${l.name}" lang:${l.lang} group:${r} loaded [${s.startSN}-${s.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,f)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.audioGroups||null,r=this.groupIds;let s=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(f=>(r==null?void 0:r.indexOf(f))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const f=this.tracks.filter(Y=>!n||n.indexOf(Y.groupId)!==-1);if(f.length)this.selectDefaultTrack&&!f.some(Y=>Y.default)&&(this.selectDefaultTrack=!1),f.forEach((Y,q)=>{Y.id=q});else if(!s&&!this.tracksInGroup.length)return;this.tracksInGroup=f;const E=this.hls.config.audioPreference;if(!s&&E){const Y=vt(E,f,Wt);if(Y>-1)s=f[Y];else{const q=vt(E,this.tracks);s=this.tracks[q]}}let m=this.findTrackId(s);m===-1&&s&&(m=this.findTrackId(null));const A={audioTracks:f};this.log(`Updating audio tracks, ${f.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(h.AUDIO_TRACKS_UPDATED,A);const S=this.trackId;if(m!==-1&&S===-1)this.setAudioTrack(m);else if(f.length&&S===-1){var l;const Y=new Error(`No audio track selected for current audio group-ID(s): ${(l=this.groupIds)==null?void 0:l.join(",")} track count: ${f.length}`);this.warn(Y.message),this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Y})}}}onError(e,t){t.fatal||!t.context||t.context.type===j.AUDIO_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&this.checkRetry(t)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const n=this.allAudioTracks;if(this.selectDefaultTrack=!1,n.length){const r=this.currentTrack;if(r&&be(e,r,Wt))return r;const s=vt(e,this.tracksInGroup,Wt);if(s>-1){const l=this.tracksInGroup[s];return this.setAudioTrack(s),l}else if(r){let l=t.loadLevel;l===-1&&(l=t.firstAutoLevel);const f=dn(e,t.levels,n,l,Wt);if(f===-1)return null;t.nextLoadLevel=f}if(e.channels||e.audioCodec){const l=vt(e,n);if(l>-1)return n[l]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length){this.warn(`Invalid audio track id: ${e}`);return}this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],s=r.details&&!r.details.live;if(e===this.trackId&&r===n&&s||(this.log(`Switching to audio-track ${e} "${r.name}" lang:${r.lang} group:${r.groupId} channels:${r.channels}`),this.trackId=e,this.currentTrack=r,this.hls.trigger(h.AUDIO_TRACK_SWITCHING,C({},r)),s))return;const l=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(l)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(!(this.selectDefaultTrack&&!r.default)&&(!e||be(e,r,Wt)))return n}if(e){const{name:n,lang:r,assocLang:s,characteristics:l,audioCodec:f,channels:E}=e;for(let m=0;m<t.length;m++){const A=t[m];if(be({name:n,lang:r,assocLang:s,characteristics:l,audioCodec:f,channels:E},A,Wt))return m}for(let m=0;m<t.length;m++){const A=t[m];if(Ia(e.attrs,A.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<t.length;m++){const A=t[m];if(Ia(e.attrs,A.attrs,["LANGUAGE"]))return m}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;this.shouldLoadPlaylist(t)&&zn(t.url,this.hls)&&this.scheduleLoading(t,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,s=this.getUrlWithDirectives(e.url,t),l=e.details,f=l==null?void 0:l.age;this.log(`Loading audio-track ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${f&&l.live?" age "+f.toFixed(1)+(l.type?" "+l.type||0:""):""} ${s}`),this.hls.trigger(h.AUDIO_TRACK_LOADING,{url:s,id:n,groupId:r,deliveryDirectives:t||null,track:e})}}class xa{constructor(e){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=e}destroy(){this.tracks=this.queues=null}append(e,t,n){if(this.queues===null||this.tracks===null)return;const r=this.queues[t];r.push(e),r.length===1&&!n&&this.executeNext(t)}appendBlocker(e){return new Promise(t=>{const n={label:"async-blocker",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(n,e)})}prependBlocker(e){return new Promise(t=>{if(this.queues){const n={label:"async-blocker-prepend",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[e].unshift(n)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(e=>{var t;const n=(t=e[0])==null?void 0:t.label;(n==="async-blocker"||n==="async-blocker-prepend")&&(e[0].execute(),e.splice(0,1))})}unblockAudio(e){if(this.queues===null)return;this.queues.audio[0]===e&&this.shiftAndExecuteNext("audio")}executeNext(e){if(this.queues===null||this.tracks===null)return;const t=this.queues[e];if(t.length){const r=t[0];try{r.execute()}catch(s){var n;if(r.onError(s),this.queues===null||this.tracks===null)return;const l=(n=this.tracks[e])==null?void 0:n.buffer;l!=null&&l.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues!==null&&(this.queues[e].shift(),this.executeNext(e))}current(e){var t;return((t=this.queues)==null?void 0:t[e][0])||null}toString(){const{queues:e,tracks:t}=this;return e===null||t===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(e){var t,n;return(t=this.queues)!=null&&t[e]||(n=this.tracks)!=null&&n[e]?`${e}: (${this.listSbInfo(e)}) ${this.listOps(e)}`:""}listSbInfo(e){var t;const n=(t=this.tracks)==null?void 0:t[e],r=n==null?void 0:n.buffer;return r?`SourceBuffer${r.updating?" updating":""}${n.ended?" ended":""}${n.ending?" ending":""}`:"none"}listOps(e){var t;return((t=this.queues)==null?void 0:t[e].map(n=>n.label).join(", "))||""}}const Ts=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Ga="HlsJsTrackRemovedError";class uu extends Error{constructor(e){super(e),this.name=Ga}}class cu extends V{constructor(e,t){super("buffer-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=n=>{var r;this.hls&&((r=this.mediaSource)==null?void 0:r.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=n=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=n=>{const{media:r,mediaSource:s}=this;n&&this.log("Media source opened"),!(!r||!s)&&(s.removeEventListener("sourceopen",this._onMediaSourceOpen),r.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(h.MEDIA_ATTACHED,{media:r,mediaSource:s}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:n,_objectUrl:r}=this;n!==r&&this.error(`Media element src was set while attaching MediaSource (${r} > ${n})`)},this.hls=e,this.fragmentTracker=t,this.appendSource=Ee(se(e.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:e}=this;e.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.BUFFER_RESET,this.onBufferReset,this),e.on(h.BUFFER_APPENDING,this.onBufferAppending,this),e.on(h.BUFFER_CODECS,this.onBufferCodecs,this),e.on(h.BUFFER_EOS,this.onBufferEos,this),e.on(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(h.FRAG_PARSED,this.onFragParsed,this),e.on(h.FRAG_CHANGED,this.onFragChanged,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.BUFFER_RESET,this.onBufferReset,this),e.off(h.BUFFER_APPENDING,this.onBufferAppending,this),e.off(h.BUFFER_CODECS,this.onBufferCodecs,this),e.off(h.BUFFER_EOS,this.onBufferEos,this),e.off(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(h.FRAG_PARSED,this.onFragParsed,this),e.off(h.FRAG_CHANGED,this.onFragChanged,this),e.off(h.ERROR,this.onError,this)}transferMedia(){const{media:e,mediaSource:t}=this;if(!e)return null;const n={};if(this.operationQueue){const s=this.isUpdating();s||this.operationQueue.removeBlockers();const l=this.isQueued();(s||l)&&this.warn(`Transfering MediaSource with${l?" operations in queue":""}${s?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const r=this.transferData;return!this.sourceBufferCount&&r&&r.mediaSource===t?v(n,r.tracks):this.sourceBuffers.forEach(s=>{const[l]=s;l&&(n[l]=v({},this.tracks[l]),this.removeBuffer(l)),s[0]=s[1]=null}),{media:e,mediaSource:t,tracks:n}}initTracks(){const e={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=e,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){var n;let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsTotal=r,this.log(`${r} bufferCodec event(s) expected.`),(n=this.transferData)!=null&&n.mediaSource&&this.sourceBufferCount&&r&&this.bufferCreated()}onMediaAttaching(e,t){const n=this.media=t.media,r=se(this.appendSource);if(this.transferData=this.overrides=void 0,n&&r){const s=!!t.mediaSource;(s||t.overrides)&&(this.transferData=t,this.overrides=t.overrides);const l=this.mediaSource=t.mediaSource||new r;if(this.assignMediaSource(l),s)this._objectUrl=n.src,this.attachTransferred();else{const f=this._objectUrl=self.URL.createObjectURL(l);if(this.appendSource)try{n.removeAttribute("src");const E=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||E&&l instanceof E,cl(n),du(n,f),n.load()}catch(E){n.src=f}else n.src=f}n.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(e){var t,n;this.log(`${((t=this.transferData)==null?void 0:t.mediaSource)===e?"transferred":"created"} media source: ${(n=e.constructor)==null?void 0:n.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const e=this.media,t=this.transferData;if(!t||!e)return;const n=this.tracks,r=t.tracks,s=r?Object.keys(r):null,l=s?s.length:0,f=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(r&&s&&l){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
required tracks: ${En(n,(E,m)=>E==="initSegment"?void 0:m)};
transfer tracks: ${En(r,(E,m)=>E==="initSegment"?void 0:m)}}`),!he(r,n)){t.mediaSource=null,t.tracks=void 0;const E=e.currentTime,m=this.details,A=Math.max(E,(m==null?void 0:m.fragments[0].start)||0);if(A-E>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${E} -> ${A}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${A} currentTime: ${E}`),this.onMediaDetaching(h.MEDIA_DETACHING,{}),this.onMediaAttaching(h.MEDIA_ATTACHING,t),e.currentTime=A;return}this.transferData=void 0,s.forEach(E=>{const m=E,A=r[m];if(A){const S=A.buffer;if(S){const Y=this.fragmentTracker,q=A.id;if(Y.hasFragments(q)||Y.hasParts(q)){const Ae=Xn.getBuffered(S);Y.detectEvictedFragments(m,Ae,q,null,!0)}const ne=zo(m),Te=[m,S];this.sourceBuffers[ne]=Te,S.updating&&this.operationQueue&&this.operationQueue.prependBlocker(m),this.trackSourceBuffer(m,A)}}}),f(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),f()}get mediaSourceOpenOrEnded(){var e;const t=(e=this.mediaSource)==null?void 0:e.readyState;return t==="open"||t==="ended"}onMediaDetaching(e,t){const n=!!t.transferMedia;this.transferData=this.overrides=void 0;const{media:r,mediaSource:s,_objectUrl:l}=this;if(s){if(this.log(`media source ${n?"transferring":"detaching"}`),n)this.sourceBuffers.forEach(([f])=>{f&&this.removeBuffer(f)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const f=s.readyState==="open";try{const E=s.sourceBuffers;for(let m=E.length;m--;)f&&E[m].abort(),s.removeSourceBuffer(E[m]);f&&s.endOfStream()}catch(E){this.warn(`onMediaDetaching: ${E.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}s.removeEventListener("sourceopen",this._onMediaSourceOpen),s.removeEventListener("sourceended",this._onMediaSourceEnded),s.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(s.removeEventListener("startstreaming",this._onStartStreaming),s.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}r&&(r.removeEventListener("emptied",this._onMediaEmptied),n||(l&&self.URL.revokeObjectURL(l),this.mediaSrc===l?(r.removeAttribute("src"),this.appendSource&&cl(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(h.MEDIA_DETACHED,t)}onBufferReset(){this.sourceBuffers.forEach(([e])=>{e&&this.resetBuffer(e)}),this.initTracks()}resetBuffer(e){var t;const n=(t=this.tracks[e])==null?void 0:t.buffer;if(this.removeBuffer(e),n)try{var r;(r=this.mediaSource)!=null&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(n)}catch(s){this.warn(`onBufferReset ${e}`,s)}delete this.tracks[e]}removeBuffer(e){this.removeBufferListeners(e),this.sourceBuffers[zo(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new xa(this.tracks)}onBufferCodecs(e,t){const n=this.tracks,r=Object.keys(t);this.log(`BUFFER_CODECS: "${r}" (current SB count ${this.sourceBufferCount})`);const s="audiovideo"in t&&(n.audio||n.video)||n.audiovideo&&("audio"in t||"video"in t),l=!s&&this.sourceBufferCount&&this.media&&r.some(f=>!n[f]);if(s||l){this.warn(`Unsupported transition between "${Object.keys(n)}" and "${r}" SourceBuffers`);return}r.forEach(f=>{var E,m,A;const S=t[f],{id:Y,codec:q,levelCodec:ne,container:Te,metadata:Ae,supplemental:We}=S;let pt=n[f];const et=(E=this.transferData)==null||(m=E.tracks)==null?void 0:m[f],Rt=et!=null&&et.buffer?et:pt,kt=(Rt==null?void 0:Rt.pendingCodec)||(Rt==null?void 0:Rt.codec),on=Rt==null?void 0:Rt.levelCodec;pt||(pt=n[f]={buffer:void 0,listeners:[],codec:q,supplemental:We,container:Te,levelCodec:ne,metadata:Ae,id:Y});const Bt=Kt(kt,on),Xt=Bt==null?void 0:Bt.replace(Ts,"$1");let ln=Kt(q,ne);const Vt=(A=ln)==null?void 0:A.replace(Ts,"$1");ln&&Bt&&Xt!==Vt&&(f.slice(0,5)==="audio"&&(ln=Dt(ln,this.appendSource)),this.log(`switching codec ${kt} to ${ln}`),ln!==(pt.pendingCodec||pt.codec)&&(pt.pendingCodec=ln),pt.container=Te,this.appendChangeType(f,Te,ln))}),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((e,t)=>{const n=this.tracks[t];return e[t]={id:n.id,container:n.container,codec:n.codec,levelCodec:n.levelCodec},e},{})}appendChangeType(e,t,n){const r=`${t};codecs=${n}`,s={label:`change-type=${r}`,execute:()=>{const l=this.tracks[e];if(l){const f=l.buffer;f!=null&&f.changeType&&(this.log(`changing ${e} sourceBuffer type to ${r}`),f.changeType(r),l.codec=n,l.container=t)}this.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:l=>{this.warn(`Failed to change ${e} SourceBuffer type`,l)}};this.append(s,e,this.isPending(this.tracks[e]))}blockAudio(e){var t;const n=e.start,r=n+e.duration*.05;if(((t=this.fragmentTracker.getAppendedFrag(n,G.MAIN))==null?void 0:t.gap)===!0)return;const l={label:"block-audio",execute:()=>{var f;const E=this.tracks.video;(this.lastVideoAppendEnd>r||E!=null&&E.buffer&&Xn.isBuffered(E.buffer,r)||((f=this.fragmentTracker.getAppendedFrag(r,G.MAIN))==null?void 0:f.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:f=>{this.warn("Error executing block-audio operation",f)}};this.blockedAudioAppend={op:l,frag:e},this.append(l,"audio",!0)}unblockAudio(){const{blockedAudioAppend:e,operationQueue:t}=this;e&&t&&(this.blockedAudioAppend=null,t.unblockAudio(e.op))}onBufferAppending(e,t){const{tracks:n}=this,{data:r,type:s,parent:l,frag:f,part:E,chunkMeta:m}=t,A=m.buffering[s],S=f.sn,Y=self.performance.now();A.start=Y;const q=f.stats.buffering,ne=E?E.stats.buffering:null;q.start===0&&(q.start=Y),ne&&ne.start===0&&(ne.start=Y);const Te=n.audio;let Ae=!1;s==="audio"&&(Te==null?void 0:Te.container)==="audio/mpeg"&&(Ae=!this.lastMpegAudioChunk||m.id===1||this.lastMpegAudioChunk.sn!==m.sn,this.lastMpegAudioChunk=m);const We=this.tracks.video,pt=We==null?void 0:We.buffer;if(pt&&S!=="initSegment"){const kt=E||f,on=this.blockedAudioAppend;if(s==="audio"&&l!=="main"&&!this.blockedAudioAppend){const Xt=kt.start+kt.duration*.05,ln=pt.buffered,Vt=this.currentOp("video");!ln.length&&!Vt?this.blockAudio(kt):!Vt&&!Xn.isBuffered(pt,Xt)&&this.lastVideoAppendEnd<Xt&&this.blockAudio(kt)}else if(s==="video"){const Bt=kt.end;if(on){const Xt=on.frag.start;(Bt>Xt||Bt<this.lastVideoAppendEnd||Xn.isBuffered(pt,Xt))&&this.unblockAudio()}this.lastVideoAppendEnd=Bt}}const et=(E||f).start,Rt={label:`append-${s}`,execute:()=>{if(A.executeStart=self.performance.now(),Ae){const kt=this.tracks[s];if(kt){const on=kt.buffer;if(on){const Bt=et-on.timestampOffset;Math.abs(Bt)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${et} (delta: ${Bt}) sn: ${S})`),on.timestampOffset=et)}}}this.appendExecutor(r,s)},onStart:()=>{},onComplete:()=>{const kt=self.performance.now();A.executeEnd=A.end=kt,q.first===0&&(q.first=kt),ne&&ne.first===0&&(ne.first=kt);const on={};this.sourceBuffers.forEach(([Bt,Xt])=>{Bt&&(on[Bt]=Xn.getBuffered(Xt))}),this.appendErrors[s]=0,s==="audio"||s==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(h.BUFFER_APPENDED,{type:s,frag:f,part:E,chunkMeta:m,parent:f.type,timeRanges:on})},onError:kt=>{var on;const Bt={type:b.MEDIA_ERROR,parent:f.type,details:_.BUFFER_APPEND_ERROR,sourceBufferName:s,frag:f,part:E,chunkMeta:m,error:kt,err:kt,fatal:!1},Xt=(on=this.media)==null?void 0:on.error;if(kt.code===DOMException.QUOTA_EXCEEDED_ERR)Bt.details=_.BUFFER_FULL_ERROR;else if(kt.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Xt)Bt.errorAction=Bn(!0);else if(kt.name===Ga&&this.sourceBufferCount===0)Bt.errorAction=Bn(!0);else{const ln=++this.appendErrors[s];this.warn(`Failed ${ln}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${s}" sourceBuffer (${Xt||"no media error"})`),(ln>=this.hls.config.appendErrorMaxRetry||Xt)&&(Bt.fatal=!0)}this.hls.trigger(h.ERROR,Bt)}};this.append(Rt,s,this.isPending(this.tracks[s]))}getFlushOp(e,t,n){return this.log(`queuing "${e}" remove ${t}-${n}`),{label:"remove",execute:()=>{this.removeExecutor(e,t,n)},onStart:()=>{},onComplete:()=>{this.hls.trigger(h.BUFFER_FLUSHED,{type:e})},onError:r=>{this.warn(`Failed to remove ${t}-${n} from "${e}" SourceBuffer`,r)}}}onBufferFlushing(e,t){const{type:n,startOffset:r,endOffset:s}=t;n?this.append(this.getFlushOp(n,r,s),n):this.sourceBuffers.forEach(([l])=>{l&&this.append(this.getFlushOp(l,r,s),l)})}onFragParsed(e,t){const{frag:n,part:r}=t,s=[],l=r?r.elementaryStreams:n.elementaryStreams;l[L.AUDIOVIDEO]?s.push("audiovideo"):(l[L.AUDIO]&&s.push("audio"),l[L.VIDEO]&&s.push("video"));const f=()=>{const E=self.performance.now();n.stats.buffering.end=E,r&&(r.stats.buffering.end=E);const m=r?r.stats:n.stats;this.hls.trigger(h.FRAG_BUFFERED,{frag:n,part:r,stats:m,id:n.type})};s.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers(f,s).catch(E=>{this.warn(`Fragment buffered callback ${E}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{var t,n;return e&&(!((t=this.tracks[e])!=null&&t.ended)||((n=this.tracks[e])==null?void 0:n.ending))})}onBufferEos(e,t){var n;this.sourceBuffers.forEach(([l])=>{if(l){const f=this.tracks[l];(!t.type||t.type===l)&&(f.ending=!0,f.ended||(f.ended=!0,this.log(`${l} buffer reached EOS`)))}});const r=((n=this.overrides)==null?void 0:n.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([l])=>{var f;return l&&!((f=this.tracks[l])!=null&&f.ended)})&&(r?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:l}=this;if(!l||l.readyState!=="open"){l&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${l.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),l.endOfStream(),this.hls.trigger(h.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(h.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([e])=>{if(e!==null){const t=this.tracks[e];t&&(t.ending=!1)}})}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.updateDuration())}updateDuration(){const e=this.getDurationAndRange();e&&this.blockUntilOpen(()=>this.updateMediaSource(e))}onError(e,t){if(t.details===_.BUFFER_APPEND_ERROR&&t.frag){var n;const r=(n=t.errorAction)==null?void 0:n.nextAutoLevel;a(r)&&r!==t.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||t===null||!this.sourceBufferCount)return;const r=e.config,s=n.currentTime,l=t.levelTargetDuration,f=t.live&&r.liveBackBufferLength!==null?r.liveBackBufferLength:r.backBufferLength;if(a(f)&&f>=0){const E=Math.max(f,l),m=Math.floor(s/l)*l-E;this.flushBackBuffer(s,l,m)}if(a(r.frontBufferFlushThreshold)&&r.frontBufferFlushThreshold>0){const E=Math.max(r.maxBufferLength,r.frontBufferFlushThreshold),m=Math.max(E,l),A=Math.floor(s/l)*l+m;this.flushFrontBuffer(s,l,A)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach(([r,s])=>{if(s){const f=Xn.getBuffered(s);if(f.length>0&&n>f.start(0)){var l;this.hls.trigger(h.BACK_BUFFER_REACHED,{bufferEnd:n});const E=this.tracks[r];if((l=this.details)!=null&&l.live)this.hls.trigger(h.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(E!=null&&E.ended){this.log(`Cannot flush ${r} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(h.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:r})}}})}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach(([r,s])=>{if(s){const l=Xn.getBuffered(s),f=l.length;if(f<2)return;const E=l.start(f-1),m=l.end(f-1);if(n>E||e>=E&&e<=m)return;this.hls.trigger(h.BUFFER_FLUSHING,{startOffset:E,endOffset:1/0,type:r})}})}getDurationAndRange(){var e;const{details:t,mediaSource:n}=this;if(!t||!this.media||(n==null?void 0:n.readyState)!=="open")return null;const r=t.edge;if(t.live&&this.hls.config.liveDurationInfinity){if(t.fragments.length&&t.live&&n.setLiveSeekableRange){const m=Math.max(0,t.fragmentStart),A=Math.max(m,r);return{duration:1/0,start:m,end:A}}return{duration:1/0}}const s=(e=this.overrides)==null?void 0:e.duration;if(s)return a(s)?{duration:s}:null;const l=this.media.duration,f=a(n.duration)?n.duration:0;return r>f&&r>l||!a(l)?{duration:r}:null}updateMediaSource({duration:e,start:t,end:n}){const r=this.mediaSource;!this.media||!r||r.readyState!=="open"||(r.duration!==e&&(a(e)&&this.log(`Updating MediaSource duration to ${e.toFixed(3)}`),r.duration=e),t!==void 0&&n!==void 0&&(this.log(`MediaSource duration is set to ${r.duration}. Setting seekable range to ${t}-${n}.`),r.setLiveSeekableRange(t,n)))}get tracksReady(){const e=this.pendingTrackCount;return e>0&&(e>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:e,pendingTrackCount:t,tracks:n}=this;if(this.log(`checkPendingTracks (pending: ${t} codec events expected: ${e}) ${En(n)}`),this.tracksReady){var r;const s=(r=this.transferData)==null?void 0:r.tracks;s&&Object.keys(s).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const e={};this.sourceBuffers.forEach(([t,n])=>{if(t){const r=this.tracks[t];e[t]={buffer:n,container:r.container,codec:r.codec,supplemental:r.supplemental,levelCodec:r.levelCodec,id:r.id,metadata:r.metadata}}}),this.hls.trigger(h.BUFFER_CREATED,{tracks:e}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([t])=>{this.executeNext(t)})}else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}createSourceBuffers(){const{tracks:e,sourceBuffers:t,mediaSource:n}=this;if(!n)throw new Error("createSourceBuffers called when mediaSource was null");for(const s in e){const l=s,f=e[l];if(this.isPending(f)){const E=this.getTrackCodec(f,l),m=`${f.container};codecs=${E}`;f.codec=E,this.log(`creating sourceBuffer(${m})${this.currentOp(l)?" Queued":""} ${En(f)}`);try{const A=n.addSourceBuffer(m),S=zo(l),Y=[l,A];t[S]=Y,f.buffer=A}catch(A){var r;this.error(`error while trying to add sourceBuffer: ${A.message}`),this.shiftAndExecuteNext(l),(r=this.operationQueue)==null||r.removeBlockers(),delete this.tracks[l],this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:A,sourceBufferName:l,mimeType:m,parent:f.id});return}this.trackSourceBuffer(l,f)}}this.bufferCreated()}getTrackCodec(e,t){const n=e.supplemental;let r=e.codec;n&&(t==="video"||t==="audiovideo")&&Ge(n,"video")&&(r=jt(r,n));const s=Kt(r,e.levelCodec);return s?t.slice(0,5)==="audio"?Dt(s,this.appendSource):s:""}trackSourceBuffer(e,t){const n=t.buffer;if(!n)return;const r=this.getTrackCodec(t,e);this.tracks[e]={buffer:n,codec:r,container:t.container,levelCodec:t.levelCodec,supplemental:t.supplemental,metadata:t.metadata,id:t.id,listeners:[]},this.removeBufferListeners(e),this.addBufferListener(e,"updatestart",this.onSBUpdateStart),this.addBufferListener(e,"updateend",this.onSBUpdateEnd),this.addBufferListener(e,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(e,"bufferedchange",(s,l)=>{const f=l.removedRanges;f!=null&&f.length&&this.hls.trigger(h.BUFFER_FLUSHED,{type:s})})}get mediaSrc(){var e,t;const n=((e=this.media)==null||(t=e.querySelector)==null?void 0:t.call(e,"source"))||this.media;return n==null?void 0:n.src}onSBUpdateStart(e){const t=this.currentOp(e);t&&t.onStart()}onSBUpdateEnd(e){var t;if(((t=this.mediaSource)==null?void 0:t.readyState)==="closed"){this.resetBuffer(e);return}const n=this.currentOp(e);n&&(n.onComplete(),this.shiftAndExecuteNext(e))}onSBUpdateError(e,t){var n;const r=new Error(`${e} SourceBuffer error. MediaSource readyState: ${(n=this.mediaSource)==null?void 0:n.readyState}`);this.error(`${r}`,t),this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const s=this.currentOp(e);s&&s.onError(r)}removeExecutor(e,t,n){const{media:r,mediaSource:s}=this,l=this.tracks[e],f=l==null?void 0:l.buffer;if(!r||!s||!f){this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(e);return}const E=a(r.duration)?r.duration:1/0,m=a(s.duration)?s.duration:1/0,A=Math.max(0,t),S=Math.min(n,E,m);S>A&&(!l.ending||l.ended)?(l.ended=!1,this.log(`Removing [${A},${S}] from the ${e} SourceBuffer`),f.remove(A,S)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=n==null?void 0:n.buffer;if(!r)throw new uu(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){if(this.isUpdating()||this.isQueued())this.blockBuffers(e).catch(t=>{this.warn(`SourceBuffer blocked callback ${t}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{e()}catch(t){this.warn(`Callback run without blocking ${this.operationQueue} ${t}`)}}isUpdating(){return this.sourceBuffers.some(([e,t])=>e&&t.updating)}isQueued(){return this.sourceBuffers.some(([e])=>e&&!!this.currentOp(e))}isPending(e){return!!e&&!e.buffer}blockBuffers(e,t=this.sourceBufferTypes){if(!t.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map(l=>this.appendBlocker(l));return t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then(l=>{n===this.operationQueue&&(e(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(e){e.forEach(t=>{var n;const r=(n=this.tracks[t])==null?void 0:n.buffer;!r||r.updating||this.shiftAndExecuteNext(t)})}append(e,t,n){this.operationQueue&&this.operationQueue.append(e,t,n)}appendBlocker(e){if(this.operationQueue)return this.operationQueue.appendBlocker(e)}currentOp(e){return this.operationQueue?this.operationQueue.current(e):null}executeNext(e){e&&this.operationQueue&&this.operationQueue.executeNext(e)}shiftAndExecuteNext(e){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(e)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((e,t)=>e+(this.isPending(this.tracks[t])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((e,[t])=>e+(t?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([e])=>e).filter(e=>!!e)}addBufferListener(e,t,n){const r=this.tracks[e];if(!r)return;const s=r.buffer;if(!s)return;const l=n.bind(this,e);r.listeners.push({event:t,listener:l}),s.addEventListener(t,l)}removeBufferListeners(e){const t=this.tracks[e];if(!t)return;const n=t.buffer;n&&(t.listeners.forEach(r=>{n.removeEventListener(r.event,r.listener)}),t.listeners.length=0)}}function cl(d){const e=d.querySelectorAll("source");[].slice.call(e).forEach(t=>{d.removeChild(t)})}function du(d,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,d.appendChild(t)}function zo(d){return d==="audio"?1:0}class Ho{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(h.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(h.BUFFER_CODECS,this.onBufferCodecs,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(h.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(h.BUFFER_CODECS,this.onBufferCodecs,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&a(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const e=this.hls.levels;if(e.length){const t=this.hls,n=this.getMaxLevel(e.length-1);n!==this.autoLevelCapping&&t.logger.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelEnabled&&t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter((r,s)=>this.isLevelAllowed(r)&&s<=e);return this.clientRect=null,Ho.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,!t.width&&!t.height&&(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(t){}return Math.min(e,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(e){return!this.restrictedLevels.some(n=>e.bitrate===n.bitrate&&e.width===n.width&&e.height===n.height)}static getMaxLevelByMediaSize(e,t,n){if(!(e!=null&&e.length))return-1;const r=(f,E)=>E?f.width!==E.width||f.height!==E.height:!0;let s=e.length-1;const l=Math.max(t,n);for(let f=0;f<e.length;f+=1){const E=e[f];if((E.width>=l||E.height>=l)&&r(E,e[f+1])){s=f;break}}return s}}const ka={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},fu={HLS:"h"},Io={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},hu={[Io.OBJECT]:["br","d","ot","tb"],[Io.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[Io.SESSION]:["cid","pr","sf","sid","st","v"],[Io.STATUS]:["bs","rtp"]};class ho{constructor(e,t){Array.isArray(e)&&(e=e.map(n=>n instanceof ho?n:new ho(n))),this.value=e,this.params=t}}const pu="Dict";function gu(d){return Array.isArray(d)?JSON.stringify(d):d instanceof Map?"Map{}":d instanceof Set?"Set{}":typeof d=="object"?JSON.stringify(d):String(d)}function mu(d,e,t,n){return new Error(`failed to ${d} "${gu(e)}" as ${t}`,{cause:n})}function ds(d,e,t){return mu("serialize",d,e,t)}class dl{constructor(e){this.description=e}}const fl="Bare Item",Eu="Boolean";function bu(d){if(typeof d!="boolean")throw ds(d,Eu);return d?"?1":"?0"}const yu="Byte Sequence";function vu(d){if(ArrayBuffer.isView(d)===!1)throw ds(d,yu);return`:${Ls(d)}:`}const Au="Integer";function Tu(d){return d<-999999999999999||999999999999999<d}function hl(d){if(Tu(d))throw ds(d,Au);return d.toString()}function _u(d){return`@${hl(d.getTime()/1e3)}`}const Su="Decimal";function Iu(d){const e=qa(d,3);if(Math.floor(Math.abs(e)).toString().length>12)throw ds(d,Su);const t=e.toString();return t.includes(".")?t:`${t}.0`}const xu="String",Cu=/[\x00-\x1f\x7f]+/;function wu(d){if(Cu.test(d))throw ds(d,xu);return`"${d.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Du(d){return d.description||d.toString().slice(7,-1)}const Nu="Token";function pl(d){const e=Du(d);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw ds(e,Nu);return e}function Go(d){switch(typeof d){case"number":if(!a(d))throw ds(d,fl);return Number.isInteger(d)?hl(d):Iu(d);case"string":return wu(d);case"symbol":return pl(d);case"boolean":return bu(d);case"object":if(d instanceof Date)return _u(d);if(d instanceof Uint8Array)return vu(d);if(d instanceof dl)return pl(d);default:throw ds(d,fl)}}const Lu="Key";function Yo(d){if(/^[a-z*][a-z0-9\-_.*]*$/.test(d)===!1)throw ds(d,Lu);return d}function Vo(d){return d==null?"":Object.entries(d).map(([e,t])=>t===!0?`;${Yo(e)}`:`;${Yo(e)}=${Go(t)}`).join("")}function gl(d){return d instanceof ho?`${Go(d.value)}${Vo(d.params)}`:Go(d)}function Ru(d){return`(${d.value.map(gl).join(" ")})${Vo(d.params)}`}function Mu(d,e={whitespace:!0}){if(typeof d!="object")throw ds(d,pu);const t=d instanceof Map?d.entries():Object.entries(d),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,s])=>{s instanceof ho||(s=new ho(s));let l=Yo(r);return s.value===!0?l+=Vo(s.params):(l+="=",Array.isArray(s.value)?l+=Ru(s):l+=gl(s)),l}).join(`,${n}`)}function ku(d,e){return Mu(d,e)}function Ou(d){return d==="ot"||d==="sf"||d==="st"}function Pu(d){return typeof d=="number"?a(d):d!=null&&d!==""&&d!==!1}const Do=d=>Math.round(d),Fu=(d,e)=>(e!=null&&e.baseUrl&&(d=bs(d,e.baseUrl)),encodeURIComponent(d)),No=d=>Do(d/100)*100,Bu={br:Do,d:Do,bl:No,dl:No,mtp:No,nor:Fu,rtp:No,tb:Do};function Uu(d,e){const t={};if(d==null||typeof d!="object")return t;const n=Object.keys(d).sort(),r=v({},Bu,e==null?void 0:e.formatters),s=e==null?void 0:e.filter;return n.forEach(l=>{if(s!=null&&s(l))return;let f=d[l];const E=r[l];E&&(f=E(f,e)),!(l==="v"&&f===1)&&(l=="pr"&&f===1||Pu(f)&&(Ou(l)&&typeof f=="string"&&(f=new dl(f)),t[l]=f))}),t}function ml(d,e={}){return d?ku(Uu(d,e),v({whitespace:!1},e)):""}function ju(d,e={}){const t={};if(!d)return t;const n=Object.entries(d),r=Object.entries(hu).concat(Object.entries((e==null?void 0:e.customHeaderMap)||{})),s=n.reduce((l,f)=>{var E,m;const[A,S]=f,Y=((E=r.find(q=>q[1].includes(A)))===null||E===void 0?void 0:E[0])||Io.REQUEST;return(m=l[Y])!==null&&m!==void 0||(l[Y]={}),l[Y][A]=S,l},{});return Object.entries(s).reduce((l,[f,E])=>(l[f]=ml(E,e),l),t)}function zu(d,e,t){return v(d,ju(e,t))}const Hu="CMCD";function Gu(d,e={}){if(!d)return"";const t=ml(d,e);return`${Hu}=${encodeURIComponent(t)}`}const El=/CMCD=[^&#]+/;function Yu(d,e,t){const n=Gu(e,t);if(!n)return d;if(El.test(d))return d.replace(El,n);const r=d.includes("?")?"&":"?";return`${d}${r}${n}`}class Vu{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=r=>{try{this.apply(r,{ot:ka.MANIFEST,su:!this.initialized})}catch(s){this.hls.logger.warn("Could not generate manifest CMCD data.",s)}},this.applyFragmentData=r=>{try{const{frag:s,part:l}=r,f=this.hls.levels[s.level],E=this.getObjectType(s),m={d:(l||s).duration*1e3,ot:E};(E===ka.VIDEO||E===ka.AUDIO||E==ka.MUXED)&&(m.br=f.bitrate/1e3,m.tb=this.getTopBandwidth(E)/1e3,m.bl=this.getBufferLength(E));const A=l?this.getNextPart(l):this.getNextFrag(s);A!=null&&A.url&&A.url!==s.url&&(m.nor=A.url),this.apply(r,m)}catch(s){this.hls.logger.warn("Could not generate segment CMCD data.",s)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;n!=null&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||e.sessionId,this.cid=n.contentId,this.useHeaders=n.useHeaders===!0,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHED,this.onMediaDetached,this),e.on(h.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHED,this.onMediaDetached,this),e.off(h.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var n,r;this.audioBuffer=(n=t.tracks.audio)==null?void 0:n.buffer,this.videoBuffer=(r=t.tracks.video)==null?void 0:r.buffer}createData(){var e;return{v:1,sf:fu.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){v(t,this.createData());const n=t.ot===ka.INIT||t.ot===ka.VIDEO||t.ot===ka.MUXED;this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),t.su==null&&(t.su=this.buffering);const{includeKeys:r}=this;r&&(t=Object.keys(t).reduce((l,f)=>(r.includes(f)&&(l[f]=t[f]),l),{}));const s={baseUrl:e.url};this.useHeaders?(e.headers||(e.headers={}),zu(e.headers,t,s)):e.url=Yu(e.url,t,s)}getNextFrag(e){var t;const n=(t=this.hls.levels[e.level])==null?void 0:t.details;if(n){const r=e.sn-n.startSN;return n.fragments[r+1]}}getNextPart(e){var t,n;const{index:r,fragment:s}=e,l=(t=this.hls.levels[s.level])==null||(n=t.details)==null?void 0:n.partList;if(l){const{sn:f}=s;for(let E=l.length-1;E>=0;E--){const m=l[E];if(m.index===r&&m.fragment.sn===f)return l[E+1]}}}getObjectType(e){const{type:t}=e;if(t==="subtitle")return ka.TIMED_TEXT;if(e.sn==="initSegment")return ka.INIT;if(t==="audio")return ka.AUDIO;if(t==="main")return this.hls.audioTracks.length?ka.VIDEO:ka.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===ka.AUDIO)n=r.audioTracks;else{const s=r.maxAutoLevel,l=s>-1?s+1:r.levels.length;n=r.levels.slice(0,l)}for(const s of n)s.bitrate>t&&(t=s.bitrate);return t>0?t:NaN}getBufferLength(e){const t=this.media,n=e===ka.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:Xn.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(s){this.loader=void 0,this.loader=new n(s)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(s,l,f){t(s),this.loader.load(s,l,f)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(s){this.loader=void 0,this.loader=new n(s)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(s,l,f){t(s),this.loader.load(s,l,f)}}}}const Wu=3e5;class Ku extends V{constructor(e){super("content-steering",e.logger),this.hls=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this._pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((e,t)=>(e.indexOf(t.pathwayId)===-1&&e.push(t.pathwayId),e),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(e){this.updatePathwayPriority(e)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=this.timeToLoad*1e3-(performance.now()-this.updated);if(e>0){this.scheduleRefresh(this.uri,e);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter(n=>n!==e))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:n}=t;n!==null&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if((n==null?void 0:n.action)===Yn.SendAlternateToPenaltyBox&&n.flags===ir.MoveAllAlternatesMatchingHost){const r=this.levels;let s=this._pathwayPriority,l=this.pathwayId;if(t.context){const{groupId:f,pathwayId:E,type:m}=t.context;f&&r?l=this.getPathwayForGroupId(f,m,l):E&&(l=E)}l in this.penalizedPathways||(this.penalizedPathways[l]=performance.now()),!s&&r&&(s=this.pathways()),s&&s.length>1&&(this.updatePathwayPriority(s),n.resolved=this.pathwayId!==l),n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${l} levels: ${r&&r.length} priorities: ${En(s)} penalized: ${En(this.penalizedPathways)}`)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(t.length===0){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return this.levels===null?[]:this.levels.filter(t=>e===t.pathwayId)}updatePathwayPriority(e){this._pathwayPriority=e;let t;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach(s=>{r-n[s]>Wu&&delete n[s]});for(let s=0;s<e.length;s++){const l=e[s];if(l in n)continue;if(l===this.pathwayId)return;const f=this.hls.nextLoadLevel,E=this.hls.levels[f];if(t=this.getLevelsForPathway(l),t.length>0){this.log(`Setting Pathway to "${l}"`),this.pathwayId=l,La(t),this.hls.trigger(h.LEVELS_UPDATED,{levels:t});const m=this.hls.levels[f];E&&m&&this.levels&&(m.attrs["STABLE-VARIANT-ID"]!==E.attrs["STABLE-VARIANT-ID"]&&m.bitrate!==E.bitrate&&this.log(`Unstable Pathways change from bitrate ${E.bitrate} to ${m.bitrate}`),this.hls.nextLoadLevel=f);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let s=0;s<r.length;s++)if(t===j.AUDIO_TRACK&&r[s].hasAudioGroup(e)||t===j.SUBTITLE_TRACK&&r[s].hasSubtitleGroup(e))return r[s].pathwayId;return n}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach(s=>{const{ID:l,"BASE-ID":f,"URI-REPLACEMENT":E}=s;if(t.some(A=>A.pathwayId===l))return;const m=this.getLevelsForPathway(f).map(A=>{const S=new Rr(A.attrs);S["PATHWAY-ID"]=l;const Y=S.AUDIO&&`${S.AUDIO}_clone_${l}`,q=S.SUBTITLES&&`${S.SUBTITLES}_clone_${l}`;Y&&(n[S.AUDIO]=Y,S.AUDIO=Y),q&&(r[S.SUBTITLES]=q,S.SUBTITLES=q);const ne=yl(A.uri,S["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",E),Te=new xt({attrs:S,audioCodec:A.audioCodec,bitrate:A.bitrate,height:A.height,name:A.name,url:ne,videoCodec:A.videoCodec,width:A.width});if(A.audioGroups)for(let Ae=1;Ae<A.audioGroups.length;Ae++)Te.addGroupId("audio",`${A.audioGroups[Ae]}_clone_${l}`);if(A.subtitleGroups)for(let Ae=1;Ae<A.subtitleGroups.length;Ae++)Te.addGroupId("text",`${A.subtitleGroups[Ae]}_clone_${l}`);return Te});t.push(...m),bl(this.audioTracks,n,E,l),bl(this.subtitleTracks,r,E,l)})}loadSteeringManifest(e){const t=this.hls.config,n=t.loader;this.loader&&this.loader.destroy(),this.loader=new n(t);let r;try{r=new self.URL(e)}catch(A){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const A=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+A)}const s={responseType:"json",url:r.href},l=t.steeringManifestLoadPolicy.default,f=l.errorRetry||l.timeoutRetry||{},E={loadPolicy:l,timeout:l.maxLoadTimeMs,maxRetry:f.maxNumRetry||0,retryDelay:f.retryDelayMs||0,maxRetryDelay:f.maxRetryDelayMs||0},m={onSuccess:(A,S,Y,q)=>{this.log(`Loaded steering manifest: "${r}"`);const ne=A.data;if((ne==null?void 0:ne.VERSION)!==1){this.log(`Steering VERSION ${ne.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=ne.TTL;const{"RELOAD-URI":Te,"PATHWAY-CLONES":Ae,"PATHWAY-PRIORITY":We}=ne;if(Te)try{this.uri=new self.URL(Te,r).href}catch(et){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Te}`);return}this.scheduleRefresh(this.uri||Y.url),Ae&&this.clonePathways(Ae);const pt={steeringManifest:ne,url:r.toString()};this.hls.trigger(h.STEERING_MANIFEST_LOADED,pt),We&&this.updatePathwayPriority(We)},onError:(A,S,Y,q)=>{if(this.log(`Error loading steering manifest: ${A.code} ${A.text} (${S.url})`),this.stopLoad(),A.code===410){this.enabled=!1,this.log(`Steering manifest ${S.url} no longer available`);return}let ne=this.timeToLoad*1e3;if(A.code===429){const Te=this.loader;if(typeof(Te==null?void 0:Te.getResponseHeader)=="function"){const Ae=Te.getResponseHeader("Retry-After");Ae&&(ne=parseFloat(Ae)*1e3)}this.log(`Steering manifest ${S.url} rate limited`);return}this.scheduleRefresh(this.uri||S.url,ne)},onTimeout:(A,S,Y)=>{this.log(`Timeout loading steering manifest (${S.url})`),this.scheduleRefresh(this.uri||S.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(s,E,m)}scheduleRefresh(e,t=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var n;const r=(n=this.hls)==null?void 0:n.media;if(r&&!r.ended){this.loadSteeringManifest(e);return}this.scheduleRefresh(e,this.timeToLoad*1e3)},t)}}function bl(d,e,t,n){d&&Object.keys(e).forEach(r=>{const s=d.filter(l=>l.groupId===r).map(l=>{const f=v({},l);return f.details=void 0,f.attrs=new Rr(f.attrs),f.url=f.attrs.URI=yl(l.url,l.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",t),f.groupId=f.attrs["GROUP-ID"]=e[r],f.attrs["PATHWAY-ID"]=n,f});d.push(...s)})}function yl(d,e,t,n){const{HOST:r,PARAMS:s,[t]:l}=n;let f;e&&(f=l==null?void 0:l[e],f&&(d=f));const E=new self.URL(d);return r&&!f&&(E.host=r),s&&Object.keys(s).sort().forEach(m=>{m&&E.searchParams.set(m,s[m])}),E.href}class po extends V{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=po.CDMCleanupPromise?[po.CDMCleanupPromise]:[],this.onMediaEncrypted=t=>{const{initDataType:n,initData:r}=t,s=`"${t.type}" event: init data type: "${n}"`;if(this.debug(s),r!==null){if(!this.keyFormatPromise){let l=Object.keys(this.keySystemAccessPromises);l.length||(l=Rn(this.config));const f=l.map(qi).filter(E=>!!E);this.keyFormatPromise=this.getKeyFormatPromise(f)}this.keyFormatPromise.then(l=>{const f=Ki(l);let E,m;if(n==="sinf"){if(f!==pr.FAIRPLAY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${f}`);return}const ne=zt(new Uint8Array(r));try{const Te=gi(JSON.parse(ne).sinf),Ae=He(Te);if(!Ae)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");E=new Uint8Array(Ae.subarray(8,24)),m=pr.FAIRPLAY}catch(Te){this.warn(`${s} Failed to parse sinf: ${Te}`);return}}else{if(f!==pr.WIDEVINE&&f!==pr.PLAYREADY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${f}`);return}const ne=St(r),Te=ne.filter(We=>!!We.systemId&&Ea(We.systemId)===f);Te.length>1&&this.warn(`${s} Using first of ${Te.length} pssh found for selected key-system ${f}`);const Ae=Te[0];if(!Ae){ne.length===0||ne.some(We=>!We.systemId)?this.warn(`${s} contains incomplete or invalid pssh data`):this.log(`ignoring ${s} for ${ne.map(We=>Ea(We.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(m=Ea(Ae.systemId),Ae.version===0&&Ae.data)if(m===pr.WIDEVINE){const We=Ae.data.length-22;E=new Uint8Array(Ae.data.subarray(We,We+16))}else m===pr.PLAYREADY&&(E=sa(Ae.data))}if(!m||!E)return;const A=J.hexDump(E),{keyIdToKeySessionPromise:S,mediaKeySessions:Y}=this;let q=S[A];for(let ne=0;ne<Y.length;ne++){const Te=Y[ne],Ae=Te.decryptdata;if(!Ae.keyId)continue;const We=J.hexDump(Ae.keyId);if(A===We||Ae.uri.replace(/-/g,"").indexOf(A)!==-1){if(q=S[We],Ae.pssh)break;delete S[We],Ae.pssh=new Uint8Array(r),Ae.keyId=E,q=S[A]=q.then(()=>this.generateRequestWithPreferredKeySession(Te,n,r,"encrypted-event-key-match")),q.catch(pt=>this.handleError(pt));break}}if(!q){if(m!==f){this.log(`Ignoring "${t.type}" event with ${m} init data for selected key-system ${f}`);return}q=S[A]=this.getKeySystemSelectionPromise([m]).then(({keySystem:ne,mediaKeys:Te})=>{var Ae;this.throwIfDestroyed();const We=new oi("ISO-23001-7",A,(Ae=qi(ne))!=null?Ae:"");return We.pssh=new Uint8Array(r),We.keyId=E,this.attemptSetMediaKeys(ne,Te).then(()=>{this.throwIfDestroyed();const pt=this.createMediaKeySessionContext({decryptdata:We,keySystem:ne,mediaKeys:Te});return this.generateRequestWithPreferredKeySession(pt,n,r,"encrypted-event-no-match")})}),q.catch(ne=>this.handleError(ne))}})}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){const e=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(e);const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(h.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(h.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(h.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(h.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(h.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(h.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];if(r)return r.licenseUrl;if(e===pr.WIDEVINE&&n)return n}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(t===void 0)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(l,f,E)=>!!l&&E.indexOf(l)===f,r=t.map(l=>l.audioCodec).filter(n),s=t.map(l=>l.videoCodec).filter(n);return r.length+s.length===0&&s.push("avc1.42e01e"),new Promise((l,f)=>{const E=m=>{const A=m.shift();this.getMediaKeysPromise(A,r,s).then(S=>l({keySystem:A,mediaKeys:S})).catch(S=>{m.length?E(m):S instanceof Ya?f(S):f(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_NO_ACCESS,error:S,fatal:!0},S.message))})};E(e)})}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if(typeof n!="function"){let r=`Configured requestMediaKeySystemAccess is not a function ${n}`;return qn===null&&self.location.protocol==="http:"&&(r=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(r))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=Gr(e,t,n,this.config.drmSystemOptions),s=this.keySystemAccessPromises[e];let l=s==null?void 0:s.keySystemAccess;if(!l){this.log(`Requesting encrypted media "${e}" key-system access with config: ${En(r)}`),l=this.requestMediaKeySystemAccess(e,r);const f=this.keySystemAccessPromises[e]={keySystemAccess:l};return l.catch(E=>{this.log(`Failed to obtain access to key-system "${e}": ${E}`)}),l.then(E=>{this.log(`Access for key-system "${E.keySystem}" obtained`);const m=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),f.mediaKeys=E.createMediaKeys().then(A=>(this.log(`Media-keys created for "${e}"`),m.then(S=>S?this.setMediaKeysServerCertificate(A,e,S):A))),f.mediaKeys.catch(A=>{this.error(`Failed to create media-keys for "${e}"}: ${A}`)}),f.mediaKeys})}return l.then(()=>s.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${J.hexDump(e.keyId||[])}`);const r=n.createSession(),s={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(s),s}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),s="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,s,t.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(e.keyId===null)throw new Error("keyId is null");return J.hexDump(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${J.hexDump(((n=e.decryptdata)==null?void 0:n.keyId)||[])}
} (data length: ${t&&t.byteLength})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise((t,n)=>{const r=Rn(this.config),s=e.map(Ki).filter(l=>!!l&&r.indexOf(l)!==-1);return this.getKeySystemSelectionPromise(s).then(({keySystem:l})=>{const f=qi(l);f?t(f):n(new Error(`Unable to find format for key-system "${l}"`))}).catch(n)})}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let s=this.keyIdToKeySessionPromise[n];return s||(s=this.getKeySystemForKeyPromise(t).then(({keySystem:f,mediaKeys:E})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(f,E).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:f,mediaKeys:E,decryptdata:t}))))),(this.keyIdToKeySessionPromise[n]=s.then(f=>{const E="cenc",m=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(f,E,m,"playlist-key")})).catch(f=>this.handleError(f))),s}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof Ya?this.hls.trigger(h.ERROR,e.data):this.hls.trigger(h.ERROR,{type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=Ki(e.keyFormat),s=r?[r]:Rn(this.config);return this.attemptKeySystemAccess(s)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=Rn(this.config)),e.length===0)throw new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${En({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)});return this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(s=>n.indexOf(s)===-1)})}generateRequestWithPreferredKeySession(e,t,n,r){var s,l;const f=(s=this.config.drmSystems)==null||(l=s[e.keySystem])==null?void 0:l.generateRequest;if(f)try{const ne=f.call(this.hls,t,n,e);if(!ne)throw new Error("Invalid response from configured generateRequest filter");t=ne.initDataType,n=ne.initData?ne.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch(ne){var E;if(this.warn(ne.message),(E=this.hls)!=null&&E.config.debug)throw ne}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const m=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${m} (init data type: ${t} length: ${n?n.byteLength:null})`);const A=new ss,S=e._onmessage=ne=>{const Te=e.mediaKeysSession;if(!Te){A.emit("error",new Error("invalid state"));return}const{messageType:Ae,message:We}=ne;this.log(`"${Ae}" message event for session "${Te.sessionId}" message size: ${We.byteLength}`),Ae==="license-request"||Ae==="license-renewal"?this.renewLicense(e,We).catch(pt=>{A.eventNames().length?A.emit("error",pt):this.handleError(pt)}):Ae==="license-release"?e.keySystem===pr.FAIRPLAY&&(this.updateKeySession(e,bi("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${Ae}"`)},Y=e._onkeystatuseschange=ne=>{if(!e.mediaKeysSession){A.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(e);const Ae=e.keyStatus;A.emit("keyStatus",Ae),Ae==="expired"&&(this.warn(`${e.keySystem} expired for key ${m}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",S),e.mediaKeysSession.addEventListener("keystatuseschange",Y);const q=new Promise((ne,Te)=>{A.on("error",Te),A.on("keyStatus",Ae=>{Ae.startsWith("usable")?ne():Ae==="output-restricted"?Te(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):Ae==="internal-error"?Te(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${Ae}"`)):Ae==="expired"?Te(new Error("key expired while generating request")):this.warn(`unhandled key status change "${Ae}"`)})});return e.mediaKeysSession.generateRequest(t,n).then(()=>{var ne;this.log(`Request generated for key-session "${(ne=e.mediaKeysSession)==null?void 0:ne.sessionId}" keyId: ${m}`)}).catch(ne=>{throw new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_NO_SESSION,error:ne,fatal:!1},`Error generating key-session request: ${ne}`)}).then(()=>q).catch(ne=>{throw A.removeAllListeners(),this.removeSession(e),ne}).then(()=>(A.removeAllListeners(),e))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach((t,n)=>{if(typeof n=="string"&&typeof t=="object"){const r=n;n=t,t=r}this.log(`key status change "${t}" for keyStatuses keyId: ${J.hexDump("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${J.hexDump(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t})}fetchServerCertificate(e){const t=this.config,n=t.loader,r=new n(t),s=this.getServerCertificateUrl(e);return s?(this.log(`Fetching server certificate for "${e}"`),new Promise((l,f)=>{const E={responseType:"arraybuffer",url:s},m=t.certLoadPolicy.default,A={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(Y,q,ne,Te)=>{l(Y.data)},onError:(Y,q,ne,Te)=>{f(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ne,response:C({url:E.url,data:void 0},Y)},`"${e}" certificate request failed (${s}). Status: ${Y.code} (${Y.text})`))},onTimeout:(Y,q,ne)=>{f(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ne,response:{url:E.url,data:void 0}},`"${e}" certificate request timed out (${s})`))},onAbort:(Y,q,ne)=>{f(new Error("aborted"))}};r.load(E,A,S)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,s)=>{e.setServerCertificate(n).then(l=>{this.log(`setServerCertificate ${l?"success":"not supported by CDM"} (${n==null?void 0:n.byteLength}) on "${t}"`),r(e)}).catch(l=>{s(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:l,fatal:!0},l.message))})})}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then(n=>this.updateKeySession(e,new Uint8Array(n)).catch(r=>{throw new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:r,fatal:!0},r.message)}))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=new DOMParser().parseFromString(n,"application/xml"),s=r.querySelectorAll("HttpHeader");if(s.length>0){let A;for(let S=0,Y=s.length;S<Y;S++){var l,f;A=s[S];const q=(l=A.querySelector("name"))==null?void 0:l.textContent,ne=(f=A.querySelector("value"))==null?void 0:f.textContent;q&&ne&&e.setRequestHeader(q,ne)}}const E=r.querySelector("Challenge"),m=E==null?void 0:E.textContent;if(!m)throw new Error("Cannot find <Challenge> in key message");return bi(atob(m))}setupLicenseXHR(e,t,n,r){const s=this.config.licenseXhrSetup;return s?Promise.resolve().then(()=>{if(!n.decryptdata)throw new Error("Key removed");return s.call(this.hls,e,t,n,r)}).catch(l=>{if(!n.decryptdata)throw l;return e.open("POST",t,!0),s.call(this.hls,e,t,n,r)}).then(l=>(e.readyState||e.open("POST",t,!0),{xhr:e,licenseChallenge:l||r})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise((r,s)=>{const l=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${l}`);const f=new XMLHttpRequest;f.responseType="arraybuffer",f.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return s(new Error("invalid state"));if(f.readyState===4)if(f.status===200){this._requestLicenseFailureCount=0;let E=f.response;this.log(`License received ${E instanceof ArrayBuffer?E.byteLength:E}`);const m=this.config.licenseResponseCallback;if(m)try{E=m.call(this.hls,f,l,e)}catch(A){this.error(A)}r(E)}else{const E=n.errorRetry,m=E?E.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>m||f.status>=400&&f.status<500)s(new Ya({type:b.KEY_SYSTEM_ERROR,details:_.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:f,response:{url:l,data:void 0,code:f.status,text:f.statusText}},`License Request XHR failed (${l}). Status: ${f.status} (${f.statusText})`));else{const A=m-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${A} attempts left`),this.requestLicense(e,t).then(r,s)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=f,this.setupLicenseXHR(f,l,e,t).then(({xhr:E,licenseChallenge:m})=>{e.keySystem==pr.PLAYREADY&&(m=this.unpackPlayReadyKeyMessage(E,m)),E.send(m)})})}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.removeEventListener("encrypted",this.onMediaEncrypted),n.removeEventListener("waitingforkey",this.onWaitingForKey),n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(e){var t;const n=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},oi.clearKeyUriToKeyIdMap();const r=n.length;po.CDMCleanupPromise=Promise.all(n.map(s=>this.removeSession(s)).concat(e==null||(t=e.setMediaKeys(null))==null?void 0:t.catch(s=>{var l;this.log(`Could not clear media keys: ${s}`),(l=this.hls)==null||l.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${s}`)})}))).then(()=>{r&&(this.log("finished closing key sessions and clearing media keys"),n.length=0)}).catch(s=>{var l;this.log(`Could not close sessions and clear media keys: ${s}`),(l=this.hls)==null||l.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${s}`)})})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(!(!t||!this.config.emeEnabled)&&!this.keyFormatPromise){const n=t.reduce((r,s)=>(r.indexOf(s.keyFormat)===-1&&r.push(s.keyFormat),r),[]);this.log(`Selecting key-system from session-keys ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);r>-1&&this.mediaKeySessions.splice(r,1);const{drmSystemOptions:s}=this.config;return(gr(s)?new Promise((f,E)=>{self.setTimeout(()=>E(new Error("MediaKeySession.remove() timeout")),8e3),t.remove().then(f)}):Promise.resolve()).catch(f=>{var E;this.log(`Could not remove session: ${f}`),(E=this.hls)==null||E.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${f}`)})}).then(()=>t.close()).catch(f=>{var E;this.log(`Could not close session: ${f}`),(E=this.hls)==null||E.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${f}`)})})}}}po.CDMCleanupPromise=void 0;class Ya extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}class Qu{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(h.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(h.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const r=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=r,r&&typeof r.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const s=r-this.lastTime,l=n-this.lastDroppedFrames,f=t-this.lastDecodedFrames,E=1e3*l/s,m=this.hls;if(m.trigger(h.FPS_DROP,{currentDropped:l,currentDecoded:f,totalDroppedFrames:n}),E>0&&l>m.config.fpsDroppedMonitoringThreshold*f){let A=m.currentLevel;m.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+A),A>0&&(m.autoLevelCapping===-1||m.autoLevelCapping>=A)&&(A=A-1,m.trigger(h.FPS_DROP_LEVEL_CAPPING,{level:A,droppedLevel:m.currentLevel}),m.autoLevelCapping=A,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}}function vl(d,e){let t;try{t=new Event("addtrack")}catch(n){t=document.createEvent("Event"),t.initEvent("addtrack",!1,!1)}t.track=d,e.dispatchEvent(t)}function Al(d,e){const t=d.mode;if(t==="disabled"&&(d.mode="hidden"),d.cues&&!d.cues.getCueById(e.id))try{if(d.addCue(e),!d.cues.getCueById(e.id))throw new Error(`addCue is failed for: ${e}`)}catch(n){te.debug(`[texttrack-utils]: ${n}`);try{const r=new self.TextTrackCue(e.startTime,e.endTime,e.text);r.id=e.id,d.addCue(r)}catch(r){te.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(d.mode=t)}function go(d,e){const t=d.mode;if(t==="disabled"&&(d.mode="hidden"),d.cues)for(let n=d.cues.length;n--;)e&&d.cues[n].removeEventListener("enter",e),d.removeCue(d.cues[n]);t==="disabled"&&(d.mode=t)}function Wo(d,e,t,n){const r=d.mode;if(r==="disabled"&&(d.mode="hidden"),d.cues&&d.cues.length>0){const s=Xu(d.cues,e,t);for(let l=0;l<s.length;l++)(!n||n(s[l]))&&d.removeCue(s[l])}r==="disabled"&&(d.mode=r)}function Zu(d,e){if(e<=d[0].startTime)return 0;const t=d.length-1;if(e>d[t].endTime)return-1;let n=0,r=t,s;for(;n<=r;)if(s=Math.floor((r+n)/2),e<d[s].startTime)r=s-1;else if(e>d[s].startTime&&n<t)n=s+1;else return s;return d[n].startTime-e<e-d[r].startTime?n:r}function Xu(d,e,t){const n=[],r=Zu(d,e);if(r>-1)for(let s=r,l=d.length;s<l;s++){const f=d[s];if(f.startTime>=e&&f.endTime<=t)n.push(f);else if(f.startTime>t)return n}return n}function Lo(d){const e=[];for(let t=0;t<d.length;t++){const n=d[t];(n.kind==="subtitles"||n.kind==="captions")&&n.label&&e.push(d[t])}return e}class $u extends Sa{constructor(e){super(e,"subtitle-track-controller"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let t=null;const n=Lo(this.media.textTracks);for(let s=0;s<n.length;s++)if(n[s].mode==="hidden")t=n[s];else if(n[s].mode==="showing"){t=n[s];break}const r=this.findTrackForTextTrack(t);this.subtitleTrack!==r&&this.setSubtitleTrack(r)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.LEVEL_LOADING,this.onLevelLoading,this),e.on(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(h.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(h.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.LEVEL_LOADING,this.onLevelLoading,this),e.off(h.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(h.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(h.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(e,t){const n=this.media;if(!n)return;const r=!!t.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||n.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,r)return;Lo(n.textTracks).forEach(l=>{go(l)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,groupId:r,details:s}=t,l=this.tracksInGroup[n];if(!l||l.groupId!==r){this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${l==null?void 0:l.groupId}`);return}const f=l.details;l.details=t.details,this.log(`Subtitle track ${n} "${l.name}" lang:${l.lang} group:${r} loaded [${s.startSN}-${s.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,f)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.subtitleGroups||null,r=this.groupIds;let s=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(l=>(r==null?void 0:r.indexOf(l))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const l=this.tracks.filter(A=>!n||n.indexOf(A.groupId)!==-1);if(l.length)this.selectDefaultTrack&&!l.some(A=>A.default)&&(this.selectDefaultTrack=!1),l.forEach((A,S)=>{A.id=S});else if(!s&&!this.tracksInGroup.length)return;this.tracksInGroup=l;const f=this.hls.config.subtitlePreference;if(!s&&f){this.selectDefaultTrack=!1;const A=vt(f,l);if(A>-1)s=l[A];else{const S=vt(f,this.tracks);s=this.tracks[S]}}let E=this.findTrackId(s);E===-1&&s&&(E=this.findTrackId(null));const m={subtitleTracks:l};this.log(`Updating subtitle tracks, ${l.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(h.SUBTITLE_TRACKS_UPDATED,m),E!==-1&&this.trackId===-1&&this.setSubtitleTrack(E)}}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r<t.length;r++){const s=t[r];if(!(n&&!s.default||!n&&!e)&&(!e||be(s,e)))return r}if(e){for(let r=0;r<t.length;r++){const s=t[r];if(Ia(e.attrs,s.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const s=t[r];if(Ia(e.attrs,s.attrs,["LANGUAGE"]))return r}}return-1}findTrackForTextTrack(e){if(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(As(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===j.SUBTITLE_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&this.checkRetry(t)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1,this.setSubtitleTrack(e)}setSubtitleOption(e){if(this.hls.config.subtitlePreference=e,e){if(e.id===-1)return this.setSubtitleTrack(-1),null;const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&be(e,n))return n;const r=vt(e,this.tracksInGroup);if(r>-1){const s=this.tracksInGroup[r];return this.setSubtitleTrack(r),s}else{if(n)return null;{const s=vt(e,t);if(s>-1)return t[s]}}}}return null}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,s=this.getUrlWithDirectives(e.url,t),l=e.details,f=l==null?void 0:l.age;this.log(`Loading subtitle ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${f&&l.live?" age "+f.toFixed(1)+(l.type?" "+l.type||0:""):""} ${s}`),this.hls.trigger(h.SUBTITLE_TRACK_LOADING,{url:s,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=Lo(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(s=>As(n,s))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach(s=>{s.mode!=="disabled"&&s!==r&&(s.mode="disabled")}),r){const s=this.subtitleDisplay?"showing":"hidden";r.mode!==s&&(r.mode=s)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=e;return}if(e<-1||e>=t.length||!a(e)){this.warn(`Invalid subtitle track id: ${e}`);return}this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r){this.hls.trigger(h.SUBTITLE_TRACK_SWITCH,{id:e});return}const s=!!r.details&&!r.details.live;if(e===this.trackId&&r===n&&s)return;this.log(`Switching to subtitle-track ${e}`+(r?` "${r.name}" lang:${r.lang} group:${r.groupId}`:""));const{id:l,groupId:f="",name:E,type:m,url:A}=r;this.hls.trigger(h.SUBTITLE_TRACK_SWITCH,{id:l,groupId:f,name:E,type:m,url:A});const S=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(S)}}function xo(d){let e=5381,t=d.length;for(;t;)e=e*33^d.charCodeAt(--t);return(e>>>0).toString()}const mo=.025;let Ro=function(d){return d[d.Point=0]="Point",d[d.Range=1]="Range",d}({});function Ju(d,e,t){return`${d.identifier}-${t+1}-${xo(e)}`}class qu{constructor(e,t){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=t,this.dateRange=e,this.setDateRange(e)}setDateRange(e){this.dateRange=e,this.resumeOffset=e.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=e.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=e.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=e.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var e;this.appendInPlaceStarted=!1,(e=this.assetListLoader)==null||e.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(e){if(e>=this.assetList.length)return!0;const t=this.playoutLimit;return e<=0||isNaN(t)?!1:this.assetList[e].startOffset>t}findAssetIndex(e){return this.assetList.indexOf(e)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const e=this.dateRange.startTime;if(this.snapOptions.out){const t=this.dateRange.tagAnchor;if(t)return Ko(e,t)}return e}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const e=this.dateRange.tagAnchor;if(e){const t=this.dateRange.startTime,n=Ko(t,e);return t-n<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=a(e)?e:this.duration;return this.cumulativeDuration+t}get resumeTime(){const e=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const t=this.resumeAnchor;if(t)return Ko(e,t)}return e}get appendInPlace(){return this.appendInPlaceStarted?!0:this.appendInPlaceDisabled?!1:!!(!this.cue.once&&!this.cue.pre&&this.startIsAligned&&(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)<mo))}set appendInPlace(e){if(this.appendInPlaceStarted){this.resetOnResume=!e;return}this.appendInPlaceDisabled=!e}get timelineStart(){return this._timelineStart!==null?this._timelineStart:this.startTime}set timelineStart(e){this._timelineStart=e}get duration(){const e=this.playoutLimit;let t;return this._duration!==null?t=this._duration:this.dateRange.duration?t=this.dateRange.duration:t=this.dateRange.plannedDuration||0,!isNaN(e)&&e<t&&(t=e),t}set duration(e){this._duration=e}get cue(){return this.dateRange.cue}get timelineOccupancy(){return this.dateRange.attr["X-TIMELINE-OCCUPIES"]==="RANGE"?Ro.Range:Ro.Point}get supplementsPrimary(){return this.dateRange.attr["X-TIMELINE-STYLE"]==="PRIMARY"}get contentMayVary(){return this.dateRange.attr["X-CONTENT-MAY-VARY"]!=="NO"}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||this.assetListResponse!==null}toString(){return ec(this)}}function Ko(d,e){return d-e.start<e.duration/2&&!(Math.abs(d-(e.start+e.duration))<mo)?e.start:e.start+e.duration}function Tl(d,e,t){const n=new self.URL(d,t);return n.protocol!=="data:"&&n.searchParams.set("_HLS_primary_id",e),n}function ec(d){return`["${d.identifier}" ${d.cue.pre?"<pre>":d.cue.post?"<post>":""}${d.timelineStart.toFixed(2)}-${d.resumeTime.toFixed(2)}]`}function Qo(d){const e=d.timelineStart,t=d.duration||0;return`["${d.identifier}" ${e.toFixed(2)}-${(e+t).toFixed(2)}]`}class tc{constructor(e,t,n,r){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{const m=this.interstitial.playoutLimit,A=this.currentTime;this.startOffset+A>=m&&this.hls.trigger(h.PLAYOUT_LIMIT_REACHED,{})};const s=this.hls=new e(t);this.interstitial=n,this.assetItem=r;let l=r.uri;try{l=Tl(l,s.sessionId).href}catch(E){}s.loadSource(l);const f=()=>{this.hasDetails=!0};s.once(h.LEVEL_LOADED,f),s.once(h.AUDIO_TRACK_LOADED,f),s.once(h.SUBTITLE_TRACK_LOADED,f),s.on(h.MEDIA_ATTACHING,(E,{media:m})=>{this.removeMediaListeners(),this.mediaAttached=m,this.interstitial.playoutLimit&&m.addEventListener("timeupdate",this.checkPlayout)})}bufferedInPlaceToEnd(e){var t;if(!this.interstitial.appendInPlace)return!1;if((t=this.hls)!=null&&t.bufferedToEnd)return!0;if(!e||!this._bufferedEosTime)return!1;const n=this.timelineOffset,r=Xn.bufferInfo(e,n,0);return this.getAssetTime(r.end)>=this._bufferedEosTime-.02}get destroyed(){var e;return!((e=this.hls)!=null&&e.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var e;return((e=this.hls)==null?void 0:e.media)||null}get bufferedEnd(){const e=this.media||this.mediaAttached;if(!e)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const t=Xn.bufferInfo(e,e.currentTime,.001);return this.getAssetTime(t.end)}get currentTime(){const e=this.media||this.mediaAttached;return e?this.getAssetTime(e.currentTime):this._currentTime||0}get duration(){const e=this.assetItem.duration;return e||0}get remaining(){const e=this.duration;return e?Math.max(0,e-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var e;return((e=this.hls)==null?void 0:e.config.timelineOffset)||0}set timelineOffset(e){const t=this.timelineOffset;if(e!==t){const n=e-t;if(Math.abs(n)>1/9e4){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=e}}}getAssetTime(e){const t=this.timelineOffset,n=this.duration;return Math.min(Math.max(0,e-t),n)}removeMediaListeners(){const e=this.mediaAttached;e&&(this._currentTime=e.currentTime,this.bufferSnapShot(),e.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var e;(e=this.hls)!=null&&e.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){this.hls.attachMedia(e)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(e,t,n){this.hls.on(e,t)}once(e,t,n){this.hls.once(e,t)}off(e,t,n){this.hls.off(e,t)}toString(){var e,t;return`HlsAssetPlayer: ${Qo(this.assetItem)} ${(e=this.hls)==null?void 0:e.sessionId} ${(t=this.interstitial)!=null&&t.appendInPlace?"append-in-place":""}`}}const _l=.033;class nc extends V{constructor(e,t){super("interstitials-sched",t),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=e}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(e=>e.reset()),this.events=this.items=null}resetErrorsInRange(e,t){return this.events?this.events.reduce((n,r)=>e<=r.startOffset&&t>r.startOffset?(delete r.error,n+1):n,0):0}get duration(){const e=this.items;return e?e[e.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(e){return e&&this.eventMap[e]||null}hasEvent(e){return e in this.eventMap}findItemIndex(e,t){if(e.event)return this.findEventIndex(e.event.identifier);let n=-1;e.nextEvent?n=this.findEventIndex(e.nextEvent.identifier)-1:e.previousEvent&&(n=this.findEventIndex(e.previousEvent.identifier)+1);const r=this.items;if(r)for(r[n]||(t===void 0&&(t=e.start),n=this.findItemIndexAtTime(t));n>=0&&(s=r[n])!=null&&s.event;){var s;n--}return n}findItemIndexAtTime(e,t){const n=this.items;if(n)for(let r=0;r<n.length;r++){let s=n[r];if(t&&t!=="primary"&&(s=s[t]),e===s.start||e>s.start&&e<s.end)return r}return-1}findJumpRestrictedIndex(e,t){const n=this.items;if(n)for(let r=e;r<=t&&n[r];r++){const s=n[r].event;if(s!=null&&s.restrictions.jump&&!s.appendInPlace)return r}return-1}findEventIndex(e){const t=this.items;if(t)for(let r=t.length;r--;){var n;if(((n=t[r].event)==null?void 0:n.identifier)===e)return r}return-1}findAssetIndex(e,t){const n=e.assetList,r=n.length;if(r>1)for(let s=0;s<r;s++){const l=n[s];if(!l.error){const f=l.timelineStart;if(t===f||t>f&&t<f+(l.duration||0))return s}}return 0}get assetIdAtEnd(){var e,t;const n=(e=this.items)==null||(t=e[this.length-1])==null?void 0:t.event;if(n){const r=n.assetList,s=r[r.length-1];if(s)return s.identifier}return null}parseInterstitialDateRanges(e,t){const n=e.main.details,{dateRanges:r}=n,s=this.events,l=this.parseDateRanges(r,{url:n.url},t),f=Object.keys(r),E=s?s.filter(m=>!f.includes(m.identifier)):[];l.length&&l.sort((m,A)=>{const S=m.cue.pre,Y=m.cue.post,q=A.cue.pre,ne=A.cue.post;if(S&&!q)return-1;if(q&&!S||Y&&!ne)return 1;if(ne&&!Y)return-1;if(!S&&!q&&!Y&&!ne){const Te=m.startTime,Ae=A.startTime;if(Te!==Ae)return Te-Ae}return m.dateRange.tagOrder-A.dateRange.tagOrder}),this.events=l,E.forEach(m=>{this.removeEvent(m)}),this.updateSchedule(e,E)}updateSchedule(e,t=[]){const n=this.events||[];if(n.length||t.length||this.length<2){const r=this.items,s=this.parseSchedule(n,e);(t.length||(r==null?void 0:r.length)!==s.length||s.some((f,E)=>Math.abs(f.playout.start-r[E].playout.start)>.005||Math.abs(f.playout.end-r[E].playout.end)>.005))&&(this.items=s,this.onScheduleUpdate(t,r))}}parseDateRanges(e,t,n){const r=[],s=Object.keys(e);for(let l=0;l<s.length;l++){const f=s[l],E=e[f];if(E.isInterstitial){let m=this.eventMap[f];m?m.setDateRange(E):(m=new qu(E,t),this.eventMap[f]=m,n===!1&&(m.appendInPlace=n)),r.push(m)}}return r}parseSchedule(e,t){const n=[],r=t.main.details,s=r.live?1/0:r.edge;let l=0;if(e=e.filter(E=>!E.error&&!(E.cue.once&&E.hasPlayed)),e.length){this.resolveOffsets(e,t);let E=0,m=0;if(e.forEach((A,S)=>{const Y=A.cue.pre,q=A.cue.post,ne=e[S-1]||null,Te=A.appendInPlace,Ae=q?s:A.startOffset,We=A.duration,pt=A.timelineOccupancy===Ro.Range?We:0,et=A.resumptionOffset,Rt=(ne==null?void 0:ne.startTime)===Ae,kt=Ae+A.cumulativeDuration;let on=Te?kt+We:Ae+et;if(Y||!q&&Ae<=0){const Xt=m;m+=pt,A.timelineStart=kt;const ln=l;l+=We,n.push({event:A,start:kt,end:on,playout:{start:ln,end:l},integrated:{start:Xt,end:m}})}else if(Ae<=s){if(!Rt){const Vt=Ae-E;if(Vt>_l){const Sn=E,kn=m;m+=Vt;const Hr=l;l+=Vt;const br={previousEvent:e[S-1]||null,nextEvent:A,start:Sn,end:Sn+Vt,playout:{start:Hr,end:l},integrated:{start:kn,end:m}};n.push(br)}else Vt>0&&ne&&(ne.cumulativeDuration+=Vt,n[n.length-1].end=Ae)}q&&(on=kt),A.timelineStart=kt;const Xt=m;m+=pt;const ln=l;l+=We,n.push({event:A,start:kt,end:on,playout:{start:ln,end:l},integrated:{start:Xt,end:m}})}else return;const Bt=A.resumeTime;q||Bt>s?E=s:E=Bt}),E<s){var f;const A=E,S=m,Y=s-E;m+=Y;const q=l;l+=Y,n.push({previousEvent:((f=n[n.length-1])==null?void 0:f.event)||null,nextEvent:null,start:E,end:A+Y,playout:{start:q,end:l},integrated:{start:S,end:m}})}this.setDurations(s,l,m)}else n.push({previousEvent:null,nextEvent:null,start:0,end:s,playout:{start:0,end:s},integrated:{start:0,end:s}}),this.setDurations(s,s,s);return n}setDurations(e,t,n){this.durations={primary:e,playout:t,integrated:n}}resolveOffsets(e,t){const n=t.main.details,r=n.live?1/0:n.edge;let s=0,l=-1;e.forEach((f,E)=>{const m=f.cue.pre,A=f.cue.post,S=m?0:A?r:f.startTime;this.updateAssetDurations(f),l===S?f.cumulativeDuration=s:(s=0,l=S),!A&&f.snapOptions.in&&(f.resumeAnchor=Vn(null,n.fragments,f.startOffset+f.resumptionOffset,0,0)||void 0),f.appendInPlace&&!f.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(f,t)||(f.appendInPlace=!1)),!f.appendInPlace&&E+1<e.length&&e[E+1].startTime-e[E].resumeTime<_l&&(e[E+1].appendInPlace=!1,e[E+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${f}`));const q=a(f.resumeOffset)?f.resumeOffset:f.duration;s+=q})}primaryCanResumeInPlaceAt(e,t){const n=e.resumeTime,r=e.startTime+e.resumptionOffset;return Math.abs(n-r)>mo?(this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1):t?!Object.keys(t).some(l=>{const f=t[l].details,E=f.edge;if(n>=E)return this.log(`"${e.identifier}" resumption ${n} past ${l} playlist end ${E}`),!1;const m=Vn(null,f.fragments,n);if(!m)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${l} playlist (${f.fragStart}-${f.fragmentEnd})`),!0;const A=l==="audio"?.175:0;return Math.abs(m.start-n)<mo+A||Math.abs(m.end-n)<mo+A?!1:(this.log(`"${e.identifier}" resumption ${n} not aligned with ${l} fragment bounds (${m.start}-${m.end} sn: ${m.sn} cc: ${m.cc})`),!0)}):(this.log(`"${e.identifier}" resumption ${n} can not be aligned with media (none selected)`),!1)}updateAssetDurations(e){if(!e.assetListLoaded)return;const t=e.timelineStart;let n=0,r=!1,s=!1;e.assetList.forEach((l,f)=>{const E=t+n;l.startOffset=n,l.timelineStart=E,r||(r=l.duration===null),s||(s=!!l.error);const m=l.error?0:l.duration||0;n+=m}),r&&!s?e.duration=Math.max(n,e.duration):e.duration=n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function Ps(d){return`[${d.event?'"'+d.event.identifier+'"':"primary"}: ${d.start.toFixed(2)}-${d.end.toFixed(2)}]`}class rc{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=Tl(n,this.hls.sessionId,e.baseUrl)}catch(Y){const q=this.assignAssetListError(e,_.ASSET_LIST_LOAD_ERROR,Y,n);this.hls.trigger(h.ERROR,q);return}t&&r.protocol!=="data:"&&r.searchParams.set("_HLS_start_offset",""+t);const s=this.hls.config,l=s.loader,f=new l(s),E={responseType:"json",url:r.href},m=s.interstitialAssetListLoadPolicy.default,A={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(Y,q,ne,Te)=>{const Ae=Y.data,We=Ae==null?void 0:Ae.ASSETS;if(!Array.isArray(We)){const pt=this.assignAssetListError(e,_.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),ne.url,q,Te);this.hls.trigger(h.ERROR,pt);return}e.assetListResponse=Ae,this.hls.trigger(h.ASSET_LIST_LOADED,{event:e,assetListResponse:Ae,networkDetails:Te})},onError:(Y,q,ne,Te)=>{const Ae=this.assignAssetListError(e,_.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${Y.code} ${Y.text} (${q.url})`),q.url,Te,ne);this.hls.trigger(h.ERROR,Ae)},onTimeout:(Y,q,ne)=>{const Te=this.assignAssetListError(e,_.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${q.url})`),q.url,Y,ne);this.hls.trigger(h.ERROR,Te)}};return f.load(E,A,S),this.hls.trigger(h.ASSET_LIST_LOADING,{event:e}),f}assignAssetListError(e,t,n,r,s,l){return e.error=n,{type:b.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:l,stats:s}}}function _s(d,e,t){fs(d,e,t),d.addEventListener(e,t)}function fs(d,e,t){d.removeEventListener(e,t)}function Sl(d){d==null||d.play().catch(()=>{})}class ic extends V{constructor(e,t){super("interstitials",e.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const n=this.currentTime;if(n===void 0||this.playbackDisabled)return;const r=n-this.timelinePos;if(Math.abs(r)<1/7056e5)return;const l=r<=-.01;this.timelinePos=n,this.bufferedPos=n;const f=this.playingItem;if(!f){this.checkBuffer();return}if(l&&this.schedule.resetErrorsInRange(n,n-r)&&this.updateSchedule(),this.checkBuffer(),l&&n<f.start||n>=f.end){var E;const Y=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(f)&&(E=this.media)!=null&&E.paused&&(this.shouldPlay=!1),!l){const q=this.findItemIndex(f);if(Y>q){const ne=this.schedule.findJumpRestrictedIndex(q+1,Y);if(ne>q){this.setSchedulePosition(ne);return}}}this.setSchedulePosition(Y);return}const m=this.playingAsset;if(!m){if(this.playingLastItem&&this.isInterstitial(f)){const Y=f.event.assetList[0];Y&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(n,Y))}return}const A=m.timelineStart,S=m.duration||0;(l&&n<A||n>=A+S)&&this.setScheduleToAssetAtTime(n,m)},this.onTimeupdate=()=>{const n=this.currentTime;if(n===void 0||this.playbackDisabled)return;if(n>this.timelinePos)this.timelinePos=n,n>this.bufferedPos&&this.checkBuffer();else return;const r=this.playingItem;if(!r||this.playingLastItem)return;if(n>=r.end){this.timelinePos=r.end;const f=this.findItemIndex(r);this.setSchedulePosition(f+1)}const s=this.playingAsset;if(!s)return;const l=s.timelineStart+(s.duration||0);n>=l&&this.setScheduleToAssetAtTime(n,s)},this.onScheduleUpdate=(n,r)=>{const s=this.schedule,l=this.playingItem,f=s.events||[],E=s.items||[],m=s.durations,A=n.map(q=>q.identifier),S=!!(f.length||A.length);if(S&&this.log(`INTERSTITIALS_UPDATED (${f.length}): ${f}
Schedule: ${E.map(q=>Ps(q))}`),A.length&&this.log(`Removed events ${A}`),this.playerQueue.forEach(q=>{if(q.interstitial.appendInPlace){const ne=q.assetItem.timelineStart,Te=q.timelineOffset-ne;if(Te)try{q.timelineOffset=ne}catch(Ae){Math.abs(Te)>mo&&this.warn(`${Ae} ("${q.assetId}" ${q.timelineOffset}->${ne})`)}}}),l){const q=this.updateItem(l,this.timelinePos);this.itemsMatch(l,q)&&(this.playingItem=q,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Y=this.bufferingItem;if(Y){const q=this.updateItem(Y,this.bufferedPos);this.itemsMatch(Y,q)?this.bufferingItem=q:Y.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Y.event,null))}if(n.forEach(q=>{q.assetList.forEach(ne=>{this.clearAssetPlayer(ne.identifier,null)})}),S||r){if(this.hls.trigger(h.INTERSTITIALS_UPDATED,{events:f.slice(0),schedule:E.slice(0),durations:m,removedIds:A}),this.isInterstitial(l)&&A.includes(l.event.identifier)){this.warn(`Interstitial "${l.event.identifier}" removed while playing`),this.primaryFallback(l.event);return}this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new rc(e),this.schedule=new nc(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(h.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(h.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(h.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(h.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(h.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(h.BUFFER_APPENDED,this.onBufferAppended,this),e.on(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(h.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(h.MEDIA_ENDED,this.onMediaEnded,this),e.on(h.ERROR,this.onError,this),e.on(h.DESTROYING,this.onDestroying,this)}unregisterListeners(){const e=this.hls;e&&(e.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(h.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(h.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(h.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(h.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(h.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(h.BUFFER_CODECS,this.onBufferCodecs,this),e.off(h.BUFFER_APPENDED,this.onBufferAppended,this),e.off(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(h.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(h.MEDIA_ENDED,this.onMediaEnded,this),e.off(h.ERROR,this.onError,this),e.off(h.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var e;(e=this.getBufferingPlayer())==null||e.resumeBuffering()}pauseBuffering(){var e;(e=this.getBufferingPlayer())==null||e.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){fs(e,"play",this.onPlay),fs(e,"pause",this.onPause),fs(e,"seeking",this.onSeeking),fs(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;_s(n,"seeking",this.onSeeking),_s(n,"timeupdate",this.onTimeupdate),_s(n,"play",this.onPlay),_s(n,"pause",this.onPause)}onMediaAttached(e,t){const n=this.effectivePlayingItem,r=this.detachedData;if(this.detachedData=null,n===null)this.checkStart();else if(!r){this.clearScheduleState();const s=this.findItemIndex(n);this.setSchedulePosition(s)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(this.media=null,!n&&(r&&this.removeMediaListeners(r),this.detachedData)){const s=this.getBufferingPlayer();s&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,s.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=S=>S&&e.getAssetPlayer(S.identifier),r=(S,Y,q,ne,Te)=>{if(S){let Ae=S[Y].start;const We=S.event;if(We){if(Y==="playout"||We.timelineOccupancy!==Ro.Point){const pt=n(q);(pt==null?void 0:pt.interstitial)===We&&(Ae+=pt.assetItem.startOffset+pt[Te])}}else{const pt=ne==="bufferedPos"?l():e[ne];Ae+=pt-S.start}return Ae}return 0},s=(S,Y)=>{if(S!==0&&Y!=="primary"&&e.schedule.length){var q;const ne=e.schedule.findItemIndexAtTime(S),Te=(q=e.schedule.items)==null?void 0:q[ne];if(Te){const Ae=Te[Y].start-Te.start;return S+Ae}}return S},l=()=>{const S=e.bufferedPos;return S===Number.MAX_VALUE?f("primary"):Math.max(S,0)},f=S=>{var Y;return(Y=e.primaryDetails)!=null&&Y.live?e.primaryDetails.edge:e.schedule.durations[S]},E=(S,Y)=>{var q,ne;const Te=e.effectivePlayingItem;if(Te!=null&&(q=Te.event)!=null&&q.restrictions.skip)return;e.log(`seek to ${S} "${Y}"`);const Ae=e.effectivePlayingItem,We=e.schedule.findItemIndexAtTime(S,Y),pt=(ne=e.schedule.items)==null?void 0:ne[We],et=e.getBufferingPlayer(),Rt=et==null?void 0:et.interstitial,kt=Rt==null?void 0:Rt.appendInPlace,on=Ae&&e.itemsMatch(Ae,pt);if(Ae&&(kt||on)){const Xt=n(e.playingAsset),ln=(Xt==null?void 0:Xt.media)||e.primaryMedia;if(ln){const Vt=Y==="primary"?ln.currentTime:r(Ae,Y,e.playingAsset,"timelinePos","currentTime"),Sn=S-Vt,kn=(kt?Vt:ln.currentTime)+Sn;if(kn>=0&&(!Xt||kt||kn<=Xt.duration)){ln.currentTime=kn;return}}}if(pt){let Xt=S;if(Y!=="primary"){const Vt=pt[Y].start,Sn=S-Vt;Xt=pt.start+Sn}const ln=!e.isInterstitial(pt);if((!e.isInterstitial(Ae)||Ae.event.appendInPlace)&&(ln||pt.event.appendInPlace)){const Vt=e.media||(kt?et==null?void 0:et.media:null);Vt&&(Vt.currentTime=Xt)}else if(Ae){const Vt=e.findItemIndex(Ae);if(We>Vt){const kn=e.schedule.findJumpRestrictedIndex(Vt+1,We);if(kn>Vt){e.setSchedulePosition(kn);return}}let Sn=0;if(ln)e.timelinePos=Xt,e.checkBuffer();else{var Bt;const kn=pt==null||(Bt=pt.event)==null?void 0:Bt.assetList;if(kn){const Hr=S-(pt[Y]||pt).start;for(let br=kn.length;br--;){const or=kn[br];if(or.duration&&Hr>=or.startOffset&&Hr<or.startOffset+or.duration){Sn=br;break}}}}e.setSchedulePosition(We,Sn)}}},m=()=>{const S=e.effectivePlayingItem;if(e.isInterstitial(S))return S;const Y=t();return e.isInterstitial(Y)?Y:null},A={get currentTime(){const S=m(),Y=e.effectivePlayingItem;return Y&&Y===S?r(Y,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-Y.playout.start:0},set currentTime(S){const Y=m(),q=e.effectivePlayingItem;q&&q===Y&&E(S+q.playout.start,"playout")},get duration(){const S=m();return S?S.playout.end-S.playout.start:0},get assetPlayers(){var S;const Y=(S=m())==null?void 0:S.event.assetList;return Y?Y.map(q=>e.getAssetPlayer(q.identifier)):[]},get playingIndex(){var S;const Y=(S=m())==null?void 0:S.event;return Y&&e.effectivePlayingAsset?Y.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return m()}};this.manager={get events(){var S,Y;return((S=e.schedule)==null||(Y=S.events)==null?void 0:Y.slice(0))||[]},get schedule(){var S,Y;return((S=e.schedule)==null||(Y=S.items)==null?void 0:Y.slice(0))||[]},get interstitialPlayer(){return m()?A:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const S=t();return e.findItemIndex(S)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const S=e.effectivePlayingItem;return e.findItemIndex(S)},primary:{get bufferedEnd(){return l()},get currentTime(){const S=e.timelinePos;return S>0?S:0},set currentTime(S){E(S,"primary")},get duration(){return f("primary")},get seekableStart(){var S;return((S=e.primaryDetails)==null?void 0:S.fragmentStart)||0}},integrated:{get bufferedEnd(){return r(t(),"integrated",e.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return r(e.effectivePlayingItem,"integrated",e.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(S){E(S,"integrated")},get duration(){return f("integrated")},get seekableStart(){var S;return s(((S=e.primaryDetails)==null?void 0:S.fragmentStart)||0,"integrated")}},skip:()=>{const S=e.effectivePlayingItem,Y=S==null?void 0:S.event;if(Y&&!Y.restrictions.skip){const q=e.findItemIndex(S);if(Y.appendInPlace){const ne=S.playout.start+S.event.duration;E(ne+.001,"playout")}else e.advanceAfterAssetEnded(Y,q,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var e;const t=this.playingItem,n=(e=this.schedule)==null?void 0:e.items;return!this.playbackStarted||!t||!n?!1:this.findItemIndex(t)===n.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var e,t,n;if(this.mediaSelection===null)return;const r=this.waitingItem||this.playingItem;if(this.isInterstitial(r)&&!r.event.appendInPlace)return;let s=this.media;!s&&(e=this.bufferingItem)!=null&&(t=e.event)!=null&&t.appendInPlace&&(s=this.primaryMedia);const l=(n=s)==null?void 0:n.currentTime;if(!(l===void 0||!a(l)))return l}get primaryMedia(){var e;return this.media||((e=this.detachedData)==null?void 0:e.media)||null}isInterstitial(e){return!!(e!=null&&e.event)}retreiveMediaSource(e,t){const n=this.getAssetPlayer(e);n&&this.transferMediaFromPlayer(n,t)}transferMediaFromPlayer(e,t){const n=e.interstitial.appendInPlace,r=e.media;if(n&&r===this.primaryMedia){if(this.bufferingAsset=null,(!t||this.isInterstitial(t)&&!t.event.appendInPlace)&&t&&r){this.detachedData={media:r};return}const s=e.transferMedia();this.log(`transfer MediaSource from ${e} ${En(s)}`),this.detachedData=s}else t&&r&&(this.shouldPlay||(this.shouldPlay=!r.paused))}transferMediaTo(e,t){var n,r;if(e.media===t)return;let s=null;const l=this.hls,f=e!==l,E=f&&e.interstitial.appendInPlace,m=(n=this.detachedData)==null?void 0:n.mediaSource;let A;if(l.media)E&&(s=l.transferMedia(),this.detachedData=s),A="Primary";else if(m){const q=this.getBufferingPlayer();q?(s=q.transferMedia(),A=`${q}`):A="detached MediaSource"}else A="detached media";if(!s){if(m)s=this.detachedData,this.log(`using detachedData: MediaSource ${En(s)}`);else if(!this.detachedData||l.media===t){const q=this.playerQueue;q.length>1&&q.forEach(ne=>{if(f&&ne.interstitial.appendInPlace!==E){const Te=ne.interstitial;this.clearInterstitial(ne.interstitial,null),Te.appendInPlace=!1,Te.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${Te}`)}}),this.hls.detachMedia(),this.detachedData={media:t}}}const S=s&&"mediaSource"in s&&((r=s.mediaSource)==null?void 0:r.readyState)!=="closed",Y=S&&s?s:t;if(this.log(`${S?"transfering MediaSource":"attaching media"} to ${f?e:"Primary"} from ${A}`),Y===s){const q=f&&e.assetId===this.schedule.assetIdAtEnd;Y.overrides={duration:this.schedule.duration,endOfStream:!f||q,cueRemoval:!f}}e.attachMedia(Y)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=e.events;if(!t||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const n=this.timelinePos,r=this.effectivePlayingItem;if(n===-1){const s=this.hls.startPosition;if(this.timelinePos=s,t.length&&t[0].cue.pre){const l=e.findEventIndex(t[0].identifier);this.setSchedulePosition(l)}else if(s>=0||!this.primaryLive){const l=this.timelinePos=s>0?s:0,f=e.findItemIndexAtTime(l);this.setSchedulePosition(f)}}else if(r&&!this.playingItem){const s=e.findItemIndex(r);this.setSchedulePosition(s)}}advanceAfterAssetEnded(e,t,n){const r=n+1;if(!e.isAssetPastPlayoutLimit(r)&&!e.assetList[r].error)this.setSchedulePosition(t,r);else{const s=this.schedule.items;if(s){const l=t+1,f=s.length;if(l>=f){this.setSchedulePosition(-1);return}const E=e.resumeTime;this.timelinePos<E&&(this.timelinePos=E,this.checkBuffer()),this.setSchedulePosition(l)}}}setScheduleToAssetAtTime(e,t){const n=this.schedule,r=t.parentIdentifier,s=n.getEvent(r);if(s){const l=n.findEventIndex(r),f=n.findAssetIndex(s,e);this.setSchedulePosition(l,f)}}setSchedulePosition(e,t){const n=this.schedule.items;if(!n||this.playbackDisabled)return;this.log(`setSchedulePosition ${e}, ${t}`);const r=e>=0?n[e]:null,s=this.playingItem,l=this.playingLastItem;if(this.isInterstitial(s)){var f;const m=s.event,A=this.playingAsset,S=A==null?void 0:A.identifier,Y=S?this.getAssetPlayer(S):null;if(Y&&S&&(!this.eventItemsMatch(s,r)||t!==void 0&&S!==((f=m.assetList)==null?void 0:f[t].identifier))){var E;const q=m.findAssetIndex(A);this.log(`INTERSTITIAL_ASSET_ENDED ${q+1}/${m.assetList.length} ${Qo(A)}`),this.endedAsset=A,this.playingAsset=null,this.hls.trigger(h.INTERSTITIAL_ASSET_ENDED,{asset:A,assetListIndex:q,event:m,schedule:n.slice(0),scheduleIndex:e,player:Y}),this.retreiveMediaSource(S,r),Y.media&&!((E=this.detachedData)!=null&&E.mediaSource)&&Y.detachMedia()}if(!this.eventItemsMatch(s,r)&&(this.endedItem=s,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${m} ${Ps(s)}`),m.hasPlayed=!0,this.hls.trigger(h.INTERSTITIAL_ENDED,{event:m,schedule:n.slice(0),scheduleIndex:e}),m.cue.once)){this.updateSchedule();const q=this.schedule.items;if(r&&q){const ne=this.schedule.findItemIndex(r);this.advanceSchedule(ne,q,t,s,l)}return}}this.advanceSchedule(e,n,t,s,l)}advanceSchedule(e,t,n,r,s){const l=e>=0?t[e]:null,f=this.primaryMedia,E=this.playerQueue;if(E.length&&E.forEach(m=>{const A=m.interstitial,S=this.schedule.findEventIndex(A.identifier);(S<e||S>e+1)&&this.clearInterstitial(A,l)}),this.isInterstitial(l)){this.timelinePos=Math.min(Math.max(this.timelinePos,l.start),l.end);const m=l.event;n===void 0&&(n=this.schedule.findAssetIndex(m,this.timelinePos));const A=this.waitingItem;this.assetsBuffered(l,f)||this.setBufferingItem(l);let S=this.preloadAssets(m,n);if(this.eventItemsMatch(l,A||r)||(this.waitingItem=l,this.log(`INTERSTITIAL_STARTED ${Ps(l)} ${m.appendInPlace?"append in place":""}`),this.hls.trigger(h.INTERSTITIAL_STARTED,{event:m,schedule:t.slice(0),scheduleIndex:e})),!m.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${m}`);return}if(m.assetListLoader&&(m.assetListLoader.destroy(),m.assetListLoader=void 0),!f){this.log(`Waiting for attachMedia to start Interstitial ${m}`);return}this.waitingItem=this.endedItem=null,this.playingItem=l;const Y=m.assetList[n];if(!Y){const q=t[e+1],ne=this.media;q&&ne&&!this.isInterstitial(q)&&ne.currentTime<q.start&&(ne.currentTime=this.timelinePos=q.start),this.advanceAfterAssetEnded(m,e,n||0);return}if(S||(S=this.getAssetPlayer(Y.identifier)),S===null||S.destroyed){const q=m.assetList.length;this.warn(`asset ${n+1}/${q} player destroyed ${m}`),S=this.createAssetPlayer(m,Y,n)}if(!this.eventItemsMatch(l,this.bufferingItem)&&m.appendInPlace&&this.isAssetBuffered(Y))return;this.startAssetPlayer(S,n,t,e,f),this.shouldPlay&&Sl(S.media)}else l!==null?(this.resumePrimary(l,e,r),this.shouldPlay&&Sl(this.hls.media)):s&&this.isInterstitial(r)&&(this.endedItem=null,this.playingItem=r,r.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var e,t;return(e=this.mediaSelection)==null||(t=e.main)==null?void 0:t.details}get primaryLive(){var e;return!!((e=this.primaryDetails)!=null&&e.live)}resumePrimary(e,t,n){var r;if(this.playingItem=e,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(e),this.log(`resuming ${Ps(e)}`),!((r=this.detachedData)!=null&&r.mediaSource)){let l=this.timelinePos;(l<e.start||l>=e.end)&&(l=this.getPrimaryResumption(e,t),this.timelinePos=l),this.attachPrimary(l,e)}if(!n)return;const s=this.schedule.items;s&&(this.log(`resumed ${Ps(e)}`),this.hls.trigger(h.INTERSTITIALS_PRIMARY_RESUMED,{schedule:s.slice(0),scheduleIndex:t}),this.checkBuffer())}getPrimaryResumption(e,t){const n=e.start;if(this.primaryLive){const r=this.primaryDetails;if(t===0)return this.hls.startPosition;if(r&&(n<r.fragmentStart||n>r.edge))return this.hls.liveSyncPosition||-1}return n}isAssetBuffered(e){const t=this.getAssetPlayer(e.identifier);return t!=null&&t.hls?t.hls.bufferedToEnd:Xn.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=e.timelineStart+(e.duration||0)}attachPrimary(e,t,n){t?this.setBufferingItem(t):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const r=this.primaryMedia;if(!r)return;const s=this.hls;s.media?this.checkBuffer():(this.transferMediaTo(s,r),n&&this.startLoadingPrimaryAt(e,n)),n||(this.timelinePos=e,this.startLoadingPrimaryAt(e,n))}startLoadingPrimaryAt(e,t){var n;const r=this.hls;!r.loadingEnabled||!r.media||Math.abs((((n=r.mainForwardBufferInfo)==null?void 0:n.start)||r.media.currentTime)-e)>.5?r.startLoad(e,t):r.bufferingEnabled||r.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(h.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(h.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(t.level===-1)return;const n=this.hls.levels[t.level],r=C(C({},this.mediaSelection||this.altSelection),{},{main:n});this.mediaSelection=r,this.schedule.parseInterstitialDateRanges(r,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(e,t){const n=this.hls.audioTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=C(C({},this.altSelection),{},{audio:n});return}const s=C(C({},r),{},{audio:n});this.mediaSelection=s}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=C(C({},this.altSelection),{},{subtitles:n});return}const s=C(C({},r),{},{subtitles:n});this.mediaSelection=s}onAudioTrackSwitching(e,t){const n=at(t);this.playerQueue.forEach(r=>r.hls.setAudioOption(t)||r.hls.setAudioOption(n))}onSubtitleTrackSwitch(e,t){const n=at(t);this.playerQueue.forEach(r=>r.hls.setSubtitleOption(t)||t.id!==-1&&r.hls.setSubtitleOption(n))}onBufferCodecs(e,t){const n=t.tracks;n&&(this.requiredTracks=n)}onBufferAppended(e,t){this.checkBuffer()}onBufferFlushed(e,t){const n=this.playingItem;if(n&&!this.itemsMatch(n,this.bufferingItem)&&!this.isInterstitial(n)){const r=this.timelinePos;this.bufferedPos=r,this.checkBuffer()}}onBufferedToEnd(e){const t=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&t){for(let r=0;r<t.length;r++){const s=t[r];if(s.cue.post){var n;const l=this.schedule.findEventIndex(s.identifier),f=(n=this.schedule.items)==null?void 0:n[l];this.isInterstitial(f)&&this.eventItemsMatch(f,this.bufferingItem)&&this.bufferedToItem(f,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(e){const t=this.playingItem;if(!this.playingLastItem&&t){const n=this.findItemIndex(t);this.setSchedulePosition(n+1)}else this.shouldPlay=!1}updateItem(e,t){const n=this.schedule.items;if(e&&n){const r=this.findItemIndex(e,t);return n[r]||null}return null}itemsMatch(e,t){return!!t&&(e===t||e.event&&t.event&&this.eventItemsMatch(e,t)||!e.event&&!t.event&&this.findItemIndex(e)===this.findItemIndex(t))}eventItemsMatch(e,t){var n;return!!t&&(e===t||e.event.identifier===((n=t.event)==null?void 0:n.identifier))}findItemIndex(e,t){return e?this.schedule.findItemIndex(e,t):-1}updateSchedule(){const e=this.mediaSelection;e&&this.schedule.updateSchedule(e,[])}checkBuffer(e){const t=this.schedule.items;if(!t)return;const n=Xn.bufferInfo(this.primaryMedia,this.timelinePos,0);e&&(this.bufferedPos=this.timelinePos),e||(e=n.len<1),this.updateBufferedPos(n.end,t,e)}updateBufferedPos(e,t,n){const r=this.schedule,s=this.bufferingItem;if(this.bufferedPos>e)return;if(t.length===1&&this.itemsMatch(t[0],s)){this.bufferedPos=e;return}const l=this.playingItem,f=this.findItemIndex(l);let E=r.findItemIndexAtTime(e);if(this.bufferedPos<e){var m,A;const S=this.findItemIndex(s),Y=Math.min(S+1,t.length-1),q=t[Y];if((E===-1&&s&&e>=s.end||(m=q.event)!=null&&m.appendInPlace&&e+.01>=q.start)&&(E=Y),Y-f>1&&(s==null||(A=s.event)==null?void 0:A.appendInPlace)===!1)return;if(this.bufferedPos=e,E>S&&E>f)this.bufferedToItem(q);else{const ne=this.primaryDetails;this.primaryLive&&ne&&e>ne.edge-ne.targetduration&&q.start<ne.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(q)&&this.preloadAssets(q.event,0)}}else n&&l&&!this.itemsMatch(l,s)&&(E===f?this.bufferedToItem(l):E===f+1&&this.bufferedToItem(t[E]))}assetsBuffered(e,t){return e.event.assetList.length===0?!1:!e.event.assetList.some(r=>{const s=this.getAssetPlayer(r.identifier);return!(s!=null&&s.bufferedInPlaceToEnd(t))})}setBufferingItem(e){const t=this.bufferingItem,n=this.schedule;if(this.itemsMatch(e,t))this.bufferingItem!==e&&(this.bufferingItem=e);else{const{items:r,events:s}=n;if(!r||!s)return t;const l=this.isInterstitial(e),f=this.getBufferingPlayer();if(this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos)),!this.playbackDisabled){const E=f?f.remaining:t?t.end-this.timelinePos:0;this.log(`buffered to boundary ${Ps(e)}`+(t?` (${E.toFixed(2)} remaining)`:"")),l?e.event.assetList.forEach(m=>{const A=this.getAssetPlayer(m.identifier);A&&A.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(m=>m.pauseBuffering()))}this.hls.trigger(h.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:s.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}return t}bufferedToItem(e,t=0){const n=this.setBufferingItem(e);if(!this.playbackDisabled){if(this.isInterstitial(e))this.bufferedToEvent(e,t);else if(n!==null){this.bufferingAsset=null;const r=this.detachedData;r?r.mediaSource?this.attachPrimary(e.start,e,!0):this.preloadPrimary(e):this.preloadPrimary(e)}}}preloadPrimary(e){const t=this.findItemIndex(e),n=this.getPrimaryResumption(e,t);this.startLoadingPrimaryAt(n)}bufferedToEvent(e,t){const n=e.event,r=n.assetList.length===0&&!n.assetListLoader,s=n.cue.once;if(r||!s){const l=this.preloadAssets(n,t);if(l!=null&&l.interstitial.appendInPlace){const f=n.assetList[t],E=this.primaryMedia;f&&E&&this.bufferAssetPlayer(l,E)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,s=r===0&&!e.assetListLoader,l=e.cue.once;if(s){const E=e.timelineStart;if(e.appendInPlace){var f;const Y=this.playingItem;!this.isInterstitial(Y)&&(Y==null||(f=Y.nextEvent)==null?void 0:f.identifier)===e.identifier&&this.flushFrontBuffer(E+.25)}let m,A=0;if(!this.playingItem&&this.primaryLive&&(A=this.hls.startPosition,A===-1&&(A=this.hls.liveSyncPosition||0)),A&&!(e.cue.pre||e.cue.post)){const Y=A-E;Y>0&&(m=Math.round(Y*1e3)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${m?` live-start: ${A} start-offset: ${m}`:""}`),n)return this.createAsset(e,0,0,E,e.duration,n);const S=this.assetListLoader.loadAssetList(e,m);S&&(e.assetListLoader=S)}else if(!l&&r){for(let E=t;E<r;E++){const m=e.assetList[E],A=this.getAssetPlayerQueueIndex(m.identifier);(A===-1||this.playerQueue[A].destroyed)&&!m.error&&this.createAssetPlayer(e,m,E)}return this.getAssetPlayer(e.assetList[t].identifier)}return null}flushFrontBuffer(e){const t=this.requiredTracks;if(!t)return;this.log(`Removing front buffer starting at ${e}`),Object.keys(t).forEach(r=>{this.hls.trigger(h.BUFFER_FLUSHING,{startOffset:e,endOffset:1/0,type:r})})}getAssetPlayerQueueIndex(e){const t=this.playerQueue;for(let n=0;n<t.length;n++)if(e===t[n].assetId)return n;return-1}getAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);return this.playerQueue[t]||null}getBufferingPlayer(){const{playerQueue:e,primaryMedia:t}=this;if(t){for(let n=0;n<e.length;n++)if(e[n].media===t)return e[n]}return null}createAsset(e,t,n,r,s,l){const f={parentIdentifier:e.identifier,identifier:Ju(e,l,t),duration:s,startOffset:n,timelineStart:r,uri:l};return this.createAssetPlayer(e,f,t)}createAssetPlayer(e,t,n){this.log(`create HLSAssetPlayer for ${Qo(t)}`);const r=this.hls,s=r.userConfig;let l=s.videoPreference;const f=r.loadLevelObj||r.levels[r.currentLevel];(l||f)&&(l=v({},l),f.videoCodec&&(l.videoCodec=f.videoCodec),f.videoRange&&(l.allowedVideoRanges=[f.videoRange]));const E=r.audioTracks[r.audioTrack],m=r.subtitleTracks[r.subtitleTrack];let A=0;if(this.primaryLive||e.appendInPlace){const et=this.timelinePos-t.timelineStart;if(et>1){const Rt=t.duration;Rt&&et<Rt&&(A=et)}}const S=t.identifier,Y=C(C({},s),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:r.sessionId,assetPlayerId:S,abrEwmaDefaultEstimate:r.bandwidthEstimate,interstitialsController:void 0,startPosition:A,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:l,audioPreference:E||s.audioPreference,subtitlePreference:m||s.subtitlePreference});e.appendInPlace&&(e.appendInPlaceStarted=!0,t.timelineStart&&(Y.timelineOffset=t.timelineStart));const q=Y.cmcd;q!=null&&q.sessionId&&q.contentId&&(Y.cmcd=v({},q,{contentId:xo(t.uri)})),this.getAssetPlayer(S)&&this.warn(`Duplicate date range identifier ${e} and asset ${S}`);const ne=new tc(this.HlsPlayerClass,Y,e,t);this.playerQueue.push(ne),e.assetList[n]=t;const Te=et=>{if(et.live){const on=new Error(`Interstitials MUST be VOD assets ${e}`),Bt={fatal:!0,type:b.OTHER_ERROR,details:_.INTERSTITIAL_ASSET_ITEM_ERROR,error:on};this.handleAssetItemError(Bt,e,this.schedule.findEventIndex(e.identifier),n,on.message);return}const Rt=et.edge-et.fragmentStart,kt=t.duration;(kt===null||Rt>kt)&&(this.log(`Interstitial asset "${S}" duration change ${kt} > ${Rt}`),t.duration=Rt,this.updateSchedule())};ne.on(h.LEVEL_UPDATED,(et,{details:Rt})=>Te(Rt)),ne.on(h.LEVEL_PTS_UPDATED,(et,{details:Rt})=>Te(Rt));const Ae=(et,Rt)=>{const kt=this.getAssetPlayer(S);if(kt&&Rt.tracks){kt.off(h.BUFFER_CODECS,Ae),kt.tracks=Rt.tracks;const on=this.primaryMedia;this.bufferingAsset===kt.assetItem&&on&&!kt.media&&this.bufferAssetPlayer(kt,on)}};ne.on(h.BUFFER_CODECS,Ae);const We=()=>{var et;const Rt=this.getAssetPlayer(S);if(this.log(`buffered to end of asset ${Rt}`),!Rt)return;const kt=this.schedule.findEventIndex(e.identifier),on=e.findAssetIndex(t),Bt=on+1,Xt=(et=this.schedule.items)==null?void 0:et[kt];if(this.isInterstitial(Xt))if(on!==-1&&!e.isAssetPastPlayoutLimit(Bt)&&!e.assetList[Bt].error)this.bufferedToItem(Xt,Bt);else{var ln;const Vt=(ln=this.schedule.items)==null?void 0:ln[kt+1];Vt&&this.bufferedToItem(Vt)}};ne.on(h.BUFFERED_TO_END,We);const pt=et=>()=>{if(!this.getAssetPlayer(S))return;this.shouldPlay=!0;const kt=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,kt,et)};return ne.once(h.MEDIA_ENDED,pt(n)),ne.once(h.PLAYOUT_LIMIT_REACHED,pt(1/0)),ne.on(h.ERROR,(et,Rt)=>{const kt=this.getAssetPlayer(S);if(Rt.details===_.BUFFER_STALLED_ERROR){if(kt!=null&&kt.media){const on=kt.currentTime,Bt=kt.duration-on;on&&e.appendInPlace&&Bt/kt.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${S} ${e} at ${kt.media.currentTime}`),We()):(this.warn(`Stalled at ${on} of ${on+Bt} in asset ${S} ${e}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Rt,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${Rt.error} ${e}`)}),ne.on(h.DESTROYING,()=>{if(!this.getAssetPlayer(S))return;const Rt=new Error(`Asset player destroyed unexpectedly ${S}`),kt={fatal:!0,type:b.OTHER_ERROR,details:_.INTERSTITIAL_ASSET_ITEM_ERROR,error:Rt};this.handleAssetItemError(kt,e,this.schedule.findEventIndex(e.identifier),n,Rt.message)}),this.hls.trigger(h.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:ne}),ne}clearInterstitial(e,t){e.assetList.forEach(n=>{this.clearAssetPlayer(n.identifier,t)}),e.reset()}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(n!==-1){this.log(`clearAssetPlayer "${e}" toSegment: ${t&&Ps(t)}`);const r=this.playerQueue[n];this.transferMediaFromPlayer(r,t),this.playerQueue.splice(n,1),r.destroy()}}emptyPlayerQueue(){let e;for(;e=this.playerQueue.pop();)e.destroy();this.playerQueue=[]}startAssetPlayer(e,t,n,r,s){const{interstitial:l,assetItem:f,assetId:E}=e,m=l.assetList.length,A=this.playingAsset;this.endedAsset=null,this.playingAsset=f,(!A||A.identifier!==E)&&(A&&(this.clearAssetPlayer(A.identifier,n[r]),delete A.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${m} ${e}`),this.hls.trigger(h.INTERSTITIAL_ASSET_STARTED,{asset:f,assetListIndex:t,event:l,schedule:n.slice(0),scheduleIndex:r,player:e})),this.bufferAssetPlayer(e,s)}bufferAssetPlayer(e,t){var n,r;const{interstitial:s,assetItem:l,assetId:f}=e,E=this.schedule.findEventIndex(s.identifier),m=(n=this.schedule.items)==null?void 0:n[E];if(!m)return;this.setBufferingItem(m),this.bufferingAsset=l;const A=this.getBufferingPlayer();if(A===e)return;const S=s.appendInPlace;if(S&&(A==null?void 0:A.interstitial.appendInPlace)===!1)return;const Y=(A==null?void 0:A.tracks)||((r=this.detachedData)==null?void 0:r.tracks)||this.requiredTracks;if(S&&l!==this.playingAsset){if(!e.tracks)return;if(Y&&!he(Y,e.tracks)){const q=new Error(`Asset "${f}" SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(Y)}')`),ne={fatal:!0,type:b.OTHER_ERROR,details:_.INTERSTITIAL_ASSET_ITEM_ERROR,error:q},Te=s.findAssetIndex(l);this.handleAssetItemError(ne,s,E,Te,q.message);return}}this.transferMediaTo(e,t)}handleAssetItemError(e,t,n,r,s){if(e.details===_.BUFFER_STALLED_ERROR)return;const l=t.assetList[r]||null;let f=null;if(l){const S=this.getAssetPlayerQueueIndex(l.identifier);f=this.playerQueue[S]||null}const E=this.schedule.items,m=v({},e,{fatal:!1,errorAction:Bn(!0),asset:l,assetListIndex:r,event:t,schedule:E,scheduleIndex:n,player:f});if(this.warn(`Asset item error: ${e.error}`),this.hls.trigger(h.INTERSTITIAL_ASSET_ERROR,m),!e.fatal)return;const A=new Error(s);l&&(this.playingAsset!==l&&this.clearAssetPlayer(l.identifier,null),l.error=A),t.assetList.some(S=>!S.error)?t.appendInPlace&&(t.error=A):t.error=A,this.primaryFallback(t)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;if(this.updateSchedule(),n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${this.timelinePos} playing: ${n?Ps(n):"<none>"} error: ${e.error}`),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t));let r=this.timelinePos;r===-1&&(r=this.hls.startPosition);const s=this.updateItem(n,r);if(this.itemsMatch(n,s))this.clearInterstitial(e,null);else{const l=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(l)}}else this.checkStart()}onAssetListLoaded(e,t){var n;const r=t.event,s=r.identifier,l=t.assetListResponse.ASSETS;if(!this.schedule.hasEvent(s))return;const f=r.timelineStart,E=r.duration;let m=0;l.forEach((ne,Te)=>{const Ae=parseFloat(ne.DURATION);this.createAsset(r,Te,m,f+m,Ae,ne.URI),m+=Ae}),r.duration=m,this.log(`Loaded asset-list with duration: ${m} (was: ${E}) ${r}`);const A=this.waitingItem,S=(A==null?void 0:A.event.identifier)===s;this.updateSchedule();const Y=(n=this.bufferingItem)==null?void 0:n.event;if(S){var q;const ne=this.schedule.findEventIndex(s),Te=(q=this.schedule.items)==null?void 0:q[ne];if(Te){if(!this.playingItem&&this.timelinePos>Te.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ne){r.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${r}`),this.primaryFallback(r);return}this.setBufferingItem(Te)}this.setSchedulePosition(ne)}else if((Y==null?void 0:Y.identifier)===s&&Y.appendInPlace){const ne=r.assetList[0],Te=this.getAssetPlayer(ne.identifier),Ae=this.primaryMedia;ne&&Te&&Ae&&this.bufferAssetPlayer(Te,Ae)}}onError(e,t){switch(t.details){case _.ASSET_LIST_PARSING_ERROR:case _.ASSET_LIST_LOAD_ERROR:case _.ASSET_LIST_LOAD_TIMEOUT:{const n=t.interstitial;n&&this.primaryFallback(n);break}case _.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Il=500;class ac extends Vi{constructor(e,t,n){super(e,t,n,"subtitle-stream-controller",G.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(h.LEVEL_LOADED,this.onLevelLoaded,this),e.on(h.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(h.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(h.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(h.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(h.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(h.LEVEL_LOADED,this.onLevelLoaded,this),e.off(h.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(h.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(h.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(h.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(h.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=qt.IDLE,this.setInterval(Il),this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(e,t){this.tracksBuffered=[],super.onMediaDetaching(e,t)}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(M(n)&&(this.fragPrevious=n),this.state=qt.IDLE,!r)return;const s=this.tracksBuffered[this.currentTrackId];if(!s)return;let l;const f=n.start;for(let m=0;m<s.length;m++)if(f>=s[m].start&&f<=s[m].end){l=s[m];break}const E=n.start+n.duration;l?l.end=E:(l={start:f,end:E},s.push(l)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null),this.media&&this.tick()}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(n===0&&r!==Number.POSITIVE_INFINITY){const s=r-1;if(s<=0)return;t.endOffsetSubtitles=Math.max(0,s),this.tracksBuffered.forEach(l=>{for(let f=0;f<l.length;){if(l[f].end<=s){l.shift();continue}else if(l[f].start<s)l[f].start=s;else break;f++}}),this.fragmentTracker.removeFragmentsInRange(n,s,G.SUBTITLE)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===G.SUBTITLE&&(t.details===_.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==qt.STOPPED&&(this.state=qt.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&cs(this.levels,t)){this.levels=t.map(n=>new xt(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new xt(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,G.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(e,t){var n;if(this.currentTrackId=t.id,!((n=this.levels)!=null&&n.length)||this.currentTrackId===-1){this.clearInterval();return}const r=this.levels[this.currentTrackId];r!=null&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.state!==qt.STOPPED&&this.setInterval(Il)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:s}=this,{details:l,id:f}=t;if(!s){this.warn(`Subtitle tracks were reset while loading level ${f}`);return}const E=s[f];if(f>=s.length||!E)return;this.log(`Subtitle track ${f} loaded [${l.startSN},${l.endSN}]${l.lastPartSn?`[part-${l.lastPartSn}-${l.lastPartIndex}]`:""},duration:${l.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let m=0;if(l.live||(n=E.details)!=null&&n.live){const S=this.mainDetails;if(l.deltaUpdateFailed||!S)return;const Y=S.fragments[0];if(!E.details)l.hasProgramDateTime&&S.hasProgramDateTime?(Pr(l,S),m=l.fragmentStart):Y&&(m=Y.start,ua(l,m));else{var A;m=this.alignPlaylists(l,E.details,(A=this.levelLastLoaded)==null?void 0:A.details),m===0&&Y&&(m=Y.start,ua(l,m))}}E.details=l,this.levelLastLoaded=E,f===r&&(this.hls.trigger(h.SUBTITLE_TRACK_UPDATED,{details:l,id:f,groupId:t.groupId}),this.tick(),l.live&&!this.fragCurrent&&this.media&&this.state===qt.IDLE&&(Vn(null,l.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),E.details=void 0)))}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,s=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&r!=null&&r.key&&r.iv&&Li(r.method)){const l=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,Bi(r.method)).catch(f=>{throw s.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.FRAG_DECRYPT_ERROR,fatal:!1,error:f,reason:f.message,frag:t}),f}).then(f=>{const E=performance.now();s.trigger(h.FRAG_DECRYPTED,{frag:t,payload:f,stats:{tstart:l,tdecrypt:E}})}).catch(f=>{this.warn(`${f.name}: ${f.message}`),this.state=qt.IDLE})}}doTick(){if(!this.media){this.state=qt.IDLE;return}if(this.state===qt.IDLE){const{currentTrackId:e,levels:t}=this,n=t==null?void 0:t[e];if(!n||!t.length||!n.details||this.waitForLive(n))return;const{config:r}=this,s=this.getLoadPosition(),l=Xn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],s,r.maxBufferHole),{end:f,len:E}=l,m=n.details,A=this.hls.maxBufferLength+m.levelTargetDuration;if(E>A)return;const S=m.fragments,Y=S.length,q=m.edge;let ne=null;const Te=this.fragPrevious;if(f<q){const pt=r.maxFragLookUpTolerance,et=f>q-pt?0:pt;ne=Vn(Te,S,Math.max(S[0].start,f),et),!ne&&Te&&Te.start<S[0].start&&(ne=S[0])}else ne=S[Y-1];if(ne=this.filterReplacedPrimary(ne,n.details),!ne)return;const Ae=ne.sn-m.startSN,We=S[Ae-1];if(We&&We.cc===ne.cc&&this.fragmentTracker.getState(We)===Hn.NOT_LOADED&&(ne=We),this.fragmentTracker.getState(ne)===Hn.NOT_LOADED){const pt=this.mapToInitFragWhenRequired(ne);pt&&this.loadFragment(pt,n,f)}}}loadFragment(e,t,n){M(e)?super.loadFragment(e,t,n):this._loadInitSegment(e,t)}get mediaBufferTimeRanges(){return new sc(this.tracksBuffered[this.currentTrackId]||[])}}class sc{constructor(e){this.buffered=void 0;const t=(n,r,s)=>{if(r=r>>>0,r>s-1)throw new DOMException(`Failed to execute '${n}' on 'TimeRanges': The index provided (${r}) is greater than the maximum bound (${s})`);return e[r][n]};this.buffered={get length(){return e.length},end(n){return t("end",n,e.length)},start(n){return t("start",n,e.length)}}}}const oc={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},xl=d=>String.fromCharCode(oc[d]||d),ts=15,Ss=100,lc={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},uc={17:2,18:4,21:6,22:8,23:10,19:13,20:15},cc={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},dc={25:2,26:4,29:6,30:8,31:10,27:13,28:15},fc=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class hc{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;te.log(`${this.time} [${e}] ${n}`)}}}const qs=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class Cl{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(e){const t=["foreground","underline","italics","background","flash"];for(let n=0;n<t.length;n++){const r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class pc{constructor(){this.uchar=" ",this.penState=new Cl}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class gc{constructor(e){this.chars=[],this.pos=0,this.currPenState=new Cl,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<Ss;t++)this.chars.push(new pc);this.logger=e}equals(e){for(let t=0;t<Ss;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<Ss;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<Ss;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>Ss&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Ss)}moveCursor(e){const t=this.pos+e;if(e>1)for(let n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=xl(e);if(this.pos>=Ss){this.logger.log(0,()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1)}clearFromPos(e){let t;for(t=e;t<Ss;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let n=0;n<Ss;n++){const r=this.chars[n].uchar;r!==" "&&(t=!1),e.push(r)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e),this.chars[this.pos].setPenState(this.currPenState)}}class Zo{constructor(e){this.rows=[],this.currRow=ts-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<ts;t++)this.rows.push(new gc(e));this.logger=e}reset(){for(let e=0;e<ts;e++)this.rows[e].clear();this.currRow=ts-1}equals(e){let t=!0;for(let n=0;n<ts;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<ts;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<ts;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e),this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,()=>"pacData = "+En(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let f=0;f<ts;f++)this.rows[f].clear();const s=this.currRow+1-this.nrRollUpRows,l=this.lastOutputScreen;if(l){const f=l.rows[s].cueStartTime,E=this.logger.time;if(f!==null&&E!==null&&f<E)for(let m=0;m<this.nrRollUpRows;m++)this.rows[t-this.nrRollUpRows+m+1].copy(l.rows[s+m])}}this.currRow=t;const n=this.rows[this.currRow];if(e.indent!==null){const s=e.indent,l=Math.max(s-1,0);n.setCursor(e.indent),e.color=n.chars[l].penState.foreground}const r={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(r)}setBkgData(e){this.logger.log(2,()=>"bkgData = "+En(e)),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let s=0;s<ts;s++){const l=this.rows[s].getTextString();l&&(r=s+1,e?t.push("Row "+r+": '"+l+"'"):t.push(l.trim()))}return t.length>0&&(e?n="["+t.join(" | ")+"]":n=t.join(`
`)),n}getTextAndFormat(){return this.rows}}class wl{constructor(e,t,n){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new Zo(n),this.nonDisplayedMemory=new Zo(n),this.lastOutputScreen=new Zo(n),this.currRollUpRow=this.displayedMemory.rows[ts-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[ts-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,()=>"MODE="+e),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let n=0;n<e.length;n++)this.writeScreen.insertChar(e[n]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>t+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2===1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+En(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;t!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=t:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class Dl{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Ec(),this.logger=void 0;const r=this.logger=new hc;this.channels=[null,new wl(e,t,r),new wl(e+1,n,r)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let n=0;n<t.length;n+=2){const r=t[n]&127,s=t[n+1]&127;let l=!1,f=null;if(r===0&&s===0)continue;this.logger.log(3,()=>"["+qs([t[n],t[n+1]])+"] -> ("+qs([r,s])+")");const E=this.cmdHistory;if(r>=16&&r<=31){if(mc(r,s,E)){Mo(null,null,E),this.logger.log(3,()=>"Repeated command ("+qs([r,s])+") is dropped");continue}Mo(r,s,this.cmdHistory),l=this.parseCmd(r,s),l||(l=this.parseMidrow(r,s)),l||(l=this.parsePAC(r,s)),l||(l=this.parseBackgroundAttributes(r,s))}else Mo(null,null,E);if(!l&&(f=this.parseChars(r,s),f)){const A=this.currentChannel;A&&A>0?this.channels[A].insertChars(f):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!l&&!f&&this.logger.log(2,()=>"Couldn't parse cleaned data "+qs([r,s])+" orig: "+qs([t[n],t[n+1]]))}}parseCmd(e,t){const n=(e===20||e===28||e===21||e===29)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=33&&t<=35;if(!(n||r))return!1;const s=e===20||e===21||e===23?1:2,l=this.channels[s];return e===20||e===21||e===28||e===29?t===32?l.ccRCL():t===33?l.ccBS():t===34?l.ccAOF():t===35?l.ccAON():t===36?l.ccDER():t===37?l.ccRU(2):t===38?l.ccRU(3):t===39?l.ccRU(4):t===40?l.ccFON():t===41?l.ccRDC():t===42?l.ccTR():t===43?l.ccRTD():t===44?l.ccEDM():t===45?l.ccCR():t===46?l.ccENM():t===47&&l.ccEOC():l.ccTO(t-32),this.currentChannel=s,!0}parseMidrow(e,t){let n=0;if((e===17||e===25)&&t>=32&&t<=47){if(e===17?n=1:n=2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return r?(r.ccMIDROW(t),this.logger.log(3,()=>"MIDROW ("+qs([e,t])+")"),!0):!1}return!1}parsePAC(e,t){let n;const r=(e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127,s=(e===16||e===24)&&t>=64&&t<=95;if(!(r||s))return!1;const l=e<=23?1:2;t>=64&&t<=95?n=l===1?lc[e]:cc[e]:n=l===1?uc[e]:dc[e];const f=this.channels[l];return f?(f.setPAC(this.interpretPAC(n,t)),this.currentChannel=l,!0):!1}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return t>95?n=t-96:n=t-64,r.underline=(n&1)===1,n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=Math.floor((n-16)/2)*4,r}parseChars(e,t){let n,r=null,s=null;if(e>=25?(n=2,s=e-8):(n=1,s=e),s>=17&&s<=19){let l;s===17?l=t+80:s===18?l=t+112:l=t+144,this.logger.log(2,()=>"Special char '"+xl(l)+"' in channel "+n),r=[l]}else e>=32&&e<=127&&(r=t===0?[e]:[e,t]);return r&&this.logger.log(3,()=>"Char codes = "+qs(r).join(",")),r}parseBackgroundAttributes(e,t){const n=(e===16||e===24)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=45&&t<=47;if(!(n||r))return!1;let s;const l={};e===16||e===24?(s=Math.floor((t-32)/2),l.background=fc[s],t%2===1&&(l.background=l.background+"_semi")):t===45?l.background="transparent":(l.foreground="black",t===47&&(l.underline=!0));const f=e<=23?1:2;return this.channels[f].setBkgData(l),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}Mo(null,null,this.cmdHistory)}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const n=this.channels[t];n&&n.cueSplitAtTime(e)}}}function Mo(d,e,t){t.a=d,t.b=e}function mc(d,e,t){return t.a===d&&t.b===e}function Ec(){return{a:null,b:null}}var Xo=function(){if(Zr!=null&&Zr.VTTCue)return self.VTTCue;const d=["","lr","rl"],e=["start","middle","end","left","right"];function t(f,E){if(typeof E!="string"||!Array.isArray(f))return!1;const m=E.toLowerCase();return~f.indexOf(m)?m:!1}function n(f){return t(d,f)}function r(f){return t(e,f)}function s(f,...E){let m=1;for(;m<arguments.length;m++){const A=arguments[m];for(const S in A)f[S]=A[S]}return f}function l(f,E,m){const A=this,S={enumerable:!0};A.hasBeenReset=!1;let Y="",q=!1,ne=f,Te=E,Ae=m,We=null,pt="",et=!0,Rt="auto",kt="start",on=50,Bt="middle",Xt=50,ln="middle";Object.defineProperty(A,"id",s({},S,{get:function(){return Y},set:function(Vt){Y=""+Vt}})),Object.defineProperty(A,"pauseOnExit",s({},S,{get:function(){return q},set:function(Vt){q=!!Vt}})),Object.defineProperty(A,"startTime",s({},S,{get:function(){return ne},set:function(Vt){if(typeof Vt!="number")throw new TypeError("Start time must be set to a number.");ne=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"endTime",s({},S,{get:function(){return Te},set:function(Vt){if(typeof Vt!="number")throw new TypeError("End time must be set to a number.");Te=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"text",s({},S,{get:function(){return Ae},set:function(Vt){Ae=""+Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"region",s({},S,{get:function(){return We},set:function(Vt){We=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"vertical",s({},S,{get:function(){return pt},set:function(Vt){const Sn=n(Vt);if(Sn===!1)throw new SyntaxError("An invalid or illegal string was specified.");pt=Sn,this.hasBeenReset=!0}})),Object.defineProperty(A,"snapToLines",s({},S,{get:function(){return et},set:function(Vt){et=!!Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"line",s({},S,{get:function(){return Rt},set:function(Vt){if(typeof Vt!="number"&&Vt!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Rt=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"lineAlign",s({},S,{get:function(){return kt},set:function(Vt){const Sn=r(Vt);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");kt=Sn,this.hasBeenReset=!0}})),Object.defineProperty(A,"position",s({},S,{get:function(){return on},set:function(Vt){if(Vt<0||Vt>100)throw new Error("Position must be between 0 and 100.");on=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"positionAlign",s({},S,{get:function(){return Bt},set:function(Vt){const Sn=r(Vt);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");Bt=Sn,this.hasBeenReset=!0}})),Object.defineProperty(A,"size",s({},S,{get:function(){return Xt},set:function(Vt){if(Vt<0||Vt>100)throw new Error("Size must be between 0 and 100.");Xt=Vt,this.hasBeenReset=!0}})),Object.defineProperty(A,"align",s({},S,{get:function(){return ln},set:function(Vt){const Sn=r(Vt);if(!Sn)throw new SyntaxError("An invalid or illegal string was specified.");ln=Sn,this.hasBeenReset=!0}})),A.displayState=void 0}return l.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},l}();class bc{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Nl(d){function e(n,r,s,l){return(n|0)*3600+(r|0)*60+(s|0)+parseFloat(l||0)}const t=d.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return t?parseFloat(t[2])>59?e(t[2],t[3],0,t[4]):e(t[1],t[2],t[3],t[4]):null}class yc{constructor(){this.values=Object.create(null)}set(e,t){!this.get(e)&&t!==""&&(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const n=parseFloat(t);if(n>=0&&n<=100)return this.set(e,n),!0}return!1}}function Ll(d,e,t,n){const r=n?d.split(n):[d];for(const s in r){if(typeof r[s]!="string")continue;const l=r[s].split(t);if(l.length!==2)continue;const f=l[0],E=l[1];e(f,E)}}const $o=new Xo(0,0,""),ko=$o.align==="middle"?"middle":"center";function vc(d,e,t){const n=d;function r(){const f=Nl(d);if(f===null)throw new Error("Malformed timestamp: "+n);return d=d.replace(/^[^\sa-zA-Z-]+/,""),f}function s(f,E){const m=new yc;Ll(f,function(Y,q){let ne;switch(Y){case"region":for(let Te=t.length-1;Te>=0;Te--)if(t[Te].id===q){m.set(Y,t[Te].region);break}break;case"vertical":m.alt(Y,q,["rl","lr"]);break;case"line":ne=q.split(","),m.integer(Y,ne[0]),m.percent(Y,ne[0])&&m.set("snapToLines",!1),m.alt(Y,ne[0],["auto"]),ne.length===2&&m.alt("lineAlign",ne[1],["start",ko,"end"]);break;case"position":ne=q.split(","),m.percent(Y,ne[0]),ne.length===2&&m.alt("positionAlign",ne[1],["start",ko,"end","line-left","line-right","auto"]);break;case"size":m.percent(Y,q);break;case"align":m.alt(Y,q,["start",ko,"end","left","right"]);break}},/:/,/\s/),E.region=m.get("region",null),E.vertical=m.get("vertical","");let A=m.get("line","auto");A==="auto"&&$o.line===-1&&(A=-1),E.line=A,E.lineAlign=m.get("lineAlign","start"),E.snapToLines=m.get("snapToLines",!0),E.size=m.get("size",100),E.align=m.get("align",ko);let S=m.get("position","auto");S==="auto"&&$o.position===50&&(S=E.align==="start"||E.align==="left"?0:E.align==="end"||E.align==="right"?100:50),E.position=S}function l(){d=d.replace(/^\s+/,"")}if(l(),e.startTime=r(),l(),d.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+n);d=d.slice(3),l(),e.endTime=r(),l(),s(d,e)}function Rl(d){return d.replace(/<br(?: \/)?>/gi,`
`)}class Ac{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new bc,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));function n(){let s=t.buffer,l=0;for(s=Rl(s);l<s.length&&s[l]!=="\r"&&s[l]!==`
`;)++l;const f=s.slice(0,l);return s[l]==="\r"&&++l,s[l]===`
`&&++l,t.buffer=s.slice(l),f}function r(s){Ll(s,function(l,f){},/:/)}try{let s="";if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;s=n();const f=s.match(/^()?WEBVTT([ \t].*)?$/);if(!(f!=null&&f[0]))throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let l=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(l?l=!1:s=n(),t.state){case"HEADER":/:/.test(s)?r(s):s||(t.state="ID");continue;case"NOTE":s||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(s)){t.state="NOTE";break}if(!s)continue;if(t.cue=new Xo(0,0,""),t.state="CUE",s.indexOf("-->")===-1){t.cue.id=s;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{vc(s,t.cue,t.regionList)}catch(f){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const f=s.indexOf("-->")!==-1;if(!s||f&&(l=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(t.cue===null)continue;t.cue.text&&(t.cue.text+=`
`),t.cue.text+=s}continue;case"BADCUE":s||(t.state="ID")}}}catch(s){t.state==="CUETEXT"&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state=t.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||e.state==="HEADER")&&(e.buffer+=`
`,e.parse()),e.state==="INITIAL"||e.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const Tc=/\r\n|\n\r|\n|\r/g,Jo=function(e,t,n=0){return e.slice(n,n+t.length)===t},_c=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),s=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!a(t)||!a(n)||!a(r)||!a(s))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*s,t};function qo(d,e,t){return xo(d.toString())+xo(e.toString())+xo(t)}const Sc=function(e,t,n){let r=e[t],s=e[r.prevCC];if(!s||!s.new&&r.new){e.ccOffset=e.presentationOffset=r.start,r.new=!1;return}for(;(l=s)!=null&&l.new;){var l;e.ccOffset+=r.start-s.start,r.new=!1,r=s,s=e[r.prevCC]}e.presentationOffset=n};function Ic(d,e,t,n,r,s,l){const f=new Ac,E=ve(new Uint8Array(d)).trim().replace(Tc,`
`).split(`
`),m=[],A=e?_t(e.baseTime,e.timescale):0;let S="00:00.000",Y=0,q=0,ne,Te=!0;f.oncue=function(Ae){const We=t[n];let pt=t.ccOffset;const et=(Y-A)/9e4;if(We!=null&&We.new&&(q!==void 0?pt=t.ccOffset=We.start:Sc(t,n,et)),et){if(!e){ne=new Error("Missing initPTS for VTT MPEGTS");return}pt=et-t.presentationOffset}const Rt=Ae.endTime-Ae.startTime,kt=Wi((Ae.startTime+pt-q)*9e4,r*9e4)/9e4;Ae.startTime=Math.max(kt,0),Ae.endTime=Math.max(kt+Rt,0);const on=Ae.text.trim();Ae.text=decodeURIComponent(encodeURIComponent(on)),Ae.id||(Ae.id=qo(Ae.startTime,Ae.endTime,on)),Ae.endTime>0&&m.push(Ae)},f.onparsingerror=function(Ae){ne=Ae},f.onflush=function(){if(ne){l(ne);return}s(m)},E.forEach(Ae=>{if(Te)if(Jo(Ae,"X-TIMESTAMP-MAP=")){Te=!1,Ae.slice(16).split(",").forEach(We=>{Jo(We,"LOCAL:")?S=We.slice(6):Jo(We,"MPEGTS:")&&(Y=parseInt(We.slice(7)))});try{q=_c(S)/1e3}catch(We){ne=We}return}else Ae===""&&(Te=!1);f.parse(Ae+`
`)}),f.flush()}const el="stpp.ttml.im1t",Ml=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,kl=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,xc={left:"start",center:"center",right:"end",start:"start",end:"end"};function Ol(d,e,t,n){const r=Be(new Uint8Array(d),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const s=r.map(f=>ve(f)),l=pa(e.baseTime,1,e.timescale);try{s.forEach(f=>t(Cc(f,l)))}catch(f){n(f)}}function Cc(d,e){const r=new DOMParser().parseFromString(d,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const s={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},l=Object.keys(s).reduce((S,Y)=>(S[Y]=r.getAttribute(`ttp:${Y}`)||s[Y],S),{}),f=r.getAttribute("xml:space")!=="preserve",E=Pl(tl(r,"styling","style")),m=Pl(tl(r,"layout","region")),A=tl(r,"body","[begin]");return[].map.call(A,S=>{const Y=Fl(S,f);if(!Y||!S.hasAttribute("begin"))return null;const q=rl(S.getAttribute("begin"),l),ne=rl(S.getAttribute("dur"),l);let Te=rl(S.getAttribute("end"),l);if(q===null)throw Bl(S);if(Te===null){if(ne===null)throw Bl(S);Te=q+ne}const Ae=new Xo(q-e,Te-e,Y);Ae.id=qo(Ae.startTime,Ae.endTime,Ae.text);const We=m[S.getAttribute("region")],pt=E[S.getAttribute("style")],et=wc(We,pt,E),{textAlign:Rt}=et;if(Rt){const kt=xc[Rt];kt&&(Ae.lineAlign=kt),Ae.align=Rt}return v(Ae,et),Ae}).filter(S=>S!==null)}function tl(d,e,t){const n=d.getElementsByTagName(e)[0];return n?[].slice.call(n.querySelectorAll(t)):[]}function Pl(d){return d.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function Fl(d,e){return[].slice.call(d.childNodes).reduce((t,n,r)=>{var s;return n.nodeName==="br"&&r?t+`
`:(s=n.childNodes)!=null&&s.length?Fl(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function wc(d,e,t){const n="http://www.w3.org/ns/ttml#styling";let r=null;const s=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],l=d!=null&&d.hasAttribute("style")?d.getAttribute("style"):null;return l&&t.hasOwnProperty(l)&&(r=t[l]),s.reduce((f,E)=>{const m=nl(e,n,E)||nl(d,n,E)||nl(r,n,E);return m&&(f[E]=m),f},{})}function nl(d,e,t){return d&&d.hasAttributeNS(e,t)?d.getAttributeNS(e,t):null}function Bl(d){return new Error(`Could not parse ttml timestamp ${d}`)}function rl(d,e){if(!d)return null;let t=Nl(d);return t===null&&(Ml.test(d)?t=Dc(d,e):kl.test(d)&&(t=Nc(d,e))),t}function Dc(d,e){const t=Ml.exec(d),n=(t[4]|0)+(t[5]|0)/e.subFrameRate;return(t[1]|0)*3600+(t[2]|0)*60+(t[3]|0)+n/e.frameRate}function Nc(d,e){const t=kl.exec(d),n=Number(t[1]);switch(t[2]){case"h":return n*3600;case"m":return n*60;case"ms":return n*1e3;case"f":return n/e.frameRate;case"t":return n/e.tickRate}return n}class Oo{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(this.startTime===null||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Lc{constructor(e){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=zl(),this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},e.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(h.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(h.FRAG_LOADING,this.onFragLoading,this),e.on(h.FRAG_LOADED,this.onFragLoaded,this),e.on(h.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(h.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(h.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(h.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(h.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(h.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(h.FRAG_LOADING,this.onFragLoading,this),e.off(h.FRAG_LOADED,this.onFragLoaded,this),e.off(h.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(h.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(h.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(h.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(h.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new Oo(this,"textTrack1"),t=new Oo(this,"textTrack2"),n=new Oo(this,"textTrack3"),r=new Oo(this,"textTrack4");this.cea608Parser1=new Dl(1,e,t),this.cea608Parser2=new Dl(3,n,r)}addCues(e,t,n,r,s){let l=!1;for(let f=s.length;f--;){const E=s[f],m=Rc(E[0],E[1],t,n);if(m>=0&&(E[0]=Math.min(E[0],t),E[1]=Math.max(E[1],n),l=!0,m/(n-t)>.5))return}if(l||s.push([t,n]),this.config.renderTextTracksNatively){const f=this.captionsTracks[e];this.Cues.newCue(f,t,n,r)}else{const f=this.Cues.newCue(null,t,n,r);this.hls.trigger(h.CUES_PARSED,{type:"captions",cues:f,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:s}){const{unparsedVttFrags:l}=this;n===G.MAIN&&(this.initPTS[t.cc]={baseTime:r,timescale:s}),l.length&&(this.unparsedVttFrags=[],l.forEach(f=>{this.onFragLoaded(h.FRAG_LOADED,f)}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const s=n.textTracks[r];if(jl(s,{name:e,lang:t,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return s}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:n,media:r}=this,{label:s,languageCode:l}=t[e],f=this.getExistingTrack(s,l);if(f)n[e]=f,go(n[e]),vl(n[e],r);else{const E=this.createTextTrack("captions",s,l);E&&(E[e]=!0,n[e]=E)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const n=t.label,r={_id:e,label:n,kind:"captions",default:t.media?!!t.media.default:!1,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=r,this.hls.trigger(h.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}createTextTrack(e,t,n){const r=this.media;if(r)return r.addTextTrack(e,t,n)}onMediaAttaching(e,t){this.media=t.media,t.mediaSource||this._cleanTracks()}onMediaDetaching(e,t){const n=!!t.transferMedia;if(this.media=null,n)return;const{captionsTracks:r}=this;Object.keys(r).forEach(s=>{go(r[s]),delete r[s]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=zl(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let n=0;n<t.length;n++)go(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(s=>s.textCodec===el);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(cs(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const l=this.media,f=l?Lo(l.textTracks):null;if(this.tracks.forEach((E,m)=>{let A;if(f){let S=null;for(let Y=0;Y<f.length;Y++)if(f[Y]&&jl(f[Y],E)){S=f[Y],f[Y]=null;break}S&&(A=S)}if(A)go(A);else{const S=Ul(E);A=this.createTextTrack(S,E.name,E.lang),A&&(A.mode="disabled")}A&&this.textTracks.push(A)}),f!=null&&f.length){const E=f.filter(m=>m!==null).map(m=>m.label);E.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${E.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const l=this.tracks.map(f=>({label:f.name,kind:f.type.toLowerCase(),default:f.default,subtitleTrack:f}));this.hls.trigger(h.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:l})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach(n=>{const r=/(?:CC|SERVICE)([1-4])/.exec(n.instreamId);if(!r)return;const s=`textTrack${r[1]}`,l=this.captionsProperties[s];l&&(l.label=n.name,n.lang&&(l.languageCode=n.lang),l.media=n)})}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return t==null?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===G.MAIN){var n,r;const{cea608Parser1:s,cea608Parser2:l,lastSn:f}=this,{cc:E,sn:m}=t.frag,A=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;s&&l&&(m!==f+1||m===f&&A!==this.lastPartIndex+1||E!==this.lastCc)&&(s.reset(),l.reset()),this.lastCc=E,this.lastSn=m,this.lastPartIndex=A}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===G.SUBTITLE)if(r.byteLength){const s=n.decryptdata,l="stats"in t;if(s==null||!s.encrypted||l){const f=this.tracks[n.level],E=this.vttCCs;E[n.cc]||(E[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),f&&f.textCodec===el?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(h.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;Ol(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(h.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{n.logger.log(`Failed to parse IMSC1: ${r}`),n.trigger(h.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:r})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:s,unparsedVttFrags:l}=this,f=s.length-1;if(!s[n.cc]&&f===-1){l.push(e);return}const E=this.hls,m=(t=n.initSegment)!=null&&t.data?Me(n.initSegment.data,new Uint8Array(r)).buffer:r;Ic(m,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,A=>{this._appendCues(A,n.level),E.trigger(h.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},A=>{const S=A.message==="Missing initPTS for VTT MPEGTS";S?l.push(e):this._fallbackToIMSC1(n,r),E.logger.log(`Failed to parse VTT cue: ${A}`),!(S&&f>n.cc)&&E.trigger(h.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:A})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||Ol(t,this.initPTS[e.cc],()=>{n.textCodec=el,this._parseIMSC1(e,t)},()=>{n.textCodec="wvtt"})}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const r=this.textTracks[t];if(!r||r.mode==="disabled")return;e.forEach(s=>Al(r,s))}else{const r=this.tracks[t];if(!r)return;const s=r.default?"default":"subtitles"+t;n.trigger(h.CUES_PARSED,{type:"subtitles",cues:e,track:s})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===G.SUBTITLE&&this.onFragLoaded(h.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:n,samples:r}=t;if(!(n.type===G.MAIN&&this.closedCaptionsForLevel(n)==="NONE"))for(let s=0;s<r.length;s++){const l=r[s].bytes;if(l){this.cea608Parser1||this.initCea608Parsers();const f=this.extractCea608Data(l);this.cea608Parser1.addData(r[s].pts,f[0]),this.cea608Parser2.addData(r[s].pts,f[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:s}){const{media:l}=this;if(!(!l||l.currentTime<n)){if(!s||s==="video"){const{captionsTracks:f}=this;Object.keys(f).forEach(E=>Wo(f[E],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:f}=this;Object.keys(f).forEach(E=>Wo(f[E],t,r))}}}extractCea608Data(e){const t=[[],[]],n=e[0]&31;let r=2;for(let s=0;s<n;s++){const l=e[r++],f=127&e[r++],E=127&e[r++];if(f===0&&E===0)continue;if((4&l)!==0){const A=3&l;(A===0||A===1)&&(t[A].push(f),t[A].push(E))}}return t}}function Ul(d){return d.characteristics&&/transcribes-spoken-dialog/gi.test(d.characteristics)&&/describes-music-and-sound/gi.test(d.characteristics)?"captions":"subtitles"}function jl(d,e){return!!d&&d.kind===Ul(e)&&As(e,d)}function Rc(d,e,t,n){return Math.min(e,n)-Math.max(d,t)}function zl(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Mc=/\s/,kc={newCue(d,e,t,n){const r=[];let s,l,f,E,m;const A=self.VTTCue||self.TextTrackCue;for(let Y=0;Y<n.rows.length;Y++)if(s=n.rows[Y],f=!0,E=0,m="",!s.isEmpty()){var S;for(let Te=0;Te<s.chars.length;Te++)Mc.test(s.chars[Te].uchar)&&f?E++:(m+=s.chars[Te].uchar,f=!1);s.cueStartTime=e,e===t&&(t+=1e-4),E>=16?E--:E++;const q=Rl(m.trim()),ne=qo(e,t,q);d!=null&&(S=d.cues)!=null&&S.getCueById(ne)||(l=new A(e,t,q),l.id=ne,l.line=Y+1,l.align="left",l.position=10+Math.min(80,Math.floor(E*8/32)*10),r.push(l))}return d&&r.length&&(r.sort((Y,q)=>Y.line==="auto"||q.line==="auto"?0:Y.line>8&&q.line>8?q.line-Y.line:Y.line-q.line),r.forEach(Y=>Al(d,Y))),r}};function Oc(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(d){}return!1}const Pc=/(\d+)-(\d+)\/(\d+)/;class Hl{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||jc,this.controller=new self.AbortController,this.stats=new w}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const r=this.stats;if(r.loading.start)throw new Error("Loader can only be used once.");r.loading.start=self.performance.now();const s=Fc(e,this.controller.signal),l=e.responseType==="arraybuffer",f=l?"byteLength":"length",{maxTimeToFirstByteMs:E,maxLoadTimeMs:m}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,s),self.clearTimeout(this.requestTimeout),t.timeout=E&&a(E)?E:m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},t.timeout),(Un(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(S=>{var Y;this.response=this.loader=S;const q=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},m-(q-r.loading.start)),!S.ok){const{status:Te,statusText:Ae}=S;throw new zc(Ae||"fetch, bad network response",Te,S)}r.loading.first=q,r.total=Uc(S.headers)||r.total;const ne=(Y=this.callbacks)==null?void 0:Y.onProgress;return ne&&a(t.highWaterMark)?this.loadProgressively(S,r,e,t.highWaterMark,ne):l?S.arrayBuffer():e.responseType==="json"?S.json():S.text()}).then(S=>{var Y,q;const ne=this.response;if(!ne)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const Te=S[f];Te&&(r.loaded=r.total=Te);const Ae={url:ne.url,data:S,code:ne.status},We=(Y=this.callbacks)==null?void 0:Y.onProgress;We&&!a(t.highWaterMark)&&We(r,e,S,ne),(q=this.callbacks)==null||q.onSuccess(Ae,r,e,ne)}).catch(S=>{var Y;if(self.clearTimeout(this.requestTimeout),r.aborted)return;const q=S&&S.code||0,ne=S?S.message:null;(Y=this.callbacks)==null||Y.onError({code:q,text:ne},e,S?S.details:null,r)})}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,s){const l=new rs,f=e.body.getReader(),E=()=>f.read().then(m=>{if(m.done)return l.dataLength&&s(t,n,l.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const A=m.value,S=A.length;return t.loaded+=S,S<r||l.dataLength?(l.push(A),l.dataLength>=r&&s(t,n,l.flush().buffer,e)):s(t,n,A.buffer,e),E()}).catch(()=>Promise.reject());return E()}}function Fc(d,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(v({},d.headers))};return d.rangeEnd&&t.headers.set("Range","bytes="+d.rangeStart+"-"+String(d.rangeEnd-1)),t}function Bc(d){const e=Pc.exec(d);if(e)return parseInt(e[2])-parseInt(e[1])+1}function Uc(d){const e=d.get("Content-Range");if(e){const n=Bc(e);if(a(n))return n}const t=d.get("Content-Length");if(t)return parseInt(t)}function jc(d,e){return new self.Request(d.url,e)}class zc extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const Hc=/^age:\s*[\d.]+\s*$/im;class Gl{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new w,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,e.readyState!==4&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const s=this.xhrSetup;s?Promise.resolve().then(()=>{if(!(this.loader!==n||this.stats.aborted))return s(n,t.url)}).catch(l=>{if(!(this.loader!==n||this.stats.aborted))return n.open("GET",t.url,!0),s(n,t.url)}).then(()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)}).catch(l=>{var f;(f=this.callbacks)==null||f.onError({code:n.status,text:l.message},t,n,r)}):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const r=t.headers,{maxTimeToFirstByteMs:s,maxLoadTimeMs:l}=n.loadPolicy;if(r)for(const f in r)e.setRequestHeader(f,r[f]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=s&&a(s)?s:l,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,s=this.config;if(!n.aborted&&r>=2&&(n.loading.first===0&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),s.timeout!==s.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),s.timeout=s.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),r===4)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const m=t.status,A=t.responseType==="text"?t.responseText:null;if(m>=200&&m<300){const ne=A!=null?A:t.response;if(ne!=null){var l,f;n.loading.end=Math.max(self.performance.now(),n.loading.first);const Te=t.responseType==="arraybuffer"?ne.byteLength:ne.length;n.loaded=n.total=Te,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first);const Ae=(l=this.callbacks)==null?void 0:l.onProgress;Ae&&Ae(n,e,ne,t);const We={url:t.responseURL,data:ne,code:m};(f=this.callbacks)==null||f.onSuccess(We,n,e,t);return}}const S=s.loadPolicy.errorRetry,Y=n.retry,q={url:e.url,data:void 0,code:m};if($n(S,Y,!1,q))this.retry(S);else{var E;te.error(`${m} while loading ${e.url}`),(E=this.callbacks)==null||E.onError({code:m,text:t.statusText},e,t,n)}}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if($n(e,t,!0))this.retry(e);else{var n;te.warn(`timeout while loading ${(n=this.context)==null?void 0:n.url}`);const r=this.callbacks;r&&(this.abortInternal(),r.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=On(e,n.retry),n.retry++,te.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${t==null?void 0:t.url}, retrying ${n.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&Hc.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const Gc={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Yc=C(C({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Gl,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Dn,bufferController:cu,capLevelController:Ho,errorController:Sr,fpsController:Qu,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:qn,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Gc},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},Vc()),{},{subtitleStreamController:ac,subtitleTrackController:$u,timelineController:Lc,audioStreamController:di,audioTrackController:Js,emeController:po,cmcdController:Vu,contentSteeringController:Ku,interstitialsController:ic});function Vc(){return{cueHandler:kc,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function Wc(d,e,t){if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(e.liveMaxLatencyDurationCount!==void 0&&(e.liveSyncDurationCount===void 0||e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(e.liveMaxLatencyDuration!==void 0&&(e.liveSyncDuration===void 0||e.liveMaxLatencyDuration<=e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const n=il(d),r=["manifest","level","frag"],s=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return r.forEach(l=>{const f=`${l==="level"?"playlist":l}LoadPolicy`,E=e[f]===void 0,m=[];s.forEach(A=>{const S=`${l}Loading${A}`,Y=e[S];if(Y!==void 0&&E){m.push(S);const q=n[f].default;switch(e[f]={default:q},A){case"TimeOut":q.maxLoadTimeMs=Y,q.maxTimeToFirstByteMs=Y;break;case"MaxRetry":q.errorRetry.maxNumRetry=Y,q.timeoutRetry.maxNumRetry=Y;break;case"RetryDelay":q.errorRetry.retryDelayMs=Y,q.timeoutRetry.retryDelayMs=Y;break;case"MaxRetryTimeout":q.errorRetry.maxRetryDelayMs=Y,q.timeoutRetry.maxRetryDelayMs=Y;break}}}),m.length&&t.warn(`hls.js config: "${m.join('", "')}" setting(s) are deprecated, use "${f}": ${En(e[f])}`)}),C(C({},n),e)}function il(d){return d&&typeof d=="object"?Array.isArray(d)?d.map(il):Object.keys(d).reduce((e,t)=>(e[t]=il(d[t]),e),{}):d}function Kc(d,e){const t=d.loader;t!==Hl&&t!==Gl?(e.log("[config]: Custom loader detected, cannot enable progressive streaming"),d.progressive=!1):Oc()&&(d.loader=Hl,d.progressive=!0,d.enableSoftwareAES=!0,e.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Po=2,Qc=.1,Zc=.05,Xc=100;class $c extends Ni{constructor(e,t){super("gap-controller",e.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var n;(n=this.media)!=null&&n.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var n;this.ended=((n=this.media)==null?void 0:n.currentTime)||1,this.hls.trigger(h.MEDIA_ENDED,{stalled:!1})}},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;e&&(e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(e,t){this.setInterval(Xc),this.mediaSource=t.mediaSource;const n=this.media=t.media;_s(n,"playing",this.onMediaPlaying),_s(n,"waiting",this.onMediaWaiting),_s(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(fs(n,"playing",this.onMediaPlaying),fs(n,"waiting",this.onMediaWaiting),fs(n,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(e,t){this.buffered=t.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var e;if(!((e=this.media)!=null&&e.readyState)||!this.hasBuffered)return;const t=this.media.currentTime;this.poll(t,this.lastCurrentTime),this.lastCurrentTime=t}poll(e,t){var n,r;const s=(n=this.hls)==null?void 0:n.config;if(!s)return;const{media:l,stalled:f}=this;if(!l)return;const{seeking:E}=l,m=this.seeking&&!E,A=!this.seeking&&E,S=l.paused&&!E||l.ended||l.playbackRate===0;if(this.seeking=E,e!==t){t&&(this.ended=0),this.moved=!0,E||(this.nudgeRetry=0,s.nudgeOnVideoHole&&!S&&e>t&&this.nudgeOnVideoHole(e,t)),this.waiting===0&&this.stallResolved(e);return}if(A||m){m&&this.stallResolved(e);return}if(S){this.nudgeRetry=0,this.stallResolved(e),!this.ended&&l.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(h.MEDIA_ENDED,{stalled:!1}));return}if(!Xn.getBuffered(l).length){this.nudgeRetry=0;return}const Y=Xn.bufferInfo(l,e,0),q=Y.nextStart||0,ne=this.fragmentTracker;if(E&&ne&&this.hls){const on=Yl(this.hls.inFlightFragments,e),Bt=Y.len>Po,Xt=!q||on||q-e>Po&&!ne.getPartialFragment(e);if(Bt||Xt)return;this.moved=!1}const Te=(r=this.hls)==null?void 0:r.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ne){if(!(Y.len>0)&&!q)return;const Bt=Math.max(q,Y.start||0)-e,ln=!!(Te!=null&&Te.live)?Te.targetduration*2:Po,Vt=ne.getPartialFragment(e);if(Bt>0&&(Bt<=ln||Vt)){l.paused||this._trySkipBufferHole(Vt);return}}const Ae=s.detectStallWithCurrentTimeMs,We=self.performance.now(),pt=this.waiting;if(f===null){pt>0&&We-pt<Ae?this.stalled=pt:this.stalled=We;return}const et=We-f;if(!E&&(et>=Ae||pt)&&this.hls){var Rt;if(((Rt=this.mediaSource)==null?void 0:Rt.readyState)==="ended"&&!(Te!=null&&Te.live)&&Math.abs(e-((Te==null?void 0:Te.edge)||0))<1){if(this.ended)return;this.ended=e||1,this.hls.trigger(h.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(Y),!this.media||!this.hls)return}const kt=Xn.bufferInfo(l,e,s.maxBufferHole);this._tryFixBufferStall(kt,et)}stallResolved(e){const t=this.stalled;if(t&&this.hls&&(this.stalled=null,this.stallReported)){const n=self.performance.now()-t;this.log(`playback not stuck anymore @${e}, after ${Math.round(n)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(h.STALL_RESOLVED,{})}}nudgeOnVideoHole(e,t){var n;const r=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(n=this.buffered.audio)!=null&&n.length&&r&&r.length>1&&e>r.end(0)){const s=Xn.bufferedInfo(Xn.timeRangesToArray(this.buffered.audio),e,0);if(s.len>1&&t>=s.start){const l=Xn.timeRangesToArray(r),f=Xn.bufferedInfo(l,t,0).bufferedIndex;if(f>-1&&f<l.length-1){const E=Xn.bufferedInfo(l,e,0).bufferedIndex,m=l[f].end,A=l[f+1].start;if((E===-1||E>f)&&A-m<1&&e-m<2){const S=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${m} -> ${A} buffered index: ${E}`);this.warn(S.message),this.media.currentTime+=1e-6;const Y=this.fragmentTracker.getPartialFragment(e)||void 0,q=Xn.bufferInfo(this.media,e,0);this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:S,reason:S.message,frag:Y,buffer:q.len,bufferInfo:q})}}}}}_tryFixBufferStall(e,t){var n,r;const{fragmentTracker:s,media:l}=this,f=(n=this.hls)==null?void 0:n.config;if(!l||!s||!f)return;const E=l.currentTime,m=(r=this.hls)==null?void 0:r.latestLevelDetails,A=s.getPartialFragment(E);if((A||m!=null&&m.live&&E<m.fragmentStart)&&(this._trySkipBufferHole(A)||!this.media))return;const S=e.buffered;(S&&S.length>1&&e.len>f.maxBufferHole||e.nextStart&&e.nextStart-E<f.maxBufferHole)&&(t>f.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}_reportStall(e){const{hls:t,media:n,stallReported:r,stalled:s}=this;if(!r&&s!==null&&n&&t){this.stallReported=!0;const l=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${En(e)})`);this.warn(l.message),t.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_STALLED_ERROR,fatal:!1,error:l,buffer:e.len,bufferInfo:e,stalled:{start:s}})}}_trySkipBufferHole(e){var t;const{fragmentTracker:n,media:r}=this,s=(t=this.hls)==null?void 0:t.config;if(!r||!n||!s)return 0;const l=r.currentTime,f=Xn.bufferInfo(r,l,0),E=l<f.start?f.start:f.nextStart;if(E&&this.hls){const A=f.len<=s.maxBufferHole,S=f.len>0&&f.len<1&&r.readyState<3,Y=E-l;if(Y>0&&(A||S)){if(Y>s.maxBufferHole){let ne=!1;if(l===0){const Te=n.getAppendedFrag(0,G.MAIN);Te&&E<Te.end&&(ne=!0)}if(!ne){const Te=e||n.getAppendedFrag(l,G.MAIN);if(Te){var m;if(!((m=this.hls.loadLevelObj)!=null&&m.details)||Yl(this.hls.inFlightFragments,E))return 0;let We=!1,pt=Te.end;for(;pt<E;){const et=n.getPartialFragment(pt);if(et)pt+=et.duration;else{We=!0;break}}if(We)return 0}}}const q=Math.max(E+Zc,l+Qc);if(this.warn(`skipping hole, adjusting currentTime from ${l} to ${q}`),this.moved=!0,r.currentTime=q,!(e!=null&&e.gap)){const ne=new Error(`fragment loaded with buffer holes, seeking from ${l} to ${q}`);this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ne,reason:ne.message,frag:e||void 0,buffer:f.len,bufferInfo:f})}return q}}return 0}_tryNudgeBuffer(e){const{hls:t,media:n,nudgeRetry:r}=this,s=t==null?void 0:t.config;if(!n||!s)return 0;const l=n.currentTime;if(this.nudgeRetry++,r<s.nudgeMaxRetry){const f=l+(r+1)*s.nudgeOffset,E=new Error(`Nudging 'currentTime' from ${l} to ${f}`);this.warn(E.message),n.currentTime=f,t.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_NUDGE_ON_STALL,error:E,fatal:!1,buffer:e.len,bufferInfo:e})}else{const f=new Error(`Playhead still not moving while enough data buffered @${l} after ${s.nudgeMaxRetry} nudges`);this.error(f.message),t.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.BUFFER_STALLED_ERROR,error:f,fatal:!0,buffer:e.len,bufferInfo:e})}}}function Yl(d,e){const t=Vl(d.main);if(t&&t.start<=e)return t;const n=Vl(d.audio);return n&&n.start<=e?n:null}function Vl(d){if(!d)return null;switch(d.state){case qt.IDLE:case qt.STOPPED:case qt.ENDED:case qt.ERROR:return null}return d.frag}const Jc=.25;function al(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Wl(d,e,t,n,r){let s=new d(e,t,"");try{s.value=n,r&&(s.type=r)}catch(l){s=new d(e,t,En(r?C({type:r},n):n))}return s}const Fo=(()=>{const d=al();try{d&&new d(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function qc(d){return Uint8Array.from(d.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class ed{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(h.EVENT_CUE_ENTER,{})},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:e}=this;e.on(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(h.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(h.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(h.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(h.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(e,t){var n;this.media=t.media,((n=t.overrides)==null?void 0:n.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const e=this.hls.latestLevelDetails;e&&this.updateDateRangeCues(e)}onMediaDetaching(e,t){this.media=null,!t.transferMedia&&(this.id3Track&&(this.removeCues&&go(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const n=e[t];if(n.kind==="metadata"&&n.label==="id3")return vl(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:n,enableID3MetadataCues:r}}}=this;if(!n&&!r)return;const{samples:s}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const l=al();if(l)for(let f=0;f<s.length;f++){const E=s[f].type;if(E===Zi.emsg&&!n||!r)continue;const m=uo(s[f].data);if(m){const A=s[f].pts;let S=A+s[f].duration;S>Fo&&(S=Fo),S-A<=0&&(S=A+Jc);for(let q=0;q<m.length;q++){const ne=m[q];if(!Qs(ne)){this.updateId3CueEnds(A,E);const Te=Wl(l,A,S,ne,E);Te&&this.id3Track.addCue(Te)}}}}}updateId3CueEnds(e,t){var n;const r=(n=this.id3Track)==null?void 0:n.cues;if(r)for(let s=r.length;s--;){const l=r[s];l.type===t&&l.startTime<e&&l.endTime===Fo&&(l.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:s,hls:l}=this;if(!l)return;const{config:{enableEmsgMetadataCues:f,enableID3MetadataCues:E}}=l;if(s&&(f||E)){let m;r==="audio"?m=A=>A.type===Zi.audioId3&&E:r==="video"?m=A=>A.type===Zi.emsg&&f:m=A=>A.type===Zi.audioId3&&E||A.type===Zi.emsg&&f,Wo(s,t,n,m)}}onLevelUpdated(e,{details:t}){this.updateDateRangeCues(t,!0)}onLevelPtsUpdated(e,t){Math.abs(t.drift)>.01&&this.updateDateRangeCues(t.details)}updateDateRangeCues(e,t){if(!this.media||!e.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:n}=this,{dateRanges:r}=e,s=Object.keys(r);let l=this.dateRangeCuesAppended;if(n&&t){var f;if((f=n.cues)!=null&&f.length){const A=Object.keys(l).filter(S=>!s.includes(S));for(let S=A.length;S--;){const Y=A[S],q=l[Y].cues;delete l[Y],Object.keys(q).forEach(ne=>{try{const Te=q[ne];Te.removeEventListener("enter",this.onEventCueEnter),n.removeCue(Te)}catch(Te){}})}}else l=this.dateRangeCuesAppended={}}const E=e.fragments[e.fragments.length-1];if(s.length===0||!a(E==null?void 0:E.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const m=al();for(let A=0;A<s.length;A++){const S=s[A],Y=r[S],q=Y.startTime,ne=l[S],Te=(ne==null?void 0:ne.cues)||{};let Ae=(ne==null?void 0:ne.durationKnown)||!1,We=Fo;const{duration:pt,endDate:et}=Y;if(et&&pt!==null)We=q+pt,Ae=!0;else if(Y.endOnNext&&!Ae){const kt=s.reduce((on,Bt)=>{if(Bt!==Y.id){const Xt=r[Bt];if(Xt.class===Y.class&&Xt.startDate>Y.startDate&&(!on||Y.startDate<on.startDate))return Xt}return on},null);kt&&(We=kt.startTime,Ae=!0)}const Rt=Object.keys(Y.attr);for(let kt=0;kt<Rt.length;kt++){const on=Rt[kt];if(!Fi(on))continue;const Bt=Te[on];if(Bt)Ae&&!ne.durationKnown?Bt.endTime=We:Math.abs(Bt.startTime-q)>.01&&(Bt.startTime=q,Bt.endTime=We);else if(m){let Xt=Y.attr[on];aa(on)&&(Xt=qc(Xt));const Vt=Wl(m,q,We,{key:on,data:Xt},Zi.dateRange);Vt&&(Vt.id=S,this.id3Track.addCue(Vt),Te[on]=Vt,this.hls.config.interstitialsController&&(on==="X-ASSET-LIST"||on==="X-ASSET-URL")&&Vt.addEventListener("enter",this.onEventCueEnter))}}l[S]={cues:Te,dateRange:Y,durationKnown:Ae}}}}class td{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:t}=this,n=this.levelDetails;if(!t||!n)return;this.currentTime=t.currentTime;const r=this.computeLatency();if(r===null)return;this._latency=r;const{lowLatencyMode:s,maxLiveSyncPlaybackRate:l}=this.config;if(!s||l===1||!n.live)return;const f=this.targetLatency;if(f===null)return;const E=r-f,m=Math.min(this.maxLatency,f+n.targetduration);if(E<m&&E>.05&&this.forwardBufferLength>1){const S=Math.min(2,Math.max(1,l)),Y=Math.round(2/(1+Math.exp(-.75*E-this.edgeStalled))*20)/20,q=Math.min(S,Math.max(1,Y));this.changeMediaPlaybackRate(t,q)}else t.playbackRate!==1&&t.playbackRate!==0&&this.changeMediaPlaybackRate(t,1)},this.hls=e,this.config=e.config,this.registerListeners()}get levelDetails(){var e;return((e=this.hls)==null?void 0:e.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:e}=this;if(e.liveMaxLatencyDuration!==void 0)return e.liveMaxLatencyDuration;const t=this.levelDetails;return t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const e=this.levelDetails;if(e===null||this.hls===null)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:s,liveSyncDurationCount:l,lowLatencyMode:f}=this.config,E=this.hls.userConfig;let m=f&&n||t;(this._targetLatencyUpdated||E.liveSyncDuration||E.liveSyncDurationCount||m===0)&&(m=s!==void 0?s:l*r);const A=r;return m+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,A)}set targetLatency(e){this.stallCount=0,this.config.liveSyncDuration=e,this._targetLatencyUpdated=!0}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency;if(e===null||t===null)return null;const n=this.levelDetails;if(n===null)return null;const r=n.edge,s=e-t-this.edgeStalled,l=r-n.totalduration,f=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(l,s),f)}get drift(){const e=this.levelDetails;return e===null?1:e.drift}get edgeStalled(){const e=this.levelDetails;if(e===null)return 0;const t=(this.config.lowLatencyMode&&e.partTarget||e.targetduration)*3;return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e}=this,t=this.levelDetails;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:e}=this;e&&(e.on(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(h.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(h.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(h.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(h.ERROR,this.onError,this))}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){t.advanced&&this.onTimeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(e,t){var n;t.details===_.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(n=this.levelDetails)!=null&&n.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(e,t){var n,r;e.playbackRate!==t&&((n=this.hls)==null||n.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(r=this.targetLatency)==null?void 0:r.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${e.playbackRate} to ${t}`),e.playbackRate=t)}estimateLiveEdge(){const e=this.levelDetails;return e===null?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return e===null?null:e-this.currentTime}}class nd extends Sa{constructor(e,t){super(e,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(h.LEVEL_LOADED,this.onLevelLoaded,this),e.on(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(h.FRAG_BUFFERED,this.onFragBuffered,this),e.on(h.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(h.LEVEL_LOADED,this.onLevelLoaded,this),e.off(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(h.FRAG_BUFFERED,this.onFragBuffered,this),e.off(h.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(t=>{t.loadError=0,t.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=this.hls.config.preferManagedMediaSource,r=[],s={},l={};let f=!1,E=!1,m=!1;t.levels.forEach(A=>{var S;const Y=A.attrs;let{audioCodec:q,videoCodec:ne}=A;q&&(A.audioCodec=q=Dt(q,n)||void 0),((S=ne)==null?void 0:S.indexOf("avc1"))===0&&(ne=A.videoCodec=Ht(ne));const{width:Te,height:Ae,unknownCodecs:We}=A;let pt=We?We.length:0;if(We)for(let Sn=pt;Sn--;){const kn=We[Sn];this.isAudioSupported(kn)?(A.audioCodec=q=q?`${q},${kn}`:kn,pt--,Xe.audio[q.substring(0,4)]=2):this.isVideoSupported(kn)&&(A.videoCodec=ne=ne?`${ne},${kn}`:kn,pt--,Xe.video[ne.substring(0,4)]=2)}if(f||(f=!!(Te&&Ae)),E||(E=!!ne),m||(m=!!q),pt||q&&!this.isAudioSupported(q)||ne&&!this.isVideoSupported(ne)){this.log(`Some or all CODECS not supported "${Y.CODECS}"`);return}const{CODECS:et,"FRAME-RATE":Rt,"HDCP-LEVEL":kt,"PATHWAY-ID":on,RESOLUTION:Bt,"VIDEO-RANGE":Xt}=Y,Vt=`${`${on||"."}-`}${A.bitrate}-${Bt}-${Rt}-${et}-${Xt}-${kt}`;if(s[Vt])if(s[Vt].uri!==A.url&&!A.attrs["PATHWAY-ID"]){const Sn=l[Vt]+=1;A.attrs["PATHWAY-ID"]=new Array(Sn+1).join(".");const kn=this.createLevel(A);s[Vt]=kn,r.push(kn)}else s[Vt].addGroupId("audio",Y.AUDIO),s[Vt].addGroupId("text",Y.SUBTITLES);else{const Sn=this.createLevel(A);s[Vt]=Sn,l[Vt]=1,r.push(Sn)}}),this.filterAndSortMediaOptions(r,t,f,E,m)}createLevel(e){const t=new xt(e),n=e.supplemental;if(n!=null&&n.videoCodec&&!this.isVideoSupported(n.videoCodec)){const r=new Error(`SUPPLEMENTAL-CODECS not supported "${n.videoCodec}"`);this.log(r.message),t.supportedResult=bn(r,[])}return t}isAudioSupported(e){return Ge(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return Ge(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,s){let l=[],f=[],E=e;if((n||r)&&s&&(E=E.filter(({videoCodec:Ae,videoRange:We,width:pt,height:et})=>(!!Ae||!!(pt&&et))&&jn(We))),E.length===0){Promise.resolve().then(()=>{if(this.hls){let Ae="no level with compatible codecs found in manifest",We=Ae;t.levels.length&&(We=`one or more CODECS in variant not supported: ${En(t.levels.map(et=>et.attrs.CODECS).filter((et,Rt,kt)=>kt.indexOf(et)===Rt))}`,this.warn(We),Ae+=` (${We})`);const pt=new Error(Ae);this.hls.trigger(h.ERROR,{type:b.MEDIA_ERROR,details:_.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:pt,reason:We})}});return}t.audioTracks&&(l=t.audioTracks.filter(Ae=>!Ae.audioCodec||this.isAudioSupported(Ae.audioCodec)),Kl(l)),t.subtitles&&(f=t.subtitles,Kl(f));const m=E.slice(0);E.sort((Ae,We)=>{if(Ae.attrs["HDCP-LEVEL"]!==We.attrs["HDCP-LEVEL"])return(Ae.attrs["HDCP-LEVEL"]||"")>(We.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&Ae.height!==We.height)return Ae.height-We.height;if(Ae.frameRate!==We.frameRate)return Ae.frameRate-We.frameRate;if(Ae.videoRange!==We.videoRange)return Gn.indexOf(Ae.videoRange)-Gn.indexOf(We.videoRange);if(Ae.videoCodec!==We.videoCodec){const pt=pe(Ae.videoCodec),et=pe(We.videoCodec);if(pt!==et)return et-pt}if(Ae.uri===We.uri&&Ae.codecSet!==We.codecSet){const pt=me(Ae.codecSet),et=me(We.codecSet);if(pt!==et)return et-pt}return Ae.averageBitrate!==We.averageBitrate?Ae.averageBitrate-We.averageBitrate:0});let A=m[0];if(this.steering&&(E=this.steering.filterParsedLevels(E),E.length!==m.length)){for(let Ae=0;Ae<m.length;Ae++)if(m[Ae].pathwayId===E[0].pathwayId){A=m[Ae];break}}this._levels=E;for(let Ae=0;Ae<E.length;Ae++)if(E[Ae]===A){var S;this._firstLevel=Ae;const We=A.bitrate,pt=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${E.length} level(s) found, first bitrate: ${We}`),((S=this.hls.userConfig)==null?void 0:S.abrEwmaDefaultEstimate)===void 0){const et=Math.min(We,this.hls.config.abrEwmaDefaultEstimateMax);et>pt&&pt===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=et)}break}const Y=s&&!r,q=this.hls.config,ne=!!(q.audioStreamController&&q.audioTrackController),Te={levels:E,audioTracks:l,subtitleTracks:f,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:s,video:r,altAudio:ne&&!Y&&l.some(Ae=>!!Ae.url)};this.hls.trigger(h.MANIFEST_PARSED,Te)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const A=new Error("invalid level idx"),S=e<0;if(this.hls.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.LEVEL_SWITCH_ERROR,level:e,fatal:S,error:A,reason:A.message}),S)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,s=r?r.attrs["PATHWAY-ID"]:void 0,l=t[e],f=l.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=l,n===e&&r&&s===f)return;this.log(`Switching to level ${e} (${l.height?l.height+"p ":""}${l.videoRange?l.videoRange+" ":""}${l.codecSet?l.codecSet+" ":""}@${l.bitrate})${f?" with Pathway "+f:""} from level ${n}${s?" with Pathway "+s:""}`);const E={level:e,attrs:l.attrs,details:l.details,bitrate:l.bitrate,averageBitrate:l.averageBitrate,maxBitrate:l.maxBitrate,realBitrate:l.realBitrate,width:l.width,height:l.height,codecSet:l.codecSet,audioCodec:l.audioCodec,videoCodec:l.videoCodec,audioGroups:l.audioGroups,subtitleGroups:l.subtitleGroups,loaded:l.loaded,loadError:l.loadError,fragmentError:l.fragmentError,name:l.name,id:l.id,uri:l.uri,url:l.url,urlId:0,audioGroupIds:l.audioGroupIds,textGroupIds:l.textGroupIds};this.hls.trigger(h.LEVEL_SWITCHING,E);const m=l.details;if(!m||m.live){const A=this.switchParams(l.uri,r==null?void 0:r.details,m);this.loadPlaylist(A)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,this._startLevel===void 0&&(this._startLevel=e),e!==-1&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(this._startLevel===void 0){const e=this.hls.config.startLevel;return e!==void 0?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(e){if(this.steering){const t=this.steering.pathways(),n=e.filter(r=>t.indexOf(r)!==-1);if(e.length<1){this.warn(`pathwayPriority ${e} should contain at least one pathway from list: ${t}`);return}this.steering.pathwayPriority=n}}onError(e,t){t.fatal||!t.context||t.context.type===j.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===G.MAIN){const n=t.elementaryStreams;if(!Object.keys(n).some(s=>!!n[s]))return;const r=this._levels[t.level];r!=null&&r.loadError&&(this.log(`Resetting level error count of ${r.loadError} on frag buffered`),r.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:s}=t,l=t.levelInfo;if(!l){var f;this.warn(`Invalid level index ${r}`),(f=t.deliveryDirectives)!=null&&f.skip&&(s.deltaUpdateFailed=!0);return}if(l===this.currentLevel||t.withoutMultiVariant){l.fragmentError===0&&(l.loadError=0);let E=l.details;E===t.details&&E.advanced&&(E=void 0),this.playlistLoaded(r,t,E)}else(n=t.deliveryDirectives)!=null&&n.skip&&(s.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=this.getUrlWithDirectives(e.uri,t),r=this.currentLevelIndex,s=e.attrs["PATHWAY-ID"],l=e.details,f=l==null?void 0:l.age;this.log(`Loading level index ${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${s?" Pathway "+s:""}${f&&l.live?" age "+f.toFixed(1)+(l.type?" "+l.type||0:""):""} ${n}`),this.hls.trigger(h.LEVEL_LOADING,{url:n,level:r,levelInfo:e,pathwayId:e.attrs["PATHWAY-ID"],id:0,deliveryDirectives:t||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;if(this._levels.length===1)return;const n=this._levels.filter((s,l)=>l!==e?!0:(this.steering&&this.steering.removeLevel(s),s===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,s.details&&s.details.fragments.forEach(f=>f.level=-1)),!1));La(n),this._levels=n,this.currentLevelIndex>-1&&(t=this.currentLevel)!=null&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const r=n.length-1;this._firstLevel=Math.min(this._firstLevel,r),this._startLevel&&(this._startLevel=Math.min(this._startLevel,r)),this.hls.trigger(h.LEVELS_UPDATED,{levels:n})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:n}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(h.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function Kl(d){const e={};d.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}function Ql(){return self.SourceBuffer||self.WebKitSourceBuffer}function Zl(){if(!se())return!1;const e=Ql();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function rd(){if(!Zl())return!1;const d=se();return typeof(d==null?void 0:d.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(e=>d.isTypeSupported(ce(e,"video")))||["mp4a.40.2","fLaC"].some(e=>d.isTypeSupported(ce(e,"audio"))))}function id(){var d;const e=Ql();return typeof(e==null||(d=e.prototype)==null?void 0:d.changeType)=="function"}const ad=100;class sd extends Vi{constructor(e,t,n){super(e,t,n,"stream-controller",G.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const r=this.media,s=r?r.currentTime:null;if(s===null||!a(s)||(this.log(`Media seeked to ${s.toFixed(3)}`),!this.getBufferedFrag(s)))return;const l=this.getFwdBufferInfoAtPos(r,s,G.MAIN,0);if(l===null||l.len===0){this.warn(`Main forward buffer length at ${s} on "seeked" event ${l?l.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(h.MANIFEST_PARSED,this.onManifestParsed,this),e.on(h.LEVEL_LOADING,this.onLevelLoading,this),e.on(h.LEVEL_LOADED,this.onLevelLoaded,this),e.on(h.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(h.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(h.BUFFER_CREATED,this.onBufferCreated,this),e.on(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(h.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(h.MANIFEST_PARSED,this.onManifestParsed,this),e.off(h.LEVEL_LOADED,this.onLevelLoaded,this),e.off(h.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(h.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(h.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(h.BUFFER_CREATED,this.onBufferCreated,this),e.off(h.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(h.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(h.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(e,t){if(this.levels){const{lastCurrentTime:n,hls:r}=this;if(this.stopLoad(),this.setInterval(ad),this.level=-1,!this.startFragRequested){let s=r.startLevel;s===-1&&(r.config.testBandwidth&&this.levels.length>1?(s=0,this.bitrateTest=!0):s=r.firstAutoLevel),r.nextLoadLevel=s,this.level=r.loadLevel,this._hasEnoughToStart=!!t}n>0&&e===-1&&!t&&(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n),this.state=qt.IDLE,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=qt.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case qt.WAITING_LEVEL:{const{levels:t,level:n}=this,r=t==null?void 0:t[n],s=r==null?void 0:r.details;if(s&&(!s.live||this.levelLastLoaded===r&&!this.waitForLive(r))){if(this.waitForCdnTuneIn(s))break;this.state=qt.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=qt.IDLE;break}break}case qt.FRAG_LOADING_WAITING_RETRY:{var e;const t=self.performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,level:s}=this,l=r==null?void 0:r[s];this.resetStartWhenNotLoaded(l||null),this.state=qt.IDLE}}break}this.state===qt.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var e;super.onTickEnd(),(e=this.media)!=null&&e.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(t===null||!r&&!this.primaryPrefetch&&(this.startFragRequested||!e.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const s=this.buffering?e.nextLoadLevel:e.loadLevel;if(!(n!=null&&n[s]))return;const l=n[s],f=this.getMainFwdBufferInfo();if(f===null)return;const E=this.getLevelDetails();if(E&&this._streamEnded(f,E)){const Te={};this.altAudio===2&&(Te.type="video"),this.hls.trigger(h.BUFFER_EOS,Te),this.state=qt.ENDED;return}if(!this.buffering)return;e.loadLevel!==s&&e.manualLevel===-1&&this.log(`Adapting to level ${s} from level ${this.level}`),this.level=e.nextLoadLevel=s;const m=l.details;if(!m||this.state===qt.WAITING_LEVEL||this.waitForLive(l)){this.level=s,this.state=qt.WAITING_LEVEL,this.startFragRequested=!1;return}const A=f.len,S=this.getMaxBufferLength(l.maxBitrate);if(A>=S)return;this.backtrackFragment&&this.backtrackFragment.start>f.end&&(this.backtrackFragment=null);const Y=this.backtrackFragment?this.backtrackFragment.start:f.end;let q=this.getNextFragment(Y,m);if(this.couldBacktrack&&!this.fragPrevious&&q&&M(q)&&this.fragmentTracker.getState(q)!==Hn.OK){var ne;const Ae=((ne=this.backtrackFragment)!=null?ne:q).sn-m.startSN,We=m.fragments[Ae-1];We&&q.cc===We.cc&&(q=We,this.fragmentTracker.removeFragment(We))}else this.backtrackFragment&&f.len&&(this.backtrackFragment=null);if(q&&this.isLoopLoading(q,Y)){if(!q.gap){const Ae=this.audioOnly&&!this.altAudio?L.AUDIO:L.VIDEO,We=(Ae===L.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;We&&this.afterBufferFlushed(We,Ae,G.MAIN)}q=this.getNextFragmentLoopLoading(q,m,f,G.MAIN,S)}q&&(q.initSegment&&!q.initSegment.data&&!this.bitrateTest&&(q=q.initSegment),this.loadFragment(q,l,Y))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===Hn.NOT_LOADED||r===Hn.PARTIAL?M(e)?this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):super.loadFragment(e,t,n):this._loadInitSegment(e,t):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,G.MAIN)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(t!=null&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const s=this.getLevelDetails();if(s!=null&&s.live){const f=this.getMainFwdBufferInfo();if(!f||f.len<s.targetduration*2)return}if(!t.paused&&e){const f=this.hls.nextLoadLevel,E=e[f],m=this.fragLastKbps;m&&this.fragCurrent?n=this.fragCurrent.duration*E.maxBitrate/(1e3*m)+1:n=0}else n=0;const l=this.getBufferedFrag(t.currentTime+n);if(l){const f=this.followingBufferedFrag(l);if(f){this.abortCurrentFrag();const E=f.maxStartPTS?f.maxStartPTS:f.start,m=f.duration,A=Math.max(l.end,E+Math.min(Math.max(m-this.config.maxFragLookUpTolerance,m*(this.couldBacktrack?.5:.125)),m*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(A,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case qt.KEY_LOADING:case qt.FRAG_LOADING:case qt.FRAG_LOADING_WAITING_RETRY:case qt.PARSING:case qt.PARSED:this.state=qt.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio===2?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;_s(n,"playing",this.onMediaPlaying),_s(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(fs(n,"playing",this.onMediaPlaying),fs(n,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(e,t),!t.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(h.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(e,t){let n=!1,r=!1;t.levels.forEach(s=>{const l=s.audioCodec;l&&(n=n||l.indexOf("mp4a.40.2")!==-1,r=r||l.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=n&&r&&!id(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==qt.IDLE)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=qt.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:s}=this,l=t.level,f=t.details,E=f.totalduration;if(!r){this.warn(`Levels were reset while loading level ${l}`);return}this.log(`Level ${l} loaded [${f.startSN},${f.endSN}]${f.lastPartSn?`[part-${f.lastPartSn}-${f.lastPartIndex}]`:""}, cc [${f.startCC}, ${f.endCC}] duration:${E}`);const m=t.levelInfo,A=this.fragCurrent;A&&(this.state===qt.FRAG_LOADING||this.state===qt.FRAG_LOADING_WAITING_RETRY)&&A.level!==t.level&&A.loader&&this.abortCurrentFrag();let S=0;if(f.live||(n=m.details)!=null&&n.live){var Y;if(this.checkLiveUpdate(f),f.deltaUpdateFailed)return;S=this.alignPlaylists(f,m.details,(Y=this.levelLastLoaded)==null?void 0:Y.details)}if(m.details=f,this.levelLastLoaded=m,s||this.setStartPosition(f,S),this.hls.trigger(h.LEVEL_UPDATED,{details:f,level:l}),this.state===qt.WAITING_LEVEL){if(this.waitForCdnTuneIn(f))return;this.state=qt.IDLE}s&&f.live&&this.synchronizeToLiveEdge(f),this.tick()}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,s=this.getLoadPosition(),l=e.fragmentStart,f=e.edge,E=s>=l-t.maxFragLookUpTolerance&&s<=f;if(r!==null&&n.duration>r&&(s<r||!E)){const m=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!E&&n.readyState<4||s<f-m)&&(this._hasEnoughToStart||(this.nextLoadPosition=r),n.readyState&&(this.warn(`Playback: ${s.toFixed(3)} is located too far from the end of live sliding playlist: ${f}, reset currentTime to : ${r.toFixed(3)}`),n.currentTime=r))}}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:s}=e,{levels:l}=this;if(!l){this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const f=l[n.level];if(!f){this.warn(`Level ${n.level} not found on progress`);return}const E=f.details;if(!E){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const m=f.videoCodec,A=E.PTSKnown||!E.live,S=(t=n.initSegment)==null?void 0:t.data,Y=this._getAudioCodec(f),q=this.transmuxer=this.transmuxer||new Er(this.hls,G.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),ne=r?r.index:-1,Te=ne!==-1,Ae=new hi(n.level,n.sn,n.stats.chunkCount,s.byteLength,ne,Te),We=this.initPTS[n.cc];q.push(s,S,Y,m,n,r,E.totalduration,A,Ae,We)}onAudioTrackSwitching(e,t){const n=this.hls,r=this.altAudio===2;if(zn(t.url,n))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const l=this.fragCurrent;l&&(this.log("Switching to main audio track, cancel main fragment load"),l.abortRequests(),this.fragmentTracker.removeFragment(l)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(r){this.fragmentTracker.removeAllFragments(),n.once(h.BUFFER_FLUSHED,()=>{var l;(l=this.hls)==null||l.trigger(h.AUDIO_TRACK_SWITCHED,t)}),n.trigger(h.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}n.trigger(h.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=zn(t.url,this.hls);if(n){const r=this.videoBuffer;r&&this.mediaBuffer!==r&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n?2:0,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,s,l=!1;for(const f in n){const E=n[f];if(E.id==="main"){if(s=f,r=E,f==="video"){const m=n[f];m&&(this.videoBuffer=m.buffer)}}else l=!0}l&&r?(this.log(`Alternate track found, use ${s}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t,s=n.type===G.MAIN;if(s){if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),this.state===qt.PARSED&&(this.state=qt.IDLE);return}const f=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*f.total/(f.buffering.end-f.loading.first)),M(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const l=this.media;l&&(!this._hasEnoughToStart&&Xn.getBuffered(l).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),s&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(e,t){var n;if(t.fatal){this.state=qt.ERROR;return}switch(t.details){case _.FRAG_GAP:case _.FRAG_PARSING_ERROR:case _.FRAG_DECRYPT_ERROR:case _.FRAG_LOAD_ERROR:case _.FRAG_LOAD_TIMEOUT:case _.KEY_LOAD_ERROR:case _.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(G.MAIN,t);break;case _.LEVEL_LOAD_ERROR:case _.LEVEL_LOAD_TIMEOUT:case _.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===qt.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===j.LEVEL&&(this.state=qt.IDLE);break;case _.BUFFER_ADD_CODEC_ERROR:case _.BUFFER_APPEND_ERROR:if(t.parent!=="main")return;this.resetLoadingState();break;case _.BUFFER_FULL_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case _.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onFragLoadEmergencyAborted(){this.state=qt.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==L.AUDIO||!this.altAudio){const n=(t===L.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;n&&(this.afterBufferFlushed(n,t,G.MAIN),this.tick())}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t<n){if(e.seeking){this.log(`could not seek to ${n}, already seeking at ${t}`);return}const r=this.timelineOffset;r&&n&&(n+=r);const s=this.getLevelDetails(),l=Xn.getBuffered(e),f=l.length?l.start(0):0,E=f-n,m=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);E>0&&(E<m||this.loadingParts&&E<2*((s==null?void 0:s.partTarget)||0))&&(this.log(`adjusting start position by ${E} to match buffer start`),n+=E,this.startPosition=n),t<n&&(this.log(`seek to target start position ${n} from current time ${t} buffer start ${f}`),e.currentTime=n)}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t.indexOf("mp4a.40.5")!==-1?t="mp4a.40.2":t="mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then(n=>{const{hls:r}=this,s=n==null?void 0:n.frag;if(!s||this.fragContextChanged(s))return;t.fragmentError=0,this.state=qt.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const l=s.stats;l.parsing.start=l.parsing.end=l.buffering.start=l.buffering.end=self.performance.now(),r.trigger(h.FRAG_LOADED,n),s.bitrateTest=!1})}_handleTransmuxComplete(e){var t;const n=this.playlistType,{hls:r}=this,{remuxResult:s,chunkMeta:l}=e,f=this.getCurrentContext(l);if(!f){this.resetWhenMissingContext(l);return}const{frag:E,part:m,level:A}=f,{video:S,text:Y,id3:q,initSegment:ne}=s,{details:Te}=A,Ae=this.altAudio?void 0:s.audio;if(this.fragContextChanged(E)){this.fragmentTracker.removeFragment(E);return}if(this.state=qt.PARSING,ne){if(ne!=null&&ne.tracks){const et=E.initSegment||E;this._bufferInitSegment(A,ne.tracks,et,l),r.trigger(h.FRAG_PARSING_INIT_SEGMENT,{frag:et,id:n,tracks:ne.tracks})}const We=ne.initPTS,pt=ne.timescale;a(We)&&(this.initPTS[E.cc]={baseTime:We,timescale:pt},r.trigger(h.INIT_PTS_FOUND,{frag:E,id:n,initPTS:We,timescale:pt}))}if(S&&Te){Ae&&S.type==="audiovideo"&&this.logMuxedErr(E);const We=Te.fragments[E.sn-1-Te.startSN],pt=E.sn===Te.startSN,et=!We||E.cc>We.cc;if(s.independent!==!1){const{startPTS:Rt,endPTS:kt,startDTS:on,endDTS:Bt}=S;if(m)m.elementaryStreams[S.type]={startPTS:Rt,endPTS:kt,startDTS:on,endDTS:Bt};else if(S.firstKeyFrame&&S.independent&&l.id===1&&!et&&(this.couldBacktrack=!0),S.dropped&&S.independent){const Xt=this.getMainFwdBufferInfo(),ln=(Xt?Xt.end:this.getLoadPosition())+this.config.maxBufferHole,Vt=S.firstKeyFramePTS?S.firstKeyFramePTS:Rt;if(!pt&&ln<Vt-this.config.maxBufferHole&&!et){this.backtrack(E);return}else et&&(E.gap=!0);E.setElementaryStreamInfo(S.type,E.start,kt,E.start,Bt,!0)}else pt&&Rt-(Te.appliedTimelineOffset||0)>Po&&(E.gap=!0);E.setElementaryStreamInfo(S.type,Rt,kt,on,Bt),this.backtrackFragment&&(this.backtrackFragment=E),this.bufferFragmentData(S,E,m,l,pt||et)}else if(pt||et)E.gap=!0;else{this.backtrack(E);return}}if(Ae){const{startPTS:We,endPTS:pt,startDTS:et,endDTS:Rt}=Ae;m&&(m.elementaryStreams[L.AUDIO]={startPTS:We,endPTS:pt,startDTS:et,endDTS:Rt}),E.setElementaryStreamInfo(L.AUDIO,We,pt,et,Rt),this.bufferFragmentData(Ae,E,m,l)}if(Te&&q!=null&&(t=q.samples)!=null&&t.length){const We={id:n,frag:E,details:Te,samples:q.samples};r.trigger(h.FRAG_PARSING_METADATA,We)}if(Te&&Y){const We={id:n,frag:E,details:Te,samples:Y.samples};r.trigger(h.FRAG_PARSING_USERDATA,We)}}logMuxedErr(e){this.warn(`${M(e)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${e.url}`)}_bufferInitSegment(e,t,n,r){if(this.state!==qt.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&(delete t.audio,t.audiovideo&&this.logMuxedErr(n));const{audio:s,video:l,audiovideo:f}=t;if(s){let m=Kt(s.codec,e.audioCodec);m==="mp4a"&&(m="mp4a.40.5");const A=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){m&&(m.indexOf("mp4a.40.5")!==-1?m="mp4a.40.2":m="mp4a.40.5");const S=s.metadata;S&&"channelCount"in S&&(S.channelCount||1)!==1&&A.indexOf("firefox")===-1&&(m="mp4a.40.5")}m&&m.indexOf("mp4a.40.5")!==-1&&A.indexOf("android")!==-1&&s.container!=="audio/mpeg"&&(m="mp4a.40.2",this.log(`Android: force audio codec to ${m}`)),e.audioCodec&&e.audioCodec!==m&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${m}"`),s.levelCodec=m,s.id=G.MAIN,this.log(`Init audio buffer, container:${s.container}, codecs[selected/level/parsed]=[${m||""}/${e.audioCodec||""}/${s.codec}]`),delete t.audiovideo}if(l){l.levelCodec=e.videoCodec,l.id=G.MAIN;const m=l.codec;if((m==null?void 0:m.length)===4)switch(m){case"hvc1":case"hev1":l.codec="hvc1.1.6.L120.90";break;case"av01":l.codec="av01.0.04M.08";break;case"avc1":l.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${l.container}, codecs[level/parsed]=[${e.videoCodec||""}/${m}]${l.codec!==m?" parsed-corrected="+l.codec:""}${l.supplemental?" supplemental="+l.supplemental:""}`),delete t.audiovideo}f&&(this.log(`Init audiovideo buffer, container:${f.container}, codecs[level/parsed]=[${e.codecs}/${f.codec}]`),delete t.video,delete t.audio);const E=Object.keys(t);if(E.length){if(this.hls.trigger(h.BUFFER_CODECS,t),!this.hls)return;E.forEach(m=>{const S=t[m].initSegment;S!=null&&S.byteLength&&this.hls.trigger(h.BUFFER_APPENDING,{type:m,data:S,frag:n,part:null,chunkMeta:r,parent:n.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const e=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(e,G.MAIN)}get maxBufferLength(){const{levels:e,level:t}=this,n=e==null?void 0:e[t];return n?this.getMaxBufferLength(n.maxBitrate):this.config.maxBufferLength}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=qt.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(Xn.isBuffered(e,n)?t=this.getAppendedFrag(n):Xn.isBuffered(e,n+.1)&&(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const r=this.fragPlaying,s=t.level;(!r||t.sn!==r.sn||r.level!==s)&&(this.fragPlaying=t,this.hls.trigger(h.FRAG_CHANGED,{frag:t}),(!r||r.level!==s)&&this.hls.trigger(h.LEVEL_SWITCHED,{level:s}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){var e;if(this.fragPlaying)return this.fragPlaying;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;return a(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;if(a(t)){const n=this.getLevelDetails(),r=this.currentFrag||(n?Vn(null,n.fragments,t):null);if(r){const s=r.programDateTime;if(s!==null){const l=s+(t-r.start)*1e3;return new Date(l)}}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class od{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyUriToKeyInfo){const r=this.keyUriToKeyInfo[n].loader;if(r){var t;if(e&&e!==((t=r.context)==null?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=_.KEY_LOAD_ERROR,n,r,s){return new wr({type:b.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:s,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let s=0;s<t.length;s++){const l=t[s];if(r<=l.cc&&(n==="initSegment"||l.sn==="initSegment"||n<l.sn)){this.emeController.selectKeySystemFormat(l).then(f=>{l.setKeyFormat(f)});break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then(t=>this.loadInternal(e,t)):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const s=e.decryptdata;if(!s){const m=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,_.KEY_LOAD_ERROR,m))}const l=s.uri;if(!l)return Promise.reject(this.createKeyLoadError(e,_.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${l}"`)));let f=this.keyUriToKeyInfo[l];if((n=f)!=null&&n.decryptdata.key)return s.key=f.decryptdata.key,Promise.resolve({frag:e,keyInfo:f});if((r=f)!=null&&r.keyLoadPromise){var E;switch((E=f.mediaKeySessionContext)==null?void 0:E.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return f.keyLoadPromise.then(m=>(s.key=m.keyInfo.decryptdata.key,{frag:e,keyInfo:f}))}}switch(f=this.keyUriToKeyInfo[l]={decryptdata:s,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},s.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return s.keyFormat==="identity"?this.loadKeyHTTP(f,e):this.loadKeyEME(f,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(f,e);default:return Promise.reject(this.createKeyLoadError(e,_.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${s.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const r=this.emeController.loadKey(n);if(r)return(e.keyLoadPromise=r.then(s=>(e.mediaKeySessionContext=s,n))).catch(s=>{throw e.keyLoadPromise=null,s})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=n.loader,s=new r(n);return t.keyLoader=e.loader=s,e.keyLoadPromise=new Promise((l,f)=>{const E={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},m=n.keyLoadPolicy.default,A={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},S={onSuccess:(Y,q,ne,Te)=>{const{frag:Ae,keyInfo:We,url:pt}=ne;if(!Ae.decryptdata||We!==this.keyUriToKeyInfo[pt])return f(this.createKeyLoadError(Ae,_.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Te));We.decryptdata.key=Ae.decryptdata.key=new Uint8Array(Y.data),Ae.keyLoader=null,We.loader=null,l({frag:Ae,keyInfo:We})},onError:(Y,q,ne,Te)=>{this.resetLoader(q),f(this.createKeyLoadError(t,_.KEY_LOAD_ERROR,new Error(`HTTP Error ${Y.code} loading key ${Y.text}`),ne,C({url:E.url,data:void 0},Y)))},onTimeout:(Y,q,ne)=>{this.resetLoader(q),f(this.createKeyLoadError(t,_.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),ne))},onAbort:(Y,q,ne)=>{this.resetLoader(q),f(this.createKeyLoadError(t,_.INTERNAL_ABORTED,new Error("key loading aborted"),ne))}};s.load(E,A,S)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,s=n.loader;t.keyLoader===s&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],s&&s.destroy()}}function Xl(d){const{type:e}=d;switch(e){case j.AUDIO_TRACK:return G.AUDIO;case j.SUBTITLE_TRACK:return G.SUBTITLE;default:return G.MAIN}}function sl(d,e){let t=d.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class ld{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(h.MANIFEST_LOADING,this.onManifestLoading,this),e.on(h.LEVEL_LOADING,this.onLevelLoading,this),e.on(h.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(h.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(h.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(h.MANIFEST_LOADING,this.onManifestLoading,this),e.off(h.LEVEL_LOADING,this.onLevelLoading,this),e.off(h.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(h.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(h.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,s=n||r,l=new s(t);return this.loaders[e.type]=l,l}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:j.MANIFEST,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:s,url:l,deliveryDirectives:f,levelInfo:E}=t;this.load({id:n,level:r,pathwayId:s,responseType:"text",type:j.LEVEL,url:l,deliveryDirectives:f,levelOrTrack:E})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:s,deliveryDirectives:l,track:f}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:j.AUDIO_TRACK,url:s,deliveryDirectives:l,levelOrTrack:f})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:s,deliveryDirectives:l,track:f}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:j.SUBTITLE_TRACK,url:s,deliveryDirectives:l,levelOrTrack:f})}onLevelsUpdated(e,t){const n=this.loaders[j.LEVEL];if(n){const r=n.context;r&&!t.levels.some(s=>s===r.levelOrTrack)&&(n.abort(),delete this.loaders[j.LEVEL])}}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const m=this.hls.logger,A=r.context;if(A&&A.levelOrTrack===e.levelOrTrack&&(A.url===e.url||A.deliveryDirectives&&!e.deliveryDirectives)){A.url===e.url?m.log(`[playlist-loader]: ignore ${e.url} ongoing request`):m.log(`[playlist-loader]: ignore ${e.url} in favor of ${A.url}`);return}m.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let s;if(e.type===j.MANIFEST?s=n.manifestLoadPolicy.default:s=v({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),a((t=e.deliveryDirectives)==null?void 0:t.part)){let m;if(e.type===j.LEVEL&&e.level!==null?m=this.hls.levels[e.level].details:e.type===j.AUDIO_TRACK&&e.id!==null?m=this.hls.audioTracks[e.id].details:e.type===j.SUBTITLE_TRACK&&e.id!==null&&(m=this.hls.subtitleTracks[e.id].details),m){const A=m.partTarget,S=m.targetduration;if(A&&S){const Y=Math.max(A*3,S*.8)*1e3;s=v({},s,{maxTimeToFirstByteMs:Math.min(Y,s.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Y,s.maxTimeToFirstByteMs)})}}}const l=s.errorRetry||s.timeoutRetry||{},f={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:l.maxNumRetry||0,retryDelay:l.retryDelayMs||0,maxRetryDelay:l.maxRetryDelayMs||0},E={onSuccess:(m,A,S,Y)=>{const q=this.getInternalLoader(S);this.resetInternalLoader(S.type);const ne=m.data;if(ne.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(m,S,new Error("no EXTM3U delimiter"),Y||null,A);return}A.parsing.start=performance.now(),Ri.isMediaPlaylist(ne)||S.type!==j.MANIFEST?this.handleTrackOrLevelPlaylist(m,A,S,Y||null,q):this.handleMasterPlaylist(m,A,S,Y)},onError:(m,A,S,Y)=>{this.handleNetworkError(A,S,!1,m,Y)},onTimeout:(m,A,S)=>{this.handleNetworkError(A,S,!0,void 0,m)}};r.load(e,f,E)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:e,startPosition:t},forceStartLoad:n}=this.hls;(e||n)&&(this.hls.logger.log(`${e?"auto":"force"} startLoad with configured startPosition ${t}`),this.hls.startLoad(t))}handleMasterPlaylist(e,t,n,r){const s=this.hls,l=e.data,f=sl(e,n),E=Ri.parseMasterPlaylist(l,f);if(E.playlistParsingError){this.handleManifestParsingError(e,n,E.playlistParsingError,r,t);return}const{contentSteering:m,levels:A,sessionData:S,sessionKeys:Y,startTimeOffset:q,variableList:ne}=E;this.variableList=ne;const{AUDIO:Te=[],SUBTITLES:Ae,"CLOSED-CAPTIONS":We}=Ri.parseMasterPlaylistMedia(l,f,E);Te.length&&!Te.some(et=>!et.url)&&A[0].audioCodec&&!A[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),Te.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Rr({}),bitrate:0,url:""})),s.trigger(h.MANIFEST_LOADED,{levels:A,audioTracks:Te,subtitles:Ae,captions:We,contentSteering:m,url:f,stats:t,networkDetails:r,sessionData:S,sessionKeys:Y,startTimeOffset:q,variableList:ne})}handleTrackOrLevelPlaylist(e,t,n,r,s){const l=this.hls,{id:f,level:E,type:m}=n,A=sl(e,n),S=a(E)?E:a(f)?f:0,Y=Xl(n),q=Ri.parseLevelPlaylist(e.data,A,S,Y,0,this.variableList);if(m===j.MANIFEST){const ne={attrs:new Rr({}),bitrate:0,details:q,name:"",url:A};q.requestScheduled=t.loading.start+Ta(q,0),l.trigger(h.MANIFEST_LOADED,{levels:[ne],audioTracks:[],url:A,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=q,this.handlePlaylistLoaded(q,e,t,n,r,s)}handleManifestParsingError(e,t,n,r,s){this.hls.trigger(h.ERROR,{type:b.NETWORK_ERROR,details:_.MANIFEST_PARSING_ERROR,fatal:t.type===j.MANIFEST,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:s})}handleNetworkError(e,t,n=!1,r,s){let l=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===j.LEVEL?l+=`: ${e.level} id: ${e.id}`:(e.type===j.AUDIO_TRACK||e.type===j.SUBTITLE_TRACK)&&(l+=` id: ${e.id} group-id: "${e.groupId}"`);const f=new Error(l);this.hls.logger.warn(`[playlist-loader]: ${l}`);let E=_.UNKNOWN,m=!1;const A=this.getInternalLoader(e);switch(e.type){case j.MANIFEST:E=n?_.MANIFEST_LOAD_TIMEOUT:_.MANIFEST_LOAD_ERROR,m=!0;break;case j.LEVEL:E=n?_.LEVEL_LOAD_TIMEOUT:_.LEVEL_LOAD_ERROR,m=!1;break;case j.AUDIO_TRACK:E=n?_.AUDIO_TRACK_LOAD_TIMEOUT:_.AUDIO_TRACK_LOAD_ERROR,m=!1;break;case j.SUBTITLE_TRACK:E=n?_.SUBTITLE_TRACK_LOAD_TIMEOUT:_.SUBTITLE_LOAD_ERROR,m=!1;break}A&&this.resetInternalLoader(e.type);const S={type:b.NETWORK_ERROR,details:E,fatal:m,url:e.url,loader:A,context:e,error:f,networkDetails:t,stats:s};if(r){const Y=(t==null?void 0:t.url)||e.url;S.response=C({url:Y,data:void 0},r)}this.hls.trigger(h.ERROR,S)}handlePlaylistLoaded(e,t,n,r,s,l){const f=this.hls,{type:E,level:m,id:A,groupId:S,deliveryDirectives:Y}=r,q=sl(t,r),ne=Xl(r),Te=typeof r.level=="number"&&ne===G.MAIN?m:void 0;if(!e.fragments.length){const We=e.playlistParsingError=new Error("No Segments found in Playlist");f.trigger(h.ERROR,{type:b.NETWORK_ERROR,details:_.LEVEL_EMPTY_ERROR,fatal:!1,url:q,error:We,reason:We.message,response:t,context:r,level:Te,parent:ne,networkDetails:s,stats:n});return}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const Ae=e.playlistParsingError;if(Ae){if(this.hls.logger.warn(Ae),!f.config.ignorePlaylistParsingErrors){f.trigger(h.ERROR,{type:b.NETWORK_ERROR,details:_.LEVEL_PARSING_ERROR,fatal:!1,url:q,error:Ae,reason:Ae.message,response:t,context:r,level:Te,parent:ne,networkDetails:s,stats:n});return}e.playlistParsingError=null}switch(e.live&&l&&(l.getCacheAge&&(e.ageHeader=l.getCacheAge()||0),(!l.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),E){case j.MANIFEST:case j.LEVEL:f.trigger(h.LEVEL_LOADED,{details:e,levelInfo:r.levelOrTrack||f.levels[0],level:Te||0,id:A||0,stats:n,networkDetails:s,deliveryDirectives:Y,withoutMultiVariant:E===j.MANIFEST});break;case j.AUDIO_TRACK:f.trigger(h.AUDIO_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:A||0,groupId:S||"",stats:n,networkDetails:s,deliveryDirectives:Y});break;case j.SUBTITLE_TRACK:f.trigger(h.SUBTITLE_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:A||0,groupId:S||"",stats:n,networkDetails:s,deliveryDirectives:Y});break}}}class Fs{static get version(){return Xa}static isMSESupported(){return Zl()}static isSupported(){return rd()}static getMediaSource(){return se()}static get Events(){return h}static get MetadataSchema(){return Zi}static get ErrorTypes(){return b}static get ErrorDetails(){return _}static get DefaultConfig(){return Fs.defaultConfig?Fs.defaultConfig:Yc}static set DefaultConfig(e){Fs.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new ss,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const t=this.logger=le(e.debug||!1,"Hls instance",e.assetPlayerId),n=this.config=Wc(Fs.DefaultConfig,e,t);this.userConfig=e,n.progressive&&Kc(n,t);const{abrController:r,bufferController:s,capLevelController:l,errorController:f,fpsController:E}=n,m=new f(this),A=this.abrController=new r(this),S=new kr(this),Y=n.interstitialsController,q=Y?this.interstitialsController=new Y(this,Fs):null,ne=this.bufferController=new s(this,S),Te=this.capLevelController=new l(this),Ae=new E(this),We=new ld(this),pt=n.contentSteeringController,et=pt?new pt(this):null,Rt=this.levelController=new nd(this,et),kt=new ed(this),on=new od(this.config),Bt=this.streamController=new sd(this,S,on),Xt=this.gapController=new $c(this,S);Te.setStreamController(Bt),Ae.setStreamController(Bt);const ln=[We,Rt,Bt];q&&ln.splice(1,0,q),et&&ln.splice(1,0,et),this.networkControllers=ln;const Vt=[A,ne,Xt,Te,Ae,kt,S];this.audioTrackController=this.createController(n.audioTrackController,ln);const Sn=n.audioStreamController;Sn&&ln.push(this.audioStreamController=new Sn(this,S,on)),this.subtitleTrackController=this.createController(n.subtitleTrackController,ln);const kn=n.subtitleStreamController;kn&&ln.push(this.subtititleStreamController=new kn(this,S,on)),this.createController(n.timelineController,Vt),on.emeController=this.emeController=this.createController(n.emeController,Vt),this.cmcdController=this.createController(n.cmcdController,Vt),this.latencyController=this.createController(td,Vt),this.coreComponents=Vt,ln.push(m);const Hr=m.onErrorOut;typeof Hr=="function"&&this.on(h.ERROR,Hr,m),this.on(h.MANIFEST_LOADED,We.onManifestLoaded,We)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(n){if(this.logger.error("An internal error happened while handling event "+e+'. Error message: "'+n.message+'". Here is a stacktrace:',n),!this.triggeringException){this.triggeringException=!0;const r=e===h.ERROR;this.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.INTERNAL_EXCEPTION,fatal:r,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){this.logger.log("destroy"),this.trigger(h.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(t=>t.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(t=>t.destroy()),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){if(!e||"media"in e&&!e.media){const s=new Error(`attachMedia failed: invalid argument (${e})`);this.trigger(h.ERROR,{type:b.OTHER_ERROR,details:_.ATTACH_MEDIA_ERROR,fatal:!0,error:s});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const t="media"in e,n=t?e.media:e,r=t?e:{media:n};this._media=n,this.trigger(h.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(h.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(h.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=ae.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(h.MANIFEST_LOADING,{url:e})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(e=-1,t){this.logger.log(`startLoad(${e+(t?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let n=0;n<this.networkControllers.length&&(this.networkControllers[n].startLoad(e,t),!(!this.started||!this.networkControllers));n++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!(this.started||!this.networkControllers));e++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()}))}get inFlightFragments(){const e={[G.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[G.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[G.SUBTITLE]=this.subtititleStreamController.inFlightFrag),e}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const e=this._media,t=e==null?void 0:e.currentTime;this.detachMedia(),e&&(this.attachMedia(e),t&&this.startLoad(t))}removeLevel(e){this.levelController.removeLevel(e)}get sessionId(){let e=this._sessionId;return e||(e=this._sessionId=ls()),e}get levels(){const e=this.levelController.levels;return e||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){this.logger.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){this.logger.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){this.logger.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){this.logger.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return e===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){this.logger.log(`set startLevel:${e}`),e!==-1&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get abrEwmaDefaultEstimate(){const{bwEstimator:e}=this.abrController;return e?e.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(this.logger.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){yn(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r<n;r++)if(e[r].maxBitrate>=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(t===-1&&e!=null&&e.length?r=e.length-1:r=t,n)for(let s=r;s--;){const l=e[s].attrs["HDCP-LEVEL"];if(l&&l<=n)return s}return r}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(e){var t;return((t=this.audioTrackController)==null?void 0:t.setAudioOption(e))||null}setSubtitleOption(e){var t;return((t=this.subtitleTrackController)==null?void 0:t.setSubtitleOption(e))||null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return e?e.subtitleDisplay:!1}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(e){this.latencyController.targetLatency=e}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(e){this.levelController.pathwayPriority=e}get bufferedToEnd(){var e;return!!((e=this.bufferController)!=null&&e.bufferedToEnd)}get interstitialsManager(){var e;return((e=this.interstitialsController)==null?void 0:e.interstitialsManager)||null}getMediaDecodingInfo(e,t=this.allAudioTracks){const n=An(t);return mn(e,n,navigator.mediaCapabilities)}}Fs.defaultConfig=void 0},26735:function(k,p,o){"use strict";o.d(p,{f:function(){return y}});var a=o(80722);function y(T,b,_,h){const j=h?h-1:Number.POSITIVE_INFINITY;let G=0;return u;function u(U){return(0,a.xz)(U)?(T.enter(_),Q(U)):b(U)}function Q(U){return(0,a.xz)(U)&&G++<j?(T.consume(U),Q):(T.exit(_),b(U))}}},80722:function(k,p,o){"use strict";o.d(p,{AF:function(){return h},Av:function(){return b},B8:function(){return v},Ch:function(){return G},H$:function(){return y},Xh:function(){return U},jv:function(){return a},n9:function(){return T},pY:function(){return _},sR:function(){return j},xz:function(){return Q},z3:function(){return u}});const a=I(/[A-Za-z]/),y=I(/[\dA-Za-z]/),T=I(/[#-'*+\--9=?A-Z^-~]/);function b(C){return C!==null&&(C<32||C===127)}const _=I(/\d/),h=I(/[\dA-Fa-f]/),j=I(/[!-/:-@[-`{-~]/);function G(C){return C!==null&&C<-2}function u(C){return C!==null&&(C<0||C===32)}function Q(C){return C===-2||C===-1||C===32}const U=I(new RegExp("\\p{P}|\\p{S}","u")),v=I(/\s/);function I(C){return P;function P(X){return X!==null&&X>-1&&C.test(String.fromCharCode(X))}}},58222:function(k,p,o){"use strict";o.d(p,{dy:function(){return P},YP:function(){return X}});class a{constructor(z,N,F){this.normal=N,this.property=z,F&&(this.space=F)}}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;function y(V,z){const N={},F={};for(const B of V)Object.assign(N,B.property),Object.assign(F,B.normal);return new a(N,F,z)}var T=o(64326),b=o(95516);function _(V){const z={},N={};for(const[F,B]of Object.entries(V.properties)){const W=new b.I(F,V.transform(V.attributes||{},F),B,V.space);V.mustUseProperty&&V.mustUseProperty.includes(F)&&(W.mustUseProperty=!0),z[F]=W,N[(0,T.F)(F)]=F,N[(0,T.F)(W.attribute)]=F}return new a(z,N,V.space)}var h=o(56488);const j=_({properties:{ariaActiveDescendant:null,ariaAtomic:h.booleanish,ariaAutoComplete:null,ariaBusy:h.booleanish,ariaChecked:h.booleanish,ariaColCount:h.number,ariaColIndex:h.number,ariaColSpan:h.number,ariaControls:h.spaceSeparated,ariaCurrent:null,ariaDescribedBy:h.spaceSeparated,ariaDetails:null,ariaDisabled:h.booleanish,ariaDropEffect:h.spaceSeparated,ariaErrorMessage:null,ariaExpanded:h.booleanish,ariaFlowTo:h.spaceSeparated,ariaGrabbed:h.booleanish,ariaHasPopup:null,ariaHidden:h.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:h.spaceSeparated,ariaLevel:h.number,ariaLive:null,ariaModal:h.booleanish,ariaMultiLine:h.booleanish,ariaMultiSelectable:h.booleanish,ariaOrientation:null,ariaOwns:h.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:h.number,ariaPressed:h.booleanish,ariaReadOnly:h.booleanish,ariaRelevant:null,ariaRequired:h.booleanish,ariaRoleDescription:h.spaceSeparated,ariaRowCount:h.number,ariaRowIndex:h.number,ariaRowSpan:h.number,ariaSelected:h.booleanish,ariaSetSize:h.number,ariaSort:null,ariaValueMax:h.number,ariaValueMin:h.number,ariaValueNow:h.number,ariaValueText:null,role:null},transform(V,z){return z==="role"?z:"aria-"+z.slice(4).toLowerCase()}});function G(V,z){return z in V?V[z]:z}function u(V,z){return G(V,z.toLowerCase())}const Q=_({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h.commaSeparated,acceptCharset:h.spaceSeparated,accessKey:h.spaceSeparated,action:null,allow:null,allowFullScreen:h.boolean,allowPaymentRequest:h.boolean,allowUserMedia:h.boolean,alt:null,as:null,async:h.boolean,autoCapitalize:null,autoComplete:h.spaceSeparated,autoFocus:h.boolean,autoPlay:h.boolean,blocking:h.spaceSeparated,capture:null,charSet:null,checked:h.boolean,cite:null,className:h.spaceSeparated,cols:h.number,colSpan:null,content:null,contentEditable:h.booleanish,controls:h.boolean,controlsList:h.spaceSeparated,coords:h.number|h.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:h.boolean,defer:h.boolean,dir:null,dirName:null,disabled:h.boolean,download:h.overloadedBoolean,draggable:h.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:h.boolean,formTarget:null,headers:h.spaceSeparated,height:h.number,hidden:h.boolean,high:h.number,href:null,hrefLang:null,htmlFor:h.spaceSeparated,httpEquiv:h.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:h.boolean,inputMode:null,integrity:null,is:null,isMap:h.boolean,itemId:null,itemProp:h.spaceSeparated,itemRef:h.spaceSeparated,itemScope:h.boolean,itemType:h.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:h.boolean,low:h.number,manifest:null,max:null,maxLength:h.number,media:null,method:null,min:null,minLength:h.number,multiple:h.boolean,muted:h.boolean,name:null,nonce:null,noModule:h.boolean,noValidate:h.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:h.boolean,optimum:h.number,pattern:null,ping:h.spaceSeparated,placeholder:null,playsInline:h.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:h.boolean,referrerPolicy:null,rel:h.spaceSeparated,required:h.boolean,reversed:h.boolean,rows:h.number,rowSpan:h.number,sandbox:h.spaceSeparated,scope:null,scoped:h.boolean,seamless:h.boolean,selected:h.boolean,shadowRootClonable:h.boolean,shadowRootDelegatesFocus:h.boolean,shadowRootMode:null,shape:null,size:h.number,sizes:null,slot:null,span:h.number,spellCheck:h.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h.number,step:null,style:null,tabIndex:h.number,target:null,title:null,translate:null,type:null,typeMustMatch:h.boolean,useMap:null,value:h.booleanish,width:h.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:h.spaceSeparated,axis:null,background:null,bgColor:null,border:h.number,borderColor:null,bottomMargin:h.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:h.boolean,declare:h.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:h.number,leftMargin:h.number,link:null,longDesc:null,lowSrc:null,marginHeight:h.number,marginWidth:h.number,noResize:h.boolean,noHref:h.boolean,noShade:h.boolean,noWrap:h.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:h.number,rules:null,scheme:null,scrolling:h.booleanish,standby:null,summary:null,text:null,topMargin:h.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:h.boolean,disableRemotePlayback:h.boolean,prefix:null,property:null,results:h.number,security:null,unselectable:null},space:"html",transform:u}),U=_({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:h.commaOrSpaceSeparated,accentHeight:h.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h.number,amplitude:h.number,arabicForm:null,ascent:h.number,attributeName:null,attributeType:null,azimuth:h.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h.number,by:null,calcMode:null,capHeight:h.number,className:h.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h.number,diffuseConstant:h.number,direction:null,display:null,dur:null,divisor:h.number,dominantBaseline:null,download:h.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:h.number,enableBackground:null,end:null,event:null,exponent:h.number,externalResourcesRequired:null,fill:null,fillOpacity:h.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h.commaSeparated,g2:h.commaSeparated,glyphName:h.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h.number,horizOriginX:h.number,horizOriginY:h.number,id:null,ideographic:h.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h.number,k:h.number,k1:h.number,k2:h.number,k3:h.number,k4:h.number,kernelMatrix:h.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h.number,overlineThickness:h.number,paintOrder:null,panose1:null,path:null,pathLength:h.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:h.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h.number,pointsAtY:h.number,pointsAtZ:h.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:h.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:h.commaOrSpaceSeparated,rev:h.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:h.commaOrSpaceSeparated,requiredFeatures:h.commaOrSpaceSeparated,requiredFonts:h.commaOrSpaceSeparated,requiredFormats:h.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h.number,specularExponent:h.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h.number,strikethroughThickness:h.number,string:null,stroke:null,strokeDashArray:h.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h.number,strokeOpacity:h.number,strokeWidth:null,style:null,surfaceScale:h.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:h.commaOrSpaceSeparated,tabIndex:h.number,tableValues:null,target:null,targetX:h.number,targetY:h.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:h.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h.number,underlineThickness:h.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h.number,values:null,vAlphabetic:h.number,vMathematical:h.number,vectorEffect:null,vHanging:h.number,vIdeographic:h.number,version:null,vertAdvY:h.number,vertOriginX:h.number,vertOriginY:h.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:G}),v=_({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(V,z){return"xlink:"+z.slice(5).toLowerCase()}}),I=_({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:u}),C=_({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(V,z){return"xml:"+z.slice(3).toLowerCase()}}),P=y([j,Q,v,I,C],"html"),X=y([j,U,v,I,C],"svg")},84837:function(k,p,o){"use strict";o.d(p,{s:function(){return j}});var a=o(95516),y=o(56038),T=o(64326);const b=/[A-Z]/g,_=/-[a-z]/g,h=/^data[-\w.:]+$/i;function j(Q,U){const v=(0,T.F)(U);let I=U,C=y.k;if(v in Q.normal)return Q.property[Q.normal[v]];if(v.length>4&&v.slice(0,4)==="data"&&h.test(U)){if(U.charAt(4)==="-"){const P=U.slice(5).replace(_,u);I="data"+P.charAt(0).toUpperCase()+P.slice(1)}else{const P=U.slice(4);if(!_.test(P)){let X=P.replace(b,G);X.charAt(0)!=="-"&&(X="-"+X),U="data"+X}}C=a.I}return new C(I,U)}function G(Q){return"-"+Q.toLowerCase()}function u(Q){return Q.charAt(1).toUpperCase()}},64326:function(k,p,o){"use strict";o.d(p,{F:function(){return a}});function a(y){return y.toLowerCase()}},95516:function(k,p,o){"use strict";o.d(p,{I:function(){return b}});var a=o(56038),y=o(56488);const T=Object.keys(y);class b extends a.k{constructor(j,G,u,Q){let U=-1;if(super(j,G),_(this,"space",Q),typeof u=="number")for(;++U<T.length;){const v=T[U];_(this,T[U],(u&y[v])===y[v])}}}b.prototype.defined=!0;function _(h,j,G){G&&(h[j]=G)}},56038:function(k,p,o){"use strict";o.d(p,{k:function(){return a}});class a{constructor(T,b){this.attribute=b,this.property=T}}a.prototype.attribute="",a.prototype.booleanish=!1,a.prototype.boolean=!1,a.prototype.commaOrSpaceSeparated=!1,a.prototype.commaSeparated=!1,a.prototype.defined=!1,a.prototype.mustUseProperty=!1,a.prototype.number=!1,a.prototype.overloadedBoolean=!1,a.prototype.property="",a.prototype.spaceSeparated=!1,a.prototype.space=void 0},56488:function(k,p,o){"use strict";o.r(p),o.d(p,{boolean:function(){return y},booleanish:function(){return T},commaOrSpaceSeparated:function(){return G},commaSeparated:function(){return j},number:function(){return _},overloadedBoolean:function(){return b},spaceSeparated:function(){return h}});let a=0;const y=u(),T=u(),b=u(),_=u(),h=u(),j=u(),G=u();function u(){return jo(2,++a)}},96536:function(k,p,o){"use strict";o.d(p,{UG:function(){return Qs}});var a={};o.r(a),o.d(a,{attentionMarkers:function(){return bi},contentInitial:function(){return ta},disable:function(){return Jr},document:function(){return aa},flow:function(){return Ji},flowInitial:function(){return $i},insideSpan:function(){return gi},string:function(){return Li},text:function(){return Bi}});var y=o(87342),T=o(11630);const b=/[$_\p{ID_Start}]/u,_=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,h=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,j=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,G=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u={};function Q(g){return g?b.test(String.fromCodePoint(g)):!1}function U(g,x){const K=(x||u).jsx?h:_;return g?K.test(String.fromCodePoint(g)):!1}function v(g,x){return((x||u).jsx?G:j).test(g)}const I=/[ \t\n\f\r]/g;function C(g){return typeof g=="object"?g.type==="text"?P(g.value):!1:P(g)}function P(g){return g.replace(I,"")===""}var X=o(58222),V=o(84837);const z={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var N=o(71523),F=o(77179),B=o(17970);function W(g){return!g||typeof g!="object"?"":"position"in g||"type"in g?le(g.position):"start"in g||"end"in g?le(g):"line"in g||"column"in g?H(g):""}function H(g){return te(g&&g.line)+":"+te(g&&g.column)}function le(g){return H(g&&g.start)+"-"+H(g&&g.end)}function te(g){return g&&typeof g=="number"?g:1}class se extends Error{constructor(x,O,K){super(),typeof O=="string"&&(K=O,O=void 0);let de="",ge={},Ce=!1;if(O&&("line"in O&&"column"in O?ge={place:O}:"start"in O&&"end"in O?ge={place:O}:"type"in O?ge={ancestors:[O],place:O.position}:ge=yr({},O)),typeof x=="string"?de=x:!ge.cause&&x&&(Ce=!0,de=x.message,ge.cause=x),!ge.ruleId&&!ge.source&&typeof K=="string"){const Tt=K.indexOf(":");Tt===-1?ge.ruleId=K:(ge.source=K.slice(0,Tt),ge.ruleId=K.slice(Tt+1))}if(!ge.place&&ge.ancestors&&ge.ancestors){const Tt=ge.ancestors[ge.ancestors.length-1];Tt&&(ge.place=Tt.position)}const Ve=ge.place&&"start"in ge.place?ge.place.start:ge.place;this.ancestors=ge.ancestors||void 0,this.cause=ge.cause||void 0,this.column=Ve?Ve.column:void 0,this.fatal=void 0,this.file,this.message=de,this.line=Ve?Ve.line:void 0,this.name=W(ge.place)||"1:1",this.place=ge.place||void 0,this.reason=this.message,this.ruleId=ge.ruleId||void 0,this.source=ge.source||void 0,this.stack=Ce&&ge.cause&&typeof ge.cause.stack=="string"?ge.cause.stack:"",this.actual,this.expected,this.note,this.url}}se.prototype.file="",se.prototype.name="",se.prototype.reason="",se.prototype.message="",se.prototype.stack="",se.prototype.column=void 0,se.prototype.line=void 0,se.prototype.ancestors=void 0,se.prototype.cause=void 0,se.prototype.fatal=void 0,se.prototype.place=void 0,se.prototype.ruleId=void 0,se.prototype.source=void 0;const Ee={}.hasOwnProperty,he=new Map,ve=/[A-Z]/g,J=new Set(["table","tbody","thead","tfoot","tr"]),Z=new Set(["td","th"]),ie="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ue(g,x){if(!x||x.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const O=x.filePath||void 0;let K;if(x.development){if(typeof x.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");K=st(O,x.jsxDEV)}else{if(typeof x.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof x.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");K=dt(O,x.jsx,x.jsxs)}const de={Fragment:x.Fragment,ancestors:[],components:x.components||{},create:K,elementAttributeNameCase:x.elementAttributeNameCase||"react",evaluater:x.createEvaluater?x.createEvaluater():void 0,filePath:O,ignoreInvalidStyle:x.ignoreInvalidStyle||!1,passKeys:x.passKeys!==!1,passNode:x.passNode||!1,schema:x.space==="svg"?X.YP:X.dy,stylePropertyNameCase:x.stylePropertyNameCase||"dom",tableCellAlignToStyle:x.tableCellAlignToStyle!==!1},ge=fe(de,g,void 0);return ge&&typeof ge!="string"?ge:de.create(g,de.Fragment,{children:ge||void 0},void 0)}function fe(g,x,O){if(x.type==="element")return ae(g,x,O);if(x.type==="mdxFlowExpression"||x.type==="mdxTextExpression")return w(g,x);if(x.type==="mdxJsxFlowElement"||x.type==="mdxJsxTextElement")return oe(g,x,O);if(x.type==="mdxjsEsm")return L(g,x);if(x.type==="root")return M(g,x,O);if(x.type==="text")return De(g,x)}function ae(g,x,O){const K=g.schema;let de=K;x.tagName.toLowerCase()==="svg"&&K.space==="html"&&(de=X.YP,g.schema=de),g.ancestors.push(x);const ge=en(g,x.tagName,!1),Ce=it(g,x);let Ve=zt(g,x);return J.has(x.tagName)&&(Ve=Ve.filter(function(Tt){return typeof Tt=="string"?!C(Tt):!0})),Fe(g,Ce,ge,x),Re(Ce,Ve),g.ancestors.pop(),g.schema=K,g.create(x,ge,Ce,O)}function w(g,x){if(x.data&&x.data.estree&&g.evaluater){const K=x.data.estree.body[0];return(0,y.ok)(K.type==="ExpressionStatement"),g.evaluater.evaluateExpression(K.expression)}rn(g,x.position)}function L(g,x){if(x.data&&x.data.estree&&g.evaluater)return g.evaluater.evaluateProgram(x.data.estree);rn(g,x.position)}function oe(g,x,O){const K=g.schema;let de=K;x.name==="svg"&&K.space==="html"&&(de=X.YP,g.schema=de),g.ancestors.push(x);const ge=x.name===null?g.Fragment:en(g,x.name,!0),Ce=lt(g,x),Ve=zt(g,x);return Fe(g,Ce,ge,x),Re(Ce,Ve),g.ancestors.pop(),g.schema=K,g.create(x,ge,Ce,O)}function M(g,x,O){const K={};return Re(K,zt(g,x)),g.create(x,g.Fragment,K,O)}function De(g,x){return x.value}function Fe(g,x,O,K){typeof O!="string"&&O!==g.Fragment&&g.passNode&&(x.node=K)}function Re(g,x){if(x.length>0){const O=x.length>1?x:x[0];O&&(g.children=O)}}function dt(g,x,O){return K;function K(de,ge,Ce,Ve){const yt=Array.isArray(Ce.children)?O:x;return Ve?yt(ge,Ce,Ve):yt(ge,Ce)}}function st(g,x){return O;function O(K,de,ge,Ce){const Ve=Array.isArray(ge.children),Tt=(0,B.Pk)(K);return x(de,ge,Ce,Ve,{columnNumber:Tt?Tt.column-1:void 0,fileName:g,lineNumber:Tt?Tt.line:void 0},void 0)}}function it(g,x){const O={};let K,de;for(de in x.properties)if(de!=="children"&&Ee.call(x.properties,de)){const ge=nn(g,de,x.properties[de]);if(ge){const[Ce,Ve]=ge;g.tableCellAlignToStyle&&Ce==="align"&&typeof Ve=="string"&&Z.has(x.tagName)?K=Ve:O[Ce]=Ve}}if(K){const ge=O.style||(O.style={});ge[g.stylePropertyNameCase==="css"?"text-align":"textAlign"]=K}return O}function lt(g,x){const O={};for(const K of x.attributes)if(K.type==="mdxJsxExpressionAttribute")if(K.data&&K.data.estree&&g.evaluater){const ge=K.data.estree.body[0];(0,y.ok)(ge.type==="ExpressionStatement");const Ce=ge.expression;(0,y.ok)(Ce.type==="ObjectExpression");const Ve=Ce.properties[0];(0,y.ok)(Ve.type==="SpreadElement"),Object.assign(O,g.evaluater.evaluateExpression(Ve.argument))}else rn(g,x.position);else{const de=K.name;let ge;if(K.value&&typeof K.value=="object")if(K.value.data&&K.value.data.estree&&g.evaluater){const Ve=K.value.data.estree.body[0];(0,y.ok)(Ve.type==="ExpressionStatement"),ge=g.evaluater.evaluateExpression(Ve.expression)}else rn(g,x.position);else ge=K.value===null?!0:K.value;O[de]=ge}return O}function zt(g,x){const O=[];let K=-1;const de=g.passKeys?new Map:he;for(;++K<x.children.length;){const ge=x.children[K];let Ce;if(g.passKeys){const Tt=ge.type==="element"?ge.tagName:ge.type==="mdxJsxFlowElement"||ge.type==="mdxJsxTextElement"?ge.name:void 0;if(Tt){const yt=de.get(Tt)||0;Ce=Tt+"-"+yt,de.set(Tt,yt+1)}}const Ve=fe(g,ge,Ce);Ve!==void 0&&O.push(Ve)}return O}function nn(g,x,O){const K=(0,V.s)(g.schema,x);if(!(O==null||typeof O=="number"&&Number.isNaN(O))){if(Array.isArray(O)&&(O=K.commaSeparated?(0,T.P)(O):(0,N.P)(O)),K.property==="style"){let de=typeof O=="object"?O:Mt(g,String(O));return g.stylePropertyNameCase==="css"&&(de=rt(de)),["style",de]}return[g.elementAttributeNameCase==="react"&&K.space?z[K.property]||K.property:K.attribute,O]}}function Mt(g,x){try{return F(x,{reactCompat:!0})}catch(O){if(g.ignoreInvalidStyle)return{};const K=O,de=new se("Cannot parse `style` attribute",{ancestors:g.ancestors,cause:K,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw de.file=g.filePath||void 0,de.url=ie+"#cannot-parse-style-attribute",de}}function en(g,x,O){let K;if(!O)K={type:"Literal",value:x};else if(x.includes(".")){const de=x.split(".");let ge=-1,Ce;for(;++ge<de.length;){const Ve=v(de[ge])?{type:"Identifier",name:de[ge]}:{type:"Literal",value:de[ge]};Ce=Ce?{type:"MemberExpression",object:Ce,property:Ve,computed:!!(ge&&Ve.type==="Literal"),optional:!1}:Ve}(0,y.ok)(Ce,"always a result"),K=Ce}else K=v(x)&&!/^[a-z]/.test(x)?{type:"Identifier",name:x}:{type:"Literal",value:x};if(K.type==="Literal"){const de=K.value;return Ee.call(g.components,de)?g.components[de]:de}if(g.evaluater)return g.evaluater.evaluateExpression(K);rn(g)}function rn(g,x){const O=new se("Cannot handle MDX estrees without `createEvaluater`",{ancestors:g.ancestors,place:x,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw O.file=g.filePath||void 0,O.url=ie+"#cannot-handle-mdx-estrees-without-createevaluater",O}function rt(g){const x={};let O;for(O in g)Ee.call(g,O)&&(x[tt(O)]=g[O]);return x}function tt(g){let x=g.replace(ve,Be);return x.slice(0,3)==="ms-"&&(x="-"+x),x}function Be(g){return"-"+g.toLowerCase()}const Oe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var Ue=o(37712),$e=o(59301);const ee={};function ye(g,x){const O=x||ee,K=typeof O.includeImageAlt=="boolean"?O.includeImageAlt:!0,de=typeof O.includeHtml=="boolean"?O.includeHtml:!0;return Ne(g,K,de)}function Ne(g,x,O){if(ze(g)){if("value"in g)return g.type==="html"&&!O?"":g.value;if(x&&"alt"in g&&g.alt)return g.alt;if("children"in g)return Ie(g.children,x,O)}return Array.isArray(g)?Ie(g,x,O):""}function Ie(g,x,O){const K=[];let de=-1;for(;++de<g.length;)K[de]=Ne(g[de],x,O);return K.join("")}function ze(g){return!!(g&&typeof g=="object")}function He(g,x,O,K){const de=g.length;let ge=0,Ce;if(x<0?x=-x>de?0:de+x:x=x>de?de:x,O=O>0?O:0,K.length<1e4)Ce=Array.from(K),Ce.unshift(x,O),g.splice(...Ce);else for(O&&g.splice(x,O);ge<K.length;)Ce=K.slice(ge,ge+1e4),Ce.unshift(x,0),g.splice(...Ce),ge+=1e4,x+=1e4}function Je(g,x){return g.length>0?(He(g,g.length,0,x),g):x}class Ke{constructor(x){this.left=x?[...x]:[],this.right=[]}get(x){if(x<0||x>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+x+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return x<this.left.length?this.left[x]:this.right[this.right.length-x+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(x,O){const K=O==null?Number.POSITIVE_INFINITY:O;return K<this.left.length?this.left.slice(x,K):x>this.left.length?this.right.slice(this.right.length-K+this.left.length,this.right.length-x+this.left.length).reverse():this.left.slice(x).concat(this.right.slice(this.right.length-K+this.left.length).reverse())}splice(x,O,K){const de=O||0;this.setCursor(Math.trunc(x));const ge=this.right.splice(this.right.length-de,Number.POSITIVE_INFINITY);return K&&je(this.left,K),ge.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(x){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(x)}pushMany(x){this.setCursor(Number.POSITIVE_INFINITY),je(this.left,x)}unshift(x){this.setCursor(0),this.right.push(x)}unshiftMany(x){this.setCursor(0),je(this.right,x.reverse())}setCursor(x){if(!(x===this.left.length||x>this.left.length&&this.right.length===0||x<0&&this.left.length===0))if(x<this.left.length){const O=this.left.splice(x,Number.POSITIVE_INFINITY);je(this.right,O.reverse())}else{const O=this.right.splice(this.left.length+this.right.length-x,Number.POSITIVE_INFINITY);je(this.left,O.reverse())}}}function je(g,x){let O=0;if(x.length<1e4)g.push(...x);else for(;O<x.length;)g.push(...x.slice(O,O+1e4)),O+=1e4}function _e(g){const x={};let O=-1,K,de,ge,Ce,Ve,Tt,yt;const ct=new Ke(g);for(;++O<ct.length;){for(;O in x;)O=x[O];if(K=ct.get(O),O&&K[1].type==="chunkFlow"&&ct.get(O-1)[1].type==="listItemPrefix"&&(Tt=K[1]._tokenizer.events,ge=0,ge<Tt.length&&Tt[ge][1].type==="lineEndingBlank"&&(ge+=2),ge<Tt.length&&Tt[ge][1].type==="content"))for(;++ge<Tt.length&&Tt[ge][1].type!=="content";)Tt[ge][1].type==="chunkText"&&(Tt[ge][1]._isInFirstContentOfListItem=!0,ge++);if(K[0]==="enter")K[1].contentType&&(Object.assign(x,Qe(ct,O)),O=x[O],yt=!0);else if(K[1]._container){for(ge=O,de=void 0;ge--;)if(Ce=ct.get(ge),Ce[1].type==="lineEnding"||Ce[1].type==="lineEndingBlank")Ce[0]==="enter"&&(de&&(ct.get(de)[1].type="lineEndingBlank"),Ce[1].type="lineEnding",de=ge);else if(!(Ce[1].type==="linePrefix"||Ce[1].type==="listItemIndent"))break;de&&(K[1].end=yr({},ct.get(de)[1].start),Ve=ct.slice(de,O),Ve.unshift(K),ct.splice(de,O-de+1,Ve))}}return He(g,0,Number.POSITIVE_INFINITY,ct.slice(0)),!yt}function Qe(g,x){const O=g.get(x)[1],K=g.get(x)[2];let de=x-1;const ge=[];let Ce=O._tokenizer;Ce||(Ce=K.parser[O.contentType](O.start),O._contentTypeTextTrailing&&(Ce._contentTypeTextTrailing=!0));const Ve=Ce.events,Tt=[],yt={};let ct,Pt,Lt=-1,mt=O,Qn=0,Ar=0;const jr=[Ar];for(;mt;){for(;g.get(++de)[1]!==mt;);ge.push(de),mt._tokenizer||(ct=K.sliceStream(mt),mt.next||ct.push(null),Pt&&Ce.defineSkip(mt.start),mt._isInFirstContentOfListItem&&(Ce._gfmTasklistFirstContentOfListItem=!0),Ce.write(ct),mt._isInFirstContentOfListItem&&(Ce._gfmTasklistFirstContentOfListItem=void 0)),Pt=mt,mt=mt.next}for(mt=O;++Lt<Ve.length;)Ve[Lt][0]==="exit"&&Ve[Lt-1][0]==="enter"&&Ve[Lt][1].type===Ve[Lt-1][1].type&&Ve[Lt][1].start.line!==Ve[Lt][1].end.line&&(Ar=Lt+1,jr.push(Ar),mt._tokenizer=void 0,mt.previous=void 0,mt=mt.next);for(Ce.events=[],mt?(mt._tokenizer=void 0,mt.previous=void 0):jr.pop(),Lt=jr.length;Lt--;){const Fn=Ve.slice(jr[Lt],jr[Lt+1]),Mr=ge.pop();Tt.push([Mr,Mr+Fn.length-1]),g.splice(Mr,2,Fn)}for(Tt.reverse(),Lt=-1;++Lt<Tt.length;)yt[Qn+Tt[Lt][0]]=Qn+Tt[Lt][1],Qn+=Tt[Lt][1]-Tt[Lt][0]-1;return yt}function Me(g){for(;!_e(g););return g}const Pe={}.hasOwnProperty;function Le(g){const x={};let O=-1;for(;++O<g.length;)ht(x,g[O]);return x}function ht(g,x){let O;for(O in x){const de=(Pe.call(g,O)?g[O]:void 0)||(g[O]={}),ge=x[O];let Ce;if(ge)for(Ce in ge){Pe.call(de,Ce)||(de[Ce]=[]);const Ve=ge[Ce];nt(de[Ce],Array.isArray(Ve)?Ve:Ve?[Ve]:[])}}}function nt(g,x){let O=-1;const K=[];for(;++O<x.length;)(x[O].add==="after"?g:K).push(x[O]);He(g,0,0,K)}function re(g){const x={};let O=-1;for(;++O<g.length;)ut(x,g[O]);return x}function ut(g,x){let O;for(O in x){const de=(Pe.call(g,O)?g[O]:void 0)||(g[O]={}),ge=x[O];let Ce;if(ge)for(Ce in ge)de[Ce]=ge[Ce]}}var Ze=o(26735),Se=o(80722);const St={tokenize:tn};function tn(g){const x=g.attempt(this.parser.constructs.contentInitial,K,de);let O;return x;function K(Ve){if(Ve===null){g.consume(Ve);return}return g.enter("lineEnding"),g.consume(Ve),g.exit("lineEnding"),(0,Ze.f)(g,x,"linePrefix")}function de(Ve){return g.enter("paragraph"),ge(Ve)}function ge(Ve){const Tt=g.enter("chunkText",{contentType:"text",previous:O});return O&&(O.next=Tt),O=Tt,Ce(Ve)}function Ce(Ve){if(Ve===null){g.exit("chunkText"),g.exit("paragraph"),g.consume(Ve);return}return(0,Se.Ch)(Ve)?(g.consume(Ve),g.exit("chunkText"),ge):(g.consume(Ve),Ce)}}const gt={tokenize:qe},Xe={tokenize:Ge};function qe(g){const x=this,O=[];let K=0,de,ge,Ce;return Ve;function Ve(sr){if(K<O.length){const mi=O[K];return x.containerState=mi[1],g.attempt(mi[0].continuation,Tt,yt)(sr)}return yt(sr)}function Tt(sr){if(K++,x.containerState._closeFlow){x.containerState._closeFlow=void 0,de&&Mr();const mi=x.events.length;let Xr=mi,Tn;for(;Xr--;)if(x.events[Xr][0]==="exit"&&x.events[Xr][1].type==="chunkFlow"){Tn=x.events[Xr][1].end;break}Fn(K);let ei=mi;for(;ei<x.events.length;)x.events[ei][1].end=yr({},Tn),ei++;return He(x.events,Xr+1,0,x.events.slice(mi)),x.events.length=ei,yt(sr)}return Ve(sr)}function yt(sr){if(K===O.length){if(!de)return Lt(sr);if(de.currentConstruct&&de.currentConstruct.concrete)return Qn(sr);x.interrupt=!!(de.currentConstruct&&!de._gfmTableDynamicInterruptHack)}return x.containerState={},g.check(Xe,ct,Pt)(sr)}function ct(sr){return de&&Mr(),Fn(K),Lt(sr)}function Pt(sr){return x.parser.lazy[x.now().line]=K!==O.length,Ce=x.now().offset,Qn(sr)}function Lt(sr){return x.containerState={},g.attempt(Xe,mt,Qn)(sr)}function mt(sr){return K++,O.push([x.currentConstruct,x.containerState]),Lt(sr)}function Qn(sr){if(sr===null){de&&Mr(),Fn(0),g.consume(sr);return}return de=de||x.parser.flow(x.now()),g.enter("chunkFlow",{_tokenizer:de,contentType:"flow",previous:ge}),Ar(sr)}function Ar(sr){if(sr===null){jr(g.exit("chunkFlow"),!0),Fn(0),g.consume(sr);return}return(0,Se.Ch)(sr)?(g.consume(sr),jr(g.exit("chunkFlow")),K=0,x.interrupt=void 0,Ve):(g.consume(sr),Ar)}function jr(sr,mi){const Xr=x.sliceStream(sr);if(mi&&Xr.push(null),sr.previous=ge,ge&&(ge.next=sr),ge=sr,de.defineSkip(sr.start),de.write(Xr),x.parser.lazy[sr.start.line]){let Tn=de.events.length;for(;Tn--;)if(de.events[Tn][1].start.offset<Ce&&(!de.events[Tn][1].end||de.events[Tn][1].end.offset>Ce))return;const ei=x.events.length;let Or=ei,Fr,ni;for(;Or--;)if(x.events[Or][0]==="exit"&&x.events[Or][1].type==="chunkFlow"){if(Fr){ni=x.events[Or][1].end;break}Fr=!0}for(Fn(K),Tn=ei;Tn<x.events.length;)x.events[Tn][1].end=yr({},ni),Tn++;He(x.events,Or+1,0,x.events.slice(ei)),x.events.length=Tn}}function Fn(sr){let mi=O.length;for(;mi-- >sr;){const Xr=O[mi];x.containerState=Xr[1],Xr[0].exit.call(x,g)}O.length=sr}function Mr(){de.write([null]),ge=void 0,de=void 0,x.containerState._closeFlow=void 0}}function Ge(g,x,O){return(0,Ze.f)(g,g.attempt(this.parser.constructs.document,x,O),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const ke={partial:!0,tokenize:ce};function ce(g,x,O){return K;function K(ge){return(0,Se.xz)(ge)?(0,Ze.f)(g,de,"linePrefix")(ge):de(ge)}function de(ge){return ge===null||(0,Se.Ch)(ge)?x(ge):O(ge)}}const pe={resolve:we,tokenize:Ye},me={partial:!0,tokenize:bt};function we(g){return _e(g),g}function Ye(g,x){let O;return K;function K(Ve){return g.enter("content"),O=g.enter("chunkContent",{contentType:"content"}),de(Ve)}function de(Ve){return Ve===null?ge(Ve):(0,Se.Ch)(Ve)?g.check(me,Ce,ge)(Ve):(g.consume(Ve),de)}function ge(Ve){return g.exit("chunkContent"),g.exit("content"),x(Ve)}function Ce(Ve){return g.consume(Ve),g.exit("chunkContent"),O.next=g.enter("chunkContent",{contentType:"content",previous:O}),O=O.next,de}}function bt(g,x,O){const K=this;return de;function de(Ce){return g.exit("chunkContent"),g.enter("lineEnding"),g.consume(Ce),g.exit("lineEnding"),(0,Ze.f)(g,ge,"linePrefix")}function ge(Ce){if(Ce===null||(0,Se.Ch)(Ce))return O(Ce);const Ve=K.events[K.events.length-1];return!K.parser.constructs.disable.null.includes("codeIndented")&&Ve&&Ve[1].type==="linePrefix"&&Ve[2].sliceSerialize(Ve[1],!0).length>=4?x(Ce):g.interrupt(K.parser.constructs.flow,O,x)(Ce)}}const Dt={tokenize:jt};function jt(g){const x=this,O=g.attempt(ke,K,g.attempt(this.parser.constructs.flowInitial,de,(0,Ze.f)(g,g.attempt(this.parser.constructs.flow,de,g.attempt(pe,de)),"linePrefix")));return O;function K(ge){if(ge===null){g.consume(ge);return}return g.enter("lineEndingBlank"),g.consume(ge),g.exit("lineEndingBlank"),x.currentConstruct=void 0,O}function de(ge){if(ge===null){g.consume(ge);return}return g.enter("lineEnding"),g.consume(ge),g.exit("lineEnding"),x.currentConstruct=void 0,O}}const Kt={resolveAll:Yt()},Ht=Gt("string"),Ft=Gt("text");function Gt(g){return{resolveAll:Yt(g==="text"?$t:void 0),tokenize:x};function x(O){const K=this,de=this.parser.constructs[g],ge=O.attempt(de,Ce,Ve);return Ce;function Ce(ct){return yt(ct)?ge(ct):Ve(ct)}function Ve(ct){if(ct===null){O.consume(ct);return}return O.enter("data"),O.consume(ct),Tt}function Tt(ct){return yt(ct)?(O.exit("data"),ge(ct)):(O.consume(ct),Tt)}function yt(ct){if(ct===null)return!0;const Pt=de[ct];let Lt=-1;if(Pt)for(;++Lt<Pt.length;){const mt=Pt[Lt];if(!mt.previous||mt.previous.call(K,K.previous))return!0}return!1}}}function Yt(g){return x;function x(O,K){let de=-1,ge;for(;++de<=O.length;)ge===void 0?O[de]&&O[de][1].type==="data"&&(ge=de,de++):(!O[de]||O[de][1].type!=="data")&&(de!==ge+2&&(O[ge][1].end=O[de-1][1].end,O.splice(ge+2,de-ge-2),de=ge+2),ge=void 0);return g?g(O,K):O}}function $t(g,x){let O=0;for(;++O<=g.length;)if((O===g.length||g[O][1].type==="lineEnding")&&g[O-1][1].type==="data"){const K=g[O-1][1],de=x.sliceStream(K);let ge=de.length,Ce=-1,Ve=0,Tt;for(;ge--;){const yt=de[ge];if(typeof yt=="string"){for(Ce=yt.length;yt.charCodeAt(Ce-1)===32;)Ve++,Ce--;if(Ce)break;Ce=-1}else if(yt===-2)Tt=!0,Ve++;else if(yt!==-1){ge++;break}}if(x._contentTypeTextTrailing&&O===g.length&&(Ve=0),Ve){const yt={type:O===g.length||Tt||Ve<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:ge?Ce:K.start._bufferIndex+Ce,_index:K.start._index+ge,line:K.end.line,column:K.end.column-Ve,offset:K.end.offset-Ve},end:yr({},K.end)};K.end=yr({},yt.start),K.start.offset===K.end.offset?Object.assign(K,yt):(g.splice(O,0,["enter",yt,x],["exit",yt,x]),O+=2)}O++}return g}const bn={name:"thematicBreak",tokenize:Jt};function Jt(g,x,O){let K=0,de;return ge;function ge(yt){return g.enter("thematicBreak"),Ce(yt)}function Ce(yt){return de=yt,Ve(yt)}function Ve(yt){return yt===de?(g.enter("thematicBreakSequence"),Tt(yt)):K>=3&&(yt===null||(0,Se.Ch)(yt))?(g.exit("thematicBreak"),x(yt)):O(yt)}function Tt(yt){return yt===de?(g.consume(yt),K++,Tt):(g.exit("thematicBreakSequence"),(0,Se.xz)(yt)?(0,Ze.f)(g,Ve,"whitespace")(yt):Ve(yt))}}const un={continuation:{tokenize:yn},exit:jn,name:"list",tokenize:vn},mn={partial:!0,tokenize:It},hn={partial:!0,tokenize:Gn};function vn(g,x,O){const K=this,de=K.events[K.events.length-1];let ge=de&&de[1].type==="linePrefix"?de[2].sliceSerialize(de[1],!0).length:0,Ce=0;return Ve;function Ve(mt){const Qn=K.containerState.type||(mt===42||mt===43||mt===45?"listUnordered":"listOrdered");if(Qn==="listUnordered"?!K.containerState.marker||mt===K.containerState.marker:(0,Se.pY)(mt)){if(K.containerState.type||(K.containerState.type=Qn,g.enter(Qn,{_container:!0})),Qn==="listUnordered")return g.enter("listItemPrefix"),mt===42||mt===45?g.check(bn,O,yt)(mt):yt(mt);if(!K.interrupt||mt===49)return g.enter("listItemPrefix"),g.enter("listItemValue"),Tt(mt)}return O(mt)}function Tt(mt){return(0,Se.pY)(mt)&&++Ce<10?(g.consume(mt),Tt):(!K.interrupt||Ce<2)&&(K.containerState.marker?mt===K.containerState.marker:mt===41||mt===46)?(g.exit("listItemValue"),yt(mt)):O(mt)}function yt(mt){return g.enter("listItemMarker"),g.consume(mt),g.exit("listItemMarker"),K.containerState.marker=K.containerState.marker||mt,g.check(ke,K.interrupt?O:ct,g.attempt(mn,Lt,Pt))}function ct(mt){return K.containerState.initialBlankLine=!0,ge++,Lt(mt)}function Pt(mt){return(0,Se.xz)(mt)?(g.enter("listItemPrefixWhitespace"),g.consume(mt),g.exit("listItemPrefixWhitespace"),Lt):O(mt)}function Lt(mt){return K.containerState.size=ge+K.sliceSerialize(g.exit("listItemPrefix"),!0).length,x(mt)}}function yn(g,x,O){const K=this;return K.containerState._closeFlow=void 0,g.check(ke,de,ge);function de(Ve){return K.containerState.furtherBlankLines=K.containerState.furtherBlankLines||K.containerState.initialBlankLine,(0,Ze.f)(g,x,"listItemIndent",K.containerState.size+1)(Ve)}function ge(Ve){return K.containerState.furtherBlankLines||!(0,Se.xz)(Ve)?(K.containerState.furtherBlankLines=void 0,K.containerState.initialBlankLine=void 0,Ce(Ve)):(K.containerState.furtherBlankLines=void 0,K.containerState.initialBlankLine=void 0,g.attempt(hn,x,Ce)(Ve))}function Ce(Ve){return K.containerState._closeFlow=!0,K.interrupt=void 0,(0,Ze.f)(g,g.attempt(un,x,O),"linePrefix",K.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ve)}}function Gn(g,x,O){const K=this;return(0,Ze.f)(g,de,"listItemIndent",K.containerState.size+1);function de(ge){const Ce=K.events[K.events.length-1];return Ce&&Ce[1].type==="listItemIndent"&&Ce[2].sliceSerialize(Ce[1],!0).length===K.containerState.size?x(ge):O(ge)}}function jn(g){g.exit(this.containerState.type)}function It(g,x,O){const K=this;return(0,Ze.f)(g,de,"listItemPrefixWhitespace",K.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function de(ge){const Ce=K.events[K.events.length-1];return!(0,Se.xz)(ge)&&Ce&&Ce[1].type==="listItemPrefixWhitespace"?x(ge):O(ge)}}const Ct={continuation:{tokenize:xt},exit:fn,name:"blockQuote",tokenize:Ut};function Ut(g,x,O){const K=this;return de;function de(Ce){if(Ce===62){const Ve=K.containerState;return Ve.open||(g.enter("blockQuote",{_container:!0}),Ve.open=!0),g.enter("blockQuotePrefix"),g.enter("blockQuoteMarker"),g.consume(Ce),g.exit("blockQuoteMarker"),ge}return O(Ce)}function ge(Ce){return(0,Se.xz)(Ce)?(g.enter("blockQuotePrefixWhitespace"),g.consume(Ce),g.exit("blockQuotePrefixWhitespace"),g.exit("blockQuotePrefix"),x):(g.exit("blockQuotePrefix"),x(Ce))}}function xt(g,x,O){const K=this;return de;function de(Ce){return(0,Se.xz)(Ce)?(0,Ze.f)(g,ge,"linePrefix",K.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ce):ge(Ce)}function ge(Ce){return g.attempt(Ct,x,O)(Ce)}}function fn(g){g.exit("blockQuote")}function cn(g,x,O,K,de,ge,Ce,Ve,Tt){const yt=Tt||Number.POSITIVE_INFINITY;let ct=0;return Pt;function Pt(Fn){return Fn===60?(g.enter(K),g.enter(de),g.enter(ge),g.consume(Fn),g.exit(ge),Lt):Fn===null||Fn===32||Fn===41||(0,Se.Av)(Fn)?O(Fn):(g.enter(K),g.enter(Ce),g.enter(Ve),g.enter("chunkString",{contentType:"string"}),Ar(Fn))}function Lt(Fn){return Fn===62?(g.enter(ge),g.consume(Fn),g.exit(ge),g.exit(de),g.exit(K),x):(g.enter(Ve),g.enter("chunkString",{contentType:"string"}),mt(Fn))}function mt(Fn){return Fn===62?(g.exit("chunkString"),g.exit(Ve),Lt(Fn)):Fn===null||Fn===60||(0,Se.Ch)(Fn)?O(Fn):(g.consume(Fn),Fn===92?Qn:mt)}function Qn(Fn){return Fn===60||Fn===62||Fn===92?(g.consume(Fn),mt):mt(Fn)}function Ar(Fn){return!ct&&(Fn===null||Fn===41||(0,Se.z3)(Fn))?(g.exit("chunkString"),g.exit(Ve),g.exit(Ce),g.exit(K),x(Fn)):ct<yt&&Fn===40?(g.consume(Fn),ct++,Ar):Fn===41?(g.consume(Fn),ct--,Ar):Fn===null||Fn===32||Fn===40||(0,Se.Av)(Fn)?O(Fn):(g.consume(Fn),Fn===92?jr:Ar)}function jr(Fn){return Fn===40||Fn===41||Fn===92?(g.consume(Fn),Ar):Ar(Fn)}}function ot(g,x,O,K,de,ge){const Ce=this;let Ve=0,Tt;return yt;function yt(mt){return g.enter(K),g.enter(de),g.consume(mt),g.exit(de),g.enter(ge),ct}function ct(mt){return Ve>999||mt===null||mt===91||mt===93&&!Tt||mt===94&&!Ve&&"_hiddenFootnoteSupport"in Ce.parser.constructs?O(mt):mt===93?(g.exit(ge),g.enter(de),g.consume(mt),g.exit(de),g.exit(K),x):(0,Se.Ch)(mt)?(g.enter("lineEnding"),g.consume(mt),g.exit("lineEnding"),ct):(g.enter("chunkString",{contentType:"string"}),Pt(mt))}function Pt(mt){return mt===null||mt===91||mt===93||(0,Se.Ch)(mt)||Ve++>999?(g.exit("chunkString"),ct(mt)):(g.consume(mt),Tt||(Tt=!(0,Se.xz)(mt)),mt===92?Lt:Pt)}function Lt(mt){return mt===91||mt===92||mt===93?(g.consume(mt),Ve++,Pt):Pt(mt)}}function D(g,x,O,K,de,ge){let Ce;return Ve;function Ve(Lt){return Lt===34||Lt===39||Lt===40?(g.enter(K),g.enter(de),g.consume(Lt),g.exit(de),Ce=Lt===40?41:Lt,Tt):O(Lt)}function Tt(Lt){return Lt===Ce?(g.enter(de),g.consume(Lt),g.exit(de),g.exit(K),x):(g.enter(ge),yt(Lt))}function yt(Lt){return Lt===Ce?(g.exit(ge),Tt(Ce)):Lt===null?O(Lt):(0,Se.Ch)(Lt)?(g.enter("lineEnding"),g.consume(Lt),g.exit("lineEnding"),(0,Ze.f)(g,yt,"linePrefix")):(g.enter("chunkString",{contentType:"string"}),ct(Lt))}function ct(Lt){return Lt===Ce||Lt===null||(0,Se.Ch)(Lt)?(g.exit("chunkString"),yt(Lt)):(g.consume(Lt),Lt===92?Pt:ct)}function Pt(Lt){return Lt===Ce||Lt===92?(g.consume(Lt),ct):ct(Lt)}}function En(g,x){let O;return K;function K(de){return(0,Se.Ch)(de)?(g.enter("lineEnding"),g.consume(de),g.exit("lineEnding"),O=!0,K):(0,Se.xz)(de)?(0,Ze.f)(g,K,O?"linePrefix":"lineSuffix")(de):x(de)}}function Pn(g){return g.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Qt={name:"definition",tokenize:_n},An={partial:!0,tokenize:at};function _n(g,x,O){const K=this;let de;return ge;function ge(mt){return g.enter("definition"),Ce(mt)}function Ce(mt){return ot.call(K,g,Ve,O,"definitionLabel","definitionLabelMarker","definitionLabelString")(mt)}function Ve(mt){return de=Pn(K.sliceSerialize(K.events[K.events.length-1][1]).slice(1,-1)),mt===58?(g.enter("definitionMarker"),g.consume(mt),g.exit("definitionMarker"),Tt):O(mt)}function Tt(mt){return(0,Se.z3)(mt)?En(g,yt)(mt):yt(mt)}function yt(mt){return cn(g,ct,O,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(mt)}function ct(mt){return g.attempt(An,Pt,Pt)(mt)}function Pt(mt){return(0,Se.xz)(mt)?(0,Ze.f)(g,Lt,"whitespace")(mt):Lt(mt)}function Lt(mt){return mt===null||(0,Se.Ch)(mt)?(g.exit("definition"),K.parser.defined.push(de),x(mt)):O(mt)}}function at(g,x,O){return K;function K(Ve){return(0,Se.z3)(Ve)?En(g,de)(Ve):O(Ve)}function de(Ve){return D(g,ge,O,"definitionTitle","definitionTitleMarker","definitionTitleString")(Ve)}function ge(Ve){return(0,Se.xz)(Ve)?(0,Ze.f)(g,Ce,"whitespace")(Ve):Ce(Ve)}function Ce(Ve){return Ve===null||(0,Se.Ch)(Ve)?x(Ve):O(Ve)}}const vt={name:"codeIndented",tokenize:wt},be={partial:!0,tokenize:sn};function wt(g,x,O){const K=this;return de;function de(yt){return g.enter("codeIndented"),(0,Ze.f)(g,ge,"linePrefix",5)(yt)}function ge(yt){const ct=K.events[K.events.length-1];return ct&&ct[1].type==="linePrefix"&&ct[2].sliceSerialize(ct[1],!0).length>=4?Ce(yt):O(yt)}function Ce(yt){return yt===null?Tt(yt):(0,Se.Ch)(yt)?g.attempt(be,Ce,Tt)(yt):(g.enter("codeFlowValue"),Ve(yt))}function Ve(yt){return yt===null||(0,Se.Ch)(yt)?(g.exit("codeFlowValue"),Ce(yt)):(g.consume(yt),Ve)}function Tt(yt){return g.exit("codeIndented"),x(yt)}}function sn(g,x,O){const K=this;return de;function de(Ce){return K.parser.lazy[K.now().line]?O(Ce):(0,Se.Ch)(Ce)?(g.enter("lineEnding"),g.consume(Ce),g.exit("lineEnding"),de):(0,Ze.f)(g,ge,"linePrefix",5)(Ce)}function ge(Ce){const Ve=K.events[K.events.length-1];return Ve&&Ve[1].type==="linePrefix"&&Ve[2].sliceSerialize(Ve[1],!0).length>=4?x(Ce):(0,Se.Ch)(Ce)?de(Ce):O(Ce)}}const Wt={name:"headingAtx",resolve:dn,tokenize:gn};function dn(g,x){let O=g.length-2,K=3,de,ge;return g[K][1].type==="whitespace"&&(K+=2),O-2>K&&g[O][1].type==="whitespace"&&(O-=2),g[O][1].type==="atxHeadingSequence"&&(K===O-1||O-4>K&&g[O-2][1].type==="whitespace")&&(O-=K+1===O?2:4),O>K&&(de={type:"atxHeadingText",start:g[K][1].start,end:g[O][1].end},ge={type:"chunkText",start:g[K][1].start,end:g[O][1].end,contentType:"text"},He(g,K,O-K+1,[["enter",de,x],["enter",ge,x],["exit",ge,x],["exit",de,x]])),g}function gn(g,x,O){let K=0;return de;function de(ct){return g.enter("atxHeading"),ge(ct)}function ge(ct){return g.enter("atxHeadingSequence"),Ce(ct)}function Ce(ct){return ct===35&&K++<6?(g.consume(ct),Ce):ct===null||(0,Se.z3)(ct)?(g.exit("atxHeadingSequence"),Ve(ct)):O(ct)}function Ve(ct){return ct===35?(g.enter("atxHeadingSequence"),Tt(ct)):ct===null||(0,Se.Ch)(ct)?(g.exit("atxHeading"),x(ct)):(0,Se.xz)(ct)?(0,Ze.f)(g,Ve,"whitespace")(ct):(g.enter("atxHeadingText"),yt(ct))}function Tt(ct){return ct===35?(g.consume(ct),Tt):(g.exit("atxHeadingSequence"),Ve(ct))}function yt(ct){return ct===null||ct===35||(0,Se.z3)(ct)?(g.exit("atxHeadingText"),Ve(ct)):(g.consume(ct),yt)}}const zn={name:"setextUnderline",resolveTo:Dn,tokenize:xn};function Dn(g,x){let O=g.length,K,de,ge;for(;O--;)if(g[O][0]==="enter"){if(g[O][1].type==="content"){K=O;break}g[O][1].type==="paragraph"&&(de=O)}else g[O][1].type==="content"&&g.splice(O,1),!ge&&g[O][1].type==="definition"&&(ge=O);const Ce={type:"setextHeading",start:yr({},g[K][1].start),end:yr({},g[g.length-1][1].end)};return g[de][1].type="setextHeadingText",ge?(g.splice(de,0,["enter",Ce,x]),g.splice(ge+1,0,["exit",g[K][1],x]),g[K][1].end=yr({},g[ge][1].end)):g[K][1]=Ce,g.push(["exit",Ce,x]),g}function xn(g,x,O){const K=this;let de;return ge;function ge(yt){let ct=K.events.length,Pt;for(;ct--;)if(K.events[ct][1].type!=="lineEnding"&&K.events[ct][1].type!=="linePrefix"&&K.events[ct][1].type!=="content"){Pt=K.events[ct][1].type==="paragraph";break}return!K.parser.lazy[K.now().line]&&(K.interrupt||Pt)?(g.enter("setextHeadingLine"),de=yt,Ce(yt)):O(yt)}function Ce(yt){return g.enter("setextHeadingLineSequence"),Ve(yt)}function Ve(yt){return yt===de?(g.consume(yt),Ve):(g.exit("setextHeadingLineSequence"),(0,Se.xz)(yt)?(0,Ze.f)(g,Tt,"lineSuffix")(yt):Tt(yt))}function Tt(yt){return yt===null||(0,Se.Ch)(yt)?(g.exit("setextHeadingLine"),x(yt)):O(yt)}}const Ln=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vn=["pre","script","style","textarea"],nr={concrete:!0,name:"htmlFlow",resolveTo:Cn,tokenize:rr},hr={partial:!0,tokenize:Zn},Kn={partial:!0,tokenize:fr};function Cn(g){let x=g.length;for(;x--&&!(g[x][0]==="enter"&&g[x][1].type==="htmlFlow"););return x>1&&g[x-2][1].type==="linePrefix"&&(g[x][1].start=g[x-2][1].start,g[x+1][1].start=g[x-2][1].start,g.splice(x-2,2)),g}function rr(g,x,O){const K=this;let de,ge,Ce,Ve,Tt;return yt;function yt(_t){return ct(_t)}function ct(_t){return g.enter("htmlFlow"),g.enter("htmlFlowData"),g.consume(_t),Pt}function Pt(_t){return _t===33?(g.consume(_t),Lt):_t===47?(g.consume(_t),ge=!0,Ar):_t===63?(g.consume(_t),de=3,K.interrupt?x:At):(0,Se.jv)(_t)?(g.consume(_t),Ce=String.fromCharCode(_t),jr):O(_t)}function Lt(_t){return _t===45?(g.consume(_t),de=2,mt):_t===91?(g.consume(_t),de=5,Ve=0,Qn):(0,Se.jv)(_t)?(g.consume(_t),de=4,K.interrupt?x:At):O(_t)}function mt(_t){return _t===45?(g.consume(_t),K.interrupt?x:At):O(_t)}function Qn(_t){const ia="CDATA[";return _t===ia.charCodeAt(Ve++)?(g.consume(_t),Ve===ia.length?K.interrupt?x:ri:Qn):O(_t)}function Ar(_t){return(0,Se.jv)(_t)?(g.consume(_t),Ce=String.fromCharCode(_t),jr):O(_t)}function jr(_t){if(_t===null||_t===47||_t===62||(0,Se.z3)(_t)){const ia=_t===47,es=Ce.toLowerCase();return!ia&&!ge&&Vn.includes(es)?(de=1,K.interrupt?x(_t):ri(_t)):Ln.includes(Ce.toLowerCase())?(de=6,ia?(g.consume(_t),Fn):K.interrupt?x(_t):ri(_t)):(de=7,K.interrupt&&!K.parser.lazy[K.now().line]?O(_t):ge?Mr(_t):sr(_t))}return _t===45||(0,Se.H$)(_t)?(g.consume(_t),Ce+=String.fromCharCode(_t),jr):O(_t)}function Fn(_t){return _t===62?(g.consume(_t),K.interrupt?x:ri):O(_t)}function Mr(_t){return(0,Se.xz)(_t)?(g.consume(_t),Mr):ni(_t)}function sr(_t){return _t===47?(g.consume(_t),ni):_t===58||_t===95||(0,Se.jv)(_t)?(g.consume(_t),mi):(0,Se.xz)(_t)?(g.consume(_t),sr):ni(_t)}function mi(_t){return _t===45||_t===46||_t===58||_t===95||(0,Se.H$)(_t)?(g.consume(_t),mi):Xr(_t)}function Xr(_t){return _t===61?(g.consume(_t),Tn):(0,Se.xz)(_t)?(g.consume(_t),Xr):sr(_t)}function Tn(_t){return _t===null||_t===60||_t===61||_t===62||_t===96?O(_t):_t===34||_t===39?(g.consume(_t),Tt=_t,ei):(0,Se.xz)(_t)?(g.consume(_t),Tn):Or(_t)}function ei(_t){return _t===Tt?(g.consume(_t),Tt=null,Fr):_t===null||(0,Se.Ch)(_t)?O(_t):(g.consume(_t),ei)}function Or(_t){return _t===null||_t===34||_t===39||_t===47||_t===60||_t===61||_t===62||_t===96||(0,Se.z3)(_t)?Xr(_t):(g.consume(_t),Or)}function Fr(_t){return _t===47||_t===62||(0,Se.xz)(_t)?sr(_t):O(_t)}function ni(_t){return _t===62?(g.consume(_t),fa):O(_t)}function fa(_t){return _t===null||(0,Se.Ch)(_t)?ri(_t):(0,Se.xz)(_t)?(g.consume(_t),fa):O(_t)}function ri(_t){return _t===45&&de===2?(g.consume(_t),Si):_t===60&&de===1?(g.consume(_t),ii):_t===62&&de===4?(g.consume(_t),pa):_t===63&&de===3?(g.consume(_t),At):_t===93&&de===5?(g.consume(_t),ha):(0,Se.Ch)(_t)&&(de===6||de===7)?(g.exit("htmlFlowData"),g.check(hr,ra,cr)(_t)):_t===null||(0,Se.Ch)(_t)?(g.exit("htmlFlowData"),cr(_t)):(g.consume(_t),ri)}function cr(_t){return g.check(Kn,mr,ra)(_t)}function mr(_t){return g.enter("lineEnding"),g.consume(_t),g.exit("lineEnding"),_r}function _r(_t){return _t===null||(0,Se.Ch)(_t)?cr(_t):(g.enter("htmlFlowData"),ri(_t))}function Si(_t){return _t===45?(g.consume(_t),At):ri(_t)}function ii(_t){return _t===47?(g.consume(_t),Ce="",Ot):ri(_t)}function Ot(_t){if(_t===62){const ia=Ce.toLowerCase();return Vn.includes(ia)?(g.consume(_t),pa):ri(_t)}return(0,Se.jv)(_t)&&Ce.length<8?(g.consume(_t),Ce+=String.fromCharCode(_t),Ot):ri(_t)}function ha(_t){return _t===93?(g.consume(_t),At):ri(_t)}function At(_t){return _t===62?(g.consume(_t),pa):_t===45&&de===2?(g.consume(_t),At):ri(_t)}function pa(_t){return _t===null||(0,Se.Ch)(_t)?(g.exit("htmlFlowData"),ra(_t)):(g.consume(_t),pa)}function ra(_t){return g.exit("htmlFlow"),x(_t)}}function fr(g,x,O){const K=this;return de;function de(Ce){return(0,Se.Ch)(Ce)?(g.enter("lineEnding"),g.consume(Ce),g.exit("lineEnding"),ge):O(Ce)}function ge(Ce){return K.parser.lazy[K.now().line]?O(Ce):x(Ce)}}function Zn(g,x,O){return K;function K(de){return g.enter("lineEnding"),g.consume(de),g.exit("lineEnding"),g.attempt(ke,x,O)}}const On={partial:!0,tokenize:vr},er={concrete:!0,name:"codeFenced",tokenize:$n};function $n(g,x,O){const K=this,de={partial:!0,tokenize:Xr};let ge=0,Ce=0,Ve;return Tt;function Tt(Tn){return yt(Tn)}function yt(Tn){const ei=K.events[K.events.length-1];return ge=ei&&ei[1].type==="linePrefix"?ei[2].sliceSerialize(ei[1],!0).length:0,Ve=Tn,g.enter("codeFenced"),g.enter("codeFencedFence"),g.enter("codeFencedFenceSequence"),ct(Tn)}function ct(Tn){return Tn===Ve?(Ce++,g.consume(Tn),ct):Ce<3?O(Tn):(g.exit("codeFencedFenceSequence"),(0,Se.xz)(Tn)?(0,Ze.f)(g,Pt,"whitespace")(Tn):Pt(Tn))}function Pt(Tn){return Tn===null||(0,Se.Ch)(Tn)?(g.exit("codeFencedFence"),K.interrupt?x(Tn):g.check(On,Ar,mi)(Tn)):(g.enter("codeFencedFenceInfo"),g.enter("chunkString",{contentType:"string"}),Lt(Tn))}function Lt(Tn){return Tn===null||(0,Se.Ch)(Tn)?(g.exit("chunkString"),g.exit("codeFencedFenceInfo"),Pt(Tn)):(0,Se.xz)(Tn)?(g.exit("chunkString"),g.exit("codeFencedFenceInfo"),(0,Ze.f)(g,mt,"whitespace")(Tn)):Tn===96&&Tn===Ve?O(Tn):(g.consume(Tn),Lt)}function mt(Tn){return Tn===null||(0,Se.Ch)(Tn)?Pt(Tn):(g.enter("codeFencedFenceMeta"),g.enter("chunkString",{contentType:"string"}),Qn(Tn))}function Qn(Tn){return Tn===null||(0,Se.Ch)(Tn)?(g.exit("chunkString"),g.exit("codeFencedFenceMeta"),Pt(Tn)):Tn===96&&Tn===Ve?O(Tn):(g.consume(Tn),Qn)}function Ar(Tn){return g.attempt(de,mi,jr)(Tn)}function jr(Tn){return g.enter("lineEnding"),g.consume(Tn),g.exit("lineEnding"),Fn}function Fn(Tn){return ge>0&&(0,Se.xz)(Tn)?(0,Ze.f)(g,Mr,"linePrefix",ge+1)(Tn):Mr(Tn)}function Mr(Tn){return Tn===null||(0,Se.Ch)(Tn)?g.check(On,Ar,mi)(Tn):(g.enter("codeFlowValue"),sr(Tn))}function sr(Tn){return Tn===null||(0,Se.Ch)(Tn)?(g.exit("codeFlowValue"),Mr(Tn)):(g.consume(Tn),sr)}function mi(Tn){return g.exit("codeFenced"),x(Tn)}function Xr(Tn,ei,Or){let Fr=0;return ni;function ni(_r){return Tn.enter("lineEnding"),Tn.consume(_r),Tn.exit("lineEnding"),fa}function fa(_r){return Tn.enter("codeFencedFence"),(0,Se.xz)(_r)?(0,Ze.f)(Tn,ri,"linePrefix",K.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_r):ri(_r)}function ri(_r){return _r===Ve?(Tn.enter("codeFencedFenceSequence"),cr(_r)):Or(_r)}function cr(_r){return _r===Ve?(Fr++,Tn.consume(_r),cr):Fr>=Ce?(Tn.exit("codeFencedFenceSequence"),(0,Se.xz)(_r)?(0,Ze.f)(Tn,mr,"whitespace")(_r):mr(_r)):Or(_r)}function mr(_r){return _r===null||(0,Se.Ch)(_r)?(Tn.exit("codeFencedFence"),ei(_r)):Or(_r)}}}function vr(g,x,O){const K=this;return de;function de(Ce){return Ce===null?O(Ce):(g.enter("lineEnding"),g.consume(Ce),g.exit("lineEnding"),ge)}function ge(Ce){return K.parser.lazy[K.now().line]?O(Ce):x(Ce)}}const Yn=document.createElement("i");function ir(g){const x="&"+g+";";Yn.innerHTML=x;const O=Yn.textContent;return O.charCodeAt(O.length-1)===59&&g!=="semi"||O===x?!1:O}const Sr={name:"characterReference",tokenize:Bn};function Bn(g,x,O){const K=this;let de=0,ge,Ce;return Ve;function Ve(Pt){return g.enter("characterReference"),g.enter("characterReferenceMarker"),g.consume(Pt),g.exit("characterReferenceMarker"),Tt}function Tt(Pt){return Pt===35?(g.enter("characterReferenceMarkerNumeric"),g.consume(Pt),g.exit("characterReferenceMarkerNumeric"),yt):(g.enter("characterReferenceValue"),ge=31,Ce=Se.H$,ct(Pt))}function yt(Pt){return Pt===88||Pt===120?(g.enter("characterReferenceMarkerHexadecimal"),g.consume(Pt),g.exit("characterReferenceMarkerHexadecimal"),g.enter("characterReferenceValue"),ge=6,Ce=Se.AF,ct):(g.enter("characterReferenceValue"),ge=7,Ce=Se.pY,ct(Pt))}function ct(Pt){if(Pt===59&&de){const Lt=g.exit("characterReferenceValue");return Ce===Se.H$&&!ir(K.sliceSerialize(Lt))?O(Pt):(g.enter("characterReferenceMarker"),g.consume(Pt),g.exit("characterReferenceMarker"),g.exit("characterReference"),x)}return Ce(Pt)&&de++<ge?(g.consume(Pt),ct):O(Pt)}}const Hn={name:"characterEscape",tokenize:kr};function kr(g,x,O){return K;function K(ge){return g.enter("characterEscape"),g.enter("escapeMarker"),g.consume(ge),g.exit("escapeMarker"),de}function de(ge){return(0,Se.sR)(ge)?(g.enter("characterEscapeValue"),g.consume(ge),g.exit("characterEscapeValue"),g.exit("characterEscape"),x):O(ge)}}const Ir={name:"lineEnding",tokenize:Dr};function Dr(g,x){return O;function O(K){return g.enter("lineEnding"),g.consume(K),g.exit("lineEnding"),(0,Ze.f)(g,x,"linePrefix")}}function si(g,x,O){const K=[];let de=-1;for(;++de<g.length;){const ge=g[de].resolveAll;ge&&!K.includes(ge)&&(x=ge(x,O),K.push(ge))}return x}const Nr={name:"labelEnd",resolveAll:ji,resolveTo:vi,tokenize:Ai},fi={tokenize:Di},Lr={tokenize:ti},wi={tokenize:Qr};function ji(g){let x=-1;const O=[];for(;++x<g.length;){const K=g[x][1];if(O.push(g[x]),K.type==="labelImage"||K.type==="labelLink"||K.type==="labelEnd"){const de=K.type==="labelImage"?4:2;K.type="data",x+=de}}return g.length!==O.length&&He(g,0,g.length,O),g}function vi(g,x){let O=g.length,K=0,de,ge,Ce,Ve;for(;O--;)if(de=g[O][1],ge){if(de.type==="link"||de.type==="labelLink"&&de._inactive)break;g[O][0]==="enter"&&de.type==="labelLink"&&(de._inactive=!0)}else if(Ce){if(g[O][0]==="enter"&&(de.type==="labelImage"||de.type==="labelLink")&&!de._balanced&&(ge=O,de.type!=="labelLink")){K=2;break}}else de.type==="labelEnd"&&(Ce=O);const Tt={type:g[ge][1].type==="labelLink"?"link":"image",start:yr({},g[ge][1].start),end:yr({},g[g.length-1][1].end)},yt={type:"label",start:yr({},g[ge][1].start),end:yr({},g[Ce][1].end)},ct={type:"labelText",start:yr({},g[ge+K+2][1].end),end:yr({},g[Ce-2][1].start)};return Ve=[["enter",Tt,x],["enter",yt,x]],Ve=Je(Ve,g.slice(ge+1,ge+K+3)),Ve=Je(Ve,[["enter",ct,x]]),Ve=Je(Ve,si(x.parser.constructs.insideSpan.null,g.slice(ge+K+4,Ce-3),x)),Ve=Je(Ve,[["exit",ct,x],g[Ce-2],g[Ce-1],["exit",yt,x]]),Ve=Je(Ve,g.slice(Ce+1)),Ve=Je(Ve,[["exit",Tt,x]]),He(g,ge,g.length,Ve),g}function Ai(g,x,O){const K=this;let de=K.events.length,ge,Ce;for(;de--;)if((K.events[de][1].type==="labelImage"||K.events[de][1].type==="labelLink")&&!K.events[de][1]._balanced){ge=K.events[de][1];break}return Ve;function Ve(Lt){return ge?ge._inactive?Pt(Lt):(Ce=K.parser.defined.includes(Pn(K.sliceSerialize({start:ge.end,end:K.now()}))),g.enter("labelEnd"),g.enter("labelMarker"),g.consume(Lt),g.exit("labelMarker"),g.exit("labelEnd"),Tt):O(Lt)}function Tt(Lt){return Lt===40?g.attempt(fi,ct,Ce?ct:Pt)(Lt):Lt===91?g.attempt(Lr,ct,Ce?yt:Pt)(Lt):Ce?ct(Lt):Pt(Lt)}function yt(Lt){return g.attempt(wi,ct,Pt)(Lt)}function ct(Lt){return x(Lt)}function Pt(Lt){return ge._balanced=!0,O(Lt)}}function Di(g,x,O){return K;function K(Pt){return g.enter("resource"),g.enter("resourceMarker"),g.consume(Pt),g.exit("resourceMarker"),de}function de(Pt){return(0,Se.z3)(Pt)?En(g,ge)(Pt):ge(Pt)}function ge(Pt){return Pt===41?ct(Pt):cn(g,Ce,Ve,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(Pt)}function Ce(Pt){return(0,Se.z3)(Pt)?En(g,Tt)(Pt):ct(Pt)}function Ve(Pt){return O(Pt)}function Tt(Pt){return Pt===34||Pt===39||Pt===40?D(g,yt,O,"resourceTitle","resourceTitleMarker","resourceTitleString")(Pt):ct(Pt)}function yt(Pt){return(0,Se.z3)(Pt)?En(g,ct)(Pt):ct(Pt)}function ct(Pt){return Pt===41?(g.enter("resourceMarker"),g.consume(Pt),g.exit("resourceMarker"),g.exit("resource"),x):O(Pt)}}function ti(g,x,O){const K=this;return de;function de(Ve){return ot.call(K,g,ge,Ce,"reference","referenceMarker","referenceString")(Ve)}function ge(Ve){return K.parser.defined.includes(Pn(K.sliceSerialize(K.events[K.events.length-1][1]).slice(1,-1)))?x(Ve):O(Ve)}function Ce(Ve){return O(Ve)}}function Qr(g,x,O){return K;function K(ge){return g.enter("reference"),g.enter("referenceMarker"),g.consume(ge),g.exit("referenceMarker"),de}function de(ge){return ge===93?(g.enter("referenceMarker"),g.consume(ge),g.exit("referenceMarker"),g.exit("reference"),x):O(ge)}}const xi={name:"labelStartImage",resolveAll:Nr.resolveAll,tokenize:zi};function zi(g,x,O){const K=this;return de;function de(Ve){return g.enter("labelImage"),g.enter("labelImageMarker"),g.consume(Ve),g.exit("labelImageMarker"),ge}function ge(Ve){return Ve===91?(g.enter("labelMarker"),g.consume(Ve),g.exit("labelMarker"),g.exit("labelImage"),Ce):O(Ve)}function Ce(Ve){return Ve===94&&"_hiddenFootnoteSupport"in K.parser.constructs?O(Ve):x(Ve)}}function Mi(g){if(g===null||(0,Se.z3)(g)||(0,Se.B8)(g))return 1;if((0,Se.Xh)(g))return 2}const wr={name:"attention",resolveAll:Ni,tokenize:hi};function Ni(g,x){let O=-1,K,de,ge,Ce,Ve,Tt,yt,ct;for(;++O<g.length;)if(g[O][0]==="enter"&&g[O][1].type==="attentionSequence"&&g[O][1]._close){for(K=O;K--;)if(g[K][0]==="exit"&&g[K][1].type==="attentionSequence"&&g[K][1]._open&&x.sliceSerialize(g[K][1]).charCodeAt(0)===x.sliceSerialize(g[O][1]).charCodeAt(0)){if((g[K][1]._close||g[O][1]._open)&&(g[O][1].end.offset-g[O][1].start.offset)%3&&!((g[K][1].end.offset-g[K][1].start.offset+g[O][1].end.offset-g[O][1].start.offset)%3))continue;Tt=g[K][1].end.offset-g[K][1].start.offset>1&&g[O][1].end.offset-g[O][1].start.offset>1?2:1;const Pt=yr({},g[K][1].end),Lt=yr({},g[O][1].start);Ei(Pt,-Tt),Ei(Lt,Tt),Ce={type:Tt>1?"strongSequence":"emphasisSequence",start:Pt,end:yr({},g[K][1].end)},Ve={type:Tt>1?"strongSequence":"emphasisSequence",start:yr({},g[O][1].start),end:Lt},ge={type:Tt>1?"strongText":"emphasisText",start:yr({},g[K][1].end),end:yr({},g[O][1].start)},de={type:Tt>1?"strong":"emphasis",start:yr({},Ce.start),end:yr({},Ve.end)},g[K][1].end=yr({},Ce.start),g[O][1].start=yr({},Ve.end),yt=[],g[K][1].end.offset-g[K][1].start.offset&&(yt=Je(yt,[["enter",g[K][1],x],["exit",g[K][1],x]])),yt=Je(yt,[["enter",de,x],["enter",Ce,x],["exit",Ce,x],["enter",ge,x]]),yt=Je(yt,si(x.parser.constructs.insideSpan.null,g.slice(K+1,O),x)),yt=Je(yt,[["exit",ge,x],["enter",Ve,x],["exit",Ve,x],["exit",de,x]]),g[O][1].end.offset-g[O][1].start.offset?(ct=2,yt=Je(yt,[["enter",g[O][1],x],["exit",g[O][1],x]])):ct=0,He(g,K-1,O-K+3,yt),O=K+yt.length-ct-2;break}}for(O=-1;++O<g.length;)g[O][1].type==="attentionSequence"&&(g[O][1].type="data");return g}function hi(g,x){const O=this.parser.constructs.attentionMarkers.null,K=this.previous,de=Mi(K);let ge;return Ce;function Ce(Tt){return ge=Tt,g.enter("attentionSequence"),Ve(Tt)}function Ve(Tt){if(Tt===ge)return g.consume(Tt),Ve;const yt=g.exit("attentionSequence"),ct=Mi(Tt),Pt=!ct||ct===2&&de||O.includes(Tt),Lt=!de||de===2&&ct||O.includes(K);return yt._open=!!(ge===42?Pt:Pt&&(de||!Lt)),yt._close=!!(ge===42?Lt:Lt&&(ct||!Pt)),x(Tt)}}function Ei(g,x){g.column+=x,g.offset+=x,g._bufferIndex+=x}const pi={name:"autolink",tokenize:Xn};function Xn(g,x,O){let K=0;return de;function de(mt){return g.enter("autolink"),g.enter("autolinkMarker"),g.consume(mt),g.exit("autolinkMarker"),g.enter("autolinkProtocol"),ge}function ge(mt){return(0,Se.jv)(mt)?(g.consume(mt),Ce):mt===64?O(mt):yt(mt)}function Ce(mt){return mt===43||mt===45||mt===46||(0,Se.H$)(mt)?(K=1,Ve(mt)):yt(mt)}function Ve(mt){return mt===58?(g.consume(mt),K=0,Tt):(mt===43||mt===45||mt===46||(0,Se.H$)(mt))&&K++<32?(g.consume(mt),Ve):(K=0,yt(mt))}function Tt(mt){return mt===62?(g.exit("autolinkProtocol"),g.enter("autolinkMarker"),g.consume(mt),g.exit("autolinkMarker"),g.exit("autolink"),x):mt===null||mt===32||mt===60||(0,Se.Av)(mt)?O(mt):(g.consume(mt),Tt)}function yt(mt){return mt===64?(g.consume(mt),ct):(0,Se.n9)(mt)?(g.consume(mt),yt):O(mt)}function ct(mt){return(0,Se.H$)(mt)?Pt(mt):O(mt)}function Pt(mt){return mt===46?(g.consume(mt),K=0,ct):mt===62?(g.exit("autolinkProtocol").type="autolinkEmail",g.enter("autolinkMarker"),g.consume(mt),g.exit("autolinkMarker"),g.exit("autolink"),x):Lt(mt)}function Lt(mt){if((mt===45||(0,Se.H$)(mt))&&K++<63){const Qn=mt===45?Lt:Pt;return g.consume(mt),Qn}return O(mt)}}const ki={name:"htmlText",tokenize:Pi};function Pi(g,x,O){const K=this;let de,ge,Ce;return Ve;function Ve(At){return g.enter("htmlText"),g.enter("htmlTextData"),g.consume(At),Tt}function Tt(At){return At===33?(g.consume(At),yt):At===47?(g.consume(At),Xr):At===63?(g.consume(At),sr):(0,Se.jv)(At)?(g.consume(At),Or):O(At)}function yt(At){return At===45?(g.consume(At),ct):At===91?(g.consume(At),ge=0,Qn):(0,Se.jv)(At)?(g.consume(At),Mr):O(At)}function ct(At){return At===45?(g.consume(At),mt):O(At)}function Pt(At){return At===null?O(At):At===45?(g.consume(At),Lt):(0,Se.Ch)(At)?(Ce=Pt,ii(At)):(g.consume(At),Pt)}function Lt(At){return At===45?(g.consume(At),mt):Pt(At)}function mt(At){return At===62?Si(At):At===45?Lt(At):Pt(At)}function Qn(At){const pa="CDATA[";return At===pa.charCodeAt(ge++)?(g.consume(At),ge===pa.length?Ar:Qn):O(At)}function Ar(At){return At===null?O(At):At===93?(g.consume(At),jr):(0,Se.Ch)(At)?(Ce=Ar,ii(At)):(g.consume(At),Ar)}function jr(At){return At===93?(g.consume(At),Fn):Ar(At)}function Fn(At){return At===62?Si(At):At===93?(g.consume(At),Fn):Ar(At)}function Mr(At){return At===null||At===62?Si(At):(0,Se.Ch)(At)?(Ce=Mr,ii(At)):(g.consume(At),Mr)}function sr(At){return At===null?O(At):At===63?(g.consume(At),mi):(0,Se.Ch)(At)?(Ce=sr,ii(At)):(g.consume(At),sr)}function mi(At){return At===62?Si(At):sr(At)}function Xr(At){return(0,Se.jv)(At)?(g.consume(At),Tn):O(At)}function Tn(At){return At===45||(0,Se.H$)(At)?(g.consume(At),Tn):ei(At)}function ei(At){return(0,Se.Ch)(At)?(Ce=ei,ii(At)):(0,Se.xz)(At)?(g.consume(At),ei):Si(At)}function Or(At){return At===45||(0,Se.H$)(At)?(g.consume(At),Or):At===47||At===62||(0,Se.z3)(At)?Fr(At):O(At)}function Fr(At){return At===47?(g.consume(At),Si):At===58||At===95||(0,Se.jv)(At)?(g.consume(At),ni):(0,Se.Ch)(At)?(Ce=Fr,ii(At)):(0,Se.xz)(At)?(g.consume(At),Fr):Si(At)}function ni(At){return At===45||At===46||At===58||At===95||(0,Se.H$)(At)?(g.consume(At),ni):fa(At)}function fa(At){return At===61?(g.consume(At),ri):(0,Se.Ch)(At)?(Ce=fa,ii(At)):(0,Se.xz)(At)?(g.consume(At),fa):Fr(At)}function ri(At){return At===null||At===60||At===61||At===62||At===96?O(At):At===34||At===39?(g.consume(At),de=At,cr):(0,Se.Ch)(At)?(Ce=ri,ii(At)):(0,Se.xz)(At)?(g.consume(At),ri):(g.consume(At),mr)}function cr(At){return At===de?(g.consume(At),de=void 0,_r):At===null?O(At):(0,Se.Ch)(At)?(Ce=cr,ii(At)):(g.consume(At),cr)}function mr(At){return At===null||At===34||At===39||At===60||At===61||At===96?O(At):At===47||At===62||(0,Se.z3)(At)?Fr(At):(g.consume(At),mr)}function _r(At){return At===47||At===62||(0,Se.z3)(At)?Fr(At):O(At)}function Si(At){return At===62?(g.consume(At),g.exit("htmlTextData"),g.exit("htmlText"),x):O(At)}function ii(At){return g.exit("htmlTextData"),g.enter("lineEnding"),g.consume(At),g.exit("lineEnding"),Ot}function Ot(At){return(0,Se.xz)(At)?(0,Ze.f)(g,ha,"linePrefix",K.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(At):ha(At)}function ha(At){return g.enter("htmlTextData"),Ce(At)}}const Hi={name:"labelStartLink",resolveAll:Nr.resolveAll,tokenize:Gi};function Gi(g,x,O){const K=this;return de;function de(Ce){return g.enter("labelLink"),g.enter("labelMarker"),g.consume(Ce),g.exit("labelMarker"),g.exit("labelLink"),ge}function ge(Ce){return Ce===94&&"_hiddenFootnoteSupport"in K.parser.constructs?O(Ce):x(Ce)}}const Xi={name:"hardBreakEscape",tokenize:Yi};function Yi(g,x,O){return K;function K(ge){return g.enter("hardBreakEscape"),g.consume(ge),de}function de(ge){return(0,Se.Ch)(ge)?(g.exit("hardBreakEscape"),x(ge)):O(ge)}}const Qi={name:"codeText",previous:ft,resolve:Rr,tokenize:Fi};function Rr(g){let x=g.length-4,O=3,K,de;if((g[O][1].type==="lineEnding"||g[O][1].type==="space")&&(g[x][1].type==="lineEnding"||g[x][1].type==="space")){for(K=O;++K<x;)if(g[K][1].type==="codeTextData"){g[O][1].type="codeTextPadding",g[x][1].type="codeTextPadding",O+=2,x-=2;break}}for(K=O-1,x++;++K<=x;)de===void 0?K!==x&&g[K][1].type!=="lineEnding"&&(de=K):(K===x||g[K][1].type==="lineEnding")&&(g[de][1].type="codeTextData",K!==de+2&&(g[de][1].end=g[K-1][1].end,g.splice(de+2,K-de-2),x-=K-de-2,K=de+2),de=void 0);return g}function ft(g){return g!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Fi(g,x,O){const K=this;let de=0,ge,Ce;return Ve;function Ve(Lt){return g.enter("codeText"),g.enter("codeTextSequence"),Tt(Lt)}function Tt(Lt){return Lt===96?(g.consume(Lt),de++,Tt):(g.exit("codeTextSequence"),yt(Lt))}function yt(Lt){return Lt===null?O(Lt):Lt===32?(g.enter("space"),g.consume(Lt),g.exit("space"),yt):Lt===96?(Ce=g.enter("codeTextSequence"),ge=0,Pt(Lt)):(0,Se.Ch)(Lt)?(g.enter("lineEnding"),g.consume(Lt),g.exit("lineEnding"),yt):(g.enter("codeTextData"),ct(Lt))}function ct(Lt){return Lt===null||Lt===32||Lt===96||(0,Se.Ch)(Lt)?(g.exit("codeTextData"),yt(Lt)):(g.consume(Lt),ct)}function Pt(Lt){return Lt===96?(g.consume(Lt),ge++,Pt):ge===de?(g.exit("codeTextSequence"),g.exit("codeText"),x(Lt)):(Ce.type="codeTextData",ct(Lt))}}const aa={42:un,43:un,45:un,48:un,49:un,50:un,51:un,52:un,53:un,54:un,55:un,56:un,57:un,62:Ct},ta={91:Qt},$i={[-2]:vt,[-1]:vt,32:vt},Ji={35:Wt,42:bn,45:[zn,bn],60:nr,61:zn,95:bn,96:er,126:er},Li={38:Sr,92:Hn},Bi={[-5]:Ir,[-4]:Ir,[-3]:Ir,33:xi,38:Sr,42:wr,60:[pi,ki],91:Hi,92:[Xi,Hn],93:Nr,95:wr,96:Qi},gi={null:[wr,Kt]},bi={null:[42,95]},Jr={null:[]};function Ui(g,x,O){let K={_bufferIndex:-1,_index:0,line:O&&O.line||1,column:O&&O.column||1,offset:O&&O.offset||0};const de={},ge=[];let Ce=[],Ve=[],Tt=!0;const yt={attempt:Fr(ei),check:Fr(Or),consume:mi,enter:Xr,exit:Tn,interrupt:Fr(Or,{interrupt:!0})},ct={code:null,containerState:{},defineSkip:Fn,events:[],now:jr,parser:g,previous:null,sliceSerialize:Qn,sliceStream:Ar,write:mt};let Pt=x.tokenize.call(ct,yt),Lt;return x.resolveAll&&ge.push(x),ct;function mt(cr){return Ce=Je(Ce,cr),Mr(),Ce[Ce.length-1]!==null?[]:(ni(x,0),ct.events=si(ge,ct.events,ct),ct.events)}function Qn(cr,mr){return Zr(Ar(cr),mr)}function Ar(cr){return Yr(Ce,cr)}function jr(){const{_bufferIndex:cr,_index:mr,line:_r,column:Si,offset:ii}=K;return{_bufferIndex:cr,_index:mr,line:_r,column:Si,offset:ii}}function Fn(cr){de[cr.line]=cr.column,ri()}function Mr(){let cr;for(;K._index<Ce.length;){const mr=Ce[K._index];if(typeof mr=="string")for(cr=K._index,K._bufferIndex<0&&(K._bufferIndex=0);K._index===cr&&K._bufferIndex<mr.length;)sr(mr.charCodeAt(K._bufferIndex));else sr(mr)}}function sr(cr){Tt=void 0,Lt=cr,Pt=Pt(cr)}function mi(cr){(0,Se.Ch)(cr)?(K.line++,K.column=1,K.offset+=cr===-3?2:1,ri()):cr!==-1&&(K.column++,K.offset++),K._bufferIndex<0?K._index++:(K._bufferIndex++,K._bufferIndex===Ce[K._index].length&&(K._bufferIndex=-1,K._index++)),ct.previous=cr,Tt=!0}function Xr(cr,mr){const _r=mr||{};return _r.type=cr,_r.start=jr(),ct.events.push(["enter",_r,ct]),Ve.push(_r),_r}function Tn(cr){const mr=Ve.pop();return mr.end=jr(),ct.events.push(["exit",mr,ct]),mr}function ei(cr,mr){ni(cr,mr.from)}function Or(cr,mr){mr.restore()}function Fr(cr,mr){return _r;function _r(Si,ii,Ot){let ha,At,pa,ra;return Array.isArray(Si)?ia(Si):"tokenize"in Si?ia([Si]):_t(Si);function _t(Ii){return ga;function ga(_a){const Ma=_a!==null&&Ii[_a],Wi=_a!==null&&Ii.null,Xs=[...Array.isArray(Ma)?Ma:Ma?[Ma]:[],...Array.isArray(Wi)?Wi:Wi?[Wi]:[]];return ia(Xs)(_a)}}function ia(Ii){return ha=Ii,At=0,Ii.length===0?Ot:es(Ii[At])}function es(Ii){return ga;function ga(_a){return ra=fa(),pa=Ii,Ii.partial||(ct.currentConstruct=Ii),Ii.name&&ct.parser.constructs.disable.null.includes(Ii.name)?Os(_a):Ii.tokenize.call(mr?Object.assign(Object.create(ct),mr):ct,yt,ks,Os)(_a)}}function ks(Ii){return Tt=!0,cr(pa,ra),ii}function Os(Ii){return Tt=!0,ra.restore(),++At<ha.length?es(ha[At]):Ot}}}function ni(cr,mr){cr.resolveAll&&!ge.includes(cr)&&ge.push(cr),cr.resolve&&He(ct.events,mr,ct.events.length-mr,cr.resolve(ct.events.slice(mr),ct)),cr.resolveTo&&(ct.events=cr.resolveTo(ct.events,ct))}function fa(){const cr=jr(),mr=ct.previous,_r=ct.currentConstruct,Si=ct.events.length,ii=Array.from(Ve);return{from:Si,restore:Ot};function Ot(){K=cr,ct.previous=mr,ct.currentConstruct=_r,ct.events.length=Si,Ve=ii,ri()}}function ri(){K.line in de&&K.column<2&&(K.column=de[K.line],K.offset+=de[K.line]-1)}}function Yr(g,x){const O=x.start._index,K=x.start._bufferIndex,de=x.end._index,ge=x.end._bufferIndex;let Ce;if(O===de)Ce=[g[O].slice(K,ge)];else{if(Ce=g.slice(O,de),K>-1){const Ve=Ce[0];typeof Ve=="string"?Ce[0]=Ve.slice(K):Ce.shift()}ge>0&&Ce.push(g[de].slice(0,ge))}return Ce}function Zr(g,x){let O=-1;const K=[];let de;for(;++O<g.length;){const ge=g[O];let Ce;if(typeof ge=="string")Ce=ge;else switch(ge){case-5:{Ce="\r";break}case-4:{Ce=`
`;break}case-3:{Ce=`\r
`;break}case-2:{Ce=x?" ":" ";break}case-1:{if(!x&&de)continue;Ce=" ";break}default:Ce=String.fromCharCode(ge)}de=ge===-2,K.push(Ce)}return K.join("")}function pr(g){const K={constructs:Le([a,...(g||{}).extensions||[]]),content:de(St),defined:[],document:de(gt),flow:de(Dt),lazy:{},string:de(Ht),text:de(Ft)};return K;function de(ge){return Ce;function Ce(Ve){return Ui(K,ge,Ve)}}}const qr=/[\0\t\n\r]/g;function Ki(){let g=1,x="",O=!0,K;return de;function de(ge,Ce,Ve){const Tt=[];let yt,ct,Pt,Lt,mt;for(ge=x+(typeof ge=="string"?ge.toString():new TextDecoder(Ce||void 0).decode(ge)),Pt=0,x="",O&&(ge.charCodeAt(0)===65279&&Pt++,O=void 0);Pt<ge.length;){if(qr.lastIndex=Pt,yt=qr.exec(ge),Lt=yt&&yt.index!==void 0?yt.index:ge.length,mt=ge.charCodeAt(Lt),!yt){x=ge.slice(Pt);break}if(mt===10&&Pt===Lt&&K)Tt.push(-3),K=void 0;else switch(K&&(Tt.push(-5),K=void 0),Pt<Lt&&(Tt.push(ge.slice(Pt,Lt)),g+=Lt-Pt),mt){case 0:{Tt.push(65533),g++;break}case 9:{for(ct=Math.ceil(g/4)*4,Tt.push(-2);g++<ct;)Tt.push(-1);break}case 10:{Tt.push(-4),g=1;break}default:K=!0,g=1}Pt=Lt+1}return Ve&&(K&&Tt.push(-5),x&&Tt.push(x),Tt.push(null)),Tt}}function Ti(g,x){const O=Number.parseInt(g,x);return O<9||O===11||O>13&&O<32||O>126&&O<160||O>55295&&O<57344||O>64975&&O<65008||(O&65535)===65535||(O&65535)===65534||O>1114111?"\uFFFD":String.fromCodePoint(O)}const Ea=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qi(g){return g.replace(Ea,Rn)}function Rn(g,x,O){if(x)return x;if(O.charCodeAt(0)===35){const de=O.charCodeAt(1),ge=de===120||de===88;return Ti(O.slice(ge?2:1),ge?16:10)}return ir(O)||g}const qn={}.hasOwnProperty;function Gr(g,x,O){return typeof x!="string"&&(O=x,x=void 0),Vr(O)(Me(pr(O).document().write(Ki()(g,x,!0))))}function Vr(g){const x={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:ge(R),autolinkProtocol:Fr,autolinkEmail:Fr,atxHeading:ge($s),blockQuote:ge(_a),characterEscape:Fr,characterReference:Fr,codeFenced:ge(Ma),codeFencedFenceInfo:Ce,codeFencedFenceMeta:Ce,codeIndented:ge(Ma,Ce),codeText:ge(Wi,Ce),codeTextData:Fr,data:Fr,codeFlowValue:Fr,definition:ge(Xs),definitionDestinationString:Ce,definitionLabelString:Ce,definitionTitleString:Ce,emphasis:ge(us),hardBreakEscape:ge(fo),hardBreakTrailing:ge(fo),htmlFlow:ge(i,Ce),htmlFlowData:Fr,htmlText:ge(i,Ce),htmlTextData:Fr,image:ge(c),label:Ce,link:ge(R),listItem:ge(Et),listItemValue:Lt,listOrdered:ge(xe,Pt),listUnordered:ge(xe),paragraph:ge(Zt),reference:_t,referenceString:Ce,resourceDestinationString:Ce,resourceTitleString:Ce,setextHeading:ge($s),strong:ge(pn),thematicBreak:ge(dr)},exit:{atxHeading:Tt(),atxHeadingSequence:Xr,autolink:Tt(),autolinkEmail:ga,autolinkProtocol:Ii,blockQuote:Tt(),characterEscapeValue:ni,characterReferenceMarkerHexadecimal:es,characterReferenceMarkerNumeric:es,characterReferenceValue:ks,characterReference:Os,codeFenced:Tt(jr),codeFencedFence:Ar,codeFencedFenceInfo:mt,codeFencedFenceMeta:Qn,codeFlowValue:ni,codeIndented:Tt(Fn),codeText:Tt(_r),codeTextData:ni,data:ni,definition:Tt(),definitionDestinationString:mi,definitionLabelString:Mr,definitionTitleString:sr,emphasis:Tt(),hardBreakEscape:Tt(ri),hardBreakTrailing:Tt(ri),htmlFlow:Tt(cr),htmlFlowData:ni,htmlText:Tt(mr),htmlTextData:ni,image:Tt(ii),label:ha,labelText:Ot,lineEnding:fa,link:Tt(Si),listItem:Tt(),listOrdered:Tt(),listUnordered:Tt(),paragraph:Tt(),referenceString:ia,resourceDestinationString:At,resourceTitleString:pa,resource:ra,setextHeading:Tt(Or),setextHeadingLineSequence:ei,setextHeadingText:Tn,strong:Tt(),thematicBreak:Tt()}};sa(x,(g||{}).mdastExtensions||[]);const O={};return K;function K(an){let wn={type:"root",children:[]};const Er={stack:[wn],tokenStack:[],config:x,enter:Ve,exit:yt,buffer:Ce,resume:ct,data:O},zr=[];let di=-1;for(;++di<an.length;)if(an[di][1].type==="listOrdered"||an[di][1].type==="listUnordered")if(an[di][0]==="enter")zr.push(di);else{const Sa=zr.pop();di=de(an,Sa,di)}for(di=-1;++di<an.length;){const Sa=x[an[di][0]];qn.call(Sa,an[di][1].type)&&Sa[an[di][1].type].call(Object.assign({sliceSerialize:an[di][2].sliceSerialize},Er),an[di][1])}if(Er.tokenStack.length>0){const Sa=Er.tokenStack[Er.tokenStack.length-1];(Sa[1]||oi).call(Er,void 0,Sa[0])}for(wn.position={start:gr(an.length>0?an[0][1].start:{line:1,column:1,offset:0}),end:gr(an.length>0?an[an.length-2][1].end:{line:1,column:1,offset:0})},di=-1;++di<x.transforms.length;)wn=x.transforms[di](wn)||wn;return wn}function de(an,wn,Er){let zr=wn-1,di=-1,Sa=!1,cs,Ia,As,Js;for(;++zr<=Er;){const xa=an[zr];switch(xa[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{xa[0]==="enter"?di++:di--,Js=void 0;break}case"lineEndingBlank":{xa[0]==="enter"&&(cs&&!Js&&!di&&!As&&(As=zr),Js=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Js=void 0}if(!di&&xa[0]==="enter"&&xa[1].type==="listItemPrefix"||di===-1&&xa[0]==="exit"&&(xa[1].type==="listUnordered"||xa[1].type==="listOrdered")){if(cs){let Ts=zr;for(Ia=void 0;Ts--;){const Ga=an[Ts];if(Ga[1].type==="lineEnding"||Ga[1].type==="lineEndingBlank"){if(Ga[0]==="exit")continue;Ia&&(an[Ia][1].type="lineEndingBlank",Sa=!0),Ga[1].type="lineEnding",Ia=Ts}else if(!(Ga[1].type==="linePrefix"||Ga[1].type==="blockQuotePrefix"||Ga[1].type==="blockQuotePrefixWhitespace"||Ga[1].type==="blockQuoteMarker"||Ga[1].type==="listItemIndent"))break}As&&(!Ia||As<Ia)&&(cs._spread=!0),cs.end=Object.assign({},Ia?an[Ia][1].start:xa[1].end),an.splice(Ia||zr,0,["exit",cs,xa[2]]),zr++,Er++}if(xa[1].type==="listItemPrefix"){const Ts={type:"listItem",_spread:!1,start:Object.assign({},xa[1].start),end:void 0};cs=Ts,an.splice(zr,0,["enter",Ts,xa[2]]),zr++,Er++,As=void 0,Js=!0}}}return an[wn][1]._spread=Sa,Er}function ge(an,wn){return Er;function Er(zr){Ve.call(this,an(zr),zr),wn&&wn.call(this,zr)}}function Ce(){this.stack.push({type:"fragment",children:[]})}function Ve(an,wn,Er){this.stack[this.stack.length-1].children.push(an),this.stack.push(an),this.tokenStack.push([wn,Er||void 0]),an.position={start:gr(wn.start),end:void 0}}function Tt(an){return wn;function wn(Er){an&&an.call(this,Er),yt.call(this,Er)}}function yt(an,wn){const Er=this.stack.pop(),zr=this.tokenStack.pop();if(zr)zr[0].type!==an.type&&(wn?wn.call(this,an,zr[0]):(zr[1]||oi).call(this,an,zr[0]));else throw new Error("Cannot close `"+an.type+"` ("+W({start:an.start,end:an.end})+"): it\u2019s not open");Er.position.end=gr(an.end)}function ct(){return ye(this.stack.pop())}function Pt(){this.data.expectingFirstListItemValue=!0}function Lt(an){if(this.data.expectingFirstListItemValue){const wn=this.stack[this.stack.length-2];wn.start=Number.parseInt(this.sliceSerialize(an),10),this.data.expectingFirstListItemValue=void 0}}function mt(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.lang=an}function Qn(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.meta=an}function Ar(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function jr(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.value=an.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function Fn(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.value=an.replace(/(\r?\n|\r)$/g,"")}function Mr(an){const wn=this.resume(),Er=this.stack[this.stack.length-1];Er.label=wn,Er.identifier=Pn(this.sliceSerialize(an)).toLowerCase()}function sr(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.title=an}function mi(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.url=an}function Xr(an){const wn=this.stack[this.stack.length-1];if(!wn.depth){const Er=this.sliceSerialize(an).length;wn.depth=Er}}function Tn(){this.data.setextHeadingSlurpLineEnding=!0}function ei(an){const wn=this.stack[this.stack.length-1];wn.depth=this.sliceSerialize(an).codePointAt(0)===61?1:2}function Or(){this.data.setextHeadingSlurpLineEnding=void 0}function Fr(an){const Er=this.stack[this.stack.length-1].children;let zr=Er[Er.length-1];(!zr||zr.type!=="text")&&(zr=Un(),zr.position={start:gr(an.start),end:void 0},Er.push(zr)),this.stack.push(zr)}function ni(an){const wn=this.stack.pop();wn.value+=this.sliceSerialize(an),wn.position.end=gr(an.end)}function fa(an){const wn=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Er=wn.children[wn.children.length-1];Er.position.end=gr(an.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&x.canContainEols.includes(wn.type)&&(Fr.call(this,an),ni.call(this,an))}function ri(){this.data.atHardBreak=!0}function cr(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.value=an}function mr(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.value=an}function _r(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.value=an}function Si(){const an=this.stack[this.stack.length-1];if(this.data.inReference){const wn=this.data.referenceType||"shortcut";an.type+="Reference",an.referenceType=wn,delete an.url,delete an.title}else delete an.identifier,delete an.label;this.data.referenceType=void 0}function ii(){const an=this.stack[this.stack.length-1];if(this.data.inReference){const wn=this.data.referenceType||"shortcut";an.type+="Reference",an.referenceType=wn,delete an.url,delete an.title}else delete an.identifier,delete an.label;this.data.referenceType=void 0}function Ot(an){const wn=this.sliceSerialize(an),Er=this.stack[this.stack.length-2];Er.label=qi(wn),Er.identifier=Pn(wn).toLowerCase()}function ha(){const an=this.stack[this.stack.length-1],wn=this.resume(),Er=this.stack[this.stack.length-1];if(this.data.inReference=!0,Er.type==="link"){const zr=an.children;Er.children=zr}else Er.alt=wn}function At(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.url=an}function pa(){const an=this.resume(),wn=this.stack[this.stack.length-1];wn.title=an}function ra(){this.data.inReference=void 0}function _t(){this.data.referenceType="collapsed"}function ia(an){const wn=this.resume(),Er=this.stack[this.stack.length-1];Er.label=wn,Er.identifier=Pn(this.sliceSerialize(an)).toLowerCase(),this.data.referenceType="full"}function es(an){this.data.characterReferenceType=an.type}function ks(an){const wn=this.sliceSerialize(an),Er=this.data.characterReferenceType;let zr;Er?(zr=Ti(wn,Er==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):zr=ir(wn);const di=this.stack[this.stack.length-1];di.value+=zr}function Os(an){const wn=this.stack.pop();wn.position.end=gr(an.end)}function Ii(an){ni.call(this,an);const wn=this.stack[this.stack.length-1];wn.url=this.sliceSerialize(an)}function ga(an){ni.call(this,an);const wn=this.stack[this.stack.length-1];wn.url="mailto:"+this.sliceSerialize(an)}function _a(){return{type:"blockquote",children:[]}}function Ma(){return{type:"code",lang:null,meta:null,value:""}}function Wi(){return{type:"inlineCode",value:""}}function Xs(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function us(){return{type:"emphasis",children:[]}}function $s(){return{type:"heading",depth:0,children:[]}}function fo(){return{type:"break"}}function i(){return{type:"html",value:""}}function c(){return{type:"image",title:null,url:"",alt:null}}function R(){return{type:"link",title:null,url:"",children:[]}}function xe(an){return{type:"list",ordered:an.type==="listOrdered",start:null,spread:an._spread,children:[]}}function Et(an){return{type:"listItem",spread:an._spread,checked:null,children:[]}}function Zt(){return{type:"paragraph",children:[]}}function pn(){return{type:"strong",children:[]}}function Un(){return{type:"text",value:""}}function dr(){return{type:"thematicBreak"}}}function gr(g){return{line:g.line,column:g.column,offset:g.offset}}function sa(g,x){let O=-1;for(;++O<x.length;){const K=x[O];Array.isArray(K)?sa(g,K):_i(g,K)}}function _i(g,x){let O;for(O in x)if(qn.call(x,O))switch(O){case"canContainEols":{const K=x[O];K&&g[O].push(...K);break}case"transforms":{const K=x[O];K&&g[O].push(...K);break}case"enter":case"exit":{const K=x[O];K&&Object.assign(g[O],K);break}}}function oi(g,x){throw g?new Error("Cannot close `"+g.type+"` ("+W({start:g.start,end:g.end})+"): a different token (`"+x.type+"`, "+W({start:x.start,end:x.end})+") is open"):new Error("Cannot close document, a token (`"+x.type+"`, "+W({start:x.start,end:x.end})+") is still open")}function oa(g){const x=this;x.parser=O;function O(K){return Gr(K,no(yr(yr({},x.data("settings")),g),{extensions:x.data("micromarkExtensions")||[],mdastExtensions:x.data("fromMarkdownExtensions")||[]}))}}var Pa=o(90302);function wa(g,x){const O=encode(ba(g||""));if(!x)return O;const K=O.indexOf(":"),de=O.indexOf("?"),ge=O.indexOf("#"),Ce=O.indexOf("/");return K<0||Ce>-1&&K>Ce||de>-1&&K>de||ge>-1&&K>ge||x.test(O.slice(0,K))?O:""}function ba(g){const x=[];let O=-1,K=0,de=0;for(;++O<g.length;){const ge=g.charCodeAt(O);let Ce="";if(ge===37&&(0,Se.H$)(g.charCodeAt(O+1))&&(0,Se.H$)(g.charCodeAt(O+2)))de=2;else if(ge<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(ge))||(Ce=String.fromCharCode(ge));else if(ge>55295&&ge<57344){const Ve=g.charCodeAt(O+1);ge<56320&&Ve>56319&&Ve<57344?(Ce=String.fromCharCode(ge,Ve),de=1):Ce="\uFFFD"}else Ce=String.fromCharCode(ge);Ce&&(x.push(g.slice(K,O),encodeURIComponent(Ce)),K=O+de+1,Ce=""),de&&(O+=de,de=0)}return x.join("")+g.slice(K)}function Wa(g,x){const O=[{type:"text",value:"\u21A9"}];return x>1&&O.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(x)}]}),O}function ya(g,x){return"Back to reference "+(g+1)+(x>1?"-"+x:"")}function Ri(g){const x=typeof g.options.clobberPrefix=="string"?g.options.clobberPrefix:"user-content-",O=g.options.footnoteBackContent||Wa,K=g.options.footnoteBackLabel||ya,de=g.options.footnoteLabel||"Footnotes",ge=g.options.footnoteLabelTagName||"h2",Ce=g.options.footnoteLabelProperties||{className:["sr-only"]},Ve=[];let Tt=-1;for(;++Tt<g.footnoteOrder.length;){const yt=g.footnoteById.get(g.footnoteOrder[Tt]);if(!yt)continue;const ct=g.all(yt),Pt=String(yt.identifier).toUpperCase(),Lt=ba(Pt.toLowerCase());let mt=0;const Qn=[],Ar=g.footnoteCounts.get(Pt);for(;Ar!==void 0&&++mt<=Ar;){Qn.length>0&&Qn.push({type:"text",value:" "});let Mr=typeof O=="string"?O:O(Tt,mt);typeof Mr=="string"&&(Mr={type:"text",value:Mr}),Qn.push({type:"element",tagName:"a",properties:{href:"#"+x+"fnref-"+Lt+(mt>1?"-"+mt:""),dataFootnoteBackref:"",ariaLabel:typeof K=="string"?K:K(Tt,mt),className:["data-footnote-backref"]},children:Array.isArray(Mr)?Mr:[Mr]})}const jr=ct[ct.length-1];if(jr&&jr.type==="element"&&jr.tagName==="p"){const Mr=jr.children[jr.children.length-1];Mr&&Mr.type==="text"?Mr.value+=" ":jr.children.push({type:"text",value:" "}),jr.children.push(...Qn)}else ct.push(...Qn);const Fn={type:"element",tagName:"li",properties:{id:x+"fn-"+Lt},children:g.wrap(ct,!0)};g.patch(yt,Fn),Ve.push(Fn)}if(Ve.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:ge,properties:no(yr({},(0,Pa.ZP)(Ce)),{id:"footnote-label"}),children:[{type:"text",value:de}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:g.wrap(Ve,!0)},{type:"text",value:`
`}]}}var na=o(10528);function Ka(g,x){const O={type:"element",tagName:"blockquote",properties:{},children:g.wrap(g.all(x),!0)};return g.patch(x,O),g.applyData(x,O)}function za(g,x){const O={type:"element",tagName:"br",properties:{},children:[]};return g.patch(x,O),[g.applyData(x,O),{type:"text",value:`
`}]}function ea(g,x){const O=x.value?x.value+`
`:"",K={};x.lang&&(K.className=["language-"+x.lang]);let de={type:"element",tagName:"code",properties:K,children:[{type:"text",value:O}]};return x.meta&&(de.data={meta:x.meta}),g.patch(x,de),de=g.applyData(x,de),de={type:"element",tagName:"pre",properties:{},children:[de]},g.patch(x,de),de}function Nt(g,x){const O={type:"element",tagName:"del",properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}function Mn(g,x){const O={type:"element",tagName:"em",properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}function Jn(g,x){const O=typeof g.options.clobberPrefix=="string"?g.options.clobberPrefix:"user-content-",K=String(x.identifier).toUpperCase(),de=ba(K.toLowerCase()),ge=g.footnoteOrder.indexOf(K);let Ce,Ve=g.footnoteCounts.get(K);Ve===void 0?(Ve=0,g.footnoteOrder.push(K),Ce=g.footnoteOrder.length):Ce=ge+1,Ve+=1,g.footnoteCounts.set(K,Ve);const Tt={type:"element",tagName:"a",properties:{href:"#"+O+"fn-"+de,id:O+"fnref-"+de+(Ve>1?"-"+Ve:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Ce)}]};g.patch(x,Tt);const yt={type:"element",tagName:"sup",properties:{},children:[Tt]};return g.patch(x,yt),g.applyData(x,yt)}function ar(g,x){const O={type:"element",tagName:"h"+x.depth,properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}function xr(g,x){if(g.options.allowDangerousHtml){const O={type:"raw",value:x.value};return g.patch(x,O),g.applyData(x,O)}}function ur(g,x){const O=x.referenceType;let K="]";if(O==="collapsed"?K+="[]":O==="full"&&(K+="["+(x.label||x.identifier)+"]"),x.type==="imageReference")return[{type:"text",value:"!["+x.alt+K}];const de=g.all(x),ge=de[0];ge&&ge.type==="text"?ge.value="["+ge.value:de.unshift({type:"text",value:"["});const Ce=de[de.length-1];return Ce&&Ce.type==="text"?Ce.value+=K:de.push({type:"text",value:K}),de}function Br(g,x){const O=String(x.identifier).toUpperCase(),K=g.definitionById.get(O);if(!K)return ur(g,x);const de={src:ba(K.url||""),alt:x.alt};K.title!==null&&K.title!==void 0&&(de.title=K.title);const ge={type:"element",tagName:"img",properties:de,children:[]};return g.patch(x,ge),g.applyData(x,ge)}function li(g,x){const O={src:ba(x.url)};x.alt!==null&&x.alt!==void 0&&(O.alt=x.alt),x.title!==null&&x.title!==void 0&&(O.title=x.title);const K={type:"element",tagName:"img",properties:O,children:[]};return g.patch(x,K),g.applyData(x,K)}function Ci(g,x){const O={type:"text",value:x.value.replace(/\r?\n|\r/g," ")};g.patch(x,O);const K={type:"element",tagName:"code",properties:{},children:[O]};return g.patch(x,K),g.applyData(x,K)}function ui(g,x){const O=String(x.identifier).toUpperCase(),K=g.definitionById.get(O);if(!K)return ur(g,x);const de={href:ba(K.url||"")};K.title!==null&&K.title!==void 0&&(de.title=K.title);const ge={type:"element",tagName:"a",properties:de,children:g.all(x)};return g.patch(x,ge),g.applyData(x,ge)}function Oi(g,x){const O={href:ba(x.url)};x.title!==null&&x.title!==void 0&&(O.title=x.title);const K={type:"element",tagName:"a",properties:O,children:g.all(x)};return g.patch(x,K),g.applyData(x,K)}function va(g,x,O){const K=g.all(x),de=O?Fa(O):la(x),ge={},Ce=[];if(typeof x.checked=="boolean"){const ct=K[0];let Pt;ct&&ct.type==="element"&&ct.tagName==="p"?Pt=ct:(Pt={type:"element",tagName:"p",properties:{},children:[]},K.unshift(Pt)),Pt.children.length>0&&Pt.children.unshift({type:"text",value:" "}),Pt.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:x.checked,disabled:!0},children:[]}),ge.className=["task-list-item"]}let Ve=-1;for(;++Ve<K.length;){const ct=K[Ve];(de||Ve!==0||ct.type!=="element"||ct.tagName!=="p")&&Ce.push({type:"text",value:`
`}),ct.type==="element"&&ct.tagName==="p"&&!de?Ce.push(...ct.children):Ce.push(ct)}const Tt=K[K.length-1];Tt&&(de||Tt.type!=="element"||Tt.tagName!=="p")&&Ce.push({type:"text",value:`
`});const yt={type:"element",tagName:"li",properties:ge,children:Ce};return g.patch(x,yt),g.applyData(x,yt)}function Fa(g){let x=!1;if(g.type==="list"){x=g.spread||!1;const O=g.children;let K=-1;for(;!x&&++K<O.length;)x=la(O[K])}return x}function la(g){const x=g.spread;return x==null?g.children.length>1:x}function Aa(g,x){const O={},K=g.all(x);let de=-1;for(typeof x.start=="number"&&x.start!==1&&(O.start=x.start);++de<K.length;){const Ce=K[de];if(Ce.type==="element"&&Ce.tagName==="li"&&Ce.properties&&Array.isArray(Ce.properties.className)&&Ce.properties.className.includes("task-list-item")){O.className=["contains-task-list"];break}}const ge={type:"element",tagName:x.ordered?"ol":"ul",properties:O,children:g.wrap(K,!0)};return g.patch(x,ge),g.applyData(x,ge)}function Da(g,x){const O={type:"element",tagName:"p",properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}function ua(g,x){const O={type:"root",children:g.wrap(g.all(x))};return g.patch(x,O),g.applyData(x,O)}function Ta(g,x){const O={type:"element",tagName:"strong",properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}function Qa(g,x){const O=g.all(x),K=O.shift(),de=[];if(K){const Ce={type:"element",tagName:"thead",properties:{},children:g.wrap([K],!0)};g.patch(x.children[0],Ce),de.push(Ce)}if(O.length>0){const Ce={type:"element",tagName:"tbody",properties:{},children:g.wrap(O,!0)},Ve=(0,B.Pk)(x.children[1]),Tt=(0,B.rb)(x.children[x.children.length-1]);Ve&&Tt&&(Ce.position={start:Ve,end:Tt}),de.push(Ce)}const ge={type:"element",tagName:"table",properties:{},children:g.wrap(de,!0)};return g.patch(x,ge),g.applyData(x,ge)}function Na(g,x,O){const K=O?O.children:void 0,ge=(K?K.indexOf(x):1)===0?"th":"td",Ce=O&&O.type==="table"?O.align:void 0,Ve=Ce?Ce.length:x.children.length;let Tt=-1;const yt=[];for(;++Tt<Ve;){const Pt=x.children[Tt],Lt={},mt=Ce?Ce[Tt]:void 0;mt&&(Lt.align=mt);let Qn={type:"element",tagName:ge,properties:Lt,children:[]};Pt&&(Qn.children=g.all(Pt),g.patch(Pt,Qn),Qn=g.applyData(Pt,Qn)),yt.push(Qn)}const ct={type:"element",tagName:"tr",properties:{},children:g.wrap(yt,!0)};return g.patch(x,ct),g.applyData(x,ct)}function ca(g,x){const O={type:"element",tagName:"td",properties:{},children:g.all(x)};return g.patch(x,O),g.applyData(x,O)}const La=9,Ba=32;function Us(g){const x=String(g),O=/\r?\n|\r/g;let K=O.exec(x),de=0;const ge=[];for(;K;)ge.push(hs(x.slice(de,K.index),de>0,!0),K[0]),de=K.index+K[0].length,K=O.exec(x);return ge.push(hs(x.slice(de),de>0,!1)),ge.join("")}function hs(g,x,O){let K=0,de=g.length;if(x){let ge=g.codePointAt(K);for(;ge===La||ge===Ba;)K++,ge=g.codePointAt(K)}if(O){let ge=g.codePointAt(de-1);for(;ge===La||ge===Ba;)de--,ge=g.codePointAt(de-1)}return de>K?g.slice(K,de):""}function Is(g,x){const O={type:"text",value:Us(String(x.value))};return g.patch(x,O),g.applyData(x,O)}function js(g,x){const O={type:"element",tagName:"hr",properties:{},children:[]};return g.patch(x,O),g.applyData(x,O)}const ci={blockquote:Ka,break:za,code:ea,delete:Nt,emphasis:Mn,footnoteReference:Jn,heading:ar,html:xr,imageReference:Br,image:li,inlineCode:Ci,linkReference:ui,link:Oi,listItem:va,list:Aa,paragraph:Da,root:ua,strong:Ta,table:Qa,tableCell:ca,tableRow:Na,text:Is,thematicBreak:js,toml:Pr,yaml:Pr,definition:Pr,footnoteDefinition:Pr};function Pr(){}const Wr={}.hasOwnProperty,qt={};function Vi(g,x){const O=x||qt,K=new Map,de=new Map,ge=new Map,Ce=yr(yr({},ci),O.handlers),Ve={all:yt,applyData:rs,definitionById:K,footnoteById:de,footnoteCounts:ge,footnoteOrder:[],handlers:Ce,one:Tt,options:O,patch:Za,wrap:is};return(0,na.Vn)(g,function(ct){if(ct.type==="definition"||ct.type==="footnoteDefinition"){const Pt=ct.type==="definition"?K:de,Lt=String(ct.identifier).toUpperCase();Pt.has(Lt)||Pt.set(Lt,ct)}}),Ve;function Tt(ct,Pt){const Lt=ct.type,mt=Ve.handlers[Lt];if(Wr.call(Ve.handlers,Lt)&&mt)return mt(Ve,ct,Pt);if(Ve.options.passThrough&&Ve.options.passThrough.includes(Lt)){if("children"in ct){const Ar=ct,{children:jr}=Ar,Fn=su(Ar,["children"]),Mr=(0,Pa.ZP)(Fn);return Mr.children=Ve.all(ct),Mr}return(0,Pa.ZP)(ct)}return(Ve.options.unknownHandler||zs)(Ve,ct,Pt)}function yt(ct){const Pt=[];if("children"in ct){const Lt=ct.children;let mt=-1;for(;++mt<Lt.length;){const Qn=Ve.one(Lt[mt],ct);if(Qn){if(mt&&Lt[mt-1].type==="break"&&(!Array.isArray(Qn)&&Qn.type==="text"&&(Qn.value=as(Qn.value)),!Array.isArray(Qn)&&Qn.type==="element")){const Ar=Qn.children[0];Ar&&Ar.type==="text"&&(Ar.value=as(Ar.value))}Array.isArray(Qn)?Pt.push(...Qn):Pt.push(Qn)}}}return Pt}}function Za(g,x){g.position&&(x.position=(0,B.FK)(g))}function rs(g,x){let O=x;if(g&&g.data){const K=g.data.hName,de=g.data.hChildren,ge=g.data.hProperties;if(typeof K=="string")if(O.type==="element")O.tagName=K;else{const Ce="children"in O?O.children:[O];O={type:"element",tagName:K,properties:{},children:Ce}}O.type==="element"&&ge&&Object.assign(O.properties,(0,Pa.ZP)(ge)),"children"in O&&O.children&&de!==null&&de!==void 0&&(O.children=de)}return O}function zs(g,x){const O=x.data||{},K="value"in x&&!(Wr.call(O,"hProperties")||Wr.call(O,"hChildren"))?{type:"text",value:x.value}:{type:"element",tagName:"div",properties:{},children:g.all(x)};return g.patch(x,K),g.applyData(x,K)}function is(g,x){const O=[];let K=-1;for(x&&O.push({type:"text",value:`
`});++K<g.length;)K&&O.push({type:"text",value:`
`}),O.push(g[K]);return x&&g.length>0&&O.push({type:"text",value:`
`}),O}function as(g){let x=0,O=g.charCodeAt(x);for(;O===9||O===32;)x++,O=g.charCodeAt(x);return g.slice(x)}function Ha(g,x){const O=Vi(g,x),K=O.one(g,void 0),de=Ri(O),ge=Array.isArray(K)?{type:"root",children:K}:K||{type:"root",children:[]};return de&&((0,y.ok)("children"in ge),ge.children.push({type:"text",value:`
`},de)),ge}function ps(g,x){return g&&"run"in g?function(O,K){return ul(this,null,function*(){const de=Ha(O,yr({file:K},x));yield g.run(de,K)})}:function(O,K){return Ha(O,yr({file:K},g||x))}}function ss(g){if(g)throw g}var Xa=o(58847);function Ua(g){if(typeof g!="object"||g===null)return!1;const x=Object.getPrototypeOf(g);return(x===null||x===Object.prototype||Object.getPrototypeOf(x)===null)&&!(Symbol.toStringTag in g)&&!(Symbol.iterator in g)}function xs(){const g=[],x={run:O,use:K};return x;function O(...de){let ge=-1;const Ce=de.pop();if(typeof Ce!="function")throw new TypeError("Expected function as last argument, not "+Ce);Ve(null,...de);function Ve(Tt,...yt){const ct=g[++ge];let Pt=-1;if(Tt){Ce(Tt);return}for(;++Pt<de.length;)(yt[Pt]===null||yt[Pt]===void 0)&&(yt[Pt]=de[Pt]);de=yt,ct?ro(ct,Ve)(...yt):Ce(null,...yt)}}function K(de){if(typeof de!="function")throw new TypeError("Expected `middelware` to be a function, not "+de);return g.push(de),x}}function ro(g,x){let O;return K;function K(...Ce){const Ve=g.length>Ce.length;let Tt;Ve&&Ce.push(de);try{Tt=g.apply(this,Ce)}catch(yt){const ct=yt;if(Ve&&O)throw ct;return de(ct)}Ve||(Tt&&Tt.then&&typeof Tt.then=="function"?Tt.then(ge,de):Tt instanceof Error?de(Tt):ge(Tt))}function de(Ce,...Ve){O||(O=!0,x(Ce,...Ve))}function ge(Ce){de(null,Ce)}}const Ra={basename:bo,dirname:Cs,extname:Hs,join:ws,sep:"/"};function bo(g,x){if(x!==void 0&&typeof x!="string")throw new TypeError('"ext" argument must be a string');os(g);let O=0,K=-1,de=g.length,ge;if(x===void 0||x.length===0||x.length>g.length){for(;de--;)if(g.codePointAt(de)===47){if(ge){O=de+1;break}}else K<0&&(ge=!0,K=de+1);return K<0?"":g.slice(O,K)}if(x===g)return"";let Ce=-1,Ve=x.length-1;for(;de--;)if(g.codePointAt(de)===47){if(ge){O=de+1;break}}else Ce<0&&(ge=!0,Ce=de+1),Ve>-1&&(g.codePointAt(de)===x.codePointAt(Ve--)?Ve<0&&(K=de):(Ve=-1,K=Ce));return O===K?K=Ce:K<0&&(K=g.length),g.slice(O,K)}function Cs(g){if(os(g),g.length===0)return".";let x=-1,O=g.length,K;for(;--O;)if(g.codePointAt(O)===47){if(K){x=O;break}}else K||(K=!0);return x<0?g.codePointAt(0)===47?"/":".":x===1&&g.codePointAt(0)===47?"//":g.slice(0,x)}function Hs(g){os(g);let x=g.length,O=-1,K=0,de=-1,ge=0,Ce;for(;x--;){const Ve=g.codePointAt(x);if(Ve===47){if(Ce){K=x+1;break}continue}O<0&&(Ce=!0,O=x+1),Ve===46?de<0?de=x:ge!==1&&(ge=1):de>-1&&(ge=-1)}return de<0||O<0||ge===0||ge===1&&de===O-1&&de===K+1?"":g.slice(de,O)}function ws(...g){let x=-1,O;for(;++x<g.length;)os(g[x]),g[x]&&(O=O===void 0?g[x]:O+"/"+g[x]);return O===void 0?".":gs(O)}function gs(g){os(g);const x=g.codePointAt(0)===47;let O=yo(g,!x);return O.length===0&&!x&&(O="."),O.length>0&&g.codePointAt(g.length-1)===47&&(O+="/"),x?"/"+O:O}function yo(g,x){let O="",K=0,de=-1,ge=0,Ce=-1,Ve,Tt;for(;++Ce<=g.length;){if(Ce<g.length)Ve=g.codePointAt(Ce);else{if(Ve===47)break;Ve=47}if(Ve===47){if(!(de===Ce-1||ge===1))if(de!==Ce-1&&ge===2){if(O.length<2||K!==2||O.codePointAt(O.length-1)!==46||O.codePointAt(O.length-2)!==46){if(O.length>2){if(Tt=O.lastIndexOf("/"),Tt!==O.length-1){Tt<0?(O="",K=0):(O=O.slice(0,Tt),K=O.length-1-O.lastIndexOf("/")),de=Ce,ge=0;continue}}else if(O.length>0){O="",K=0,de=Ce,ge=0;continue}}x&&(O=O.length>0?O+"/..":"..",K=2)}else O.length>0?O+="/"+g.slice(de+1,Ce):O=g.slice(de+1,Ce),K=Ce-de-1;de=Ce,ge=0}else Ve===46&&ge>-1?ge++:ge=-1}return O}function os(g){if(typeof g!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(g))}const io={cwd:Gs};function Gs(){return"/"}function Ys(g){return!!(g!==null&&typeof g=="object"&&"href"in g&&g.href&&"protocol"in g&&g.protocol&&g.auth===void 0)}function ja(g){if(typeof g=="string")g=new URL(g);else if(!Ys(g)){const x=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+g+"`");throw x.code="ERR_INVALID_ARG_TYPE",x}if(g.protocol!=="file:"){const x=new TypeError("The URL must be of scheme file");throw x.code="ERR_INVALID_URL_SCHEME",x}return ms(g)}function ms(g){if(g.hostname!==""){const K=new TypeError('File URL host must be "localhost" or empty on darwin');throw K.code="ERR_INVALID_FILE_URL_HOST",K}const x=g.pathname;let O=-1;for(;++O<x.length;)if(x.codePointAt(O)===37&&x.codePointAt(O+1)===50){const K=x.codePointAt(O+2);if(K===70||K===102){const de=new TypeError("File URL path must not include encoded / characters");throw de.code="ERR_INVALID_FILE_URL_PATH",de}}return decodeURIComponent(x)}const $a=["history","path","basename","stem","extname","dirname"];class Ds{constructor(x){let O;x?Ys(x)?O={path:x}:typeof x=="string"||vo(x)?O={value:x}:O=x:O={},this.cwd="cwd"in O?"":io.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let K=-1;for(;++K<$a.length;){const ge=$a[K];ge in O&&O[ge]!==void 0&&O[ge]!==null&&(this[ge]=ge==="history"?[...O[ge]]:O[ge])}let de;for(de in O)$a.includes(de)||(this[de]=O[de])}get basename(){return typeof this.path=="string"?Ra.basename(this.path):void 0}set basename(x){Ja(x,"basename"),Es(x,"basename"),this.path=Ra.join(this.dirname||"",x)}get dirname(){return typeof this.path=="string"?Ra.dirname(this.path):void 0}set dirname(x){Ns(this.basename,"dirname"),this.path=Ra.join(x||"",this.basename)}get extname(){return typeof this.path=="string"?Ra.extname(this.path):void 0}set extname(x){if(Es(x,"extname"),Ns(this.dirname,"extname"),x){if(x.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(x.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ra.join(this.dirname,this.stem+(x||""))}get path(){return this.history[this.history.length-1]}set path(x){Ys(x)&&(x=ja(x)),Ja(x,"path"),this.path!==x&&this.history.push(x)}get stem(){return typeof this.path=="string"?Ra.basename(this.path,this.extname):void 0}set stem(x){Ja(x,"stem"),Es(x,"stem"),this.path=Ra.join(this.dirname||"",x+(this.extname||""))}fail(x,O,K){const de=this.message(x,O,K);throw de.fatal=!0,de}info(x,O,K){const de=this.message(x,O,K);return de.fatal=void 0,de}message(x,O,K){const de=new se(x,O,K);return this.path&&(de.name=this.path+":"+de.name,de.file=this.path),de.fatal=!1,this.messages.push(de),de}toString(x){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(x||void 0).decode(this.value)}}function Es(g,x){if(g&&g.includes(Ra.sep))throw new Error("`"+x+"` cannot be a path: did not expect `"+Ra.sep+"`")}function Ja(g,x){if(!g)throw new Error("`"+x+"` cannot be empty")}function Ns(g,x){if(!g)throw new Error("Setting `"+x+"` requires `path` to be set too")}function vo(g){return!!(g&&typeof g=="object"&&"byteLength"in g&&"byteOffset"in g)}const Ao=function(g){const K=this.constructor.prototype,de=K[g],ge=function(){return de.apply(ge,arguments)};return Object.setPrototypeOf(ge,K),ge},Vs={}.hasOwnProperty;class Ws extends Ao{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=xs()}copy(){const x=new Ws;let O=-1;for(;++O<this.attachers.length;){const K=this.attachers[O];x.use(...K)}return x.data(Xa(!0,{},this.namespace)),x}data(x,O){return typeof x=="string"?arguments.length===2?(ls("data",this.frozen),this.namespace[x]=O,this):Vs.call(this.namespace,x)&&this.namespace[x]||void 0:x?(ls("data",this.frozen),this.namespace=x,this):this.namespace}freeze(){if(this.frozen)return this;const x=this;for(;++this.freezeIndex<this.attachers.length;){const[O,...K]=this.attachers[this.freezeIndex];if(K[0]===!1)continue;K[0]===!0&&(K[0]=void 0);const de=O.call(x,...K);typeof de=="function"&&this.transformers.use(de)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(x){this.freeze();const O=Ms(x),K=this.parser||this.Parser;return qa("parse",K),K(String(O),O)}process(x,O){const K=this;return this.freeze(),qa("process",this.parser||this.Parser),bs("process",this.compiler||this.Compiler),O?de(void 0,O):new Promise(de);function de(ge,Ce){const Ve=Ms(x),Tt=K.parse(Ve);K.run(Tt,Ve,function(ct,Pt,Lt){if(ct||!Pt||!Lt)return yt(ct);const mt=Pt,Qn=K.stringify(mt,Lt);so(Qn)?Lt.value=Qn:Lt.result=Qn,yt(ct,Lt)});function yt(ct,Pt){ct||!Pt?Ce(ct):ge?ge(Pt):((0,y.ok)(O,"`done` is defined if `resolve` is not"),O(void 0,Pt))}}}processSync(x){let O=!1,K;return this.freeze(),qa("processSync",this.parser||this.Parser),bs("processSync",this.compiler||this.Compiler),this.process(x,de),Rs("processSync","process",O),(0,y.ok)(K,"we either bailed on an error or have a tree"),K;function de(ge,Ce){O=!0,ss(ge),K=Ce}}run(x,O,K){Ks(x),this.freeze();const de=this.transformers;return!K&&typeof O=="function"&&(K=O,O=void 0),K?ge(void 0,K):new Promise(ge);function ge(Ce,Ve){(0,y.ok)(typeof O!="function","`file` can\u2019t be a `done` anymore, we checked");const Tt=Ms(O);de.run(x,Tt,yt);function yt(ct,Pt,Lt){const mt=Pt||x;ct?Ve(ct):Ce?Ce(mt):((0,y.ok)(K,"`done` is defined if `resolve` is not"),K(void 0,mt,Lt))}}}runSync(x,O){let K=!1,de;return this.run(x,O,ge),Rs("runSync","run",K),(0,y.ok)(de,"we either bailed on an error or have a tree"),de;function ge(Ce,Ve){ss(Ce),de=Ve,K=!0}}stringify(x,O){this.freeze();const K=Ms(O),de=this.compiler||this.Compiler;return bs("stringify",de),Ks(x),de(x,K)}use(x,...O){const K=this.attachers,de=this.namespace;if(ls("use",this.frozen),x!=null)if(typeof x=="function")Tt(x,O);else if(typeof x=="object")Array.isArray(x)?Ve(x):Ce(x);else throw new TypeError("Expected usable value, not `"+x+"`");return this;function ge(yt){if(typeof yt=="function")Tt(yt,[]);else if(typeof yt=="object")if(Array.isArray(yt)){const[ct,...Pt]=yt;Tt(ct,Pt)}else Ce(yt);else throw new TypeError("Expected usable value, not `"+yt+"`")}function Ce(yt){if(!("plugins"in yt)&&!("settings"in yt))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");Ve(yt.plugins),yt.settings&&(de.settings=Xa(!0,de.settings,yt.settings))}function Ve(yt){let ct=-1;if(yt!=null)if(Array.isArray(yt))for(;++ct<yt.length;){const Pt=yt[ct];ge(Pt)}else throw new TypeError("Expected a list of plugins, not `"+yt+"`")}function Tt(yt,ct){let Pt=-1,Lt=-1;for(;++Pt<K.length;)if(K[Pt][0]===yt){Lt=Pt;break}if(Lt===-1)K.push([yt,...ct]);else if(ct.length>0){let[mt,...Qn]=ct;const Ar=K[Lt][1];Ua(Ar)&&Ua(mt)&&(mt=Xa(!0,Ar,mt)),K[Lt]=[yt,mt,...Qn]}}}}const Ls=new Ws().freeze();function qa(g,x){if(typeof x!="function")throw new TypeError("Cannot `"+g+"` without `parser`")}function bs(g,x){if(typeof x!="function")throw new TypeError("Cannot `"+g+"` without `compiler`")}function ls(g,x){if(x)throw new Error("Cannot call `"+g+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ks(g){if(!Ua(g)||typeof g.type!="string")throw new TypeError("Expected node, got `"+g+"`")}function Rs(g,x,O){if(!O)throw new Error("`"+g+"` finished async. Use `"+x+"` instead")}function Ms(g){return ao(g)?g:new Ds(g)}function ao(g){return!!(g&&typeof g=="object"&&"message"in g&&"messages"in g)}function so(g){return typeof g=="string"||To(g)}function To(g){return!!(g&&typeof g=="object"&&"byteLength"in g&&"byteOffset"in g)}const _o="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",oo=[],ys={allowDangerousHtml:!0},lo=/^(https?|ircs?|mailto|xmpp)$/i,uo=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Qs(g){const x=Zi(g),O=da(g);return vs(x.runSync(x.parse(O),O),g)}function Zs(g){return ul(this,null,function*(){const x=Zi(g),O=da(g),K=yield x.run(x.parse(O),O);return vs(K,g)})}function co(g){const x=Zi(g),[O,K]=useState(void 0),[de,ge]=useState(void 0);if(useEffect(function(){const Ce=da(g);x.run(x.parse(Ce),Ce,function(Ve,Tt){K(Ve),ge(Tt)})},[g.children,g.rehypePlugins,g.remarkPlugins,g.remarkRehypeOptions]),O)throw O;return de?vs(de,g):createElement(Fragment)}function Zi(g){const x=g.rehypePlugins||oo,O=g.remarkPlugins||oo,K=g.remarkRehypeOptions?yr(yr({},g.remarkRehypeOptions),ys):ys;return Ls().use(oa).use(O).use(ps,K).use(x)}function da(g){const x=g.children||"",O=new Ds;return typeof x=="string"?O.value=x:(0,y.t1)("Unexpected value `"+x+"` for `children` prop, expected `string`"),O}function vs(g,x){const O=x.allowedElements,K=x.allowElement,de=x.components,ge=x.disallowedElements,Ce=x.skipHtml,Ve=x.unwrapDisallowed,Tt=x.urlTransform||So;for(const ct of uo)Object.hasOwn(x,ct.from)&&(0,y.t1)("Unexpected `"+ct.from+"` prop, "+(ct.to?"use `"+ct.to+"` instead":"remove it")+" (see <"+_o+"#"+ct.id+"> for more info)");return O&&ge&&(0,y.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),x.className&&(g={type:"element",tagName:"div",properties:{className:x.className},children:g.type==="root"?g.children:[g]}),(0,na.Vn)(g,yt),ue(g,{Fragment:Ue.Fragment,components:de,ignoreInvalidStyle:!0,jsx:Ue.jsx,jsxs:Ue.jsxs,passKeys:!0,passNode:!0});function yt(ct,Pt,Lt){if(ct.type==="raw"&&Lt&&typeof Pt=="number")return Ce?Lt.children.splice(Pt,1):Lt.children[Pt]={type:"text",value:ct.value},Pt;if(ct.type==="element"){let mt;for(mt in Oe)if(Object.hasOwn(Oe,mt)&&Object.hasOwn(ct.properties,mt)){const Qn=ct.properties[mt],Ar=Oe[mt];(Ar===null||Ar.includes(ct.tagName))&&(ct.properties[mt]=Tt(String(Qn||""),mt,ct))}}if(ct.type==="element"){let mt=O?!O.includes(ct.tagName):ge?ge.includes(ct.tagName):!1;if(!mt&&K&&typeof Pt=="number"&&(mt=!K(ct,Pt,Lt)),mt&&Lt&&typeof Pt=="number")return Ve&&ct.children?Lt.children.splice(Pt,1,...ct.children):Lt.children.splice(Pt,1),Pt}}}function So(g){const x=g.indexOf(":"),O=g.indexOf("?"),K=g.indexOf("#"),de=g.indexOf("/");return x===-1||de!==-1&&x>de||O!==-1&&x>O||K!==-1&&x>K||lo.test(g.slice(0,x))?g:""}},93772:function(k,p,o){"use strict";o.d(p,{Z:function(){return fo}});var a={};o.r(a),o.d(a,{boolean:function(){return se},booleanish:function(){return Ee},commaOrSpaceSeparated:function(){return ie},commaSeparated:function(){return Z},number:function(){return ve},overloadedBoolean:function(){return he},spaceSeparated:function(){return J}});var y=o(90302),T=o(87342),b=o(81994),_=o(58222),h=o(84837);function j(i){const c=String(i),R=[];return{toOffset:Et,toPoint:xe};function xe(Zt){if(typeof Zt=="number"&&Zt>-1&&Zt<=c.length){let pn=0;for(;;){let Un=R[pn];if(Un===void 0){const dr=G(c,R[pn-1]);Un=dr===-1?c.length+1:dr+1,R[pn]=Un}if(Un>Zt)return{line:pn+1,column:Zt-(pn>0?R[pn-1]:0)+1,offset:Zt};pn++}}}function Et(Zt){if(Zt&&typeof Zt.line=="number"&&typeof Zt.column=="number"&&!Number.isNaN(Zt.line)&&!Number.isNaN(Zt.column)){for(;R.length<Zt.line;){const Un=R[R.length-1],dr=G(c,Un),an=dr===-1?c.length+1:dr+1;if(Un===an)break;R.push(an)}const pn=(Zt.line>1?R[Zt.line-2]:0)+Zt.column-1;if(pn<R[Zt.line-1])return pn}}}function G(i,c){const R=i.indexOf("\r",c),xe=i.indexOf(`
`,c);return xe===-1?R:R===-1||R+1===xe?xe:R<xe?R:xe}var u=o(43309);const Q={}.hasOwnProperty,U=Object.prototype;function v(i,c){const R=c||{};return I({file:R.file||void 0,location:!1,schema:R.space==="svg"?_.YP:_.dy,verbose:R.verbose||!1},i)}function I(i,c){let R;switch(c.nodeName){case"#comment":{const xe=c;return R={type:"comment",value:xe.data},X(i,xe,R),R}case"#document":case"#document-fragment":{const xe=c,Et="mode"in xe?xe.mode==="quirks"||xe.mode==="limited-quirks":!1;if(R={type:"root",children:C(i,c.childNodes),data:{quirksMode:Et}},i.file&&i.location){const Zt=String(i.file),pn=j(Zt),Un=pn.toPoint(0),dr=pn.toPoint(Zt.length);(0,T.ok)(Un,"expected `start`"),(0,T.ok)(dr,"expected `end`"),R.position={start:Un,end:dr}}return R}case"#documentType":{const xe=c;return R={type:"doctype"},X(i,xe,R),R}case"#text":{const xe=c;return R={type:"text",value:xe.value},X(i,xe,R),R}default:return R=P(i,c),R}}function C(i,c){let R=-1;const xe=[];for(;++R<c.length;){const Et=I(i,c[R]);xe.push(Et)}return xe}function P(i,c){const R=i.schema;i.schema=c.namespaceURI===u.t.svg?_.YP:_.dy;let xe=-1;const Et={};for(;++xe<c.attrs.length;){const Un=c.attrs[xe],dr=(Un.prefix?Un.prefix+":":"")+Un.name;Q.call(U,dr)||(Et[dr]=Un.value)}const pn=(i.schema.space==="svg"?b.s:b.h)(c.tagName,Et,C(i,c.childNodes));if(X(i,c,pn),pn.tagName==="template"){const Un=c,dr=Un.sourceCodeLocation,an=dr&&dr.startTag&&z(dr.startTag),wn=dr&&dr.endTag&&z(dr.endTag),Er=I(i,Un.content);an&&wn&&i.file&&(Er.position={start:an.end,end:wn.start}),pn.content=Er}return i.schema=R,pn}function X(i,c,R){if("sourceCodeLocation"in c&&c.sourceCodeLocation&&i.file){const xe=V(i,R,c.sourceCodeLocation);xe&&(i.location=!0,R.position=xe)}}function V(i,c,R){const xe=z(R);if(c.type==="element"){const Et=c.children[c.children.length-1];if(xe&&!R.endTag&&Et&&Et.position&&Et.position.end&&(xe.end=Object.assign({},Et.position.end)),i.verbose){const Zt={};let pn;if(R.attrs)for(pn in R.attrs)Q.call(R.attrs,pn)&&(Zt[(0,h.s)(i.schema,pn).property]=z(R.attrs[pn]));(0,T.ok)(R.startTag,"a start tag should exist");const Un=z(R.startTag),dr=R.endTag?z(R.endTag):void 0,an={opening:Un};dr&&(an.closing=dr),an.properties=Zt,c.data={position:an}}}return xe}function z(i){const c=N({line:i.startLine,column:i.startCol,offset:i.startOffset}),R=N({line:i.endLine,column:i.endCol,offset:i.endOffset});return c||R?{start:c,end:R}:void 0}function N(i){return i.line&&i.column?i:void 0}var F=o(11630);class B{constructor(c,R,xe){this.property=c,this.normal=R,xe&&(this.space=xe)}}B.prototype.property={},B.prototype.normal={},B.prototype.space=null;function W(i,c){const R={},xe={};let Et=-1;for(;++Et<i.length;)Object.assign(R,i[Et].property),Object.assign(xe,i[Et].normal);return new B(R,xe,c)}function H(i){return i.toLowerCase()}class le{constructor(c,R){this.property=c,this.attribute=R}}le.prototype.space=null,le.prototype.boolean=!1,le.prototype.booleanish=!1,le.prototype.overloadedBoolean=!1,le.prototype.number=!1,le.prototype.commaSeparated=!1,le.prototype.spaceSeparated=!1,le.prototype.commaOrSpaceSeparated=!1,le.prototype.mustUseProperty=!1,le.prototype.defined=!1;let te=0;const se=ue(),Ee=ue(),he=ue(),ve=ue(),J=ue(),Z=ue(),ie=ue();function ue(){return jo(2,++te)}const fe=Object.keys(a);class ae extends le{constructor(c,R,xe,Et){let Zt=-1;if(super(c,R),w(this,"space",Et),typeof xe=="number")for(;++Zt<fe.length;){const pn=fe[Zt];w(this,fe[Zt],(xe&a[pn])===a[pn])}}}ae.prototype.defined=!0;function w(i,c,R){R&&(i[c]=R)}const L={}.hasOwnProperty;function oe(i){const c={},R={};let xe;for(xe in i.properties)if(L.call(i.properties,xe)){const Et=i.properties[xe],Zt=new ae(xe,i.transform(i.attributes||{},xe),Et,i.space);i.mustUseProperty&&i.mustUseProperty.includes(xe)&&(Zt.mustUseProperty=!0),c[xe]=Zt,R[H(xe)]=xe,R[H(Zt.attribute)]=xe}return new B(c,R,i.space)}const M=oe({space:"xlink",transform(i,c){return"xlink:"+c.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),De=oe({space:"xml",transform(i,c){return"xml:"+c.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Fe(i,c){return c in i?i[c]:c}function Re(i,c){return Fe(i,c.toLowerCase())}const dt=oe({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Re,properties:{xmlns:null,xmlnsXLink:null}}),st=oe({transform(i,c){return c==="role"?c:"aria-"+c.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:ve,ariaColIndex:ve,ariaColSpan:ve,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:J,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:ve,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:ve,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:J,ariaRowCount:ve,ariaRowIndex:ve,ariaRowSpan:ve,ariaSelected:Ee,ariaSetSize:ve,ariaSort:null,ariaValueMax:ve,ariaValueMin:ve,ariaValueNow:ve,ariaValueText:null,role:null}}),it=oe({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Re,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Z,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:se,allowPaymentRequest:se,allowUserMedia:se,alt:null,as:null,async:se,autoCapitalize:null,autoComplete:J,autoFocus:se,autoPlay:se,blocking:J,capture:null,charSet:null,checked:se,cite:null,className:J,cols:ve,colSpan:null,content:null,contentEditable:Ee,controls:se,controlsList:J,coords:ve|Z,crossOrigin:null,data:null,dateTime:null,decoding:null,default:se,defer:se,dir:null,dirName:null,disabled:se,download:he,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:se,formTarget:null,headers:J,height:ve,hidden:se,high:ve,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:se,inputMode:null,integrity:null,is:null,isMap:se,itemId:null,itemProp:J,itemRef:J,itemScope:se,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:se,low:ve,manifest:null,max:null,maxLength:ve,media:null,method:null,min:null,minLength:ve,multiple:se,muted:se,name:null,nonce:null,noModule:se,noValidate:se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:se,optimum:ve,pattern:null,ping:J,placeholder:null,playsInline:se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:se,referrerPolicy:null,rel:J,required:se,reversed:se,rows:ve,rowSpan:ve,sandbox:J,scope:null,scoped:se,seamless:se,selected:se,shadowRootClonable:se,shadowRootDelegatesFocus:se,shadowRootMode:null,shape:null,size:ve,sizes:null,slot:null,span:ve,spellCheck:Ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ve,step:null,style:null,tabIndex:ve,target:null,title:null,translate:null,type:null,typeMustMatch:se,useMap:null,value:Ee,width:ve,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:ve,borderColor:null,bottomMargin:ve,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:se,declare:se,event:null,face:null,frame:null,frameBorder:null,hSpace:ve,leftMargin:ve,link:null,longDesc:null,lowSrc:null,marginHeight:ve,marginWidth:ve,noResize:se,noHref:se,noShade:se,noWrap:se,object:null,profile:null,prompt:null,rev:null,rightMargin:ve,rules:null,scheme:null,scrolling:Ee,standby:null,summary:null,text:null,topMargin:ve,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ve,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:se,disableRemotePlayback:se,prefix:null,property:null,results:ve,security:null,unselectable:null}}),lt=oe({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Fe,properties:{about:ie,accentHeight:ve,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ve,amplitude:ve,arabicForm:null,ascent:ve,attributeName:null,attributeType:null,azimuth:ve,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ve,by:null,calcMode:null,capHeight:ve,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ve,diffuseConstant:ve,direction:null,display:null,dur:null,divisor:ve,dominantBaseline:null,download:se,dx:null,dy:null,edgeMode:null,editable:null,elevation:ve,enableBackground:null,end:null,event:null,exponent:ve,externalResourcesRequired:null,fill:null,fillOpacity:ve,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Z,g2:Z,glyphName:Z,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ve,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ve,horizOriginX:ve,horizOriginY:ve,id:null,ideographic:ve,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ve,k:ve,k1:ve,k2:ve,k3:ve,k4:ve,kernelMatrix:ie,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ve,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ve,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ve,overlineThickness:ve,paintOrder:null,panose1:null,path:null,pathLength:ve,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ve,pointsAtY:ve,pointsAtZ:ve,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ie,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ie,rev:ie,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ie,requiredFeatures:ie,requiredFonts:ie,requiredFormats:ie,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ve,specularExponent:ve,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ve,strikethroughThickness:ve,string:null,stroke:null,strokeDashArray:ie,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ve,strokeOpacity:ve,strokeWidth:null,style:null,surfaceScale:ve,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ie,tabIndex:ve,tableValues:null,target:null,targetX:ve,targetY:ve,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ie,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ve,underlineThickness:ve,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ve,values:null,vAlphabetic:ve,vMathematical:ve,vectorEffect:null,vHanging:ve,vIdeographic:ve,version:null,vertAdvY:ve,vertOriginX:ve,vertOriginY:ve,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ve,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),zt=W([De,M,dt,st,it],"html"),nn=W([De,M,dt,st,lt],"svg"),Mt=/^data[-\w.:]+$/i,en=/-[a-z]/g,rn=/[A-Z]/g;function rt(i,c){const R=H(c);let xe=c,Et=le;if(R in i.normal)return i.property[i.normal[R]];if(R.length>4&&R.slice(0,4)==="data"&&Mt.test(c)){if(c.charAt(4)==="-"){const Zt=c.slice(5).replace(en,Be);xe="data"+Zt.charAt(0).toUpperCase()+Zt.slice(1)}else{const Zt=c.slice(4);if(!en.test(Zt)){let pn=Zt.replace(rn,tt);pn.charAt(0)!=="-"&&(pn="-"+pn),c="data"+pn}}Et=ae}return new Et(xe,c)}function tt(i){return"-"+i.toLowerCase()}function Be(i){return i.charAt(1).toUpperCase()}var Oe=o(71523);const Ue={}.hasOwnProperty;function $e(i,c){const R=c||{};function xe(Et,...Zt){let pn=xe.invalid;const Un=xe.handlers;if(Et&&Ue.call(Et,i)){const dr=String(Et[i]);pn=Ue.call(Un,dr)?Un[dr]:xe.unknown}if(pn)return pn.call(this,Et,...Zt)}return xe.handlers=R.handlers||{},xe.invalid=R.invalid,xe.unknown=R.unknown,xe}const ee={},ye={}.hasOwnProperty,Ne=$e("type",{handlers:{root:ze,element:_e,text:Ke,comment:je,doctype:Je}});function Ie(i,c){const xe=(c||ee).space;return Ne(i,xe==="svg"?nn:zt)}function ze(i,c){const R={nodeName:"#document",mode:(i.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return R.childNodes=Me(i.children,R,c),Pe(i,R),R}function He(i,c){const R={nodeName:"#document-fragment",childNodes:[]};return R.childNodes=Me(i.children,R,c),Pe(i,R),R}function Je(i){const c={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Pe(i,c),c}function Ke(i){const c={nodeName:"#text",value:i.value,parentNode:null};return Pe(i,c),c}function je(i){const c={nodeName:"#comment",data:i.value,parentNode:null};return Pe(i,c),c}function _e(i,c){const R=c;let xe=R;i.type==="element"&&i.tagName.toLowerCase()==="svg"&&R.space==="html"&&(xe=nn);const Et=[];let Zt;if(i.properties){for(Zt in i.properties)if(Zt!=="children"&&ye.call(i.properties,Zt)){const dr=Qe(xe,Zt,i.properties[Zt]);dr&&Et.push(dr)}}const pn=xe.space;(0,T.ok)(pn);const Un={nodeName:i.tagName,tagName:i.tagName,attrs:Et,namespaceURI:u.t[pn],childNodes:[],parentNode:null};return Un.childNodes=Me(i.children,Un,xe),Pe(i,Un),i.tagName==="template"&&i.content&&(Un.content=He(i.content,xe)),Un}function Qe(i,c,R){const xe=rt(i,c);if(R===!1||R===null||R===void 0||typeof R=="number"&&Number.isNaN(R)||!R&&xe.boolean)return;Array.isArray(R)&&(R=xe.commaSeparated?(0,F.P)(R):(0,Oe.P)(R));const Et={name:xe.attribute,value:R===!0?"":String(R)};if(xe.space&&xe.space!=="html"&&xe.space!=="svg"){const Zt=Et.name.indexOf(":");Zt<0?Et.prefix="":(Et.name=Et.name.slice(Zt+1),Et.prefix=xe.attribute.slice(0,Zt)),Et.namespace=u.t[xe.space]}return Et}function Me(i,c,R){let xe=-1;const Et=[];if(i)for(;++xe<i.length;){const Zt=Ne(i[xe],R);Zt.parentNode=c,Et.push(Zt)}return Et}function Pe(i,c){const R=i.position;R&&R.start&&R.end&&((0,T.ok)(typeof R.start.offset=="number"),(0,T.ok)(typeof R.end.offset=="number"),c.sourceCodeLocation={startLine:R.start.line,startCol:R.start.column,startOffset:R.start.offset,endLine:R.end.line,endCol:R.end.column,endOffset:R.end.offset})}const Le=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],ht=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),nt="\uFFFD";var re;(function(i){i[i.EOF=-1]="EOF",i[i.NULL=0]="NULL",i[i.TABULATION=9]="TABULATION",i[i.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",i[i.LINE_FEED=10]="LINE_FEED",i[i.FORM_FEED=12]="FORM_FEED",i[i.SPACE=32]="SPACE",i[i.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",i[i.QUOTATION_MARK=34]="QUOTATION_MARK",i[i.AMPERSAND=38]="AMPERSAND",i[i.APOSTROPHE=39]="APOSTROPHE",i[i.HYPHEN_MINUS=45]="HYPHEN_MINUS",i[i.SOLIDUS=47]="SOLIDUS",i[i.DIGIT_0=48]="DIGIT_0",i[i.DIGIT_9=57]="DIGIT_9",i[i.SEMICOLON=59]="SEMICOLON",i[i.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",i[i.EQUALS_SIGN=61]="EQUALS_SIGN",i[i.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",i[i.QUESTION_MARK=63]="QUESTION_MARK",i[i.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",i[i.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",i[i.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",i[i.GRAVE_ACCENT=96]="GRAVE_ACCENT",i[i.LATIN_SMALL_A=97]="LATIN_SMALL_A",i[i.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(re||(re={}));const ut={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Ze(i){return i>=55296&&i<=57343}function Se(i){return i>=56320&&i<=57343}function St(i,c){return(i-55296)*1024+9216+c}function tn(i){return i!==32&&i!==10&&i!==13&&i!==9&&i!==12&&i>=1&&i<=31||i>=127&&i<=159}function gt(i){return i>=64976&&i<=65007||ht.has(i)}var Xe;(function(i){i.controlCharacterInInputStream="control-character-in-input-stream",i.noncharacterInInputStream="noncharacter-in-input-stream",i.surrogateInInputStream="surrogate-in-input-stream",i.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",i.endTagWithAttributes="end-tag-with-attributes",i.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",i.unexpectedSolidusInTag="unexpected-solidus-in-tag",i.unexpectedNullCharacter="unexpected-null-character",i.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",i.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",i.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",i.missingEndTagName="missing-end-tag-name",i.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",i.unknownNamedCharacterReference="unknown-named-character-reference",i.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",i.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",i.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",i.eofBeforeTagName="eof-before-tag-name",i.eofInTag="eof-in-tag",i.missingAttributeValue="missing-attribute-value",i.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",i.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",i.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",i.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",i.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",i.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",i.missingDoctypePublicIdentifier="missing-doctype-public-identifier",i.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",i.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",i.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",i.cdataInHtmlContent="cdata-in-html-content",i.incorrectlyOpenedComment="incorrectly-opened-comment",i.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",i.eofInDoctype="eof-in-doctype",i.nestedComment="nested-comment",i.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",i.eofInComment="eof-in-comment",i.incorrectlyClosedComment="incorrectly-closed-comment",i.eofInCdata="eof-in-cdata",i.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",i.nullCharacterReference="null-character-reference",i.surrogateCharacterReference="surrogate-character-reference",i.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",i.controlCharacterReference="control-character-reference",i.noncharacterCharacterReference="noncharacter-character-reference",i.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",i.missingDoctypeName="missing-doctype-name",i.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",i.duplicateAttribute="duplicate-attribute",i.nonConformingDoctype="non-conforming-doctype",i.missingDoctype="missing-doctype",i.misplacedDoctype="misplaced-doctype",i.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",i.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",i.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",i.openElementsLeftAfterEof="open-elements-left-after-eof",i.abandonedHeadElementChild="abandoned-head-element-child",i.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",i.nestedNoscriptInHead="nested-noscript-in-head",i.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Xe||(Xe={}));const qe=65536;class Ge{constructor(c){this.handler=c,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=qe,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(c,R){const{line:xe,col:Et,offset:Zt}=this,pn=Et+R,Un=Zt+R;return{code:c,startLine:xe,endLine:xe,startCol:pn,endCol:pn,startOffset:Un,endOffset:Un}}_err(c){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(c,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(c){if(this.pos!==this.html.length-1){const R=this.html.charCodeAt(this.pos+1);if(Se(R))return this.pos++,this._addGap(),St(c,R)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,re.EOF;return this._err(Xe.surrogateInInputStream),c}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(c,R){this.html.length>0?this.html+=c:this.html=c,this.endOfChunkHit=!1,this.lastChunkWritten=R}insertHtmlAtCurrentPos(c){this.html=this.html.substring(0,this.pos+1)+c+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(c,R){if(this.pos+c.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(R)return this.html.startsWith(c,this.pos);for(let xe=0;xe<c.length;xe++)if((this.html.charCodeAt(this.pos+xe)|32)!==c.charCodeAt(xe))return!1;return!0}peek(c){const R=this.pos+c;if(R>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,re.EOF;const xe=this.html.charCodeAt(R);return xe===re.CARRIAGE_RETURN?re.LINE_FEED:xe}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,re.EOF;let c=this.html.charCodeAt(this.pos);return c===re.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,re.LINE_FEED):c===re.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ze(c)&&(c=this._processSurrogate(c)),this.handler.onParseError===null||c>31&&c<127||c===re.LINE_FEED||c===re.CARRIAGE_RETURN||c>159&&c<64976||this._checkForProblematicCharacters(c),c)}_checkForProblematicCharacters(c){tn(c)?this._err(Xe.controlCharacterInInputStream):gt(c)&&this._err(Xe.noncharacterInInputStream)}retreat(c){for(this.pos-=c;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ke;(function(i){i[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION"})(ke||(ke={}));function ce(i,c){for(let R=i.attrs.length-1;R>=0;R--)if(i.attrs[R].name===c)return i.attrs[R].value;return null}var pe=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(i=>i.charCodeAt(0))),me=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(i=>i.charCodeAt(0))),we;const Ye=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),bt=(we=String.fromCodePoint)!==null&&we!==void 0?we:function(i){let c="";return i>65535&&(i-=65536,c+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),c+=String.fromCharCode(i),c};function Dt(i){var c;return i>=55296&&i<=57343||i>1114111?65533:(c=Ye.get(i))!==null&&c!==void 0?c:i}function jt(i){return bt(Dt(i))}var Kt;(function(i){i[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z"})(Kt||(Kt={}));const Ht=32;var Ft;(function(i){i[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE"})(Ft||(Ft={}));function Gt(i){return i>=Kt.ZERO&&i<=Kt.NINE}function Yt(i){return i>=Kt.UPPER_A&&i<=Kt.UPPER_F||i>=Kt.LOWER_A&&i<=Kt.LOWER_F}function $t(i){return i>=Kt.UPPER_A&&i<=Kt.UPPER_Z||i>=Kt.LOWER_A&&i<=Kt.LOWER_Z||Gt(i)}function bn(i){return i===Kt.EQUALS||$t(i)}var Jt;(function(i){i[i.EntityStart=0]="EntityStart",i[i.NumericStart=1]="NumericStart",i[i.NumericDecimal=2]="NumericDecimal",i[i.NumericHex=3]="NumericHex",i[i.NamedEntity=4]="NamedEntity"})(Jt||(Jt={}));var un;(function(i){i[i.Legacy=0]="Legacy",i[i.Strict=1]="Strict",i[i.Attribute=2]="Attribute"})(un||(un={}));class mn{constructor(c,R,xe){this.decodeTree=c,this.emitCodePoint=R,this.errors=xe,this.state=Jt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=un.Strict}startEntity(c){this.decodeMode=c,this.state=Jt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(c,R){switch(this.state){case Jt.EntityStart:return c.charCodeAt(R)===Kt.NUM?(this.state=Jt.NumericStart,this.consumed+=1,this.stateNumericStart(c,R+1)):(this.state=Jt.NamedEntity,this.stateNamedEntity(c,R));case Jt.NumericStart:return this.stateNumericStart(c,R);case Jt.NumericDecimal:return this.stateNumericDecimal(c,R);case Jt.NumericHex:return this.stateNumericHex(c,R);case Jt.NamedEntity:return this.stateNamedEntity(c,R)}}stateNumericStart(c,R){return R>=c.length?-1:(c.charCodeAt(R)|Ht)===Kt.LOWER_X?(this.state=Jt.NumericHex,this.consumed+=1,this.stateNumericHex(c,R+1)):(this.state=Jt.NumericDecimal,this.stateNumericDecimal(c,R))}addToNumericResult(c,R,xe,Et){if(R!==xe){const Zt=xe-R;this.result=this.result*Math.pow(Et,Zt)+parseInt(c.substr(R,Zt),Et),this.consumed+=Zt}}stateNumericHex(c,R){const xe=R;for(;R<c.length;){const Et=c.charCodeAt(R);if(Gt(Et)||Yt(Et))R+=1;else return this.addToNumericResult(c,xe,R,16),this.emitNumericEntity(Et,3)}return this.addToNumericResult(c,xe,R,16),-1}stateNumericDecimal(c,R){const xe=R;for(;R<c.length;){const Et=c.charCodeAt(R);if(Gt(Et))R+=1;else return this.addToNumericResult(c,xe,R,10),this.emitNumericEntity(Et,2)}return this.addToNumericResult(c,xe,R,10),-1}emitNumericEntity(c,R){var xe;if(this.consumed<=R)return(xe=this.errors)===null||xe===void 0||xe.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(c===Kt.SEMI)this.consumed+=1;else if(this.decodeMode===un.Strict)return 0;return this.emitCodePoint(Dt(this.result),this.consumed),this.errors&&(c!==Kt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(c,R){const{decodeTree:xe}=this;let Et=xe[this.treeIndex],Zt=(Et&Ft.VALUE_LENGTH)>>14;for(;R<c.length;R++,this.excess++){const pn=c.charCodeAt(R);if(this.treeIndex=vn(xe,Et,this.treeIndex+Math.max(1,Zt),pn),this.treeIndex<0)return this.result===0||this.decodeMode===un.Attribute&&(Zt===0||bn(pn))?0:this.emitNotTerminatedNamedEntity();if(Et=xe[this.treeIndex],Zt=(Et&Ft.VALUE_LENGTH)>>14,Zt!==0){if(pn===Kt.SEMI)return this.emitNamedEntityData(this.treeIndex,Zt,this.consumed+this.excess);this.decodeMode!==un.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var c;const{result:R,decodeTree:xe}=this,Et=(xe[R]&Ft.VALUE_LENGTH)>>14;return this.emitNamedEntityData(R,Et,this.consumed),(c=this.errors)===null||c===void 0||c.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(c,R,xe){const{decodeTree:Et}=this;return this.emitCodePoint(R===1?Et[c]&~Ft.VALUE_LENGTH:Et[c+1],xe),R===3&&this.emitCodePoint(Et[c+2],xe),xe}end(){var c;switch(this.state){case Jt.NamedEntity:return this.result!==0&&(this.decodeMode!==un.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Jt.NumericDecimal:return this.emitNumericEntity(0,2);case Jt.NumericHex:return this.emitNumericEntity(0,3);case Jt.NumericStart:return(c=this.errors)===null||c===void 0||c.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Jt.EntityStart:return 0}}}function hn(i){let c="";const R=new mn(i,xe=>c+=bt(xe));return function(Et,Zt){let pn=0,Un=0;for(;(Un=Et.indexOf("&",Un))>=0;){c+=Et.slice(pn,Un),R.startEntity(Zt);const an=R.write(Et,Un+1);if(an<0){pn=Un+R.end();break}pn=Un+an,Un=an===0?pn+1:pn}const dr=c+Et.slice(pn);return c="",dr}}function vn(i,c,R,xe){const Et=(c&Ft.BRANCH_LENGTH)>>7,Zt=c&Ft.JUMP_TABLE;if(Et===0)return Zt!==0&&xe===Zt?R:-1;if(Zt){const dr=xe-Zt;return dr<0||dr>=Et?-1:i[R+dr]-1}let pn=R,Un=pn+Et-1;for(;pn<=Un;){const dr=pn+Un>>>1,an=i[dr];if(an<xe)pn=dr+1;else if(an>xe)Un=dr-1;else return i[dr+Et]}return-1}const yn=hn(pe),Gn=hn(me);function jn(i,c=un.Legacy){return yn(i,c)}function It(i){return yn(i,un.Attribute)}function Ct(i){return yn(i,un.Strict)}function Ut(i){return Gn(i,un.Strict)}var xt;(function(i){i.HTML="http://www.w3.org/1999/xhtml",i.MATHML="http://www.w3.org/1998/Math/MathML",i.SVG="http://www.w3.org/2000/svg",i.XLINK="http://www.w3.org/1999/xlink",i.XML="http://www.w3.org/XML/1998/namespace",i.XMLNS="http://www.w3.org/2000/xmlns/"})(xt||(xt={}));var fn;(function(i){i.TYPE="type",i.ACTION="action",i.ENCODING="encoding",i.PROMPT="prompt",i.NAME="name",i.COLOR="color",i.FACE="face",i.SIZE="size"})(fn||(fn={}));var cn;(function(i){i.NO_QUIRKS="no-quirks",i.QUIRKS="quirks",i.LIMITED_QUIRKS="limited-quirks"})(cn||(cn={}));var ot;(function(i){i.A="a",i.ADDRESS="address",i.ANNOTATION_XML="annotation-xml",i.APPLET="applet",i.AREA="area",i.ARTICLE="article",i.ASIDE="aside",i.B="b",i.BASE="base",i.BASEFONT="basefont",i.BGSOUND="bgsound",i.BIG="big",i.BLOCKQUOTE="blockquote",i.BODY="body",i.BR="br",i.BUTTON="button",i.CAPTION="caption",i.CENTER="center",i.CODE="code",i.COL="col",i.COLGROUP="colgroup",i.DD="dd",i.DESC="desc",i.DETAILS="details",i.DIALOG="dialog",i.DIR="dir",i.DIV="div",i.DL="dl",i.DT="dt",i.EM="em",i.EMBED="embed",i.FIELDSET="fieldset",i.FIGCAPTION="figcaption",i.FIGURE="figure",i.FONT="font",i.FOOTER="footer",i.FOREIGN_OBJECT="foreignObject",i.FORM="form",i.FRAME="frame",i.FRAMESET="frameset",i.H1="h1",i.H2="h2",i.H3="h3",i.H4="h4",i.H5="h5",i.H6="h6",i.HEAD="head",i.HEADER="header",i.HGROUP="hgroup",i.HR="hr",i.HTML="html",i.I="i",i.IMG="img",i.IMAGE="image",i.INPUT="input",i.IFRAME="iframe",i.KEYGEN="keygen",i.LABEL="label",i.LI="li",i.LINK="link",i.LISTING="listing",i.MAIN="main",i.MALIGNMARK="malignmark",i.MARQUEE="marquee",i.MATH="math",i.MENU="menu",i.META="meta",i.MGLYPH="mglyph",i.MI="mi",i.MO="mo",i.MN="mn",i.MS="ms",i.MTEXT="mtext",i.NAV="nav",i.NOBR="nobr",i.NOFRAMES="noframes",i.NOEMBED="noembed",i.NOSCRIPT="noscript",i.OBJECT="object",i.OL="ol",i.OPTGROUP="optgroup",i.OPTION="option",i.P="p",i.PARAM="param",i.PLAINTEXT="plaintext",i.PRE="pre",i.RB="rb",i.RP="rp",i.RT="rt",i.RTC="rtc",i.RUBY="ruby",i.S="s",i.SCRIPT="script",i.SEARCH="search",i.SECTION="section",i.SELECT="select",i.SOURCE="source",i.SMALL="small",i.SPAN="span",i.STRIKE="strike",i.STRONG="strong",i.STYLE="style",i.SUB="sub",i.SUMMARY="summary",i.SUP="sup",i.TABLE="table",i.TBODY="tbody",i.TEMPLATE="template",i.TEXTAREA="textarea",i.TFOOT="tfoot",i.TD="td",i.TH="th",i.THEAD="thead",i.TITLE="title",i.TR="tr",i.TRACK="track",i.TT="tt",i.U="u",i.UL="ul",i.SVG="svg",i.VAR="var",i.WBR="wbr",i.XMP="xmp"})(ot||(ot={}));var D;(function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.A=1]="A",i[i.ADDRESS=2]="ADDRESS",i[i.ANNOTATION_XML=3]="ANNOTATION_XML",i[i.APPLET=4]="APPLET",i[i.AREA=5]="AREA",i[i.ARTICLE=6]="ARTICLE",i[i.ASIDE=7]="ASIDE",i[i.B=8]="B",i[i.BASE=9]="BASE",i[i.BASEFONT=10]="BASEFONT",i[i.BGSOUND=11]="BGSOUND",i[i.BIG=12]="BIG",i[i.BLOCKQUOTE=13]="BLOCKQUOTE",i[i.BODY=14]="BODY",i[i.BR=15]="BR",i[i.BUTTON=16]="BUTTON",i[i.CAPTION=17]="CAPTION",i[i.CENTER=18]="CENTER",i[i.CODE=19]="CODE",i[i.COL=20]="COL",i[i.COLGROUP=21]="COLGROUP",i[i.DD=22]="DD",i[i.DESC=23]="DESC",i[i.DETAILS=24]="DETAILS",i[i.DIALOG=25]="DIALOG",i[i.DIR=26]="DIR",i[i.DIV=27]="DIV",i[i.DL=28]="DL",i[i.DT=29]="DT",i[i.EM=30]="EM",i[i.EMBED=31]="EMBED",i[i.FIELDSET=32]="FIELDSET",i[i.FIGCAPTION=33]="FIGCAPTION",i[i.FIGURE=34]="FIGURE",i[i.FONT=35]="FONT",i[i.FOOTER=36]="FOOTER",i[i.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",i[i.FORM=38]="FORM",i[i.FRAME=39]="FRAME",i[i.FRAMESET=40]="FRAMESET",i[i.H1=41]="H1",i[i.H2=42]="H2",i[i.H3=43]="H3",i[i.H4=44]="H4",i[i.H5=45]="H5",i[i.H6=46]="H6",i[i.HEAD=47]="HEAD",i[i.HEADER=48]="HEADER",i[i.HGROUP=49]="HGROUP",i[i.HR=50]="HR",i[i.HTML=51]="HTML",i[i.I=52]="I",i[i.IMG=53]="IMG",i[i.IMAGE=54]="IMAGE",i[i.INPUT=55]="INPUT",i[i.IFRAME=56]="IFRAME",i[i.KEYGEN=57]="KEYGEN",i[i.LABEL=58]="LABEL",i[i.LI=59]="LI",i[i.LINK=60]="LINK",i[i.LISTING=61]="LISTING",i[i.MAIN=62]="MAIN",i[i.MALIGNMARK=63]="MALIGNMARK",i[i.MARQUEE=64]="MARQUEE",i[i.MATH=65]="MATH",i[i.MENU=66]="MENU",i[i.META=67]="META",i[i.MGLYPH=68]="MGLYPH",i[i.MI=69]="MI",i[i.MO=70]="MO",i[i.MN=71]="MN",i[i.MS=72]="MS",i[i.MTEXT=73]="MTEXT",i[i.NAV=74]="NAV",i[i.NOBR=75]="NOBR",i[i.NOFRAMES=76]="NOFRAMES",i[i.NOEMBED=77]="NOEMBED",i[i.NOSCRIPT=78]="NOSCRIPT",i[i.OBJECT=79]="OBJECT",i[i.OL=80]="OL",i[i.OPTGROUP=81]="OPTGROUP",i[i.OPTION=82]="OPTION",i[i.P=83]="P",i[i.PARAM=84]="PARAM",i[i.PLAINTEXT=85]="PLAINTEXT",i[i.PRE=86]="PRE",i[i.RB=87]="RB",i[i.RP=88]="RP",i[i.RT=89]="RT",i[i.RTC=90]="RTC",i[i.RUBY=91]="RUBY",i[i.S=92]="S",i[i.SCRIPT=93]="SCRIPT",i[i.SEARCH=94]="SEARCH",i[i.SECTION=95]="SECTION",i[i.SELECT=96]="SELECT",i[i.SOURCE=97]="SOURCE",i[i.SMALL=98]="SMALL",i[i.SPAN=99]="SPAN",i[i.STRIKE=100]="STRIKE",i[i.STRONG=101]="STRONG",i[i.STYLE=102]="STYLE",i[i.SUB=103]="SUB",i[i.SUMMARY=104]="SUMMARY",i[i.SUP=105]="SUP",i[i.TABLE=106]="TABLE",i[i.TBODY=107]="TBODY",i[i.TEMPLATE=108]="TEMPLATE",i[i.TEXTAREA=109]="TEXTAREA",i[i.TFOOT=110]="TFOOT",i[i.TD=111]="TD",i[i.TH=112]="TH",i[i.THEAD=113]="THEAD",i[i.TITLE=114]="TITLE",i[i.TR=115]="TR",i[i.TRACK=116]="TRACK",i[i.TT=117]="TT",i[i.U=118]="U",i[i.UL=119]="UL",i[i.SVG=120]="SVG",i[i.VAR=121]="VAR",i[i.WBR=122]="WBR",i[i.XMP=123]="XMP"})(D||(D={}));const En=new Map([[ot.A,D.A],[ot.ADDRESS,D.ADDRESS],[ot.ANNOTATION_XML,D.ANNOTATION_XML],[ot.APPLET,D.APPLET],[ot.AREA,D.AREA],[ot.ARTICLE,D.ARTICLE],[ot.ASIDE,D.ASIDE],[ot.B,D.B],[ot.BASE,D.BASE],[ot.BASEFONT,D.BASEFONT],[ot.BGSOUND,D.BGSOUND],[ot.BIG,D.BIG],[ot.BLOCKQUOTE,D.BLOCKQUOTE],[ot.BODY,D.BODY],[ot.BR,D.BR],[ot.BUTTON,D.BUTTON],[ot.CAPTION,D.CAPTION],[ot.CENTER,D.CENTER],[ot.CODE,D.CODE],[ot.COL,D.COL],[ot.COLGROUP,D.COLGROUP],[ot.DD,D.DD],[ot.DESC,D.DESC],[ot.DETAILS,D.DETAILS],[ot.DIALOG,D.DIALOG],[ot.DIR,D.DIR],[ot.DIV,D.DIV],[ot.DL,D.DL],[ot.DT,D.DT],[ot.EM,D.EM],[ot.EMBED,D.EMBED],[ot.FIELDSET,D.FIELDSET],[ot.FIGCAPTION,D.FIGCAPTION],[ot.FIGURE,D.FIGURE],[ot.FONT,D.FONT],[ot.FOOTER,D.FOOTER],[ot.FOREIGN_OBJECT,D.FOREIGN_OBJECT],[ot.FORM,D.FORM],[ot.FRAME,D.FRAME],[ot.FRAMESET,D.FRAMESET],[ot.H1,D.H1],[ot.H2,D.H2],[ot.H3,D.H3],[ot.H4,D.H4],[ot.H5,D.H5],[ot.H6,D.H6],[ot.HEAD,D.HEAD],[ot.HEADER,D.HEADER],[ot.HGROUP,D.HGROUP],[ot.HR,D.HR],[ot.HTML,D.HTML],[ot.I,D.I],[ot.IMG,D.IMG],[ot.IMAGE,D.IMAGE],[ot.INPUT,D.INPUT],[ot.IFRAME,D.IFRAME],[ot.KEYGEN,D.KEYGEN],[ot.LABEL,D.LABEL],[ot.LI,D.LI],[ot.LINK,D.LINK],[ot.LISTING,D.LISTING],[ot.MAIN,D.MAIN],[ot.MALIGNMARK,D.MALIGNMARK],[ot.MARQUEE,D.MARQUEE],[ot.MATH,D.MATH],[ot.MENU,D.MENU],[ot.META,D.META],[ot.MGLYPH,D.MGLYPH],[ot.MI,D.MI],[ot.MO,D.MO],[ot.MN,D.MN],[ot.MS,D.MS],[ot.MTEXT,D.MTEXT],[ot.NAV,D.NAV],[ot.NOBR,D.NOBR],[ot.NOFRAMES,D.NOFRAMES],[ot.NOEMBED,D.NOEMBED],[ot.NOSCRIPT,D.NOSCRIPT],[ot.OBJECT,D.OBJECT],[ot.OL,D.OL],[ot.OPTGROUP,D.OPTGROUP],[ot.OPTION,D.OPTION],[ot.P,D.P],[ot.PARAM,D.PARAM],[ot.PLAINTEXT,D.PLAINTEXT],[ot.PRE,D.PRE],[ot.RB,D.RB],[ot.RP,D.RP],[ot.RT,D.RT],[ot.RTC,D.RTC],[ot.RUBY,D.RUBY],[ot.S,D.S],[ot.SCRIPT,D.SCRIPT],[ot.SEARCH,D.SEARCH],[ot.SECTION,D.SECTION],[ot.SELECT,D.SELECT],[ot.SOURCE,D.SOURCE],[ot.SMALL,D.SMALL],[ot.SPAN,D.SPAN],[ot.STRIKE,D.STRI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MMARY,Qt.TABLE,Qt.TBODY,Qt.TD,Qt.TEMPLATE,Qt.TEXTAREA,Qt.TFOOT,Qt.TH,Qt.THEAD,Qt.TITLE,Qt.TR,Qt.TRACK,Qt.UL,Qt.WBR,Qt.XMP]),[xt.MATHML]:new Set([Qt.MI,Qt.MO,Qt.MN,Qt.MS,Qt.MTEXT,Qt.ANNOTATION_XML]),[xt.SVG]:new Set([Qt.TITLE,Qt.FOREIGN_OBJECT,Qt.DESC]),[xt.XLINK]:new Set,[xt.XML]:new Set,[xt.XMLNS]:new Set},_n=new Set([Qt.H1,Qt.H2,Qt.H3,Qt.H4,Qt.H5,Qt.H6]),at=new Set([ot.STYLE,ot.SCRIPT,ot.XMP,ot.IFRAME,ot.NOEMBED,ot.NOFRAMES,ot.PLAINTEXT]);function vt(i,c){return at.has(i)||c&&i===ot.NOSCRIPT}var be;(function(i){i[i.DATA=0]="DATA",i[i.RCDATA=1]="RCDATA",i[i.RAWTEXT=2]="RAWTEXT",i[i.SCRIPT_DATA=3]="SCRIPT_DATA",i[i.PLAINTEXT=4]="PLAINTEXT",i[i.TAG_OPEN=5]="TAG_OPEN",i[i.END_TAG_OPEN=6]="END_TAG_OPEN",i[i.TAG_NAME=7]="TAG_NAME",i[i.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",i[i.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",i[i.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",i[i.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",i[i.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",i[i.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",i[i.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",i[i.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",i[i.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",i[i.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",i[i.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",i[i.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",i[i.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",i[i.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",i[i.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",i[i.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",i[i.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",i[i.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",i[i.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",i[i.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",i[i.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",i[i.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",i[i.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",i[i.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",i[i.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",i[i.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",i[i.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",i[i.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",i[i.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",i[i.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",i[i.BOGUS_COMMENT=40]="BOGUS_COMMENT",i[i.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",i[i.COMMENT_START=42]="COMMENT_START",i[i.COMMENT_START_DASH=43]="COMMENT_START_DASH",i[i.COMMENT=44]="COMMENT",i[i.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",i[i.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",i[i.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",i[i.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",i[i.COMMENT_END_DASH=49]="COMMENT_END_DASH",i[i.COMMENT_END=50]="COMMENT_END",i[i.COMMENT_END_BANG=51]="COMMENT_END_BANG",i[i.DOCTYPE=52]="DOCTYPE",i[i.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",i[i.DOCTYPE_NAME=54]="DOCTYPE_NAME",i[i.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",i[i.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",i[i.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",i[i.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",i[i.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",i[i.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",i[i.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",i[i.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",i[i.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",i[i.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",i[i.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",i[i.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",i[i.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",i[i.CDATA_SECTION=68]="CDATA_SECTION",i[i.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",i[i.CDATA_SECTION_END=70]="CDATA_SECTION_END",i[i.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",i[i.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(be||(be={}));const wt={DATA:be.DATA,RCDATA:be.RCDATA,RAWTEXT:be.RAWTEXT,SCRIPT_DATA:be.SCRIPT_DATA,PLAINTEXT:be.PLAINTEXT,CDATA_SECTION:be.CDATA_SECTION};function sn(i){return i>=re.DIGIT_0&&i<=re.DIGIT_9}function Wt(i){return i>=re.LATIN_CAPITAL_A&&i<=re.LATIN_CAPITAL_Z}function dn(i){return i>=re.LATIN_SMALL_A&&i<=re.LATIN_SMALL_Z}function gn(i){return dn(i)||Wt(i)}function zn(i){return gn(i)||sn(i)}function Dn(i){return i+32}function xn(i){return i===re.SPACE||i===re.LINE_FEED||i===re.TABULATION||i===re.FORM_FEED}function Ln(i){return xn(i)||i===re.SOLIDUS||i===re.GREATER_THAN_SIGN}function Vn(i){return i===re.NULL?Xe.nullCharacterReference:i>1114111?Xe.characterReferenceOutsideUnicodeRange:Ze(i)?Xe.surrogateCharacterReference:gt(i)?Xe.noncharacterCharacterReference:tn(i)||i===re.CARRIAGE_RETURN?Xe.controlCharacterReference:null}class nr{constructor(c,R){this.options=c,this.handler=R,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=be.DATA,this.returnState=be.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ge(R),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new mn(pe,(xe,Et)=>{this.preprocessor.pos=this.entityStartPos+Et-1,this._flushCodePointConsumedAsCharacterReference(xe)},R.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(Xe.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:xe=>{this._err(Xe.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+xe)},validateNumericCharacterReference:xe=>{const Et=Vn(xe);Et&&this._err(Et,1)}}:void 0)}_err(c,R=0){var xe,Et;(Et=(xe=this.handler).onParseError)===null||Et===void 0||Et.call(xe,this.preprocessor.getError(c,R))}getCurrentLocation(c){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-c,startOffset:this.preprocessor.offset-c,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const c=this._consume();this._ensureHibernation()||this._callState(c)}this.inLoop=!1}}pause(){this.paused=!0}resume(c){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||c==null||c())}write(c,R,xe){this.active=!0,this.preprocessor.write(c,R),this._runParsingLoop(),this.paused||xe==null||xe()}insertHtmlAtCurrentPos(c){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(c),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(c){this.consumedAfterSnapshot+=c;for(let R=0;R<c;R++)this.preprocessor.advance()}_consumeSequenceIfMatch(c,R){return this.preprocessor.startsWith(c,R)?(this._advanceBy(c.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ke.START_TAG,tagName:"",tagID:D.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ke.END_TAG,tagName:"",tagID:D.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(c){this.currentToken={type:ke.COMMENT,data:"",location:this.getCurrentLocation(c)}}_createDoctypeToken(c){this.currentToken={type:ke.DOCTYPE,name:c,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(c,R){this.currentCharacterToken={type:c,chars:R,location:this.currentLocation}}_createAttr(c){this.currentAttr={name:c,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var c,R;const xe=this.currentToken;if(ce(xe,this.currentAttr.name)===null){if(xe.attrs.push(this.currentAttr),xe.location&&this.currentLocation){const Et=(c=(R=xe.location).attrs)!==null&&c!==void 0?c:R.attrs=Object.create(null);Et[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(Xe.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(c){this._emitCurrentCharacterToken(c.location),this.currentToken=null,c.location&&(c.location.endLine=this.preprocessor.line,c.location.endCol=this.preprocessor.col+1,c.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const c=this.currentToken;this.prepareToken(c),c.tagID=Pn(c.tagName),c.type===ke.START_TAG?(this.lastStartTagName=c.tagName,this.handler.onStartTag(c)):(c.attrs.length>0&&this._err(Xe.endTagWithAttributes),c.selfClosing&&this._err(Xe.endTagWithTrailingSolidus),this.handler.onEndTag(c)),this.preprocessor.dropParsedChunk()}emitCurrentComment(c){this.prepareToken(c),this.handler.onComment(c),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(c){this.prepareToken(c),this.handler.onDoctype(c),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(c){if(this.currentCharacterToken){switch(c&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=c.startLine,this.currentCharacterToken.location.endCol=c.startCol,this.currentCharacterToken.location.endOffset=c.startOffset),this.currentCharacterToken.type){case ke.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ke.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ke.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const c=this.getCurrentLocation(0);c&&(c.endLine=c.startLine,c.endCol=c.startCol,c.endOffset=c.startOffset),this._emitCurrentCharacterToken(c),this.handler.onEof({type:ke.EOF,location:c}),this.active=!1}_appendCharToCurrentCharacterToken(c,R){if(this.currentCharacterToken)if(this.currentCharacterToken.type===c){this.currentCharacterToken.chars+=R;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(c,R)}_emitCodePoint(c){const R=xn(c)?ke.WHITESPACE_CHARACTER:c===re.NULL?ke.NULL_CHARACTER:ke.CHARACTER;this._appendCharToCurrentCharacterToken(R,String.fromCodePoint(c))}_emitChars(c){this._appendCharToCurrentCharacterToken(ke.CHARACTER,c)}_startCharacterReference(){this.returnState=this.state,this.state=be.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?un.Attribute:un.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===be.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===be.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===be.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(c){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(c):this._emitCodePoint(c)}_callState(c){switch(this.state){case be.DATA:{this._stateData(c);break}case be.RCDATA:{this._stateRcdata(c);break}case be.RAWTEXT:{this._stateRawtext(c);break}case be.SCRIPT_DATA:{this._stateScriptData(c);break}case be.PLAINTEXT:{this._statePlaintext(c);break}case be.TAG_OPEN:{this._stateTagOpen(c);break}case be.END_TAG_OPEN:{this._stateEndTagOpen(c);break}case be.TAG_NAME:{this._stateTagName(c);break}case be.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(c);break}case be.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(c);break}case be.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(c);break}case be.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(c);break}case be.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(c);break}case be.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(c);break}case be.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(c);break}case be.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(c);break}case be.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(c);break}case be.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(c);break}case be.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(c);break}case be.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(c);break}case be.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(c);break}case be.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(c);break}case be.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(c);break}case be.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(c);break}case be.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(c);break}case be.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(c);break}case be.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(c);break}case be.ATTRIBUTE_NAME:{this._stateAttributeName(c);break}case be.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(c);break}case be.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(c);break}case be.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(c);break}case be.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(c);break}case be.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(c);break}case be.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(c);break}case be.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(c);break}case be.BOGUS_COMMENT:{this._stateBogusComment(c);break}case be.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(c);break}case be.COMMENT_START:{this._stateCommentStart(c);break}case be.COMMENT_START_DASH:{this._stateCommentStartDash(c);break}case be.COMMENT:{this._stateComment(c);break}case be.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(c);break}case be.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(c);break}case be.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(c);break}case be.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(c);break}case be.COMMENT_END_DASH:{this._stateCommentEndDash(c);break}case be.COMMENT_END:{this._stateCommentEnd(c);break}case be.COMMENT_END_BANG:{this._stateCommentEndBang(c);break}case be.DOCTYPE:{this._stateDoctype(c);break}case be.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(c);break}case be.DOCTYPE_NAME:{this._stateDoctypeName(c);break}case be.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(c);break}case be.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(c);break}case be.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(c);break}case be.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(c);break}case be.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(c);break}case be.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(c);break}case be.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(c);break}case be.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(c);break}case be.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(c);break}case be.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(c);break}case be.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(c);break}case be.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(c);break}case be.BOGUS_DOCTYPE:{this._stateBogusDoctype(c);break}case be.CDATA_SECTION:{this._stateCdataSection(c);break}case be.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(c);break}case be.CDATA_SECTION_END:{this._stateCdataSectionEnd(c);break}case be.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case be.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(c);break}default:throw new Error("Unknown state")}}_stateData(c){switch(c){case re.LESS_THAN_SIGN:{this.state=be.TAG_OPEN;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitCodePoint(c);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateRcdata(c){switch(c){case re.AMPERSAND:{this._startCharacterReference();break}case re.LESS_THAN_SIGN:{this.state=be.RCDATA_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateRawtext(c){switch(c){case re.LESS_THAN_SIGN:{this.state=be.RAWTEXT_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateScriptData(c){switch(c){case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(c)}}_statePlaintext(c){switch(c){case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateTagOpen(c){if(gn(c))this._createStartTagToken(),this.state=be.TAG_NAME,this._stateTagName(c);else switch(c){case re.EXCLAMATION_MARK:{this.state=be.MARKUP_DECLARATION_OPEN;break}case re.SOLIDUS:{this.state=be.END_TAG_OPEN;break}case re.QUESTION_MARK:{this._err(Xe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=be.BOGUS_COMMENT,this._stateBogusComment(c);break}case re.EOF:{this._err(Xe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Xe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=be.DATA,this._stateData(c)}}_stateEndTagOpen(c){if(gn(c))this._createEndTagToken(),this.state=be.TAG_NAME,this._stateTagName(c);else switch(c){case re.GREATER_THAN_SIGN:{this._err(Xe.missingEndTagName),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(Xe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=be.BOGUS_COMMENT,this._stateBogusComment(c)}}_stateTagName(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.BEFORE_ATTRIBUTE_NAME;break}case re.SOLIDUS:{this.state=be.SELF_CLOSING_START_TAG;break}case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentTagToken();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.tagName+=nt;break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:R.tagName+=String.fromCodePoint(Wt(c)?Dn(c):c)}}_stateRcdataLessThanSign(c){c===re.SOLIDUS?this.state=be.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=be.RCDATA,this._stateRcdata(c))}_stateRcdataEndTagOpen(c){gn(c)?(this.state=be.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(c)):(this._emitChars("</"),this.state=be.RCDATA,this._stateRcdata(c))}handleSpecialEndTag(c){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const R=this.currentToken;switch(R.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=be.BEFORE_ATTRIBUTE_NAME,!1;case re.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=be.SELF_CLOSING_START_TAG,!1;case re.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=be.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(c){this.handleSpecialEndTag(c)&&(this._emitChars("</"),this.state=be.RCDATA,this._stateRcdata(c))}_stateRawtextLessThanSign(c){c===re.SOLIDUS?this.state=be.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=be.RAWTEXT,this._stateRawtext(c))}_stateRawtextEndTagOpen(c){gn(c)?(this.state=be.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(c)):(this._emitChars("</"),this.state=be.RAWTEXT,this._stateRawtext(c))}_stateRawtextEndTagName(c){this.handleSpecialEndTag(c)&&(this._emitChars("</"),this.state=be.RAWTEXT,this._stateRawtext(c))}_stateScriptDataLessThanSign(c){switch(c){case re.SOLIDUS:{this.state=be.SCRIPT_DATA_END_TAG_OPEN;break}case re.EXCLAMATION_MARK:{this.state=be.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=be.SCRIPT_DATA,this._stateScriptData(c)}}_stateScriptDataEndTagOpen(c){gn(c)?(this.state=be.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(c)):(this._emitChars("</"),this.state=be.SCRIPT_DATA,this._stateScriptData(c))}_stateScriptDataEndTagName(c){this.handleSpecialEndTag(c)&&(this._emitChars("</"),this.state=be.SCRIPT_DATA,this._stateScriptData(c))}_stateScriptDataEscapeStart(c){c===re.HYPHEN_MINUS?(this.state=be.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=be.SCRIPT_DATA,this._stateScriptData(c))}_stateScriptDataEscapeStartDash(c){c===re.HYPHEN_MINUS?(this.state=be.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=be.SCRIPT_DATA,this._stateScriptData(c))}_stateScriptDataEscaped(c){switch(c){case re.HYPHEN_MINUS:{this.state=be.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateScriptDataEscapedDash(c){switch(c){case re.HYPHEN_MINUS:{this.state=be.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.state=be.SCRIPT_DATA_ESCAPED,this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=be.SCRIPT_DATA_ESCAPED,this._emitCodePoint(c)}}_stateScriptDataEscapedDashDash(c){switch(c){case re.HYPHEN_MINUS:{this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case re.GREATER_THAN_SIGN:{this.state=be.SCRIPT_DATA,this._emitChars(">");break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.state=be.SCRIPT_DATA_ESCAPED,this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=be.SCRIPT_DATA_ESCAPED,this._emitCodePoint(c)}}_stateScriptDataEscapedLessThanSign(c){c===re.SOLIDUS?this.state=be.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:gn(c)?(this._emitChars("<"),this.state=be.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(c)):(this._emitChars("<"),this.state=be.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(c))}_stateScriptDataEscapedEndTagOpen(c){gn(c)?(this.state=be.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(c)):(this._emitChars("</"),this.state=be.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(c))}_stateScriptDataEscapedEndTagName(c){this.handleSpecialEndTag(c)&&(this._emitChars("</"),this.state=be.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(c))}_stateScriptDataDoubleEscapeStart(c){if(this.preprocessor.startsWith(ut.SCRIPT,!1)&&Ln(this.preprocessor.peek(ut.SCRIPT.length))){this._emitCodePoint(c);for(let R=0;R<ut.SCRIPT.length;R++)this._emitCodePoint(this._consume());this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=be.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(c))}_stateScriptDataDoubleEscaped(c){switch(c){case re.HYPHEN_MINUS:{this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateScriptDataDoubleEscapedDash(c){switch(c){case re.HYPHEN_MINUS:{this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(c)}}_stateScriptDataDoubleEscapedDashDash(c){switch(c){case re.HYPHEN_MINUS:{this._emitChars("-");break}case re.LESS_THAN_SIGN:{this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case re.GREATER_THAN_SIGN:{this.state=be.SCRIPT_DATA,this._emitChars(">");break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nt);break}case re.EOF:{this._err(Xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(c)}}_stateScriptDataDoubleEscapedLessThanSign(c){c===re.SOLIDUS?(this.state=be.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(c))}_stateScriptDataDoubleEscapeEnd(c){if(this.preprocessor.startsWith(ut.SCRIPT,!1)&&Ln(this.preprocessor.peek(ut.SCRIPT.length))){this._emitCodePoint(c);for(let R=0;R<ut.SCRIPT.length;R++)this._emitCodePoint(this._consume());this.state=be.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=be.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(c))}_stateBeforeAttributeName(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.SOLIDUS:case re.GREATER_THAN_SIGN:case re.EOF:{this.state=be.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(c);break}case re.EQUALS_SIGN:{this._err(Xe.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=be.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=be.ATTRIBUTE_NAME,this._stateAttributeName(c)}}_stateAttributeName(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:case re.SOLIDUS:case re.GREATER_THAN_SIGN:case re.EOF:{this._leaveAttrName(),this.state=be.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(c);break}case re.EQUALS_SIGN:{this._leaveAttrName(),this.state=be.BEFORE_ATTRIBUTE_VALUE;break}case re.QUOTATION_MARK:case re.APOSTROPHE:case re.LESS_THAN_SIGN:{this._err(Xe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(c);break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.currentAttr.name+=nt;break}default:this.currentAttr.name+=String.fromCodePoint(Wt(c)?Dn(c):c)}}_stateAfterAttributeName(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.SOLIDUS:{this.state=be.SELF_CLOSING_START_TAG;break}case re.EQUALS_SIGN:{this.state=be.BEFORE_ATTRIBUTE_VALUE;break}case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=be.ATTRIBUTE_NAME,this._stateAttributeName(c)}}_stateBeforeAttributeValue(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{this.state=be.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this.state=be.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingAttributeValue),this.state=be.DATA,this.emitCurrentTagToken();break}default:this.state=be.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(c)}}_stateAttributeValueDoubleQuoted(c){switch(c){case re.QUOTATION_MARK:{this.state=be.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(c)}}_stateAttributeValueSingleQuoted(c){switch(c){case re.APOSTROPHE:{this.state=be.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(c)}}_stateAttributeValueUnquoted(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this._leaveAttrValue(),this.state=be.BEFORE_ATTRIBUTE_NAME;break}case re.AMPERSAND:{this._startCharacterReference();break}case re.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=be.DATA,this.emitCurrentTagToken();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),this.currentAttr.value+=nt;break}case re.QUOTATION_MARK:case re.APOSTROPHE:case re.LESS_THAN_SIGN:case re.EQUALS_SIGN:case re.GRAVE_ACCENT:{this._err(Xe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(c);break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(c)}}_stateAfterAttributeValueQuoted(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this._leaveAttrValue(),this.state=be.BEFORE_ATTRIBUTE_NAME;break}case re.SOLIDUS:{this._leaveAttrValue(),this.state=be.SELF_CLOSING_START_TAG;break}case re.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=be.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this._err(Xe.missingWhitespaceBetweenAttributes),this.state=be.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(c)}}_stateSelfClosingStartTag(c){switch(c){case re.GREATER_THAN_SIGN:{const R=this.currentToken;R.selfClosing=!0,this.state=be.DATA,this.emitCurrentTagToken();break}case re.EOF:{this._err(Xe.eofInTag),this._emitEOFToken();break}default:this._err(Xe.unexpectedSolidusInTag),this.state=be.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(c)}}_stateBogusComment(c){const R=this.currentToken;switch(c){case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentComment(R);break}case re.EOF:{this.emitCurrentComment(R),this._emitEOFToken();break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.data+=nt;break}default:R.data+=String.fromCodePoint(c)}}_stateMarkupDeclarationOpen(c){this._consumeSequenceIfMatch(ut.DASH_DASH,!0)?(this._createCommentToken(ut.DASH_DASH.length+1),this.state=be.COMMENT_START):this._consumeSequenceIfMatch(ut.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ut.DOCTYPE.length+1),this.state=be.DOCTYPE):this._consumeSequenceIfMatch(ut.CDATA_START,!0)?this.inForeignNode?this.state=be.CDATA_SECTION:(this._err(Xe.cdataInHtmlContent),this._createCommentToken(ut.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=be.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Xe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=be.BOGUS_COMMENT,this._stateBogusComment(c))}_stateCommentStart(c){switch(c){case re.HYPHEN_MINUS:{this.state=be.COMMENT_START_DASH;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptClosingOfEmptyComment),this.state=be.DATA;const R=this.currentToken;this.emitCurrentComment(R);break}default:this.state=be.COMMENT,this._stateComment(c)}}_stateCommentStartDash(c){const R=this.currentToken;switch(c){case re.HYPHEN_MINUS:{this.state=be.COMMENT_END;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptClosingOfEmptyComment),this.state=be.DATA,this.emitCurrentComment(R);break}case re.EOF:{this._err(Xe.eofInComment),this.emitCurrentComment(R),this._emitEOFToken();break}default:R.data+="-",this.state=be.COMMENT,this._stateComment(c)}}_stateComment(c){const R=this.currentToken;switch(c){case re.HYPHEN_MINUS:{this.state=be.COMMENT_END_DASH;break}case re.LESS_THAN_SIGN:{R.data+="<",this.state=be.COMMENT_LESS_THAN_SIGN;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.data+=nt;break}case re.EOF:{this._err(Xe.eofInComment),this.emitCurrentComment(R),this._emitEOFToken();break}default:R.data+=String.fromCodePoint(c)}}_stateCommentLessThanSign(c){const R=this.currentToken;switch(c){case re.EXCLAMATION_MARK:{R.data+="!",this.state=be.COMMENT_LESS_THAN_SIGN_BANG;break}case re.LESS_THAN_SIGN:{R.data+="<";break}default:this.state=be.COMMENT,this._stateComment(c)}}_stateCommentLessThanSignBang(c){c===re.HYPHEN_MINUS?this.state=be.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=be.COMMENT,this._stateComment(c))}_stateCommentLessThanSignBangDash(c){c===re.HYPHEN_MINUS?this.state=be.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=be.COMMENT_END_DASH,this._stateCommentEndDash(c))}_stateCommentLessThanSignBangDashDash(c){c!==re.GREATER_THAN_SIGN&&c!==re.EOF&&this._err(Xe.nestedComment),this.state=be.COMMENT_END,this._stateCommentEnd(c)}_stateCommentEndDash(c){const R=this.currentToken;switch(c){case re.HYPHEN_MINUS:{this.state=be.COMMENT_END;break}case re.EOF:{this._err(Xe.eofInComment),this.emitCurrentComment(R),this._emitEOFToken();break}default:R.data+="-",this.state=be.COMMENT,this._stateComment(c)}}_stateCommentEnd(c){const R=this.currentToken;switch(c){case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentComment(R);break}case re.EXCLAMATION_MARK:{this.state=be.COMMENT_END_BANG;break}case re.HYPHEN_MINUS:{R.data+="-";break}case re.EOF:{this._err(Xe.eofInComment),this.emitCurrentComment(R),this._emitEOFToken();break}default:R.data+="--",this.state=be.COMMENT,this._stateComment(c)}}_stateCommentEndBang(c){const R=this.currentToken;switch(c){case re.HYPHEN_MINUS:{R.data+="--!",this.state=be.COMMENT_END_DASH;break}case re.GREATER_THAN_SIGN:{this._err(Xe.incorrectlyClosedComment),this.state=be.DATA,this.emitCurrentComment(R);break}case re.EOF:{this._err(Xe.eofInComment),this.emitCurrentComment(R),this._emitEOFToken();break}default:R.data+="--!",this.state=be.COMMENT,this._stateComment(c)}}_stateDoctype(c){switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.BEFORE_DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this.state=be.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(c);break}case re.EOF:{this._err(Xe.eofInDoctype),this._createDoctypeToken(null);const R=this.currentToken;R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingWhitespaceBeforeDoctypeName),this.state=be.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(c)}}_stateBeforeDoctypeName(c){if(Wt(c))this._createDoctypeToken(String.fromCharCode(Dn(c))),this.state=be.DOCTYPE_NAME;else switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.NULL:{this._err(Xe.unexpectedNullCharacter),this._createDoctypeToken(nt),this.state=be.DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingDoctypeName),this._createDoctypeToken(null);const R=this.currentToken;R.forceQuirks=!0,this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),this._createDoctypeToken(null);const R=this.currentToken;R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(c)),this.state=be.DOCTYPE_NAME}}_stateDoctypeName(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.AFTER_DOCTYPE_NAME;break}case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.name+=nt;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:R.name+=String.fromCodePoint(Wt(c)?Dn(c):c)}}_stateAfterDoctypeName(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ut.PUBLIC,!1)?this.state=be.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ut.SYSTEM,!1)?this.state=be.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Xe.invalidCharacterSequenceAfterDoctypeName),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c))}}_stateAfterDoctypePublicKeyword(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.QUOTATION_MARK:{this._err(Xe.missingWhitespaceAfterDoctypePublicKeyword),R.publicId="",this.state=be.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Xe.missingWhitespaceAfterDoctypePublicKeyword),R.publicId="",this.state=be.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingDoctypePublicIdentifier),R.forceQuirks=!0,this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypePublicIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateBeforeDoctypePublicIdentifier(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{R.publicId="",this.state=be.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{R.publicId="",this.state=be.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingDoctypePublicIdentifier),R.forceQuirks=!0,this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypePublicIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateDoctypePublicIdentifierDoubleQuoted(c){const R=this.currentToken;switch(c){case re.QUOTATION_MARK:{this.state=be.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.publicId+=nt;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptDoctypePublicIdentifier),R.forceQuirks=!0,this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:R.publicId+=String.fromCodePoint(c)}}_stateDoctypePublicIdentifierSingleQuoted(c){const R=this.currentToken;switch(c){case re.APOSTROPHE:{this.state=be.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.publicId+=nt;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptDoctypePublicIdentifier),R.forceQuirks=!0,this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:R.publicId+=String.fromCodePoint(c)}}_stateAfterDoctypePublicIdentifier(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case re.GREATER_THAN_SIGN:{this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.QUOTATION_MARK:{this._err(Xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateBetweenDoctypePublicAndSystemIdentifiers(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.QUOTATION_MARK:{R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateAfterDoctypeSystemKeyword(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:{this.state=be.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.QUOTATION_MARK:{this._err(Xe.missingWhitespaceAfterDoctypeSystemKeyword),R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{this._err(Xe.missingWhitespaceAfterDoctypeSystemKeyword),R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateBeforeDoctypeSystemIdentifier(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.QUOTATION_MARK:{R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case re.APOSTROPHE:{R.systemId="",this.state=be.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case re.GREATER_THAN_SIGN:{this._err(Xe.missingDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.DATA,this.emitCurrentDoctype(R);break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.missingQuoteBeforeDoctypeSystemIdentifier),R.forceQuirks=!0,this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateDoctypeSystemIdentifierDoubleQuoted(c){const R=this.currentToken;switch(c){case re.QUOTATION_MARK:{this.state=be.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.systemId+=nt;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptDoctypeSystemIdentifier),R.forceQuirks=!0,this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:R.systemId+=String.fromCodePoint(c)}}_stateDoctypeSystemIdentifierSingleQuoted(c){const R=this.currentToken;switch(c){case re.APOSTROPHE:{this.state=be.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter),R.systemId+=nt;break}case re.GREATER_THAN_SIGN:{this._err(Xe.abruptDoctypeSystemIdentifier),R.forceQuirks=!0,this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:R.systemId+=String.fromCodePoint(c)}}_stateAfterDoctypeSystemIdentifier(c){const R=this.currentToken;switch(c){case re.SPACE:case re.LINE_FEED:case re.TABULATION:case re.FORM_FEED:break;case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.EOF:{this._err(Xe.eofInDoctype),R.forceQuirks=!0,this.emitCurrentDoctype(R),this._emitEOFToken();break}default:this._err(Xe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=be.BOGUS_DOCTYPE,this._stateBogusDoctype(c)}}_stateBogusDoctype(c){const R=this.currentToken;switch(c){case re.GREATER_THAN_SIGN:{this.emitCurrentDoctype(R),this.state=be.DATA;break}case re.NULL:{this._err(Xe.unexpectedNullCharacter);break}case re.EOF:{this.emitCurrentDoctype(R),this._emitEOFToken();break}default:}}_stateCdataSection(c){switch(c){case re.RIGHT_SQUARE_BRACKET:{this.state=be.CDATA_SECTION_BRACKET;break}case re.EOF:{this._err(Xe.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(c)}}_stateCdataSectionBracket(c){c===re.RIGHT_SQUARE_BRACKET?this.state=be.CDATA_SECTION_END:(this._emitChars("]"),this.state=be.CDATA_SECTION,this._stateCdataSection(c))}_stateCdataSectionEnd(c){switch(c){case re.GREATER_THAN_SIGN:{this.state=be.DATA;break}case re.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=be.CDATA_SECTION,this._stateCdataSection(c)}}_stateCharacterReference(){let c=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(c<0)if(this.preprocessor.lastChunkWritten)c=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}c===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(re.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&zn(this.preprocessor.peek(1))?be.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(c){zn(c)?this._flushCodePointConsumedAsCharacterReference(c):(c===re.SEMICOLON&&this._err(Xe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(c))}}const hr=new Set([D.DD,D.DT,D.LI,D.OPTGROUP,D.OPTION,D.P,D.RB,D.RP,D.RT,D.RTC]),Kn=new Set([...hr,D.CAPTION,D.COLGROUP,D.TBODY,D.TD,D.TFOOT,D.TH,D.THEAD,D.TR]),Cn=new Set([D.APPLET,D.CAPTION,D.HTML,D.MARQUEE,D.OBJECT,D.TABLE,D.TD,D.TEMPLATE,D.TH]),rr=new Set([...Cn,D.OL,D.UL]),fr=new Set([...Cn,D.BUTTON]),Zn=new Set([D.ANNOTATION_XML,D.MI,D.MN,D.MO,D.MS,D.MTEXT]),On=new Set([D.DESC,D.FOREIGN_OBJECT,D.TITLE]),er=new Set([D.TR,D.TEMPLATE,D.HTML]),$n=new Set([D.TBODY,D.TFOOT,D.THEAD,D.TEMPLATE,D.HTML]),vr=new Set([D.TABLE,D.TEMPLATE,D.HTML]),Yn=new Set([D.TD,D.TH]);class ir{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(c,R,xe){this.treeAdapter=R,this.handler=xe,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=D.UNKNOWN,this.current=c}_indexOf(c){return this.items.lastIndexOf(c,this.stackTop)}_isInTemplate(){return this.currentTagId===D.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===xt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(c,R){this.stackTop++,this.items[this.stackTop]=c,this.current=c,this.tagIDs[this.stackTop]=R,this.currentTagId=R,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(c,R,!0)}pop(){const c=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(c,!0)}replace(c,R){const xe=this._indexOf(c);this.items[xe]=R,xe===this.stackTop&&(this.current=R)}insertAfter(c,R,xe){const Et=this._indexOf(c)+1;this.items.splice(Et,0,R),this.tagIDs.splice(Et,0,xe),this.stackTop++,Et===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,Et===this.stackTop)}popUntilTagNamePopped(c){let R=this.stackTop+1;do R=this.tagIDs.lastIndexOf(c,R-1);while(R>0&&this.treeAdapter.getNamespaceURI(this.items[R])!==xt.HTML);this.shortenToLength(R<0?0:R)}shortenToLength(c){for(;this.stackTop>=c;){const R=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(R,this.stackTop<c)}}popUntilElementPopped(c){const R=this._indexOf(c);this.shortenToLength(R<0?0:R)}popUntilPopped(c,R){const xe=this._indexOfTagNames(c,R);this.shortenToLength(xe<0?0:xe)}popUntilNumberedHeaderPopped(){this.popUntilPopped(_n,xt.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Yn,xt.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(c,R){for(let xe=this.stackTop;xe>=0;xe--)if(c.has(this.tagIDs[xe])&&this.treeAdapter.getNamespaceURI(this.items[xe])===R)return xe;return-1}clearBackTo(c,R){const xe=this._indexOfTagNames(c,R);this.shortenToLength(xe+1)}clearBackToTableContext(){this.clearBackTo(vr,xt.HTML)}clearBackToTableBodyContext(){this.clearBackTo($n,xt.HTML)}clearBackToTableRowContext(){this.clearBackTo(er,xt.HTML)}remove(c){const R=this._indexOf(c);R>=0&&(R===this.stackTop?this.pop():(this.items.splice(R,1),this.tagIDs.splice(R,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(c,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===D.BODY?this.items[1]:null}contains(c){return this._indexOf(c)>-1}getCommonAncestor(c){const R=this._indexOf(c)-1;return R>=0?this.items[R]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===D.HTML}hasInDynamicScope(c,R){for(let xe=this.stackTop;xe>=0;xe--){const Et=this.tagIDs[xe];switch(this.treeAdapter.getNamespaceURI(this.items[xe])){case xt.HTML:{if(Et===c)return!0;if(R.has(Et))return!1;break}case xt.SVG:{if(On.has(Et))return!1;break}case xt.MATHML:{if(Zn.has(Et))return!1;break}}}return!0}hasInScope(c){return this.hasInDynamicScope(c,Cn)}hasInListItemScope(c){return this.hasInDynamicScope(c,rr)}hasInButtonScope(c){return this.hasInDynamicScope(c,fr)}hasNumberedHeaderInScope(){for(let c=this.stackTop;c>=0;c--){const R=this.tagIDs[c];switch(this.treeAdapter.getNamespaceURI(this.items[c])){case xt.HTML:{if(_n.has(R))return!0;if(Cn.has(R))return!1;break}case xt.SVG:{if(On.has(R))return!1;break}case xt.MATHML:{if(Zn.has(R))return!1;break}}}return!0}hasInTableScope(c){for(let R=this.stackTop;R>=0;R--)if(this.treeAdapter.getNamespaceURI(this.items[R])===xt.HTML)switch(this.tagIDs[R]){case c:return!0;case D.TABLE:case D.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let c=this.stackTop;c>=0;c--)if(this.treeAdapter.getNamespaceURI(this.items[c])===xt.HTML)switch(this.tagIDs[c]){case D.TBODY:case D.THEAD:case D.TFOOT:return!0;case D.TABLE:case D.HTML:return!1}return!0}hasInSelectScope(c){for(let R=this.stackTop;R>=0;R--)if(this.treeAdapter.getNamespaceURI(this.items[R])===xt.HTML)switch(this.tagIDs[R]){case c:return!0;case D.OPTION:case D.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;hr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Kn.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(c){for(;this.currentTagId!==c&&Kn.has(this.currentTagId);)this.pop()}}const Sr=3;var Bn;(function(i){i[i.Marker=0]="Marker",i[i.Element=1]="Element"})(Bn||(Bn={}));const Hn={type:Bn.Marker};class kr{constructor(c){this.treeAdapter=c,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(c,R){const xe=[],Et=R.length,Zt=this.treeAdapter.getTagName(c),pn=this.treeAdapter.getNamespaceURI(c);for(let Un=0;Un<this.entries.length;Un++){const dr=this.entries[Un];if(dr.type===Bn.Marker)break;const{element:an}=dr;if(this.treeAdapter.getTagName(an)===Zt&&this.treeAdapter.getNamespaceURI(an)===pn){const wn=this.treeAdapter.getAttrList(an);wn.length===Et&&xe.push({idx:Un,attrs:wn})}}return xe}_ensureNoahArkCondition(c){if(this.entries.length<Sr)return;const R=this.treeAdapter.getAttrList(c),xe=this._getNoahArkConditionCandidates(c,R);if(xe.length<Sr)return;const Et=new Map(R.map(pn=>[pn.name,pn.value]));let Zt=0;for(let pn=0;pn<xe.length;pn++){const Un=xe[pn];Un.attrs.every(dr=>Et.get(dr.name)===dr.value)&&(Zt+=1,Zt>=Sr&&this.entries.splice(Un.idx,1))}}insertMarker(){this.entries.unshift(Hn)}pushElement(c,R){this._ensureNoahArkCondition(c),this.entries.unshift({type:Bn.Element,element:c,token:R})}insertElementAfterBookmark(c,R){const xe=this.entries.indexOf(this.bookmark);this.entries.splice(xe,0,{type:Bn.Element,element:c,token:R})}removeEntry(c){const R=this.entries.indexOf(c);R>=0&&this.entries.splice(R,1)}clearToLastMarker(){const c=this.entries.indexOf(Hn);c>=0?this.entries.splice(0,c+1):this.entries.length=0}getElementEntryInScopeWithTagName(c){const R=this.entries.find(xe=>xe.type===Bn.Marker||this.treeAdapter.getTagName(xe.element)===c);return R&&R.type===Bn.Element?R:null}getElementEntry(c){return this.entries.find(R=>R.type===Bn.Element&&R.element===c)}}const Ir={createDocument(){return{nodeName:"#document",mode:cn.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(i,c,R){return{nodeName:i,tagName:i,attrs:R,namespaceURI:c,childNodes:[],parentNode:null}},createCommentNode(i){return{nodeName:"#comment",data:i,parentNode:null}},createTextNode(i){return{nodeName:"#text",value:i,parentNode:null}},appendChild(i,c){i.childNodes.push(c),c.parentNode=i},insertBefore(i,c,R){const xe=i.childNodes.indexOf(R);i.childNodes.splice(xe,0,c),c.parentNode=i},setTemplateContent(i,c){i.content=c},getTemplateContent(i){return i.content},setDocumentType(i,c,R,xe){const Et=i.childNodes.find(Zt=>Zt.nodeName==="#documentType");if(Et)Et.name=c,Et.publicId=R,Et.systemId=xe;else{const Zt={nodeName:"#documentType",name:c,publicId:R,systemId:xe,parentNode:null};Ir.appendChild(i,Zt)}},setDocumentMode(i,c){i.mode=c},getDocumentMode(i){return i.mode},detachNode(i){if(i.parentNode){const c=i.parentNode.childNodes.indexOf(i);i.parentNode.childNodes.splice(c,1),i.parentNode=null}},insertText(i,c){if(i.childNodes.length>0){const R=i.childNodes[i.childNodes.length-1];if(Ir.isTextNode(R)){R.value+=c;return}}Ir.appendChild(i,Ir.createTextNode(c))},insertTextBefore(i,c,R){const xe=i.childNodes[i.childNodes.indexOf(R)-1];xe&&Ir.isTextNode(xe)?xe.value+=c:Ir.insertBefore(i,Ir.createTextNode(c),R)},adoptAttributes(i,c){const R=new Set(i.attrs.map(xe=>xe.name));for(let xe=0;xe<c.length;xe++)R.has(c[xe].name)||i.attrs.push(c[xe])},getFirstChild(i){return i.childNodes[0]},getChildNodes(i){return i.childNodes},getParentNode(i){return i.parentNode},getAttrList(i){return i.attrs},getTagName(i){return i.tagName},getNamespaceURI(i){return i.namespaceURI},getTextNodeContent(i){return i.value},getCommentNodeContent(i){return i.data},getDocumentTypeNodeName(i){return i.name},getDocumentTypeNodePublicId(i){return i.publicId},getDocumentTypeNodeSystemId(i){return i.systemId},isTextNode(i){return i.nodeName==="#text"},isCommentNode(i){return i.nodeName==="#comment"},isDocumentTypeNode(i){return i.nodeName==="#documentType"},isElementNode(i){return Object.prototype.hasOwnProperty.call(i,"tagName")},setNodeSourceCodeLocation(i,c){i.sourceCodeLocation=c},getNodeSourceCodeLocation(i){return i.sourceCodeLocation},updateNodeSourceCodeLocation(i,c){i.sourceCodeLocation=yr(yr({},i.sourceCodeLocation),c)}},Dr="html",si="about:legacy-compat",Nr="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",fi=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Lr=[...fi,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],wi=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ji=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],vi=[...ji,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ai(i,c){return c.some(R=>i.startsWith(R))}function Di(i){return i.name===Dr&&i.publicId===null&&(i.systemId===null||i.systemId===si)}function ti(i){if(i.name!==Dr)return cn.QUIRKS;const{systemId:c}=i;if(c&&c.toLowerCase()===Nr)return cn.QUIRKS;let{publicId:R}=i;if(R!==null){if(R=R.toLowerCase(),wi.has(R))return cn.QUIRKS;let xe=c===null?Lr:fi;if(Ai(R,xe))return cn.QUIRKS;if(xe=c===null?ji:vi,Ai(R,xe))return cn.LIMITED_QUIRKS}return cn.NO_QUIRKS}const Qr={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},xi="definitionurl",zi="definitionURL",Mi=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(i=>[i.toLowerCase(),i])),wr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:xt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:xt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:xt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:xt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:xt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:xt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:xt.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:xt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:xt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:xt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:xt.XMLNS}]]),Ni=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(i=>[i.toLowerCase(),i])),hi=new Set([D.B,D.BIG,D.BLOCKQUOTE,D.BODY,D.BR,D.CENTER,D.CODE,D.DD,D.DIV,D.DL,D.DT,D.EM,D.EMBED,D.H1,D.H2,D.H3,D.H4,D.H5,D.H6,D.HEAD,D.HR,D.I,D.IMG,D.LI,D.LISTING,D.MENU,D.META,D.NOBR,D.OL,D.P,D.PRE,D.RUBY,D.S,D.SMALL,D.SPAN,D.STRONG,D.STRIKE,D.SUB,D.SUP,D.TABLE,D.TT,D.U,D.UL,D.VAR]);function Ei(i){const c=i.tagID;return c===D.FONT&&i.attrs.some(({name:xe})=>xe===fn.COLOR||xe===fn.SIZE||xe===fn.FACE)||hi.has(c)}function pi(i){for(let c=0;c<i.attrs.length;c++)if(i.attrs[c].name===xi){i.attrs[c].name=zi;break}}function Xn(i){for(let c=0;c<i.attrs.length;c++){const R=Mi.get(i.attrs[c].name);R!=null&&(i.attrs[c].name=R)}}function ki(i){for(let c=0;c<i.attrs.length;c++){const R=wr.get(i.attrs[c].name);R&&(i.attrs[c].prefix=R.prefix,i.attrs[c].name=R.name,i.attrs[c].namespace=R.namespace)}}function Pi(i){const c=Ni.get(i.tagName);c!=null&&(i.tagName=c,i.tagID=Pn(i.tagName))}function Hi(i,c){return c===xt.MATHML&&(i===D.MI||i===D.MO||i===D.MN||i===D.MS||i===D.MTEXT)}function Gi(i,c,R){if(c===xt.MATHML&&i===D.ANNOTATION_XML){for(let xe=0;xe<R.length;xe++)if(R[xe].name===fn.ENCODING){const Et=R[xe].value.toLowerCase();return Et===Qr.TEXT_HTML||Et===Qr.APPLICATION_XML}}return c===xt.SVG&&(i===D.FOREIGN_OBJECT||i===D.DESC||i===D.TITLE)}function Xi(i,c,R,xe){return(!xe||xe===xt.HTML)&&Gi(i,c,R)||(!xe||xe===xt.MATHML)&&Hi(i,c)}const Yi="hidden",Qi=8,Rr=3;var ft;(function(i){i[i.INITIAL=0]="INITIAL",i[i.BEFORE_HTML=1]="BEFORE_HTML",i[i.BEFORE_HEAD=2]="BEFORE_HEAD",i[i.IN_HEAD=3]="IN_HEAD",i[i.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",i[i.AFTER_HEAD=5]="AFTER_HEAD",i[i.IN_BODY=6]="IN_BODY",i[i.TEXT=7]="TEXT",i[i.IN_TABLE=8]="IN_TABLE",i[i.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",i[i.IN_CAPTION=10]="IN_CAPTION",i[i.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",i[i.IN_TABLE_BODY=12]="IN_TABLE_BODY",i[i.IN_ROW=13]="IN_ROW",i[i.IN_CELL=14]="IN_CELL",i[i.IN_SELECT=15]="IN_SELECT",i[i.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",i[i.IN_TEMPLATE=17]="IN_TEMPLATE",i[i.AFTER_BODY=18]="AFTER_BODY",i[i.IN_FRAMESET=19]="IN_FRAMESET",i[i.AFTER_FRAMESET=20]="AFTER_FRAMESET",i[i.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",i[i.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(ft||(ft={}));const Fi={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},aa=new Set([D.TABLE,D.TBODY,D.TFOOT,D.THEAD,D.TR]),ta={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ir,onParseError:null};class $i{constructor(c,R,xe=null,Et=null){this.fragmentContext=xe,this.scriptHandler=Et,this.currentToken=null,this.stopped=!1,this.insertionMode=ft.INITIAL,this.originalInsertionMode=ft.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=yr(yr({},ta),c),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=R!=null?R:this.treeAdapter.createDocument(),this.tokenizer=new nr(this.options,this),this.activeFormattingElements=new kr(this.treeAdapter),this.fragmentContextID=xe?Pn(this.treeAdapter.getTagName(xe)):D.UNKNOWN,this._setContextModes(xe!=null?xe:this.document,this.fragmentContextID),this.openElements=new ir(this.document,this.treeAdapter,this)}static parse(c,R){const xe=new this(R);return xe.tokenizer.write(c,!0),xe.document}static getFragmentParser(c,R){const xe=yr(yr({},ta),R);c!=null||(c=xe.treeAdapter.createElement(ot.TEMPLATE,xt.HTML,[]));const Et=xe.treeAdapter.createElement("documentmock",xt.HTML,[]),Zt=new this(xe,Et,c);return Zt.fragmentContextID===D.TEMPLATE&&Zt.tmplInsertionModeStack.unshift(ft.IN_TEMPLATE),Zt._initTokenizerForFragmentParsing(),Zt._insertFakeRootElement(),Zt._resetInsertionMode(),Zt._findFormInFragmentContext(),Zt}getFragment(){const c=this.treeAdapter.getFirstChild(this.document),R=this.treeAdapter.createDocumentFragment();return this._adoptNodes(c,R),R}_err(c,R,xe){var Et;if(!this.onParseError)return;const Zt=(Et=c.location)!==null&&Et!==void 0?Et:Fi,pn={code:R,startLine:Zt.startLine,startCol:Zt.startCol,startOffset:Zt.startOffset,endLine:xe?Zt.startLine:Zt.endLine,endCol:xe?Zt.startCol:Zt.endCol,endOffset:xe?Zt.startOffset:Zt.endOffset};this.onParseError(pn)}onItemPush(c,R,xe){var Et,Zt;(Zt=(Et=this.treeAdapter).onItemPush)===null||Zt===void 0||Zt.call(Et,c),xe&&this.openElements.stackTop>0&&this._setContextModes(c,R)}onItemPop(c,R){var xe,Et;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(c,this.currentToken),(Et=(xe=this.treeAdapter).onItemPop)===null||Et===void 0||Et.call(xe,c,this.openElements.current),R){let Zt,pn;this.openElements.stackTop===0&&this.fragmentContext?(Zt=this.fragmentContext,pn=this.fragmentContextID):{current:Zt,currentTagId:pn}=this.openElements,this._setContextModes(Zt,pn)}}_setContextModes(c,R){const xe=c===this.document||this.treeAdapter.getNamespaceURI(c)===xt.HTML;this.currentNotInHTML=!xe,this.tokenizer.inForeignNode=!xe&&!this._isIntegrationPoint(R,c)}_switchToTextParsing(c,R){this._insertElement(c,xt.HTML),this.tokenizer.state=R,this.originalInsertionMode=this.insertionMode,this.insertionMode=ft.TEXT}switchToPlaintextParsing(){this.insertionMode=ft.TEXT,this.originalInsertionMode=ft.IN_BODY,this.tokenizer.state=wt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let c=this.fragmentContext;for(;c;){if(this.treeAdapter.getTagName(c)===ot.FORM){this.formElement=c;break}c=this.treeAdapter.getParentNode(c)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==xt.HTML))switch(this.fragmentContextID){case D.TITLE:case D.TEXTAREA:{this.tokenizer.state=wt.RCDATA;break}case D.STYLE:case D.XMP:case D.IFRAME:case D.NOEMBED:case D.NOFRAMES:case D.NOSCRIPT:{this.tokenizer.state=wt.RAWTEXT;break}case D.SCRIPT:{this.tokenizer.state=wt.SCRIPT_DATA;break}case D.PLAINTEXT:{this.tokenizer.state=wt.PLAINTEXT;break}default:}}_setDocumentType(c){const R=c.name||"",xe=c.publicId||"",Et=c.systemId||"";if(this.treeAdapter.setDocumentType(this.document,R,xe,Et),c.location){const pn=this.treeAdapter.getChildNodes(this.document).find(Un=>this.treeAdapter.isDocumentTypeNode(Un));pn&&this.treeAdapter.setNodeSourceCodeLocation(pn,c.location)}}_attachElementToTree(c,R){if(this.options.sourceCodeLocationInfo){const xe=R&&no(yr({},R),{startTag:R});this.treeAdapter.setNodeSourceCodeLocation(c,xe)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(c);else{const xe=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(xe,c)}}_appendElement(c,R){const xe=this.treeAdapter.createElement(c.tagName,R,c.attrs);this._attachElementToTree(xe,c.location)}_insertElement(c,R){const xe=this.treeAdapter.createElement(c.tagName,R,c.attrs);this._attachElementToTree(xe,c.location),this.openElements.push(xe,c.tagID)}_insertFakeElement(c,R){const xe=this.treeAdapter.createElement(c,xt.HTML,[]);this._attachElementToTree(xe,null),this.openElements.push(xe,R)}_insertTemplate(c){const R=this.treeAdapter.createElement(c.tagName,xt.HTML,c.attrs),xe=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(R,xe),this._attachElementToTree(R,c.location),this.openElements.push(R,c.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(xe,null)}_insertFakeRootElement(){const c=this.treeAdapter.createElement(ot.HTML,xt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(c,null),this.treeAdapter.appendChild(this.openElements.current,c),this.openElements.push(c,D.HTML)}_appendCommentNode(c,R){const xe=this.treeAdapter.createCommentNode(c.data);this.treeAdapter.appendChild(R,xe),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(xe,c.location)}_insertCharacters(c){let R,xe;if(this._shouldFosterParentOnInsertion()?({parent:R,beforeElement:xe}=this._findFosterParentingLocation(),xe?this.treeAdapter.insertTextBefore(R,c.chars,xe):this.treeAdapter.insertText(R,c.chars)):(R=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(R,c.chars)),!c.location)return;const Et=this.treeAdapter.getChildNodes(R),Zt=xe?Et.lastIndexOf(xe):Et.length,pn=Et[Zt-1];if(this.treeAdapter.getNodeSourceCodeLocation(pn)){const{endLine:dr,endCol:an,endOffset:wn}=c.location;this.treeAdapter.updateNodeSourceCodeLocation(pn,{endLine:dr,endCol:an,endOffset:wn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(pn,c.location)}_adoptNodes(c,R){for(let xe=this.treeAdapter.getFirstChild(c);xe;xe=this.treeAdapter.getFirstChild(c))this.treeAdapter.detachNode(xe),this.treeAdapter.appendChild(R,xe)}_setEndLocation(c,R){if(this.treeAdapter.getNodeSourceCodeLocation(c)&&R.location){const xe=R.location,Et=this.treeAdapter.getTagName(c),Zt=R.type===ke.END_TAG&&Et===R.tagName?{endTag:yr({},xe),endLine:xe.endLine,endCol:xe.endCol,endOffset:xe.endOffset}:{endLine:xe.startLine,endCol:xe.startCol,endOffset:xe.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(c,Zt)}}shouldProcessStartTagTokenInForeignContent(c){if(!this.currentNotInHTML)return!1;let R,xe;return this.openElements.stackTop===0&&this.fragmentContext?(R=this.fragmentContext,xe=this.fragmentContextID):{current:R,currentTagId:xe}=this.openElements,c.tagID===D.SVG&&this.treeAdapter.getTagName(R)===ot.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(R)===xt.MATHML?!1:this.tokenizer.inForeignNode||(c.tagID===D.MGLYPH||c.tagID===D.MALIGNMARK)&&!this._isIntegrationPoint(xe,R,xt.HTML)}_processToken(c){switch(c.type){case ke.CHARACTER:{this.onCharacter(c);break}case ke.NULL_CHARACTER:{this.onNullCharacter(c);break}case ke.COMMENT:{this.onComment(c);break}case ke.DOCTYPE:{this.onDoctype(c);break}case ke.START_TAG:{this._processStartTag(c);break}case ke.END_TAG:{this.onEndTag(c);break}case ke.EOF:{this.onEof(c);break}case ke.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(c);break}}}_isIntegrationPoint(c,R,xe){const Et=this.treeAdapter.getNamespaceURI(R),Zt=this.treeAdapter.getAttrList(R);return Xi(c,Et,Zt,xe)}_reconstructActiveFormattingElements(){const c=this.activeFormattingElements.entries.length;if(c){const R=this.activeFormattingElements.entries.findIndex(Et=>Et.type===Bn.Marker||this.openElements.contains(Et.element)),xe=R<0?c-1:R-1;for(let Et=xe;Et>=0;Et--){const Zt=this.activeFormattingElements.entries[Et];this._insertElement(Zt.token,this.treeAdapter.getNamespaceURI(Zt.element)),Zt.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=ft.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(D.P),this.openElements.popUntilTagNamePopped(D.P)}_resetInsertionMode(){for(let c=this.openElements.stackTop;c>=0;c--)switch(c===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[c]){case D.TR:{this.insertionMode=ft.IN_ROW;return}case D.TBODY:case D.THEAD:case D.TFOOT:{this.insertionMode=ft.IN_TABLE_BODY;return}case D.CAPTION:{this.insertionMode=ft.IN_CAPTION;return}case D.COLGROUP:{this.insertionMode=ft.IN_COLUMN_GROUP;return}case D.TABLE:{this.insertionMode=ft.IN_TABLE;return}case D.BODY:{this.insertionMode=ft.IN_BODY;return}case D.FRAMESET:{this.insertionMode=ft.IN_FRAMESET;return}case D.SELECT:{this._resetInsertionModeForSelect(c);return}case D.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case D.HTML:{this.insertionMode=this.headElement?ft.AFTER_HEAD:ft.BEFORE_HEAD;return}case D.TD:case D.TH:{if(c>0){this.insertionMode=ft.IN_CELL;return}break}case D.HEAD:{if(c>0){this.insertionMode=ft.IN_HEAD;return}break}}this.insertionMode=ft.IN_BODY}_resetInsertionModeForSelect(c){if(c>0)for(let R=c-1;R>0;R--){const xe=this.openElements.tagIDs[R];if(xe===D.TEMPLATE)break;if(xe===D.TABLE){this.insertionMode=ft.IN_SELECT_IN_TABLE;return}}this.insertionMode=ft.IN_SELECT}_isElementCausesFosterParenting(c){return aa.has(c)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let c=this.openElements.stackTop;c>=0;c--){const R=this.openElements.items[c];switch(this.openElements.tagIDs[c]){case D.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(R)===xt.HTML)return{parent:this.treeAdapter.getTemplateContent(R),beforeElement:null};break}case D.TABLE:{const xe=this.treeAdapter.getParentNode(R);return xe?{parent:xe,beforeElement:R}:{parent:this.openElements.items[c-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(c){const R=this._findFosterParentingLocation();R.beforeElement?this.treeAdapter.insertBefore(R.parent,c,R.beforeElement):this.treeAdapter.appendChild(R.parent,c)}_isSpecialElement(c,R){const xe=this.treeAdapter.getNamespaceURI(c);return An[xe].has(R)}onCharacter(c){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){K(this,c);return}switch(this.insertionMode){case ft.INITIAL:{Ti(this,c);break}case ft.BEFORE_HTML:{Rn(this,c);break}case ft.BEFORE_HEAD:{Vr(this,c);break}case ft.IN_HEAD:{oi(this,c);break}case ft.IN_HEAD_NO_SCRIPT:{wa(this,c);break}case ft.AFTER_HEAD:{ya(this,c);break}case ft.IN_BODY:case ft.IN_CAPTION:case ft.IN_CELL:case ft.IN_TEMPLATE:{Ka(this,c);break}case ft.TEXT:case ft.IN_SELECT:case ft.IN_SELECT_IN_TABLE:{this._insertCharacters(c);break}case ft.IN_TABLE:case ft.IN_TABLE_BODY:case ft.IN_ROW:{Cs(this,c);break}case ft.IN_TABLE_TEXT:{Es(this,c);break}case ft.IN_COLUMN_GROUP:{Ls(this,c);break}case ft.AFTER_BODY:{Zs(this,c);break}case ft.AFTER_AFTER_BODY:{g(this,c);break}default:}}onNullCharacter(c){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){O(this,c);return}switch(this.insertionMode){case ft.INITIAL:{Ti(this,c);break}case ft.BEFORE_HTML:{Rn(this,c);break}case ft.BEFORE_HEAD:{Vr(this,c);break}case ft.IN_HEAD:{oi(this,c);break}case ft.IN_HEAD_NO_SCRIPT:{wa(this,c);break}case ft.AFTER_HEAD:{ya(this,c);break}case ft.TEXT:{this._insertCharacters(c);break}case ft.IN_TABLE:case ft.IN_TABLE_BODY:case ft.IN_ROW:{Cs(this,c);break}case ft.IN_COLUMN_GROUP:{Ls(this,c);break}case ft.AFTER_BODY:{Zs(this,c);break}case ft.AFTER_AFTER_BODY:{g(this,c);break}default:}}onComment(c){if(this.skipNextNewLine=!1,this.currentNotInHTML){Yr(this,c);return}switch(this.insertionMode){case ft.INITIAL:case ft.BEFORE_HTML:case ft.BEFORE_HEAD:case ft.IN_HEAD:case ft.IN_HEAD_NO_SCRIPT:case ft.AFTER_HEAD:case ft.IN_BODY:case ft.IN_TABLE:case ft.IN_CAPTION:case ft.IN_COLUMN_GROUP:case ft.IN_TABLE_BODY:case ft.IN_ROW:case ft.IN_CELL:case ft.IN_SELECT:case ft.IN_SELECT_IN_TABLE:case ft.IN_TEMPLATE:case ft.IN_FRAMESET:case ft.AFTER_FRAMESET:{Yr(this,c);break}case ft.IN_TABLE_TEXT:{Ja(this,c);break}case ft.AFTER_BODY:{Zr(this,c);break}case ft.AFTER_AFTER_BODY:case ft.AFTER_AFTER_FRAMESET:{pr(this,c);break}default:}}onDoctype(c){switch(this.skipNextNewLine=!1,this.insertionMode){case ft.INITIAL:{Ki(this,c);break}case ft.BEFORE_HEAD:case ft.IN_HEAD:case ft.IN_HEAD_NO_SCRIPT:case ft.AFTER_HEAD:{this._err(c,Xe.misplacedDoctype);break}case ft.IN_TABLE_TEXT:{Ja(this,c);break}default:}}onStartTag(c){this.skipNextNewLine=!1,this.currentToken=c,this._processStartTag(c),c.selfClosing&&!c.ackSelfClosing&&this._err(c,Xe.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(c){this.shouldProcessStartTagTokenInForeignContent(c)?ge(this,c):this._startTagOutsideForeignContent(c)}_startTagOutsideForeignContent(c){switch(this.insertionMode){case ft.INITIAL:{Ti(this,c);break}case ft.BEFORE_HTML:{Ea(this,c);break}case ft.BEFORE_HEAD:{qn(this,c);break}case ft.IN_HEAD:{gr(this,c);break}case ft.IN_HEAD_NO_SCRIPT:{oa(this,c);break}case ft.AFTER_HEAD:{ba(this,c);break}case ft.IN_BODY:{qt(this,c);break}case ft.IN_TABLE:{ja(this,c);break}case ft.IN_TABLE_TEXT:{Ja(this,c);break}case ft.IN_CAPTION:{vo(this,c);break}case ft.IN_COLUMN_GROUP:{Vs(this,c);break}case ft.IN_TABLE_BODY:{qa(this,c);break}case ft.IN_ROW:{ls(this,c);break}case ft.IN_CELL:{Rs(this,c);break}case ft.IN_SELECT:{ao(this,c);break}case ft.IN_SELECT_IN_TABLE:{To(this,c);break}case ft.IN_TEMPLATE:{oo(this,c);break}case ft.AFTER_BODY:{uo(this,c);break}case ft.IN_FRAMESET:{co(this,c);break}case ft.AFTER_FRAMESET:{da(this,c);break}case ft.AFTER_AFTER_BODY:{So(this,c);break}case ft.AFTER_AFTER_FRAMESET:{x(this,c);break}default:}}onEndTag(c){this.skipNextNewLine=!1,this.currentToken=c,this.currentNotInHTML?Ce(this,c):this._endTagOutsideForeignContent(c)}_endTagOutsideForeignContent(c){switch(this.insertionMode){case ft.INITIAL:{Ti(this,c);break}case ft.BEFORE_HTML:{qi(this,c);break}case ft.BEFORE_HEAD:{Gr(this,c);break}case ft.IN_HEAD:{sa(this,c);break}case ft.IN_HEAD_NO_SCRIPT:{Pa(this,c);break}case ft.AFTER_HEAD:{Wa(this,c);break}case ft.IN_BODY:{xs(this,c);break}case ft.TEXT:{Ra(this,c);break}case ft.IN_TABLE:{ms(this,c);break}case ft.IN_TABLE_TEXT:{Ja(this,c);break}case ft.IN_CAPTION:{Ao(this,c);break}case ft.IN_COLUMN_GROUP:{Ws(this,c);break}case ft.IN_TABLE_BODY:{bs(this,c);break}case ft.IN_ROW:{Ks(this,c);break}case ft.IN_CELL:{Ms(this,c);break}case ft.IN_SELECT:{so(this,c);break}case ft.IN_SELECT_IN_TABLE:{_o(this,c);break}case ft.IN_TEMPLATE:{ys(this,c);break}case ft.AFTER_BODY:{Qs(this,c);break}case ft.IN_FRAMESET:{Zi(this,c);break}case ft.AFTER_FRAMESET:{vs(this,c);break}case ft.AFTER_AFTER_BODY:{g(this,c);break}default:}}onEof(c){switch(this.insertionMode){case ft.INITIAL:{Ti(this,c);break}case ft.BEFORE_HTML:{Rn(this,c);break}case ft.BEFORE_HEAD:{Vr(this,c);break}case ft.IN_HEAD:{oi(this,c);break}case ft.IN_HEAD_NO_SCRIPT:{wa(this,c);break}case ft.AFTER_HEAD:{ya(this,c);break}case ft.IN_BODY:case ft.IN_TABLE:case ft.IN_CAPTION:case ft.IN_COLUMN_GROUP:case ft.IN_TABLE_BODY:case ft.IN_ROW:case ft.IN_CELL:case ft.IN_SELECT:case ft.IN_SELECT_IN_TABLE:{ro(this,c);break}case ft.TEXT:{bo(this,c);break}case ft.IN_TABLE_TEXT:{Ja(this,c);break}case ft.IN_TEMPLATE:{lo(this,c);break}case ft.AFTER_BODY:case ft.IN_FRAMESET:case ft.AFTER_FRAMESET:case ft.AFTER_AFTER_BODY:case ft.AFTER_AFTER_FRAMESET:{qr(this,c);break}default:}}onWhitespaceCharacter(c){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,c.chars.charCodeAt(0)===re.LINE_FEED)){if(c.chars.length===1)return;c.chars=c.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(c);return}switch(this.insertionMode){case ft.IN_HEAD:case ft.IN_HEAD_NO_SCRIPT:case ft.AFTER_HEAD:case ft.TEXT:case ft.IN_COLUMN_GROUP:case ft.IN_SELECT:case ft.IN_SELECT_IN_TABLE:case ft.IN_FRAMESET:case ft.AFTER_FRAMESET:{this._insertCharacters(c);break}case ft.IN_BODY:case ft.IN_CAPTION:case ft.IN_CELL:case ft.IN_TEMPLATE:case ft.AFTER_BODY:case ft.AFTER_AFTER_BODY:case ft.AFTER_AFTER_FRAMESET:{na(this,c);break}case ft.IN_TABLE:case ft.IN_TABLE_BODY:case ft.IN_ROW:{Cs(this,c);break}case ft.IN_TABLE_TEXT:{Ds(this,c);break}default:}}}function Ji(i,c){let R=i.activeFormattingElements.getElementEntryInScopeWithTagName(c.tagName);return R?i.openElements.contains(R.element)?i.openElements.hasInScope(c.tagID)||(R=null):(i.activeFormattingElements.removeEntry(R),R=null):Ua(i,c),R}function Li(i,c){let R=null,xe=i.openElements.stackTop;for(;xe>=0;xe--){const Et=i.openElements.items[xe];if(Et===c.element)break;i._isSpecialElement(Et,i.openElements.tagIDs[xe])&&(R=Et)}return R||(i.openElements.shortenToLength(xe<0?0:xe),i.activeFormattingElements.removeEntry(c)),R}function Bi(i,c,R){let xe=c,Et=i.openElements.getCommonAncestor(c);for(let Zt=0,pn=Et;pn!==R;Zt++,pn=Et){Et=i.openElements.getCommonAncestor(pn);const Un=i.activeFormattingElements.getElementEntry(pn),dr=Un&&Zt>=Rr;!Un||dr?(dr&&i.activeFormattingElements.removeEntry(Un),i.openElements.remove(pn)):(pn=gi(i,Un),xe===c&&(i.activeFormattingElements.bookmark=Un),i.treeAdapter.detachNode(xe),i.treeAdapter.appendChild(pn,xe),xe=pn)}return xe}function gi(i,c){const R=i.treeAdapter.getNamespaceURI(c.element),xe=i.treeAdapter.createElement(c.token.tagName,R,c.token.attrs);return i.openElements.replace(c.element,xe),c.element=xe,xe}function bi(i,c,R){const xe=i.treeAdapter.getTagName(c),Et=Pn(xe);if(i._isElementCausesFosterParenting(Et))i._fosterParentElement(R);else{const Zt=i.treeAdapter.getNamespaceURI(c);Et===D.TEMPLATE&&Zt===xt.HTML&&(c=i.treeAdapter.getTemplateContent(c)),i.treeAdapter.appendChild(c,R)}}function Jr(i,c,R){const xe=i.treeAdapter.getNamespaceURI(R.element),{token:Et}=R,Zt=i.treeAdapter.createElement(Et.tagName,xe,Et.attrs);i._adoptNodes(c,Zt),i.treeAdapter.appendChild(c,Zt),i.activeFormattingElements.insertElementAfterBookmark(Zt,Et),i.activeFormattingElements.removeEntry(R),i.openElements.remove(R.element),i.openElements.insertAfter(c,Zt,Et.tagID)}function Ui(i,c){for(let R=0;R<Qi;R++){const xe=Ji(i,c);if(!xe)break;const Et=Li(i,xe);if(!Et)break;i.activeFormattingElements.bookmark=xe;const Zt=Bi(i,Et,xe.element),pn=i.openElements.getCommonAncestor(xe.element);i.treeAdapter.detachNode(Zt),pn&&bi(i,pn,Zt),Jr(i,Et,xe)}}function Yr(i,c){i._appendCommentNode(c,i.openElements.currentTmplContentOrNode)}function Zr(i,c){i._appendCommentNode(c,i.openElements.items[0])}function pr(i,c){i._appendCommentNode(c,i.document)}function qr(i,c){if(i.stopped=!0,c.location){const R=i.fragmentContext?0:2;for(let xe=i.openElements.stackTop;xe>=R;xe--)i._setEndLocation(i.openElements.items[xe],c);if(!i.fragmentContext&&i.openElements.stackTop>=0){const xe=i.openElements.items[0],Et=i.treeAdapter.getNodeSourceCodeLocation(xe);if(Et&&!Et.endTag&&(i._setEndLocation(xe,c),i.openElements.stackTop>=1)){const Zt=i.openElements.items[1],pn=i.treeAdapter.getNodeSourceCodeLocation(Zt);pn&&!pn.endTag&&i._setEndLocation(Zt,c)}}}}function Ki(i,c){i._setDocumentType(c);const R=c.forceQuirks?cn.QUIRKS:ti(c);Di(c)||i._err(c,Xe.nonConformingDoctype),i.treeAdapter.setDocumentMode(i.document,R),i.insertionMode=ft.BEFORE_HTML}function Ti(i,c){i._err(c,Xe.missingDoctype,!0),i.treeAdapter.setDocumentMode(i.document,cn.QUIRKS),i.insertionMode=ft.BEFORE_HTML,i._processToken(c)}function Ea(i,c){c.tagID===D.HTML?(i._insertElement(c,xt.HTML),i.insertionMode=ft.BEFORE_HEAD):Rn(i,c)}function qi(i,c){const R=c.tagID;(R===D.HTML||R===D.HEAD||R===D.BODY||R===D.BR)&&Rn(i,c)}function Rn(i,c){i._insertFakeRootElement(),i.insertionMode=ft.BEFORE_HEAD,i._processToken(c)}function qn(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.HEAD:{i._insertElement(c,xt.HTML),i.headElement=i.openElements.current,i.insertionMode=ft.IN_HEAD;break}default:Vr(i,c)}}function Gr(i,c){const R=c.tagID;R===D.HEAD||R===D.BODY||R===D.HTML||R===D.BR?Vr(i,c):i._err(c,Xe.endTagWithoutMatchingOpenElement)}function Vr(i,c){i._insertFakeElement(ot.HEAD,D.HEAD),i.headElement=i.openElements.current,i.insertionMode=ft.IN_HEAD,i._processToken(c)}function gr(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.BASE:case D.BASEFONT:case D.BGSOUND:case D.LINK:case D.META:{i._appendElement(c,xt.HTML),c.ackSelfClosing=!0;break}case D.TITLE:{i._switchToTextParsing(c,wt.RCDATA);break}case D.NOSCRIPT:{i.options.scriptingEnabled?i._switchToTextParsing(c,wt.RAWTEXT):(i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_HEAD_NO_SCRIPT);break}case D.NOFRAMES:case D.STYLE:{i._switchToTextParsing(c,wt.RAWTEXT);break}case D.SCRIPT:{i._switchToTextParsing(c,wt.SCRIPT_DATA);break}case D.TEMPLATE:{i._insertTemplate(c),i.activeFormattingElements.insertMarker(),i.framesetOk=!1,i.insertionMode=ft.IN_TEMPLATE,i.tmplInsertionModeStack.unshift(ft.IN_TEMPLATE);break}case D.HEAD:{i._err(c,Xe.misplacedStartTagForHeadElement);break}default:oi(i,c)}}function sa(i,c){switch(c.tagID){case D.HEAD:{i.openElements.pop(),i.insertionMode=ft.AFTER_HEAD;break}case D.BODY:case D.BR:case D.HTML:{oi(i,c);break}case D.TEMPLATE:{_i(i,c);break}default:i._err(c,Xe.endTagWithoutMatchingOpenElement)}}function _i(i,c){i.openElements.tmplCount>0?(i.openElements.generateImpliedEndTagsThoroughly(),i.openElements.currentTagId!==D.TEMPLATE&&i._err(c,Xe.closingOfElementWithOpenChildElements),i.openElements.popUntilTagNamePopped(D.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i.tmplInsertionModeStack.shift(),i._resetInsertionMode()):i._err(c,Xe.endTagWithoutMatchingOpenElement)}function oi(i,c){i.openElements.pop(),i.insertionMode=ft.AFTER_HEAD,i._processToken(c)}function oa(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.BASEFONT:case D.BGSOUND:case D.HEAD:case D.LINK:case D.META:case D.NOFRAMES:case D.STYLE:{gr(i,c);break}case D.NOSCRIPT:{i._err(c,Xe.nestedNoscriptInHead);break}default:wa(i,c)}}function Pa(i,c){switch(c.tagID){case D.NOSCRIPT:{i.openElements.pop(),i.insertionMode=ft.IN_HEAD;break}case D.BR:{wa(i,c);break}default:i._err(c,Xe.endTagWithoutMatchingOpenElement)}}function wa(i,c){const R=c.type===ke.EOF?Xe.openElementsLeftAfterEof:Xe.disallowedContentInNoscriptInHead;i._err(c,R),i.openElements.pop(),i.insertionMode=ft.IN_HEAD,i._processToken(c)}function ba(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.BODY:{i._insertElement(c,xt.HTML),i.framesetOk=!1,i.insertionMode=ft.IN_BODY;break}case D.FRAMESET:{i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_FRAMESET;break}case D.BASE:case D.BASEFONT:case D.BGSOUND:case D.LINK:case D.META:case D.NOFRAMES:case D.SCRIPT:case D.STYLE:case D.TEMPLATE:case D.TITLE:{i._err(c,Xe.abandonedHeadElementChild),i.openElements.push(i.headElement,D.HEAD),gr(i,c),i.openElements.remove(i.headElement);break}case D.HEAD:{i._err(c,Xe.misplacedStartTagForHeadElement);break}default:ya(i,c)}}function Wa(i,c){switch(c.tagID){case D.BODY:case D.HTML:case D.BR:{ya(i,c);break}case D.TEMPLATE:{_i(i,c);break}default:i._err(c,Xe.endTagWithoutMatchingOpenElement)}}function ya(i,c){i._insertFakeElement(ot.BODY,D.BODY),i.insertionMode=ft.IN_BODY,Ri(i,c)}function Ri(i,c){switch(c.type){case ke.CHARACTER:{Ka(i,c);break}case ke.WHITESPACE_CHARACTER:{na(i,c);break}case ke.COMMENT:{Yr(i,c);break}case ke.START_TAG:{qt(i,c);break}case ke.END_TAG:{xs(i,c);break}case ke.EOF:{ro(i,c);break}default:}}function na(i,c){i._reconstructActiveFormattingElements(),i._insertCharacters(c)}function Ka(i,c){i._reconstructActiveFormattingElements(),i._insertCharacters(c),i.framesetOk=!1}function za(i,c){i.openElements.tmplCount===0&&i.treeAdapter.adoptAttributes(i.openElements.items[0],c.attrs)}function ea(i,c){const R=i.openElements.tryPeekProperlyNestedBodyElement();R&&i.openElements.tmplCount===0&&(i.framesetOk=!1,i.treeAdapter.adoptAttributes(R,c.attrs))}function Nt(i,c){const R=i.openElements.tryPeekProperlyNestedBodyElement();i.framesetOk&&R&&(i.treeAdapter.detachNode(R),i.openElements.popAllUpToHtmlElement(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_FRAMESET)}function Mn(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML)}function Jn(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),_n.has(i.openElements.currentTagId)&&i.openElements.pop(),i._insertElement(c,xt.HTML)}function ar(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML),i.skipNextNewLine=!0,i.framesetOk=!1}function xr(i,c){const R=i.openElements.tmplCount>0;(!i.formElement||R)&&(i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML),R||(i.formElement=i.openElements.current))}function ur(i,c){i.framesetOk=!1;const R=c.tagID;for(let xe=i.openElements.stackTop;xe>=0;xe--){const Et=i.openElements.tagIDs[xe];if(R===D.LI&&Et===D.LI||(R===D.DD||R===D.DT)&&(Et===D.DD||Et===D.DT)){i.openElements.generateImpliedEndTagsWithExclusion(Et),i.openElements.popUntilTagNamePopped(Et);break}if(Et!==D.ADDRESS&&Et!==D.DIV&&Et!==D.P&&i._isSpecialElement(i.openElements.items[xe],Et))break}i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML)}function Br(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML),i.tokenizer.state=wt.PLAINTEXT}function li(i,c){i.openElements.hasInScope(D.BUTTON)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(D.BUTTON)),i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML),i.framesetOk=!1}function Ci(i,c){const R=i.activeFormattingElements.getElementEntryInScopeWithTagName(ot.A);R&&(Ui(i,c),i.openElements.remove(R.element),i.activeFormattingElements.removeEntry(R)),i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML),i.activeFormattingElements.pushElement(i.openElements.current,c)}function ui(i,c){i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML),i.activeFormattingElements.pushElement(i.openElements.current,c)}function Oi(i,c){i._reconstructActiveFormattingElements(),i.openElements.hasInScope(D.NOBR)&&(Ui(i,c),i._reconstructActiveFormattingElements()),i._insertElement(c,xt.HTML),i.activeFormattingElements.pushElement(i.openElements.current,c)}function va(i,c){i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML),i.activeFormattingElements.insertMarker(),i.framesetOk=!1}function Fa(i,c){i.treeAdapter.getDocumentMode(i.document)!==cn.QUIRKS&&i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._insertElement(c,xt.HTML),i.framesetOk=!1,i.insertionMode=ft.IN_TABLE}function la(i,c){i._reconstructActiveFormattingElements(),i._appendElement(c,xt.HTML),i.framesetOk=!1,c.ackSelfClosing=!0}function Aa(i){const c=ce(i,fn.TYPE);return c!=null&&c.toLowerCase()===Yi}function Da(i,c){i._reconstructActiveFormattingElements(),i._appendElement(c,xt.HTML),Aa(c)||(i.framesetOk=!1),c.ackSelfClosing=!0}function ua(i,c){i._appendElement(c,xt.HTML),c.ackSelfClosing=!0}function Ta(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._appendElement(c,xt.HTML),i.framesetOk=!1,c.ackSelfClosing=!0}function Qa(i,c){c.tagName=ot.IMG,c.tagID=D.IMG,la(i,c)}function Na(i,c){i._insertElement(c,xt.HTML),i.skipNextNewLine=!0,i.tokenizer.state=wt.RCDATA,i.originalInsertionMode=i.insertionMode,i.framesetOk=!1,i.insertionMode=ft.TEXT}function ca(i,c){i.openElements.hasInButtonScope(D.P)&&i._closePElement(),i._reconstructActiveFormattingElements(),i.framesetOk=!1,i._switchToTextParsing(c,wt.RAWTEXT)}function La(i,c){i.framesetOk=!1,i._switchToTextParsing(c,wt.RAWTEXT)}function Ba(i,c){i._switchToTextParsing(c,wt.RAWTEXT)}function Us(i,c){i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML),i.framesetOk=!1,i.insertionMode=i.insertionMode===ft.IN_TABLE||i.insertionMode===ft.IN_CAPTION||i.insertionMode===ft.IN_TABLE_BODY||i.insertionMode===ft.IN_ROW||i.insertionMode===ft.IN_CELL?ft.IN_SELECT_IN_TABLE:ft.IN_SELECT}function hs(i,c){i.openElements.currentTagId===D.OPTION&&i.openElements.pop(),i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML)}function Is(i,c){i.openElements.hasInScope(D.RUBY)&&i.openElements.generateImpliedEndTags(),i._insertElement(c,xt.HTML)}function js(i,c){i.openElements.hasInScope(D.RUBY)&&i.openElements.generateImpliedEndTagsWithExclusion(D.RTC),i._insertElement(c,xt.HTML)}function ci(i,c){i._reconstructActiveFormattingElements(),pi(c),ki(c),c.selfClosing?i._appendElement(c,xt.MATHML):i._insertElement(c,xt.MATHML),c.ackSelfClosing=!0}function Pr(i,c){i._reconstructActiveFormattingElements(),Xn(c),ki(c),c.selfClosing?i._appendElement(c,xt.SVG):i._insertElement(c,xt.SVG),c.ackSelfClosing=!0}function Wr(i,c){i._reconstructActiveFormattingElements(),i._insertElement(c,xt.HTML)}function qt(i,c){switch(c.tagID){case D.I:case D.S:case D.B:case D.U:case D.EM:case D.TT:case D.BIG:case D.CODE:case D.FONT:case D.SMALL:case D.STRIKE:case D.STRONG:{ui(i,c);break}case D.A:{Ci(i,c);break}case D.H1:case D.H2:case D.H3:case D.H4:case D.H5:case D.H6:{Jn(i,c);break}case D.P:case D.DL:case D.OL:case D.UL:case D.DIV:case D.DIR:case D.NAV:case D.MAIN:case D.MENU:case D.ASIDE:case D.CENTER:case D.FIGURE:case D.FOOTER:case D.HEADER:case D.HGROUP:case D.DIALOG:case D.DETAILS:case D.ADDRESS:case D.ARTICLE:case D.SEARCH:case D.SECTION:case D.SUMMARY:case D.FIELDSET:case D.BLOCKQUOTE:case D.FIGCAPTION:{Mn(i,c);break}case D.LI:case D.DD:case D.DT:{ur(i,c);break}case D.BR:case D.IMG:case D.WBR:case D.AREA:case D.EMBED:case D.KEYGEN:{la(i,c);break}case D.HR:{Ta(i,c);break}case D.RB:case D.RTC:{Is(i,c);break}case D.RT:case D.RP:{js(i,c);break}case D.PRE:case D.LISTING:{ar(i,c);break}case D.XMP:{ca(i,c);break}case D.SVG:{Pr(i,c);break}case D.HTML:{za(i,c);break}case D.BASE:case D.LINK:case D.META:case D.STYLE:case D.TITLE:case D.SCRIPT:case D.BGSOUND:case D.BASEFONT:case D.TEMPLATE:{gr(i,c);break}case D.BODY:{ea(i,c);break}case D.FORM:{xr(i,c);break}case D.NOBR:{Oi(i,c);break}case D.MATH:{ci(i,c);break}case D.TABLE:{Fa(i,c);break}case D.INPUT:{Da(i,c);break}case D.PARAM:case D.TRACK:case D.SOURCE:{ua(i,c);break}case D.IMAGE:{Qa(i,c);break}case D.BUTTON:{li(i,c);break}case D.APPLET:case D.OBJECT:case D.MARQUEE:{va(i,c);break}case D.IFRAME:{La(i,c);break}case D.SELECT:{Us(i,c);break}case D.OPTION:case D.OPTGROUP:{hs(i,c);break}case D.NOEMBED:case D.NOFRAMES:{Ba(i,c);break}case D.FRAMESET:{Nt(i,c);break}case D.TEXTAREA:{Na(i,c);break}case D.NOSCRIPT:{i.options.scriptingEnabled?Ba(i,c):Wr(i,c);break}case D.PLAINTEXT:{Br(i,c);break}case D.COL:case D.TH:case D.TD:case D.TR:case D.HEAD:case D.FRAME:case D.TBODY:case D.TFOOT:case D.THEAD:case D.CAPTION:case D.COLGROUP:break;default:Wr(i,c)}}function Vi(i,c){if(i.openElements.hasInScope(D.BODY)&&(i.insertionMode=ft.AFTER_BODY,i.options.sourceCodeLocationInfo)){const R=i.openElements.tryPeekProperlyNestedBodyElement();R&&i._setEndLocation(R,c)}}function Za(i,c){i.openElements.hasInScope(D.BODY)&&(i.insertionMode=ft.AFTER_BODY,Qs(i,c))}function rs(i,c){const R=c.tagID;i.openElements.hasInScope(R)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(R))}function zs(i){const c=i.openElements.tmplCount>0,{formElement:R}=i;c||(i.formElement=null),(R||c)&&i.openElements.hasInScope(D.FORM)&&(i.openElements.generateImpliedEndTags(),c?i.openElements.popUntilTagNamePopped(D.FORM):R&&i.openElements.remove(R))}function is(i){i.openElements.hasInButtonScope(D.P)||i._insertFakeElement(ot.P,D.P),i._closePElement()}function as(i){i.openElements.hasInListItemScope(D.LI)&&(i.openElements.generateImpliedEndTagsWithExclusion(D.LI),i.openElements.popUntilTagNamePopped(D.LI))}function Ha(i,c){const R=c.tagID;i.openElements.hasInScope(R)&&(i.openElements.generateImpliedEndTagsWithExclusion(R),i.openElements.popUntilTagNamePopped(R))}function ps(i){i.openElements.hasNumberedHeaderInScope()&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilNumberedHeaderPopped())}function ss(i,c){const R=c.tagID;i.openElements.hasInScope(R)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(R),i.activeFormattingElements.clearToLastMarker())}function Xa(i){i._reconstructActiveFormattingElements(),i._insertFakeElement(ot.BR,D.BR),i.openElements.pop(),i.framesetOk=!1}function Ua(i,c){const R=c.tagName,xe=c.tagID;for(let Et=i.openElements.stackTop;Et>0;Et--){const Zt=i.openElements.items[Et],pn=i.openElements.tagIDs[Et];if(xe===pn&&(xe!==D.UNKNOWN||i.treeAdapter.getTagName(Zt)===R)){i.openElements.generateImpliedEndTagsWithExclusion(xe),i.openElements.stackTop>=Et&&i.openElements.shortenToLength(Et);break}if(i._isSpecialElement(Zt,pn))break}}function xs(i,c){switch(c.tagID){case D.A:case D.B:case D.I:case D.S:case D.U:case D.EM:case D.TT:case D.BIG:case D.CODE:case D.FONT:case D.NOBR:case D.SMALL:case D.STRIKE:case D.STRONG:{Ui(i,c);break}case D.P:{is(i);break}case D.DL:case D.UL:case D.OL:case D.DIR:case D.DIV:case D.NAV:case D.PRE:case D.MAIN:case D.MENU:case D.ASIDE:case D.BUTTON:case D.CENTER:case D.FIGURE:case D.FOOTER:case D.HEADER:case D.HGROUP:case D.DIALOG:case D.ADDRESS:case D.ARTICLE:case D.DETAILS:case D.SEARCH:case D.SECTION:case D.SUMMARY:case D.LISTING:case D.FIELDSET:case D.BLOCKQUOTE:case D.FIGCAPTION:{rs(i,c);break}case D.LI:{as(i);break}case D.DD:case D.DT:{Ha(i,c);break}case D.H1:case D.H2:case D.H3:case D.H4:case D.H5:case D.H6:{ps(i);break}case D.BR:{Xa(i);break}case D.BODY:{Vi(i,c);break}case D.HTML:{Za(i,c);break}case D.FORM:{zs(i);break}case D.APPLET:case D.OBJECT:case D.MARQUEE:{ss(i,c);break}case D.TEMPLATE:{_i(i,c);break}default:Ua(i,c)}}function ro(i,c){i.tmplInsertionModeStack.length>0?lo(i,c):qr(i,c)}function Ra(i,c){var R;c.tagID===D.SCRIPT&&((R=i.scriptHandler)===null||R===void 0||R.call(i,i.openElements.current)),i.openElements.pop(),i.insertionMode=i.originalInsertionMode}function bo(i,c){i._err(c,Xe.eofInElementThatCanContainOnlyText),i.openElements.pop(),i.insertionMode=i.originalInsertionMode,i.onEof(c)}function Cs(i,c){if(aa.has(i.openElements.currentTagId))switch(i.pendingCharacterTokens.length=0,i.hasNonWhitespacePendingCharacterToken=!1,i.originalInsertionMode=i.insertionMode,i.insertionMode=ft.IN_TABLE_TEXT,c.type){case ke.CHARACTER:{Es(i,c);break}case ke.WHITESPACE_CHARACTER:{Ds(i,c);break}}else $a(i,c)}function Hs(i,c){i.openElements.clearBackToTableContext(),i.activeFormattingElements.insertMarker(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_CAPTION}function ws(i,c){i.openElements.clearBackToTableContext(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_COLUMN_GROUP}function gs(i,c){i.openElements.clearBackToTableContext(),i._insertFakeElement(ot.COLGROUP,D.COLGROUP),i.insertionMode=ft.IN_COLUMN_GROUP,Vs(i,c)}function yo(i,c){i.openElements.clearBackToTableContext(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_TABLE_BODY}function os(i,c){i.openElements.clearBackToTableContext(),i._insertFakeElement(ot.TBODY,D.TBODY),i.insertionMode=ft.IN_TABLE_BODY,qa(i,c)}function io(i,c){i.openElements.hasInTableScope(D.TABLE)&&(i.openElements.popUntilTagNamePopped(D.TABLE),i._resetInsertionMode(),i._processStartTag(c))}function Gs(i,c){Aa(c)?i._appendElement(c,xt.HTML):$a(i,c),c.ackSelfClosing=!0}function Ys(i,c){!i.formElement&&i.openElements.tmplCount===0&&(i._insertElement(c,xt.HTML),i.formElement=i.openElements.current,i.openElements.pop())}function ja(i,c){switch(c.tagID){case D.TD:case D.TH:case D.TR:{os(i,c);break}case D.STYLE:case D.SCRIPT:case D.TEMPLATE:{gr(i,c);break}case D.COL:{gs(i,c);break}case D.FORM:{Ys(i,c);break}case D.TABLE:{io(i,c);break}case D.TBODY:case D.TFOOT:case D.THEAD:{yo(i,c);break}case D.INPUT:{Gs(i,c);break}case D.CAPTION:{Hs(i,c);break}case D.COLGROUP:{ws(i,c);break}default:$a(i,c)}}function ms(i,c){switch(c.tagID){case D.TABLE:{i.openElements.hasInTableScope(D.TABLE)&&(i.openElements.popUntilTagNamePopped(D.TABLE),i._resetInsertionMode());break}case D.TEMPLATE:{_i(i,c);break}case D.BODY:case D.CAPTION:case D.COL:case D.COLGROUP:case D.HTML:case D.TBODY:case D.TD:case D.TFOOT:case D.TH:case D.THEAD:case D.TR:break;default:$a(i,c)}}function $a(i,c){const R=i.fosterParentingEnabled;i.fosterParentingEnabled=!0,Ri(i,c),i.fosterParentingEnabled=R}function Ds(i,c){i.pendingCharacterTokens.push(c)}function Es(i,c){i.pendingCharacterTokens.push(c),i.hasNonWhitespacePendingCharacterToken=!0}function Ja(i,c){let R=0;if(i.hasNonWhitespacePendingCharacterToken)for(;R<i.pendingCharacterTokens.length;R++)$a(i,i.pendingCharacterTokens[R]);else for(;R<i.pendingCharacterTokens.length;R++)i._insertCharacters(i.pendingCharacterTokens[R]);i.insertionMode=i.originalInsertionMode,i._processToken(c)}const Ns=new Set([D.CAPTION,D.COL,D.COLGROUP,D.TBODY,D.TD,D.TFOOT,D.TH,D.THEAD,D.TR]);function vo(i,c){const R=c.tagID;Ns.has(R)?i.openElements.hasInTableScope(D.CAPTION)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(D.CAPTION),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=ft.IN_TABLE,ja(i,c)):qt(i,c)}function Ao(i,c){const R=c.tagID;switch(R){case D.CAPTION:case D.TABLE:{i.openElements.hasInTableScope(D.CAPTION)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(D.CAPTION),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=ft.IN_TABLE,R===D.TABLE&&ms(i,c));break}case D.BODY:case D.COL:case D.COLGROUP:case D.HTML:case D.TBODY:case D.TD:case D.TFOOT:case D.TH:case D.THEAD:case D.TR:break;default:xs(i,c)}}function Vs(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.COL:{i._appendElement(c,xt.HTML),c.ackSelfClosing=!0;break}case D.TEMPLATE:{gr(i,c);break}default:Ls(i,c)}}function Ws(i,c){switch(c.tagID){case D.COLGROUP:{i.openElements.currentTagId===D.COLGROUP&&(i.openElements.pop(),i.insertionMode=ft.IN_TABLE);break}case D.TEMPLATE:{_i(i,c);break}case D.COL:break;default:Ls(i,c)}}function Ls(i,c){i.openElements.currentTagId===D.COLGROUP&&(i.openElements.pop(),i.insertionMode=ft.IN_TABLE,i._processToken(c))}function qa(i,c){switch(c.tagID){case D.TR:{i.openElements.clearBackToTableBodyContext(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_ROW;break}case D.TH:case D.TD:{i.openElements.clearBackToTableBodyContext(),i._insertFakeElement(ot.TR,D.TR),i.insertionMode=ft.IN_ROW,ls(i,c);break}case D.CAPTION:case D.COL:case D.COLGROUP:case D.TBODY:case D.TFOOT:case D.THEAD:{i.openElements.hasTableBodyContextInTableScope()&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE,ja(i,c));break}default:ja(i,c)}}function bs(i,c){const R=c.tagID;switch(c.tagID){case D.TBODY:case D.TFOOT:case D.THEAD:{i.openElements.hasInTableScope(R)&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE);break}case D.TABLE:{i.openElements.hasTableBodyContextInTableScope()&&(i.openElements.clearBackToTableBodyContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE,ms(i,c));break}case D.BODY:case D.CAPTION:case D.COL:case D.COLGROUP:case D.HTML:case D.TD:case D.TH:case D.TR:break;default:ms(i,c)}}function ls(i,c){switch(c.tagID){case D.TH:case D.TD:{i.openElements.clearBackToTableRowContext(),i._insertElement(c,xt.HTML),i.insertionMode=ft.IN_CELL,i.activeFormattingElements.insertMarker();break}case D.CAPTION:case D.COL:case D.COLGROUP:case D.TBODY:case D.TFOOT:case D.THEAD:case D.TR:{i.openElements.hasInTableScope(D.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE_BODY,qa(i,c));break}default:ja(i,c)}}function Ks(i,c){switch(c.tagID){case D.TR:{i.openElements.hasInTableScope(D.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE_BODY);break}case D.TABLE:{i.openElements.hasInTableScope(D.TR)&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE_BODY,bs(i,c));break}case D.TBODY:case D.TFOOT:case D.THEAD:{(i.openElements.hasInTableScope(c.tagID)||i.openElements.hasInTableScope(D.TR))&&(i.openElements.clearBackToTableRowContext(),i.openElements.pop(),i.insertionMode=ft.IN_TABLE_BODY,bs(i,c));break}case D.BODY:case D.CAPTION:case D.COL:case D.COLGROUP:case D.HTML:case D.TD:case D.TH:break;default:ms(i,c)}}function Rs(i,c){const R=c.tagID;Ns.has(R)?(i.openElements.hasInTableScope(D.TD)||i.openElements.hasInTableScope(D.TH))&&(i._closeTableCell(),ls(i,c)):qt(i,c)}function Ms(i,c){const R=c.tagID;switch(R){case D.TD:case D.TH:{i.openElements.hasInTableScope(R)&&(i.openElements.generateImpliedEndTags(),i.openElements.popUntilTagNamePopped(R),i.activeFormattingElements.clearToLastMarker(),i.insertionMode=ft.IN_ROW);break}case D.TABLE:case D.TBODY:case D.TFOOT:case D.THEAD:case D.TR:{i.openElements.hasInTableScope(R)&&(i._closeTableCell(),Ks(i,c));break}case D.BODY:case D.CAPTION:case D.COL:case D.COLGROUP:case D.HTML:break;default:xs(i,c)}}function ao(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.OPTION:{i.openElements.currentTagId===D.OPTION&&i.openElements.pop(),i._insertElement(c,xt.HTML);break}case D.OPTGROUP:{i.openElements.currentTagId===D.OPTION&&i.openElements.pop(),i.openElements.currentTagId===D.OPTGROUP&&i.openElements.pop(),i._insertElement(c,xt.HTML);break}case D.HR:{i.openElements.currentTagId===D.OPTION&&i.openElements.pop(),i.openElements.currentTagId===D.OPTGROUP&&i.openElements.pop(),i._appendElement(c,xt.HTML),c.ackSelfClosing=!0;break}case D.INPUT:case D.KEYGEN:case D.TEXTAREA:case D.SELECT:{i.openElements.hasInSelectScope(D.SELECT)&&(i.openElements.popUntilTagNamePopped(D.SELECT),i._resetInsertionMode(),c.tagID!==D.SELECT&&i._processStartTag(c));break}case D.SCRIPT:case D.TEMPLATE:{gr(i,c);break}default:}}function so(i,c){switch(c.tagID){case D.OPTGROUP:{i.openElements.stackTop>0&&i.openElements.currentTagId===D.OPTION&&i.openElements.tagIDs[i.openElements.stackTop-1]===D.OPTGROUP&&i.openElements.pop(),i.openElements.currentTagId===D.OPTGROUP&&i.openElements.pop();break}case D.OPTION:{i.openElements.currentTagId===D.OPTION&&i.openElements.pop();break}case D.SELECT:{i.openElements.hasInSelectScope(D.SELECT)&&(i.openElements.popUntilTagNamePopped(D.SELECT),i._resetInsertionMode());break}case D.TEMPLATE:{_i(i,c);break}default:}}function To(i,c){const R=c.tagID;R===D.CAPTION||R===D.TABLE||R===D.TBODY||R===D.TFOOT||R===D.THEAD||R===D.TR||R===D.TD||R===D.TH?(i.openElements.popUntilTagNamePopped(D.SELECT),i._resetInsertionMode(),i._processStartTag(c)):ao(i,c)}function _o(i,c){const R=c.tagID;R===D.CAPTION||R===D.TABLE||R===D.TBODY||R===D.TFOOT||R===D.THEAD||R===D.TR||R===D.TD||R===D.TH?i.openElements.hasInTableScope(R)&&(i.openElements.popUntilTagNamePopped(D.SELECT),i._resetInsertionMode(),i.onEndTag(c)):so(i,c)}function oo(i,c){switch(c.tagID){case D.BASE:case D.BASEFONT:case D.BGSOUND:case D.LINK:case D.META:case D.NOFRAMES:case D.SCRIPT:case D.STYLE:case D.TEMPLATE:case D.TITLE:{gr(i,c);break}case D.CAPTION:case D.COLGROUP:case D.TBODY:case D.TFOOT:case D.THEAD:{i.tmplInsertionModeStack[0]=ft.IN_TABLE,i.insertionMode=ft.IN_TABLE,ja(i,c);break}case D.COL:{i.tmplInsertionModeStack[0]=ft.IN_COLUMN_GROUP,i.insertionMode=ft.IN_COLUMN_GROUP,Vs(i,c);break}case D.TR:{i.tmplInsertionModeStack[0]=ft.IN_TABLE_BODY,i.insertionMode=ft.IN_TABLE_BODY,qa(i,c);break}case D.TD:case D.TH:{i.tmplInsertionModeStack[0]=ft.IN_ROW,i.insertionMode=ft.IN_ROW,ls(i,c);break}default:i.tmplInsertionModeStack[0]=ft.IN_BODY,i.insertionMode=ft.IN_BODY,qt(i,c)}}function ys(i,c){c.tagID===D.TEMPLATE&&_i(i,c)}function lo(i,c){i.openElements.tmplCount>0?(i.openElements.popUntilTagNamePopped(D.TEMPLATE),i.activeFormattingElements.clearToLastMarker(),i.tmplInsertionModeStack.shift(),i._resetInsertionMode(),i.onEof(c)):qr(i,c)}function uo(i,c){c.tagID===D.HTML?qt(i,c):Zs(i,c)}function Qs(i,c){var R;if(c.tagID===D.HTML){if(i.fragmentContext||(i.insertionMode=ft.AFTER_AFTER_BODY),i.options.sourceCodeLocationInfo&&i.openElements.tagIDs[0]===D.HTML){i._setEndLocation(i.openElements.items[0],c);const xe=i.openElements.items[1];xe&&!(!((R=i.treeAdapter.getNodeSourceCodeLocation(xe))===null||R===void 0)&&R.endTag)&&i._setEndLocation(xe,c)}}else Zs(i,c)}function Zs(i,c){i.insertionMode=ft.IN_BODY,Ri(i,c)}function co(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.FRAMESET:{i._insertElement(c,xt.HTML);break}case D.FRAME:{i._appendElement(c,xt.HTML),c.ackSelfClosing=!0;break}case D.NOFRAMES:{gr(i,c);break}default:}}function Zi(i,c){c.tagID===D.FRAMESET&&!i.openElements.isRootHtmlElementCurrent()&&(i.openElements.pop(),!i.fragmentContext&&i.openElements.currentTagId!==D.FRAMESET&&(i.insertionMode=ft.AFTER_FRAMESET))}function da(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.NOFRAMES:{gr(i,c);break}default:}}function vs(i,c){c.tagID===D.HTML&&(i.insertionMode=ft.AFTER_AFTER_FRAMESET)}function So(i,c){c.tagID===D.HTML?qt(i,c):g(i,c)}function g(i,c){i.insertionMode=ft.IN_BODY,Ri(i,c)}function x(i,c){switch(c.tagID){case D.HTML:{qt(i,c);break}case D.NOFRAMES:{gr(i,c);break}default:}}function O(i,c){c.chars=nt,i._insertCharacters(c)}function K(i,c){i._insertCharacters(c),i.framesetOk=!1}function de(i){for(;i.treeAdapter.getNamespaceURI(i.openElements.current)!==xt.HTML&&!i._isIntegrationPoint(i.openElements.currentTagId,i.openElements.current);)i.openElements.pop()}function ge(i,c){if(Ei(c))de(i),i._startTagOutsideForeignContent(c);else{const R=i._getAdjustedCurrentElement(),xe=i.treeAdapter.getNamespaceURI(R);xe===xt.MATHML?pi(c):xe===xt.SVG&&(Pi(c),Xn(c)),ki(c),c.selfClosing?i._appendElement(c,xe):i._insertElement(c,xe),c.ackSelfClosing=!0}}function Ce(i,c){if(c.tagID===D.P||c.tagID===D.BR){de(i),i._endTagOutsideForeignContent(c);return}for(let R=i.openElements.stackTop;R>0;R--){const xe=i.openElements.items[R];if(i.treeAdapter.getNamespaceURI(xe)===xt.HTML){i._endTagOutsideForeignContent(c);break}const Et=i.treeAdapter.getTagName(xe);if(Et.toLowerCase()===c.tagName){c.tagName=Et,i.openElements.shortenToLength(R);break}}}const Ve=/["&'<>$\x80-\uFFFF]/g,Tt=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),yt=String.prototype.codePointAt!=null?(i,c)=>i.codePointAt(c):(i,c)=>(i.charCodeAt(c)&64512)===55296?(i.charCodeAt(c)-55296)*1024+i.charCodeAt(c+1)-56320+65536:i.charCodeAt(c);function ct(i){let c="",R=0,xe;for(;(xe=Ve.exec(i))!==null;){const Et=xe.index,Zt=i.charCodeAt(Et),pn=Tt.get(Zt);pn!==void 0?(c+=i.substring(R,Et)+pn,R=Et+1):(c+=`${i.substring(R,Et)}&#x${yt(i,Et).toString(16)};`,R=Ve.lastIndex+=+((Zt&64512)===55296))}return c+i.substr(R)}const Pt=null;function Lt(i,c){return function(xe){let Et,Zt=0,pn="";for(;Et=i.exec(xe);)Zt!==Et.index&&(pn+=xe.substring(Zt,Et.index)),pn+=c.get(Et[0].charCodeAt(0)),Zt=Et.index+1;return pn+xe.substring(Zt)}}const mt=Lt(/[&<>'"]/g,Tt),Qn=Lt(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Ar=Lt(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),jr=new Set([ot.AREA,ot.BASE,ot.BASEFONT,ot.BGSOUND,ot.BR,ot.COL,ot.EMBED,ot.FRAME,ot.HR,ot.IMG,ot.INPUT,ot.KEYGEN,ot.LINK,ot.META,ot.PARAM,ot.SOURCE,ot.TRACK,ot.WBR]);function Fn(i,c){return c.treeAdapter.isElementNode(i)&&c.treeAdapter.getNamespaceURI(i)===NS.HTML&&jr.has(c.treeAdapter.getTagName(i))}const Mr={treeAdapter:Ir,scriptingEnabled:!0};function sr(i,c){const R=yr(yr({},Mr),c);return Fn(i,R)?"":Xr(i,R)}function mi(i,c){const R=yr(yr({},Mr),c);return Tn(i,R)}function Xr(i,c){let R="";const xe=c.treeAdapter.isElementNode(i)&&c.treeAdapter.getTagName(i)===$.TEMPLATE&&c.treeAdapter.getNamespaceURI(i)===NS.HTML?c.treeAdapter.getTemplateContent(i):i,Et=c.treeAdapter.getChildNodes(xe);if(Et)for(const Zt of Et)R+=Tn(Zt,c);return R}function Tn(i,c){return c.treeAdapter.isElementNode(i)?ei(i,c):c.treeAdapter.isTextNode(i)?Fr(i,c):c.treeAdapter.isCommentNode(i)?ni(i,c):c.treeAdapter.isDocumentTypeNode(i)?fa(i,c):""}function ei(i,c){const R=c.treeAdapter.getTagName(i);return`<${R}${Or(i,c)}>${Fn(i,c)?"":`${Xr(i,c)}</${R}>`}`}function Or(i,{treeAdapter:c}){let R="";for(const xe of c.getAttrList(i)){if(R+=" ",xe.namespace)switch(xe.namespace){case NS.XML:{R+=`xml:${xe.name}`;break}case NS.XMLNS:{xe.name!=="xmlns"&&(R+="xmlns:"),R+=xe.name;break}case NS.XLINK:{R+=`xlink:${xe.name}`;break}default:R+=`${xe.prefix}:${xe.name}`}else R+=xe.name;R+=`="${escapeAttribute(xe.value)}"`}return R}function Fr(i,c){const{treeAdapter:R}=c,xe=R.getTextNodeContent(i),Et=R.getParentNode(i),Zt=Et&&R.isElementNode(Et)&&R.getTagName(Et);return Zt&&R.getNamespaceURI(Et)===NS.HTML&&hasUnescapedText(Zt,c.scriptingEnabled)?xe:escapeText(xe)}function ni(i,{treeAdapter:c}){return`<!--${c.getCommentNodeContent(i)}-->`}function fa(i,{treeAdapter:c}){return`<!DOCTYPE ${c.getDocumentTypeNodeName(i)}>`}function ri(i,c){return Parser.parse(i,c)}function cr(i,c,R){typeof i=="string"&&(R=c,c=i,i=null);const xe=Parser.getFragmentParser(i,R);return xe.tokenizer.write(c,!0),xe.getFragment()}var mr=o(17970),_r=o(10528);const Si=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,ii=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ot={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function ha(i,c){const R=Xs(i),xe=$e("type",{handlers:{root:pa,element:ra,text:_t,comment:ks,doctype:ia,raw:Os},unknown:Ii}),Et={parser:R?new $i(Ot):$i.getFragmentParser(void 0,Ot),handle(Un){xe(Un,Et)},stitches:!1,options:c||{}};xe(i,Et),ga(Et,(0,mr.Pk)());const Zt=R?Et.parser.document:Et.parser.getFragment(),pn=v(Zt,{file:Et.options.file});return Et.stitches&&(0,_r.Vn)(pn,"comment",function(Un,dr,an){const wn=Un;if(wn.value.stitch&&an&&dr!==void 0){const Er=an.children;return Er[dr]=wn.value.stitch,dr}}),pn.type==="root"&&pn.children.length===1&&pn.children[0].type===i.type?pn.children[0]:pn}function At(i,c){let R=-1;if(i)for(;++R<i.length;)c.handle(i[R])}function pa(i,c){At(i.children,c)}function ra(i,c){Ma(i,c),At(i.children,c),Wi(i,c)}function _t(i,c){c.parser.tokenizer.state>4&&(c.parser.tokenizer.state=0);const R={type:ke.CHARACTER,chars:i.value,location:us(i)};ga(c,(0,mr.Pk)(i)),c.parser.currentToken=R,c.parser._processToken(c.parser.currentToken)}function ia(i,c){const R={type:ke.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:us(i)};ga(c,(0,mr.Pk)(i)),c.parser.currentToken=R,c.parser._processToken(c.parser.currentToken)}function es(i,c){c.stitches=!0;const R=$s(i);if("children"in i&&"children"in R){const xe=ha({type:"root",children:i.children},c.options);R.children=xe.children}ks({type:"comment",value:{stitch:R}},c)}function ks(i,c){const R=i.value,xe={type:ke.COMMENT,data:R,location:us(i)};ga(c,(0,mr.Pk)(i)),c.parser.currentToken=xe,c.parser._processToken(c.parser.currentToken)}function Os(i,c){if(c.parser.tokenizer.preprocessor.html="",c.parser.tokenizer.preprocessor.pos=-1,c.parser.tokenizer.preprocessor.lastGapPos=-2,c.parser.tokenizer.preprocessor.gapStack=[],c.parser.tokenizer.preprocessor.skipNextNewLine=!1,c.parser.tokenizer.preprocessor.lastChunkWritten=!1,c.parser.tokenizer.preprocessor.endOfChunkHit=!1,c.parser.tokenizer.preprocessor.isEol=!1,_a(c,(0,mr.Pk)(i)),c.parser.tokenizer.write(c.options.tagfilter?i.value.replace(Si,"&lt;$1$2"):i.value,!1),c.parser.tokenizer._runParsingLoop(),c.parser.tokenizer.state===72||c.parser.tokenizer.state===78){c.parser.tokenizer.preprocessor.lastChunkWritten=!0;const R=c.parser.tokenizer._consume();c.parser.tokenizer._callState(R)}}function Ii(i,c){const R=i;if(c.options.passThrough&&c.options.passThrough.includes(R.type))es(R,c);else{let xe="";throw ii.has(R.type)&&(xe=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+R.type+"` node"+xe)}}function ga(i,c){_a(i,c);const R=i.parser.tokenizer.currentCharacterToken;R&&R.location&&(R.location.endLine=i.parser.tokenizer.preprocessor.line,R.location.endCol=i.parser.tokenizer.preprocessor.col+1,R.location.endOffset=i.parser.tokenizer.preprocessor.offset+1,i.parser.currentToken=R,i.parser._processToken(i.parser.currentToken)),i.parser.tokenizer.paused=!1,i.parser.tokenizer.inLoop=!1,i.parser.tokenizer.active=!1,i.parser.tokenizer.returnState=wt.DATA,i.parser.tokenizer.charRefCode=-1,i.parser.tokenizer.consumedAfterSnapshot=-1,i.parser.tokenizer.currentLocation=null,i.parser.tokenizer.currentCharacterToken=null,i.parser.tokenizer.currentToken=null,i.parser.tokenizer.currentAttr={name:"",value:""}}function _a(i,c){if(c&&c.offset!==void 0){const R={startLine:c.line,startCol:c.column,startOffset:c.offset,endLine:-1,endCol:-1,endOffset:-1};i.parser.tokenizer.preprocessor.lineStartPos=-c.column+1,i.parser.tokenizer.preprocessor.droppedBufferSize=c.offset,i.parser.tokenizer.preprocessor.line=c.line,i.parser.tokenizer.currentLocation=R}}function Ma(i,c){const R=i.tagName.toLowerCase();if(c.parser.tokenizer.state===wt.PLAINTEXT)return;ga(c,(0,mr.Pk)(i));const xe=c.parser.openElements.current;let Et="namespaceURI"in xe?xe.namespaceURI:u.t.html;Et===u.t.html&&R==="svg"&&(Et=u.t.svg);const Zt=Ie(no(yr({},i),{children:[]}),{space:Et===u.t.svg?"svg":"html"}),pn={type:ke.START_TAG,tagName:R,tagID:Pn(R),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in Zt?Zt.attrs:[],location:us(i)};c.parser.currentToken=pn,c.parser._processToken(c.parser.currentToken),c.parser.tokenizer.lastStartTagName=R}function Wi(i,c){const R=i.tagName.toLowerCase();if(!c.parser.tokenizer.inForeignNode&&Le.includes(R)||c.parser.tokenizer.state===wt.PLAINTEXT)return;ga(c,(0,mr.rb)(i));const xe={type:ke.END_TAG,tagName:R,tagID:Pn(R),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:us(i)};c.parser.currentToken=xe,c.parser._processToken(c.parser.currentToken),R===c.parser.tokenizer.lastStartTagName&&(c.parser.tokenizer.state===wt.RCDATA||c.parser.tokenizer.state===wt.RAWTEXT||c.parser.tokenizer.state===wt.SCRIPT_DATA)&&(c.parser.tokenizer.state=wt.DATA)}function Xs(i){const c=i.type==="root"?i.children[0]:i;return!!(c&&(c.type==="doctype"||c.type==="element"&&c.tagName.toLowerCase()==="html"))}function us(i){const c=(0,mr.Pk)(i)||{line:void 0,column:void 0,offset:void 0},R=(0,mr.rb)(i)||{line:void 0,column:void 0,offset:void 0};return{startLine:c.line,startCol:c.column,startOffset:c.offset,endLine:R.line,endCol:R.column,endOffset:R.offset}}function $s(i){return"children"in i?(0,y.ZP)(no(yr({},i),{children:[]})):(0,y.ZP)(i)}function fo(i){return function(c,R){return ha(c,no(yr({},i),{file:R}))}}},10787:function(k,p,o){"use strict";o.d(p,{Z:function(){return Q}});function a(U){if(typeof U!="string")throw new TypeError("Expected a string");return U.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var y=o(2348),T=o(10502);function b(U,v,I){const C=I||{},P=(0,T.O)(C.ignore||[]),X=_(v);let V=-1;for(;++V<X.length;)(0,y.S4)(U,"text",z);function z(F,B){let W=-1,H;for(;++W<B.length;){const le=B[W],te=H?H.children:void 0;if(P(le,te?te.indexOf(le):void 0,H))return;H=le}if(H)return N(F,B)}function N(F,B){const W=B[B.length-1],H=X[V][0],le=X[V][1];let te=0;const Ee=W.children.indexOf(F);let he=!1,ve=[];H.lastIndex=0;let J=H.exec(F.value);for(;J;){const Z=J.index,ie={index:J.index,input:J.input,stack:[...B,F]};let ue=le(...J,ie);if(typeof ue=="string"&&(ue=ue.length>0?{type:"text",value:ue}:void 0),ue===!1?H.lastIndex=Z+1:(te!==Z&&ve.push({type:"text",value:F.value.slice(te,Z)}),Array.isArray(ue)?ve.push(...ue):ue&&ve.push(ue),te=Z+J[0].length,he=!0),!H.global)break;J=H.exec(F.value)}return he?(te<F.value.length&&ve.push({type:"text",value:F.value.slice(te)}),W.children.splice(Ee,1,...ve)):ve=[F],Ee+ve.length}}function _(U){const v=[];if(!Array.isArray(U))throw new TypeError("Expected find and replace tuple or list of tuples");const I=!U[0]||Array.isArray(U[0])?U:[U];let C=-1;for(;++C<I.length;){const P=I[C];v.push([h(P[0]),j(P[1])])}return v}function h(U){return typeof U=="string"?new RegExp(a(U),"g"):U}function j(U){return typeof U=="function"?U:function(){return U}}function G(U){b(U,[/\r?\n|\r/g,u])}function u(){return{type:"break"}}function Q(){return function(U){G(U)}}},30084:function(k,p,o){"use strict";o.d(p,{Z:function(){return X}});var a=o(87342);function y(V,z){const N=String(V);let F=N.indexOf(z),B=F,W=0,H=0;if(typeof z!="string")throw new TypeError("Expected substring");for(;F!==-1;)F===B?++W>H&&(H=W):W=1,B=F+z.length,F=N.indexOf(z,B);return H}function T(){return{enter:{mathFlow:V,mathFlowFenceMeta:z,mathText:W},exit:{mathFlow:B,mathFlowFence:F,mathFlowFenceMeta:N,mathFlowValue:le,mathText:H,mathTextData:le}};function V(te){const se={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[se]}},te)}function z(){this.buffer()}function N(){const te=this.resume(),se=this.stack[this.stack.length-1];(0,a.ok)(se.type==="math"),se.meta=te}function F(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function B(te){const se=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),Ee=this.stack[this.stack.length-1];(0,a.ok)(Ee.type==="math"),this.exit(te),Ee.value=se;const he=Ee.data.hChildren[0];(0,a.ok)(he.type==="element"),(0,a.ok)(he.tagName==="code"),he.children.push({type:"text",value:se}),this.data.mathFlowInside=void 0}function W(te){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},te),this.buffer()}function H(te){const se=this.resume(),Ee=this.stack[this.stack.length-1];(0,a.ok)(Ee.type==="inlineMath"),this.exit(te),Ee.value=se,Ee.data.hChildren.push({type:"text",value:se})}function le(te){this.config.enter.data.call(this,te),this.config.exit.data.call(this,te)}}function b(V){let z=(V||{}).singleDollarTextMath;return z==null&&(z=!0),F.peek=B,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:z?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:N,inlineMath:F}};function N(W,H,le,te){const se=W.value||"",Ee=le.createTracker(te),he="$".repeat(Math.max(y(se,"$")+1,2)),ve=le.enter("mathFlow");let J=Ee.move(he);if(W.meta){const Z=le.enter("mathFlowMeta");J+=Ee.move(le.safe(W.meta,yr({after:`
`,before:J,encode:["$"]},Ee.current()))),Z()}return J+=Ee.move(`
`),se&&(J+=Ee.move(se+`
`)),J+=Ee.move(he),ve(),J}function F(W,H,le){let te=W.value||"",se=1;for(z||se++;new RegExp("(^|[^$])"+"\\$".repeat(se)+"([^$]|$)").test(te);)se++;const Ee="$".repeat(se);/[^ \r\n]/.test(te)&&(/^[ \r\n]/.test(te)&&/[ \r\n]$/.test(te)||/^\$|\$$/.test(te))&&(te=" "+te+" ");let he=-1;for(;++he<le.unsafe.length;){const ve=le.unsafe[he];if(!ve.atBreak)continue;const J=le.compilePattern(ve);let Z;for(;Z=J.exec(te);){let ie=Z.index;te.codePointAt(ie)===10&&te.codePointAt(ie-1)===13&&ie--,te=te.slice(0,ie)+" "+te.slice(Z.index+1)}}return Ee+te+Ee}function B(){return"$"}}var _=o(26735),h=o(80722);const j={tokenize:u,concrete:!0,name:"mathFlow"},G={tokenize:Q,partial:!0};function u(V,z,N){const F=this,B=F.events[F.events.length-1],W=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0;let H=0;return le;function le(ae){return V.enter("mathFlow"),V.enter("mathFlowFence"),V.enter("mathFlowFenceSequence"),te(ae)}function te(ae){return ae===36?(V.consume(ae),H++,te):H<2?N(ae):(V.exit("mathFlowFenceSequence"),(0,_.f)(V,se,"whitespace")(ae))}function se(ae){return ae===null||(0,h.Ch)(ae)?he(ae):(V.enter("mathFlowFenceMeta"),V.enter("chunkString",{contentType:"string"}),Ee(ae))}function Ee(ae){return ae===null||(0,h.Ch)(ae)?(V.exit("chunkString"),V.exit("mathFlowFenceMeta"),he(ae)):ae===36?N(ae):(V.consume(ae),Ee)}function he(ae){return V.exit("mathFlowFence"),F.interrupt?z(ae):V.attempt(G,ve,ue)(ae)}function ve(ae){return V.attempt({tokenize:fe,partial:!0},ue,J)(ae)}function J(ae){return(W?(0,_.f)(V,Z,"linePrefix",W+1):Z)(ae)}function Z(ae){return ae===null?ue(ae):(0,h.Ch)(ae)?V.attempt(G,ve,ue)(ae):(V.enter("mathFlowValue"),ie(ae))}function ie(ae){return ae===null||(0,h.Ch)(ae)?(V.exit("mathFlowValue"),Z(ae)):(V.consume(ae),ie)}function ue(ae){return V.exit("mathFlow"),z(ae)}function fe(ae,w,L){let oe=0;return(0,_.f)(ae,M,"linePrefix",F.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function M(Re){return ae.enter("mathFlowFence"),ae.enter("mathFlowFenceSequence"),De(Re)}function De(Re){return Re===36?(oe++,ae.consume(Re),De):oe<H?L(Re):(ae.exit("mathFlowFenceSequence"),(0,_.f)(ae,Fe,"whitespace")(Re))}function Fe(Re){return Re===null||(0,h.Ch)(Re)?(ae.exit("mathFlowFence"),w(Re)):L(Re)}}}function Q(V,z,N){const F=this;return B;function B(H){return H===null?z(H):(V.enter("lineEnding"),V.consume(H),V.exit("lineEnding"),W)}function W(H){return F.parser.lazy[F.now().line]?N(H):z(H)}}function U(V){let N=(V||{}).singleDollarTextMath;return N==null&&(N=!0),{tokenize:F,resolve:v,previous:I,name:"mathText"};function F(B,W,H){const le=this;let te=0,se,Ee;return he;function he(ue){return B.enter("mathText"),B.enter("mathTextSequence"),ve(ue)}function ve(ue){return ue===36?(B.consume(ue),te++,ve):te<2&&!N?H(ue):(B.exit("mathTextSequence"),J(ue))}function J(ue){return ue===null?H(ue):ue===36?(Ee=B.enter("mathTextSequence"),se=0,ie(ue)):ue===32?(B.enter("space"),B.consume(ue),B.exit("space"),J):(0,h.Ch)(ue)?(B.enter("lineEnding"),B.consume(ue),B.exit("lineEnding"),J):(B.enter("mathTextData"),Z(ue))}function Z(ue){return ue===null||ue===32||ue===36||(0,h.Ch)(ue)?(B.exit("mathTextData"),J(ue)):(B.consume(ue),Z)}function ie(ue){return ue===36?(B.consume(ue),se++,ie):se===te?(B.exit("mathTextSequence"),B.exit("mathText"),W(ue)):(Ee.type="mathTextData",Z(ue))}}}function v(V){let z=V.length-4,N=3,F,B;if((V[N][1].type==="lineEnding"||V[N][1].type==="space")&&(V[z][1].type==="lineEnding"||V[z][1].type==="space")){for(F=N;++F<z;)if(V[F][1].type==="mathTextData"){V[z][1].type="mathTextPadding",V[N][1].type="mathTextPadding",N+=2,z-=2;break}}for(F=N-1,z++;++F<=z;)B===void 0?F!==z&&V[F][1].type!=="lineEnding"&&(B=F):(F===z||V[F][1].type==="lineEnding")&&(V[B][1].type="mathTextData",F!==B+2&&(V[B][1].end=V[F-1][1].end,V.splice(B+2,F-B-2),z-=F-B-2,F=B+2),B=void 0);return V}function I(V){return V!==36||this.events[this.events.length-1][1].type==="characterEscape"}function C(V){return{flow:{36:j},text:{36:U(V)}}}const P={};function X(V){const z=this,N=V||P,F=z.data(),B=F.micromarkExtensions||(F.micromarkExtensions=[]),W=F.fromMarkdownExtensions||(F.fromMarkdownExtensions=[]),H=F.toMarkdownExtensions||(F.toMarkdownExtensions=[]);B.push(C(N)),W.push(T()),H.push(b(N))}},71523:function(k,p,o){"use strict";o.d(p,{P:function(){return y},Q:function(){return a}});function a(T){const b=String(T||"").trim();return b?b.split(/[ \t\n\r\f]+/g):[]}function y(T){return T.join(" ").trim()}},10502:function(k,p,o){"use strict";o.d(p,{O:function(){return y}});const a=function(u,Q,U,v,I){const C=y(Q);if(U!=null&&(typeof U!="number"||U<0||U===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(v!=null&&(!a(v)||!v.children))throw new Error("Expected parent node");if(v==null!=(U==null))throw new Error("Expected both parent and index");return G(u)?C.call(I,u,U,v):!1},y=function(u){if(u==null)return j;if(typeof u=="function")return h(u);if(typeof u=="object")return Array.isArray(u)?T(u):b(u);if(typeof u=="string")return _(u);throw new Error("Expected function, string, or object as test")};function T(u){const Q=[];let U=-1;for(;++U<u.length;)Q[U]=y(u[U]);return h(v);function v(...I){let C=-1;for(;++C<Q.length;)if(Q[C].apply(this,I))return!0;return!1}}function b(u){const Q=u;return h(U);function U(v){const I=v;let C;for(C in u)if(I[C]!==Q[C])return!1;return!0}}function _(u){return h(Q);function Q(U){return U&&U.type===u}}function h(u){return Q;function Q(U,v,I){return!!(G(U)&&u.call(this,U,typeof v=="number"?v:void 0,I||void 0))}}function j(){return!0}function G(u){return u!==null&&typeof u=="object"&&"type"in u}},17970:function(k,p,o){"use strict";o.d(p,{FK:function(){return b},Pk:function(){return y},rb:function(){return a}});const a=T("end"),y=T("start");function T(_){return h;function h(j){const G=j&&j.position&&j.position[_]||{};if(typeof G.line=="number"&&G.line>0&&typeof G.column=="number"&&G.column>0)return{line:G.line,column:G.column,offset:typeof G.offset=="number"&&G.offset>-1?G.offset:void 0}}}function b(_){const h=y(_),j=a(_);if(h&&j)return{start:h,end:j}}},2348:function(k,p,o){"use strict";o.d(p,{AM:function(){return h},S4:function(){return j}});var a=o(10502);function y(u){return u}const T=[],b=!0,_=!1,h="skip";function j(u,Q,U,v){let I;typeof Q=="function"&&typeof U!="function"?(v=U,U=Q):I=Q;const C=(0,a.O)(I),P=v?-1:1;X(u,void 0,[])();function X(V,z,N){const F=V&&typeof V=="object"?V:{};if(typeof F.type=="string"){const W=typeof F.tagName=="string"?F.tagName:typeof F.name=="string"?F.name:void 0;Object.defineProperty(B,"name",{value:"node ("+(V.type+(W?"<"+W+">":""))+")"})}return B;function B(){let W=T,H,le,te;if((!Q||C(V,z,N[N.length-1]||void 0))&&(W=G(U(V,N)),W[0]===_))return W;if("children"in V&&V.children){const se=V;if(se.children&&W[0]!==h)for(le=(v?se.children.length:-1)+P,te=N.concat(se);le>-1&&le<se.children.length;){const Ee=se.children[le];if(H=X(Ee,le,te)(),H[0]===_)return H;le=typeof H[1]=="number"?H[1]:le+P}}return W}}}function G(u){return Array.isArray(u)?u:typeof u=="number"?[b,u]:u==null?T:[u]}},10528:function(k,p,o){"use strict";o.d(p,{Vn:function(){return y}});var a=o(2348);function y(T,b,_,h){let j,G,u;typeof b=="function"&&typeof _!="function"?(G=void 0,u=b,j=_):(G=b,u=_,j=h),(0,a.S4)(T,G,Q,j);function Q(U,v){const I=v[v.length-1],C=I?I.children.indexOf(U):void 0;return u(U,C,I)}}},43309:function(k,p,o){"use strict";o.d(p,{t:function(){return a}});const a={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},47854:function(k){"use strict";k.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(k){"use strict";k.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]);
}());