mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-12 00:08:50 +08:00
3 lines
1.5 MiB
3 lines
1.5 MiB
/*! For license information please see main.47c77ebf.js.LICENSE.txt */
|
|
!function(){var e={5462:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,{attentionMarkers:function(){return Fd},contentInitial:function(){return Qd},disable:function(){return Bd},document:function(){return Nd},flow:function(){return Md},flowInitial:function(){return Rd},insideSpan:function(){return Ld},string:function(){return $d},text:function(){return Id}});var i={};n.r(i),n.d(i,{safe:function(){return Uk},spec:function(){return zk}});var o={};n.r(o),n.d(o,{angle:function(){return XS},decibel:function(){return VS},flex:function(){return GS},frequency:function(){return WS},length:function(){return YS},resolution:function(){return qS},semitones:function(){return JS},time:function(){return HS}});var a={};n.r(a),n.d(a,{getTrace:function(){return gw},isKeyword:function(){return yw},isProperty:function(){return Ow},isType:function(){return vw}});var s={};n.r(s),n.d(s,{generate:function(){return Vw},name:function(){return Ww},parse:function(){return Gw},structure:function(){return qw}});var l={};n.r(l),n.d(l,{generate:function(){return iT},name:function(){return eT},parse:function(){return rT},structure:function(){return nT},walkContext:function(){return tT}});var u={};n.r(u),n.d(u,{generate:function(){return uT},name:function(){return oT},parse:function(){return lT},structure:function(){return sT},walkContext:function(){return aT}});var c={};n.r(c),n.d(c,{generate:function(){return kT},name:function(){return OT},parse:function(){return bT},structure:function(){return yT}});var h={};n.r(h),n.d(h,{generate:function(){return DT},name:function(){return ET},parse:function(){return _T},structure:function(){return PT},walkContext:function(){return AT}});var f={};n.r(f),n.d(f,{generate:function(){return RT},name:function(){return ZT},parse:function(){return QT},structure:function(){return NT}});var d={};n.r(d),n.d(d,{generate:function(){return LT},name:function(){return MT},parse:function(){return IT},structure:function(){return $T}});var p={};n.r(p),n.d(p,{generate:function(){return zT},name:function(){return FT},parse:function(){return jT},structure:function(){return BT}});var m={};n.r(m),n.d(m,{generate:function(){return WT},name:function(){return YT},parse:function(){return HT},structure:function(){return XT}});var g={};n.r(g),n.d(g,{generate:function(){return nC},name:function(){return KT},parse:function(){return tC},structure:function(){return eC}});var v={};n.r(v),n.d(v,{generate:function(){return lC},name:function(){return oC},parse:function(){return sC},structure:function(){return aC}});var O={};n.r(O),n.d(O,{generate:function(){return xC},name:function(){return yC},parse:function(){return SC},structure:function(){return kC},walkContext:function(){return bC}});var y={};n.r(y),n.d(y,{generate:function(){return DC},name:function(){return AC},parse:function(){return _C},structure:function(){return PC}});var b={};n.r(b),n.d(b,{generate:function(){return RC},name:function(){return ZC},parse:function(){return QC},structure:function(){return NC}});var k={};n.r(k),n.d(k,{generate:function(){return FC},name:function(){return MC},parse:function(){return LC},structure:function(){return IC},walkContext:function(){return $C}});var S={};n.r(S),n.d(S,{generate:function(){return YC},name:function(){return jC},parse:function(){return UC},structure:function(){return zC},xxx:function(){return BC}});var x={};n.r(x),n.d(x,{generate:function(){return qC},name:function(){return XC},parse:function(){return WC},structure:function(){return HC}});var w={};n.r(w),n.d(w,{generate:function(){return KC},name:function(){return GC},parse:function(){return JC},structure:function(){return VC}});var T={};n.r(T),n.d(T,{generate:function(){return rE},name:function(){return eE},parse:function(){return nE},structure:function(){return tE}});var C={};n.r(C),n.d(C,{generate:function(){return sE},name:function(){return iE},parse:function(){return aE},structure:function(){return oE}});var E={};n.r(E),n.d(E,{generate:function(){return hE},name:function(){return lE},parse:function(){return cE},structure:function(){return uE}});var A={};n.r(A),n.d(A,{generate:function(){return gE},name:function(){return dE},parse:function(){return mE},structure:function(){return pE}});var P={};n.r(P),n.d(P,{generate:function(){return bE},name:function(){return vE},parse:function(){return yE},structure:function(){return OE}});var _={};n.r(_),n.d(_,{generate:function(){return wE},name:function(){return kE},parse:function(){return xE},structure:function(){return SE}});var D={};n.r(D),n.d(D,{generate:function(){return AE},name:function(){return TE},parse:function(){return EE},structure:function(){return CE}});var Z={};n.r(Z),n.d(Z,{generate:function(){return ZE},name:function(){return PE},parse:function(){return DE},structure:function(){return _E}});var N={};n.r(N),n.d(N,{generate:function(){return ME},name:function(){return NE},parse:function(){return RE},structure:function(){return QE}});var Q={};n.r(Q),n.d(Q,{generate:function(){return BE},name:function(){return $E},parse:function(){return FE},structure:function(){return LE},walkContext:function(){return IE}});var R={};n.r(R),n.d(R,{generate:function(){return XE},name:function(){return jE},parse:function(){return YE},structure:function(){return UE},walkContext:function(){return zE}});var M={};n.r(M),n.d(M,{generate:function(){return KE},name:function(){return GE},parse:function(){return JE},structure:function(){return VE}});var $={};n.r($),n.d($,{generate:function(){return iA},name:function(){return tA},parse:function(){return rA},structure:function(){return nA}});var I={};n.r(I),n.d(I,{generate:function(){return hA},name:function(){return sA},parse:function(){return cA},structure:function(){return uA},walkContext:function(){return lA}});var L={};n.r(L),n.d(L,{generate:function(){return mA},name:function(){return fA},parse:function(){return pA},structure:function(){return dA}});var F={};n.r(F),n.d(F,{generate:function(){return bA},name:function(){return gA},parse:function(){return yA},structure:function(){return OA},walkContext:function(){return vA}});var B={};n.r(B),n.d(B,{generate:function(){return AA},name:function(){return TA},parse:function(){return EA},structure:function(){return CA}});var j={};n.r(j),n.d(j,{generate:function(){return RA},name:function(){return DA},parse:function(){return QA},structure:function(){return NA},walkContext:function(){return ZA}});var z={};n.r(z),n.d(z,{generate:function(){return jA},name:function(){return LA},parse:function(){return BA},structure:function(){return FA}});var U={};n.r(U),n.d(U,{generate:function(){return KA},name:function(){return GA},parse:function(){return JA},structure:function(){return VA}});var Y={};n.r(Y),n.d(Y,{generate:function(){return uP},name:function(){return aP},parse:function(){return lP},structure:function(){return sP}});var X={};n.r(X),n.d(X,{generate:function(){return dP},name:function(){return cP},parse:function(){return fP},structure:function(){return hP}});var H={};n.r(H),n.d(H,{generate:function(){return OP},name:function(){return mP},parse:function(){return vP},structure:function(){return gP}});var W={};n.r(W),n.d(W,{AnPlusB:function(){return s},Atrule:function(){return l},AtrulePrelude:function(){return u},AttributeSelector:function(){return c},Block:function(){return h},Brackets:function(){return f},CDC:function(){return d},CDO:function(){return p},ClassSelector:function(){return m},Combinator:function(){return g},Comment:function(){return v},Declaration:function(){return O},DeclarationList:function(){return y},Dimension:function(){return b},Function:function(){return k},Hash:function(){return S},IdSelector:function(){return w},Identifier:function(){return x},MediaFeature:function(){return T},MediaQuery:function(){return C},MediaQueryList:function(){return E},NestingSelector:function(){return A},Nth:function(){return P},Number:function(){return _},Operator:function(){return D},Parentheses:function(){return Z},Percentage:function(){return N},PseudoClassSelector:function(){return Q},PseudoElementSelector:function(){return R},Ratio:function(){return M},Raw:function(){return $},Rule:function(){return I},Selector:function(){return L},SelectorList:function(){return F},String:function(){return B},StyleSheet:function(){return j},TypeSelector:function(){return z},UnicodeRange:function(){return U},Url:function(){return Y},Value:function(){return X},WhiteSpace:function(){return H}});var q={};n.r(q),n.d(q,{AtrulePrelude:function(){return kP},Selector:function(){return SP},Value:function(){return wP}});var G={};function V(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(G),n.d(G,{AnPlusB:function(){return Gw},Atrule:function(){return rT},AtrulePrelude:function(){return lT},AttributeSelector:function(){return bT},Block:function(){return _T},Brackets:function(){return QT},CDC:function(){return IT},CDO:function(){return jT},ClassSelector:function(){return HT},Combinator:function(){return tC},Comment:function(){return sC},Declaration:function(){return SC},DeclarationList:function(){return _C},Dimension:function(){return QC},Function:function(){return LC},Hash:function(){return UC},IdSelector:function(){return JC},Identifier:function(){return WC},MediaFeature:function(){return nE},MediaQuery:function(){return aE},MediaQueryList:function(){return cE},NestingSelector:function(){return mE},Nth:function(){return yE},Number:function(){return xE},Operator:function(){return EE},Parentheses:function(){return DE},Percentage:function(){return RE},PseudoClassSelector:function(){return FE},PseudoElementSelector:function(){return YE},Ratio:function(){return JE},Raw:function(){return rA},Rule:function(){return cA},Selector:function(){return pA},SelectorList:function(){return yA},String:function(){return EA},StyleSheet:function(){return QA},TypeSelector:function(){return BA},UnicodeRange:function(){return JA},Url:function(){return lP},Value:function(){return fP},WhiteSpace:function(){return vP}});var J=n(3528),K=n.t(J,2),ee=n(6378),te=n(1026),ne=n(649),re=n(2951),ie=n(1976),oe=n(7591),ae=n(9616),se=n(7597),le=n(6983);var ue=n(8119);function ce(e,t,n){return ce=(0,ue.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,le.Z)(i,n.prototype),i},ce.apply(null,arguments)}function he(e){var t="function"===typeof Map?new Map:void 0;return he=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return ce(e,arguments,(0,se.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,le.Z)(r,e)},he(e)}var fe=n(6470),de=n(5181),pe=n(4013),me=n(3764);function ge(e){return(0,fe.Z)(e)||(0,de.Z)(e)||(0,pe.Z)(e)||(0,me.Z)()}var ve,Oe=n(726);function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(ve||(ve={}));var be,ke="popstate";function Se(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function xe(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function we(e,t){return{usr:e.state,key:e.key,idx:t}}function Te(e,t,n,r){return void 0===n&&(n=null),ye({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Ee(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function Ce(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function Ee(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ae(e,t,n,r){void 0===r&&(r={});var i=r,o=i.window,a=void 0===o?document.defaultView:o,s=i.v5Compat,l=void 0!==s&&s,u=a.history,c=ve.Pop,h=null,f=d();function d(){return(u.state||{idx:null}).idx}function p(){c=ve.Pop;var e=d(),t=null==e?null:e-f;f=e,h&&h({action:c,location:g.location,delta:t})}function m(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:Ce(e);return Se(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==f&&(f=0,u.replaceState(ye({},u.state,{idx:f}),""));var g={get action(){return c},get location(){return e(a,u)},listen:function(e){if(h)throw new Error("A history only accepts one active listener");return a.addEventListener(ke,p),h=e,function(){a.removeEventListener(ke,p),h=null}},createHref:function(e){return t(a,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=ve.Push;var r=Te(g.location,e,t);n&&n(r,e);var i=we(r,f=d()+1),o=g.createHref(r);try{u.pushState(i,"",o)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;a.location.assign(o)}l&&h&&h({action:c,location:g.location,delta:1})},replace:function(e,t){c=ve.Replace;var r=Te(g.location,e,t);n&&n(r,e);var i=we(r,f=d()),o=g.createHref(r);u.replaceState(i,"",o),l&&h&&h({action:c,location:g.location,delta:0})},go:function(e){return u.go(e)}};return g}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(be||(be={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function Pe(e,t,n){void 0===n&&(n="/");var r=ze(("string"===typeof t?Ee(t):t).pathname||"/",n);if(null==r)return null;var i=_e(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=Fe(i[a],je(r));return o}function _e(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");var i=function(e,i,o){var a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(Se(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));var s=He([r,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(Se(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),_e(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Le(s,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=(0,Oe.Z)(De(e.path));try{for(o.s();!(r=o.n()).done;){var a=r.value;i(e,t,a)}}catch(s){o.e(s)}finally{o.f()}}else i(e,t)})),t}function De(e){var t=e.split("/");if(0===t.length)return[];var n=ge(t),r=n[0],i=n.slice(1),o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===i.length)return o?[a,""]:[a];var s=De(i.join("/")),l=[];return l.push.apply(l,(0,ne.Z)(s.map((function(e){return""===e?a:[a,e].join("/")})))),o&&l.push.apply(l,(0,ne.Z)(s)),l.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var Ze=/^:\w+$/,Ne=3,Qe=2,Re=1,Me=10,$e=-2,Ie=function(e){return"*"===e};function Le(e,t){var n=e.split("/"),r=n.length;return n.some(Ie)&&(r+=$e),t&&(r+=Qe),n.filter((function(e){return!Ie(e)})).reduce((function(e,t){return e+(Ze.test(t)?Ne:""===t?Re:Me)}),r)}function Fe(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var s=n[a],l=a===n.length-1,u="/"===i?t:t.slice(i.length)||"/",c=Be({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!c)return null;Object.assign(r,c.params);var h=s.route;o.push({params:r,pathname:He([i,c.pathname]),pathnameBase:We(He([i,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(i=He([i,c.pathnameBase]))}return o}function Be(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);xe("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return r.push(t),"/([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),r=(0,te.Z)(n,2),i=r[0],o=r[1],a=t.match(i);if(!a)return null;var s=a[0],l=s.replace(/(.)\/+$/,"$1"),u=a.slice(1),c=o.reduce((function(e,t,n){if("*"===t){var r=u[n]||"";l=s.slice(0,s.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return xe(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(u[n]||"",t),e}),{});return{params:c,pathname:s,pathnameBase:l,pattern:e}}function je(e){try{return decodeURI(e)}catch(t){return xe(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function ze(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function Ue(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Ye(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Xe(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=Ee(e):(Se(!(i=ye({},e)).pathname||!i.pathname.includes("?"),Ue("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),Ue("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),Ue("#","search","hash",i)));var o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(r||null==s)o=n;else{var l=t.length-1;if(s.startsWith("..")){for(var u=s.split("/");".."===u[0];)u.shift(),l-=1;i.pathname=u.join("/")}o=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Ee(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:qe(o),hash:Ge(s)}}(i,o),h=s&&"/"!==s&&s.endsWith("/"),f=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!h&&!f||(c.pathname+="/"),c}var He=function(e){return e.join("/").replace(/\/\/+/g,"/")},We=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},qe=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Ge=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Ve=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(){return(0,re.Z)(this,n),t.apply(this,arguments)}return(0,ie.Z)(n)}(he(Error));function Je(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Ke=["post","put","patch","delete"],et=(new Set(Ke),["get"].concat(Ke));new Set(et),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(this,arguments)}var nt=J.createContext(null);var rt=J.createContext(null);var it=J.createContext(null);var ot=J.createContext(null);var at=J.createContext(null);var st=J.createContext({outlet:null,matches:[],isDataRoute:!1});var lt=J.createContext(null);function ut(){return null!=J.useContext(at)}function ct(){return ut()||Se(!1),J.useContext(at).location}function ht(e){J.useContext(ot).static||J.useLayoutEffect(e)}function ft(){return J.useContext(st).isDataRoute?function(){var e=xt(kt.UseNavigateStable).router,t=Tt(St.UseNavigateStable),n=J.useRef(!1);ht((function(){n.current=!0}));var r=J.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,tt({fromRouteId:t},i)))}),[e,t]);return r}():function(){ut()||Se(!1);var e=J.useContext(nt),t=J.useContext(ot),n=t.basename,r=t.navigator,i=J.useContext(st).matches,o=ct().pathname,a=JSON.stringify(Ye(i).map((function(e){return e.pathnameBase}))),s=J.useRef(!1);ht((function(){s.current=!0}));var l=J.useCallback((function(t,i){if(void 0===i&&(i={}),s.current)if("number"!==typeof t){var l=Xe(t,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:He([n,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}else r.go(t)}),[n,r,a,o,e]);return l}()}var dt=J.createContext(null);function pt(e,t){var n=(void 0===t?{}:t).relative,r=J.useContext(st).matches,i=ct().pathname,o=JSON.stringify(Ye(r).map((function(e){return e.pathnameBase})));return J.useMemo((function(){return Xe(e,JSON.parse(o),i,"path"===n)}),[e,o,i,n])}function mt(e,t,n){ut()||Se(!1);var r,i=J.useContext(ot).navigator,o=J.useContext(st).matches,a=o[o.length-1],s=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/"),u=(a&&a.route,ct());if(t){var c,h="string"===typeof t?Ee(t):t;"/"===l||(null==(c=h.pathname)?void 0:c.startsWith(l))||Se(!1),r=h}else r=u;var f=r.pathname||"/",d=Pe(e,{pathname:"/"===l?f:f.slice(l.length)||"/"});var p=bt(d&&d.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:He([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:He([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,n);return t&&p?J.createElement(at.Provider,{value:{location:tt({pathname:"/",search:"",hash:"",state:null,key:"default"},r),navigationType:ve.Pop}},p):p}function gt(){var e=function(){var e,t=J.useContext(lt),n=wt(St.UseRouteError),r=Tt(St.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=Je(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r};return J.createElement(J.Fragment,null,J.createElement("h2",null,"Unexpected Application Error!"),J.createElement("h3",{style:{fontStyle:"italic"}},t),n?J.createElement("pre",{style:i},n):null,null)}var vt=J.createElement(gt,null),Ot=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},r}return(0,ie.Z)(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?J.createElement(st.Provider,{value:this.props.routeContext},J.createElement(lt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),n}(J.Component);function yt(e){var t=e.routeContext,n=e.match,r=e.children,i=J.useContext(nt);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),J.createElement(st.Provider,{value:t},r)}function bt(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n=null),null==e){var i;if(null==(i=n)||!i.errors)return null;e=n.matches}var o=e,a=null==(r=n)?void 0:r.errors;if(null!=a){var s=o.findIndex((function(e){return e.route.id&&(null==a?void 0:a[e.route.id])}));s>=0||Se(!1),o=o.slice(0,Math.min(o.length,s+1))}return o.reduceRight((function(e,r,i){var s=r.route.id?null==a?void 0:a[r.route.id]:null,l=null;n&&(l=r.route.errorElement||vt);var u=t.concat(o.slice(0,i+1)),c=function(){var t;return t=s?l:r.route.Component?J.createElement(r.route.Component,null):r.route.element?r.route.element:e,J.createElement(yt,{match:r,routeContext:{outlet:e,matches:u,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?J.createElement(Ot,{location:n.location,revalidation:n.revalidation,component:l,error:s,children:c(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):c()}),null)}var kt=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kt||{}),St=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(St||{});function xt(e){var t=J.useContext(nt);return t||Se(!1),t}function wt(e){var t=J.useContext(rt);return t||Se(!1),t}function Tt(e){var t=function(e){var t=J.useContext(st);return t||Se(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}K.startTransition;function Ct(e){return function(e){var t=J.useContext(st).outlet;return t?J.createElement(dt.Provider,{value:e},t):t}(e.context)}function Et(e){Se(!1)}function At(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,o=e.location,a=e.navigationType,s=void 0===a?ve.Pop:a,l=e.navigator,u=e.static,c=void 0!==u&&u;ut()&&Se(!1);var h=n.replace(/^\/*/,"/"),f=J.useMemo((function(){return{basename:h,navigator:l,static:c}}),[h,l,c]);"string"===typeof o&&(o=Ee(o));var d=o,p=d.pathname,m=void 0===p?"/":p,g=d.search,v=void 0===g?"":g,O=d.hash,y=void 0===O?"":O,b=d.state,k=void 0===b?null:b,S=d.key,x=void 0===S?"default":S,w=J.useMemo((function(){var e=ze(m,h);return null==e?null:{location:{pathname:e,search:v,hash:y,state:k,key:x},navigationType:s}}),[h,m,v,y,k,x,s]);return null==w?null:J.createElement(ot.Provider,{value:f},J.createElement(at.Provider,{children:i,value:w}))}function Pt(e){var t=e.children,n=e.location;return mt(Zt(t),n)}var _t=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(_t||{}),Dt=new Promise((function(){}));J.Component;function Zt(e,t){void 0===t&&(t=[]);var n=[];return J.Children.forEach(e,(function(e,r){if(J.isValidElement(e)){var i=[].concat((0,ne.Z)(t),[r]);if(e.type!==J.Fragment){e.type!==Et&&Se(!1),e.props.index&&e.props.children&&Se(!1);var o={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Zt(e.props.children,i)),n.push(o)}else n.push.apply(n,Zt(e.props.children,i))}})),n}function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nt.apply(this,arguments)}function Qt(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function Rt(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var Mt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],$t=["aria-current","caseSensitive","className","end","style","to","children"];var It=K.startTransition;function Lt(e){var t,n=e.basename,r=e.children,i=e.future,o=e.window,a=J.useRef();null==a.current&&(a.current=(void 0===(t={window:o,v5Compat:!0})&&(t={}),Ae((function(e,t){var n=Ee(e.location.hash.substr(1)),r=n.pathname,i=void 0===r?"/":r,o=n.search,a=void 0===o?"":o,s=n.hash,l=void 0===s?"":s;return i.startsWith("/")||i.startsWith(".")||(i="/"+i),Te("",{pathname:i,search:a,hash:l},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){var n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){var i=e.location.href,o=i.indexOf("#");r=-1===o?i:i.slice(0,o)}return r+"#"+("string"===typeof t?t:Ce(t))}),(function(e,t){xe("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),t)));var s=a.current,l=J.useState({action:s.action,location:s.location}),u=(0,te.Z)(l,2),c=u[0],h=u[1],f=(i||{}).v7_startTransition,d=J.useCallback((function(e){f&&It?It((function(){return h(e)})):h(e)}),[h,f]);return J.useLayoutEffect((function(){return s.listen(d)}),[s,d]),J.createElement(At,{basename:n,children:r,location:c.location,navigationType:c.action,navigator:s})}var Ft="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Bt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jt=J.forwardRef((function(e,t){var n,r=e.onClick,i=e.relative,o=e.reloadDocument,a=e.replace,s=e.state,l=e.target,u=e.to,c=e.preventScrollReset,h=Qt(e,Mt),f=J.useContext(ot).basename,d=!1;if("string"===typeof u&&Bt.test(u)&&(n=u,Ft))try{var p=new URL(window.location.href),m=u.startsWith("//")?new URL(p.protocol+u):new URL(u),g=ze(m.pathname,f);m.origin===p.origin&&null!=g?u=g+m.search+m.hash:d=!0}catch(y){}var v=function(e,t){var n=(void 0===t?{}:t).relative;ut()||Se(!1);var r=J.useContext(ot),i=r.basename,o=r.navigator,a=pt(e,{relative:n}),s=a.hash,l=a.pathname,u=a.search,c=l;return"/"!==i&&(c="/"===l?i:He([i,l])),o.createHref({pathname:c,search:u,hash:s})}(u,{relative:i}),O=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,o=n.state,a=n.preventScrollReset,s=n.relative,l=ft(),u=ct(),c=pt(e,{relative:s});return J.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==i?i:Ce(u)===Ce(c);l(e,{replace:n,state:o,preventScrollReset:a,relative:s})}}),[u,l,c,i,o,r,e,a,s])}(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:i});return J.createElement("a",Nt({},h,{href:n||v,onClick:d||o?r:function(e){r&&r(e),e.defaultPrevented||O(e)},ref:t,target:l}))}));var zt=J.forwardRef((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.caseSensitive,o=void 0!==i&&i,a=e.className,s=void 0===a?"":a,l=e.end,u=void 0!==l&&l,c=e.style,h=e.to,f=e.children,d=Qt(e,$t),p=pt(h,{relative:d.relative}),m=ct(),g=J.useContext(rt),v=J.useContext(ot).navigator,O=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,y=m.pathname,b=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(y=y.toLowerCase(),b=b?b.toLowerCase():null,O=O.toLowerCase());var k,S=y===O||!u&&y.startsWith(O)&&"/"===y.charAt(O.length),x=null!=b&&(b===O||!u&&b.startsWith(O)&&"/"===b.charAt(O.length)),w=S?r:void 0;k="function"===typeof s?s({isActive:S,isPending:x}):[s,S?"active":null,x?"pending":null].filter(Boolean).join(" ");var T="function"===typeof c?c({isActive:S,isPending:x}):c;return J.createElement(jt,Nt({},d,{"aria-current":w,className:k,ref:t,style:T,to:h}),"function"===typeof f?f({isActive:S,isPending:x}):f)}));var Ut,Yt;function Xt(e){var t=J.useRef(Rt(e)),n=J.useRef(!1),r=ct(),i=J.useMemo((function(){return function(e,t){var n=Rt(e);return t&&t.forEach((function(e,r){n.has(r)||t.getAll(r).forEach((function(e){n.append(r,e)}))})),n}(r.search,n.current?null:t.current)}),[r.search]),o=ft(),a=J.useCallback((function(e,t){var r=Rt("function"===typeof e?e(i):e);n.current=!0,o("?"+r,t)}),[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Ut||(Ut={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Yt||(Yt={}));function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ht.apply(this,arguments)}function Wt(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var qt=n(9584),Gt=["className","prefixCls","element","top","size","strokeWidth","smooth","hideProgress","children"],Vt={position:"sticky",bottom:15,right:15,visibility:"visible",opacity:0,transition:"visibility 0.3s linear 0s, opacity 0.3s linear 0s",cursor:"pointer",userSelect:"none"},Jt={display:"block",transform:"rotate(-90deg)"},Kt={transition:"stroke-dashoffset 0.3s linear 0s"},en={position:"absolute",top:0,display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12},tn=document.documentElement;function nn(e){void 0===e&&(e={});var t=e,n=t.className,r=t.prefixCls,i=void 0===r?"w-back-to-up":r,o=t.element,a=void 0===o?tn:o,s=t.top,l=void 0===s?120:s,u=t.size,c=void 0===u?35:u,h=t.strokeWidth,f=void 0===h?3:h,d=t.smooth,p=void 0===d||d,m=t.hideProgress,g=void 0!==m&&m,v=t.children,O=Wt(e,Gt),y=(0,J.useRef)(null),b=[n,i].filter(Boolean).join(" "),k=Object.assign({},Vt,{position:a===tn?"fixed":"sticky"},O.style,{width:c,height:c,opacity:0===l?1:0}),S=(0,J.useMemo)((function(){return c/2}),[c]),x=(0,J.useMemo)((function(){return c/2-f/2}),[c,f]),w=(0,J.useMemo)((function(){return Math.PI*x*2}),[x]),T=(0,J.useState)(w||0),C=(0,te.Z)(T,2),E=C[0],A=C[1],P=function(e){var t=a||tn,n=t.clientHeight,r=t.scrollHeight,i=t.scrollTop;A(w-w*(i/(r-n))||0),y.current&&l>0&&(y.current.style.opacity=i>l?"1":"0")};(0,J.useEffect)((function(){var e=a===tn?document:a;return e&&e.addEventListener("scroll",P,{passive:!0}),function(){e&&e.removeEventListener("scroll",P)}}),[a]);return(0,qt.jsxs)("div",Ht({className:b,ref:y},O,{onClick:function(e){a.scrollTo({top:0,behavior:p?"smooth":"auto"})},style:k,children:[!g&&(0,qt.jsxs)("svg",{viewBox:"0 0 "+c+" "+c,width:c,height:c,focusable:"false",style:Jt,children:[(0,qt.jsx)("circle",{fill:"rgb(0 0 0 / 75%)",stroke:"rgb(200 200 200 / 85%)",strokeWidth:f,r:x,cx:S,cy:S}),(0,qt.jsx)("circle",{fill:"none",stroke:"rgb(0 0 0 / 50%)",strokeWidth:f,r:x,cx:S,cy:S,strokeDasharray:w,strokeDashoffset:E||0,style:Kt})]}),v&&(0,qt.jsx)("div",{style:en,children:v})]}))}var rn=n(189),on=n(4649),an={data:""},sn=function(e){return"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||an},ln=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,un=/\/\*[^]*?\*\/| +/g,cn=/\n+/g,hn=function e(t,n){var r="",i="",o="",a=function(a){var s=t[a];"@"==a[0]?"i"==a[1]?r=a+" "+s+";":i+="f"==a[1]?e(s,a):a+"{"+e(s,"k"==a[1]?"":n)+"}":"object"==typeof s?i+=e(s,n?n.replace(/([^,])+/g,(function(e){return a.replace(/(^:.*)|([^,])+/g,(function(t){return/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t}))})):a):null!=s&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=e.p?e.p(a,s):a+":"+s+";")};for(var s in t)a(s);return r+(n&&o?n+"{"+o+"}":o)+i},fn={},dn=function e(t){if("object"==typeof t){var n="";for(var r in t)n+=r+e(t[r]);return n}return t},pn=function(e,t,n,r,i){var o=dn(e),a=fn[o]||(fn[o]=function(e){for(var t=0,n=11;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n}(o));if(!fn[a]){var s=o!==e?e:function(e){for(var t,n,r=[{}];t=ln.exec(e.replace(un,""));)t[4]?r.shift():t[3]?(n=t[3].replace(cn," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(cn," ").trim();return r[0]}(e);fn[a]=hn(i?(0,on.Z)({},"@keyframes "+a,s):s,n?"":"."+a)}var l=n&&fn.g?fn.g:null;return n&&(fn.g=fn[a]),function(e,t,n,r){r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)}(fn[a],t,r,l),a},mn=function(e,t,n){return e.reduce((function(e,r,i){var o=t[i];if(o&&o.call){var a=o(n),s=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=s?"."+s:a&&"object"==typeof a?a.props?"":hn(a,""):!1===a?"":a}return e+r+(null==o?"":o)}),"")};function gn(e){var t=this||{},n=e.call?e(t.p):e;return pn(n.unshift?n.raw?mn(n,[].slice.call(arguments,1),t.p):n.reduce((function(e,n){return Object.assign(e,n&&n.call?n(t.p):n)}),{}):n,sn(t.target),t.g,t.o,t.k)}gn.bind({g:1});var vn,On,yn,bn,kn,Sn,xn,wn,Tn,Cn,En,An,Pn,_n,Dn,Zn,Nn,Qn,Rn,Mn=gn.bind({k:1});function $n(e,t){var n=this||{};return function(){var r=arguments;function i(o,a){var s=Object.assign({},o),l=s.className||i.className;n.p=Object.assign({theme:On&&On()},s),n.o=/ *go\d+/.test(l),s.className=gn.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);var u=e;return e[0]&&(u=s.as||e,delete s.as),yn&&u[0]&&yn(s),vn(u,s)}return t?t(i):i}}var In=function(e,t){return function(e){return"function"==typeof e}(e)?e(t):e},Ln=function(){var e=0;return function(){return(++e).toString()}}(),Fn=function(){var e;return function(){if(void 0===e&&typeof window<"u"){var t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}}(),Bn=new Map,jn=function(e){if(!Bn.has(e)){var t=setTimeout((function(){Bn.delete(e),Xn({type:4,toastId:e})}),1e3);Bn.set(e,t)}},zn=function e(t,n){switch(n.type){case 0:return(0,rn.Z)((0,rn.Z)({},t),{},{toasts:[n.toast].concat((0,ne.Z)(t.toasts)).slice(0,20)});case 1:return n.toast.id&&function(e){var t=Bn.get(e);t&&clearTimeout(t)}(n.toast.id),(0,rn.Z)((0,rn.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===n.toast.id?(0,rn.Z)((0,rn.Z)({},e),n.toast):e}))});case 2:var r=n.toast;return t.toasts.find((function(e){return e.id===r.id}))?e(t,{type:1,toast:r}):e(t,{type:0,toast:r});case 3:var i=n.toastId;return i?jn(i):t.toasts.forEach((function(e){jn(e.id)})),(0,rn.Z)((0,rn.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===i||void 0===i?(0,rn.Z)((0,rn.Z)({},e),{},{visible:!1}):e}))});case 4:return void 0===n.toastId?(0,rn.Z)((0,rn.Z)({},t),{},{toasts:[]}):(0,rn.Z)((0,rn.Z)({},t),{},{toasts:t.toasts.filter((function(e){return e.id!==n.toastId}))});case 5:return(0,rn.Z)((0,rn.Z)({},t),{},{pausedAt:n.time});case 6:var o=n.time-(t.pausedAt||0);return(0,rn.Z)((0,rn.Z)({},t),{},{pausedAt:void 0,toasts:t.toasts.map((function(e){return(0,rn.Z)((0,rn.Z)({},e),{},{pauseDuration:e.pauseDuration+o})}))})}},Un=[],Yn={toasts:[],pausedAt:void 0},Xn=function(e){Yn=zn(Yn,e),Un.forEach((function(e){e(Yn)}))},Hn={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Wn=function(e){return function(t,n){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"blank",n=arguments.length>2?arguments[2]:void 0;return(0,rn.Z)((0,rn.Z)({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0},n),{},{id:(null==n?void 0:n.id)||Ln()})}(t,e,n);return Xn({type:2,toast:r}),r.id}},qn=function(e,t){return Wn("blank")(e,t)};qn.error=Wn("error"),qn.success=Wn("success"),qn.loading=Wn("loading"),qn.custom=Wn("custom"),qn.dismiss=function(e){Xn({type:3,toastId:e})},qn.remove=function(e){return Xn({type:4,toastId:e})},qn.promise=function(e,t,n){var r=qn.loading(t.loading,(0,rn.Z)((0,rn.Z)({},n),null==n?void 0:n.loading));return e.then((function(e){return qn.success(In(t.success,e),(0,rn.Z)((0,rn.Z)({id:r},n),null==n?void 0:n.success)),e})).catch((function(e){qn.error(In(t.error,e),(0,rn.Z)((0,rn.Z)({id:r},n),null==n?void 0:n.error))})),e};var Gn=function(e,t){Xn({type:1,toast:{id:e,height:t}})},Vn=function(){Xn({type:5,time:Date.now()})},Jn=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,J.useState)(Yn),n=(0,te.Z)(t,2),r=n[0],i=n[1];(0,J.useEffect)((function(){return Un.push(i),function(){var e=Un.indexOf(i);e>-1&&Un.splice(e,1)}}),[r]);var o=r.toasts.map((function(t){var n,r;return(0,rn.Z)((0,rn.Z)((0,rn.Z)((0,rn.Z)({},e),e[t.type]),t),{},{duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||Hn[t.type],style:(0,rn.Z)((0,rn.Z)((0,rn.Z)({},e.style),null==(r=e[t.type])?void 0:r.style),t.style)})}));return(0,rn.Z)((0,rn.Z)({},r),{},{toasts:o})}(e),n=t.toasts,r=t.pausedAt;(0,J.useEffect)((function(){if(!r){var e=Date.now(),t=n.map((function(t){if(t.duration!==1/0){var n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((function(){return qn.dismiss(t.id)}),n);t.visible&&qn.dismiss(t.id)}}));return function(){t.forEach((function(e){return e&&clearTimeout(e)}))}}}),[n,r]);var i=(0,J.useCallback)((function(){r&&Xn({type:6,time:Date.now()})}),[r]),o=(0,J.useCallback)((function(e,t){var r,i=t||{},o=i.reverseOrder,a=void 0!==o&&o,s=i.gutter,l=void 0===s?8:s,u=i.defaultPosition,c=n.filter((function(t){return(t.position||u)===(e.position||u)&&t.height})),h=c.findIndex((function(t){return t.id===e.id})),f=c.filter((function(e,t){return t<h&&e.visible})).length;return(r=c.filter((function(e){return e.visible}))).slice.apply(r,(0,ne.Z)(a?[f+1]:[0,f])).reduce((function(e,t){return e+(t.height||0)+l}),0)}),[n]);return{toasts:n,handlers:{updateHeight:Gn,startPause:Vn,endPause:i,calculateOffset:o}}},Kn=Mn(bn||(bn=V(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n opacity: 1;\n}"]))),er=Mn(kn||(kn=V(["\nfrom {\n transform: scale(0);\n opacity: 0;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),tr=Mn(Sn||(Sn=V(["\nfrom {\n transform: scale(0) rotate(90deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(90deg);\n\topacity: 1;\n}"]))),nr=$n("div")(xn||(xn=V(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ",";\n position: relative;\n transform: rotate(45deg);\n\n animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n\n &:after,\n &:before {\n content: '';\n animation: "," 0.15s ease-out forwards;\n animation-delay: 150ms;\n position: absolute;\n border-radius: 3px;\n opacity: 0;\n background: ",";\n bottom: 9px;\n left: 4px;\n height: 2px;\n width: 12px;\n }\n\n &:before {\n animation: "," 0.15s ease-out forwards;\n animation-delay: 180ms;\n transform: rotate(90deg);\n }\n"])),(function(e){return e.primary||"#ff4b4b"}),Kn,er,(function(e){return e.secondary||"#fff"}),tr),rr=Mn(wn||(wn=V(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"]))),ir=$n("div")(Tn||(Tn=V(["\n width: 12px;\n height: 12px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: ",";\n border-right-color: ",";\n animation: "," 1s linear infinite;\n"])),(function(e){return e.secondary||"#e0e0e0"}),(function(e){return e.primary||"#616161"}),rr),or=Mn(Cn||(Cn=V(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n\topacity: 1;\n}"]))),ar=Mn(En||(En=V(["\n0% {\n\theight: 0;\n\twidth: 0;\n\topacity: 0;\n}\n40% {\n height: 0;\n\twidth: 6px;\n\topacity: 1;\n}\n100% {\n opacity: 1;\n height: 10px;\n}"]))),sr=$n("div")(An||(An=V(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ",";\n position: relative;\n transform: rotate(45deg);\n\n animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n &:after {\n content: '';\n box-sizing: border-box;\n animation: "," 0.2s ease-out forwards;\n opacity: 0;\n animation-delay: 200ms;\n position: absolute;\n border-right: 2px solid;\n border-bottom: 2px solid;\n border-color: ",";\n bottom: 6px;\n left: 6px;\n height: 10px;\n width: 6px;\n }\n"])),(function(e){return e.primary||"#61d345"}),or,ar,(function(e){return e.secondary||"#fff"})),lr=$n("div")(Pn||(Pn=V(["\n position: absolute;\n"]))),ur=$n("div")(_n||(_n=V(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 20px;\n min-height: 20px;\n"]))),cr=Mn(Dn||(Dn=V(["\nfrom {\n transform: scale(0.6);\n opacity: 0.4;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),hr=$n("div")(Zn||(Zn=V(["\n position: relative;\n transform: scale(0.6);\n opacity: 0.4;\n min-width: 20px;\n animation: "," 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n"])),cr),fr=function(e){var t=e.toast,n=t.icon,r=t.type,i=t.iconTheme;return void 0!==n?"string"==typeof n?J.createElement(hr,null,n):n:"blank"===r?null:J.createElement(ur,null,J.createElement(ir,(0,rn.Z)({},i)),"loading"!==r&&J.createElement(lr,null,"error"===r?J.createElement(nr,(0,rn.Z)({},i)):J.createElement(sr,(0,rn.Z)({},i))))},dr=function(e){return"\n0% {transform: translate3d(0,".concat(-200*e,"%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n")},pr=function(e){return"\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,".concat(-150*e,"%,-1px) scale(.6); opacity:0;}\n")},mr=$n("div")(Nn||(Nn=V(["\n display: flex;\n align-items: center;\n background: #fff;\n color: #363636;\n line-height: 1.3;\n will-change: transform;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);\n max-width: 350px;\n pointer-events: auto;\n padding: 8px 10px;\n border-radius: 8px;\n"]))),gr=$n("div")(Qn||(Qn=V(["\n display: flex;\n justify-content: center;\n margin: 4px 10px;\n color: inherit;\n flex: 1 1 auto;\n white-space: pre-line;\n"]))),vr=J.memo((function(e){var t=e.toast,n=e.position,r=e.style,i=e.children,o=t.height?function(e,t){var n=e.includes("top")?1:-1,r=Fn()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[dr(n),pr(n)],i=(0,te.Z)(r,2),o=i[0],a=i[1];return{animation:t?"".concat(Mn(o)," 0.35s cubic-bezier(.21,1.02,.73,1) forwards"):"".concat(Mn(a)," 0.4s forwards cubic-bezier(.06,.71,.55,1)")}}(t.position||n||"top-center",t.visible):{opacity:0},a=J.createElement(fr,{toast:t}),s=J.createElement(gr,(0,rn.Z)({},t.ariaProps),In(t.message,t));return J.createElement(mr,{className:t.className,style:(0,rn.Z)((0,rn.Z)((0,rn.Z)({},o),r),t.style)},"function"==typeof i?i({icon:a,message:s}):J.createElement(J.Fragment,null,a,s))}));!function(e,t,n,r){hn.p=t,vn=e,On=n,yn=r}(J.createElement);var Or=function(e){var t=e.id,n=e.className,r=e.style,i=e.onHeightUpdate,o=e.children,a=J.useCallback((function(e){if(e){var n=function(){var n=e.getBoundingClientRect().height;i(t,n)};n(),new MutationObserver(n).observe(e,{subtree:!0,childList:!0,characterData:!0})}}),[t,i]);return J.createElement("div",{ref:a,className:n,style:r},o)},yr=gn(Rn||(Rn=V(["\n z-index: 9999;\n > * {\n pointer-events: auto;\n }\n"]))),br=function(e){var t=e.reverseOrder,n=e.position,r=void 0===n?"top-center":n,i=e.toastOptions,o=e.gutter,a=e.children,s=e.containerStyle,l=e.containerClassName,u=Jn(i),c=u.toasts,h=u.handlers;return J.createElement("div",{style:(0,rn.Z)({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},s),className:l,onMouseEnter:h.startPause,onMouseLeave:h.endPause},c.map((function(e){var n=e.position||r,i=function(e,t){var n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return(0,rn.Z)((0,rn.Z)({left:0,right:0,display:"flex",position:"absolute",transition:Fn()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY(".concat(t*(n?1:-1),"px)")},r),i)}(n,h.calculateOffset(e,{reverseOrder:t,gutter:o,defaultPosition:r}));return J.createElement(Or,{id:e.id,key:e.id,onHeightUpdate:h.updateHeight,className:e.visible?yr:"",style:i},"custom"===e.type?In(e.message,e):a?a(e):J.createElement(vr,{toast:e,position:n}))})))},kr=qn;var Sr=function(){return Sr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Sr.apply(this,arguments)};Object.create;function xr(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var wr=n(730),Tr=n.n(wr),Cr="-ms-",Er="-moz-",Ar="-webkit-",Pr="comm",_r="rule",Dr="decl",Zr="@import",Nr="@keyframes",Qr="@layer",Rr=Math.abs,Mr=String.fromCharCode,$r=Object.assign;function Ir(e){return e.trim()}function Lr(e,t){return(e=t.exec(e))?e[0]:e}function Fr(e,t,n){return e.replace(t,n)}function Br(e,t){return e.indexOf(t)}function jr(e,t){return 0|e.charCodeAt(t)}function zr(e,t,n){return e.slice(t,n)}function Ur(e){return e.length}function Yr(e){return e.length}function Xr(e,t){return t.push(e),e}function Hr(e,t){return e.filter((function(e){return!Lr(e,t)}))}var Wr=1,qr=1,Gr=0,Vr=0,Jr=0,Kr="";function ei(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Wr,column:qr,length:a,return:"",siblings:s}}function ti(e,t){return $r(ei("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ni(e){for(;e.root;)e=ti(e.root,{children:[e]});Xr(e,e.siblings)}function ri(){return Jr=Vr>0?jr(Kr,--Vr):0,qr--,10===Jr&&(qr=1,Wr--),Jr}function ii(){return Jr=Vr<Gr?jr(Kr,Vr++):0,qr++,10===Jr&&(qr=1,Wr++),Jr}function oi(){return jr(Kr,Vr)}function ai(){return Vr}function si(e,t){return zr(Kr,e,t)}function li(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ui(e){return Wr=qr=1,Gr=Ur(Kr=e),Vr=0,[]}function ci(e){return Kr="",e}function hi(e){return Ir(si(Vr-1,pi(91===e?e+2:40===e?e+1:e)))}function fi(e){for(;(Jr=oi())&&Jr<33;)ii();return li(e)>2||li(Jr)>3?"":" "}function di(e,t){for(;--t&&ii()&&!(Jr<48||Jr>102||Jr>57&&Jr<65||Jr>70&&Jr<97););return si(e,ai()+(t<6&&32==oi()&&32==ii()))}function pi(e){for(;ii();)switch(Jr){case e:return Vr;case 34:case 39:34!==e&&39!==e&&pi(Jr);break;case 40:41===e&&pi(e);break;case 92:ii()}return Vr}function mi(e,t){for(;ii()&&e+Jr!==57&&(e+Jr!==84||47!==oi()););return"/*"+si(t,Vr-1)+"*"+Mr(47===e?e:ii())}function gi(e){for(;!li(oi());)ii();return si(e,Vr)}function vi(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Oi(e,t,n,r){switch(e.type){case Qr:if(e.children.length)break;case Zr:case Dr:return e.return=e.return||e.value;case Pr:return"";case Nr:return e.return=e.value+"{"+vi(e.children,r)+"}";case _r:if(!Ur(e.value=e.props.join(",")))return""}return Ur(n=vi(e.children,r))?e.return=e.value+"{"+n+"}":""}function yi(e,t,n){switch(function(e,t){return 45^jr(e,0)?(((t<<2^jr(e,0))<<2^jr(e,1))<<2^jr(e,2))<<2^jr(e,3):0}(e,t)){case 5103:return Ar+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ar+e+e;case 4789:return Er+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ar+e+Er+e+Cr+e+e;case 5936:switch(jr(e,t+11)){case 114:return Ar+e+Cr+Fr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ar+e+Cr+Fr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ar+e+Cr+Fr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ar+e+Cr+e+e;case 6165:return Ar+e+Cr+"flex-"+e+e;case 5187:return Ar+e+Fr(e,/(\w+).+(:[^]+)/,Ar+"box-$1$2"+Cr+"flex-$1$2")+e;case 5443:return Ar+e+Cr+"flex-item-"+Fr(e,/flex-|-self/g,"")+(Lr(e,/flex-|baseline/)?"":Cr+"grid-row-"+Fr(e,/flex-|-self/g,""))+e;case 4675:return Ar+e+Cr+"flex-line-pack"+Fr(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ar+e+Cr+Fr(e,"shrink","negative")+e;case 5292:return Ar+e+Cr+Fr(e,"basis","preferred-size")+e;case 6060:return Ar+"box-"+Fr(e,"-grow","")+Ar+e+Cr+Fr(e,"grow","positive")+e;case 4554:return Ar+Fr(e,/([^-])(transform)/g,"$1"+Ar+"$2")+e;case 6187:return Fr(Fr(Fr(e,/(zoom-|grab)/,Ar+"$1"),/(image-set)/,Ar+"$1"),e,"")+e;case 5495:case 3959:return Fr(e,/(image-set\([^]*)/,Ar+"$1$`$1");case 4968:return Fr(Fr(e,/(.+:)(flex-)?(.*)/,Ar+"box-pack:$3"+Cr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ar+e+e;case 4200:if(!Lr(e,/flex-|baseline/))return Cr+"grid-column-align"+zr(e,t)+e;break;case 2592:case 3360:return Cr+Fr(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Lr(e.props,/grid-\w+-end/)}))?~Br(e+(n=n[t].value),"span")?e:Cr+Fr(e,"-start","")+e+Cr+"grid-row-span:"+(~Br(n,"span")?Lr(n,/\d+/):+Lr(n,/\d+/)-+Lr(e,/\d+/))+";":Cr+Fr(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Lr(e.props,/grid-\w+-start/)}))?e:Cr+Fr(Fr(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Fr(e,/(.+)-inline(.+)/,Ar+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ur(e)-1-t>6)switch(jr(e,t+1)){case 109:if(45!==jr(e,t+4))break;case 102:return Fr(e,/(.+:)(.+)-([^]+)/,"$1"+Ar+"$2-$3$1"+Er+(108==jr(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Br(e,"stretch")?yi(Fr(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Fr(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,i,o,a,s){return Cr+n+":"+r+s+(i?Cr+n+"-span:"+(o?a:+a-+r)+s:"")+e}));case 4949:if(121===jr(e,t+6))return Fr(e,":",":"+Ar)+e;break;case 6444:switch(jr(e,45===jr(e,14)?18:11)){case 120:return Fr(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ar+(45===jr(e,14)?"inline-":"")+"box$3$1"+Ar+"$2$3$1"+Cr+"$2box$3")+e;case 100:return Fr(e,":",":"+Cr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Fr(e,"scroll-","scroll-snap-")+e}return e}function bi(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Dr:return void(e.return=yi(e.value,e.length,n));case Nr:return vi([ti(e,{value:Fr(e.value,"@","@"+Ar)})],r);case _r:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Lr(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ni(ti(e,{props:[Fr(t,/:(read-\w+)/,":"+Er+"$1")]})),ni(ti(e,{props:[t]})),$r(e,{props:Hr(n,r)});break;case"::placeholder":ni(ti(e,{props:[Fr(t,/:(plac\w+)/,":"+Ar+"input-$1")]})),ni(ti(e,{props:[Fr(t,/:(plac\w+)/,":"+Er+"$1")]})),ni(ti(e,{props:[Fr(t,/:(plac\w+)/,Cr+"input-$1")]})),ni(ti(e,{props:[t]})),$r(e,{props:Hr(n,r)})}return""}))}}function ki(e){return ci(Si("",null,null,null,[""],e=ui(e),0,[0],e))}function Si(e,t,n,r,i,o,a,s,l){for(var u=0,c=0,h=a,f=0,d=0,p=0,m=1,g=1,v=1,O=0,y="",b=i,k=o,S=r,x=y;g;)switch(p=O,O=ii()){case 40:if(108!=p&&58==jr(x,h-1)){-1!=Br(x+=Fr(hi(O),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=hi(O);break;case 9:case 10:case 13:case 32:x+=fi(p);break;case 92:x+=di(ai()-1,7);continue;case 47:switch(oi()){case 42:case 47:Xr(wi(mi(ii(),ai()),t,n,l),l);break;default:x+="/"}break;case 123*m:s[u++]=Ur(x)*v;case 125*m:case 59:case 0:switch(O){case 0:case 125:g=0;case 59+c:-1==v&&(x=Fr(x,/\f/g,"")),d>0&&Ur(x)-h&&Xr(d>32?Ti(x+";",r,n,h-1,l):Ti(Fr(x," ","")+";",r,n,h-2,l),l);break;case 59:x+=";";default:if(Xr(S=xi(x,t,n,u,c,i,s,y,b=[],k=[],h,o),o),123===O)if(0===c)Si(x,t,S,S,b,o,h,s,k);else switch(99===f&&110===jr(x,3)?100:f){case 100:case 108:case 109:case 115:Si(e,S,S,r&&Xr(xi(e,S,S,0,0,i,s,y,i,b=[],h,k),k),i,k,h,s,r?b:k);break;default:Si(x,S,S,S,[""],k,0,s,k)}}u=c=d=0,m=v=1,y=x="",h=a;break;case 58:h=1+Ur(x),d=p;default:if(m<1)if(123==O)--m;else if(125==O&&0==m++&&125==ri())continue;switch(x+=Mr(O),O*m){case 38:v=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(Ur(x)-1)*v,v=1;break;case 64:45===oi()&&(x+=hi(ii())),f=oi(),c=h=Ur(y=x+=gi(ai())),O++;break;case 45:45===p&&2==Ur(x)&&(m=0)}}return o}function xi(e,t,n,r,i,o,a,s,l,u,c,h){for(var f=i-1,d=0===i?o:[""],p=Yr(d),m=0,g=0,v=0;m<r;++m)for(var O=0,y=zr(e,f+1,f=Rr(g=a[m])),b=e;O<p;++O)(b=Ir(g>0?d[O]+" "+y:Fr(y,/&\f/g,d[O])))&&(l[v++]=b);return ei(e,t,n,0===i?_r:s,l,u,c,h)}function wi(e,t,n,r){return ei(e,t,n,Pr,Mr(Jr),zr(e,2,-2),0,r)}function Ti(e,t,n,r,i){return ei(e,t,n,Dr,zr(e,0,r),zr(e,r+1,-1),r,i)}var Ci={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ei=n(3617),Ai="undefined"!=typeof Ei&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",Pi="undefined"!=typeof window&&"HTMLElement"in window,_i=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof Ei&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof Ei&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)),Di={},Zi=(new Set,Object.freeze([])),Ni=Object.freeze({});function Qi(e,t,n){return void 0===n&&(n=Ni),e.theme!==n.theme&&e.theme||t||n.theme}var Ri=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Mi=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,$i=/(^-|-$)/g;function Ii(e){return e.replace(Mi,"-").replace($i,"")}var Li=/(a)(d)/gi,Fi=function(e){return String.fromCharCode(e+(e>25?39:97))};function Bi(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Fi(t%52)+n;return(Fi(t%52)+n).replace(Li,"$1-$2")}var ji,zi=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ui=function(e){return zi(5381,e)};function Yi(e){return Bi(Ui(e)>>>0)}function Xi(e){return"string"==typeof e&&!0}var Hi="function"==typeof Symbol&&Symbol.for,Wi=Hi?Symbol.for("react.memo"):60115,qi=Hi?Symbol.for("react.forward_ref"):60112,Gi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Vi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ji={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ki=((ji={})[qi]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ji[Wi]=Ji,ji);function eo(e){return("type"in(t=e)&&t.type.$$typeof)===Wi?Ji:"$$typeof"in e?Ki[e.$$typeof]:Gi;var t}var to=Object.defineProperty,no=Object.getOwnPropertyNames,ro=Object.getOwnPropertySymbols,io=Object.getOwnPropertyDescriptor,oo=Object.getPrototypeOf,ao=Object.prototype;function so(e,t,n){if("string"!=typeof t){if(ao){var r=oo(t);r&&r!==ao&&so(e,r,n)}var i=no(t);ro&&(i=i.concat(ro(t)));for(var o=eo(e),a=eo(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Vi||n&&n[l]||a&&l in a||o&&l in o)){var u=io(t,l);try{to(e,l,u)}catch(e){}}}}return e}function lo(e){return"function"==typeof e}function uo(e){return"object"==typeof e&&"styledComponentId"in e}function co(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ho(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function fo(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function po(e,t,n){if(void 0===n&&(n=!1),!n&&!fo(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=po(e[r],t[r]);else if(fo(t))for(var r in t)e[r]=po(e[r],t[r]);return e}function mo(e,t){Object.defineProperty(e,"toString",{value:t})}function go(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var vo=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw go(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat("/*!sc*/\n");return t},e}(),Oo=new Map,yo=new Map,bo=1,ko=function(e){if(Oo.has(e))return Oo.get(e);for(;yo.has(bo);)bo++;var t=bo++;return Oo.set(e,t),yo.set(t,e),t},So=function(e,t){Oo.set(e,t),yo.set(t,e)},xo="style[".concat(Ai,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),wo=new RegExp("^".concat(Ai,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),To=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},Co=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(wo);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(So(c,u),To(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(s)}}};function Eo(){return n.nc}var Ao=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Ai,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Ai,"active"),r.setAttribute("data-styled-version","6.0.7");var a=Eo();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},Po=function(){function e(e){this.element=Ao(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw go(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),_o=function(){function e(e){this.element=Ao(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Do=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Zo=Pi,No={isServer:!Pi,useCSSOMInjection:!_i},Qo=function(){function e(e,t,n){void 0===e&&(e=Ni),void 0===t&&(t={});var r=this;this.options=Sr(Sr({},No),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Pi&&Zo&&(Zo=!1,function(e){for(var t=document.querySelectorAll(xo),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(Ai)&&(Co(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this)),mo(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return yo.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||0===a.length)return"continue";var s="".concat(Ai,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o<n;o++)i(o);return r}(r)}))}return e.registerId=function(e){return ko(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Sr(Sr({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Do(n):t?new Po(n):new _o(n)}(this.options),new vo(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ko(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ko(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ko(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ro=/&/g,Mo=/^\s*\/\/.*$/gm;function $o(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=$o(e.children,t)),e}))}function Io(e){var t,n,r,i=void 0===e?Ni:e,o=i.options,a=void 0===o?Ni:o,s=i.plugins,l=void 0===s?Zi:s,u=function(e,r,i){return i===n||i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},c=l.slice();c.push((function(e){e.type===_r&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ro,n).replace(r,u))})),a.prefix&&c.push(bi),c.push(Oi);var h=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Mo,""),u=ki(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(u=$o(u,a.namespace));var h,f=[];return vi(u,function(e){var t=Yr(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}(c.concat((h=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&h(e)})))),f};return h.hash=l.length?l.reduce((function(e,t){return t.name||go(15),zi(e,t.name)}),5381).toString():"",h}var Lo=new Qo,Fo=Io(),Bo=J.createContext({shouldForwardProp:void 0,styleSheet:Lo,stylis:Fo}),jo=(Bo.Consumer,J.createContext(void 0));function zo(){return(0,J.useContext)(Bo)}function Uo(e){var t=(0,J.useState)(e.stylisPlugins),n=t[0],r=t[1],i=zo().styleSheet,o=(0,J.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),a=(0,J.useMemo)((function(){return Io({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);return(0,J.useEffect)((function(){Tr()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),J.createElement(Bo.Provider,{value:{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:a}},J.createElement(jo.Provider,{value:a},e.children))}var Yo=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Fo);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,mo(this,(function(){throw go(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Fo),this.name+e.hash},e}(),Xo=function(e){return e>="A"&&e<="Z"};function Ho(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Xo(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Wo=function(e){return null==e||!1===e||""===e},qo=function e(t){var n,r,i=[];for(var o in t){var a=t[o];t.hasOwnProperty(o)&&!Wo(a)&&(Array.isArray(a)&&a.isCss||lo(a)?i.push("".concat(Ho(o),":"),a,";"):fo(a)?i.push.apply(i,xr(xr(["".concat(o," {")],e(a),!1),["}"],!1)):i.push("".concat(Ho(o),": ").concat((n=o,null==(r=a)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in Ci||n.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return i};function Go(e,t,n,r){return Wo(e)?[]:uo(e)?[".".concat(e.styledComponentId)]:lo(e)?!lo(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Go(e(t),t,n,r):e instanceof Yo?n?(e.inject(n,r),[e.getName(r)]):[e]:fo(e)?qo(e):Array.isArray(e)?Array.prototype.concat.apply(Zi,e.map((function(e){return Go(e,t,n,r)}))):[e.toString()];var i}function Vo(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(lo(n)&&!uo(n))return!1}return!0}var Jo=Ui("6.0.7"),Ko=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Vo(e),this.componentId=t,this.baseHash=zi(Jo,t),this.baseStyle=n,Qo.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=co(r,this.staticRulesId);else{var i=ho(Go(this.rules,e,t,n)),o=Bi(zi(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=co(r,o),this.staticRulesId=o}else{for(var s=zi(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var h=ho(Go(c,e,t,n));s=zi(s,h),l+=h}}if(l){var f=Bi(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=co(r,f)}}return r},e}(),ea=J.createContext(void 0);ea.Consumer;var ta={};new Set;function na(e,t,n){var r=uo(e),i=e,o=!Xi(e),a=t.attrs,s=void 0===a?Zi:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":Ii(e);ta[n]=(ta[n]||0)+1;var r="".concat(n,"-").concat(Yi("6.0.7"+n+ta[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):l,c=t.displayName,h=(void 0===c&&function(e){Xi(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),t.displayName&&t.componentId?"".concat(Ii(t.displayName),"-").concat(t.componentId):t.componentId||u),f=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,d=t.shouldForwardProp;if(r&&i.shouldForwardProp){var p=i.shouldForwardProp;if(t.shouldForwardProp){var m=t.shouldForwardProp;d=function(e,t){return p(e,t)&&m(e,t)}}else d=p}var g=new Ko(n,h,r?i.componentStyle:void 0);var v=J.forwardRef((function(e,t){return function(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=J.useContext(ea),c=zo(),h=e.shouldForwardProp||c.shouldForwardProp,f=function(e,t,n){for(var r,i=Sr(Sr({},t),{className:void 0,theme:n}),o=0;o<e.length;o+=1){var a=lo(r=e[o])?r(i):r;for(var s in a)i[s]="className"===s?co(i[s],a[s]):"style"===s?Sr(Sr({},i[s]),a[s]):a[s]}return t.className&&(i.className=co(i.className,t.className)),i}(r,t,Qi(t,u,o)||Ni),d=f.as||l,p={};for(var m in f)void 0===f[m]||"$"===m[0]||"as"===m||"theme"===m||("forwardedAs"===m?p.as=f.forwardedAs:h&&!h(m,d)||(p[m]=f[m]));var g=function(e,t){var n=zo();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,f),v=co(a,s);return g&&(v+=" "+g),f.className&&(v+=" "+f.className),p[Xi(d)&&!Ri.has(d)?"class":"className"]=v,p.ref=n,(0,J.createElement)(d,p)}(v,e,t)}));return v.attrs=f,v.componentStyle=g,v.shouldForwardProp=d,v.foldedComponentIds=r?co(i.foldedComponentIds,i.styledComponentId):"",v.styledComponentId=h,v.target=r?i.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)po(e,i[r],!0);return e}({},i.defaultProps,e):e}}),mo(v,(function(){return".".concat(v.styledComponentId)})),o&&so(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}function ra(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var ia=function(e){return Object.assign(e,{isCss:!0})};function oa(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(lo(e)||fo(e))return ia(Go(ra(Zi,xr([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Go(r):ia(Go(ra(r,t)))}function aa(e,t,n){if(void 0===n&&(n=Ni),!t)throw go(1,t);var r=function(r){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return e(t,n,oa.apply(void 0,xr([r],i,!1)))};return r.attrs=function(r){return aa(e,t,Sr(Sr({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return aa(e,t,Sr(Sr({},n),r))},r}var sa=function(e){return aa(na,e)},la=sa;Ri.forEach((function(e){la[e]=sa(e)}));var ua=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Vo(e),Qo.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(ho(Go(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&Qo.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Eo(),r=ho([n&&'nonce="'.concat(n,'"'),"".concat(Ai,'="true"'),"".concat("data-styled-version",'="').concat("6.0.7",'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw go(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw go(2);var n=((t={})[Ai]="",t["data-styled-version"]="6.0.7",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Eo();return r&&(n.nonce=r),[J.createElement("style",Sr({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Qo({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw go(2);return J.createElement(Uo,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw go(3)}})(),"__sc-".concat(Ai,"__");var ca="undefined"===typeof window||"Deno"in window;function ha(){}function fa(e){return"number"===typeof e&&e>=0&&e!==1/0}function da(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pa(e,t,n){return Ea(e)?"function"===typeof t?(0,rn.Z)((0,rn.Z)({},n),{},{queryKey:e,queryFn:t}):(0,rn.Z)((0,rn.Z)({},t),{},{queryKey:e}):e}function ma(e,t,n){return Ea(e)?[(0,rn.Z)((0,rn.Z)({},t),{},{queryKey:e}),n]:[e||{},t]}function ga(e,t){var n=e.type,r=void 0===n?"all":n,i=e.exact,o=e.fetchStatus,a=e.predicate,s=e.queryKey,l=e.stale;if(Ea(s))if(i){if(t.queryHash!==Oa(s,t.options))return!1}else if(!ba(t.queryKey,s))return!1;if("all"!==r){var u=t.isActive();if("active"===r&&!u)return!1;if("inactive"===r&&u)return!1}return("boolean"!==typeof l||t.isStale()===l)&&(("undefined"===typeof o||o===t.state.fetchStatus)&&!(a&&!a(t)))}function va(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(Ea(o)){if(!t.options.mutationKey)return!1;if(n){if(ya(t.options.mutationKey)!==ya(o))return!1}else if(!ba(t.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(i&&!i(t))}function Oa(e,t){return((null==t?void 0:t.queryKeyHashFn)||ya)(e)}function ya(e){return JSON.stringify(e,(function(e,t){return Ta(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function ba(e,t){return ka(e,t)}function ka(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!ka(e[n],t[n])})))}function Sa(e,t){if(e===t)return e;var n=wa(e)&&wa(t);if(n||Ta(e)&&Ta(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},s=0,l=0;l<o;l++){var u=n?l:i[l];a[u]=Sa(e[u],t[u]),a[u]===e[u]&&s++}return r===o&&s===r?e:a}return t}function xa(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function wa(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ta(e){if(!Ca(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!Ca(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Ca(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ea(e){return Array.isArray(e)}function Aa(e){return new Promise((function(t){setTimeout(t,e)}))}function Pa(e){Aa(0).then(e)}function _a(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Sa(e,t):t}var Da=n(3243),Za=console;var Na=function(){var e=[],t=0,n=function(e){e()},r=function(e){e()},i=function(r){t?e.push(r):Pa((function(){n(r)}))},o=function(){var t=e;e=[],t.length&&Pa((function(){r((function(){t.forEach((function(e){n(e)}))}))}))};return{batch:function(e){var n;t++;try{n=e()}finally{--t||o()}return n},batchCalls:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];i((function(){e.apply(void 0,n)}))}},schedule:i,setNotifyFunction:function(e){n=e},setBatchNotifyFunction:function(e){r=e}}}(),Qa=function(){function e(){(0,re.Z)(this,e),this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}return(0,ie.Z)(e,[{key:"subscribe",value:function(e){var t=this,n={listener:e};return this.listeners.add(n),this.onSubscribe(),function(){t.listeners.delete(n),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.size>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}(),Ra=new(function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(){var e;return(0,re.Z)(this,n),(e=t.call(this)).setup=function(e){if(!ca&&window.addEventListener){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}},e}return(0,ie.Z)(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))}},{key:"setFocused",value:function(e){this.focused!==e&&(this.focused=e,this.onFocus())}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){(0,e.listener)()}))}},{key:"isFocused",value:function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(Qa)),Ma=["online","offline"],$a=new(function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(){var e;return(0,re.Z)(this,n),(e=t.call(this)).setup=function(e){if(!ca&&window.addEventListener){var t=function(){return e()};return Ma.forEach((function(e){window.addEventListener(e,t,!1)})),function(){Ma.forEach((function(e){window.removeEventListener(e,t)}))}}},e}return(0,ie.Z)(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))}},{key:"setOnline",value:function(e){this.online!==e&&(this.online=e,this.onOnline())}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){(0,e.listener)()}))}},{key:"isOnline",value:function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine}}]),n}(Qa));function Ia(e){return Math.min(1e3*Math.pow(2,e),3e4)}function La(e){return"online"!==(null!=e?e:"online")||$a.isOnline()}var Fa=(0,ie.Z)((function e(t){(0,re.Z)(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function Ba(e){return e instanceof Fa}function ja(e){var t,n,r,i=!1,o=0,a=!1,s=new Promise((function(e,t){n=e,r=t})),l=function(){return!Ra.isFocused()||"always"!==e.networkMode&&!$a.isOnline()},u=function(r){a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},c=function(n){a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},h=function(){return new Promise((function(n){t=function(e){var t=a||!l();return t&&n(e),t},null==e.onPause||e.onPause()})).then((function(){t=void 0,a||null==e.onContinue||e.onContinue()}))},f=function t(){if(!a){var n;try{n=e.fn()}catch(r){n=Promise.reject(r)}Promise.resolve(n).then(u).catch((function(n){var r,s;if(!a){var u=null!=(r=e.retry)?r:3,f=null!=(s=e.retryDelay)?s:Ia,d="function"===typeof f?f(o,n):f,p=!0===u||"number"===typeof u&&o<u||"function"===typeof u&&u(o,n);!i&&p?(o++,null==e.onFail||e.onFail(o,n),Aa(d).then((function(){if(l())return h()})).then((function(){i?c(n):t()}))):c(n)}}))}};return La(e.networkMode)?f():h().then(f),{promise:s,cancel:function(t){a||(c(new Fa(t)),null==e.abort||e.abort())},continue:function(){return(null==t?void 0:t())?s:Promise.resolve()},cancelRetry:function(){i=!0},continueRetry:function(){i=!1}}}var za=function(){function e(){(0,re.Z)(this,e)}return(0,ie.Z)(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),fa(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))}},{key:"updateCacheTime",value:function(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:ca?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),Ua=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this)).abortSignalConsumed=!1,r.defaultOptions=e.defaultOptions,r.setOptions(e.options),r.observers=[],r.cache=e.cache,r.logger=e.logger||Za,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.scheduleGc(),r}return(0,ie.Z)(n,[{key:"meta",get:function(){return this.options.meta}},{key:"setOptions",value:function(e){this.options=(0,rn.Z)((0,rn.Z)({},this.defaultOptions),e),this.updateCacheTime(this.options.cacheTime)}},{key:"optionalRemove",value:function(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}},{key:"setData",value:function(e,t){var n=_a(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}},{key:"setState",value:function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}},{key:"cancel",value:function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(ha).catch(ha):Promise.resolve()}},{key:"destroy",value:function(){(0,Da.Z)((0,se.Z)(n.prototype),"destroy",this).call(this),this.cancel({silent:!0})}},{key:"reset",value:function(){this.destroy(),this.setState(this.initialState)}},{key:"isActive",value:function(){return this.observers.some((function(e){return!1!==e.options.enabled}))}},{key:"isDisabled",value:function(){return this.getObserversCount()>0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!da(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers.includes(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,i=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var s=function(){if("function"===typeof AbortController)return new AbortController}(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(s)return i.abortSignalConsumed=!0,s.signal}})};u(l);var c,h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(l)):Promise.reject("Missing queryFn for queryKey '"+i.options.queryHash+"'")}};(u(h),null==(n=this.options.behavior)||n.onFetch(h),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=h.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=h.fetchOptions)?void 0:c.meta});var f=function(e){var t,n,r,o;(Ba(e)&&e.silent||i.dispatch({type:"error",error:e}),Ba(e))||(null==(t=(n=i.cache.config).onError)||t.call(n,e,i),null==(r=(o=i.cache.config).onSettled)||r.call(o,i.state.data,e,i));i.isFetchingOptimistic||i.scheduleGc(),i.isFetchingOptimistic=!1};return this.retryer=ja({fn:h.fetchFn,abort:null==s?void 0:s.abort.bind(s),onSuccess:function(e){var t,n,r,o;"undefined"!==typeof e?(i.setData(e),null==(t=(n=i.cache.config).onSuccess)||t.call(n,e,i),null==(r=(o=i.cache.config).onSettled)||r.call(o,e,i.state.error,i),i.isFetchingOptimistic||i.scheduleGc(),i.isFetchingOptimistic=!1):f(new Error(i.queryHash+" data is undefined"))},onError:f,onFail:function(e,t){i.dispatch({type:"failed",failureCount:e,error:t})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,i;switch(e.type){case"failed":return(0,rn.Z)((0,rn.Z)({},n),{},{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return(0,rn.Z)((0,rn.Z)({},n),{},{fetchStatus:"paused"});case"continue":return(0,rn.Z)((0,rn.Z)({},n),{},{fetchStatus:"fetching"});case"fetch":return(0,rn.Z)((0,rn.Z)({},n),{},{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:La(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,rn.Z)((0,rn.Z)({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(i=e.dataUpdatedAt)?i:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":var o=e.error;return Ba(o)&&o.revert&&t.revertState?(0,rn.Z)({},t.revertState):(0,rn.Z)((0,rn.Z)({},n),{},{error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"});case"invalidate":return(0,rn.Z)((0,rn.Z)({},n),{},{isInvalidated:!0});case"setState":return(0,rn.Z)((0,rn.Z)({},n),e.state)}}(this.state),Na.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(za);var Ya=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return(0,ie.Z)(n,[{key:"build",value:function(e,t,n){var r,i=t.queryKey,o=null!=(r=t.queryHash)?r:Oa(i,t),a=this.get(o);return a||(a=new Ua({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;Na.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=ma(e,t),r=(0,te.Z)(n,1)[0];return"undefined"===typeof r.exact&&(r.exact=!0),this.queries.find((function(e){return ga(r,e)}))}},{key:"findAll",value:function(e,t){var n=ma(e,t),r=(0,te.Z)(n,1)[0];return Object.keys(r).length>0?this.queries.filter((function(e){return ga(r,e)})):this.queries}},{key:"notify",value:function(e){var t=this;Na.batch((function(){t.listeners.forEach((function(t){(0,t.listener)(e)}))}))}},{key:"onFocus",value:function(){var e=this;Na.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;Na.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(Qa),Xa=n(3940);function Ha(){Ha=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),s=new _(r||[]);return i(a,"_invoke",{value:C(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",m="completed",g={};function v(){}function O(){}function y(){}var b={};u(b,a,(function(){return this}));var k=Object.getPrototypeOf,S=k&&k(k(D([])));S&&S!==n&&r.call(S,a)&&(b=S);var x=y.prototype=v.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,a,s){var l=h(e[i],e,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==(0,Xa.Z)(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(c).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=f;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=E(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var u=h(t,n,r);if("normal"===u.type){if(i=r.done?m:d,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=m,r.method="throw",r.arg=u.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError((0,Xa.Z)(t)+" is not iterable")}return O.prototype=y,i(x,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:O,configurable:!0}),O.displayName=u(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},w(T.prototype),u(T.prototype,s,(function(){return this})),t.AsyncIterator=T,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new T(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(x),u(x,l,"Generator"),u(x,a,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function Wa(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}var qa=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this)).defaultOptions=e.defaultOptions,r.mutationId=e.mutationId,r.mutationCache=e.mutationCache,r.logger=e.logger||Za,r.observers=[],r.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},r.setOptions(e.options),r.scheduleGc(),r}return(0,ie.Z)(n,[{key:"setOptions",value:function(e){this.options=(0,rn.Z)((0,rn.Z)({},this.defaultOptions),e),this.updateCacheTime(this.options.cacheTime)}},{key:"meta",get:function(){return this.options.meta}},{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}},{key:"execute",value:function(){var e,t=(e=Ha().mark((function e(){var t,n,r,i,o,a,s,l,u,c,h,f,d,p,m,g,v,O,y,b,k,S,x,w,T=this;return Ha().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return T.retryer=ja({fn:function(){return T.options.mutationFn?T.options.mutationFn(T.state.variables):Promise.reject("No mutationFn found")},onFail:function(e,t){T.dispatch({type:"failed",failureCount:e,error:t})},onPause:function(){T.dispatch({type:"pause"})},onContinue:function(){T.dispatch({type:"continue"})},retry:null!=(e=T.options.retry)?e:0,retryDelay:T.options.retryDelay,networkMode:T.options.networkMode}),T.retryer.promise},n="loading"===this.state.status,e.prev=2,n){e.next=11;break}return this.dispatch({type:"loading",variables:this.options.variables}),e.next=7,null==(h=(f=this.mutationCache.config).onMutate)?void 0:h.call(f,this.state.variables,this);case 7:return e.next=9,null==(d=(p=this.options).onMutate)?void 0:d.call(p,this.state.variables);case 9:(m=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:m,variables:this.state.variables});case 11:return e.next=13,t();case 13:return g=e.sent,e.next=16,null==(r=(i=this.mutationCache.config).onSuccess)?void 0:r.call(i,g,this.state.variables,this.state.context,this);case 16:return e.next=18,null==(o=(a=this.options).onSuccess)?void 0:o.call(a,g,this.state.variables,this.state.context);case 18:return e.next=20,null==(s=(l=this.mutationCache.config).onSettled)?void 0:s.call(l,g,null,this.state.variables,this.state.context,this);case 20:return e.next=22,null==(u=(c=this.options).onSettled)?void 0:u.call(c,g,null,this.state.variables,this.state.context);case 22:return this.dispatch({type:"success",data:g}),e.abrupt("return",g);case 26:return e.prev=26,e.t0=e.catch(2),e.prev=28,e.next=31,null==(v=(O=this.mutationCache.config).onError)?void 0:v.call(O,e.t0,this.state.variables,this.state.context,this);case 31:return e.next=34,null==(y=(b=this.options).onError)?void 0:y.call(b,e.t0,this.state.variables,this.state.context);case 34:return e.next=36,null==(k=(S=this.mutationCache.config).onSettled)?void 0:k.call(S,void 0,e.t0,this.state.variables,this.state.context,this);case 36:return e.next=38,null==(x=(w=this.options).onSettled)?void 0:x.call(w,void 0,e.t0,this.state.variables,this.state.context);case 38:throw e.t0;case 39:return e.prev=39,this.dispatch({type:"error",error:e.t0}),e.finish(39);case 42:case"end":return e.stop()}}),e,this,[[2,26],[28,,39,42]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Wa(o,r,i,a,s,"next",e)}function s(e){Wa(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}()},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return(0,rn.Z)((0,rn.Z)({},n),{},{failureCount:e.failureCount,failureReason:e.error});case"pause":return(0,rn.Z)((0,rn.Z)({},n),{},{isPaused:!0});case"continue":return(0,rn.Z)((0,rn.Z)({},n),{},{isPaused:!1});case"loading":return(0,rn.Z)((0,rn.Z)({},n),{},{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!La(t.options.networkMode),status:"loading",variables:e.variables});case"success":return(0,rn.Z)((0,rn.Z)({},n),{},{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return(0,rn.Z)((0,rn.Z)({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"});case"setState":return(0,rn.Z)((0,rn.Z)({},n),e.state)}}(this.state),Na.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),n}(za);var Ga=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return(0,ie.Z)(n,[{key:"build",value:function(e,t,n){var r=new qa({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;Na.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return va(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return va(e,t)}))}},{key:"notify",value:function(e){var t=this;Na.batch((function(){t.listeners.forEach((function(t){(0,t.listener)(e)}))}))}},{key:"resumePausedMutations",value:function(){var e,t=this;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((function(){var e=t.mutations.filter((function(e){return e.state.isPaused}));return Na.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(ha)}))}),Promise.resolve())}))})).then((function(){t.resuming=void 0})),this.resuming}}]),n}(Qa);function Va(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,i,o,a,s,l=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,u=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,c=null==u?void 0:u.pageParam,h="forward"===(null==u?void 0:u.direction),f="backward"===(null==u?void 0:u.direction),d=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(a=e.state.data)?void 0:a.pageParams)||[],m=p,g=!1,v=e.options.queryFn||function(){return Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")},O=function(e,t,n,r){return m=r?[t].concat((0,ne.Z)(m)):[].concat((0,ne.Z)(m),[t]),r?[n].concat((0,ne.Z)(e)):[].concat((0,ne.Z)(e),[n])},y=function(t,n,r,i){if(g)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var o,a={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};o=a,Object.defineProperty(o,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?g=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){g=!0})),e.signal}});var s=v(a),l=Promise.resolve(s).then((function(e){return O(t,r,e,i)}));return l};if(d.length)if(h){var b="undefined"!==typeof c,k=b?c:Ja(e.options,d);s=y(d,b,k)}else if(f){var S="undefined"!==typeof c,x=S?c:Ka(e.options,d);s=y(d,S,x,!0)}else{m=[];var w="undefined"===typeof e.options.getNextPageParam,T=!l||!d[0]||l(d[0],0,d);s=T?y([],w,p[0]):Promise.resolve(O([],p[0],d[0]));for(var C=function(t){s=s.then((function(n){if(!l||!d[t]||l(d[t],t,d)){var r=w?p[t]:Ja(e.options,n);return y(n,w,r)}return Promise.resolve(O(n,p[t],d[t]))}))},E=1;E<d.length;E++)C(E)}else s=y([]);return s.then((function(e){return{pages:e,pageParams:m}}))}}}}function Ja(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function Ka(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var es=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,re.Z)(this,e),this.queryCache=t.queryCache||new Ya,this.mutationCache=t.mutationCache||new Ga,this.logger=t.logger||Za,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}return(0,ie.Z)(e,[{key:"mount",value:function(){var e=this;this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Ra.subscribe((function(){Ra.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=$a.subscribe((function(){$a.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())})))}},{key:"unmount",value:function(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}},{key:"isFetching",value:function(e,t){var n=ma(e,t),r=(0,te.Z)(n,1)[0];return r.fetchStatus="fetching",this.queryCache.findAll(r).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll((0,rn.Z)((0,rn.Z)({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"ensureQueryData",value:function(e,t,n){var r=pa(e,t,n),i=this.getQueryData(r.queryKey);return i?Promise.resolve(i):this.fetchQuery(r)}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),i=function(e,t){return"function"===typeof e?e(t):e}(t,null==r?void 0:r.state.data);if("undefined"!==typeof i){var o=pa(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(i,(0,rn.Z)((0,rn.Z)({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return Na.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=ma(e,t),r=(0,te.Z)(n,1)[0],i=this.queryCache;Na.batch((function(){i.findAll(r).forEach((function(e){i.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,i=ma(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1],l=this.queryCache,u=(0,rn.Z)({type:"active"},a);return Na.batch((function(){return l.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(u,s)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,i=ma(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1],l=void 0===s?{}:s;"undefined"===typeof l.revert&&(l.revert=!0);var u=Na.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(u).then(ha).catch(ha)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,i=ma(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1];return Na.batch((function(){var e,t;if(r.queryCache.findAll(a).forEach((function(e){e.invalidate()})),"none"===a.refetchType)return Promise.resolve();var n=(0,rn.Z)((0,rn.Z)({},a),{},{type:null!=(e=null!=(t=a.refetchType)?t:a.type)?e:"active"});return r.refetchQueries(n,s)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,i=ma(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1],l=Na.batch((function(){return r.queryCache.findAll(a).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,(0,rn.Z)((0,rn.Z)({},s),{},{cancelRefetch:null==(t=null==s?void 0:s.cancelRefetch)||t,meta:{refetchPage:a.refetchPage}}))}))})),u=Promise.all(l).then(ha);return null!=s&&s.throwOnError||(u=u.catch(ha)),u}},{key:"fetchQuery",value:function(e,t,n){var r=pa(e,t,n),i=this.defaultQueryOptions(r);"undefined"===typeof i.retry&&(i.retry=!1);var o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(ha).catch(ha)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=pa(e,t,n);return r.behavior=Va(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(ha).catch(ha)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return ya(e)===ya(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return ba(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return ya(e)===ya(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return ba(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=(0,rn.Z)((0,rn.Z)((0,rn.Z)((0,rn.Z)({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=Oa(t.queryKey,t)),"undefined"===typeof t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),"undefined"===typeof t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:(0,rn.Z)((0,rn.Z)((0,rn.Z)((0,rn.Z)({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),ts=J.createContext(void 0),ns=J.createContext(!1);function rs(e,t){return e||(t&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=ts),window.ReactQueryClientContext):ts)}var is,os=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context,t=J.useContext(rs(e,J.useContext(ns)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},as=function(e){var t=e.client,n=e.children,r=e.context,i=e.contextSharing,o=void 0!==i&&i;J.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=rs(r,o);return J.createElement(ns.Provider,{value:!r&&o},J.createElement(a.Provider,{value:t},n))},ss=(n(9446),["title","titleId"]);function ls(){return ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ls.apply(this,arguments)}function us(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function cs(e,t){var n=e.title,r=e.titleId,i=us(e,ss);return J.createElement("svg",ls({xmlns:"http://www.w3.org/2000/svg",fill:"#1aad1a",viewBox:"0 0 1024 1024",height:"1em",width:"1em",ref:t,"aria-labelledby":r},i),n?J.createElement("title",{id:r},n):null,is||(is=J.createElement("path",{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 0 1 9.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 0 0 6.4-2.6 9 9 0 0 0 2.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 0 1-36 35.9z"})))}var hs,fs=J.forwardRef(cs),ds=(n.p,["title","titleId"]);function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ps.apply(this,arguments)}function ms(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function gs(e,t){var n=e.title,r=e.titleId,i=ms(e,ds);return J.createElement("svg",ps({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024",height:"1em",width:"1em",ref:t,"aria-labelledby":r},i),n?J.createElement("title",{id:r},n):null,hs||(hs=J.createElement("path",{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"})))}var vs,Os,ys,bs,ks,Ss,xs,ws,Ts,Cs=J.forwardRef(gs),Es=(n.p,["title","titleId"]);function As(){return As=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},As.apply(this,arguments)}function Ps(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _s(e,t){var n=e.title,r=e.titleId,i=Ps(e,Es);return J.createElement("svg",As({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,viewBox:"0 0 105 105",fill:"currentColor",ref:t,"aria-labelledby":r},i),n?J.createElement("title",{id:r},n):null,vs||(vs=J.createElement("circle",{cx:12.5,cy:12.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),Os||(Os=J.createElement("circle",{cx:12.5,cy:52.5,r:12.5,fillOpacity:.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),ys||(ys=J.createElement("circle",{cx:52.5,cy:12.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),bs||(bs=J.createElement("circle",{cx:52.5,cy:52.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),ks||(ks=J.createElement("circle",{cx:92.5,cy:12.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),Ss||(Ss=J.createElement("circle",{cx:92.5,cy:52.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),xs||(xs=J.createElement("circle",{cx:12.5,cy:92.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),ws||(ws=J.createElement("circle",{cx:52.5,cy:92.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),Ts||(Ts=J.createElement("circle",{cx:92.5,cy:92.5,r:12.5},J.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))))}var Ds=J.forwardRef(_s),Zs=(n.p,n(5742)),Ns=n(4019);function Qs(e){return new Ns.ri(Ns.il.define(e))}function Rs(e){return n.e(7616).then(n.bind(n,7616)).then((function(t){return t.sql({dialect:t[e]})}))}var Ms=[Ns.c6.of({name:"C",extensions:["c","h","ino"],load:function(){return n.e(2584).then(n.bind(n,2584)).then((function(e){return e.cpp()}))}}),Ns.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:function(){return n.e(2584).then(n.bind(n,2584)).then((function(e){return e.cpp()}))}}),Ns.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:function(){return Rs("Cassandra")}}),Ns.c6.of({name:"CSS",extensions:["css"],load:function(){return Promise.resolve().then(n.bind(n,4422)).then((function(e){return e.css()}))}}),Ns.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:function(){return Promise.resolve().then(n.bind(n,292)).then((function(e){return e.html()}))}}),Ns.c6.of({name:"Java",extensions:["java"],load:function(){return n.e(9587).then(n.bind(n,9587)).then((function(e){return e.java()}))}}),Ns.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:function(){return Promise.resolve().then(n.bind(n,7131)).then((function(e){return e.javascript()}))}}),Ns.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:function(){return n.e(7893).then(n.bind(n,7893)).then((function(e){return e.json()}))}}),Ns.c6.of({name:"JSX",extensions:["jsx"],load:function(){return Promise.resolve().then(n.bind(n,7131)).then((function(e){return e.javascript({jsx:!0})}))}}),Ns.c6.of({name:"LESS",extensions:["less"],load:function(){return n.e(8192).then(n.bind(n,8192)).then((function(e){return e.less()}))}}),Ns.c6.of({name:"MariaDB SQL",load:function(){return Rs("MariaSQL")}}),Ns.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:function(){return Promise.resolve().then(n.bind(n,5742)).then((function(e){return e.markdown()}))}}),Ns.c6.of({name:"MS SQL",load:function(){return Rs("MSSQL")}}),Ns.c6.of({name:"MySQL",load:function(){return Rs("MySQL")}}),Ns.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:function(){return n.e(3225).then(n.bind(n,3225)).then((function(e){return e.php()}))}}),Ns.c6.of({name:"PLSQL",extensions:["pls"],load:function(){return Rs("PLSQL")}}),Ns.c6.of({name:"PostgreSQL",load:function(){return Rs("PostgreSQL")}}),Ns.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:function(){return n.e(7569).then(n.bind(n,7569)).then((function(e){return e.python()}))}}),Ns.c6.of({name:"Rust",extensions:["rs"],load:function(){return n.e(391).then(n.bind(n,391)).then((function(e){return e.rust()}))}}),Ns.c6.of({name:"Sass",extensions:["sass"],load:function(){return n.e(9433).then(n.bind(n,9433)).then((function(e){return e.sass({indented:!0})}))}}),Ns.c6.of({name:"SCSS",extensions:["scss"],load:function(){return n.e(9433).then(n.bind(n,9433)).then((function(e){return e.sass()}))}}),Ns.c6.of({name:"SQL",extensions:["sql"],load:function(){return Rs("StandardSQL")}}),Ns.c6.of({name:"SQLite",load:function(){return Rs("SQLite")}}),Ns.c6.of({name:"TSX",extensions:["tsx"],load:function(){return Promise.resolve().then(n.bind(n,7131)).then((function(e){return e.javascript({jsx:!0,typescript:!0})}))}}),Ns.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:function(){return Promise.resolve().then(n.bind(n,7131)).then((function(e){return e.javascript({typescript:!0})}))}}),Ns.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:function(){return n.e(8594).then(n.bind(n,8594)).then((function(e){return e.wast()}))}}),Ns.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:function(){return n.e(8149).then(n.bind(n,8149)).then((function(e){return e.xml()}))}}),Ns.c6.of({name:"APL",extensions:["dyalog","apl"],load:function(){return n.e(4413).then(n.bind(n,4413)).then((function(e){return Qs(e.apl)}))}}),Ns.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:function(){return n.e(4588).then(n.bind(n,4588)).then((function(e){return Qs(e.asciiArmor)}))}}),Ns.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:function(){return n.e(6557).then(n.bind(n,6557)).then((function(e){return Qs(e.asn1({}))}))}}),Ns.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:function(){return n.e(2795).then(n.bind(n,2795)).then((function(e){return Qs(e.asterisk)}))}}),Ns.c6.of({name:"Brainfuck",extensions:["b","bf"],load:function(){return n.e(5462).then(n.bind(n,9707)).then((function(e){return Qs(e.brainfuck)}))}}),Ns.c6.of({name:"Cobol",extensions:["cob","cpy"],load:function(){return n.e(5275).then(n.bind(n,5275)).then((function(e){return Qs(e.cobol)}))}}),Ns.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.csharp)}))}}),Ns.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:function(){return n.e(9018).then(n.bind(n,9018)).then((function(e){return Qs(e.clojure)}))}}),Ns.c6.of({name:"ClojureScript",extensions:["cljs"],load:function(){return n.e(9018).then(n.bind(n,9018)).then((function(e){return Qs(e.clojure)}))}}),Ns.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:function(){return n.e(5714).then(n.bind(n,5714)).then((function(e){return Qs(e.gss)}))}}),Ns.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:function(){return n.e(4809).then(n.bind(n,4809)).then((function(e){return Qs(e.cmake)}))}}),Ns.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:function(){return n.e(4505).then(n.bind(n,4505)).then((function(e){return Qs(e.coffeeScript)}))}}),Ns.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:function(){return n.e(5765).then(n.bind(n,5765)).then((function(e){return Qs(e.commonLisp)}))}}),Ns.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:function(){return n.e(6195).then(n.bind(n,6195)).then((function(e){return Qs(e.cypher)}))}}),Ns.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:function(){return n.e(2472).then(n.bind(n,2472)).then((function(e){return Qs(e.cython)}))}}),Ns.c6.of({name:"Crystal",extensions:["cr"],load:function(){return n.e(153).then(n.bind(n,153)).then((function(e){return Qs(e.crystal)}))}}),Ns.c6.of({name:"D",extensions:["d"],load:function(){return n.e(2789).then(n.bind(n,2789)).then((function(e){return Qs(e.d)}))}}),Ns.c6.of({name:"Dart",extensions:["dart"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.dart)}))}}),Ns.c6.of({name:"diff",extensions:["diff","patch"],load:function(){return n.e(5411).then(n.bind(n,5411)).then((function(e){return Qs(e.diff)}))}}),Ns.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:function(){return n.e(6857).then(n.bind(n,6857)).then((function(e){return Qs(e.dockerFile)}))}}),Ns.c6.of({name:"DTD",extensions:["dtd"],load:function(){return n.e(882).then(n.bind(n,882)).then((function(e){return Qs(e.dtd)}))}}),Ns.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:function(){return n.e(4735).then(n.bind(n,4735)).then((function(e){return Qs(e.dylan)}))}}),Ns.c6.of({name:"EBNF",load:function(){return n.e(9795).then(n.bind(n,9795)).then((function(e){return Qs(e.ebnf)}))}}),Ns.c6.of({name:"ECL",extensions:["ecl"],load:function(){return n.e(73).then(n.bind(n,73)).then((function(e){return Qs(e.ecl)}))}}),Ns.c6.of({name:"edn",extensions:["edn"],load:function(){return n.e(9018).then(n.bind(n,9018)).then((function(e){return Qs(e.clojure)}))}}),Ns.c6.of({name:"Eiffel",extensions:["e"],load:function(){return n.e(2580).then(n.bind(n,2580)).then((function(e){return Qs(e.eiffel)}))}}),Ns.c6.of({name:"Elm",extensions:["elm"],load:function(){return n.e(174).then(n.bind(n,174)).then((function(e){return Qs(e.elm)}))}}),Ns.c6.of({name:"Erlang",extensions:["erl"],load:function(){return n.e(4318).then(n.bind(n,4318)).then((function(e){return Qs(e.erlang)}))}}),Ns.c6.of({name:"Esper",load:function(){return n.e(7170).then(n.bind(n,7170)).then((function(e){return Qs(e.esper)}))}}),Ns.c6.of({name:"Factor",extensions:["factor"],load:function(){return n.e(244).then(n.bind(n,244)).then((function(e){return Qs(e.factor)}))}}),Ns.c6.of({name:"FCL",load:function(){return n.e(7748).then(n.bind(n,7748)).then((function(e){return Qs(e.fcl)}))}}),Ns.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:function(){return n.e(7454).then(n.bind(n,7454)).then((function(e){return Qs(e.forth)}))}}),Ns.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:function(){return n.e(9183).then(n.bind(n,9183)).then((function(e){return Qs(e.fortran)}))}}),Ns.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:function(){return n.e(9797).then(n.bind(n,9797)).then((function(e){return Qs(e.fSharp)}))}}),Ns.c6.of({name:"Gas",extensions:["s"],load:function(){return n.e(5123).then(n.bind(n,5123)).then((function(e){return Qs(e.gas)}))}}),Ns.c6.of({name:"Gherkin",extensions:["feature"],load:function(){return n.e(4487).then(n.bind(n,4487)).then((function(e){return Qs(e.gherkin)}))}}),Ns.c6.of({name:"Go",extensions:["go"],load:function(){return n.e(7151).then(n.bind(n,7151)).then((function(e){return Qs(e.go)}))}}),Ns.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:function(){return n.e(9063).then(n.bind(n,9063)).then((function(e){return Qs(e.groovy)}))}}),Ns.c6.of({name:"Haskell",extensions:["hs"],load:function(){return n.e(6260).then(n.bind(n,6260)).then((function(e){return Qs(e.haskell)}))}}),Ns.c6.of({name:"Haxe",extensions:["hx"],load:function(){return n.e(9205).then(n.bind(n,9144)).then((function(e){return Qs(e.haxe)}))}}),Ns.c6.of({name:"HXML",extensions:["hxml"],load:function(){return n.e(9205).then(n.bind(n,9144)).then((function(e){return Qs(e.hxml)}))}}),Ns.c6.of({name:"HTTP",load:function(){return n.e(9532).then(n.bind(n,9532)).then((function(e){return Qs(e.http)}))}}),Ns.c6.of({name:"IDL",extensions:["pro"],load:function(){return n.e(3424).then(n.bind(n,3424)).then((function(e){return Qs(e.idl)}))}}),Ns.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:function(){return n.e(717).then(n.bind(n,717)).then((function(e){return Qs(e.jsonld)}))}}),Ns.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:function(){return n.e(5438).then(n.bind(n,5438)).then((function(e){return Qs(e.jinja2)}))}}),Ns.c6.of({name:"Julia",extensions:["jl"],load:function(){return n.e(5439).then(n.bind(n,5439)).then((function(e){return Qs(e.julia)}))}}),Ns.c6.of({name:"Kotlin",extensions:["kt"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.kotlin)}))}}),Ns.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:function(){return n.e(3049).then(n.bind(n,3049)).then((function(e){return Qs(e.liveScript)}))}}),Ns.c6.of({name:"Lua",extensions:["lua"],load:function(){return n.e(2488).then(n.bind(n,2488)).then((function(e){return Qs(e.lua)}))}}),Ns.c6.of({name:"mIRC",extensions:["mrc"],load:function(){return n.e(2458).then(n.bind(n,2458)).then((function(e){return Qs(e.mirc)}))}}),Ns.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:function(){return n.e(4590).then(n.bind(n,4590)).then((function(e){return Qs(e.mathematica)}))}}),Ns.c6.of({name:"Modelica",extensions:["mo"],load:function(){return n.e(3720).then(n.bind(n,3720)).then((function(e){return Qs(e.modelica)}))}}),Ns.c6.of({name:"MUMPS",extensions:["mps"],load:function(){return n.e(6794).then(n.bind(n,6794)).then((function(e){return Qs(e.mumps)}))}}),Ns.c6.of({name:"Mbox",extensions:["mbox"],load:function(){return n.e(9998).then(n.bind(n,9328)).then((function(e){return Qs(e.mbox)}))}}),Ns.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:function(){return n.e(2650).then(n.bind(n,2650)).then((function(e){return Qs(e.nginx)}))}}),Ns.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:function(){return n.e(2636).then(n.bind(n,2636)).then((function(e){return Qs(e.nsis)}))}}),Ns.c6.of({name:"NTriples",extensions:["nt","nq"],load:function(){return n.e(6913).then(n.bind(n,6913)).then((function(e){return Qs(e.ntriples)}))}}),Ns.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.objectiveC)}))}}),Ns.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.objectiveCpp)}))}}),Ns.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:function(){return n.e(9797).then(n.bind(n,9797)).then((function(e){return Qs(e.oCaml)}))}}),Ns.c6.of({name:"Octave",extensions:["m"],load:function(){return n.e(1430).then(n.bind(n,1430)).then((function(e){return Qs(e.octave)}))}}),Ns.c6.of({name:"Oz",extensions:["oz"],load:function(){return n.e(7987).then(n.bind(n,7987)).then((function(e){return Qs(e.oz)}))}}),Ns.c6.of({name:"Pascal",extensions:["p","pas"],load:function(){return n.e(7620).then(n.bind(n,7620)).then((function(e){return Qs(e.pascal)}))}}),Ns.c6.of({name:"Perl",extensions:["pl","pm"],load:function(){return n.e(5833).then(n.bind(n,5833)).then((function(e){return Qs(e.perl)}))}}),Ns.c6.of({name:"Pig",extensions:["pig"],load:function(){return n.e(152).then(n.bind(n,152)).then((function(e){return Qs(e.pig)}))}}),Ns.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:function(){return n.e(5993).then(n.bind(n,5993)).then((function(e){return Qs(e.powerShell)}))}}),Ns.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:function(){return n.e(7112).then(n.bind(n,7112)).then((function(e){return Qs(e.properties)}))}}),Ns.c6.of({name:"ProtoBuf",extensions:["proto"],load:function(){return n.e(8668).then(n.bind(n,8668)).then((function(e){return Qs(e.protobuf)}))}}),Ns.c6.of({name:"Puppet",extensions:["pp"],load:function(){return n.e(3502).then(n.bind(n,3502)).then((function(e){return Qs(e.puppet)}))}}),Ns.c6.of({name:"Q",extensions:["q"],load:function(){return n.e(5526).then(n.bind(n,5526)).then((function(e){return Qs(e.q)}))}}),Ns.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:function(){return n.e(2018).then(n.bind(n,2018)).then((function(e){return Qs(e.r)}))}}),Ns.c6.of({name:"RPM Changes",load:function(){return n.e(9528).then(n.bind(n,9528)).then((function(e){return Qs(e.rpmChanges)}))}}),Ns.c6.of({name:"RPM Spec",extensions:["spec"],load:function(){return n.e(9528).then(n.bind(n,9528)).then((function(e){return Qs(e.rpmSpec)}))}}),Ns.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load:function(){return n.e(2654).then(n.bind(n,2654)).then((function(e){return Qs(e.ruby)}))}}),Ns.c6.of({name:"SAS",extensions:["sas"],load:function(){return n.e(4888).then(n.bind(n,4888)).then((function(e){return Qs(e.sas)}))}}),Ns.c6.of({name:"Scala",extensions:["scala"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.scala)}))}}),Ns.c6.of({name:"Scheme",extensions:["scm","ss"],load:function(){return n.e(31).then(n.bind(n,31)).then((function(e){return Qs(e.scheme)}))}}),Ns.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:function(){return n.e(578).then(n.bind(n,578)).then((function(e){return Qs(e.shell)}))}}),Ns.c6.of({name:"Sieve",extensions:["siv","sieve"],load:function(){return n.e(1308).then(n.bind(n,1308)).then((function(e){return Qs(e.sieve)}))}}),Ns.c6.of({name:"Smalltalk",extensions:["st"],load:function(){return n.e(3459).then(n.bind(n,3459)).then((function(e){return Qs(e.smalltalk)}))}}),Ns.c6.of({name:"Solr",load:function(){return n.e(4288).then(n.bind(n,4288)).then((function(e){return Qs(e.solr)}))}}),Ns.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:function(){return n.e(9797).then(n.bind(n,9797)).then((function(e){return Qs(e.sml)}))}}),Ns.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:function(){return n.e(9830).then(n.bind(n,9830)).then((function(e){return Qs(e.sparql)}))}}),Ns.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:function(){return n.e(2817).then(n.bind(n,2817)).then((function(e){return Qs(e.spreadsheet)}))}}),Ns.c6.of({name:"Squirrel",extensions:["nut"],load:function(){return n.e(996).then(n.bind(n,996)).then((function(e){return Qs(e.squirrel)}))}}),Ns.c6.of({name:"Stylus",extensions:["styl"],load:function(){return n.e(6381).then(n.bind(n,6381)).then((function(e){return Qs(e.stylus)}))}}),Ns.c6.of({name:"Swift",extensions:["swift"],load:function(){return n.e(1990).then(n.bind(n,1990)).then((function(e){return Qs(e.swift)}))}}),Ns.c6.of({name:"sTeX",load:function(){return n.e(2852).then(n.bind(n,2852)).then((function(e){return Qs(e.stex)}))}}),Ns.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:function(){return n.e(2852).then(n.bind(n,2852)).then((function(e){return Qs(e.stex)}))}}),Ns.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:function(){return n.e(4189).then(n.bind(n,4189)).then((function(e){return Qs(e.verilog)}))}}),Ns.c6.of({name:"Tcl",extensions:["tcl"],load:function(){return n.e(7248).then(n.bind(n,7248)).then((function(e){return Qs(e.tcl)}))}}),Ns.c6.of({name:"Textile",extensions:["textile"],load:function(){return n.e(1731).then(n.bind(n,1731)).then((function(e){return Qs(e.textile)}))}}),Ns.c6.of({name:"TiddlyWiki",load:function(){return n.e(4165).then(n.bind(n,4165)).then((function(e){return Qs(e.tiddlyWiki)}))}}),Ns.c6.of({name:"Tiki wiki",load:function(){return n.e(6534).then(n.bind(n,6534)).then((function(e){return Qs(e.tiki)}))}}),Ns.c6.of({name:"TOML",extensions:["toml"],load:function(){return n.e(7934).then(n.bind(n,7934)).then((function(e){return Qs(e.toml)}))}}),Ns.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:function(){return n.e(9328).then(n.bind(n,6153)).then((function(e){return Qs(e.troff)}))}}),Ns.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:function(){return n.e(1249).then(n.bind(n,1249)).then((function(e){return Qs(e.ttcn)}))}}),Ns.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:function(){return n.e(872).then(n.bind(n,872)).then((function(e){return Qs(e.ttcnCfg)}))}}),Ns.c6.of({name:"Turtle",extensions:["ttl"],load:function(){return n.e(6071).then(n.bind(n,6071)).then((function(e){return Qs(e.turtle)}))}}),Ns.c6.of({name:"Web IDL",extensions:["webidl"],load:function(){return n.e(8328).then(n.bind(n,8328)).then((function(e){return Qs(e.webIDL)}))}}),Ns.c6.of({name:"VB.NET",extensions:["vb"],load:function(){return n.e(3785).then(n.bind(n,3785)).then((function(e){return Qs(e.vb)}))}}),Ns.c6.of({name:"VBScript",extensions:["vbs"],load:function(){return n.e(457).then(n.bind(n,457)).then((function(e){return Qs(e.vbScript)}))}}),Ns.c6.of({name:"Velocity",extensions:["vtl"],load:function(){return n.e(6923).then(n.bind(n,6923)).then((function(e){return Qs(e.velocity)}))}}),Ns.c6.of({name:"Verilog",extensions:["v"],load:function(){return n.e(4189).then(n.bind(n,4189)).then((function(e){return Qs(e.verilog)}))}}),Ns.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:function(){return n.e(8879).then(n.bind(n,8879)).then((function(e){return Qs(e.vhdl)}))}}),Ns.c6.of({name:"XQuery",extensions:["xy","xquery"],load:function(){return n.e(4758).then(n.bind(n,4758)).then((function(e){return Qs(e.xQuery)}))}}),Ns.c6.of({name:"Yacas",extensions:["ys"],load:function(){return n.e(5848).then(n.bind(n,5848)).then((function(e){return Qs(e.yacas)}))}}),Ns.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:function(){return n.e(9831).then(n.bind(n,9831)).then((function(e){return Qs(e.yaml)}))}}),Ns.c6.of({name:"Z80",extensions:["z80"],load:function(){return n.e(5688).then(n.bind(n,5688)).then((function(e){return Qs(e.z80)}))}}),Ns.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:function(){return n.e(4745).then(n.bind(n,4745)).then((function(e){return Qs(e.mscgen)}))}}),Ns.c6.of({name:"X\xf9",extensions:["xu"],load:function(){return n.e(4745).then(n.bind(n,4745)).then((function(e){return Qs(e.xu)}))}}),Ns.c6.of({name:"MsGenny",extensions:["msgenny"],load:function(){return n.e(4745).then(n.bind(n,4745)).then((function(e){return Qs(e.msgenny)}))}}),Ns.c6.of({name:"Vue",extensions:["vue"],load:function(){return n.e(9085).then(n.bind(n,9085)).then((function(e){return e.vue()}))}}),Ns.c6.of({name:"Angular Template",load:function(){return n.e(5004).then(n.bind(n,5004)).then((function(e){return e.angular()}))}})],$s=n(52);function Is(e){var t=e.type,n=void 0===t?"scroll":t,r=e.events;return $s.lg.fromClass(function(){function e(t){var i=this;(0,re.Z)(this,e),this.dom=void 0,this.view=void 0,this.view=t,this.dom="dom"===n?t.dom:"content"===n?t.contentDOM:t.scrollDOM,Object.keys(r||{}).forEach((function(e){r&&r[e]&&i.dom&&i.dom.addEventListener(e,r[e])}))}return(0,ie.Z)(e,[{key:"destroy",value:function(){var e=this;Object.keys(r||{}).forEach((function(t){r&&r[t]&&e.dom&&e.dom.removeEventListener(t,r[t])}))}}]),e}())}var Ls=n(5224),Fs=n(1330);function Bs(e,t){return function(n){var r=n.state,i=n.dispatch;if(r.readOnly)return!1;var o=e(t,r);return!!o&&(i(r.update(o)),!0)}}var js=Bs(Ws,0),zs=Bs(Hs,0),Us=Bs((function(e,t){return Hs(e,t,function(e){var t,n=[],r=(0,Oe.Z)(e.selection.ranges);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=e.doc.lineAt(i.from),a=i.to<=o.to?o:e.doc.lineAt(i.to),s=n.length-1;s>=0&&n[s].to>o.from?n[s].to=a.to:n.push({from:o.from+/^\s*/.exec(o.text)[0].length,to:a.to})}}catch(l){r.e(l)}finally{r.f()}return n}(t))}),0);function Ys(e,t){var n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}var Xs=50;function Hs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,r=n.map((function(e){return Ys(t,e.from).block}));if(!r.every((function(e){return e})))return null;var i=n.map((function(e,n){return function(e,t,n,r){var i,o,a=t.open,s=t.close,l=e.sliceDoc(n-Xs,n),u=e.sliceDoc(r,r+Xs),c=/\s*$/.exec(l)[0].length,h=/^\s*/.exec(u)[0].length,f=l.length-c;if(l.slice(f-a.length,f)==a&&u.slice(h,h+s.length)==s)return{open:{pos:n-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-n<=2*Xs?i=o=e.sliceDoc(n,r):(i=e.sliceDoc(n,n+Xs),o=e.sliceDoc(r-Xs,r));var d=/^\s*/.exec(i)[0].length,p=/\s*$/.exec(o)[0].length,m=o.length-p-s.length;return i.slice(d,d+a.length)==a&&o.slice(m,m+s.length)==s?{open:{pos:n+d+a.length,margin:/\s/.test(i.charAt(d+a.length))?1:0},close:{pos:r-p-s.length,margin:/\s/.test(o.charAt(m-1))?1:0}}:null}(t,r[n],e.from,e.to)}));if(2!=e&&!i.every((function(e){return e})))return{changes:t.changes(n.map((function(e,t){return i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]})))};if(1!=e&&i.some((function(e){return e}))){for(var o,a=[],s=0;s<i.length;s++)if(o=i[s]){var l=r[s],u=o,c=u.open,h=u.close;a.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:h.pos-h.margin,to:h.pos+l.close.length})}return{changes:a}}return null}function Ws(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,i=[],o=-1,a=(0,Oe.Z)(r);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=s.from,u=s.to,c=i.length,h=1e9,f=Ys(t,l).line;if(f){for(var d=l;d<=u;){var p=t.doc.lineAt(d);if(p.from>o&&(l==u||u>p.from)){o=p.from;var m=/^\s*/.exec(p.text)[0].length,g=m==p.length,v=p.text.slice(m,m+f.length)==f?m:-1;m<p.text.length&&m<h&&(h=m),i.push({line:p,comment:v,token:f,indent:m,empty:g,single:!1})}d=p.to+1}if(h<1e9)for(var O=c;O<i.length;O++)i[O].indent<i[O].line.text.length&&(i[O].indent=h);i.length==c+1&&(i[c].single=!0)}}}catch($){a.e($)}finally{a.f()}if(2!=e&&i.some((function(e){return e.comment<0&&(!e.empty||e.single)}))){var y,b=[],k=(0,Oe.Z)(i);try{for(k.s();!(y=k.n()).done;){var S=y.value,x=S.line,w=S.token,T=S.indent,C=S.empty;!S.single&&C||b.push({from:x.from+T,insert:w+" "})}}catch($){k.e($)}finally{k.f()}var E=t.changes(b);return{changes:E,selection:t.selection.map(E,1)}}if(1!=e&&i.some((function(e){return e.comment>=0}))){var A,P=[],_=(0,Oe.Z)(i);try{for(_.s();!(A=_.n()).done;){var D=A.value,Z=D.line,N=D.comment,Q=D.token;if(N>=0){var R=Z.from+N,M=R+Q.length;" "==Z.text[M-Z.from]&&M++,P.push({from:R,to:M})}}}catch($){_.e($)}finally{_.f()}return{changes:P}}return null}var qs=Ls.q6.define(),Gs=Ls.q6.define(),Vs=Ls.r$.define(),Js=Ls.r$.define({combine:function(e){return(0,Ls.BO)(e,{minDepth:100,newGroupDelay:500,joinToEvent:function(e,t){return t}},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:function(e,t){return function(n,r){return e(n,r)||t(n,r)}}})}});var Ks=Ls.QQ.define({create:function(){return ml.empty},update:function(e,t){var n=t.state.facet(Js),r=t.annotation(qs);if(r){var i=t.docChanged?Ls.jT.single(function(e){var t=0;return e.iterChangedRanges((function(e,n){return t=n})),t}(t.changes)):void 0,o=ol.fromTransaction(t,i),a=r.side,s=0==a?e.undone:e.done;return s=o?al(s,s.length,n.minDepth,o):cl(s,t.startState.selection),new ml(0==a?r.rest:s,0==a?s:r.rest)}var l=t.annotation(Gs);if("full"!=l&&"before"!=l||(e=e.isolate()),!1===t.annotation(Ls.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);var u=ol.fromTransaction(t),c=t.annotation(Ls.YW.time),h=t.annotation(Ls.YW.userEvent);return u?e=e.addChanges(u,c,h,n,t):t.selection&&(e=e.addSelection(t.startState.selection,c,h,n.newGroupDelay)),"full"!=l&&"after"!=l||(e=e.isolate()),e},toJSON:function(e){return{done:e.done.map((function(e){return e.toJSON()})),undone:e.undone.map((function(e){return e.toJSON()}))}},fromJSON:function(e){return new ml(e.done.map(ol.fromJSON),e.undone.map(ol.fromJSON))}});function el(e,t){return function(n){var r=n.state,i=n.dispatch;if(!t&&r.readOnly)return!1;var o=r.field(Ks,!1);if(!o)return!1;var a=o.pop(e,r,t);return!!a&&(i(a),!0)}}var tl=el(0,!1),nl=el(1,!1),rl=el(0,!0),il=el(1,!0);var ol=function(){function e(t,n,r,i,o){(0,re.Z)(this,e),this.changes=t,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}return(0,ie.Z)(e,[{key:"setSelAfter",value:function(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}},{key:"toJSON",value:function(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((function(e){return e.toJSON()}))}}}],[{key:"fromJSON",value:function(t){return new e(t.changes&&Ls.as.fromJSON(t.changes),[],t.mapped&&Ls.n0.fromJSON(t.mapped),t.startSelection&&Ls.jT.fromJSON(t.startSelection),t.selectionsAfter.map(Ls.jT.fromJSON))}},{key:"fromTransaction",value:function(t,n){var r,i=ll,o=(0,Oe.Z)(t.startState.facet(Vs));try{for(o.s();!(r=o.n()).done;){var a=(0,r.value)(t);a.length&&(i=i.concat(a))}}catch(s){o.e(s)}finally{o.f()}return!i.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),i,void 0,n||t.startState.selection,ll)}},{key:"selection",value:function(t){return new e(void 0,ll,void 0,void 0,t)}}]),e}();function al(e,t,n,r){var i=t+1>n+20?t-n-1:0,o=e.slice(i,t);return o.push(r),o}function sl(e,t){return e.length?t.length?e.concat(t):e:t}var ll=[],ul=200;function cl(e,t){if(e.length){var n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-ul));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),al(e,e.length-1,1e9,n.setSelAfter(r)))}return[ol.selection([t])]}function hl(e){var t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function fl(e,t){if(!e.length)return e;for(var n=e.length,r=ll;n;){var i=dl(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){var o=e.slice(0,n);return o[n-1]=i,o}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[ol.selection(r)]:ll}function dl(e,t,n){var r=sl(e.selectionsAfter.length?e.selectionsAfter.map((function(e){return e.map(t)})):ll,n);if(!e.changes)return ol.selection(r);var i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new ol(i,Ls.Py.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}var pl=/^(input\.type|delete)($|\.)/,ml=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;(0,re.Z)(this,e),this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=i}return(0,ie.Z)(e,[{key:"isolate",value:function(){return this.prevTime?new e(this.done,this.undone):this}},{key:"addChanges",value:function(t,n,r,i,o){var a=this.done,s=a[a.length-1];return a=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||pl.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i.newGroupDelay&&i.joinToEvent(o,function(e,t){var n=[],r=!1;return e.iterChangedRanges((function(e,t){return n.push(e,t)})),t.iterChangedRanges((function(e,t,i,o){for(var a=0;a<n.length;){var s=n[a++],l=n[a++];o>=s&&i<=l&&(r=!0)}})),r}(s.changes,t.changes))||"input.type.compose"==r)?al(a,a.length-1,i.minDepth,new ol(t.changes.compose(s.changes),sl(t.effects,s.effects),s.mapped,s.startSelection,ll)):al(a,a.length,i.minDepth,t),new e(a,ll,n,r)}},{key:"addSelection",value:function(t,n,r,i){var o=this.done.length?this.done[this.done.length-1].selectionsAfter:ll;return o.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&function(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((function(e,n){return e.empty!=t.ranges[n].empty})).length}(o[o.length-1],t)?this:new e(cl(this.done,t),this.undone,n,r)}},{key:"addMapping",value:function(t){return new e(fl(this.done,t),fl(this.undone,t),this.prevTime,this.prevUserEvent)}},{key:"pop",value:function(e,t,n){var r=0==e?this.done:this.undone;if(0==r.length)return null;var i=r[r.length-1];if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:qs.of({side:e,rest:hl(r)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){var o=1==r.length?ll:r.slice(0,r.length-1);return i.mapped&&(o=fl(o,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:qs.of({side:e,rest:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}]),e}();ml.empty=new ml(ll,ll);var gl=[{key:"Mod-z",run:tl,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:nl,preventDefault:!0},{linux:"Ctrl-Shift-z",run:nl,preventDefault:!0},{key:"Mod-u",run:rl,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:il,preventDefault:!0}];function vl(e,t){return Ls.jT.create(e.ranges.map(t),e.mainIndex)}function Ol(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function yl(e,t){var n=e.state,r=e.dispatch,i=vl(n.selection,t);return!i.eq(n.selection)&&(r(Ol(n,i)),!0)}function bl(e,t){return Ls.jT.cursor(t?e.to:e.from)}function kl(e,t){return yl(e,(function(n){return n.empty?e.moveByChar(n,t):bl(n,t)}))}function Sl(e){return e.textDirectionAt(e.state.selection.main.head)==$s.Nm.LTR}var xl=function(e){return kl(e,!Sl(e))},wl=function(e){return kl(e,Sl(e))};function Tl(e,t){return yl(e,(function(n){return n.empty?e.moveByGroup(n,t):bl(n,t)}))}function Cl(e,t,n){if(t.type.prop(n))return!0;var r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function El(e,t,n){for(var r=(0,Ns.qz)(e).resolveInner(t.head),i=n?Fs.md.closedBy:Fs.md.openedBy,o=t.head;;){var a=n?r.childAfter(o):r.childBefore(o);if(!a)break;Cl(e,a,i)?r=a:o=n?a.to:a.from}var s,l;return l=r.type.prop(i)&&(s=n?(0,Ns.Um)(e,r.from,1):(0,Ns.Um)(e,r.to,-1))&&s.matched?n?s.end.to:s.end.from:n?r.to:r.from,Ls.jT.cursor(l,n?-1:1)}function Al(e,t){return yl(e,(function(n){if(!n.empty)return bl(n,t);var r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}var Pl=function(e){return Al(e,!1)},_l=function(e){return Al(e,!0)};function Dl(e){var t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,r=0,i=0;if(n){var o,a=(0,Oe.Z)(e.state.facet($s.tk.scrollMargins));try{for(a.s();!(o=a.n()).done;){var s=(0,o.value)(e);(null===s||void 0===s?void 0:s.top)&&(r=Math.max(null===s||void 0===s?void 0:s.top,r)),(null===s||void 0===s?void 0:s.bottom)&&(i=Math.max(null===s||void 0===s?void 0:s.bottom,i))}}catch(l){a.e(l)}finally{a.f()}t=e.scrollDOM.clientHeight-r-i}else t=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:n,height:Math.max(e.defaultLineHeight,t-5)}}function Zl(e,t){var n,r=Dl(e),i=e.state,o=vl(i.selection,(function(n){return n.empty?e.moveVertically(n,t,r.height):bl(n,t)}));if(o.eq(i.selection))return!1;if(r.selfScroll){var a=e.coordsAtPos(i.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),l=s.top+r.marginTop,u=s.bottom-r.marginBottom;a&&a.top>l&&a.bottom<u&&(n=$s.tk.scrollIntoView(o.main.head,{y:"start",yMargin:a.top-l}))}return e.dispatch(Ol(i,o),{effects:n}),!0}var Nl=function(e){return Zl(e,!1)},Ql=function(e){return Zl(e,!0)};function Rl(e,t,n){var r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){var o=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&t.head!=r.from+o&&(i=Ls.jT.cursor(r.from+o))}return i}function Ml(e,t,n){var r=!1,i=vl(e.selection,(function(t){var i=(0,Ns.Um)(e,t.head,-1)||(0,Ns.Um)(e,t.head,1)||t.head>0&&(0,Ns.Um)(e,t.head-1,1)||t.head<e.doc.length&&(0,Ns.Um)(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;var o=i.start.from==t.head?i.end.to:i.end.from;return n?Ls.jT.range(t.anchor,o):Ls.jT.cursor(o)}));return!!r&&(t(Ol(e,i)),!0)}function $l(e,t){var n=vl(e.state.selection,(function(e){var n=t(e);return Ls.jT.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)}));return!n.eq(e.state.selection)&&(e.dispatch(Ol(e.state,n)),!0)}function Il(e,t){return $l(e,(function(n){return e.moveByChar(n,t)}))}var Ll=function(e){return Il(e,!Sl(e))},Fl=function(e){return Il(e,Sl(e))};function Bl(e,t){return $l(e,(function(n){return e.moveByGroup(n,t)}))}function jl(e,t){return $l(e,(function(n){return e.moveVertically(n,t)}))}var zl=function(e){return jl(e,!1)},Ul=function(e){return jl(e,!0)};function Yl(e,t){return $l(e,(function(n){return e.moveVertically(n,t,Dl(e).height)}))}var Xl=function(e){return Yl(e,!1)},Hl=function(e){return Yl(e,!0)},Wl=function(e){var t=e.state;return(0,e.dispatch)(Ol(t,{anchor:0})),!0},ql=function(e){var t=e.state;return(0,e.dispatch)(Ol(t,{anchor:t.doc.length})),!0},Gl=function(e){var t=e.state;return(0,e.dispatch)(Ol(t,{anchor:t.selection.main.anchor,head:0})),!0},Vl=function(e){var t=e.state;return(0,e.dispatch)(Ol(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0};function Jl(e,t){if(e.state.readOnly)return!1;var n="delete.selection",r=e.state,i=r.changeByRange((function(r){var i=r.from,o=r.to;if(i==o){var a=t(i);a<i?(n="delete.backward",a=Kl(e,a,!1)):a>i&&(n="delete.forward",a=Kl(e,a,!0)),i=Math.min(i,a),o=Math.max(o,a)}else i=Kl(e,i,!1),o=Kl(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:Ls.jT.cursor(i)}}));return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?$s.tk.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function Kl(e,t,n){if(e instanceof $s.tk){var r,i=(0,Oe.Z)(e.state.facet($s.tk.atomicRanges).map((function(t){return t(e)})));try{for(i.s();!(r=i.n()).done;){r.value.between(t,t,(function(e,r){e<t&&r>t&&(t=n?r:e)}))}}catch(o){i.e(o)}finally{i.f()}}return t}var eu=function(e,t){return Jl(e,(function(n){var r,i,o=e.state,a=o.doc.lineAt(n);if(!t&&n>a.from&&n<a.from+200&&!/[^ \t]/.test(r=a.text.slice(0,n-a.from))){if("\t"==r[r.length-1])return n-1;for(var s=(0,Ls.IS)(r,o.tabSize)%(0,Ns.y1)(o)||(0,Ns.y1)(o),l=0;l<s&&" "==r[r.length-1-l];l++)n--;i=n}else(i=(0,Ls.cp)(a.text,n-a.from,t,t)+a.from)==n&&a.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);return i}))},tu=function(e){return eu(e,!1)},nu=function(e){return eu(e,!0)},ru=function(e,t){return Jl(e,(function(n){for(var r=n,i=e.state,o=i.doc.lineAt(r),a=i.charCategorizer(r),s=null;;){if(r==(t?o.to:o.from)){r==n&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}var l=(0,Ls.cp)(o.text,r-o.from,t)+o.from,u=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),c=a(u);if(null!=s&&c!=s)break;" "==u&&r==n||(s=c),r=l}return r}))},iu=function(e){return ru(e,!1)},ou=function(e){return Jl(e,(function(t){var n=e.lineBlockAt(t).to;return t<n?n:Math.min(e.state.doc.length,t+1)}))};function au(e){var t,n=[],r=-1,i=(0,Oe.Z)(e.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=e.doc.lineAt(o.from),s=e.doc.lineAt(o.to);if(o.empty||o.to!=s.from||(s=e.doc.lineAt(o.to-1)),r>=a.number){var l=n[n.length-1];l.to=s.to,l.ranges.push(o)}else n.push({from:a.from,to:s.to,ranges:[o]});r=s.number+1}}catch(u){i.e(u)}finally{i.f()}return n}function su(e,t,n){if(e.readOnly)return!1;var r,i=[],o=[],a=(0,Oe.Z)(au(e));try{for(a.s();!(r=a.n()).done;){var s=r.value;if(n?s.to!=e.doc.length:0!=s.from){var l=e.doc.lineAt(n?s.to+1:s.from-1),u=l.length+1;if(n){i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+e.lineBreak});var c,h=(0,Oe.Z)(s.ranges);try{for(h.s();!(c=h.n()).done;){var f=c.value;o.push(Ls.jT.range(Math.min(e.doc.length,f.anchor+u),Math.min(e.doc.length,f.head+u)))}}catch(g){h.e(g)}finally{h.f()}}else{i.push({from:l.from,to:s.from},{from:s.to,insert:e.lineBreak+l.text});var d,p=(0,Oe.Z)(s.ranges);try{for(p.s();!(d=p.n()).done;){var m=d.value;o.push(Ls.jT.range(m.anchor-u,m.head-u))}}catch(g){p.e(g)}finally{p.f()}}}}}catch(g){a.e(g)}finally{a.f()}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:Ls.jT.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}function lu(e,t,n){if(e.readOnly)return!1;var r,i=[],o=(0,Oe.Z)(au(e));try{for(o.s();!(r=o.n()).done;){var a=r.value;n?i.push({from:a.from,insert:e.doc.slice(a.from,a.to)+e.lineBreak}):i.push({from:a.to,insert:e.lineBreak+e.doc.slice(a.from,a.to)})}}catch(s){o.e(s)}finally{o.f()}return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var uu=hu(!1),cu=hu(!0);function hu(e){return function(t){var n=t.state,r=t.dispatch;if(n.readOnly)return!1;var i=n.changeByRange((function(t){var r=t.from,i=t.to,o=n.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};var n,r=(0,Ns.qz)(e).resolveInner(t),i=r.childBefore(t),o=r.childAfter(t);return i&&o&&i.to<=t&&o.from>=t&&(n=i.type.prop(Fs.md.closedBy))&&n.indexOf(o.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(o.from).from?{from:i.to,to:o.from}:null}(n,r);e&&(r=i=(i<=o.to?o:n.doc.lineAt(i)).to);var s=new Ns.Gn(n,{simulateBreak:r,simulateDoubleBreak:!!a}),l=(0,Ns.K0)(s,r);for(null==l&&(l=/^\s*/.exec(n.doc.lineAt(r).text)[0].length);i<o.to&&/\s/.test(o.text[i-o.from]);)i++;a?(r=a.from,i=a.to):r>o.from&&r<o.from+100&&!/\S/.test(o.text.slice(0,r))&&(r=o.from);var u=["",(0,Ns.SS)(n,l)];return a&&u.push((0,Ns.SS)(n,s.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:Ls.xv.of(u)},range:Ls.jT.cursor(r+1+u[1].length)}}));return r(n.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function fu(e,t){var n=-1;return e.changeByRange((function(r){for(var i=[],o=r.from;o<=r.to;){var a=e.doc.lineAt(o);a.number>n&&(r.empty||r.to>a.from)&&(t(a,i,r),n=a.number),o=a.to+1}var s=e.changes(i);return{changes:i,range:Ls.jT.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}}))}var du=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(fu(t,(function(e,n){n.push({from:e.from,insert:t.facet(Ns.c)})})),{userEvent:"input.indent"})),!0)},pu=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(fu(t,(function(e,n){var r=/^\s*/.exec(e.text)[0];if(r){for(var i=(0,Ls.IS)(r,t.tabSize),o=0,a=(0,Ns.SS)(t,Math.max(0,i-(0,Ns.y1)(t)));o<r.length&&o<a.length&&r.charCodeAt(o)==a.charCodeAt(o);)o++;n.push({from:e.from+o,to:e.from+r.length,insert:a.slice(o)})}})),{userEvent:"delete.dedent"})),!0)},mu=[{key:"Ctrl-b",run:xl,shift:Ll,preventDefault:!0},{key:"Ctrl-f",run:wl,shift:Fl},{key:"Ctrl-p",run:Pl,shift:zl},{key:"Ctrl-n",run:_l,shift:Ul},{key:"Ctrl-a",run:function(e){return yl(e,(function(t){return Ls.jT.cursor(e.lineBlockAt(t.head).from,1)}))},shift:function(e){return $l(e,(function(t){return Ls.jT.cursor(e.lineBlockAt(t.head).from)}))}},{key:"Ctrl-e",run:function(e){return yl(e,(function(t){return Ls.jT.cursor(e.lineBlockAt(t.head).to,-1)}))},shift:function(e){return $l(e,(function(t){return Ls.jT.cursor(e.lineBlockAt(t.head).to)}))}},{key:"Ctrl-d",run:nu},{key:"Ctrl-h",run:tu},{key:"Ctrl-k",run:ou},{key:"Ctrl-Alt-h",run:iu},{key:"Ctrl-o",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=t.changeByRange((function(e){return{changes:{from:e.from,to:e.to,insert:Ls.xv.of(["",""])},range:Ls.jT.cursor(e.from)}}));return n(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=t.changeByRange((function(e){if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};var n=e.from,r=t.doc.lineAt(n),i=n==r.from?n-1:(0,Ls.cp)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,Ls.cp)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:t.doc.slice(n,o).append(t.doc.slice(i,n))},range:Ls.jT.cursor(o)}}));return!r.changes.empty&&(n(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:Ql}],gu=[{key:"ArrowLeft",run:xl,shift:Ll,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:function(e){return Tl(e,!Sl(e))},shift:function(e){return Bl(e,!Sl(e))},preventDefault:!0},{mac:"Cmd-ArrowLeft",run:function(e){return yl(e,(function(t){return Rl(e,t,!Sl(e))}))},shift:function(e){return $l(e,(function(t){return Rl(e,t,!Sl(e))}))},preventDefault:!0},{key:"ArrowRight",run:wl,shift:Fl,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:function(e){return Tl(e,Sl(e))},shift:function(e){return Bl(e,Sl(e))},preventDefault:!0},{mac:"Cmd-ArrowRight",run:function(e){return yl(e,(function(t){return Rl(e,t,Sl(e))}))},shift:function(e){return $l(e,(function(t){return Rl(e,t,Sl(e))}))},preventDefault:!0},{key:"ArrowUp",run:Pl,shift:zl,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Wl,shift:Gl},{mac:"Ctrl-ArrowUp",run:Nl,shift:Xl},{key:"ArrowDown",run:_l,shift:Ul,preventDefault:!0},{mac:"Cmd-ArrowDown",run:ql,shift:Vl},{mac:"Ctrl-ArrowDown",run:Ql,shift:Hl},{key:"PageUp",run:Nl,shift:Xl},{key:"PageDown",run:Ql,shift:Hl},{key:"Home",run:function(e){return yl(e,(function(t){return Rl(e,t,!1)}))},shift:function(e){return $l(e,(function(t){return Rl(e,t,!1)}))},preventDefault:!0},{key:"Mod-Home",run:Wl,shift:Gl},{key:"End",run:function(e){return yl(e,(function(t){return Rl(e,t,!0)}))},shift:function(e){return $l(e,(function(t){return Rl(e,t,!0)}))},preventDefault:!0},{key:"Mod-End",run:ql,shift:Vl},{key:"Enter",run:uu},{key:"Mod-a",run:function(e){var t=e.state;return(0,e.dispatch)(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0}},{key:"Backspace",run:tu,shift:tu},{key:"Delete",run:nu},{key:"Mod-Backspace",mac:"Alt-Backspace",run:iu},{key:"Mod-Delete",mac:"Alt-Delete",run:function(e){return ru(e,!0)}},{mac:"Mod-Backspace",run:function(e){return Jl(e,(function(t){var n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}))}},{mac:"Mod-Delete",run:ou}].concat(mu.map((function(e){return{mac:e.key,run:e.run,shift:e.shift}}))),vu=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:function(e){return yl(e,(function(t){return El(e.state,t,!Sl(e))}))},shift:function(e){return $l(e,(function(t){return El(e.state,t,!Sl(e))}))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:function(e){return yl(e,(function(t){return El(e.state,t,Sl(e))}))},shift:function(e){return $l(e,(function(t){return El(e.state,t,Sl(e))}))}},{key:"Alt-ArrowUp",run:function(e){return su(e.state,e.dispatch,!1)}},{key:"Shift-Alt-ArrowUp",run:function(e){return lu(e.state,e.dispatch,!1)}},{key:"Alt-ArrowDown",run:function(e){return su(e.state,e.dispatch,!0)}},{key:"Shift-Alt-ArrowDown",run:function(e){return lu(e.state,e.dispatch,!0)}},{key:"Escape",run:function(e){var t=e.state,n=e.dispatch,r=t.selection,i=null;return r.ranges.length>1?i=Ls.jT.create([r.main]):r.main.empty||(i=Ls.jT.create([Ls.jT.cursor(r.main.head)])),!!i&&(n(Ol(t,i)),!0)}},{key:"Mod-Enter",run:cu},{key:"Alt-l",mac:"Ctrl-l",run:function(e){var t=e.state,n=e.dispatch,r=au(t).map((function(e){var n=e.from,r=e.to;return Ls.jT.range(n,Math.min(r+1,t.doc.length))}));return n(t.update({selection:Ls.jT.create(r),userEvent:"select"})),!0}},{key:"Mod-i",run:function(e){var t=e.state,n=e.dispatch,r=vl(t.selection,(function(e){for(var n,r=(0,Ns.qz)(t).resolveInner(e.head,1);!(r.from<e.from&&r.to>=e.to||r.to>e.to&&r.from<=e.from)&&(null===(n=r.parent)||void 0===n?void 0:n.parent);)r=r.parent;return Ls.jT.range(r.to,r.from)}));return n(Ol(t,r)),!0},preventDefault:!0},{key:"Mod-[",run:pu},{key:"Mod-]",run:du},{key:"Mod-Alt-\\",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=Object.create(null),i=new Ns.Gn(t,{overrideIndentation:function(e){var t=r[e];return null==t?-1:t}}),o=fu(t,(function(e,n,o){var a=(0,Ns.K0)(i,e.from);if(null!=a){/\S/.test(e.text)||(a=0);var s=/^\s*/.exec(e.text)[0],l=(0,Ns.SS)(t,a);(s!=l||o.from<e.from+s.length)&&(r[e.from]=a,n.push({from:e.from,to:e.from+s.length,insert:l}))}}));return o.changes.empty||n(t.update(o,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:function(e){if(e.state.readOnly)return!1;var t=e.state,n=t.changes(au(t).map((function(e){var n=e.from,r=e.to;return n>0?n--:r<t.doc.length&&r++,{from:n,to:r}}))),r=vl(t.selection,(function(t){return e.moveVertically(t,!0)})).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:function(e){return Ml(e.state,e.dispatch,!1)}},{key:"Mod-/",run:function(e){var t=e.state,n=t.doc.lineAt(t.selection.main.from),r=Ys(e.state,n.from);return r.line?js(e):!!r.block&&Us(e)}},{key:"Alt-A",run:zs}].concat(gu),Ou={key:"Tab",run:du,shift:pu};function yu(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)bu(e,arguments[t]);return e}function bu(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)bu(e,t[n])}}var ku="function"==typeof String.prototype.normalize?function(e){return e.normalize("NFKD")}:function(e){return e},Su=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;(0,re.Z)(this,e),this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(r,i),this.bufferStart=r,this.normalize=o?function(e){return o(ku(e))}:ku,this.query=this.normalize(n)}return(0,ie.Z)(e,[{key:"peek",value:function(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,Ls.gm)(this.buffer,this.bufferPos)}},{key:"next",value:function(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}},{key:"nextOverlapping",value:function(){for(;;){var e=this.peek();if(e<0)return this.done=!0,this;var t=(0,Ls.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,Ls.nZ)(e);for(var r=this.normalize(t),i=0,o=n;;i++){var a=r.charCodeAt(i),s=this.match(a,o);if(i==r.length-1){if(s)return this.value=s,this;break}o==n&&i<t.length&&t.charCodeAt(i)==a&&o++}}}},{key:"match",value:function(e,t){for(var n=null,r=0;r<this.matches.length;r+=2){var i=this.matches[r],o=!1;this.query.charCodeAt(i)==e&&(i==this.query.length-1?n={from:this.matches[r+1],to:t+1}:(this.matches[r]++,o=!0)),o||(this.matches.splice(r,2),r-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}}]),e}();"undefined"!=typeof Symbol&&(Su.prototype[Symbol.iterator]=function(){return this});var xu={from:-1,to:-1,match:/.*/.exec("")},wu="gm"+(null==/x/.unicode?"":"u"),Tu=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t.length;if((0,re.Z)(this,e),this.text=t,this.to=o,this.curLine="",this.done=!1,this.value=xu,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new Au(t,n,r,i,o);this.re=new RegExp(n,wu+((null===r||void 0===r?void 0:r.ignoreCase)?"i":"")),this.test=null===r||void 0===r?void 0:r.test,this.iter=t.iter();var a=t.lineAt(i);this.curLineStart=a.from,this.matchPos=Pu(t,i),this.getLine(this.curLineStart)}return(0,ie.Z)(e,[{key:"getLine",value:function(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}},{key:"nextLine",value:function(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}},{key:"next",value:function(){for(var e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;var t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){var n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=Pu(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}]),e}(),Cu=new WeakMap,Eu=function(){function e(t,n){(0,re.Z)(this,e),this.from=t,this.text=n}return(0,ie.Z)(e,[{key:"to",get:function(){return this.from+this.text.length}}],[{key:"get",value:function(t,n,r){var i=Cu.get(t);if(!i||i.from>=r||i.to<=n){var o=new e(n,t.sliceString(n,r));return Cu.set(t,o),o}if(i.from==n&&i.to==r)return i;var a=i.text,s=i.from;return s>n&&(a=t.sliceString(n,s)+a,s=n),i.to<r&&(a+=t.sliceString(i.to,r)),Cu.set(t,new e(s,a)),new e(n,a.slice(n-s,r-s))}}]),e}(),Au=function(){function e(t,n,r,i,o){(0,re.Z)(this,e),this.text=t,this.to=o,this.done=!1,this.value=xu,this.matchPos=Pu(t,i),this.re=new RegExp(n,wu+((null===r||void 0===r?void 0:r.ignoreCase)?"i":"")),this.test=null===r||void 0===r?void 0:r.test,this.flat=Eu.get(t,i,this.chunkEnd(i+5e3))}return(0,ie.Z)(e,[{key:"chunkEnd",value:function(e){return e>=this.to?this.to:this.text.lineAt(e).to}},{key:"next",value:function(){for(;;){var e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){var n=this.flat.from+t.index,r=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this.matchPos=Pu(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Eu.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}]),e}();function Pu(e,t){if(t>=e.length)return t;for(var n,r=e.lineAt(t);t<r.to&&(n=r.text.charCodeAt(t-r.from))>=56320&&n<57344;)t++;return t}function _u(e){var t=yu("input",{class:"cm-textfield",name:"line"});function n(){var n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(n){var r=e.state,i=r.doc.lineAt(r.selection.main.head),o=(0,te.Z)(n,5),a=o[1],s=o[2],l=o[3],u=o[4],c=l?+l.slice(1):0,h=s?+s:i.number;if(s&&u){var f=h/100;a&&(f=f*("-"==a?-1:1)+i.number/r.doc.lines),h=Math.round(r.doc.lines*f)}else s&&a&&(h=h*("-"==a?-1:1)+i.number);var d=r.doc.line(Math.max(1,Math.min(r.doc.lines,h))),p=Ls.jT.cursor(d.from+Math.max(0,Math.min(c,d.length)));e.dispatch({effects:[Du.of(!1),$s.tk.scrollIntoView(p.from,{y:"center"})],selection:p}),e.focus()}}return{dom:yu("form",{class:"cm-gotoLine",onkeydown:function(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:Du.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:function(e){e.preventDefault(),n()}},yu("label",e.state.phrase("Go to line"),": ",t)," ",yu("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(Tu.prototype[Symbol.iterator]=Au.prototype[Symbol.iterator]=function(){return this});var Du=Ls.Py.define(),Zu=Ls.QQ.define({create:function(){return!0},update:function(e,t){var n,r=(0,Oe.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(Du)&&(e=i.value)}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return $s.mH.from(e,(function(e){return e?_u:null}))}}),Nu=$s.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Qu={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Ru=Ls.r$.define({combine:function(e){return(0,Ls.BO)(e,Qu,{highlightWordAroundCursor:function(e,t){return e||t},minSelectionLength:Math.min,maxMatches:Math.min})}});var Mu=$s.p.mark({class:"cm-selectionMatch"}),$u=$s.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Iu(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=Ls.D0.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=Ls.D0.Word)}var Lu=$s.lg.fromClass(function(){function e(t){(0,re.Z)(this,e),this.decorations=this.getDeco(t)}return(0,ie.Z)(e,[{key:"update",value:function(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}},{key:"getDeco",value:function(e){var t=e.state.facet(Ru),n=e.state,r=n.selection;if(r.ranges.length>1)return $s.p.none;var i,o=r.main,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return $s.p.none;var s=n.wordAt(o.head);if(!s)return $s.p.none;a=n.charCategorizer(o.head),i=n.sliceDoc(s.from,s.to)}else{var l=o.to-o.from;if(l<t.minSelectionLength||l>200)return $s.p.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),!Iu(a=n.charCategorizer(o.head),n,o.from,o.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==Ls.D0.Word&&e(t.sliceDoc(r-1,r))==Ls.D0.Word}(a,n,o.from,o.to))return $s.p.none}else if(!(i=n.sliceDoc(o.from,o.to).trim()))return $s.p.none}var u,c=[],h=(0,Oe.Z)(e.visibleRanges);try{for(h.s();!(u=h.n()).done;)for(var f=u.value,d=new Su(n.doc,i,f.from,f.to);!d.next().done;){var p=d.value,m=p.from,g=p.to;if((!a||Iu(a,n,m,g))&&(o.empty&&m<=o.from&&g>=o.to?c.push($u.range(m,g)):(m>=o.to||g<=o.from)&&c.push(Mu.range(m,g)),c.length>t.maxMatches))return $s.p.none}}catch(v){h.e(v)}finally{h.f()}return $s.p.set(c)}}]),e}(),{decorations:function(e){return e.decorations}}),Fu=$s.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});var Bu=Ls.r$.define({combine:function(e){return(0,Ls.BO)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:function(e){return new gc(e)},scrollToMatch:function(e){return $s.tk.scrollIntoView(e)}})}});var ju=function(){function e(t){(0,re.Z)(this,e),this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,wu),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}return(0,ie.Z)(e,[{key:"unquote",value:function(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"}))}},{key:"eq",value:function(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}},{key:"create",value:function(){return this.regexp?new qu(this):new Yu(this)}},{key:"getCursor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=e.doc?e:Ls.yy.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?Xu(this,r,t,n):Uu(this,r,t,n)}}]),e}(),zu=(0,ie.Z)((function e(t){(0,re.Z)(this,e),this.spec=t}));function Uu(e,t,n,r){return new Su(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:function(e){return e.toLowerCase()},e.wholeWord?(i=t.doc,o=t.charCategorizer(t.selection.main.head),function(e,t,n,r){return(r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=i.sliceString(r,Math.min(i.length,t+2))),(o(Hu(n,e-r))!=Ls.D0.Word||o(Wu(n,e-r))!=Ls.D0.Word)&&(o(Wu(n,t-r))!=Ls.D0.Word||o(Hu(n,t-r))!=Ls.D0.Word)}):void 0);var i,o}var Yu=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){return(0,re.Z)(this,n),t.call(this,e)}return(0,ie.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Uu(this.spec,e,n,e.doc.length).nextOverlapping();return r.done&&(r=Uu(this.spec,e,0,t).nextOverlapping()),r.done?null:r.value}},{key:"prevMatchInRange",value:function(e,t,n){for(var r=n;;){for(var i=Math.max(t,r-1e4-this.spec.unquoted.length),o=Uu(this.spec,e,i,r),a=null;!o.nextOverlapping().done;)a=o.value;if(a)return a;if(i==t)return null;r-=1e4}}},{key:"prevMatch",value:function(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}},{key:"getReplacement",value:function(e){return this.spec.unquote(this.spec.replace)}},{key:"matchAll",value:function(e,t){for(var n=Uu(this.spec,e,0,e.doc.length),r=[];!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}},{key:"highlight",value:function(e,t,n,r){for(var i=Uu(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));!i.next().done;)r(i.value.from,i.value.to)}}]),n}(zu);function Xu(e,t,n,r){return new Tu(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(i=t.charCategorizer(t.selection.main.head),function(e,t,n){return!n[0].length||(i(Hu(n.input,n.index))!=Ls.D0.Word||i(Wu(n.input,n.index))!=Ls.D0.Word)&&(i(Wu(n.input,n.index+n[0].length))!=Ls.D0.Word||i(Hu(n.input,n.index+n[0].length))!=Ls.D0.Word)}):void 0},n,r);var i}function Hu(e,t){return e.slice((0,Ls.cp)(e,t,!1),t)}function Wu(e,t){return e.slice(t,(0,Ls.cp)(e,t))}var qu=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(){return(0,re.Z)(this,n),t.apply(this,arguments)}return(0,ie.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Xu(this.spec,e,n,e.doc.length).next();return r.done&&(r=Xu(this.spec,e,0,t).next()),r.done?null:r.value}},{key:"prevMatchInRange",value:function(e,t,n){for(var r=1;;r++){for(var i=Math.max(t,n-1e4*r),o=Xu(this.spec,e,i,n),a=null;!o.next().done;)a=o.value;if(a&&(i==t||a.from>i+10))return a;if(i==t)return null}}},{key:"prevMatch",value:function(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}},{key:"getReplacement",value:function(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(function(t,n){return"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n<e.match.length?e.match[n]:t})))}},{key:"matchAll",value:function(e,t){for(var n=Xu(this.spec,e,0,e.doc.length),r=[];!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}},{key:"highlight",value:function(e,t,n,r){for(var i=Xu(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));!i.next().done;)r(i.value.from,i.value.to)}}]),n}(zu),Gu=Ls.Py.define(),Vu=Ls.Py.define(),Ju=Ls.QQ.define({create:function(e){return new Ku(cc(e).create(),null)},update:function(e,t){var n,r=(0,Oe.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(Gu)?e=new Ku(i.value.create(),e.panel):i.is(Vu)&&(e=new Ku(e.query,i.value?uc:null))}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return $s.mH.from(e,(function(e){return e.panel}))}});var Ku=(0,ie.Z)((function e(t,n){(0,re.Z)(this,e),this.query=t,this.panel=n})),ec=$s.p.mark({class:"cm-searchMatch"}),tc=$s.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),nc=$s.lg.fromClass(function(){function e(t){(0,re.Z)(this,e),this.view=t,this.decorations=this.highlight(t.state.field(Ju))}return(0,ie.Z)(e,[{key:"update",value:function(e){var t=e.state.field(Ju);(t!=e.startState.field(Ju)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}},{key:"highlight",value:function(e){var t=e.query;if(!e.panel||!t.spec.valid)return $s.p.none;for(var n=this.view,r=new Ls.f_,i=0,o=n.visibleRanges,a=o.length;i<a;i++){for(var s=o[i],l=s.from,u=s.to;i<a-1&&u>o[i+1].from-500;)u=o[++i].to;t.highlight(n.state,l,u,(function(e,t){var i=n.state.selection.ranges.some((function(n){return n.from==e&&n.to==t}));r.add(e,t,i?tc:ec)}))}return r.finish()}}]),e}(),{decorations:function(e){return e.decorations}});function rc(e){return function(t){var n=t.state.field(Ju,!1);return n&&n.query.spec.valid?e(t,n):dc(t)}}var ic=rc((function(e,t){var n=t.query,r=e.state.selection.main.to,i=n.nextMatch(e.state,r,r);if(!i)return!1;var o=Ls.jT.single(i.from,i.to),a=e.state.facet(Bu);return e.dispatch({selection:o,effects:[bc(e,i),a.scrollToMatch(o.main,e)],userEvent:"select.search"}),fc(e),!0})),oc=rc((function(e,t){var n=t.query,r=e.state,i=r.selection.main.from,o=n.prevMatch(r,i,i);if(!o)return!1;var a=Ls.jT.single(o.from,o.to),s=e.state.facet(Bu);return e.dispatch({selection:a,effects:[bc(e,o),s.scrollToMatch(a.main,e)],userEvent:"select.search"}),fc(e),!0})),ac=rc((function(e,t){var n=t.query.matchAll(e.state,1e3);return!(!n||!n.length)&&(e.dispatch({selection:Ls.jT.create(n.map((function(e){return Ls.jT.range(e.from,e.to)}))),userEvent:"select.search.matches"}),!0)})),sc=rc((function(e,t){var n=t.query,r=e.state,i=r.selection.main,o=i.from,a=i.to;if(r.readOnly)return!1;var s=n.nextMatch(r,o,o);if(!s)return!1;var l,u,c=[],h=[];if(s.from==o&&s.to==a&&(u=r.toText(n.getReplacement(s)),c.push({from:s.from,to:s.to,insert:u}),s=n.nextMatch(r,s.from,s.to),h.push($s.tk.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(o).number)+"."))),s){var f=0==c.length||c[0].from>=s.to?0:s.to-s.from-u.length;l=Ls.jT.single(s.from-f,s.to-f),h.push(bc(e,s)),h.push(r.facet(Bu).scrollToMatch(l.main,e))}return e.dispatch({changes:c,selection:l,effects:h,userEvent:"input.replace"}),!0})),lc=rc((function(e,t){var n=t.query;if(e.state.readOnly)return!1;var r=n.matchAll(e.state,1e9).map((function(e){return{from:e.from,to:e.to,insert:n.getReplacement(e)}}));if(!r.length)return!1;var i=e.state.phrase("replaced $ matches",r.length)+".";return e.dispatch({changes:r,effects:$s.tk.announce.of(i),userEvent:"input.replace.all"}),!0}));function uc(e){return e.state.facet(Bu).createPanel(e)}function cc(e,t){var n,r,i,o,a,s=e.selection.main,l=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!l)return t;var u=e.facet(Bu);return new ju({search:(null!==(n=null===t||void 0===t?void 0:t.literal)&&void 0!==n?n:u.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null===t||void 0===t?void 0:t.caseSensitive)&&void 0!==r?r:u.caseSensitive,literal:null!==(i=null===t||void 0===t?void 0:t.literal)&&void 0!==i?i:u.literal,regexp:null!==(o=null===t||void 0===t?void 0:t.regexp)&&void 0!==o?o:u.regexp,wholeWord:null!==(a=null===t||void 0===t?void 0:t.wholeWord)&&void 0!==a?a:u.wholeWord})}function hc(e){var t=(0,$s.Sd)(e,uc);return t&&t.dom.querySelector("[main-field]")}function fc(e){var t=hc(e);t&&t==e.root.activeElement&&t.select()}var dc=function(e){var t=e.state.field(Ju,!1);if(t&&t.panel){var n=hc(e);if(n&&n!=e.root.activeElement){var r=cc(e.state,t.query.spec);r.valid&&e.dispatch({effects:Gu.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[Vu.of(!0),t?Gu.of(cc(e.state,t.query.spec)):Ls.Py.appendConfig.of(Sc)]});return!0},pc=function(e){var t=e.state.field(Ju,!1);if(!t||!t.panel)return!1;var n=(0,$s.Sd)(e,uc);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Vu.of(!1)}),!0},mc=[{key:"Mod-f",run:dc,scope:"editor search-panel"},{key:"F3",run:ic,shift:oc,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:ic,shift:oc,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:pc,scope:"editor search-panel"},{key:"Mod-Shift-l",run:function(e){var t=e.state,n=e.dispatch,r=t.selection;if(r.ranges.length>1||r.main.empty)return!1;for(var i=r.main,o=i.from,a=i.to,s=[],l=0,u=new Su(t.doc,t.sliceDoc(o,a));!u.next().done;){if(s.length>1e3)return!1;u.value.from==o&&(l=s.length),s.push(Ls.jT.range(u.value.from,u.value.to))}return n(t.update({selection:Ls.jT.create(s,l),userEvent:"select.search.matches"})),!0}},{key:"Alt-g",run:function(e){var t=(0,$s.Sd)(e,_u);if(!t){var n=[Du.of(!0)];null==e.state.field(Zu,!1)&&n.push(Ls.Py.appendConfig.of([Zu,Nu])),e.dispatch({effects:n}),t=(0,$s.Sd)(e,_u)}return t&&t.dom.querySelector("input").focus(),!0}},{key:"Mod-d",run:function(e){var t=e.state,n=e.dispatch,r=t.selection.ranges;if(r.some((function(e){return e.from===e.to})))return function(e){var t=e.state,n=e.dispatch,r=t.selection,i=Ls.jT.create(r.ranges.map((function(e){return t.wordAt(e.head)||Ls.jT.cursor(e.head)})),r.mainIndex);return!i.eq(r)&&(n(t.update({selection:i})),!0)}({state:t,dispatch:n});var i=t.sliceDoc(r[0].from,r[0].to);if(t.selection.ranges.some((function(e){return t.sliceDoc(e.from,e.to)!=i})))return!1;var o=function(e,t){for(var n,r=e.selection,i=r.main,o=r.ranges,a=e.wordAt(i.head),s=a&&a.from==i.from&&a.to==i.to,l=function(n,r){if(r.next(),!r.done){if(n&&o.some((function(e){return e.from==r.value.from})))return u=n,c=r,0;if(s){var i=e.wordAt(r.value.from);if(!i||i.from!=r.value.from||i.to!=r.value.to)return u=n,c=r,0}return{v:r.value}}if(n)return{v:null};r=new Su(e.doc,t,0,Math.max(0,o[o.length-1].from-1)),u=n=!0,c=r},u=!1,c=new Su(e.doc,t,o[o.length-1].to);;)if(0!==(n=l(u,c))&&n)return n.v}(t,i);return!!o&&(n(t.update({selection:t.selection.addRange(Ls.jT.range(o.from,o.to),!1),effects:$s.tk.scrollIntoView(o.to)})),!0)},preventDefault:!0}],gc=function(){function e(t){var n=this;(0,re.Z)(this,e),this.view=t;var r=this.query=t.state.field(Ju).query.spec;function i(e,t,n){return yu("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=yu("input",{value:r.search,placeholder:vc(t,"Find"),"aria-label":vc(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=yu("input",{value:r.replace,placeholder:vc(t,"Replace"),"aria-label":vc(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=yu("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=yu("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=yu("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit}),this.dom=yu("div",{onkeydown:function(e){return n.keydown(e)},class:"cm-search"},[this.searchField,i("next",(function(){return ic(t)}),[vc(t,"next")]),i("prev",(function(){return oc(t)}),[vc(t,"previous")]),i("select",(function(){return ac(t)}),[vc(t,"all")]),yu("label",null,[this.caseField,vc(t,"match case")]),yu("label",null,[this.reField,vc(t,"regexp")]),yu("label",null,[this.wordField,vc(t,"by word")])].concat((0,ne.Z)(t.state.readOnly?[]:[yu("br"),this.replaceField,i("replace",(function(){return sc(t)}),[vc(t,"replace")]),i("replaceAll",(function(){return lc(t)}),[vc(t,"replace all")])]),[yu("button",{name:"close",onclick:function(){return pc(t)},"aria-label":vc(t,"close"),type:"button"},["\xd7"])]))}return(0,ie.Z)(e,[{key:"commit",value:function(){var e=new ju({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Gu.of(e)}))}},{key:"keydown",value:function(e){(0,$s.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?oc:ic)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),sc(this.view))}},{key:"update",value:function(e){var t,n=(0,Oe.Z)(e.transactions);try{for(n.s();!(t=n.n()).done;){var r,i=t.value,o=(0,Oe.Z)(i.effects);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.is(Gu)&&!a.value.eq(this.query)&&this.setQuery(a.value)}}catch(s){o.e(s)}finally{o.f()}}}catch(s){n.e(s)}finally{n.f()}}},{key:"setQuery",value:function(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}},{key:"mount",value:function(){this.searchField.select()}},{key:"pos",get:function(){return 80}},{key:"top",get:function(){return this.view.state.facet(Bu).top}}]),e}();function vc(e,t){return e.state.phrase(t)}var Oc=30,yc=/[\s\.,:;?!]/;function bc(e,t){var n=t.from,r=t.to,i=e.state.doc.lineAt(n),o=e.state.doc.lineAt(r).to,a=Math.max(i.from,n-Oc),s=Math.min(o,r+Oc),l=e.state.sliceDoc(a,s);if(a!=i.from)for(var u=0;u<Oc;u++)if(!yc.test(l[u+1])&&yc.test(l[u])){l=l.slice(u);break}if(s!=o)for(var c=l.length-1;c>l.length-Oc;c--)if(!yc.test(l[c-1])&&yc.test(l[c])){l=l.slice(0,c);break}return $s.tk.announce.of("".concat(e.state.phrase("current match"),". ").concat(l," ").concat(e.state.phrase("on line")," ").concat(i.number,"."))}var kc=$s.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Sc=[Ju,Ls.Wl.lowest(nc),kc],xc=n(6391),wc=(0,ie.Z)((function e(t,n,r){(0,re.Z)(this,e),this.from=t,this.to=n,this.diagnostic=r})),Tc=function(){function e(t,n,r){(0,re.Z)(this,e),this.diagnostics=t,this.panel=n,this.selected=r}return(0,ie.Z)(e,null,[{key:"init",value:function(t,n,r){var i=t,o=r.facet(Ic).markerFilter;o&&(i=o(i));var a=$s.p.set(i.map((function(e){return e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from?$s.p.widget({widget:new Bc(e),diagnostic:e}).range(e.from):$s.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity+(e.markClass?" "+e.markClass:"")},diagnostic:e}).range(e.from,e.to)})),!0);return new e(a,n,Cc(a))}}]),e}();function Cc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=null;return e.between(n,1e9,(function(e,n,i){var o=i.spec;if(!t||o.diagnostic==t)return r=new wc(e,n,o.diagnostic),!1})),r}function Ec(e,t){var n=e.startState.doc.lineAt(t.pos);return!(!e.effects.some((function(e){return e.is(Pc)}))&&!e.changes.touchesRange(n.from,n.to))}function Ac(e,t){return e.field(Zc,!1)?t:t.concat(Ls.Py.appendConfig.of(Gc))}var Pc=Ls.Py.define(),_c=Ls.Py.define(),Dc=Ls.Py.define(),Zc=Ls.QQ.define({create:function(){return new Tc($s.p.none,null,null)},update:function(e,t){if(t.docChanged){var n=e.diagnostics.map(t.changes),r=null;if(e.selected){var i=t.changes.mapPos(e.selected.from,1);r=Cc(n,e.selected.diagnostic,i)||Cc(n,null,i)}e=new Tc(n,e.panel,r)}var o,a=(0,Oe.Z)(t.effects);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.is(Pc)?e=Tc.init(s.value,e.panel,t.state):s.is(_c)?e=new Tc(e.diagnostics,s.value?zc.open:null,e.selected):s.is(Dc)&&(e=new Tc(e.diagnostics,e.panel,s.value))}}catch(l){a.e(l)}finally{a.f()}return e},provide:function(e){return[$s.mH.from(e,(function(e){return e.panel})),$s.tk.decorations.from(e,(function(e){return e.diagnostics}))]}});var Nc=$s.p.mark({class:"cm-lintRange cm-lintRange-active"});function Qc(e,t,n){var r=e.state.field(Zc).diagnostics,i=[],o=2e8,a=0;r.between(t-(n<0?1:0),t+(n>0?1:0),(function(e,r,s){var l=s.spec;t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0))&&(i.push(l.diagnostic),o=Math.min(e,o),a=Math.max(r,a))}));var s=e.state.facet(Ic).tooltipFilter;return s&&(i=s(i)),i.length?{pos:o,end:a,above:e.state.doc.lineAt(o).to<a,create:function(){return{dom:Rc(e,i)}}}:null}function Rc(e,t){return yu("ul",{class:"cm-tooltip-lint"},t.map((function(t){return Fc(e,t,!1)})))}var Mc=function(e){var t=e.state.field(Zc,!1);return!(!t||!t.panel)&&(e.dispatch({effects:_c.of(!1)}),!0)},$c=[{key:"Mod-Shift-m",run:function(e){var t=e.state.field(Zc,!1);t&&t.panel||e.dispatch({effects:Ac(e.state,[_c.of(!0)])});var n=(0,$s.Sd)(e,zc.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:function(e){var t=e.state.field(Zc,!1);if(!t)return!1;var n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!(!r.value&&(!(r=t.diagnostics.iter(0)).value||r.from==n.from&&r.to==n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],Ic=Ls.r$.define({combine:function(e){return Object.assign({sources:e.map((function(e){return e.source}))},(0,Ls.BO)(e.map((function(e){return e.config})),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:function(e,t){return e?t?function(n){return e(n)||t(n)}:e:t}}))}});function Lc(e){var t=[];if(e){var n,r=(0,Oe.Z)(e);try{e:for(r.s();!(n=r.n()).done;){for(var i=n.value.name,o=function(){var e=i[a];if(/[a-zA-Z]/.test(e)&&!t.some((function(t){return t.toLowerCase()==e.toLowerCase()})))return t.push(e),1},a=0;a<i.length;a++)if(o())continue e;t.push("")}}catch(s){r.e(s)}finally{r.f()}}return t}function Fc(e,t,n){var r,i=n?Lc(t.actions):[];return yu("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},yu("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(r=t.actions)||void 0===r?void 0:r.map((function(n,r){var o=!1,a=function(r){if(r.preventDefault(),!o){o=!0;var i=Cc(e.state.field(Zc).diagnostics,t);i&&n.apply(e,i.from,i.to)}},s=n.name,l=i[r]?s.indexOf(i[r]):-1,u=l<0?s:[s.slice(0,l),yu("u",s.slice(l,l+1)),s.slice(l+1)];return yu("button",{type:"button",class:"cm-diagnosticAction",onclick:a,onmousedown:a,"aria-label":" Action: ".concat(s).concat(l<0?"":' (access key "'.concat(i[r],')"'),".")},u)})),t.source&&yu("div",{class:"cm-diagnosticSource"},t.source))}var Bc=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e){var r;return(0,re.Z)(this,n),(r=t.call(this)).diagnostic=e,r}return(0,ie.Z)(n,[{key:"eq",value:function(e){return e.diagnostic==this.diagnostic}},{key:"toDOM",value:function(){return yu("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}]),n}($s.l9),jc=(0,ie.Z)((function e(t,n){(0,re.Z)(this,e),this.diagnostic=n,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Fc(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")})),zc=function(){function e(t){var n=this;(0,re.Z)(this,e),this.view=t,this.items=[];this.list=yu("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:function(e){if(27==e.keyCode)Mc(n.view),n.view.focus();else if(38==e.keyCode||33==e.keyCode)n.moveSelection((n.selectedIndex-1+n.items.length)%n.items.length);else if(40==e.keyCode||34==e.keyCode)n.moveSelection((n.selectedIndex+1)%n.items.length);else if(36==e.keyCode)n.moveSelection(0);else if(35==e.keyCode)n.moveSelection(n.items.length-1);else if(13==e.keyCode)n.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&n.selectedIndex>=0))return;for(var r=n.items[n.selectedIndex].diagnostic,i=Lc(r.actions),o=0;o<i.length;o++)if(i[o].toUpperCase().charCodeAt(0)==e.keyCode){var a=Cc(n.view.state.field(Zc).diagnostics,r);a&&r.actions[o].apply(t,a.from,a.to)}}e.preventDefault()},onclick:function(e){for(var t=0;t<n.items.length;t++)n.items[t].dom.contains(e.target)&&n.moveSelection(t)}}),this.dom=yu("div",{class:"cm-panel-lint"},this.list,yu("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:function(){return Mc(n.view)}},"\xd7")),this.update()}return(0,ie.Z)(e,[{key:"selectedIndex",get:function(){var e=this.view.state.field(Zc).selected;if(!e)return-1;for(var t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}},{key:"update",value:function(){var e=this,t=this.view.state.field(Zc),n=t.diagnostics,r=t.selected,i=0,o=!1,a=null;for(n.between(0,this.view.state.doc.length,(function(t,n,s){for(var l,u=s.spec,c=-1,h=i;h<e.items.length;h++)if(e.items[h].diagnostic==u.diagnostic){c=h;break}c<0?(l=new jc(e.view,u.diagnostic),e.items.splice(i,0,l),o=!0):(l=e.items[c],c>i&&(e.items.splice(i,c-i),o=!0)),r&&l.diagnostic==r.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),a=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),i++}));i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)o=!0,this.items.pop();0==this.items.length&&(this.items.push(new jc(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),o=!0),a?(this.list.setAttribute("aria-activedescendant",a.id),this.view.requestMeasure({key:this,read:function(){return{sel:a.dom.getBoundingClientRect(),panel:e.list.getBoundingClientRect()}},write:function(t){var n=t.sel,r=t.panel;n.top<r.top?e.list.scrollTop-=r.top-n.top:n.bottom>r.bottom&&(e.list.scrollTop+=n.bottom-r.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),o&&this.sync()}},{key:"sync",value:function(){var e=this.list.firstChild;function t(){var t=e;e=t.nextSibling,t.remove()}var n,r=(0,Oe.Z)(this.items);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e)}}catch(o){r.e(o)}finally{r.f()}for(;e;)t()}},{key:"moveSelection",value:function(e){if(!(this.selectedIndex<0)){var t=Cc(this.view.state.field(Zc).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Dc.of(t)})}}}],[{key:"open",value:function(t){return new e(t)}}]),e}();function Uc(e){return'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" '.concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:'viewBox="0 0 40 40"',">").concat(encodeURIComponent(e),"</svg>')")}function Yc(e){return Uc('<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="'.concat(e,'" fill="none" stroke-width=".7"/>'),'width="6" height="3"')}var Xc=$s.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Yc("#d11")},".cm-lintRange-warning":{backgroundImage:Yc("orange")},".cm-lintRange-info":{backgroundImage:Yc("#999")},".cm-lintRange-hint":{backgroundImage:Yc("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function Hc(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}$s.SJ;var Wc=Ls.Py.define(),qc=Ls.QQ.define({create:function(){return null},update:function(e,t){return e&&t.docChanged&&(e=Ec(t,e)?null:Object.assign(Object.assign({},e),{pos:t.changes.mapPos(e.pos)})),t.effects.reduce((function(e,t){return t.is(Wc)?t.value:e}),e)},provide:function(e){return $s.hJ.from(e)}}),Gc=[Zc,$s.tk.decorations.compute([Zc],(function(e){var t=e.field(Zc),n=t.selected,r=t.panel;return n&&r&&n.from!=n.to?$s.p.set([Nc.range(n.from,n.to)]):$s.p.none})),(0,$s.bF)(Qc,{hideOn:Ec}),Xc],Vc=Ls.r$.define({combine:function(e){return(0,Ls.BO)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});var Jc=function(e){void 0===e&&(e={});var t=[];!1!==e.closeBracketsKeymap&&(t=t.concat(xc.GA)),!1!==e.defaultKeymap&&(t=t.concat(vu)),!1!==e.searchKeymap&&(t=t.concat(mc)),!1!==e.historyKeymap&&(t=t.concat(gl)),!1!==e.foldKeymap&&(t=t.concat(Ns.e7)),!1!==e.completionKeymap&&(t=t.concat(xc.B1)),!1!==e.lintKeymap&&(t=t.concat($c));var n=[];return!1!==e.lineNumbers&&n.push((0,$s.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,$s.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,$s.AE)()),!1!==e.history&&n.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Ks,Js.of(e),$s.tk.domEventHandlers({beforeinput:function(e,t){var n="historyUndo"==e.inputType?tl:"historyRedo"==e.inputType?nl:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&n.push((0,Ns.mi)()),!1!==e.drawSelection&&n.push((0,$s.Uw)()),!1!==e.dropCursor&&n.push((0,$s.qr)()),!1!==e.allowMultipleSelections&&n.push(Ls.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push((0,Ns.nY)()),!1!==e.syntaxHighlighting&&n.push((0,Ns.nF)(Ns.R_,{fallback:!0})),!1!==e.bracketMatching&&n.push((0,Ns.n$)()),!1!==e.closeBrackets&&n.push((0,xc.vQ)()),!1!==e.autocompletion&&n.push((0,xc.ys)()),!1!==e.rectangularSelection&&n.push((0,$s.Zs)()),!1!==e.crosshairCursor&&n.push((0,$s.S2)()),!1!==e.highlightActiveLine&&n.push((0,$s.ZO)()),!1!==e.highlightSelectionMatches&&n.push(function(e){var t=[Fu,Lu];return e&&t.push(Ru.of(e)),t}()),e.tabSize&&"number"===typeof e.tabSize&&n.push(Ns.c.of(" ".repeat(e.tabSize))),n.concat([$s.$f.of(t.flat())]).filter(Boolean)},Kc=n(994),eh="#e5c07b",th="#e06c75",nh="#56b6c2",rh="#ffffff",ih="#abb2bf",oh="#7d8799",ah="#61afef",sh="#98c379",lh="#d19a66",uh="#c678dd",ch="#21252b",hh="#2c313a",fh="#282c34",dh="#353a42",ph="#3E4451",mh="#528bff",gh=$s.tk.theme({"&":{color:ih,backgroundColor:fh},".cm-content":{caretColor:mh},".cm-cursor, .cm-dropCursor":{borderLeftColor:mh},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ph},".cm-panels":{backgroundColor:ch,color:ih},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:fh,color:oh,border:"none"},".cm-activeLineGutter":{backgroundColor:hh},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:dh},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:dh,borderBottomColor:dh},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:hh,color:ih}}},{dark:!0}),vh=Ns.Qf.define([{tag:Kc.pJ.keyword,color:uh},{tag:[Kc.pJ.name,Kc.pJ.deleted,Kc.pJ.character,Kc.pJ.propertyName,Kc.pJ.macroName],color:th},{tag:[Kc.pJ.function(Kc.pJ.variableName),Kc.pJ.labelName],color:ah},{tag:[Kc.pJ.color,Kc.pJ.constant(Kc.pJ.name),Kc.pJ.standard(Kc.pJ.name)],color:lh},{tag:[Kc.pJ.definition(Kc.pJ.name),Kc.pJ.separator],color:ih},{tag:[Kc.pJ.typeName,Kc.pJ.className,Kc.pJ.number,Kc.pJ.changed,Kc.pJ.annotation,Kc.pJ.modifier,Kc.pJ.self,Kc.pJ.namespace],color:eh},{tag:[Kc.pJ.operator,Kc.pJ.operatorKeyword,Kc.pJ.url,Kc.pJ.escape,Kc.pJ.regexp,Kc.pJ.link,Kc.pJ.special(Kc.pJ.string)],color:nh},{tag:[Kc.pJ.meta,Kc.pJ.comment],color:oh},{tag:Kc.pJ.strong,fontWeight:"bold"},{tag:Kc.pJ.emphasis,fontStyle:"italic"},{tag:Kc.pJ.strikethrough,textDecoration:"line-through"},{tag:Kc.pJ.link,color:oh,textDecoration:"underline"},{tag:Kc.pJ.heading,fontWeight:"bold",color:th},{tag:[Kc.pJ.atom,Kc.pJ.bool,Kc.pJ.special(Kc.pJ.variableName)],color:lh},{tag:[Kc.pJ.processingInstruction,Kc.pJ.string,Kc.pJ.inserted],color:sh},{tag:Kc.pJ.invalid,color:rh}]),Oh=[gh,(0,Ns.nF)(vh)],yh=$s.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),bh=Ls.q6.define(),kh=[];function Sh(e){var t=e.value,n=e.selection,r=e.onChange,i=e.onStatistics,o=e.onCreateEditor,a=e.onUpdate,s=e.extensions,l=void 0===s?kh:s,u=e.autoFocus,c=e.theme,h=void 0===c?"light":c,f=e.height,d=void 0===f?"":f,p=e.minHeight,m=void 0===p?"":p,g=e.maxHeight,v=void 0===g?"":g,O=e.placeholder,y=void 0===O?"":O,b=e.width,k=void 0===b?"":b,S=e.minWidth,x=void 0===S?"":S,w=e.maxWidth,T=void 0===w?"":w,C=e.editable,E=void 0===C||C,A=e.readOnly,P=void 0!==A&&A,_=e.indentWithTab,D=void 0===_||_,Z=e.basicSetup,N=void 0===Z||Z,Q=e.root,R=e.initialState,M=(0,J.useState)(),$=(0,te.Z)(M,2),I=$[0],L=$[1],F=(0,J.useState)(),B=(0,te.Z)(F,2),j=B[0],z=B[1],U=(0,J.useState)(),Y=(0,te.Z)(U,2),X=Y[0],H=Y[1],W=$s.tk.theme({"&":{height:d,minHeight:m,maxHeight:v,width:k,minWidth:x,maxWidth:T},"& .cm-scroller":{height:"100% !important"}}),q=$s.tk.updateListener.of((function(e){if(e.docChanged&&"function"===typeof r&&!e.transactions.some((function(e){return e.annotation(bh)}))){var t=e.state.doc.toString();r(t,e)}i&&i(function(e){return{line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map((function(t){return e.state.sliceDoc(t.from,t.to)})),selectedText:e.state.selection.ranges.some((function(e){return!e.empty}))}}(e))})),G=function(e){void 0===e&&(e={});var t=e,n=t.indentWithTab,r=void 0===n||n,i=t.editable,o=void 0===i||i,a=t.readOnly,s=void 0!==a&&a,l=t.theme,u=void 0===l?"light":l,c=t.placeholder,h=void 0===c?"":c,f=t.basicSetup,d=void 0===f||f,p=[];switch(r&&p.unshift($s.$f.of([Ou])),d&&("boolean"===typeof d?p.unshift(Jc()):p.unshift(Jc(d))),h&&p.unshift((0,$s.W$)(h)),u){case"light":p.push(yh);break;case"dark":p.push(Oh);break;case"none":break;default:p.push(u)}return!1===o&&p.push($s.tk.editable.of(!1)),s&&p.push(Ls.yy.readOnly.of(!0)),[].concat(p)}({theme:h,editable:E,readOnly:P,placeholder:y,indentWithTab:D,basicSetup:N}),V=[q,W].concat((0,ne.Z)(G));return a&&"function"===typeof a&&V.push($s.tk.updateListener.of(a)),V=V.concat(l),(0,J.useEffect)((function(){if(I&&!X){var e={doc:t,selection:n,extensions:V},r=R?Ls.yy.fromJSON(R.json,e,R.fields):Ls.yy.create(e);if(H(r),!j){var i=new $s.tk({state:r,parent:I,root:Q});z(i),o&&o(i,r)}}return function(){j&&(H(void 0),z(void 0))}}),[I,X]),(0,J.useEffect)((function(){return L(e.container)}),[e.container]),(0,J.useEffect)((function(){return function(){j&&(j.destroy(),z(void 0))}}),[j]),(0,J.useEffect)((function(){u&&j&&j.focus()}),[u,j]),(0,J.useEffect)((function(){j&&j.dispatch({effects:Ls.Py.reconfigure.of(V)})}),[h,l,d,m,v,k,x,T,y,E,P,D,N,r,a]),(0,J.useEffect)((function(){if(void 0!==t){var e=j?j.state.doc.toString():"";j&&t!==e&&j.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[bh.of(!0)]})}}),[t,j]),{state:X,setState:H,view:j,setView:z,container:I,setContainer:L}}var xh=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],wh=(0,J.forwardRef)((function(e,t){var n=e.className,r=e.value,i=void 0===r?"":r,o=e.selection,a=e.extensions,s=void 0===a?[]:a,l=e.onChange,u=e.onStatistics,c=e.onCreateEditor,h=e.onUpdate,f=e.autoFocus,d=e.theme,p=void 0===d?"light":d,m=e.height,g=e.minHeight,v=e.maxHeight,O=e.width,y=e.minWidth,b=e.maxWidth,k=e.basicSetup,S=e.placeholder,x=e.indentWithTab,w=e.editable,T=e.readOnly,C=e.root,E=e.initialState,A=Wt(e,xh),P=(0,J.useRef)(null),_=Sh({container:P.current,root:C,value:i,autoFocus:f,theme:p,height:m,minHeight:g,maxHeight:v,width:O,minWidth:y,maxWidth:b,basicSetup:k,placeholder:S,indentWithTab:x,editable:w,readOnly:T,selection:o,onChange:l,onStatistics:u,onCreateEditor:c,onUpdate:h,extensions:s,initialState:E}),D=_.state,Z=_.view,N=_.container;if((0,J.useImperativeHandle)(t,(function(){return{editor:P.current,state:D,view:Z}}),[P,N,D,Z]),"string"!==typeof i)throw new Error("value must be typeof string but got "+typeof i);var Q="string"===typeof p?"cm-theme-"+p:"cm-theme";return(0,qt.jsx)("div",Ht({ref:P,className:Q+(n?" "+n:"")},A))}));wh.displayName="CodeMirror";var Th=wh,Ch=n(2589);function Eh(e){return e&&"object"===typeof e?"position"in e||"type"in e?Ph(e.position):"start"in e||"end"in e?Ph(e):"line"in e||"column"in e?Ah(e):"":""}function Ah(e){return _h(e&&e.line)+":"+_h(e&&e.column)}function Ph(e){return Ah(e&&e.start)+"-"+Ah(e&&e.end)}function _h(e){return e&&"number"===typeof e?e:1}var Dh=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e,r,i){var o;(0,re.Z)(this,n);var a=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(o=t.call(this),"string"===typeof r&&(i=r,r=void 0),"string"===typeof i){var l=i.indexOf(":");-1===l?a[1]=i:(a[0]=i.slice(0,l),a[1]=i.slice(l+1))}return r&&("type"in r||"position"in r?r.position&&(s=r.position):"start"in r||"end"in r?s=r:("line"in r||"column"in r)&&(s.start=r)),o.name=Eh(r)||"1:1",o.message="object"===typeof e?e.message:e,o.stack="","object"===typeof e&&e.stack&&(o.stack=e.stack),o.reason=o.message,o.fatal,o.line=s.start.line,o.column=s.start.column,o.position=s,o.source=a[0],o.ruleId=a[1],o.file,o.actual,o.expected,o.url,o.note,o}return(0,ie.Z)(n)}(he(Error));Dh.prototype.file="",Dh.prototype.name="",Dh.prototype.reason="",Dh.prototype.message="",Dh.prototype.stack="",Dh.prototype.fatal=null,Dh.prototype.column=null,Dh.prototype.line=null,Dh.prototype.source=null,Dh.prototype.ruleId=null,Dh.prototype.position=null;var Zh={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');Nh(e);var n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";var a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(Nh(e),0===e.length)return".";var t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){Nh(e);var t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){var s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(){for(var e,t=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++t<r.length;)Nh(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":function(e){Nh(e);var t=47===e.charCodeAt(0),n=function(e,t){var n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function Nh(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Qh={cwd:function(){return"/"}};function Rh(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function Mh(e){if("string"===typeof e)e=new URL(e);else if(!Rh(e)){var t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){var n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return function(e){if(""!==e.hostname){var t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}var n=e.pathname,r=-1;for(;++r<n.length;)if(37===n.charCodeAt(r)&&50===n.charCodeAt(r+1)){var i=n.charCodeAt(r+2);if(70===i||102===i){var o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(n)}(e)}var $h=["history","path","basename","stem","extname","dirname"],Ih=function(){function e(t){var n;(0,re.Z)(this,e),n=t?"string"===typeof t||function(e){return Ch(e)}(t)?{value:t}:Rh(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=Qh.cwd(),this.value,this.stored,this.result,this.map;for(var r,i=-1;++i<$h.length;){var o=$h[i];o in n&&void 0!==n[o]&&null!==n[o]&&(this[o]="history"===o?(0,ne.Z)(n[o]):n[o])}for(r in n)$h.includes(r)||(this[r]=n[r])}return(0,ie.Z)(e,[{key:"path",get:function(){return this.history[this.history.length-1]},set:function(e){Rh(e)&&(e=Mh(e)),Fh(e,"path"),this.path!==e&&this.history.push(e)}},{key:"dirname",get:function(){return"string"===typeof this.path?Zh.dirname(this.path):void 0},set:function(e){Bh(this.basename,"dirname"),this.path=Zh.join(e||"",this.basename)}},{key:"basename",get:function(){return"string"===typeof this.path?Zh.basename(this.path):void 0},set:function(e){Fh(e,"basename"),Lh(e,"basename"),this.path=Zh.join(this.dirname||"",e)}},{key:"extname",get:function(){return"string"===typeof this.path?Zh.extname(this.path):void 0},set:function(e){if(Lh(e,"extname"),Bh(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Zh.join(this.dirname,this.stem+(e||""))}},{key:"stem",get:function(){return"string"===typeof this.path?Zh.basename(this.path,this.extname):void 0},set:function(e){Fh(e,"stem"),Lh(e,"stem"),this.path=Zh.join(this.dirname||"",e+(this.extname||""))}},{key:"toString",value:function(e){return(this.value||"").toString(e||void 0)}},{key:"message",value:function(e,t,n){var r=new Dh(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}},{key:"info",value:function(e,t,n){var r=this.message(e,t,n);return r.fatal=null,r}},{key:"fail",value:function(e,t,n){var r=this.message(e,t,n);throw r.fatal=!0,r}}]),e}();function Lh(e,t){if(e&&e.includes(Zh.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Zh.sep+"`")}function Fh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Bh(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function jh(e){if(e)throw e}var zh=n(6736);function Uh(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Yh(){var e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=-1,o=n.pop();if("function"!==typeof o)throw new TypeError("Expected function as last argument, not "+o);(function t(r){var a=e[++i],s=-1;if(r)o(r);else{for(var l=arguments.length,u=new Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];for(;++s<n.length;)null!==u[s]&&void 0!==u[s]||(u[s]=n[s]);n=u,a?function(e,t){var n;return i;function i(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];var l,u=e.length>i.length;u&&i.push(o);try{l=e.apply(this,i)}catch(r){if(u&&n)throw r;return o(r)}u||(l instanceof Promise?l.then(a,o):l instanceof Error?o(l):a(l))}function o(e){if(!n){n=!0;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t.apply(void 0,[e].concat(i))}}function a(e){o(null,e)}}(a,t).apply(void 0,u):o.apply(void 0,[null].concat(u))}}).apply(void 0,[null].concat((0,ne.Z)(n)))},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}var Xh=function e(){var t,n=Yh(),r=[],i={},o=-1;return a.data=s,a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(t)return a;for(;++o<r.length;){var e=ge(r[o]),i=e[0],s=e.slice(1);if(!1!==s[0]){!0===s[0]&&(s[0]=void 0);var l=i.call.apply(i,[a].concat((0,ne.Z)(s)));"function"===typeof l&&n.use(l)}}return t=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=l,a.parse=function(e){a.freeze();var t=ef(e),n=a.Parser;if(qh("parse",n),Wh(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();var n=ef(t),r=a.Compiler;if(Gh("stringify",r),Jh(e),Wh(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,t,r){Jh(e),a.freeze(),r||"function"!==typeof t||(r=t,t=void 0);if(!r)return new Promise(i);function i(i,o){function a(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}n.run(e,ef(t),a)}i(null,r)},a.runSync=function(e,t){var n,r;return a.run(e,t,i),Kh("runSync","run",r),n;function i(e,t){jh(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),qh("process",a.Parser),Gh("process",a.Compiler),!t)return new Promise(n);function n(n,r){var i=ef(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,(function(e,t,n){if(!e&&t&&n){var r=a.stringify(t,n);void 0===r||null===r||(!function(e){return"string"===typeof e||Ch(e)}(r)?n.result=r:n.value=r),o(e,n)}else o(e)}))}n(null,t)},a.processSync=function(e){var t;a.freeze(),qh("processSync",a.Parser),Gh("processSync",a.Compiler);var n=ef(e);return a.process(n,r),Kh("processSync","process",t),n;function r(e){t=!0,jh(e)}},a;function a(){for(var t=e(),n=-1;++n<r.length;)t.use.apply(t,(0,ne.Z)(r[n]));return t.data(zh(!0,{},i)),t}function s(e,n){return"string"===typeof e?2===arguments.length?(Vh("data",t),i[e]=n,a):Hh.call(i,e)&&i[e]||null:e?(Vh("data",t),i=e,a):i}function l(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];var l;if(Vh("use",t),null===e||void 0===e);else if("function"===typeof e)f.apply(void 0,[e].concat(o));else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?h(e):c(e)}return l&&(i.settings=Object.assign(i.settings||{},l)),a;function u(e){if("function"===typeof e)f(e);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){var t=ge(e),n=t[0],r=t.slice(1);f.apply(void 0,[n].concat((0,ne.Z)(r)))}else c(e)}}function c(e){h(e.plugins),e.settings&&(l=Object.assign(l||{},e.settings))}function h(e){var t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){u(e[t])}}}function f(e,t){for(var n,i=-1;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(Uh(n[1])&&Uh(t)&&(t=zh(!0,n[1],t)),n[1]=t):r.push(Array.prototype.slice.call(arguments))}}}().freeze(),Hh={}.hasOwnProperty;function Wh(e,t){return"function"===typeof e&&e.prototype&&(function(e){var t;for(t in e)if(Hh.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function qh(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function Gh(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Vh(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Jh(e){if(!Uh(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Kh(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ef(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Ih(e)}var tf={};function nf(e,t,n){if(function(e){return Boolean(e&&"object"===typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return rf(e.children,t,n)}return Array.isArray(e)?rf(e,t,n):""}function rf(e,t,n){for(var r=[],i=-1;++i<e.length;)r[i]=nf(e[i],t,n);return r.join("")}function of(e,t,n,r){var i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice.apply(e,(0,ne.Z)(i));else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice.apply(e,(0,ne.Z)(i)),a+=1e4,t+=1e4}function af(e,t){return e.length>0?(of(e,e.length,0,t),e):t}var sf={}.hasOwnProperty;function lf(e){for(var t={},n=-1;++n<e.length;)uf(t,e[n]);return t}function uf(e,t){var n;for(n in t){var r=(sf.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],o=void 0;if(i)for(o in i){sf.call(r,o)||(r[o]=[]);var a=i[o];cf(r[o],Array.isArray(a)?a:a?[a]:[])}}}function cf(e,t){for(var n=-1,r=[];++n<t.length;)("after"===t[n].add?e:r).push(t[n]);of(e,0,0,r)}var hf=xf(/[A-Za-z]/),ff=xf(/[\dA-Za-z]/),df=xf(/[#-'*+\--9=?A-Z^-~]/);function pf(e){return null!==e&&(e<32||127===e)}var mf=xf(/\d/),gf=xf(/[\dA-Fa-f]/),vf=xf(/[!-/:-@[-`{-~]/);function Of(e){return null!==e&&e<-2}function yf(e){return null!==e&&(e<0||32===e)}function bf(e){return-2===e||-1===e||32===e}var kf=xf(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Sf=xf(/\s/);function xf(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function wf(e,t,n,r){var i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){if(bf(r))return e.enter(n),a(r);return t(r)};function a(r){return bf(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}var Tf={tokenize:function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),wf(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));return n;function r(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,i(n)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Of(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};var Cf={tokenize:function(e){var t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){var n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(a++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,t&&O();for(var n,r=i.events.length,o=r;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}v(a);for(var l=r;l<i.events.length;)i.events[l][1].end=Object.assign({},n),l++;return of(i.events,o+1,0,i.events.slice(r)),i.events.length=l,u(e)}return s(e)}function u(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=Boolean(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(Ef,c,h)(n)}function c(e){return t&&O(),v(a),f(e)}function h(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,p(e)}function f(t){return i.containerState={},e.attempt(Ef,d,p)(t)}function d(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function p(r){return null===r?(t&&O(),v(0),void e.consume(r)):(t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),m(r))}function m(t){return null===t?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(t)):Of(t)?(e.consume(t),g(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(t),m)}function g(e,o){var s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){for(var l=t.events.length;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;for(var u,c,h=i.events.length,f=h;f--;)if("exit"===i.events[f][0]&&"chunkFlow"===i.events[f][1].type){if(u){c=i.events[f][1].end;break}u=!0}for(v(a),l=h;l<i.events.length;)i.events[l][1].end=Object.assign({},c),l++;of(i.events,f+1,0,i.events.slice(h)),i.events.length=l}}function v(t){for(var n=o.length;n-- >t;){var r=o[n];i.containerState=r[1],r[0].exit.call(i,e)}o.length=t}function O(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},Ef={tokenize:function(e,t,n){return wf(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Af={tokenize:function(e,t,n){return function(t){return bf(t)?wf(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Of(e)?t(e):n(e)}},partial:!0};function Pf(e){for(var t,n,r,i,o,a,s,l={},u=-1;++u<e.length;){for(;u in l;)u=l[u];if(t=e[u],u&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[u-1][1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,_f(e,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--&&("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);n&&(t[1].end=Object.assign({},e[n][1].start),(o=e.slice(n,u)).unshift(t),of(e,n,u-n+1,o))}}return!s}function _f(e,t){for(var n,r,i=e[t][1],o=e[t][2],a=t-1,s=[],l=i._tokenizer||o.parser[i.contentType](i.start),u=l.events,c=[],h={},f=-1,d=i,p=0,m=0,g=[m];d;){for(;e[++a][1]!==d;);s.push(a),d._tokenizer||(n=o.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){var v=u.slice(g[f],g[f+1]),O=s.pop();c.unshift([O,O+v.length-1]),of(e,O,2,v)}for(f=-1;++f<c.length;)h[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return h}var Df={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):Of(t)?e.check(Zf,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Pf(e),e}},Zf={tokenize:function(e,t,n){var r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),wf(e,i,"linePrefix")};function i(i){if(null===i||Of(i))return n(i);var o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};var Nf={tokenize:function(e){var t=this,n=e.attempt(Af,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,wf(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Df,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};var Qf={resolveAll:If()},Rf=$f("string"),Mf=$f("text");function $f(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;var t=r[e],i=-1;if(t)for(;++i<t.length;){var o=t[i];if(!o.previous||o.previous.call(n,n.previous))return!0}return!1}},resolveAll:If("text"===e?Lf:void 0)}}function If(e){return function(t,n){var r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function Lf(e,t){for(var n=0;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){for(var r=e[n-1][1],i=t.sliceStream(r),o=i.length,a=-1,s=0,l=void 0;o--;){var u=i[o];if("string"===typeof u){for(a=u.length;32===u.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===u)l=!0,s++;else if(-1!==u){o++;break}}if(s){var c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function Ff(e,t,n){for(var r=[],i=-1;++i<e.length;){var o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function Bf(e,t,n){var r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],a=[],s=[],l={consume:function(e){Of(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,O()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,!0},enter:function(e,t){var n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){var t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},attempt:g((function(e,t){v(e,t.from)})),check:g(m),interrupt:g(m,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){var n,r=-1,i=[];for(;++r<e.length;){var o=e[r],a=void 0;if("string"===typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(h(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,O()},write:function(e){if(a=af(a,e),d(),null!==a[a.length-1])return[];return v(t,0),u.events=Ff(o,u.events,u),u.events}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function h(e){return function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){var s=n[0];"string"===typeof s?n[0]=s.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){var e=r;return{line:e.line,column:e.column,offset:e.offset,_index:e._index,_bufferIndex:e._bufferIndex}}function d(){for(var e;r._index<a.length;){var t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)p(t.charCodeAt(r._bufferIndex));else p(t)}}function p(e){void 0,e,c=c(e)}function m(e,t){t.restore()}function g(e,t){return function(n,i,o){var a,c,h,d;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(e){return t;function t(t){var n=null!==t&&e[t],r=null!==t&&e.null;return p([].concat((0,ne.Z)(Array.isArray(n)?n:n?[n]:[]),(0,ne.Z)(Array.isArray(r)?r:r?[r]:[])))(t)}}(n);function p(e){return a=e,c=0,0===e.length?o:m(e[c])}function m(e){return function(n){d=function(){var e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,O()}}(),h=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,g,v)(n)}}function g(t){return!0,e(h,d),i}function v(e){return!0,d.restore(),++c<a.length?m(a[c]):o}}}function v(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&of(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function O(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}var jf={name:"thematicBreak",tokenize:function(e,t,n){var r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),a(o)):i>=3&&(null===o||Of(o))?(e.exit("thematicBreak"),t(o)):n(o)}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),bf(t)?wf(e,o,"whitespace")(t):o(t))}}};var zf={name:"list",tokenize:function(e,t,n){var r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){var i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:mf(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(jf,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return mf(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Af,r.interrupt?n:u,e.attempt(Uf,h,c))}function u(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function c(t){return bf(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(Af,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,wf(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!bf(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Yf,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,wf(e,e.attempt(zf,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Uf={tokenize:function(e,t,n){var r=this;return wf(e,(function(e){var i=r.events[r.events.length-1];return!bf(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Yf={tokenize:function(e,t,n){var r=this;return wf(e,(function(e){var i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};var Xf={name:"blockQuote",tokenize:function(e,t,n){var r=this;return function(t){if(62===t){var o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return bf(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){var r=this;return function(t){if(bf(t))return wf(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return i(t)};function i(r){return e.attempt(Xf,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Hf(e,t,n,r,i,o,a,s,l){var u=l||Number.POSITIVE_INFINITY,c=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h;if(null===t||32===t||41===t||pf(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t)};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||Of(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(i){return c||null!==i&&41!==i&&!yf(i)?c<u&&40===i?(e.consume(i),c++,p):41===i?(e.consume(i),c--,p):null===i||32===i||40===i||pf(i)?n(i):(e.consume(i),92===i?m:p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Wf(e,t,n,r,i,o){var a,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(h){return l>999||null===h||91===h||93===h&&!a||94===h&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):Of(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||Of(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!bf(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function qf(e,t,n,r,i,o){var a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):Of(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),wf(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||Of(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function Gf(e,t){var n;return function r(i){if(Of(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(bf(i))return wf(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Vf(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Jf={name:"definition",tokenize:function(e,t,n){var r,i=this;return function(t){return e.enter("definition"),function(t){return Wf.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return r=Vf(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return yf(t)?Gf(e,s)(t):s(t)}function s(t){return Hf(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Kf,u,u)(t)}function u(t){return bf(t)?wf(e,c,"whitespace")(t):c(t)}function c(o){return null===o||Of(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}},Kf={tokenize:function(e,t,n){return function(t){return yf(t)?Gf(e,r)(t):n(t)};function r(t){return qf(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return bf(t)?wf(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Of(e)?t(e):n(e)}},partial:!0};var ed={name:"codeIndented",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("codeIndented"),wf(e,i,"linePrefix",5)(t)};function i(e){var t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):Of(t)?e.attempt(td,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||Of(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},td={tokenize:function(e,t,n){var r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Of(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):wf(e,o,"linePrefix",5)(t)}function o(e){var o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Of(e)?i(e):n(e)}},partial:!0};var nd={name:"headingAtx",tokenize:function(e,t,n){var r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||yf(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||Of(n)?(e.exit("atxHeading"),t(n)):bf(n)?wf(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||yf(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&of(e,o,i-o+1,[["enter",n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},t],["enter",r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},t],["exit",r,t],["exit",n,t]]);return e}};var rd={name:"setextUnderline",tokenize:function(e,t,n){var r,i=this;return function(t){var a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||a))return e.enter("setextHeadingLine"),r=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t);return n(t)};function o(t){return t===r?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),bf(t)?wf(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||Of(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){var n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);var a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};var id=["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"],od=["pre","script","style","textarea"],ad={name:"htmlFlow",tokenize:function(e,t,n){var r,i,o,a,s,l=this;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,d):63===a?(e.consume(a),r=3,l.interrupt?t:Q):hf(a)?(e.consume(a),o=String.fromCharCode(a),p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,a=0,f):hf(i)?(e.consume(i),r=4,l.interrupt?t:Q):n(i)}function h(r){return 45===r?(e.consume(r),l.interrupt?t:Q):n(r)}function f(r){var i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),6===a?l.interrupt?t:C:f):n(r)}function d(t){return hf(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||yf(a)){var s=47===a,u=o.toLowerCase();return s||i||!od.includes(u)?id.includes(o.toLowerCase())?(r=6,s?(e.consume(a),m):l.interrupt?t(a):C(a)):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?g(a):v(a)):(r=1,l.interrupt?t(a):C(a))}return 45===a||ff(a)?(e.consume(a),o+=String.fromCharCode(a),p):n(a)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:C):n(r)}function g(t){return bf(t)?(e.consume(t),g):w(t)}function v(t){return 47===t?(e.consume(t),w):58===t||95===t||hf(t)?(e.consume(t),O):bf(t)?(e.consume(t),v):w(t)}function O(t){return 45===t||46===t||58===t||95===t||ff(t)?(e.consume(t),O):y(t)}function y(t){return 61===t?(e.consume(t),b):bf(t)?(e.consume(t),y):v(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,k):bf(t)?(e.consume(t),b):S(t)}function k(t){return t===s?(e.consume(t),s=null,x):null===t||Of(t)?n(t):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||yf(t)?y(t):(e.consume(t),S)}function x(e){return 47===e||62===e||bf(e)?v(e):n(e)}function w(t){return 62===t?(e.consume(t),T):n(t)}function T(t){return null===t||Of(t)?C(t):bf(t)?(e.consume(t),T):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),_):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),Q):93===t&&5===r?(e.consume(t),N):!Of(t)||6!==r&&7!==r?null===t||Of(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),C):(e.exit("htmlFlowData"),e.check(sd,M,E)(t))}function E(t){return e.check(ld,A,M)(t)}function A(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||Of(t)?E(t):(e.enter("htmlFlowData"),C(t))}function _(t){return 45===t?(e.consume(t),Q):C(t)}function D(t){return 47===t?(e.consume(t),o="",Z):C(t)}function Z(t){if(62===t){var n=o.toLowerCase();return od.includes(n)?(e.consume(t),R):C(t)}return hf(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),Z):C(t)}function N(t){return 93===t?(e.consume(t),Q):C(t)}function Q(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),Q):C(t)}function R(t){return null===t||Of(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),R)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},sd={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Af,t,n)}},partial:!0},ld={tokenize:function(e,t,n){var r=this;return function(t){if(Of(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i;return n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};var ud={tokenize:function(e,t,n){var r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},cd={name:"codeFenced",tokenize:function(e,t,n){var r,i=this,o={tokenize:function(e,t,n){var o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),bf(t)?wf(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===r?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),bf(t)?wf(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||Of(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a=0,s=0;return function(t){return function(t){var n=i.events[i.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===r?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),bf(t)?wf(e,u,"whitespace")(t):u(t))}function u(n){return null===n||Of(n)?(e.exit("codeFencedFence"),i.interrupt?t(n):e.check(ud,d,O)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||Of(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):bf(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),wf(e,h,"whitespace")(t)):96===t&&t===r?n(t):(e.consume(t),c)}function h(t){return null===t||Of(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||Of(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===r?n(t):(e.consume(t),f)}function d(t){return e.attempt(o,O,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&bf(t)?wf(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||Of(t)?e.check(ud,d,O)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Of(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function O(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var hd=n(6166),fd={name:"characterReference",tokenize:function(e,t,n){var r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=ff,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=gf,u):(e.enter("characterReferenceValue"),r=7,i=mf,u(t))}function u(s){if(59===s&&a){var l=e.exit("characterReferenceValue");return i!==ff||(0,hd.T)(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<r?(e.consume(s),u):n(s)}}};var dd={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return vf(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};var pd={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),wf(e,t,"linePrefix")}}};var md={name:"labelEnd",tokenize:function(e,t,n){var r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){if(!r)return n(t);if(r._inactive)return c(t);return i=o.parser.defined.includes(Vf(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s};function s(t){return 40===t?e.attempt(gd,u,i?u:c)(t):91===t?e.attempt(vd,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(Od,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);var l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",u,t]],o=af(o,e.slice(r+1,r+s+3)),o=af(o,[["enter",c,t]]),o=af(o,Ff(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=af(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=af(o,e.slice(i+1)),o=af(o,[["exit",l,t]]),of(e,r,e.length,o),e},resolveAll:function(e){var t=-1;for(;++t<e.length;){var n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},gd={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return yf(t)?Gf(e,i)(t):i(t)}function i(t){return 41===t?u(t):Hf(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return yf(t)?Gf(e,s)(t):u(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?qf(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return yf(t)?Gf(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},vd={tokenize:function(e,t,n){var r=this;return function(t){return Wf.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(Vf(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Od={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};var yd={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:md.resolveAll};function bd(e){return null===e||yf(e)||Sf(e)?1:kf(e)?2:void 0}var kd={name:"attention",tokenize:function(e,t){var n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=bd(i);return function(t){return n=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===n)return e.consume(s),a;var l=e.exit("attentionSequence"),u=bd(s),c=!u||2===u&&o||r.includes(s),h=!o||2===o&&u||r.includes(i);return l._open=Boolean(42===n?c:c&&(o||!h)),l._close=Boolean(42===n?h:h&&(u||!c)),t(s)}},resolveAll:function(e,t){var n,r,i,o,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;var h=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);Sd(h,-s),Sd(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=af(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=af(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=af(l,Ff(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=af(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=af(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,of(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function Sd(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var xd={name:"autolink",tokenize:function(e,t,n){var r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return hf(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||ff(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||ff(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||pf(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),u):df(t)?(e.consume(t),l):n(t)}function u(e){return ff(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):h(n)}function h(t){if((45===t||ff(t))&&r++<63){var i=45===t?h:c;return e.consume(t),i}return n(t)}}};var wd={name:"htmlText",tokenize:function(e,t,n){var r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),O):hf(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,d):hf(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),h):Of(t)?(o=c,Z(t)):(e.consume(t),c)}function h(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?D(e):45===e?h(e):c(e)}function d(t){var r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?p:d):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):Of(t)?(o=p,Z(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):p(t)}function v(t){return null===t||62===t?D(t):Of(t)?(o=v,Z(t)):(e.consume(t),v)}function O(t){return null===t?n(t):63===t?(e.consume(t),y):Of(t)?(o=O,Z(t)):(e.consume(t),O)}function y(e){return 62===e?D(e):O(e)}function b(t){return hf(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||ff(t)?(e.consume(t),k):S(t)}function S(t){return Of(t)?(o=S,Z(t)):bf(t)?(e.consume(t),S):D(t)}function x(t){return 45===t||ff(t)?(e.consume(t),x):47===t||62===t||yf(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),D):58===t||95===t||hf(t)?(e.consume(t),T):Of(t)?(o=w,Z(t)):bf(t)?(e.consume(t),w):D(t)}function T(t){return 45===t||46===t||58===t||95===t||ff(t)?(e.consume(t),T):C(t)}function C(t){return 61===t?(e.consume(t),E):Of(t)?(o=C,Z(t)):bf(t)?(e.consume(t),C):w(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,A):Of(t)?(o=E,Z(t)):bf(t)?(e.consume(t),E):(e.consume(t),P)}function A(t){return t===r?(e.consume(t),r=void 0,_):null===t?n(t):Of(t)?(o=A,Z(t)):(e.consume(t),A)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||yf(t)?w(t):(e.consume(t),P)}function _(e){return 47===e||62===e||yf(e)?w(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function Z(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return bf(t)?wf(e,Q,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):Q(t)}function Q(t){return e.enter("htmlTextData"),o(t)}}};var Td={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:md.resolveAll};var Cd={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Of(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};var Ed,Ad,Pd,_d,Dd,Zd={name:"codeText",tokenize:function(e,t,n){var r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(i=e.enter("codeTextSequence"),r=0,u(t)):Of(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Of(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function u(n){return 96===n?(e.consume(n),r++,u):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};var Nd=(Ed={},(0,on.Z)(Ed,42,zf),(0,on.Z)(Ed,43,zf),(0,on.Z)(Ed,45,zf),(0,on.Z)(Ed,48,zf),(0,on.Z)(Ed,49,zf),(0,on.Z)(Ed,50,zf),(0,on.Z)(Ed,51,zf),(0,on.Z)(Ed,52,zf),(0,on.Z)(Ed,53,zf),(0,on.Z)(Ed,54,zf),(0,on.Z)(Ed,55,zf),(0,on.Z)(Ed,56,zf),(0,on.Z)(Ed,57,zf),(0,on.Z)(Ed,62,Xf),Ed),Qd=(0,on.Z)({},91,Jf),Rd=(Ad={},(0,on.Z)(Ad,-2,ed),(0,on.Z)(Ad,-1,ed),(0,on.Z)(Ad,32,ed),Ad),Md=(Pd={},(0,on.Z)(Pd,35,nd),(0,on.Z)(Pd,42,jf),(0,on.Z)(Pd,45,[rd,jf]),(0,on.Z)(Pd,60,ad),(0,on.Z)(Pd,61,rd),(0,on.Z)(Pd,95,jf),(0,on.Z)(Pd,96,cd),(0,on.Z)(Pd,126,cd),Pd),$d=(_d={},(0,on.Z)(_d,38,fd),(0,on.Z)(_d,92,dd),_d),Id=(Dd={},(0,on.Z)(Dd,-5,pd),(0,on.Z)(Dd,-4,pd),(0,on.Z)(Dd,-3,pd),(0,on.Z)(Dd,33,yd),(0,on.Z)(Dd,38,fd),(0,on.Z)(Dd,42,kd),(0,on.Z)(Dd,60,[xd,wd]),(0,on.Z)(Dd,91,Td),(0,on.Z)(Dd,92,[Cd,dd]),(0,on.Z)(Dd,93,md),(0,on.Z)(Dd,95,kd),(0,on.Z)(Dd,96,Zd),Dd),Ld={null:[kd,Qf]},Fd={null:[42,95]},Bd={null:[]};var jd=/[\0\t\n\r]/g;function zd(e,t){var n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}var Ud=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yd(e){return e.replace(Ud,Xd)}function Xd(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){var r=n.charCodeAt(1),i=120===r||88===r;return zd(n.slice(i?2:1),i?16:10)}return(0,hd.T)(n)||e}var Hd={}.hasOwnProperty,Wd=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){var t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ne),autolinkProtocol:E,autolinkEmail:E,atxHeading:s(J),blockQuote:s(H),characterEscape:E,characterReference:E,codeFenced:s(W),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(W,l),codeText:s(q,l),codeTextData:E,data:E,codeFlowValue:E,definition:s(G),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(V),hardBreakEscape:s(K),hardBreakTrailing:s(K),htmlFlow:s(ee,l),htmlFlowData:E,htmlText:s(ee,l),htmlTextData:E,image:s(te),label:l,link:s(ne),listItem:s(ie),listItemValue:p,listOrdered:s(re,d),listUnordered:s(re),paragraph:s(oe),reference:B,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(J),strong:s(ae),thematicBreak:s(le)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:X,autolinkProtocol:Y,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:c(O),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:A,codeIndented:c(y),codeText:c(N),codeTextData:A,data:A,definition:c(),definitionDestinationString:S,definitionLabelString:b,definitionTitleString:k,emphasis:c(),hardBreakEscape:c(_),hardBreakTrailing:c(_),htmlFlow:c(D),htmlFlowData:A,htmlText:c(Z),htmlTextData:A,image:c(R),label:$,labelText:M,lineEnding:P,link:c(Q),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:j,resourceDestinationString:I,resourceTitleString:L,resource:F,setextHeading:c(C),setextHeadingLineSequence:T,setextHeadingText:w,strong:c(),thematicBreak:c()}};Gd(t,(e||{}).mdastExtensions||[]);var n={};return r;function r(e){for(var n={type:"root",children:[]},r={stack:[n],tokenStack:[],config:t,enter:u,exit:h,buffer:l,resume:f,setData:o,getData:a},s=[],c=-1;++c<e.length;){if("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)if("enter"===e[c][0])s.push(c);else c=i(e,s.pop(),c)}for(c=-1;++c<e.length;){var d=t[e[c][0]];Hd.call(d,e[c][1].type)&&d[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},r),e[c][1])}if(r.tokenStack.length>0){var p=r.tokenStack[r.tokenStack.length-1];(p[1]||Jd).call(r,void 0,p[0])}for(n.position={start:qd(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:qd(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)n=t.transforms[c](n)||n;return n}function i(e,t,n){for(var r,i,o,a,s=t-1,l=-1,u=!1;++s<=n;){var c=e[s];if("listUnordered"===c[1].type||"listOrdered"===c[1].type||"blockQuote"===c[1].type?("enter"===c[0]?l++:l--,a=void 0):"lineEndingBlank"===c[1].type?"enter"===c[0]&&(!r||a||l||o||(o=s),a=void 0):"linePrefix"===c[1].type||"listItemValue"===c[1].type||"listItemMarker"===c[1].type||"listItemPrefix"===c[1].type||"listItemPrefixWhitespace"===c[1].type||(a=void 0),!l&&"enter"===c[0]&&"listItemPrefix"===c[1].type||-1===l&&"exit"===c[0]&&("listUnordered"===c[1].type||"listOrdered"===c[1].type)){if(r){var h=s;for(i=void 0;h--;){var f=e[h];if("lineEnding"===f[1].type||"lineEndingBlank"===f[1].type){if("exit"===f[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),f[1].type="lineEnding",i=h}else if("linePrefix"!==f[1].type&&"blockQuotePrefix"!==f[1].type&&"blockQuotePrefixWhitespace"!==f[1].type&&"blockQuoteMarker"!==f[1].type&&"listItemIndent"!==f[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:c[1].end),e.splice(i||s,0,["exit",r,c[2]]),s++,n++}"listItemPrefix"===c[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},c[1].start),end:void 0},e.splice(s,0,["enter",r,c[2]]),s++,n++,o=void 0,a=!0)}}return e[t][1]._spread=u,n}function o(e,t){n[e]=t}function a(e){return n[e]}function s(e,t){return n;function n(n){u.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:qd(t.start)},e}function c(e){return t;function t(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){var n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Eh({start:e.start,end:e.end})+"): it\u2019s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Jd).call(this,e,r[0])),n.position.end=qd(e.end),n}function f(){return function(e,t){var n=t||tf;return nf(e,"boolean"!==typeof n.includeImageAlt||n.includeImageAlt,"boolean"!==typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function d(){o("expectingFirstListItemValue",!0)}function p(e){a("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))}function m(){var e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){var e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function O(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function y(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Vf(this.sliceSerialize(e)).toLowerCase()}function k(){var e=this.resume();this.stack[this.stack.length-1].title=e}function S(){var e=this.resume();this.stack[this.stack.length-1].url=e}function x(e){var t=this.stack[this.stack.length-1];if(!t.depth){var n=this.sliceSerialize(e).length;t.depth=n}}function w(){o("setextHeadingSlurpLineEnding",!0)}function T(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function C(){o("setextHeadingSlurpLineEnding")}function E(e){var t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n=se()).position={start:qd(e.start)},t.children.push(n)),this.stack.push(n)}function A(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=qd(e.end)}function P(e){var n=this.stack[this.stack.length-1];if(a("atHardBreak"))return n.children[n.children.length-1].position.end=qd(e.end),void o("atHardBreak");!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(E.call(this,e),A.call(this,e))}function _(){o("atHardBreak",!0)}function D(){var e=this.resume();this.stack[this.stack.length-1].value=e}function Z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function N(){var e=this.resume();this.stack[this.stack.length-1].value=e}function Q(){var e=this.stack[this.stack.length-1];if(a("inReference")){var t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function R(){var e=this.stack[this.stack.length-1];if(a("inReference")){var t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}function M(e){var t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Yd(t),n.identifier=Vf(t).toLowerCase()}function $(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){var r=e.children;n.children=r}else n.alt=t}function I(){var e=this.resume();this.stack[this.stack.length-1].url=e}function L(){var e=this.resume();this.stack[this.stack.length-1].title=e}function F(){o("inReference")}function B(){o("referenceType","collapsed")}function j(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Vf(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function z(e){o("characterReferenceType",e.type)}function U(e){var t,n=this.sliceSerialize(e),r=a("characterReferenceType");r?(t=zd(n,"characterReferenceMarkerNumeric"===r?10:16),o("characterReferenceType")):t=(0,hd.T)(n);var i=this.stack.pop();i.value+=t,i.position.end=qd(e.end)}function Y(e){A.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function X(e){A.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function H(){return{type:"blockquote",children:[]}}function W(){return{type:"code",lang:null,meta:null,value:""}}function q(){return{type:"inlineCode",value:""}}function G(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function V(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:void 0,children:[]}}function K(){return{type:"break"}}function ee(){return{type:"html",value:""}}function te(){return{type:"image",title:null,url:"",alt:null}}function ne(){return{type:"link",title:null,url:"",children:[]}}function re(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ie(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function oe(){return{type:"paragraph",children:[]}}function ae(){return{type:"strong",children:[]}}function se(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Pf(e););return e}(function(e){var t=e||{},n={defined:[],lazy:{},constructs:lf([r].concat((0,ne.Z)(t.extensions||[]))),content:i(Tf),document:i(Cf),flow:i(Nf),string:i(Rf),text:i(Mf)};return n;function i(e){return function(t){return Bf(n,e,t)}}}(n).document().write(function(){var e,t=1,n="",r=!0;return function(i,o,a){var s,l,u,c,h,f=[];for(i=n+i.toString(o),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(jd.lastIndex=u,c=(s=jd.exec(i))&&void 0!==s.index?s.index:i.length,h=i.charCodeAt(c),!s){n=i.slice(u);break}if(10===h&&u===c&&e)f.push(-3),e=void 0;else switch(e&&(f.push(-5),e=void 0),u<c&&(f.push(i.slice(u,c)),t+=c-u),h){case 0:f.push(65533),t++;break;case 9:for(l=4*Math.ceil(t/4),f.push(-2);t++<l;)f.push(-1);break;case 10:f.push(-4),t=1;break;default:e=!0,t=1}u=c+1}return a&&(e&&f.push(-5),n&&f.push(n),f.push(null)),f}}()(e,t,!0))))};function qd(e){return{line:e.line,column:e.column,offset:e.offset}}function Gd(e,t){for(var n=-1;++n<t.length;){var r=t[n];Array.isArray(r)?Gd(e,r):Vd(e,r)}}function Vd(e,t){var n;for(n in t)if(Hd.call(t,n))if("canContainEols"===n){var r,i=t[n];if(i)(r=e[n]).push.apply(r,(0,ne.Z)(i))}else if("transforms"===n){var o,a=t[n];if(a)(o=e[n]).push.apply(o,(0,ne.Z)(a))}else if("enter"===n||"exit"===n){var s=t[n];s&&Object.assign(e[n],s)}}function Jd(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Eh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Eh({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Eh({start:t.start,end:t.end})+") is still open")}function Kd(e){var t=this;Object.assign(this,{Parser:function(n){var r=t.data("settings");return Wd(n,Object.assign({},r,e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}})}function ep(e){for(var t=[],n=-1,r=0,i=0;++n<e.length;){var o=e.charCodeAt(n),a="";if(37===o&&ff(e.charCodeAt(n+1))&&ff(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){var s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="\ufffd"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}var tp=function(e){if(void 0===e||null===e)return ip;if("string"===typeof e)return function(e){return rp(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?np(e):function(e){return rp(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return rp(e);throw new Error("Expected function, string, or object as test")};function np(e){for(var t=[],n=-1;++n<e.length;)t[n]=tp(e[n]);return rp((function(){for(var e=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;){var o;if((o=t[e]).call.apply(o,[this].concat(r)))return!0}return!1}))}function rp(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Boolean(t&&"object"===typeof t&&"type"in t&&Boolean(e.call.apply(e,[this,t].concat(r))))}}function ip(){return!0}var op=!1,ap="skip",sp=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);var i=tp(t),o=r?-1:1;!function e(a,s,l){var u=a&&"object"===typeof a?a:{};if("string"===typeof u.type){var c="string"===typeof u.tagName?u.tagName:"string"===typeof u.name?u.name:void 0;Object.defineProperty(h,"name",{value:"node ("+a.type+(c?"<"+c+">":"")+")"})}return h;function h(){var u,c,h,f=[];if((!t||i(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,l)),f[0]===op))return f;if(a.children&&f[0]!==ap)for(c=(r?a.children.length:-1)+o,h=l.concat(a);c>-1&&c<a.children.length;){if((u=e(a.children[c],c,h)())[0]===op)return u;c="number"===typeof u[1]?u[1]:c+o}return f}}(e,void 0,[])()};var lp=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),sp(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},up=hp("start"),cp=hp("end");function hp(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}var fp={}.hasOwnProperty;function dp(e){return String(e||"").toUpperCase()}function pp(e,t){var n,r=String(t.identifier).toUpperCase(),i=ep(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);var a=e.footnoteCounts[r],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);var l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function mp(e,t){var n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};var i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});var a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function gp(e){var t=e.spread;return void 0===t||null===t?e.children.length>1:t}var vp=9,Op=32;function yp(e){for(var t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];r;)o.push(bp(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(bp(t.slice(i),i>0,!1)),o.join("")}function bp(e,t,n){var r=0,i=e.length;if(t)for(var o=e.codePointAt(r);o===vp||o===Op;)r++,o=e.codePointAt(r);if(n)for(var a=e.codePointAt(i-1);a===vp||a===Op;)i--,a=e.codePointAt(i-1);return i>r?e.slice(r,i):""}var kp={blockquote:function(e,t){var n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){var n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){var n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);var o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){var n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){var n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:pp,footnote:function(e,t){for(var n=e.footnoteById,r=1;r in n;)r++;var i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},pp(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){var n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){var n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){var n=e.definition(t.identifier);if(!n)return mp(e,t);var r={src:ep(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);var i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){var n={src:ep(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);var r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){var n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);var r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){var n=e.definition(t.identifier);if(!n)return mp(e,t);var r={href:ep(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);var i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){var n={href:ep(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);var r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){var r=e.all(t),i=n?function(e){var t=!1;if("list"===e.type){t=e.spread||!1;for(var n=e.children,r=-1;!t&&++r<n.length;)t=gp(n[r])}return t}(n):gp(t),o={},a=[];if("boolean"===typeof t.checked){var s,l=r[0];l&&"element"===l.type&&"p"===l.tagName?s=l:(s={type:"element",tagName:"p",properties:{},children:[]},r.unshift(s)),s.children.length>0&&s.children.unshift({type:"text",value:" "}),s.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}for(var u=-1;++u<r.length;){var c=r[u];(i||0!==u||"element"!==c.type||"p"!==c.tagName)&&a.push({type:"text",value:"\n"}),"element"!==c.type||"p"!==c.tagName||i?a.push(c):a.push.apply(a,(0,ne.Z)(c.children))}var h=r[r.length-1];h&&(i||"element"!==h.type||"p"!==h.tagName)&&a.push({type:"text",value:"\n"});var f={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,f),e.applyData(t,f)},list:function(e,t){var n={},r=e.all(t),i=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){var o=r[i];if("element"===o.type&&"li"===o.tagName&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}var a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){var n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){var n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){var n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){var n=e.all(t),r=n.shift(),i=[];if(r){var o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){var a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=up(t.children[1]),l=cp(t.children[t.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),i.push(a)}var u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)},tableCell:function(e,t){var n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){for(var r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,s=-1,l=[];++s<a;){var u=t.children[s],c={},h=o?o[s]:void 0;h&&(c.align=h);var f={type:"element",tagName:i,properties:c,children:[]};u&&(f.children=e.all(u),e.patch(u,f),f=e.applyData(t,f)),l.push(f)}var d={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,d),e.applyData(t,d)},text:function(e,t){var n={type:"text",value:yp(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){var n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Sp,yaml:Sp,definition:Sp,footnoteDefinition:Sp};function Sp(){return null}var xp={}.hasOwnProperty;function wp(e,t){var n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers=(0,rn.Z)((0,rn.Z)({},kp),n.handlers),a.definition=function(e){var t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return lp(e,"definition",(function(e){var n=dp(e.identifier);n&&!fp.call(t,n)&&(t[n]=e)})),function(e){var n=dp(e);return n&&fp.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Tp,a.applyData=Cp,a.one=function(e,t){return Ep(a,e,t)},a.all=function(e){return Ap(a,e)},a.wrap=Pp,a.augment=o,lp(e,"footnoteDefinition",(function(e){var t=String(e.identifier).toUpperCase();xp.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){var n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=(0,rn.Z)((0,rn.Z)({},t.properties),n.hProperties)),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){var r="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(r)||(t.position={start:up(r),end:cp(r)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Tp(e,t){e.position&&(t.position=function(e){return{start:up(e),end:cp(e)}}(e))}function Cp(e,t){var n=t;if(e&&e.data){var r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;"string"===typeof r&&("element"===n.type?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),"element"===n.type&&o&&(n.properties=(0,rn.Z)((0,rn.Z)({},n.properties),o)),"children"in n&&n.children&&null!==i&&void 0!==i&&(n.children=i)}return n}function Ep(e,t,n){var r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return xp.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?(0,rn.Z)((0,rn.Z)({},t),{},{children:Ap(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){var n=t.data||{},r=!("value"in t)||xp.call(n,"hProperties")||xp.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:Ap(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function Ap(e,t){var n=[];if("children"in t)for(var r=t.children,i=-1;++i<r.length;){var o=Ep(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){var a=o.children[0];a&&"text"===a.type&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(o)?n.push.apply(n,(0,ne.Z)(o)):n.push(o)}}return n}function Pp(e,t){var n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function _p(e,t){var n=wp(e,t),r=n.one(e,null),i=function(e){for(var t=[],n=-1;++n<e.footnoteOrder.length;){var r=e.footnoteById[e.footnoteOrder[n]];if(r){for(var i=e.all(r),o=String(r.identifier).toUpperCase(),a=ep(o.toLowerCase()),s=0,l=[];++s<=e.footnoteCounts[o];){var u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&u.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(u)}var c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){var h,f=c.children[c.children.length-1];f&&"text"===f.type?f.value+=" ":c.children.push({type:"text",value:" "}),(h=c.children).push.apply(h,l)}else i.push.apply(i,l);var d={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,d),t.push(d)}}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:(0,rn.Z)((0,rn.Z)({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{},{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var Dp=function(e,t){return e&&"run"in e?function(e,t){return function(n,r,i){e.run(_p(n,t),r,(function(e){i(e)}))}}(e,t):function(e){return function(t){return _p(t,e)}}(e||t)};var Zp=n(4317),Np=n(2092);function Qp(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return function(t){lp(t,"element",(function(t,n,r){var i,o=r;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"===typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"===typeof n){var a;if(e.unwrapDisallowed&&t.children)(a=o.children).splice.apply(a,[n,1].concat((0,ne.Z)(t.children)));else o.children.splice(n,1);return n}}))}}var Rp=n(8325);function Mp(e){var t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var $p=n(1003),Ip={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"},Lp=n(6370),Fp=n(8522),Bp=n(9290),jp=["http","https","mailto","tel"];function zp(e){var t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;var r=t.indexOf(":");if(-1===r)return t;for(var i=-1;++i<jp.length;){var o=jp[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return-1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}var Up={}.hasOwnProperty,Yp=new Set(["table","thead","tbody","tfoot","tr"]);function Xp(e,t){for(var n,r=[],i=-1;++i<t.children.length;)"element"===(n=t.children[i]).type?r.push(Hp(e,n,i,t)):"text"===n.type?"element"===t.type&&Yp.has(t.tagName)&&Mp(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Hp(e,t,n,r){var i,o=e.options,a=void 0===o.transformLinkUri?zp:o.transformLinkUri,s=e.schema,l=t.tagName,u={},c=s;if("html"===s.space&&"svg"===l&&(c=Np.YP,e.schema=c),t.properties)for(i in t.properties)Up.call(t.properties,i)&&qp(u,i,t.properties[i],e);"ol"!==l&&"ul"!==l||e.listDepth++;var h=Xp(e,t);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=s;var f,d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},p=o.components&&Up.call(o.components,l)?o.components[l]:l,m="string"===typeof p||p===J.Fragment;if(!Rp.isValidElementType(p))throw new TypeError("Component for name `".concat(l,"` not defined or is not renderable"));if(u.key=n,"a"===l&&o.linkTarget&&(u.target="function"===typeof o.linkTarget?o.linkTarget(String(u.href||""),t.children,"string"===typeof u.title?u.title:null):o.linkTarget),"a"===l&&a&&(u.href=a(String(u.href||""),t.children,"string"===typeof u.title?u.title:null)),m||"code"!==l||"element"!==r.type||"pre"===r.tagName||(u.inline=!0),m||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(u.level=Number.parseInt(l.charAt(1),10)),"img"===l&&o.transformImageUri&&(u.src=o.transformImageUri(String(u.src||""),String(u.alt||""),"string"===typeof u.title?u.title:null)),!m&&"li"===l&&"element"===r.type){var g=function(e){var t=-1;for(;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);u.checked=g&&g.properties?Boolean(g.properties.checked):null,u.index=Wp(r,t),u.ordered="ol"===r.tagName}return m||"ol"!==l&&"ul"!==l||(u.ordered="ol"===l,u.depth=e.listDepth),"td"!==l&&"th"!==l||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),m||(u.isHeader="th"===l)),m||"tr"!==l||"element"!==r.type||(u.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(u["data-sourcepos"]=[(f=d).start.line,":",f.start.column,"-",f.end.line,":",f.end.column].map(String).join("")),!m&&o.rawSourcePos&&(u.sourcePosition=t.position),!m&&o.includeElementIndex&&(u.index=Wp(r,t),u.siblingCount=Wp(r)),m||(u.node=t),h.length>0?J.createElement(p,u,h):J.createElement(p,u)}function Wp(e,t){for(var n=-1,r=0;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function qp(e,t,n,r){var i=(0,$p.s)(r.schema,t),o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?(0,Fp.P)(o):(0,Lp.P)(o)),"style"===i.property&&"string"===typeof o&&(o=function(e){var t={};try{Bp(e,n)}catch(r){}return t;function n(e,n){var r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,Gp)]=n}}(o)),i.space&&i.property?e[Up.call(Ip,i.property)?Ip[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function Gp(e,t){return t.toUpperCase()}var Vp={}.hasOwnProperty,Jp={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Kp(e){for(var t in Jp)if(Vp.call(Jp,t)&&Vp.call(e,t)){var n=Jp[t];console.warn("[react-markdown] Warning: please ".concat(n.to?"use `".concat(n.to,"` instead of"):"remove"," `").concat(t,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(n.id,"> for more info)")),delete Jp[t]}var r=Xh().use(Kd).use(e.remarkPlugins||[]).use(Dp,(0,rn.Z)((0,rn.Z)({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Qp,e),i=new Ih;"string"===typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var o=r.runSync(r.parse(i),i);if("root"!==o.type)throw new TypeError("Expected a `root` node");var a=J.createElement(J.Fragment,{},Xp({options:e,schema:Np.dy,listDepth:0},o));return e.className&&(a=J.createElement("div",{className:e.className},a)),a}Kp.propTypes={children:Zp.string,className:Zp.string,allowElement:Zp.func,allowedElements:Zp.arrayOf(Zp.string),disallowedElements:Zp.arrayOf(Zp.string),unwrapDisallowed:Zp.bool,remarkPlugins:Zp.arrayOf(Zp.oneOfType([Zp.object,Zp.func,Zp.arrayOf(Zp.oneOfType([Zp.bool,Zp.string,Zp.object,Zp.func,Zp.arrayOf(Zp.any)]))])),rehypePlugins:Zp.arrayOf(Zp.oneOfType([Zp.object,Zp.func,Zp.arrayOf(Zp.oneOfType([Zp.bool,Zp.string,Zp.object,Zp.func,Zp.arrayOf(Zp.any)]))])),sourcePos:Zp.bool,rawSourcePos:Zp.bool,skipHtml:Zp.bool,includeElementIndex:Zp.bool,transformLinkUri:Zp.oneOfType([Zp.func,Zp.bool]),linkTarget:Zp.oneOfType([Zp.func,Zp.string]),transformImageUri:Zp.func,components:Zp.object};for(var em={tokenize:function(e,t,n){var r=0;return function t(o){if((87===o||119===o)&&r<3)return r++,e.consume(o),t;if(46===o&&3===r)return e.consume(o),i;return n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},tm={tokenize:function(e,t,n){var r,i,o;return a;function a(t){return 46===t||95===t?e.check(rm,l,s)(t):null===t||yf(t)||Sf(t)||45!==t&&kf(t)?l(t):(o=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),a}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},nm={tokenize:function(e,t){var n=0,r=0;return i;function i(a){return 40===a?(n++,e.consume(a),i):41===a&&r<n?o(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(rm,t,o)(a):null===a||yf(a)||Sf(a)?t(a):(e.consume(a),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},rm={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),o):93===a?(e.consume(a),i):60===a||null===a||yf(a)||Sf(a)?t(a):n(a)}function i(e){return null===e||40===e||91===e||yf(e)||Sf(e)?t(e):r(e)}function o(e){return hf(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):hf(t)?(e.consume(t),a):n(t)}},partial:!0},im={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return ff(e)?n(e):t(e)}},partial:!0},om={tokenize:function(e,t,n){var r=this;return function(t){if(87!==t&&119!==t||!hm.call(r,r.previous)||mm(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(em,e.attempt(tm,e.attempt(nm,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:hm},am={tokenize:function(e,t,n){var r=this,i="",o=!1;return function(t){if((72===t||104===t)&&fm.call(r,r.previous)&&!mm(r.events))return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),a;return n(t)};function a(t){if(hf(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),a;if(58===t){var r=i.toLowerCase();if("http"===r||"https"===r)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):n(t)}function l(t){return null===t||pf(t)||yf(t)||Sf(t)||kf(t)?n(t):e.attempt(tm,e.attempt(nm,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:fm},sm={tokenize:function(e,t,n){var r,i,o=this;return function(t){if(!pm(t)||!dm.call(o,o.previous)||mm(o.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return pm(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(im,u,l)(t):45===t||95===t||ff(t)?(i=!0,e.consume(t),s):u(t)}function l(t){return e.consume(t),r=!0,s}function u(a){return i&&r&&hf(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:dm},lm={},um={text:lm},cm=48;cm<123;)lm[cm]=sm,58===++cm?cm=65:91===cm&&(cm=97);function hm(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||yf(e)}function fm(e){return!hf(e)}function dm(e){return!(47===e||pm(e))}function pm(e){return 43===e||45===e||46===e||95===e||ff(e)}function mm(e){for(var t=e.length,n=!1;t--;){var r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}lm[43]=sm,lm[45]=sm,lm[46]=sm,lm[95]=sm,lm[72]=[sm,am],lm[104]=[sm,am],lm[87]=[sm,om],lm[119]=[sm,om];var gm={tokenize:function(e,t,n){var r=this;return wf(e,(function(e){var i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function vm(){var e;return{document:(0,on.Z)({},91,{tokenize:km,continuation:{tokenize:Sm},exit:xm}),text:(e={},(0,on.Z)(e,91,{tokenize:bm}),(0,on.Z)(e,93,{add:"after",tokenize:Om,resolveTo:ym}),e)}}function Om(e,t,n){for(var r,i=this,o=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);o--;){var s=i.events[o][1];if("labelImage"===s.type){r=s;break}if("gfmFootnoteCall"===s.type||"labelLink"===s.type||"label"===s.type||"image"===s.type||"link"===s.type)break}return function(o){if(!r||!r._balanced)return n(o);var s=Vf(i.sliceSerialize({start:r.end,end:i.now()}));if(94!==s.codePointAt(0)||!a.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ym(e,t){for(var n=e.length;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";var r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;var o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice.apply(e,[n,e.length-n+1].concat(s)),e}function bm(e,t,n){var r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!r||null===s||91===s||yf(s))return n(s);if(93===s){e.exit("chunkString");var c=e.exit("gfmFootnoteCallString");return o.includes(Vf(i.sliceSerialize(c)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return yf(s)||(r=!0),a++,e.consume(s),92===s?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function km(e,t,n){var r,i,o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!i||null===t||91===t||yf(t))return n(t);if(93===t){e.exit("chunkString");var a=e.exit("gfmFootnoteDefinitionLabelString");return r=Vf(o.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return yf(t)||(i=!0),s++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(r)||a.push(r),wf(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function Sm(e,t,n){return e.check(Af,t,e.attempt(gm,t,n))}function xm(e){e.exit("gfmFootnoteDefinition")}function wm(e){var t=(e||{}).singleTilde,n={tokenize:function(e,n,r){var i=this.previous,o=this.events,a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){var l=bd(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);var u=e.exit("strikethroughSequenceTemporary"),c=bd(o);return u._open=!c||2===c&&Boolean(l),u._close=!l||2===l&&Boolean(c),n(o)}},resolveAll:function(e,t){var n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close)for(var r=n;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";var i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&of(a,a.length,0,Ff(s,e.slice(r+1,n),t)),of(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),of(e,r-1,n-r+3,a),n=r+a.length-2;break}n=-1;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null!==t&&void 0!==t||(t=!0),{text:(0,on.Z)({},126,n),insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}var Tm=function(){function e(){(0,re.Z)(this,e),this.map=[]}return(0,ie.Z)(e,[{key:"add",value:function(e,t,n){!function(e,t,n,r){var i=0;if(0===n&&0===r.length)return;for(;i<e.map.length;){var o;if(e.map[i][0]===t)return e.map[i][1]+=n,void(o=e.map[i][2]).push.apply(o,(0,ne.Z)(r));i+=1}e.map.push([t,n,r])}(this,e,t,n)}},{key:"consume",value:function(e){if(this.map.sort((function(e,t){return e[0]-t[0]})),0!==this.map.length){for(var t=this.map.length,n=[];t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push((0,ne.Z)(e)),e.length=0;for(var r=n.pop();r;)e.push.apply(e,(0,ne.Z)(r)),r=n.pop();this.map.length=0}}}]),e}();function Cm(e,t){for(var n=!1,r=[];t<e.length;){var i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){var o=r.length-1;r[o]="left"===r[o]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}var Em={flow:{null:{tokenize:function(e,t,n){var r,i=this,o=0,a=0;return function(e){var t=i.events.length-1;for(;t>-1;){var r=i.events[t][1].type;if("lineEnding"!==r&&"linePrefix"!==r)break;t--}var o=t>-1?i.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?b:s;if(a===b&&i.parser.lazy[i.now().line])return n(e);return a(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return l(e);return r=!0,a+=1,l(e)}(t)}function l(t){return null===t?n(t):Of(t)?a>1?(a=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):bf(t)?wf(e,l,"whitespace")(t):(a+=1,r&&(r=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||yf(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function h(t){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(t):(e.enter("tableDelimiterRow"),r=!1,bf(t)?wf(e,f,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?p(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):y(t)}function d(t){return bf(t)?wf(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||Of(t)?O(t):y(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return bf(t)?wf(e,O,"whitespace")(t):O(t)}function O(n){return 124===n?f(n):(null===n||Of(n))&&r&&o===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function b(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||Of(n)?(e.exit("tableRow"),t(n)):bf(n)?wf(e,k,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||yf(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?x:S)}function x(t){return 92===t||124===t?(e.consume(t),S):S(t)}},resolveAll:function(e,t){var n,r,i,o=-1,a=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,h=0,f=new Tm;for(;++o<e.length;){var d=e[o],p=d[1];"enter"===d[0]?"tableHead"===p.type?(c=!1,0!==h&&(Pm(f,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",n,t]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(a=!0,i=void 0,l=[0,0,0,0],u=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===p.type?2:r?3:1):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type?"tableCellDivider"===p.type&&(a?a=!1:(0!==l[1]&&(u[0]=u[1],i=Am(f,t,l,s,void 0,i)),u=[(l=u)[1],o,0,0])):(a=!1,0===u[2]&&(0!==l[1]&&(u[0]=u[1],i=Am(f,t,l,s,void 0,i),l=[0,0,0,0]),u[2]=o)):"tableHead"===p.type?(c=!0,h=o):"tableRow"===p.type||"tableDelimiterRow"===p.type?(h=o,0!==l[1]?(u[0]=u[1],i=Am(f,t,l,s,o,i)):0!==u[1]&&(i=Am(f,t,u,s,o,i)),s=0):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type||(u[3]=o)}0!==h&&Pm(f,t,h,n,r);f.consume(t.events),o=-1;for(;++o<t.events.length;){var m=t.events[o];"enter"===m[0]&&"table"===m[1].type&&(m[1]._align=Cm(t.events,o))}return e}}}};function Am(e,t,n,r,i,o){var a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},_m(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));var s=_m(t.events,n[1]);if(o={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){var l=_m(t.events,n[2]),u=_m(t.events,n[3]),c={type:"tableContent",start:Object.assign({},l),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",c,t]]),2!==r){var h=t.events[n[2]],f=t.events[n[3]];if(h[1].end=Object.assign({},f[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){var d=n[2]+1,p=n[3]-n[2]-1;e.add(d,p,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return void 0!==i&&(o.end=Object.assign({},_m(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Pm(e,t,n,r,i){var o=[],a=_m(t.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,t])),r.end=Object.assign({},a),o.push(["exit",r,t]),e.add(n+1,0,o)}function _m(e,t){var n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}var Dm={tokenize:function(e,t,n){var r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return yf(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return Of(r)?t(r):bf(r)?e.check({tokenize:Nm},t,n)(r):n(r)}}},Zm={text:(0,on.Z)({},91,Dm)};function Nm(e,t,n){return wf(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function Qm(e,t){var n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");for(var r=0,i=n.indexOf(t);-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}var Rm={}.hasOwnProperty,Mm=function(e,t,n,r){var i,o;"string"===typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});for(var a=tp(i.ignore||[]),s=function(e){var t=[];if("object"!==typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e))for(var n=-1;++n<e.length;)t.push([$m(e[n][0]),Im(e[n][1])]);else{var r;for(r in e)Rm.call(e,r)&&t.push([$m(r),Im(e[r])])}return t}(o),l=-1;++l<s.length;)sp(e,"text",u);return e;function u(e,t){for(var n,r=-1;++r<t.length;){var i=t[r];if(a(i,n?n.children.indexOf(i):void 0,n))return;n=i}if(n)return function(e,t){var n=t[t.length-1],r=s[l][0],i=s[l][1],o=0,a=n.children.indexOf(e),u=!1,c=[];r.lastIndex=0;var h=r.exec(e.value);for(;h;){var f=h.index,d={index:h.index,input:h.input,stack:[].concat((0,ne.Z)(t),[e])},p=i.apply(void 0,(0,ne.Z)(h).concat([d]));if("string"===typeof p&&(p=p.length>0?{type:"text",value:p}:void 0),!1!==p){var m;if(o!==f&&c.push({type:"text",value:e.value.slice(o,f)}),Array.isArray(p))(m=c).push.apply(m,(0,ne.Z)(p));else p&&c.push(p);o=f+h[0].length,u=!0}if(!r.global)break;h=r.exec(e.value)}if(u){var g;o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),(g=n.children).splice.apply(g,[a,1].concat((0,ne.Z)(c)))}else c=[e];return a+c.length}(e,t)}};function $m(e){return"string"===typeof e?new RegExp(function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Im(e){return"function"===typeof e?e:function(){return e}}var Lm="phrasing",Fm=["autolink","link","image","label"],Bm={transforms:[function(e){Mm(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Um],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Ym]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:zm,literalAutolinkHttp:zm,literalAutolinkWww:zm},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);var t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},jm={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lm,notInConstruct:Fm},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lm,notInConstruct:Fm},{character:":",before:"[ps]",after:"\\/",inConstruct:Lm,notInConstruct:Fm}]};function zm(e){this.config.enter.autolinkProtocol.call(this,e)}function Um(e,t,n,r,i){var o="";if(!Xm(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){var t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;var a=function(e){var t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);var n=t[0],r=n.indexOf(")"),i=Qm(e,"("),o=Qm(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!a[0])return!1;var s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Ym(e,t,n,r){return!(!Xm(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Xm(e,t){var n=e.input.charCodeAt(e.index-1);return(0===e.index||Sf(n)||kf(n))&&(!t||47!==n)}function Hm(e){return e.label||!e.identifier?e.label||"":Yd(e.identifier)}function Wm(e,t,n,r){for(var i=r.join.length;i--;){var o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"===typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}var qm=/\r?\n|\r/g;function Gm(e){if(!e._compiled){var t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Vm(e,t){return Jm(e,t.inConstruct,!0)&&!Jm(e,t.notInConstruct,!1)}function Jm(e,t,n){if("string"===typeof t&&(t=[t]),!t||0===t.length)return n;for(var r=-1;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Km(e,t,n){for(var r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={},s=-1;++s<e.unsafe.length;){var l=e.unsafe[s];if(Vm(e.stack,l))for(var u=Gm(l),c=void 0;c=u.exec(r);){var h="before"in l||Boolean(l.atBreak),f="after"in l,d=c.index+(h?c[1].length:0);i.includes(d)?(a[d].before&&!h&&(a[d].before=!1),a[d].after&&!f&&(a[d].after=!1)):(i.push(d),a[d]={before:h,after:f})}}i.sort(eg);var p=n.before?n.before.length:0,m=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){var g=i[s];g<p||g>=m||(g+1<m&&i[s+1]===g+1&&a[g].after&&!a[g+1].before&&!a[g+1].after||i[s-1]===g-1&&a[g].before&&!a[g-1].before&&!a[g-1].after||(p!==g&&o.push(tg(r.slice(p,g),"\\")),p=g,!/[!-/:-@[-`{-~]/.test(r.charAt(g))||n.encode&&n.encode.includes(r.charAt(g))?(o.push("&#x"+r.charCodeAt(g).toString(16).toUpperCase()+";"),p++):o.push("\\")))}return o.push(tg(r.slice(p,m),n.after)),o.join("")}function eg(e,t){return e-t}function tg(e,t){for(var n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],a=e+t,s=-1,l=0;n=r.exec(a);)i.push(n.index);for(;++s<i.length;)l!==i[s]&&o.push(e.slice(l,i[s])),o.push("\\"),l=i[s];return o.push(e.slice(l)),o.join("")}function ng(e){var t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){var t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return i+=n.length-1,o=1===n.length?o+a.length:1+a.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function rg(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ig(){this.buffer()}function og(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Vf(this.sliceSerialize(e)).toLowerCase()}function ag(e){this.exit(e)}function sg(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function lg(){this.buffer()}function ug(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Vf(this.sliceSerialize(e)).toLowerCase()}function cg(e){this.exit(e)}function hg(e,t,n,r){var i=ng(r),o=i.move("[^"),a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(Km(n,Hm(e),(0,rn.Z)((0,rn.Z)({},i.current()),{},{before:o,after:"]"}))),s(),a(),o+=i.move("]")}function fg(e,t,n,r){var i=ng(r),o=i.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(Km(n,Hm(e),(0,rn.Z)((0,rn.Z)({},i.current()),{},{before:o,after:"]"}))),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(function(e,t){for(var n,r=[],i=0,o=0;n=qm.exec(e);)a(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return a(e.slice(i)),r.join("");function a(e){r.push(t(e,o,!e))}}(function(e,t,n){var r=t.indexStack,i=e.children||[],o=t.createTracker(n),a=[],s=-1;for(r.push(-1);++s<i.length;){var l=i[s];r[r.length-1]=s,a.push(o.move(t.handle(l,e,t,(0,rn.Z)({before:"\n",after:"\n"},o.current())))),"list"!==l.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(Wm(l,i[s+1],e,t)))}return r.pop(),a.join("")}(e,n,i.current()),dg)),a(),o}function dg(e,t,n){return 0===t?e:(n?"":" ")+e}function pg(e,t,n){var r=t.indexStack,i=e.children||[],o=[],a=-1,s=n.before;r.push(-1);for(var l=t.createTracker(n);++a<i.length;){var u=i[a],c=void 0;if(r[r.length-1]=a,a+1<i.length){var h=t.handle.handlers[i[a+1].type];h&&h.peek&&(h=h.peek),c=h?h(i[a+1],e,t,(0,rn.Z)({before:"",after:""},l.current())).charAt(0):""}else c=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(l=t.createTracker(n)).move(o.join(""))),o.push(l.move(t.handle(u,e,t,(0,rn.Z)((0,rn.Z)({},l.current()),{},{before:s,after:c})))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}hg.peek=function(){return"["};vg.peek=function(){return"~"};var mg={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},gg={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:vg}};function vg(e,t,n,r){var i=ng(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=pg(e,n,(0,rn.Z)((0,rn.Z)({},i.current()),{},{before:a,after:"~"})),a+=i.move("~~"),o(),a}function Og(e,t,n){for(var r=e.value||"",i="`",o=-1;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){var a=n.unsafe[o],s=Gm(a),l=void 0;if(a.atBreak)for(;l=s.exec(r);){var u=l.index;10===r.charCodeAt(u)&&13===r.charCodeAt(u-1)&&u--,r=r.slice(0,u)+" "+r.slice(l.index+1)}}return i+r+i}function yg(e){return null===e||void 0===e?"":String(e)}function bg(e){return e.length}function kg(e){var t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Og.peek=function(){return"`"};var Sg={enter:{table:function(e){var t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.setData("inTable",!0)},tableData:wg,tableHeader:wg,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Tg));var n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:xg,tableHeader:xg,tableRow:xg}};function xg(e){this.exit(e)}function wg(e){this.enter({type:"tableCell",children:[]},e)}function Tg(e,t){return"|"===t?t:e}function Cg(e){var t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){var r=e.children,i=-1,o=[],a=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return a(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){var i=l(e,n,r),o=s([i]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){var r=Og(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n,r){var i=n.enter("tableCell"),a=n.enter("phrasing"),s=pg(e,n,(0,rn.Z)((0,rn.Z)({},r),{},{before:o,after:o}));return a(),i(),s}function s(e,t){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t.align||[]).concat(),r=t.stringLength||bg,i=[],o=[],a=[],s=[],l=0,u=-1;++u<e.length;){var c=[],h=[],f=-1;for(e[u].length>l&&(l=e[u].length);++f<e[u].length;){var d=yg(e[u][f]);if(!1!==t.alignDelimiters){var p=r(d);h[f]=p,(void 0===s[f]||p>s[f])&&(s[f]=p)}c.push(d)}o[u]=c,a[u]=h}var m=-1;if("object"===typeof n&&"length"in n)for(;++m<l;)i[m]=kg(n[m]);else for(var g=kg(n);++m<l;)i[m]=g;m=-1;for(var v=[],O=[];++m<l;){var y=i[m],b="",k="";99===y?(b=":",k=":"):108===y?b=":":114===y&&(k=":");var S=!1===t.alignDelimiters?1:Math.max(1,s[m]-b.length-k.length),x=b+"-".repeat(S)+k;!1!==t.alignDelimiters&&((S=b.length+S+k.length)>s[m]&&(s[m]=S),O[m]=S),v[m]=x}o.splice(1,0,v),a.splice(1,0,O),u=-1;for(var w=[];++u<o.length;){var T=o[u],C=a[u];m=-1;for(var E=[];++m<l;){var A=T[m]||"",P="",_="";if(!1!==t.alignDelimiters){var D=s[m]-(C[m]||0),Z=i[m];114===Z?P=" ".repeat(D):99===Z?D%2?(P=" ".repeat(D/2+.5),_=" ".repeat(D/2-.5)):_=P=" ".repeat(D/2):_=" ".repeat(D)}!1===t.delimiterStart||m||E.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===A||!1===t.delimiterStart&&!m||E.push(" "),!1!==t.alignDelimiters&&E.push(P),E.push(A),!1!==t.alignDelimiters&&E.push(_),!1!==t.padding&&E.push(" "),!1===t.delimiterEnd&&m===l-1||E.push("|")}w.push(!1===t.delimiterEnd?E.join("").replace(/ +$/,""):E.join(""))}return w.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){for(var r=e.children,i=-1,o=[],s=t.enter("tableRow");++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function Eg(e,t,n,r){var i=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"===typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);var a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));var s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);var l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e}));return l(),u}var Ag={exit:{taskListCheckValueChecked:_g,taskListCheckValueUnchecked:_g,paragraph:function(e){var t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"===typeof t.checked){var n=this.stack[this.stack.length-1],r=n.children[0];if(r&&"text"===r.type){for(var i,o=t.children,a=-1;++a<o.length;){var s=o[a];if("paragraph"===s.type){i=s;break}}i===n&&(r.value=r.value.slice(1),0===r.value.length?n.children.shift():n.position&&r.position&&"number"===typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},Pg={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){var i=e.children[0],o="boolean"===typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=ng(r);o&&s.move(a);var l=Eg(e,t,n,(0,rn.Z)((0,rn.Z)({},r),s.current()));o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return l}}};function _g(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Dg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return lf([um,vm(),wm(e),Em,Zm])}(e)),n("fromMarkdownExtensions",[Bm,{enter:{gfmFootnoteDefinition:rg,gfmFootnoteDefinitionLabelString:ig,gfmFootnoteCall:sg,gfmFootnoteCallString:lg},exit:{gfmFootnoteDefinition:ag,gfmFootnoteDefinitionLabelString:og,gfmFootnoteCall:cg,gfmFootnoteCallString:ug}},mg,Sg,Ag]),n("toMarkdownExtensions",function(e){return{extensions:[jm,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:fg,footnoteReference:hg}},gg,Cg(e),Pg]}}(e))}var Zg=n(1775),Ng=(0,n(1865).v)(Np.YP,"g",["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"]),Qg=n(8372);var Rg={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/"},Mg={}.hasOwnProperty,$g=Object.prototype;function Ig(e,t){var n;switch(t.nodeName){case"#comment":return Fg(e,t,n={type:"comment",value:t.data}),n;case"#document":case"#document-fragment":var r=t,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Lg(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){var o=String(e.file),a=function(e){for(var t=String(e),n=[],r=/\r?\n|\r/g;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){var t=-1;if("number"===typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){var t=e&&e.line,r=e&&e.column;if("number"===typeof t&&"number"===typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){var i=(n[t-2]||0)+r-1||0;if(i>-1&&i<n[n.length-1])return i}return-1}}}(o),s=a.toPoint(0),l=a.toPoint(o.length);n.position={start:s,end:l}}return n;case"#documentType":return Fg(e,t,n={type:"doctype"}),n;case"#text":return Fg(e,t,n={type:"text",value:t.value}),n;default:return n=function(e,t){var n=e.schema;e.schema=t.namespaceURI===Rg.svg?Np.YP:Np.dy;var r=-1,i={};for(;++r<t.attrs.length;){var o=t.attrs[r],a=(o.prefix?o.prefix+":":"")+o.name;Mg.call($g,a)||(i[a]=o.value)}var s="svg"===e.schema.space?Ng:Qg.h,l=s(t.tagName,i,Lg(e,t.childNodes));if(Fg(e,t,l),"template"===l.tagName){var u=t,c=u.sourceCodeLocation,h=c&&c.startTag&&Bg(c.startTag),f=c&&c.endTag&&Bg(c.endTag),d=Ig(e,u.content);h&&f&&e.file&&(d.position={start:h.end,end:f.start}),l.content=d}return e.schema=n,l}(e,t),n}}function Lg(e,t){for(var n=-1,r=[];++n<t.length;)r[n]=Ig(e,t[n]);return r}function Fg(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){var r=function(e,t,n){var r=Bg(n);if("element"===t.type){var i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){var o,a={};if(n.attrs)for(o in n.attrs)Mg.call(n.attrs,o)&&(a[(0,$p.s)(e.schema,o).property]=Bg(n.attrs[o]));t.data={position:{opening:Bg(n.startTag),closing:n.endTag?Bg(n.endTag):null,properties:a}}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Bg(e){var t=jg({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=jg({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function jg(e){return e.line&&e.column?e:void 0}var zg={}.hasOwnProperty;function Ug(e,t){var n=t||{};function r(t){var n=r.invalid,i=r.handlers;if(t&&zg.call(t,e)){var o=String(t[e]);n=zg.call(i,o)?i[o]:r.unknown}if(n){for(var a,s=arguments.length,l=new Array(s>1?s-1:0),u=1;u<s;u++)l[u-1]=arguments[u];return(a=n).call.apply(a,[this,t].concat(l))}}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Yg={}.hasOwnProperty,Xg=Ug("type",{handlers:{root:function(e,t){var n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Wg(e.children,n,t),qg(e,n),n},element:function(e,t){var n=t,r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=Np.YP);var i,o=[];if(e.properties)for(i in e.properties)if("children"!==i&&Yg.call(e.properties,i)){var a=Hg(r,i,e.properties[i]);a&&o.push(a)}var s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:Rg[r.space],childNodes:[],parentNode:void 0};s.childNodes=Wg(e.children,s,r),qg(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){var n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Wg(e.children,n,t),qg(e,n),n}(e.content,r));return s},text:function(e){var t={nodeName:"#text",value:e.value,parentNode:void 0};return qg(e,t),t},comment:function(e){var t={nodeName:"#comment",data:e.value,parentNode:void 0};return qg(e,t),t},doctype:function(e){var t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return qg(e,t),t}}});function Hg(e,t,n){var r=(0,$p.s)(e,t);if(!(void 0===n||null===n||!1===n||"number"===typeof n&&Number.isNaN(n)||!n&&r.boolean)){Array.isArray(n)&&(n=r.commaSeparated?(0,Fp.P)(n):(0,Lp.P)(n));var i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){var o=i.name.indexOf(":");o<0?i.prefix="":(i.name=i.name.slice(o+1),i.prefix=r.attribute.slice(0,o)),i.namespace=Rg[r.space]}return i}}function Wg(e,t,n){var r=-1,i=[];if(e)for(;++r<e.length;){var o=Xg(e[r],n);o.parentNode=t,i.push(o)}return i}function qg(e,t){var n=e.position;n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var Gg=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],Vg="END_TAG_TOKEN",Jg={sourceCodeLocationInfo:!0,scriptingEnabled:!1},Kg=function e(t,n,r){var i,o,a,s,l,u=-1,c=new Zg(Jg),h=Ug("type",{handlers:{root:function(e){d(e.children)},element:function(e){g(),c._processInputToken(ev(e)),d(e.children),Gg.includes(e.tagName)||(g(),c._processInputToken(function(e){var t=Object.assign(rv(e));return t.startTag=Object.assign({},t),{type:Vg,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){g(),c._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:rv(e)})},comment:p,doctype:function(e){g(),c._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:rv(e)})},raw:function(e){var t=up(e),n=t.line||1,r=t.column||1,i=t.offset||0;if(!a)throw new Error("Expected `preprocessor`");if(!o)throw new Error("Expected `tokenizer`");if(!s)throw new Error("Expected `posTracker`");if(!l)throw new Error("Expected `locationTracker`");a.html=void 0,a.pos=-1,a.lastGapPos=-1,a.lastCharPos=-1,a.gapStack=[],a.skipNextNewLine=!1,a.lastChunkWritten=!1,a.endOfChunkHit=!1,s.isEol=!1,s.lineStartPos=1-r,s.droppedBufferSize=i,s.offset=0,s.col=1,s.line=n,l.currentAttrLocation=void 0,l.ctLoc=rv(e),o.write(e.value),c._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===o.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===o.state)&&(a.lastChunkWritten=!0,o[o.state](o._consume()))}},unknown:nv});if(function(e){return Boolean(e&&!("message"in e&&"messages"in e))}(n)&&(r=n,n=void 0),r&&r.passThrough)for(;++u<r.passThrough.length;)h.handlers[r.passThrough[u]]=m;var f=function(e,t){var n,r,i=t||{};return function(e){return"messages"in e}(i)?(r=i,n={}):(r=i.file||void 0,n=i),Ig({schema:"svg"===n.space?Np.YP:Np.dy,file:r,verbose:n.verbose,location:!1},e)}(function(e){var t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(t)?function(){var e=c.treeAdapter.createDocument();if(c._bootstrap(e,void 0),!(o=c.tokenizer))throw new Error("Expected `tokenizer`");return a=o.preprocessor,l=o.__mixins[0],s=l.posTracker,h(t),g(),e}():function(){var e={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Rg.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Rg.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(c._bootstrap(n,e),c._pushTmplInsertionMode("IN_TEMPLATE_MODE"),c._initTokenizerForFragmentParsing(),c._insertFakeRootElement(),c._resetInsertionMode(),c._findFormInFragmentContext(),!(o=c.tokenizer))throw new Error("Expected `tokenizer`");return a=o.preprocessor,l=o.__mixins[0],s=l.posTracker,h(t),g(),c._adoptNodes(n.childNodes[0],r),r}(),n);return i&&lp(f,"comment",(function(e,t,n){var r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==t.type&&"root"===f.type&&1===f.children.length?f.children[0]:f;function d(e){var t=-1;if(e)for(;++t<e.length;)h(e[t])}function p(e){g(),c._processInputToken({type:"COMMENT_TOKEN",data:e.value,location:rv(e)})}function m(t){i=!0,p({type:"comment",value:{stitch:"children"in t?(0,rn.Z)((0,rn.Z)({},t),{},{children:e({type:"root",children:t.children},n,r).children}):(0,rn.Z)({},t)}})}function g(){if(!o)throw new Error("Expected `tokenizer`");if(!s)throw new Error("Expected `posTracker`");var e=o.currentCharacterToken;e&&(e.location.endLine=s.line,e.location.endCol=s.col+1,e.location.endOffset=s.offset+1,c._processInputToken(e)),o.tokenQueue=[],o.state="DATA_STATE",o.returnState="",o.charRefCode=-1,o.tempBuff=[],o.lastStartTagName="",o.consumedAfterSnapshot=-1,o.active=!1,o.currentCharacterToken=void 0,o.currentToken=void 0,o.currentAttr=void 0}};function ev(e){var t=Object.assign(rv(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:tv(e),location:t}}function tv(e){return function(e,t){var n=t&&"object"===typeof t?t.space:t;return Xg(e,"svg"===n?Np.YP:Np.dy)}({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function nv(e){throw new Error("Cannot compile `"+e.type+"` node")}function rv(e){var t=up(e),n=cp(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function iv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return Kg(t,n,e)}}var ov=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,av=Object.hasOwnProperty,sv=function(){function e(){(0,re.Z)(this,e),this.occurrences,this.reset()}return(0,ie.Z)(e,[{key:"slug",value:function(e,t){for(var n=this,r=function(e,t){if("string"!==typeof e)return"";t||(e=e.toLowerCase());return e.replace(ov,"").replace(/ /g,"-")}(e,!0===t),i=r;av.call(n.occurrences,r);)n.occurrences[i]++,r=i+"-"+n.occurrences[i];return n.occurrences[r]=0,r}},{key:"reset",value:function(){this.occurrences=Object.create(null)}}]),e}();var lv={}.hasOwnProperty;function uv(e,t){var n="string"===typeof t&&function(e){return Boolean(e&&"object"===typeof e&&"type"in e)}(e)&&"element"===e.type&&e.properties&&lv.call(e.properties,t)&&e.properties[t];return null!==n&&void 0!==n&&!1!==n}function cv(e){var t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",n=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}function hv(e){return"children"in e?dv(e):"value"in e?e.value:""}function fv(e){return"text"===e.type?e.value:"children"in e?dv(e):""}function dv(e){for(var t=-1,n=[];++t<e.children.length;)n[t]=fv(e.children[t]);return n.join("")}var pv=new sv;function mv(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).prefix||"";return function(t){pv.reset(),lp(t,"element",(function(t){cv(t)&&t.properties&&!uv(t,"id")&&(t.properties.id=e+pv.slug(hv(t)))}))}}var gv=function(e){if(void 0===e||null===e)return yv;if("string"===typeof e)return function(e){return t;function t(t){return yv(t)&&t.tagName===e}}(e);if("object"===typeof e)return vv(e);if("function"===typeof e)return Ov(e);throw new Error("Expected function, string, or array as test")};function vv(e){for(var t=[],n=-1;++n<e.length;)t[n]=gv(e[n]);return Ov((function(){for(var e=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;){var o;if((o=t[e]).call.apply(o,[this].concat(r)))return!0}return!1}))}function Ov(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return yv(t)&&Boolean(e.call.apply(e,[this,t].concat(r)))}}function yv(e){return Boolean(e&&"object"===typeof e&&"element"===e.type&&"string"===typeof e.tagName)}var bv={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]};function kv(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties,r=t.behaviour||t.behavior||"prepend",i=t.content||bv,o=t.group,a=gv(t.test);return"wrap"===r?e=function(e){return e.children=[u(e,zh(!0,{},n),e.children)],[ap]}:"before"===r||"after"===r?e=function(e,t,a){var c;if("number"!==typeof t||!a)return;var h=u(e,zh(!0,{},n),s(i,e)),f="before"===r?[h,e]:[e,h];if(o){var d=l(o,e);d&&!Array.isArray(d)&&"element"===d.type&&(d.children=f,f=[d])}return(c=a.children).splice.apply(c,[t,1].concat((0,ne.Z)(f))),[ap,t+f.length]}:(n||(n={ariaHidden:"true",tabIndex:-1}),e=function(e){return e.children["prepend"===r?"unshift":"push"](u(e,zh(!0,{},n),s(i,e))),[ap]}),function(t){lp(t,"element",(function(t,n,r){if(cv(t)&&uv(t,"id")&&a(t,n,r))return e(t,n,r)}))};function s(e,t){var n=l(e,t);return Array.isArray(n)?n:[n]}function l(e,t){return"function"===typeof e?e(t):zh(!0,Array.isArray(e)?[]:{},e)}function u(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:n}}}var Sv=function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>1?arguments[1]:void 0;i<t.length;)if(i++,n){var o=t[i];if(o&&o.value&&""!==o.value.replace(/(\n|\s)/g,"")||t[i]&&"element"===t[i].type)return o.tagName===n?o:void 0}else{var a=t[i];if(!a||"element"===a.type)return;if("text"===a.type&&""!==a.value.replace(/(\n|\s)/g,""))return;if(a.type&&/^(comment|raw)$/gi.test(a.type)){if(a.value&&!/^rehype:/.test(a.value.replace(/^(\s+)?<!--(.*?)-->/,"$2")||""))return;if(r){if(e(t,i,"pre",r))return;return a.value=(a.value||"").replace(/^(\n|\s)+/,""),a}return a.value=(a.value||"").replace(/^(\n|\s)+/,""),a}}},xv=function(e){var t=e.value,n=function(){return((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((function(e,t){return e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e}),{})}((void 0===t?"":t).replace(/^<!--(.*?)-->/,"$1").replace(/^rehype:/,""));return Object.keys(n).forEach((function(e){"true"===n[e]&&(n[e]=!0),"false"===n[e]&&(n[e]=!1),"string"!==typeof n[e]||/^0/.test(n[e])||isNaN(+n[e])||(n[e]=+n[e])})),n},wv=function(e,t,n){return"string"===n?(0,rn.Z)((0,rn.Z)({},e),{},{"data-config":JSON.stringify((0,rn.Z)((0,rn.Z)({},t),{},{rehyp:!0}))}):"attr"===n?(0,rn.Z)((0,rn.Z)({},e),t):(0,rn.Z)((0,rn.Z)({},e),{},{"data-config":(0,rn.Z)((0,rn.Z)({},t),{},{rehyp:!0})})},Tv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.properties,n=void 0===t?"data":t,r=e.codeBlockParames,i=void 0===r||r;return function(e){lp(e,"element",(function(e,t,r){if(i&&"pre"===e.tagName&&e&&Array.isArray(e.children)&&r&&Array.isArray(r.children)&&r.children.length>1){var o=e.children[0];if(o&&"code"===o.tagName&&"number"===typeof t){var a=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;t>-1;){if(!e[--t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(r.children,t);if(a){var s=xv(a);Object.keys(s).length>0&&(e.properties=(0,rn.Z)((0,rn.Z)({},e.properties),{"data-type":"rehyp"}),o.properties=wv(o.properties,s,n))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&r&&Array.isArray(r.children)&&"number"===typeof t){var l=Sv(r.children,t,"",i);if(l){var u=xv(l);Object.keys(u).length>0&&(e.properties=wv(e.properties,u,n))}}}))}},Cv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.openDelimiter,n=void 0===t?"rehype:ignore:start":t,r=e.closeDelimiter,i=void 0===r?"rehype:ignore:end":r;return function(e){lp(e,(function(e,t,r){if("element"===e.type||"root"===e.type){var o=!1;e.children=e.children.filter((function(e){if("raw"===e.type||"comment"===e.type){var t=(e.value||"").trim();if((t=t.replace(/^<!--(.*?)-->/,"$1"))===n)return o=!0,!1;if(t===i)return o=!1,!1}return!o}))}}))}},Ev={}.hasOwnProperty,Av=function(e,t,n){var r=tp(n||t),i=t&&"object"===typeof t&&"cascade"in t?t.cascade:void 0,o=void 0===i||null===i||i;return function e(t,n,i){var a=[];if(!r(t,n,i))return null;if(t.children){for(var s=-1;++s<t.children.length;){var l=e(t.children[s],s,t);l&&a.push(l)}if(o&&t.children.length>0&&0===a.length)return null}var u,c={};for(u in t)Ev.call(t,u)&&(c[u]="children"===u?a:t[u]);return c}(e)},Pv=n(7392),_v=n(9686),Dv=n(2352);function Zv(){Zv=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=new RegExp(e,r);return t.set(o,i||t.get(e)),Nv(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var o=0;void 0===e[i[o]]&&o+1<i.length;)o++;t[n]=e[i[o]]}return t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nv(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=r(n,this);var i=n.indices;i&&(i.groups=r(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},Zv.apply(this,arguments)}function Nv(e,t){return Nv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nv(e,t)}function Qv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rv(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Qv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qv(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Mv=function(e){return function(t){return void 0===t&&(t={}),function(e,t){if(t&&!e.registered(t))throw new Error('The default language "'+t+'" is not registered with refractor.')}(e,t.defaultLanguage),function(e){lp(e,"element",n)};function n(n,r,i){var o,a;if(i&&"pre"===i.tagName&&"code"===n.tagName){var s=(null==n||null==(o=n.data)?void 0:o.meta)||(null==n||null==(a=n.properties)?void 0:a.metastring)||"";n.properties.className?"boolean"==typeof n.properties.className?n.properties.className=[]:Array.isArray(n.properties.className)||(n.properties.className=[n.properties.className]):n.properties.className=[];var l,u,c=function(e){for(var t,n=Rv(e.properties.className);!(t=n()).done;){var r=t.value;if("language-"===r.slice(0,9))return r.slice(9).toLowerCase()}return null}(n);if(!c&&t.defaultLanguage&&n.properties.className.push("language-"+(c=t.defaultLanguage)),n.properties.className.push("code-highlight"),c)try{var h,f;f=null!=(h=c)&&h.includes("diff-")?c.split("-")[1]:c,l=e.highlight(hv(n),f),i.properties.className=(i.properties.className||[]).concat("language-"+f)}catch(b){if(!t.ignoreMissing||!/Unknown language/.test(b.message))throw b;l=n}else l=n;l.children=(u=1,function e(t){return t.reduce((function(t,n){if("text"===n.type){var r=n.value,i=(r.match(/\n/g)||"").length;if(0===i)n.position={start:{line:u,column:1},end:{line:u,column:1}},t.push(n);else for(var o,a=r.split("\n"),s=Rv(a.entries());!(o=s()).done;){var l=o.value,c=l[0],h=l[1];t.push({type:"text",value:c===a.length-1?h:h+"\n",position:{start:{line:u+c,column:1},end:{line:u+c,column:1}}})}return u+=i,t}if(Object.prototype.hasOwnProperty.call(n,"children")){var f=u;return n.children=e(n.children),t.push(n),n.position={start:{line:f,column:1},end:{line:u,column:1}},t}return t.push(n),t}),[])})(l.children),l.position=l.children.length>0?{start:{line:l.children[0].position.start.line,column:0},end:{line:l.children[l.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var d,p=function(e){var t=/{([\d,-]+)}/,n=e.split(",").map((function(e){return e.trim()})).join();if(t.test(n)){var r=t.exec(n)[1],i=Pv(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(s),m=function(e){var t=Zv(/showLineNumbers=(\d+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(s),g=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]={type:"element",tagName:"span",properties:{className:[]},children:[]};return t}(l.position.end.line),v=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],O=function(){var e,n,r=d.value,i=r[0],o=r[1];o.properties.className=["code-line"];var a=Av(l,(function(e){return e.position.start.line<=i+1&&e.position.end.line>=i+1}));o.children=a.children,!s.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||v.some((function(e){return s.toLowerCase().includes(e)}))||(o.properties.line=[(i+m).toString()],o.properties.className.push("line-number")),p(i)&&o.properties.className.push("highlight-line"),("diff"===c||null!=(e=c)&&e.includes("diff-"))&&"-"===hv(o).substring(0,1)?o.properties.className.push("deleted"):("diff"===c||null!=(n=c)&&n.includes("diff-"))&&"+"===hv(o).substring(0,1)&&o.properties.className.push("inserted")},y=Rv(g.entries());!(d=y()).done;)O();g.length>0&&""===hv(g[g.length-1]).trim()&&g.pop(),n.children=g}}}},$v=(Mv(_v.$),Mv(Dv.$)),Iv="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",Lv="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",Fv=new RegExp("^[^"+Lv+"]*["+Iv+"]"),Bv=new RegExp("^[^"+Iv+"]*["+Lv+"]");function jv(e){var t=function(e){var t=String(e||"");return Fv.test(t)?"rtl":Bv.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function zv(e){var t="element"===e.type&&e.properties&&"string"===typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}var Uv=Ug("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,n){return uv(t,n.property)},handlers:{"=":function(e,t,n){return Boolean(uv(t,n.property)&&t.properties&&Yv(t.properties[n.property],n)===e.value)},"~=":function(e,t,n){var r=t.properties&&t.properties[n.property];return!n.commaSeparated&&r&&"object"===typeof r&&e.value&&r.includes(e.value)||uv(t,n.property)&&Yv(r,n)===e.value},"|=":function(e,t,n){var r=Yv(t.properties&&t.properties[n.property],n);return Boolean(uv(t,n.property)&&e.value&&(r===e.value||r.slice(0,e.value.length)===e.value&&"-"===r.charAt(e.value.length)))},"^=":function(e,t,n){return Boolean(uv(t,n.property)&&t.properties&&e.value&&Yv(t.properties[n.property],n).slice(0,e.value.length)===e.value)},"$=":function(e,t,n){return Boolean(uv(t,n.property)&&t.properties&&e.value&&Yv(t.properties[n.property],n).slice(-e.value.length)===e.value)},"*=":function(e,t,n){return Boolean(uv(t,n.property)&&t.properties&&e.value&&Yv(t.properties[n.property],n).includes(e.value))}}});function Yv(e,t){return"boolean"===typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?Fp.P:Lp.P)(e):String(e)}function Xv(e,t){return function(n,r){for(var i=Wv(n,"tag"),o=Wv(null===r||void 0===r?"*":r,"range"),a=[],s=-1;++s<o.length;){var l=o[s].toLowerCase();if(t||"*"!==l){for(var u=-1,c=[];++u<i.length;)if(e(i[u].toLowerCase(),l)){if(!t)return i[u];a.push(i[u])}else c.push(i[u]);i=c}}return t?a:void 0}}Xv((function(e,t){return"*"===t||e===t||e.includes(t+"-")}),!0);var Hv=Xv((function(e,t){var n=e.split("-"),r=t.split("-"),i=0,o=0;if("*"!==r[o]&&n[i]!==r[o])return!1;for(i++,o++;o<r.length;)if("*"!==r[o]){if(!n[i])return!1;if(n[i]!==r[o]){if(1===n[i].length)return!1;i++}else i++,o++}else o++;return!0}),!0);Xv((function(e,t){for(var n=t;;){if("*"===n||e===n)return!0;var r=n.lastIndexOf("-");if(r<0)return!1;"-"===n.charAt(r-2)&&(r-=2),n=n.slice(0,r)}}),!1);function Wv(e,t){var n=e&&"string"===typeof e?[e]:e;if(!n||"object"!==typeof n||!("length"in n))throw new Error("Invalid "+t+" `"+n+"`, expected non-empty string");return n}var qv=new Set([9,10,12,13,32]),Gv="0".charCodeAt(0),Vv="9".charCodeAt(0);var Jv=n(7520);function Kv(e){return function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return Jv.falseFunc;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?Jv.trueFunc:function(e){return e>=n};var r=Math.abs(t),i=(n%r+r)%r;return t>1?function(e){return e>=n&&e%r===i}:function(e){return e<=n&&e%r===i}}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,n=0,r=o(),i=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=r*(null!==i&&void 0!==i?i:1),s(),t<e.length?(r=o(),s(),i=a()):r=i=0),null===i||t<e.length)throw new Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[n,r*i];function o(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){for(var n=t,r=0;t<e.length&&e.charCodeAt(t)>=Gv&&e.charCodeAt(t)<=Vv;)r=10*r+(e.charCodeAt(t)-Gv),t++;return t===n?null:r}function s(){for(;t<e.length&&qv.has(e.charCodeAt(t));)t++}}(e))}var eO=Kv.default||Kv,tO=Ug("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:iO,"any-link":function(e,t){return("a"===t.tagName||"area"===t.tagName||"link"===t.tagName)&&uv(t,"href")},blank:function(e,t){return!sO(t,(function(e){return"element"===e.type||"text"===e.type&&!Mp(e)}))},checked:function(e,t){if("input"===t.tagName||"menuitem"===t.tagName)return Boolean(t.properties&&("checkbox"===t.properties.type||"radio"===t.properties.type)&&uv(t,"checked"));if("option"===t.tagName)return uv(t,"selected");return!1},dir:function(e,t,n,r,i){return i.direction===e.value},disabled:rO,empty:function(e,t){return!sO(t,(function(e){return"element"===e.type||"text"===e.type}))},enabled:function(e,t){return!rO(e,t)},"first-child":function(e,t,n,r,i){return lO(i,e),0===i.elementIndex},"first-of-type":function(e,t,n,r,i){return lO(i,e),0===i.typeIndex},has:function(e,t,n,r,i){var o=(0,rn.Z)((0,rn.Z)({},i),{},{found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:fO(e.value)});return dO(o,{type:"root",children:t.children}),o.results.length>0},lang:function(e,t,n,r,i){return""!==i.language&&void 0!==i.language&&Hv(i.language,(0,Fp.Q)(e.value)).length>0},"last-child":function(e,t,n,r,i){return lO(i,e),Boolean(i.elementCount&&i.elementIndex===i.elementCount-1)},"last-of-type":function(e,t,n,r,i){return lO(i,e),"number"===typeof i.typeIndex&&"number"===typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:iO,not:function(e,t,n,r,i){return!iO(e,t,n,r,i)},"nth-child":function(e,t,n,r,i){var o=uO(e);return lO(i,e),"number"===typeof i.elementIndex&&o(i.elementIndex)},"nth-last-child":function(e,t,n,r,i){var o=uO(e);return lO(i,e),Boolean("number"===typeof i.elementCount&&"number"===typeof i.elementIndex&&o(i.elementCount-i.elementIndex-1))},"nth-of-type":function(e,t,n,r,i){var o=uO(e);return lO(i,e),"number"===typeof i.typeIndex&&o(i.typeIndex)},"nth-last-of-type":function(e,t,n,r,i){var o=uO(e);return lO(i,e),"number"===typeof i.typeCount&&"number"===typeof i.typeIndex&&o(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,n,r,i){return lO(i,e),1===i.elementCount},"only-of-type":function(e,t,n,r,i){return lO(i,e),1===i.typeCount},optional:function(e,t){return!aO(e,t)},"read-only":function(e,t,n,r,i){return!oO(e,t,n,r,i)},"read-write":oO,required:aO,root:function(e,t,n,r,i){return Boolean((!r||"root"===r.type)&&i.schema&&("html"===i.schema.space||"svg"===i.schema.space)&&("html"===t.tagName||"svg"===t.tagName))},scope:function(e,t,n,r,i){return i.scopeElements.includes(t)}}});function nO(e,t,n,r,i){for(var o=e.pseudos,a=-1;++a<o.length;)if(!tO(o[a],t,n,r,i))return!1;return!0}function rO(e,t){return("button"===t.tagName||"input"===t.tagName||"select"===t.tagName||"textarea"===t.tagName||"optgroup"===t.tagName||"option"===t.tagName||"menuitem"===t.tagName||"fieldset"===t.tagName)&&uv(t,"disabled")}function iO(e,t,n,r,i){var o=(0,rn.Z)((0,rn.Z)({},i),{},{found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:fO(e.value)});return dO(o,t),o.results[0]===t}function oO(e,t,n,r,i){return"input"===t.tagName||"textarea"===t.tagName?!uv(t,"readOnly")&&!uv(t,"disabled"):Boolean(i.editableOrEditingHost)}function aO(e,t){return("input"===t.tagName||"textarea"===t.tagName||"select"===t.tagName)&&uv(t,"required")}function sO(e,t){for(var n=e.children,r=-1;++r<n.length;)if(t(n[r]))return!0;return!1}function lO(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function uO(e){var t=e._cachedFn;return t||(t=eO(e.value),e._cachedFn=t),t}function cO(e,t,n,r,i){return Boolean((!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.tagName}(e,t))&&(!e.classNames||function(e,t){var n=t.properties.className||[],r=-1;if(e.classNames)for(;++r<e.classNames.length;)if(!n.includes(e.classNames[r]))return!1;return!0}(e,t))&&(!e.id||function(e,t){return Boolean(t.properties&&t.properties.id===e.id)}(e,t))&&(!e.attrs||function(e,t,n){for(var r=e.attrs,i=-1;++i<r.length;)if(!Uv(r[i],t,(0,$p.s)(n,r[i].name)))return!1;return!0}(e,t,i.schema))&&(!e.pseudos||nO(e,t,n,r,i)))}nO.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","matches","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];var hO=[];function fO(e){return null===e?{type:"selectors",selectors:[]}:"ruleSet"===e.type?{type:"selectors",selectors:[e]}:e}function dO(e,t){t&&pO(e,[],t,void 0,void 0)}function pO(e,t,n,r,i){var o={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},a=function(e,t){var n,r=e.schema,i=e.language,o=e.direction,a=e.editableOrEditingHost;if("element"===t.type&&t.properties){var s=t.properties.xmlLang||t.properties.lang,l=t.properties.type||"text",u=zv(t);void 0!==s&&null!==s&&(e.language=String(s)),r&&"html"===r.space?("true"===t.properties.contentEditable&&(e.editableOrEditingHost=!0),"svg"===t.tagName&&(e.schema=Np.YP),"rtl"===u?n=u:"ltr"===u||"auto"!==u&&"html"===t.tagName||"auto"!==u&&"input"===t.tagName&&"tel"===l?n="ltr":"auto"!==u&&"bdi"!==t.tagName||("textarea"===t.tagName?n=jv(hv(t)):"input"!==t.tagName||"email"!==l&&"search"!==l&&"tel"!==l&&"text"!==l?lp(t,(function(e){return"text"===e.type?(n=jv(e.value))?op:void 0:e===t||"element"!==e.type||"bdi"!==e.tagName&&"script"!==e.tagName&&"style"!==e.tagName&&"textare"!==e.tagName&&!zv(e)?void 0:ap})):n=t.properties.value?jv(t.properties.value):"ltr"),n&&(e.direction=n)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1)}return function(){e.schema=r,e.language=i,e.direction=o,e.editableOrEditingHost=a}}(e,n);return"element"===n.type&&(o=function(e,t,n,r,i){var o={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},a=-1;for(;++a<t.length;){var s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.rule.rule)throw new Error("Expected selector without nesting");if(cO(s.rule,n,r,i,e)){var l=s.rule.rule;if(l){var u={type:"ruleSet",rule:l};gO(o,"+"===l.nestingOperator?"adjacentSibling":"~"===l.nestingOperator?"generalSibling":">"===l.nestingOperator?"directChild":"descendant",u)}else e.found=!0,e.results.includes(n)||e.results.push(n)}null===s.rule.nestingOperator?gO(o,"descendant",s):"~"===s.rule.nestingOperator&&gO(o,"generalSibling",s)}return o}(e,mO(t,e.rootQuery.selectors),n,r,i)),!("children"in n)||e.shallow||e.one&&e.found||function(e,t,n){var r,i=mO(t.descendant,t.directChild),o=-1,a={count:0,types:new Map},s={count:0,types:new Map};for(;++o<n.children.length;)vO(a,n.children[o]);o=-1;for(;++o<n.children.length;){var l=n.children[o],u="element"===l.type?l.tagName.toUpperCase():void 0;if(e.elementIndex=s.count,e.typeIndex=u&&s.types.get(u)||0,e.elementCount=a.count,e.typeCount=u?a.types.get(u):0,"children"in l){var c=pO(e,mO(i,r),n.children[o],o,n);r=mO(c.generalSibling,c.adjacentSibling)}if(e.one&&e.found)break;vO(s,n.children[o])}}(e,o,n),a(),o}function mO(e,t){return e&&t&&e.length>0&&t.length>0?[].concat((0,ne.Z)(e),(0,ne.Z)(t)):e&&e.length>0?e:t&&t.length>0?t:hO}function gO(e,t,n){var r=e[t];r?r.push(n):e[t]=[n]}function vO(e,t){if("element"===t.type){var n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}var OO=new(n(6428).N);function yO(e){if("string"!==typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return OO.parse(e)}function bO(e,t,n){return{rootQuery:fO(yO(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===n?Np.YP:Np.dy,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}OO.registerAttrEqualityMods("~","|","^","$","*"),OO.registerSelectorPseudos("any","matches","not","has"),OO.registerNestingOperators(">","+","~");var kO=function e(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){"text"===n.type?t+=n.value:"element"===n.type&&n.children&&Array.isArray(n.children)&&(t+=e(n.children))})),t},SO=function(e){var t=e||{},n=t.selector,r=t.rewrite;return function(e){if(r&&"function"===typeof r)if(n&&"string"===typeof n){var t=function(e,t,n){var r=bO(e,t,n);return dO(r,t||void 0),r.results}(n,e);t&&t.length>0&&lp(e,t,(function(e,t,n){r(e,t,n)}))}else lp(e,(function(e,t,n){r(e,t,n)}))}},xO={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};var wO=n(7298),TO=n.n(wO);function CO(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?CO(t.parentElement):null}function EO(e){var t=function(e){var t=CO(e.target);t&&(t.classList.add("active"),TO()(t.dataset.code,(function(){setTimeout((function(){t.classList.remove("active")}),2e3)})))};(0,J.useEffect)((function(){var n,r;return null==(n=e.current)||n.removeEventListener("click",t,!1),null==(r=e.current)||r.addEventListener("click",t,!1),function(){var n;null==(n=e.current)||n.removeEventListener("click",t,!1)}}),[e])}var AO=function(e){return void 0===e&&(e={}),function(e){lp(e,(function(e){"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=Ht({},e.properties,{"data-meta":String(e.data.meta)}))}))}},PO=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"],_O=J.forwardRef((function(e,t){var n=e.prefixCls,r=void 0===n?"wmde-markdown wmde-markdown-color":n,i=e.className,o=e.source,a=e.style,s=e.disableCopy,l=void 0!==s&&s,u=e.skipHtml,c=void 0===u||u,h=e.onScroll,f=e.onMouseOver,d=e.pluginsFilter,p=e.rehypeRewrite,m=e.wrapperElement,g=void 0===m?{}:m,v=e.warpperElement,O=void 0===v?{}:v,y=Wt(e,PO),b=J.useRef(null);(0,J.useImperativeHandle)(t,(function(){return Ht({},e,{mdp:b})}),[b,e]);var k=(r||"")+" "+(i||"");EO(b);var S=[AO,[$v,{ignoreMissing:!0}],mv,kv,Cv,[SO,{rewrite:function(e,t,n){if("element"===e.type&&n&&"root"===n.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var r=e.children&&e.children[0];r&&r.properties&&"true"===r.properties.ariaHidden&&(r.properties=Ht({class:"anchor"},r.properties),r.children=[xO])}if("element"===e.type&&"pre"===e.tagName&&!l){var i=kO(e.children);e.children.push((void 0===(o=i)&&(o=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":o},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var o;p&&p(e,t,n)}}],[Tv,{properties:"attr"}]].concat((0,ne.Z)(y.rehypePlugins||[])),x={allowElement:function(e,t,n){return y.allowElement?y.allowElement(e,t,n):/^[A-Za-z0-9]+$/.test(e.tagName)}};c&&S.push(iv);var w=[].concat((0,ne.Z)(y.remarkPlugins||[]),[Dg]),T=Ht({},O,g);return(0,qt.jsx)("div",Ht({ref:b,onScroll:h,onMouseOver:f},T,{className:k,style:a,children:(0,qt.jsx)(Kp,Ht({},x,y,{skipHtml:c,rehypePlugins:d?d("rehype",S):S,remarkPlugins:d?d("remark",w):w,children:o||""}))}))})),DO={name:"bold",keyCommand:"bold",button:{"aria-label":"Add bold text"},icon:(0,qt.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 384 512",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"**"},{from:e.to,insert:"**"}],range:Ls.jT.range(e.from+2,e.to+2)}})))}},ZO={name:"code",keyCommand:"code",button:{"aria-label":"Insert code"},icon:(0,qt.jsxs)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:[(0,qt.jsx)("path",{d:"M16 13 4 25.432 16 37m16-24 12 12.432L32 37",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,qt.jsx)("path",{d:"m28 4-7 40",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round"})]}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"`"},{from:e.to,insert:"`"}],range:Ls.jT.range(e.from+1,e.to+1)}})))}},NO={name:"codeBlock",keyCommand:"codeBlock",button:{"aria-label":"Insert Code Block"},icon:(0,qt.jsxs)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:[(0,qt.jsx)("path",{d:"M21 6H9a3 3 0 0 0-3 3v22a3 3 0 0 0 3 3h30a3 3 0 0 0 3-3V21M24 34v8",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,qt.jsx)("path",{d:"m32 6-4 4 4 4m6-8 4 4-4 4M14 42h20",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})]}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.selection.main,i=n.state.sliceDoc(n.state.selection.main.from,n.state.selection.main.to);n.dispatch({changes:{from:r.from,to:r.to,insert:"```js\n"+i+"\n```"},selection:Ls.jT.range(r.from+3,r.from+5)})}}},QO={name:"italic",keyCommand:"italic",button:{"aria-label":"Add italic text"},icon:(0,qt.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 320 512",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"*"},{from:e.to,insert:"*"}],range:Ls.jT.range(e.from+1,e.to+1)}})))}},RO={name:"header",keyCommand:"header",button:{"aria-label":"Add header text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,qt.jsx)("path",{d:"M448 448c0 17.69-14.33 32-32 32h-96c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V272H112v144h16c17.67 0 32 14.31 32 32s-14.33 32-32 32H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V96H32C14.33 96 0 81.69 0 64s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v112h224V96h-16c-17.67 0-32-14.31-32-32s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v320h16c17.7 0 32 14.3 32 32z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="#",o=r.text.match(/^#+/);if(o&&o[0]){var a=o[0];a.length<6&&(i=a+"#")}i.length>6&&(i="#");var s=r.text.replace(/^#+/,"");n.dispatch({changes:{from:r.from,to:r.to,insert:i+" "+s},selection:{anchor:r.from+i.length+1}})}}},MO={name:"strike",keyCommand:"strike",button:{"aria-label":"Add strike text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 512 512",height:"14",width:"14",children:(0,qt.jsx)("path",{d:"M332.2 319.9c17.22 12.17 22.33 26.51 18.61 48.21-3.031 17.59-10.88 29.34-24.72 36.99-35.44 19.75-108.5 11.96-186-19.68-16.34-6.686-35.03 1.156-41.72 17.53s1.188 35.05 17.53 41.71c31.75 12.93 95.69 35.37 157.6 35.37 29.62 0 58.81-5.156 83.72-18.96 30.81-17.09 50.44-45.46 56.72-82.11 3.998-23.27 2.168-42.58-3.488-59.05H332.2zm155.8-80-176.5-.03c-15.85-5.614-31.83-10.34-46.7-14.62-85.47-24.62-110.9-39.05-103.7-81.33 2.5-14.53 10.16-25.96 22.72-34.03 20.47-13.15 64.06-23.84 155.4.343 17.09 4.53 34.59-5.654 39.13-22.74 4.531-17.09-5.656-34.59-22.75-39.12-91.31-24.18-160.7-21.62-206.3 7.654C121.8 73.72 103.6 101.1 98.09 133.1c-8.83 51.4 9.81 84.2 39.11 106.8H24c-13.25 0-24 10.75-24 23.1 0 13.25 10.75 23.1 24 23.1h464c13.25 0 24-10.75 24-23.1 0-12.3-10.7-23.1-24-23.1z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"~~"},{from:e.to,insert:"~~"}],range:Ls.jT.range(e.from+2,e.to+2)}})))}},$O={name:"underline",keyCommand:"underline",button:{"aria-label":"Add underline text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,qt.jsx)("path",{d:"M416 448H32c-17.69 0-32 14.31-32 32s14.31 32 32 32h384c17.69 0 32-14.31 32-32s-14.3-32-32-32zM48 64.01h16v160c0 88.22 71.78 159.1 160 159.1s160-71.78 160-159.1v-160h16c17.69 0 32-14.32 32-32S417.69.91 400 .91l-96-.005c-17.69 0-32 14.32-32 32s14.31 32 32 32h16v160c0 52.94-43.06 95.1-96 95.1S128 276.1 128 224V64h16c17.69 0 32-14.31 32-32S161.69 0 144 0L48 .005c-17.69 0-32 14.31-32 31.1S30.31 64.01 48 64.01z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"<u>"},{from:e.to,insert:"</u>"}],range:Ls.jT.range(e.from+3,e.to+3)}})))}},IO={name:"olist",keyCommand:"olist",button:{"aria-label":"Add olist text"},icon:(0,qt.jsx)("svg",{viewBox:"0 0 576 512",height:"14",width:"14",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M55.1 56.04c0-13.26 11.64-24 24-24h32c14.2 0 24 10.74 24 24V176h16c14.2 0 24 10.8 24 24 0 13.3-9.8 24-24 24h-80c-12.36 0-24-10.7-24-24 0-13.2 11.64-24 24-24h16V80.04h-8c-12.36 0-24-10.75-24-24zm63.6 285.16c-6.6-7.4-18.3-6.9-24.05 1.2l-11.12 15.5c-7.7 10.8-22.69 13.3-33.48 5.6-10.79-7.7-13.28-22.7-5.58-33.4l11.12-15.6c23.74-33.3 72.31-35.7 99.21-4.9 21.3 23.5 20.8 60.9-1.1 84.7L118.8 432H152c13.3 0 24 10.7 24 24s-10.7 24-24 24H64c-9.53 0-18.16-5.6-21.98-14.4-3.83-8.7-2.12-18.9 4.34-25.9l72.04-78c5.3-5.8 5.4-14.6.3-20.5zM512 64c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="1. ",o=r.text.match(/^\1\./);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},LO={name:"ulist",keyCommand:"ulist",button:{"aria-label":"Add ulist text"},icon:(0,qt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M88 48c13.3 0 24 10.75 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24V72c0-13.25 10.75-24 24-24h48zm392 16c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zM16 232c0-13.3 10.75-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48zm72 136c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48c0-13.3 10.75-24 24-24h48z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="- ",o=r.text.match(/^-/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},FO={name:"quote",keyCommand:"quote",button:{"aria-label":"Add quote text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,qt.jsx)("path",{d:"M96 96c-53.02 0-96 42.1-96 96s42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96c0-53.9-43-96-96-96zm352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="> ",o=r.text.match(/^>\s/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},BO={name:"link",keyCommand:"link",button:{"aria-label":"Add link text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 640 512",height:"16",width:"16",children:(0,qt.jsx)("path",{d:"M172.5 131.1c55.6-55.59 148-55.59 203.6 0 50 50 57.4 129.7 16.3 187.2l-1.1 1.6c-10.3 14.3-30.3 17.7-44.6 7.4-14.4-10.3-17.8-30.3-7.5-44.6l1.1-1.6c22.9-32.1 19.3-76-8.6-103.9-31.4-31.4-82.5-31.4-114 0L105.5 289.5c-31.51 30.6-31.51 82.5 0 114 27.8 27.9 71.8 31.5 103.8 8.6l1.6-2c14.4-9.4 34.4-6.1 44.6 8.3 10.3 14.4 7 34.4-7.4 44.7l-1.6 1.1c-58.4 41.1-136.3 34.5-186.29-15.4-56.469-56.5-56.469-148.1 0-204.5L172.5 131.1zm295 248.9c-56.5 56.5-148 56.5-204.5 0-50-50-56.5-128.8-15.4-186.3l1.1-1.6c9.4-14.3 29.4-17.7 44.6-7.4 14.4 9.4 17.8 29.4 7.5 44.6l-1.1 1.6c-22.9 31.2-19.3 76 8.6 103.9 31.4 31.4 82.5 31.4 114 0l112.2-112.3c31.5-31.5 31.5-83.4 0-114-27.8-27.87-71.8-31.51-103.8-8.6l-1.6 1.1c-14.4 10.3-34.4 6.1-44.6-7.42-10.3-14.38-7-34.37 7.4-44.64l1.6-1.12C451 6.731 529.8 13.25 579.8 63.24c56.5 56.46 56.5 148.06 0 204.46L467.5 380z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n&&t&&n){var r=n.state.selection.main,i=n.state.sliceDoc(n.state.selection.main.from,n.state.selection.main.to);n.dispatch({changes:{from:r.from,to:r.to,insert:"["+i+"]()"},selection:Ls.jT.range(r.from+3+i.length,r.to+3)})}}},jO={name:"todo",keyCommand:"todo",button:{"aria-label":"Add todo List"},icon:(0,qt.jsx)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:(0,qt.jsx)("path",{d:"m5 10 3 3 6-6M5 24l3 3 6-6M5 38l3 3 6-6m7-11h22M21 38h22M21 10h22",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="- [ ] ",o=r.text.match(/^-\s\[\s\]\s/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},zO={name:"image",keyCommand:"image",button:{"aria-label":"Add image text"},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 16 16",height:"14",width:"14",children:(0,qt.jsx)("path",{fillRule:"evenodd",d:"M1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h.94a.76.76 0 0 1 .03-.03l6.077-6.078a1.75 1.75 0 0 1 2.412-.06L14.5 10.31V2.75a.25.25 0 0 0-.25-.25H1.75zm12.5 11H4.81l5.048-5.047a.25.25 0 0 1 .344-.009l4.298 3.889v.917a.25.25 0 0 1-.25.25zm1.75-.25V2.75A1.75 1.75 0 0 0 14.25 1H1.75A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25zM5.5 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM7 6a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.selection.main,i=n.state.sliceDoc(n.state.selection.main.from,n.state.selection.main.to);n.dispatch({changes:{from:r.from,to:r.to,insert:""},selection:Ls.jT.range(r.from+4,r.to+4)})}}},UO={name:"redo",keyCommand:"redo",button:{"aria-label":"redo text"},icon:(0,qt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M58.79,439.13A16,16,0,0,1,48,424c0-73.1,14.68-131.56,43.65-173.77,35-51,90.21-78.46,164.35-81.87V88a16,16,0,0,1,27.05-11.57l176,168a16,16,0,0,1,0,23.14l-176,168A16,16,0,0,1,256,424V344.23c-45,1.36-79,8.65-106.07,22.64-29.25,15.12-50.46,37.71-73.32,67a16,16,0,0,1-17.82,5.28Z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&nl(n)}},YO={name:"undo",keyCommand:"undo",button:{"aria-label":"undo text"},icon:(0,qt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M448,440a16,16,0,0,1-12.61-6.15c-22.86-29.27-44.07-51.86-73.32-67C335,352.88,301,345.59,256,344.23V424A16,16,0,0,1,229,435.57l-176-168a16,16,0,0,1,0-23.14l176-168A16,16,0,0,1,256,88v80.36c74.14,3.41,129.38,30.91,164.35,81.87C449.32,292.44,464,350.9,464,424a16,16,0,0,1-16,16Z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&tl(n)}},XO=function(e){var t=e.editorProps,n=(0,J.useRef)(0),r=(0,J.useState)(!1),i=(0,te.Z)(r,2),o=i[0],a=i[1],s=(0,J.useRef)();return(0,J.useEffect)((function(){s.current=new ResizeObserver((function(e){var r,i=(0,Oe.Z)(e);try{for(i.s();!(r=i.n()).done;){var a,s=r.value;n.current||(n.current=s.target.clientHeight),null!=(a=t.editor)&&null!=(a=a.current)&&null!=(a=a.view)&&a.dom&&(o?t.editor.current.view.dom.style.height=s.target.clientHeight+"px":t.editor.current.view.dom.removeAttribute("style"))}}catch(l){i.e(l)}finally{i.f()}}))}),[]),(0,J.useEffect)((function(){if(t.containerEditor&&t.containerEditor.current&&t.containerEditor.current.parentElement&&s.current){var e=t.containerEditor.current.parentElement;s.current.observe(e)}}),[t.containerEditor,t.editor,o,s]),(0,J.useEffect)((function(){if(document&&t&&t.container&&t.container.current&&t.editor){var e=t.container.current;document.body.style.overflow=o?"hidden":"initial",e&&o?(e.style.zIndex="999",e.style.position="fixed",e.style.top="0px",e.style.bottom="0px",e.style.left="0px",e.style.right="0px"):e&&(e.style.position="initial",e.style.top="initial",e.style.bottom="initial",e.style.left="initial",e.style.right="initial")}}),[o,t]),(0,qt.jsx)("button",{onClick:function(){return a(!o)},type:"button",className:o?"active":"",children:e.command.icon})},HO={name:"fullscreen",keyCommand:"fullscreen",button:function(e,t,n){return(0,qt.jsx)(XO,{command:e,editorProps:Ht({},t,n)})},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,qt.jsx)("path",{d:"M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288 0h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64c0-17.69-14.3-32-32-32zM128 416H64v-64c0-17.69-14.31-32-32-32S0 334.31 0 352v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288-96c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96c0-17.7-14.3-32-32-32z"})})},WO=function(e){var t=e.editorProps,n=t.containerEditor,r=t.preview,i=t.previewWidth,o=void 0===i?"50%":i,a=(0,J.useState)(e.editorProps.visible),s=(0,te.Z)(a,2),l=s[0],u=s[1];return(0,J.useEffect)((function(){return u(e.editorProps.visible)}),[e.editorProps.visible]),(0,J.useEffect)((function(){if(r.current){var e=r.current;r&&(e.style.borderBottomRightRadius="3px"),e&&l?(e.style.width=o,e.style.overflow="auto","100%"!==o&&(e.style.borderLeft="1px solid var(--color-border-muted)"),e.style.padding="20px",n.current&&(n.current.style.width="calc(100% - "+o+")")):e&&(e.style.width="0%",e.style.overflow="hidden",e.style.borderLeft="0px",e.style.padding="0",n.current&&(n.current.style.width="100%"))}}),[l,n,r,o]),(0,qt.jsx)("button",{onClick:function(){return u(!l)},type:"button",className:l?"active":"",children:e.command.icon})},qO={name:"preview",keyCommand:"preview",button:function(e,t,n){return(0,qt.jsx)(WO,{command:e,editorProps:Ht({},t,n)})},icon:(0,qt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 576 512",height:"16",width:"16",children:(0,qt.jsx)("path",{d:"M279.6 160.4c2.8-.3 5.6-.4 8.4-.4 53 0 96 42.1 96 96 0 53-43 96-96 96-53.9 0-96-43-96-96 0-2.8.1-5.6.4-8.4 9.3 4.5 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3.9-22.3-8.4-31.6zm201-47.8c46.8 43.4 78.1 94.5 92.9 131.1 3.3 7.9 3.3 16.7 0 24.6-14.8 35.7-46.1 86.8-92.9 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.58-80.6C48.62 355.1 17.34 304 2.461 268.3a31.967 31.967 0 0 1 0-24.6C17.34 207.1 48.62 156 95.42 112.6 142.5 68.84 207.2 32 288 32c80.8 0 145.5 36.84 192.6 80.6zM288 112c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144z"})})},GO={undo:YO,redo:UO,bold:DO,italic:QO,header:RO,strike:MO,underline:$O,quote:FO,olist:IO,ulist:LO,todo:jO,link:BO,image:zO,code:ZO,codeBlock:NO,fullscreen:HO,preview:qO},VO=function(){return Object.keys(GO).filter((function(e){return!/^(fullscreen|preview)/.test(e)})).map((function(e){return GO[e]}))},JO=function(){return[qO,HO]},KO=["prefixCls","className","onClick","toolbars","editor","mode","preview","container","containerEditor","editorProps"];function ey(e){var t=e.prefixCls,n=void 0===t?"md-editor":t,r=e.className,i=e.toolbars,o=void 0===i?[]:i,a=e.editor,s=e.mode,l=e.preview,u=e.container,c=e.containerEditor,h=e.editorProps,f=void 0===h?{}:h,d=Wt(e,KO);if(!o||0===o.length)return null;return(0,qt.jsx)("div",Ht({className:n+"-toolbar "+(r||"")+" "+(s?n+"-toolbar-mode":"")},d,{children:(0,ne.Z)(o).map((function(e,t){var n={type:"button"},r="string"===typeof e?GO[e]:e;if(!r)return null;if(n.children=r.icon,n.onClick=function(){var e;(e=r.execute)&&a&&a&&e(a.current)},r.button&&"object"===typeof r.button){var i=r.button;Object.keys(i).forEach((function(e){n[e]=i[e]}))}else if("function"===typeof r.button)return J.cloneElement(r.button(r,f,{preview:l,container:u,containerEditor:c,editor:a,editorProps:f}),{key:t});return(0,J.createElement)("button",Ht({},n,{key:t}))}))}))}var ty=function(e){var t=e.theme,n=e.settings,r=void 0===n?{}:n,i=e.styles,o=void 0===i?[]:i,a={".cm-gutters":{}},s={};r.background&&(s.backgroundColor=r.background),r.foreground&&(s.color=r.foreground),(r.background||r.foreground)&&(a["&"]=s),r.fontFamily&&(a["&.cm-editor .cm-scroller"]={fontFamily:r.fontFamily}),r.gutterBackground&&(a[".cm-gutters"].backgroundColor=r.gutterBackground),r.gutterForeground&&(a[".cm-gutters"].color=r.gutterForeground),r.gutterBorder&&(a[".cm-gutters"].borderRightColor=r.gutterBorder),r.caret&&(a[".cm-content"]={caretColor:r.caret},a[".cm-cursor, .cm-dropCursor"]={borderLeftColor:r.caret});var l={};r.gutterActiveForeground&&(l.color=r.gutterActiveForeground),r.lineHighlight&&(a[".cm-activeLine"]={backgroundColor:r.lineHighlight},l.backgroundColor=r.lineHighlight),a[".cm-activeLineGutter"]=l,r.selection&&(a["&.cm-focused .cm-selectionBackground, &.cm-focused .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:r.selection+" !important"}),r.selectionMatch&&(a["& .cm-selectionMatch"]={backgroundColor:r.selectionMatch});var u=$s.tk.theme(a,{dark:"dark"===t}),c=Ns.Qf.define(o);return[u,(0,Ns.nF)(c)]},ny=ty({theme:"light",settings:{background:"var(--color-canvas-subtle)",foreground:"var(--color-fg-default)",caret:"var(--color-fg-default)",selection:"var(--color-border-default)",selectionMatch:"var(--color-border-muted)",lineHighlight:"var(--color-neutral-muted)",gutterBackground:"var(--color-canvas-subtle)",gutterForeground:"var(--color-fg-muted)",gutterBorder:"var(--color-border-muted)"},styles:[{tag:Kc.pJ.comment,color:"var(--color-prettylights-syntax-comment)"},{tag:Kc.pJ.variableName,color:"var(--color-prettylights-syntax-variable)"},{tag:[Kc.pJ.string,Kc.pJ.special(Kc.pJ.brace)],color:"var(--color-prettylights-syntax-entity)"},{tag:Kc.pJ.number,color:"var(--color-prettylights-syntax-variable)"},{tag:[Kc.pJ.bool,Kc.pJ.null],color:"var(--color-prettylights-syntax-entity)"},{tag:Kc.pJ.keyword,color:"var(--color-prettylights-syntax-keyword)",fontWeight:"bold"},{tag:Kc.pJ.string,color:"var(--color-prettylights-syntax-string)"},{tag:Kc.pJ.operator,color:"var(--color-accent-emphasis)"},{tag:Kc.pJ.deleted,color:"var(--color-prettylights-syntax-markup-deleted-bg)"},{tag:Kc.pJ.deleted,color:"red"},{tag:Kc.pJ.className,color:"var(--color-prettylights-syntax-variable)"},{tag:Kc.pJ.definition(Kc.pJ.typeName),color:"var(--color-prettylights-syntax-entity)"},{tag:Kc.pJ.typeName,color:"var(--color-prettylights-syntax-entity)"},{tag:Kc.pJ.list,color:"var(--color-prettylights-syntax-markup-list)"},{tag:Kc.pJ.heading,color:"var(--color-prettylights-syntax-markup-heading)",fontWeight:"bold"},{tag:Kc.pJ.regexp,color:"var(--color-prettylights-syntax-string-regexp)"},{tag:Kc.pJ.literal,color:"var(--color-prettylights-syntax-markup-italic)"},{tag:Kc.pJ.link,color:"var(--color-prettylights-syntax-constant-other-reference-link)",textDecoration:"underline"},{tag:Kc.pJ.angleBracket,color:"var(--color-fg-default)"},{tag:Kc.pJ.tagName,color:"var(--color-prettylights-syntax-entity-tag)"},{tag:Kc.pJ.attributeName,color:"var(--color-prettylights-syntax-constant)"}]}),ry=["prefixCls","className","onChange","toolbars","toolbarsMode","toolbarsFilter","visible","renderPreview","visibleEditor","hideToolbar","toolbarBottom","enableScroll","previewProps","extensions","previewWidth","reExtensions"],iy=$s.tk.theme({"&.cm-editor, & .cm-scroller":{borderBottomRightRadius:"3px",borderBottomLeftRadius:"3px"}}),oy=J.forwardRef(sy);oy.Markdown=_O;var ay=oy;function sy(e,t){var n=e.prefixCls,r=void 0===n?"md-editor":n,i=e.className,o=e.onChange,a=e.toolbars,s=void 0===a?VO():a,l=e.toolbarsMode,u=void 0===l?JO():l,c=e.toolbarsFilter,h=e.visible,f=void 0===h||h,d=e.renderPreview,p=e.visibleEditor,m=void 0===p||p,g=e.hideToolbar,v=void 0===g||g,O=e.toolbarBottom,y=void 0!==O&&O,b=e.enableScroll,k=void 0===b||b,S=e.previewProps,x=void 0===S?{}:S,w=e.extensions,T=void 0===w?[]:w,C=e.previewWidth,E=void 0===C?"50%":C,A=e.reExtensions,P=Wt(e,ry),_=(0,J.useState)(e.value||""),D=(0,te.Z)(_,2),Z=D[0],N=D[1],Q=(0,J.useRef)(null),R=(0,J.useRef)(null),M=(0,J.useRef)(null),$=(0,J.useRef)(null),I=(0,J.useRef)("editor");(0,J.useImperativeHandle)(t,(function(){return{editor:Q,preview:$}}),[Q]);var L={preview:$,editor:Q,container:R,containerEditor:M,editorProps:Ht({},e,{previewWidth:E})},F="number"===typeof P.height?P.height+"px":P.height,B=(0,J.useCallback)((function(e){if(k){var t=e.target,n=t.scrollTop/t.scrollHeight;if("editor"===I.current&&$.current){var r,i=(null==(r=$.current)?void 0:r.scrollHeight)||0;$.current.scrollTop=i*n}else if(Q.current&&Q.current.view){var o=Q.current.view.scrollDOM,a=Q.current.view.scrollDOM.scrollHeight||0;o.scrollTop=a*n}}}),[k]),j=function(){return I.current="preview"},z=function(){return I.current="editor"};(0,J.useEffect)((function(){var e=$.current;return e&&k&&(e.addEventListener("mouseover",j,!1),e.addEventListener("mouseleave",z,!1),e.addEventListener("scroll",B,!1)),function(){e&&k&&(e.removeEventListener("mouseover",j),e.removeEventListener("mouseleave",j),e.addEventListener("mouseleave",B,!1))}}),[$,k,B]);var U=Is({type:"scroll",events:{scroll:B}}),Y=A||[(0,Zs.markdown)({base:Zs.markdownLanguage,codeLanguages:Ms}),iy].concat((0,ne.Z)(T));k&&Y.push(U);var X=r+"-preview",H=[r,"wmde-markdown-var",i].filter(Boolean).join(" ");x.source=Z;var W=(0,qt.jsxs)("div",{className:r+"-content",style:{height:P.height},children:[(0,qt.jsx)("div",{className:r+"-content-editor",ref:M,children:m&&(0,qt.jsx)(Th,Ht({theme:ny},P,{extensions:Y,height:F,ref:Q,onChange:function(e,t){N(e),o&&o(e,t)}}))}),(0,qt.jsx)("div",{className:X,ref:$,children:d?d(x,!!f):(0,qt.jsx)(_O,Ht({},x,{"data-visible":!!f}))})]}),q=[r&&r+"-toolbar-warp",r&&y&&r+"-toolbar-bottom"].filter(Boolean).join(" "),G=c?s.filter(c):s,V=c?u.filter(c):u,K=v&&(0,qt.jsxs)("div",{className:q,children:[(0,qt.jsx)(ey,Ht({},L,{toolbars:G})),(0,qt.jsx)(ey,Ht({},L,{toolbars:V,mode:!0}))]}),ee=y?(0,qt.jsxs)(J.Fragment,{children:[W,K]}):(0,qt.jsxs)(J.Fragment,{children:[K,W]});return(0,qt.jsx)("div",{className:H,ref:R,children:ee})}var ly={background:"#0f0f0f",foreground:"#defdef",caret:"#00FF00",selection:"#515151",selectionMatch:"#515151",gutterBackground:"#555",gutterForeground:"#FFFFFF",lineHighlight:"#314151"},uy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},ly,o),styles:[{tag:Kc.pJ.keyword,color:"darkgoldenrod",fontWeight:"bold"},{tag:Kc.pJ.atom,color:"#77F"},{tag:Kc.pJ.comment,color:"#7a7b7c",fontStyle:"italic"},{tag:Kc.pJ.number,color:"violet"},{tag:Kc.pJ.definition(Kc.pJ.variableName),color:"#fffabc"},{tag:Kc.pJ.variableName,color:"#abcdef"},{tag:Kc.pJ.function(Kc.pJ.variableName),color:"#fffabc"},{tag:Kc.pJ.typeName,color:"#FFDD44"},{tag:Kc.pJ.tagName,color:"#def"},{tag:Kc.pJ.string,color:"#2b4"},{tag:Kc.pJ.meta,color:"#C9F"},{tag:Kc.pJ.bracket,color:"#8a8a8a"},{tag:Kc.pJ.attributeName,color:"#DDFF00"},{tag:Kc.pJ.heading,color:"aquamarine",fontWeight:"bold"},{tag:Kc.pJ.link,color:"blueviolet",fontWeight:"bold"}].concat((0,ne.Z)(s))})}(),cy={background:"#282b2e",foreground:"#a9b7c6",caret:"#00FF00",selection:"#343739",selectionMatch:"#343739",lineHighlight:"#343739"},hy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},cy,o),styles:[{tag:[Kc.pJ.keyword,Kc.pJ.deleted,Kc.pJ.className],color:"#cc7832"},{tag:[Kc.pJ.number,Kc.pJ.literal,Kc.pJ.derefOperator],color:"#6897bb"},{tag:[Kc.pJ.link,Kc.pJ.variableName],color:"#629755"},{tag:[Kc.pJ.comment,Kc.pJ.quote],color:"grey"},{tag:[Kc.pJ.meta,Kc.pJ.documentMeta],color:"#bbb529"},{tag:[Kc.pJ.string,Kc.pJ.propertyName,Kc.pJ.attributeValue],color:"#6a8759"},{tag:[Kc.pJ.heading,Kc.pJ.typeName],color:"#ffc66d"},{tag:[Kc.pJ.attributeName],color:"#a9b7c6"},{tag:[Kc.pJ.emphasis],fontStyle:"italic"}].concat((0,ne.Z)(s))})}(),fy={background:"#272C35",foreground:"#9d9b97",caret:"#797977",selection:"#ffffff30",selectionMatch:"#2B323D",gutterBackground:"#272C35",gutterForeground:"#465063",gutterBorder:"transparent",lineHighlight:"#2B323D"},dy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},fy,o),styles:[{tag:[Kc.pJ.function(Kc.pJ.variableName),Kc.pJ.function(Kc.pJ.propertyName),Kc.pJ.url,Kc.pJ.processingInstruction],color:"hsl(207, 82%, 66%)"},{tag:[Kc.pJ.tagName,Kc.pJ.heading],color:"#e06c75"},{tag:Kc.pJ.comment,color:"#54636D"},{tag:[Kc.pJ.propertyName],color:"hsl(220, 14%, 71%)"},{tag:[Kc.pJ.attributeName,Kc.pJ.number],color:"hsl( 29, 54%, 61%)"},{tag:Kc.pJ.className,color:"hsl( 39, 67%, 69%)"},{tag:Kc.pJ.keyword,color:"hsl(286, 60%, 67%)"},{tag:[Kc.pJ.string,Kc.pJ.regexp,Kc.pJ.special(Kc.pJ.propertyName)],color:"#98c379"}].concat((0,ne.Z)(s))})}(),py={background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",gutterBorder:"transparent",lineHighlight:"#00000012"},my=function(e){var t=e||{},n=t.theme,r=void 0===n?"light":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},py,o),styles:[{tag:[Kc.pJ.meta,Kc.pJ.comment],color:"#804000"},{tag:[Kc.pJ.keyword,Kc.pJ.strong],color:"#0000FF"},{tag:[Kc.pJ.number],color:"#FF0080"},{tag:[Kc.pJ.string],color:"#FF0080"},{tag:[Kc.pJ.variableName],color:"#006600"},{tag:[Kc.pJ.escape],color:"#33CC33"},{tag:[Kc.pJ.tagName],color:"#1C02FF"},{tag:[Kc.pJ.heading],color:"#0C07FF"},{tag:[Kc.pJ.quote],color:"#000000"},{tag:[Kc.pJ.list],color:"#B90690"},{tag:[Kc.pJ.documentMeta],color:"#888888"},{tag:[Kc.pJ.function(Kc.pJ.variableName)],color:"#0000A2"},{tag:[Kc.pJ.definition(Kc.pJ.typeName),Kc.pJ.typeName],color:"#6D79DE"}].concat((0,ne.Z)(s))})}(),gy={background:"#28211c",foreground:"#9d9b97",caret:"#797977",selection:"#36312e",selectionMatch:"#4f382b",gutterBackground:"#28211c",gutterForeground:"#666666",lineHighlight:"rgba(255, 255, 255, 0.1)"},vy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},gy,o),styles:[{tag:[Kc.pJ.atom,Kc.pJ.number,Kc.pJ.link,Kc.pJ.bool],color:"#9b859d"},{tag:Kc.pJ.comment,color:"#937121"},{tag:[Kc.pJ.keyword,Kc.pJ.tagName],color:"#cf6a4c"},{tag:Kc.pJ.string,color:"#f9ee98"},{tag:Kc.pJ.bracket,color:"#9d9b97"},{tag:[Kc.pJ.variableName],color:"#5ea6ea"},{tag:Kc.pJ.definition(Kc.pJ.variableName),color:"#cf7d34"},{tag:[Kc.pJ.function(Kc.pJ.variableName),Kc.pJ.className],color:"#cf7d34"},{tag:[Kc.pJ.propertyName,Kc.pJ.attributeName],color:"#54be0d"}].concat((0,ne.Z)(s))})}(),Oy={background:"#2B2B2B",foreground:"#f8f8f2",caret:"#FFFFFF",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"rgba(255, 255, 255, 0.1)",gutterForeground:"#999",gutterBorder:"transparent",lineHighlight:"rgba(255, 255, 255, 0.1)"},yy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Oy,o),styles:[{tag:[Kc.pJ.atom,Kc.pJ.number],color:"#bd93f9"},{tag:[Kc.pJ.comment],color:"#61A151"},{tag:[Kc.pJ.string],color:"#6A8759"},{tag:[Kc.pJ.variableName,Kc.pJ.operator],color:"#A9B7C6"},{tag:[Kc.pJ.meta,Kc.pJ.className],color:"#A9B7C6"},{tag:[Kc.pJ.propertyName],color:"#FFC66D"},{tag:[Kc.pJ.keyword],color:"#CC7832"},{tag:[Kc.pJ.tagName],color:"#ff79c6"},{tag:[Kc.pJ.typeName],color:"#ffb86c"}].concat((0,ne.Z)(s))})}(),by={background:"#282a36",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"#282a36",gutterForeground:"#6D8A88",gutterBorder:"transparent",lineHighlight:"rgba(255, 255, 255, 0.1)"},ky=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},by,o),styles:[{tag:Kc.pJ.comment,color:"#6272a4"},{tag:Kc.pJ.string,color:"#f1fa8c"},{tag:Kc.pJ.atom,color:"#bd93f9"},{tag:Kc.pJ.meta,color:"#f8f8f2"},{tag:[Kc.pJ.keyword,Kc.pJ.operator,Kc.pJ.tagName],color:"#ff79c6"},{tag:[Kc.pJ.function(Kc.pJ.propertyName),Kc.pJ.propertyName],color:"#66d9ef"},{tag:[Kc.pJ.definition(Kc.pJ.variableName),Kc.pJ.function(Kc.pJ.variableName),Kc.pJ.className,Kc.pJ.attributeName],color:"#50fa7b"},{tag:Kc.pJ.atom,color:"#bd93f9"}].concat((0,ne.Z)(s))})}(),Sy={background:"#faf8f5",foreground:"#b29762",caret:"#93abdc",selection:"#e3dcce",selectionMatch:"#e3dcce",gutterBackground:"#faf8f5",gutterForeground:"#cdc4b1",gutterBorder:"transparent",lineHighlight:"#EFEFEF"},xy=function(e){var t=e||{},n=t.theme,r=void 0===n?"light":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Sy,o),styles:[{tag:[Kc.pJ.comment,Kc.pJ.bracket],color:"#b6ad9a"},{tag:[Kc.pJ.atom,Kc.pJ.number,Kc.pJ.keyword,Kc.pJ.link,Kc.pJ.attributeName,Kc.pJ.quote],color:"#063289"},{tag:[Kc.pJ.emphasis,Kc.pJ.heading,Kc.pJ.tagName,Kc.pJ.propertyName,Kc.pJ.variableName],color:"#2d2006"},{tag:[Kc.pJ.typeName,Kc.pJ.url,Kc.pJ.string],color:"#896724"},{tag:[Kc.pJ.operator,Kc.pJ.string],color:"#1659df"},{tag:[Kc.pJ.propertyName],color:"#b29762"},{tag:[Kc.pJ.unit,Kc.pJ.punctuation],color:"#063289"}].concat((0,ne.Z)(s))})}(),wy={background:"#2a2734",foreground:"#6c6783",caret:"#ffad5c",selection:"rgba(255, 255, 255, 0.1)",gutterBackground:"#2a2734",gutterForeground:"#545167",lineHighlight:"#36334280"},Ty=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},wy,o),styles:[{tag:[Kc.pJ.comment,Kc.pJ.bracket],color:"#6c6783"},{tag:[Kc.pJ.atom,Kc.pJ.number,Kc.pJ.keyword,Kc.pJ.link,Kc.pJ.attributeName,Kc.pJ.quote],color:"#ffcc99"},{tag:[Kc.pJ.emphasis,Kc.pJ.heading,Kc.pJ.tagName,Kc.pJ.propertyName,Kc.pJ.className,Kc.pJ.variableName],color:"#eeebff"},{tag:[Kc.pJ.typeName,Kc.pJ.url],color:"#7a63ee"},{tag:Kc.pJ.operator,color:"#ffad5c"},{tag:Kc.pJ.string,color:"#ffb870"},{tag:[Kc.pJ.propertyName],color:"#9a86fd"},{tag:[Kc.pJ.unit,Kc.pJ.punctuation],color:"#e09142"}].concat((0,ne.Z)(s))})}(),Cy={background:"#fff",foreground:"#000",caret:"#FFFFFF",selection:"#d7d4f0",selectionMatch:"#d7d4f0",gutterBackground:"#f7f7f7",gutterForeground:"#999",lineHighlight:"#e8f2ff",gutterBorder:"transparent"},Ey=function(e){var t=e||{},n=t.theme,r=void 0===n?"light":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Cy,o),styles:[{tag:[Kc.pJ.comment],color:"#3F7F5F"},{tag:[Kc.pJ.documentMeta],color:"#FF1717"},{tag:Kc.pJ.keyword,color:"#7F0055",fontWeight:"bold"},{tag:Kc.pJ.atom,color:"#00f"},{tag:Kc.pJ.number,color:"#164"},{tag:Kc.pJ.propertyName,color:"#164"},{tag:[Kc.pJ.variableName,Kc.pJ.definition(Kc.pJ.variableName)],color:"#0000C0"},{tag:Kc.pJ.function(Kc.pJ.variableName),color:"#0000C0"},{tag:Kc.pJ.string,color:"#2A00FF"},{tag:Kc.pJ.operator,color:"black"},{tag:Kc.pJ.tagName,color:"#170"},{tag:Kc.pJ.attributeName,color:"#00c"},{tag:Kc.pJ.link,color:"#219"}].concat((0,ne.Z)(s))})}(),Ay={background:"#fff",foreground:"#24292e",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#6e7781"},Py=function(e){var t=e||{},n=t.theme,r=void 0===n?"light":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Ay,o),styles:[{tag:[Kc.pJ.standard(Kc.pJ.tagName),Kc.pJ.tagName],color:"#116329"},{tag:[Kc.pJ.comment,Kc.pJ.bracket],color:"#6a737d"},{tag:[Kc.pJ.className,Kc.pJ.propertyName],color:"#6f42c1"},{tag:[Kc.pJ.variableName,Kc.pJ.attributeName,Kc.pJ.number,Kc.pJ.operator],color:"#005cc5"},{tag:[Kc.pJ.keyword,Kc.pJ.typeName,Kc.pJ.typeOperator,Kc.pJ.typeName],color:"#d73a49"},{tag:[Kc.pJ.string,Kc.pJ.meta,Kc.pJ.regexp],color:"#032f62"},{tag:[Kc.pJ.name,Kc.pJ.quote],color:"#22863a"},{tag:[Kc.pJ.heading],color:"#24292e",fontWeight:"bold"},{tag:[Kc.pJ.emphasis],color:"#24292e",fontStyle:"italic"},{tag:[Kc.pJ.deleted],color:"#b31d28",backgroundColor:"ffeef0"},{tag:[Kc.pJ.atom,Kc.pJ.bool,Kc.pJ.special(Kc.pJ.variableName)],color:"#e36209"},{tag:[Kc.pJ.url,Kc.pJ.escape,Kc.pJ.regexp,Kc.pJ.link],color:"#032f62"},{tag:Kc.pJ.link,textDecoration:"underline"},{tag:Kc.pJ.strikethrough,textDecoration:"line-through"},{tag:Kc.pJ.invalid,color:"#cb2431"}].concat((0,ne.Z)(s))})}(),_y={background:"#0d1117",foreground:"#c9d1d9",caret:"#c9d1d9",selection:"#003d73",selectionMatch:"#003d73",lineHighlight:"#36334280"},Dy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},_y,o),styles:[{tag:[Kc.pJ.standard(Kc.pJ.tagName),Kc.pJ.tagName],color:"#7ee787"},{tag:[Kc.pJ.comment,Kc.pJ.bracket],color:"#8b949e"},{tag:[Kc.pJ.className,Kc.pJ.propertyName],color:"#d2a8ff"},{tag:[Kc.pJ.variableName,Kc.pJ.attributeName,Kc.pJ.number,Kc.pJ.operator],color:"#79c0ff"},{tag:[Kc.pJ.keyword,Kc.pJ.typeName,Kc.pJ.typeOperator,Kc.pJ.typeName],color:"#ff7b72"},{tag:[Kc.pJ.string,Kc.pJ.meta,Kc.pJ.regexp],color:"#a5d6ff"},{tag:[Kc.pJ.name,Kc.pJ.quote],color:"#7ee787"},{tag:[Kc.pJ.heading],color:"#d2a8ff",fontWeight:"bold"},{tag:[Kc.pJ.emphasis],color:"#d2a8ff",fontStyle:"italic"},{tag:[Kc.pJ.deleted],color:"#ffdcd7",backgroundColor:"ffeef0"},{tag:[Kc.pJ.atom,Kc.pJ.bool,Kc.pJ.special(Kc.pJ.variableName)],color:"#ffab70"},{tag:Kc.pJ.link,textDecoration:"underline"},{tag:Kc.pJ.strikethrough,textDecoration:"line-through"},{tag:Kc.pJ.invalid,color:"#f97583"}].concat((0,ne.Z)(s))})}(),Zy={background:"#272822",foreground:"#FFFFFF",caret:"#FFFFFF",selection:"#49483E",selectionMatch:"#49483E",gutterBackground:"#272822",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},Ny=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Zy,o),styles:[{tag:[Kc.pJ.comment,Kc.pJ.documentMeta],color:"#8292a2"},{tag:[Kc.pJ.number,Kc.pJ.bool,Kc.pJ.null,Kc.pJ.atom],color:"#ae81ff"},{tag:[Kc.pJ.attributeValue,Kc.pJ.className,Kc.pJ.name],color:"#e6db74"},{tag:[Kc.pJ.propertyName,Kc.pJ.attributeName],color:"#a6e22e"},{tag:[Kc.pJ.variableName],color:"#9effff"},{tag:[Kc.pJ.squareBracket],color:"#bababa"},{tag:[Kc.pJ.string,Kc.pJ.special(Kc.pJ.brace)],color:"#e6db74"},{tag:[Kc.pJ.regexp,Kc.pJ.className,Kc.pJ.typeName,Kc.pJ.definition(Kc.pJ.typeName)],color:"#66d9ef"},{tag:[Kc.pJ.definition(Kc.pJ.variableName),Kc.pJ.definition(Kc.pJ.propertyName),Kc.pJ.function(Kc.pJ.variableName)],color:"#fd971f"},{tag:[Kc.pJ.keyword,Kc.pJ.definitionKeyword,Kc.pJ.modifier,Kc.pJ.tagName,Kc.pJ.angleBracket],color:"#f92672"}].concat((0,ne.Z)(s))})}(),Qy={background:"#303841",foreground:"#FFFFFF",caret:"#FBAC52",selection:"#4C5964",selectionMatch:"#3A546E",gutterBackground:"#303841",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"};var Ry=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Qy,o),styles:[{tag:[Kc.pJ.meta,Kc.pJ.comment],color:"#A2A9B5"},{tag:[Kc.pJ.attributeName,Kc.pJ.keyword],color:"#B78FBA"},{tag:Kc.pJ.function(Kc.pJ.variableName),color:"#5AB0B0"},{tag:[Kc.pJ.string,Kc.pJ.regexp,Kc.pJ.attributeValue],color:"#99C592"},{tag:Kc.pJ.operator,color:"#f47954"},{tag:[Kc.pJ.tagName,Kc.pJ.modifier],color:"#E35F63"},{tag:[Kc.pJ.number,Kc.pJ.definition(Kc.pJ.tagName),Kc.pJ.className,Kc.pJ.definition(Kc.pJ.variableName)],color:"#fbac52"},{tag:[Kc.pJ.atom,Kc.pJ.bool,Kc.pJ.special(Kc.pJ.variableName)],color:"#E35F63"},{tag:Kc.pJ.variableName,color:"#539ac4"},{tag:[Kc.pJ.propertyName,Kc.pJ.typeName],color:"#629ccd"},{tag:Kc.pJ.propertyName,color:"#36b7b5"}].concat((0,ne.Z)(s))})}(),My={background:"#fff",foreground:"#3D3D3D",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#AFAFAF",lineHighlight:"#EDF4FF"};var $y,Iy,Ly,Fy,By,jy,zy,Uy=function(e){var t=e||{},n=t.theme,r=void 0===n?"light":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},My,o),styles:[{tag:[Kc.pJ.comment,Kc.pJ.quote],color:"#707F8D"},{tag:[Kc.pJ.typeName,Kc.pJ.typeOperator],color:"#aa0d91"},{tag:[Kc.pJ.keyword],color:"#aa0d91",fontWeight:"bold"},{tag:[Kc.pJ.string,Kc.pJ.meta],color:"#D23423"},{tag:[Kc.pJ.name],color:"#032f62"},{tag:[Kc.pJ.typeName],color:"#522BB2"},{tag:[Kc.pJ.variableName],color:"#23575C"},{tag:[Kc.pJ.definition(Kc.pJ.variableName)],color:"#327A9E"},{tag:[Kc.pJ.regexp,Kc.pJ.link],color:"#0e0eff"}].concat((0,ne.Z)(s))})}(),Yy={background:"#292A30",foreground:"#CECFD0",caret:"#fff",selection:"#727377",selectionMatch:"#727377",lineHighlight:"#2F3239"},Xy=function(e){var t=e||{},n=t.theme,r=void 0===n?"dark":n,i=t.settings,o=void 0===i?{}:i,a=t.styles,s=void 0===a?[]:a;return ty({theme:r,settings:Ht({},Yy,o),styles:[{tag:[Kc.pJ.comment,Kc.pJ.quote],color:"#7F8C98"},{tag:[Kc.pJ.keyword],color:"#FF7AB2",fontWeight:"bold"},{tag:[Kc.pJ.string,Kc.pJ.meta],color:"#FF8170"},{tag:[Kc.pJ.typeName],color:"#DABAFF"},{tag:[Kc.pJ.definition(Kc.pJ.variableName)],color:"#6BDFFF"},{tag:[Kc.pJ.name],color:"#6BAA9F"},{tag:[Kc.pJ.variableName],color:"#ACF2E4"},{tag:[Kc.pJ.regexp,Kc.pJ.link],color:"#FF8170"}].concat((0,ne.Z)(s))})}(),Hy='<div align="center">\n <h1 align="center">\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668</h1>\n</div>\n\n[](https://jaywcjlove.github.io/wxmp)\n\n\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0 Markdown \u5728\u7ebf\u7f16\u8f91\u5668\uff0c\u4f7f\u7528 markdown \u8bed\u6cd5\u521b\u5efa\u4e00\u7bc7\u7b80\u4ecb\u7f8e\u89c2\u5927\u65b9\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\u56fe\u6587\u3002\u7531\u4e8e\u53d1\u7248\u672c\u9ebb\u70e6\uff0c\u548c\u4e00\u4e9b\u529f\u80fd\u65e0\u6cd5\u6269\u5c55\u505c\u6ede\u5f00\u53d1\u4e86\uff0c\u672a\u6765\u4e0d\u518d\u5f00\u53d1 Chrome \u7684\u63d2\u4ef6(\u6682\u5b58\u5728 chrome \u5206\u652f)\uff0c\u901a\u8fc7 web \u7248\u672c\u5b9a\u5236\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002\n\n[](https://github.com/jaywcjlove/wxmp/releases)\n\n## \u529f\u80fd\u7279\u6027\n\n\u5f00\u53d1\u8ba1\u5212\u548c\u4e00\u4e9b\u529f\u80fd\u4ecb\u7ecd\uff0c\u6709\u9700\u6c42\u53ef\u4ee5\u5728 issue \u4e2d\u63d0\uff0c\u4f7f\u5f97\u5de5\u5177\u53d8\u5f97\u66f4\u52a0\u5b8c\u5584\u3002\u4e0b\u9762\u793a\u4f8b\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n- [x] \u652f\u6301 Markdown \u6240\u6709\u57fa\u7840\u8bed\u6cd5\n- [x] \u652f\u6301\u81ea\u5b9a\u4e49 CSS \u6837\u5f0f\n- [x] \u652f\u6301\u4e3b\u9898\u9009\u62e9 & \u7f16\u8f91\u9884\u89c8\u3002\n- [x] \u652f\u6301\u660e\u6697\u4e24\u79cd\u4e3b\u9898\u9884\u89c8\u3002\n- [ ] \u652f\u6301\u4ee3\u7801\u5757\u4e3b\u9898\u6837\u5f0f\u9009\u62e9\u3002\n- [x] \u652f\u6301\u8272\u76d8\u53d6\u8272\uff0c\u5feb\u901f\u66ff\u6362\u6587\u7ae0\u6574\u4f53\u8272\u8c03\n- [x] \u652f\u6301 URL \u53c2\u6570\u52a0\u8f7d Markdown \u5185\u5bb9\u3002\n- [x] \u652f\u6301 URL \u53c2\u6570\u9009\u62e9\u9884\u89c8\u4e3b\u9898\u3002\n- [x] CI \u81ea\u52a8\u751f\u6210 Electron \u684c\u9762\u5e94\u7528\u3002\n- [ ] ~~\u652f\u6301\u5168\u5c40\u5b57\u53f7\u5927\u5c0f\u9009\u62e9\u3002~~\n\n### \u652f\u6301\u4ee3\u7801\u5757\u6837\u5f0f\n\n\u4e0b\u9762\u662f `jsx` \u4ee3\u7801\u5757\u5c55\u793a\u793a\u4f8b\uff0c\u5e76\u9ad8\u4eae\u4ee3\u7801\uff0c\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n```jsx\nfunction Demo() {\n return <div className="demo">Hello World!</div>\n}\n```\n\n\u4e0b\u9762\u662f `css` \u4ee3\u7801\u5757\u5c55\u793a\u793a\u4f8b\uff0c\u5e76\u9ad8\u4eae\u4ee3\u7801\uff0c\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n```css\nli {\n font-size: 16px;\n margin: 0;\n line-height: 26px;\n color: rgb(30 41 59);\n font-family:-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;\n}\n```\n\n### \u652f\u6301\u5185\u8054\u4ee3\u7801\n\n> \u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\nInline Code `{code: 0}`\n\n### \u652f\u6301\u8868\u683c\n\n\u8868\u683c\u65e0\u6cd5\u4f7f\u7528\u81ea\u5b9a\u4e49\u6837\u5f0f\uff0c\u6682\u65f6\u6ca1\u627e\u5230\u89e3\u51b3\u9014\u5f84\n\n| Header 1 | Header 2 |\n| --- | --- |\n| Key 1 | Value 1 |\n| Key 2 | Value 2 |\n| Key 3 | Value 3 |\n\n### \u652f\u6301 GFM \u811a\u6ce8\n\n\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684 Markdown[^1] \u8bed\u6cd5\u7684\u811a\u6ce8[^2]\u3002 \u9875\u9762\u6700\u540e\u6709\u4e00\u4e9b\u989d\u5916\u7684\u6587\u5b57\u63cf\u8ff0\u3002\u6ce8\u610f\u8fd9\u4e0d\u662f\u5b8c\u6574\u7684\u6ce8\u811a[^3]\u7279\u6027\u3002\n\n[^1]: GitHub \u98ce\u683c\u7684 Markdown \u89c4\u8303 https://github.github.com/gfm/\n[^2]: \u811a\u6ce8 https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/\n[^3]: \u5fae\u4fe1\u6587\u7ae0\u4e0d\u652f\u6301\u951a\u70b9\u8df3\u8f6c\u548c\u6253\u5f00\u7b2c\u4e09\u65b9 URL \u8d85\u94fe\u63a5\uff0c\u6240\u4ee5\u4e0d\u652f\u6301\u5b8c\u6574\u7684\u6ce8\u811a\u7279\u6027\u3002\n\n### \u652f\u6301\u6ce8\u91ca\n\n```html\n<ruby>\n \u6c49 <rt>Han</rt>\n</ruby>\n```\n\n\u6c49\u5b57\u6ce8\u97f3\u6548\u679c\uff1a\n<ruby>\n \u6c49 <rt>Han</rt>\n \u5b57 <rt>zi</rt>\n \u62fc <rt>pin</rt>\n \u97f3 <rt>yin</rt>\n \u6ce8 <rt>zhu</rt>\n \u97f3 <rt>yin</rt>\n</ruby>\n\n### \u652f\u6301\u81ea\u5b9a\u4e49\u6837\u5f0f\n\x3c!--rehype:style=color: red;--\x3e\n\n\u5728 Markdown \u4e2d HTML \u6ce8\u91ca\u4e5f\u53ef\u4ee5\u7528\u5728 markdown \u4e2d\uff0c\u5229\u7528\u8fd9\u4e00\u7279\u70b9\uff0c\u4e3a\u4e00\u4e9b\u5185\u5bb9\u81ea\u5b9a\u4e00\u6837\u5f0f\u3002\u4f7f\u7528 HTML \u6ce8\u91ca `\x3c!--rehype:xxx--\x3e`\x3c!--rehype:style=color: red;background: #ff000033;--\x3e \u8ba9 Markdown \u652f\u6301\u6837\u5f0f\u81ea\u5b9a\u4e49\u3002\n\n```markdown\n## \u5b9a\u4e49\u6807\u9898\u6837\u5f0f\n\x3c!--rehype:style=display: flex; height: 230px; align-items: center; justify-content: center; font-size: 38px;--\x3e\n\n\u652f\u6301\u5bf9\u67d0\u4e9b\u6587\u5b57\u53d8\u66f4\u6837\u5f0f\uff0c\u5982_\u6587\u5b57\u989c\u8272_\x3c!--rehype:style=color: red;--\x3e\uff0c\u6587\u5b57\u989c\u8272\u5c06\u88ab\u8bbe\u7f6e\u4e3a\u7ea2\u8272(red)\u3002\n```\n\n\u26a0\ufe0f \u6ce8\u610f\uff1a\u8fd9\u4e00\u7279\u6027\u53ef\u80fd\u9002\u7528\u4e8e\u6709\u4e00\u5b9a css \u524d\u7aef\u57fa\u7840\u77e5\u8bc6\u7684\u7528\u6237\uff0c\u4e0d\u8fc7\u5b83\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u4f7f\u7528 `\x3c!--rehype:style=` \u5f00\u59cb\uff0c`--\x3e` \u7ed3\u675f\uff0c\u4e2d\u95f4\u5305\u88f9 css \u6837\u5f0f\uff0c\u5982 `color: red;` \u8bbe\u7f6e\u6587\u5b57\u7ea2\u8272\u3002\n\n\n### \u6807\u8bb0\u5ffd\u7565\u5185\u5bb9\n\n\u6b64\u7279\u6027\u5229\u7528 HTML \u6ce8\u91ca\u5728 markdown \u4e2d\u88ab\u5ffd\u7565\u7684\u7279\u6027\uff0c\u6807\u8bb0\u9700\u8981\u5ffd\u7565\u7684\u5185\u5bb9\uff0c\u6807\u8bb0\u5f00\u59cb `\x3c!--rehype:ignore:start--\x3e`\uff0c\u6807\u8bb0\u7ed3\u675f `\x3c!--rehype:ignore:end--\x3e`\uff0c\u88ab\u6807\u8bb0\u7684\u5185\u5bb9\u5728\u5fae\u4fe1 Markdown \u7f16\u8f91\u5668\u9884\u89c8\u4e2d\u4e0d\u663e\u793a\u3002\u5728\u5176\u5b83\u9884\u89c8\u5de5\u5177\u4e2d\u5c55\u793a\u5185\u5bb9\uff0c\u6bd4\u5982 GitHub \u4e2d\u80fd\u5c55\u793a\u3002\n\n```markdown\n# \u6ce8\u91ca\u5ffd\u7565\n\n\x3c!--rehype:ignore:start--\x3e\u5185\u5bb9\u5728\u5fae\u4fe1 Markdown \u7f16\u8f91\u5668\u9884\u89c8\u4e2d\u4e0d\u663e\u793a\u3002\u5728\u5176\u5b83\u9884\u89c8\u5de5\u5177\u4e2d\u5c55\u793a\u5185\u5bb9\u3002\x3c!--rehype:ignore:end--\x3e\n```\n\n### \u652f\u6301 URL \u53c2\u6570\u52a0\u8f7d Markdown \u5185\u5bb9\n\n```\nhttps://<URL>?md=<Markdown \u8d44\u6e90 URL>\n```\n\n\u52a0\u8f7d Markdown \u5185\u5bb9\u7684\u793a\u4f8b URL\uff1a\n\n```\nhttps://jaywcjlove.github.io/wxmp/#/?theme=underscore&md=https://raw.githubusercontent.com/jaywcjlove/c-tutorial/master/README.md\n\nMarkdown URL \u5730\u5740: https://raw.githubusercontent.com/jaywcjlove/c-tutorial/master/README.md\n```\n\n## \u4e3b\u9898\u5b9a\u5236\n\n\u5728\u76ee\u5f55 `website/src/themes` \u4e2d\u5b58\u653e\u9ed8\u8ba4\u4e3b\u9898\uff0c\u5728 `website/src/store/context.tsx` \u4e2d\u914d\u7f6e\u4e3b\u9898\uff0c\u4e3b\u9898\u4f7f\u7528 `css` \u5b9a\u4e49\u6837\u5f0f\uff0c\u4e0d\u652f\u6301\u590d\u6742\u7684\u9009\u62e9\u5668\u3002\u63d0\u4f9b\u5728\u7ebf\u4e3b\u9898\u7f16\u8f91\u5668\uff0c\u6b22\u8fce\u4fee\u6539\u5e76 `PR` \u8fdb\u4ed3\u5e93\u4f9b\u5927\u5bb6\u4f7f\u7528\u3002\n\n```css\n/* 1~6 \u6807\u9898\u6837\u5f0f\u5b9a\u4e49 */\nh1 {} h2 {} h3 {} h4 {} h5 {} h6 {}\na { color: red; } /* \u8d85\u94fe\u63a5\u6837\u5f0f\u5b9a\u4e49 */\nstrong {} /* \u52a0\u7c97\u6837\u5f0f\u5b9a\u4e49 */\ndel {} /* \u5220\u9664\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\nem {} /* \u4e0b\u5212\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\nu {} /* \u4e0b\u5212\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\np {} /* \u6bb5\u843d\u6837\u5f0f\u5b9a\u4e49 */\nul {} /* \u65e0\u5e8f\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\nol {} /* \u6709\u5e8f\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\nli {} /* \u5217\u8868\u6761\u76ee\u6837\u5f0f\u5b9a\u4e49 */\nblockquote {} /* \u5757\u7ea7\u5f15\u7528\u6837\u5f0f\u5b9a\u4e49 */\ntable {}\ntd {}\nth {}\npre {} /* \u6837\u5f0f\u5b9a\u4e49 */\n.code-highlight {} /* \u4ee3\u7801\u5757\u6837\u5f0f\u5b9a\u4e49 */\n.code-line {} /* \u4ee3\u7801\u5757\u884c\u6837\u5f0f\u5b9a\u4e49 */\n.code-spans {} /* \u4ee3\u7801\u5757\u884c\u6837\u5f0f\u5b9a\u4e49 */\n\nsup {} /* GFM \u811a\u6ce8\u6837\u5f0f\u5b9a\u4e49 */\n.footnotes-title {} /* GFM \u811a\u6ce8\uff0c\u53c2\u8003\u6807\u9898\u6837\u5f0f\u5b9a\u4e49 */\n.footnotes-list {} /* GFM \u811a\u6ce8\uff0c\u53c2\u8003\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\n\n.image-warpper {} /* \u56fe\u7247\u7236\u8282\u70b9\u6837\u5f0f\u5b9a\u4e49 */\n.image {} /* \u56fe\u7247\u6837\u5f0f\u5b9a\u4e49 */\n\n/* \u90e8\u5206\u4ee3\u7801\u9ad8\u4eae\u6837\u5f0f */\n.comment {}\n.property {}\n.function {}\n.keyword {}\n.punctuation {}\n.unit {}\n.tag {}\n.color {}\n.selector {}\n.quote {}\n.number {}\n.attr-name {}\n.attr-value {}\n```\n\n## \u90e8\u7f72\n\n[](https://hub.docker.com/r/wcjiang/wxmp) [](https://hub.docker.com/r/wcjiang/wxmp) [](https://hub.docker.com/r/wcjiang/wxmp)\n\n\u8f7b\u677e\u901a\u8fc7 docker \u90e8\u7f72\u300a\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668\u300b\u7f51\u7ad9\u5e94\u7528\u3002\n\n```bash\ndocker pull wcjiang/wxmp\n# Or\ndocker pull ghcr.io/jaywcjlove/wxmp:latest\n```\n\n```bash\ndocker run --name wxmp --rm -d -p 8113:3000 wcjiang/wxmp:latest\n# Or\ndocker run --name wxmp -itd -p 8113:3000 wcjiang/wxmp:latest\n# Or\ndocker run --name wxmp -itd -p 8113:3000 ghcr.io/jaywcjlove/wxmp:latest\n```\n\n\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u4ee5\u4e0b URL\n\n```\nhttp://localhost:96611/\n```\n\n## \u8d21\u732e\u8005\n\n\u4e00\u5982\u65e2\u5f80\uff0c\u611f\u8c22\u6211\u4eec\u51fa\u8272\u7684\u8d21\u732e\u8005\uff01\n\n<a href="https://github.com/jaywcjlove/wxmp/graphs/contributors">\n <img src="https://jaywcjlove.github.io/wxmp/CONTRIBUTORS.svg" />\n</a>\n\n\u4e0a\u56fe\u8d21\u732e\u8005\u5217\u8868\uff0c\u7531 [action-contributors](https://github.com/jaywcjlove/github-action-contributors)[^4] \u81ea\u52a8\u751f\u6210\u8d21\u732e\u8005\u56fe\u7247\u3002\n\n\n[^4]: Action Contributors https://github.com/jaywcjlove/github-action-contributors\n\n## License\n\n\u6839\u636e MIT \u8bb8\u53ef\u8bc1\u83b7\u5f97\u8bb8\u53ef\u3002\n',Wy=Hy,qy={default:{label:"\u9ed8\u8ba4\u4e3b\u9898",value:ny},abcdef:{label:"Abcdef Theme",value:uy},androidstudio:{label:"Android Studio Theme",value:hy},atomone:{label:"Atomone Theme",value:dy},bbedit:{label:"Bbedit Theme",value:my},bespin:{label:"Bespin Theme",value:vy},darcula:{label:"Darcula Theme",value:yy},dracula:{label:"Dracula Theme",value:ky},duotoneLight:{label:"Duotone Light Theme",value:xy},duotoneDark:{label:"Duotone Dark Theme",value:Ty},eclipse:{label:"Eclipse Theme",value:Ey},githubLight:{label:"Github Light Theme",value:Py},githubDark:{label:"Github Dark Theme",value:Dy},okaidia:{label:"Okaidia Theme",value:Ny},sublime:{label:"Sublime Theme",value:Ry},xcodeLight:{label:"Xcode Light Theme",value:Uy},xcodeDark:{label:"Xcode Dark Theme",value:Xy}},Gy={default:{label:"\u7fe1\u7fe0\u7eff",value:"a {\n color: #009874;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 18px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em;\n border-bottom: 3px solid #009874;\n margin-top: 0;\n}\n\nh2 {\n display: table;\n text-align: center;\n color: #fff;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 4em auto 2em;\n padding: 0 0.3em;\n border-radius: 0.3em;\n background: #009874;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #009874;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n line-height: 1.5em;\n}\n\np {\n font-size: 16px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #333;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 1em;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#009874"},simple:{label:"\u7b80\u6d01\u84dd",value:"a {\n color: #0f4c81;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 18px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em;\n border-bottom: 3px solid #0f4c81;\n margin-top: 0;\n}\n\nh2 {\n display: table;\n text-align: center;\n color: #fff;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 4em auto 2em;\n padding: 0 0.3em;\n border-radius: 0.3rem;\n background: #0f4c81;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #0f4c81;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n line-height: 1.5em;\n}\n\np {\n font-size: 16px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #0f4c81;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 14px;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#0f4c81"},underscore:{label:"\u4e0b\u5212\u7ebf\u9ec4",value:"a {\n color: #ffb11b;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.15;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 18px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em 0.3em 1em;\n margin-top: 0;\n box-shadow: inset 0 -0.9rem 0 0 #ffb11b;\n}\n\nh2 {\n display: table;\n line-height: 1.35;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n padding: 0 0.3em;\n margin: 2em 0 1em 0;\n box-shadow: inset 0 -0.7rem 0 0 #ffb11b;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #ffb11b;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n}\n\np {\n font-size: 16px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n line-height: 1.5em;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #333;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 14px;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#ffb11b"},base:{label:"\u7b80\u6d01",value:"a {\n color: inherit;\n text-decoration: none;\n}\n\nh1 {\n color: inherit;\n font-size: 18px;\n font-weight: bold;\n}\n\nh2 {\n color: inherit;\n margin: 2.5rem 0 1rem 0;\n font-size: 16px;\n font-weight: bold;\n}\n\nh3 {\n color: inherit;\n margin: 1em 0 1em 0;\n font-weight: bold;\n font-size: 14px;\n}\n\nh4 {\n color: inherit;\n margin: 0.6em 0 0.6em 0;\n font-weight: bold;\n font-size: 12px;\n}\n\np {\n color: initial;\n font-size: 16px;\n line-height: 1.5em;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n font-size: 14px;\n line-height: 1.5em;\n}\n\nblockquote {\n font-style: normal;\n border-left: none;\n margin: 1em 0;\n line-height: 1.5em;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-size: 14px;\n font-weight: 400;\n letter-spacing: normal;\n word-spacing: 0px;\n border-radius: 5px;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 1em;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3rem 0 0.6rem 0;\n padding-left: 0.2rem;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:""}},Vy={underscore:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"box-shadow",value:"inset 0 -0.9rem 0 0 {{color}}"},{select:"h2",name:"box-shadow",value:"inset 0 -0.7rem 0 0 {{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"}],default:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"border-bottom",value:"3px solid {{color}}"},{select:"h2",name:"background",value:"{{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"}],simple:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"border-bottom",value:"3px solid {{color}}"},{select:"h2",name:"background",value:"{{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"},{select:".code-spans",name:"color",value:"{{color}}"}],base:[]},Jy=(Object.keys(Gy).map((function(e){return Gy[e].color})),J.createContext({preColor:"",setPreColor:function(){},isLoading:!0,setIsLoading:function(){},markdown:Hy,setMarkdown:function(){},css:Gy.underscore.value,setCss:function(){},previewTheme:"underscore",setPreviewTheme:function(){},theme:"default",setTheme:function(){}})),Ky=la.div($y||($y=V([""]))),eb=la.div(Iy||(Iy=V(["\n position: relative;\n height: 2.8rem;\n"]))),tb=la.header(Ly||(Ly=V(["\n -webkit-app-region: drag;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background: var(--color-canvas-default);\n border-bottom: 1px solid var(--color-border-muted);\n padding: 0.5rem 0.6rem 0.5rem 0.8rem;\n position: fixed;\n width: 100%;\n z-index: 9;\n"]))),nb=la.article(Fy||(Fy=V(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0.6rem;\n"]))),rb=la(fs)(By||(By=V(["\n max-width: 3.6rem;\n"]))),ib=la.h1(jy||(jy=V(["\n font-size: 1rem;\n margin: 0;\n display: flex;\n align-items: center;\n user-select: none;\n sup {\n color: var(--color-fg-subtle);\n margin-left: 0.4rem;\n background-color: var(--color-border-muted);\n border-radius: 0.1rem;\n padding: 0 0.2rem 0 0.1rem;\n font-weight: normal;\n font-size: 0.7rem;\n letter-spacing: -0.1rem;\n }\n"]))),ob=la.section(zy||(zy=V(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n dark-mode {\n font-size: 1.05rem;\n display: block;\n line-height: 12px;\n margin-left: 0.6rem;\n }\n a svg {\n display: block;\n }\n a {\n text-decoration: none;\n color: var(--color-theme-text);\n padding: 0.1rem 0.3rem;\n transition: all 0.3s;\n font-size: 0.9rem;\n border-radius: 0.2rem;\n &.active {\n background-color: var(--color-accent-fg);\n box-shadow: inset 0 -0.3rem 0 var(--color-accent-fg);\n color: #fff;\n }\n &:hover:not(.active):not(:last-child) {\n background-color: var(--color-accent-fg);\n color: #fff;\n border-radius: 0.2rem;\n }\n }\n"])));function ab(){var e=(0,J.useContext)(Jy).isLoading;return(0,qt.jsxs)(Ky,{className:"wmde-markdown-color",children:[(0,qt.jsx)(eb,{children:(0,qt.jsxs)(tb,{className:"header",children:[(0,qt.jsxs)(nb,{className:"logo",children:[(0,qt.jsx)(rb,{width:28,height:28}),(0,qt.jsxs)(ib,{children:["\u5fae\u4fe1\u516c\u4f17\u53f7\u6392\u7248\u7f16\u8f91\u5668",(0,qt.jsxs)("sup",{children:[" v","2.3.3"," "]})]}),e&&(0,qt.jsx)(Ds,{})]}),(0,qt.jsxs)(ob,{children:[(0,qt.jsx)(zt,{to:"/",children:"\u9996\u9875"}),(0,qt.jsx)(zt,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"}),(0,qt.jsx)(zt,{to:"/doc",children:"\u6587\u6863"}),(0,qt.jsx)("dark-mode",{permanent:!0,dark:"Dark",light:"Light"}),(0,qt.jsx)("a",{href:"https://github.com/jaywcjlove/wxmp",target:"__blank",children:(0,qt.jsx)(Cs,{width:23,height:23})})]})]})}),(0,qt.jsx)(Ct,{})]})}var sb=1,lb=2,ub=3,cb=4,hb=5,fb=6,db=7,pb=8,mb=9,gb=10,vb=11,Ob=12,yb=13,bb=14,kb=15,Sb=16,xb=17,wb=18,Tb=19,Cb=20,Eb=21,Ab=22,Pb=23,_b=24,Db=25,Zb=0;function Nb(e){return e>=48&&e<=57}function Qb(e){return Nb(e)||e>=65&&e<=70||e>=97&&e<=102}function Rb(e){return e>=65&&e<=90}function Mb(e){return function(e){return Rb(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function $b(e){return Mb(e)||Nb(e)||45===e}function Ib(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function Lb(e){return 10===e||13===e||12===e}function Fb(e){return Lb(e)||32===e||9===e}function Bb(e,t){return 92===e&&(!Lb(t)&&t!==Zb)}function jb(e,t,n){return 45===e?Mb(t)||45===t||Bb(t,n):!!Mb(e)||92===e&&Bb(e,t)}function zb(e,t,n){return 43===e||45===e?Nb(t)?2:46===t&&Nb(n)?3:0:46===e?Nb(t)?2:0:Nb(e)?1:0}function Ub(e){return 65279===e||65534===e?1:0}for(var Yb=new Array(128),Xb=130,Hb=131,Wb=132,qb=133,Gb=0;Gb<Yb.length;Gb++)Yb[Gb]=Fb(Gb)&&Xb||Nb(Gb)&&Hb||Mb(Gb)&&Wb||Ib(Gb)&&qb||Gb||128;function Vb(e){return e<128?Yb[e]:Wb}function Jb(e,t){return t<e.length?e.charCodeAt(t):0}function Kb(e,t,n){return 13===n&&10===Jb(e,t+1)?2:1}function ek(e,t,n){var r=e.charCodeAt(t);return Rb(r)&&(r|=32),r===n}function tk(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(var i=t;i<n;i++){var o=r.charCodeAt(i-t),a=e.charCodeAt(i);if(Rb(a)&&(a|=32),a!==o)return!1}return!0}function nk(e,t){for(;t<e.length&&Fb(e.charCodeAt(t));t++);return t}function rk(e,t){for(;t<e.length&&Nb(e.charCodeAt(t));t++);return t}function ik(e,t){if(Qb(Jb(e,(t+=2)-1))){for(var n=Math.min(e.length,t+5);t<n&&Qb(Jb(e,t));t++);var r=Jb(e,t);Fb(r)&&(t+=Kb(e,t,r))}return t}function ok(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(!$b(n)){if(!Bb(n,Jb(e,t+1)))break;t=ik(e,t)-1}}return t}function ak(e,t){var n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),Nb(n)&&(t=rk(e,t+1),n=e.charCodeAt(t)),46===n&&Nb(e.charCodeAt(t+1))&&(t=rk(e,t+=2)),ek(e,t,101)){var r=0;45!==(n=e.charCodeAt(t+1))&&43!==n||(r=1,n=e.charCodeAt(t+2)),Nb(n)&&(t=rk(e,t+1+r+1))}return t}function sk(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(41===n){t++;break}Bb(n,Jb(e,t+1))&&(t=ik(e,t))}return t}function lk(e){if(1===e.length&&!Qb(e.charCodeAt(0)))return e[0];var t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var uk=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"],ck=16384;function hk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return null===e||e.length<t?new Uint32Array(Math.max(t+1024,ck)):e}function fk(e){for(var t=e.source,n=t.length,r=t.length>0?Ub(t.charCodeAt(0)):0,i=hk(e.lines,n),o=hk(e.columns,n),a=e.startLine,s=e.startColumn,l=r;l<n;l++){var u=t.charCodeAt(l);i[l]=a,o[l]=s++,10!==u&&13!==u&&12!==u||(13===u&&l+1<n&&10===t.charCodeAt(l+1)&&(i[++l]=a,o[l]=s),a++,s=1)}i[n]=a,o[n]=s,e.lines=i,e.columns=o,e.computed=!0}var dk=function(){function e(){(0,re.Z)(this,e),this.lines=null,this.columns=null,this.computed=!1}return(0,ie.Z)(e,[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}},{key:"getLocation",value:function(e,t){return this.computed||fk(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}},{key:"getLocationRange",value:function(e,t,n){return this.computed||fk(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}]),e}(),pk=16777215,mk=24,gk=new Map([[lb,Ab],[Eb,Ab],[Tb,Cb],[Pb,_b]]),vk=function(){function e(t,n){(0,re.Z)(this,e),this.setSource(t,n)}return(0,ie.Z)(e,[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=(e=String(e||"")).length,r=hk(this.offsetAndType,e.length+1),i=hk(this.balance,e.length+1),o=0,a=0,s=0,l=-1;for(this.offsetAndType=null,this.balance=null,t(e,(function(e,t,u){switch(e){default:i[o]=n;break;case a:var c=s&pk;for(s=i[c],a=s>>mk,i[o]=c,i[c++]=o;c<o;c++)i[c]===n&&(i[c]=o);break;case Eb:case lb:case Tb:case Pb:i[o]=s,a=gk.get(e),s=a<<mk|o}r[o++]=e<<mk|u,-1===l&&(l=t)})),r[o]=0|n,i[o]=n,i[n]=n;0!==s;){var u=s&pk;s=i[u],i[u]=n}this.source=e,this.firstCharOffset=-1===l?0:l,this.tokenCount=o,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}},{key:"lookupType",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>mk:0}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&pk:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&tk(this.source,this.offsetAndType[e-1]&pk,this.offsetAndType[e]&pk,t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&pk:this.offsetAndType[this.tokenCount]&pk:this.firstCharOffset}},{key:"substrToCursor",value:function(e){return this.source.substring(e,this.tokenStart)}},{key:"isBalanceEdge",value:function(e){return this.balance[this.tokenIndex]<e}},{key:"isDelim",value:function(e,t){return t?this.lookupType(t)===mb&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===mb&&this.source.charCodeAt(this.tokenStart)===e}},{key:"skip",value:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&pk,t=this.offsetAndType[t],this.tokenType=t>>mk,this.tokenEnd=t&pk):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>mk,this.tokenEnd=e&pk):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===yb||this.tokenType===Db;)this.next()}},{key:"skipUntilBalanced",value:function(e,t){var n,r,i=e;e:for(;i<this.tokenCount&&!((n=this.balance[i])<e);i++)switch(r=i>0?this.offsetAndType[i-1]&pk:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:i++;break e;default:this.balance[n]===i&&(i=n)}this.skip(i-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,n=this.firstCharOffset;t<this.tokenCount;t++){var r=n,i=this.offsetAndType[t],o=i&pk;n=o,e(i>>mk,r,o,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(n,r,i,o){t[o]={idx:o,type:uk[n],chunk:e.source.substring(r,i),balance:e.balance[o]}})),t}}]),e}();function Ok(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){return jb(n(u=ak(e,u)),n(u+1),n(u+2))?(a=Ob,void(u=ok(e,u))):37===n(u)?(a=vb,void u++):void(a=gb)}function i(){var t=u;return u=ok(e,u),tk(e,t,u,"url")&&40===n(u)?34===n(u=nk(e,u+1))||39===n(u)?(a=lb,void(u=t+4)):void function(){for(a=db,u=nk(e,u);u<e.length;u++){var t=e.charCodeAt(u);switch(Vb(t)){case 41:return void u++;case Xb:return 41===n(u=nk(e,u))||u>=e.length?void(u<e.length&&u++):(u=sk(e,u),void(a=pb));case 34:case 39:case 40:case qb:return u=sk(e,u),void(a=pb);case 92:if(Bb(t,n(u+1))){u=ik(e,u)-1;break}return u=sk(e,u),void(a=pb)}}}():40===n(u)?(a=lb,void u++):void(a=sb)}function o(t){for(t||(t=n(u++)),a=hb;u<e.length;u++){var r=e.charCodeAt(u);switch(Vb(r)){case t:return void u++;case Xb:if(Lb(r))return u+=Kb(e,u,r),void(a=fb);break;case 92:if(u===e.length-1)break;var i=n(u+1);Lb(i)?u+=Kb(e,u+1,i):Bb(r,i)&&(u=ik(e,u)-1)}}}for(var a,s=(e=String(e||"")).length,l=Ub(n(0)),u=l;u<s;){var c=e.charCodeAt(u);switch(Vb(c)){case Xb:a=yb,u=nk(e,u+1);break;case 34:o();break;case 35:$b(n(u+1))||Bb(n(u+1),n(u+2))?(a=cb,u=ok(e,u+1)):(a=mb,u++);break;case 39:o();break;case 40:a=Eb,u++;break;case 41:a=Ab,u++;break;case 43:zb(c,n(u+1),n(u+2))?r():(a=mb,u++);break;case 44:a=wb,u++;break;case 45:zb(c,n(u+1),n(u+2))?r():45===n(u+1)&&62===n(u+2)?(a=kb,u+=3):jb(c,n(u+1),n(u+2))?i():(a=mb,u++);break;case 46:zb(c,n(u+1),n(u+2))?r():(a=mb,u++);break;case 47:42===n(u+1)?(a=Db,u=-1===(u=e.indexOf("*/",u+2))?e.length:u+2):(a=mb,u++);break;case 58:a=Sb,u++;break;case 59:a=xb,u++;break;case 60:33===n(u+1)&&45===n(u+2)&&45===n(u+3)?(a=bb,u+=4):(a=mb,u++);break;case 64:jb(n(u+1),n(u+2),n(u+3))?(a=ub,u=ok(e,u+1)):(a=mb,u++);break;case 91:a=Tb,u++;break;case 92:Bb(c,n(u+1))?i():(a=mb,u++);break;case 93:a=Cb,u++;break;case 123:a=Pb,u++;break;case 125:a=_b,u++;break;case Hb:r();break;case Wb:i();break;default:a=mb,u++}t(a,l,l=u)}}var yk=null,bk=function(e){function t(){(0,re.Z)(this,t),this.head=null,this.tail=null,this.cursor=null}return(0,ie.Z)(t,[{key:"createItem",value:function(e){return t.createItem(e)}},{key:"allocateCursor",value:function(e,t){var n;return null!==yk?(n=yk,yk=yk.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}},{key:"releaseCursor",value:function(){var e=this.cursor;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=yk,yk=e}},{key:"updateCursors",value:function(e,t,n,r){for(var i=this.cursor;null!==i;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}},{key:e,value:Ha().mark((function e(){var t;return Ha().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(null===t){e.next=7;break}return e.next=4,t.data;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"size",get:function(){for(var e=0,t=this.head;null!==t;t=t.next)e++;return e}},{key:"isEmpty",get:function(){return null===this.head}},{key:"first",get:function(){return this.head&&this.head.data}},{key:"last",get:function(){return this.tail&&this.tail.data}},{key:"fromArray",value:function(e){var n=null;this.head=null;var r,i=(0,Oe.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.createItem(o);null!==n?n.next=a:this.head=a,a.prev=n,n=a}}catch(s){i.e(s)}finally{i.f()}return this.tail=n,this}},{key:"toArray",value:function(){return(0,ne.Z)(this)}},{key:"toJSON",value:function(){return(0,ne.Z)(this)}},{key:"forEach",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.allocateCursor(null,this.head);null!==n.next;){var r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}},{key:"forEachRight",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.allocateCursor(this.tail,null);null!==n.prev;){var r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}},{key:"reduce",value:function(e,t){for(var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,i=this.allocateCursor(null,this.head),o=t;null!==i.next;)n=i.next,i.next=n.next,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}},{key:"reduceRight",value:function(e,t){for(var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,i=this.allocateCursor(this.tail,null),o=t;null!==i.prev;)n=i.prev,i.prev=n.prev,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}},{key:"some",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}},{key:"map",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=new t,i=this.head;null!==i;i=i.next)r.appendData(e.call(n,i.data,i,this));return r}},{key:"filter",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=new t,i=this.head;null!==i;i=i.next)e.call(n,i.data,i,this)&&r.appendData(i.data);return r}},{key:"nextUntil",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var r=this.allocateCursor(null,e);null!==r.next;){var i=r.next;if(r.next=i.next,t.call(n,i.data,i,this))break}this.releaseCursor()}}},{key:"prevUntil",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var r=this.allocateCursor(e,null);null!==r.prev;){var i=r.prev;if(r.prev=i.prev,t.call(n,i.data,i,this))break}this.releaseCursor()}}},{key:"clear",value:function(){this.head=null,this.tail=null}},{key:"copy",value:function(){var e,n=new t,r=(0,Oe.Z)(this);try{for(r.s();!(e=r.n()).done;){var i=e.value;n.appendData(i)}}catch(o){r.e(o)}finally{r.f()}return n}},{key:"prepend",value:function(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}},{key:"prependData",value:function(e){return this.prepend(t.createItem(e))}},{key:"append",value:function(e){return this.insert(e)}},{key:"appendData",value:function(e){return this.insert(t.createItem(e))}},{key:"insert",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}},{key:"insertData",value:function(e,n){return this.insert(t.createItem(e),n)}},{key:"remove",value:function(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}},{key:"push",value:function(e){this.insert(t.createItem(e))}},{key:"pop",value:function(){return null!==this.tail?this.remove(this.tail):null}},{key:"unshift",value:function(e){this.prepend(t.createItem(e))}},{key:"shift",value:function(){return null!==this.head?this.remove(this.head):null}},{key:"prependList",value:function(e){return this.insertList(e,this.head)}},{key:"appendList",value:function(e){return this.insertList(e)}},{key:"insertList",value:function(e,t){return null===e.head||(void 0!==t&&null!==t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}},{key:"replace",value:function(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}],[{key:"createItem",value:function(e){return{prev:null,next:null,data:e}}}]),t}(Symbol.iterator);function kk(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})}var Sk=100,xk=60,wk=" ";function Tk(e,t){var n=e.source,r=e.line,i=e.column;function o(e,t){return a.slice(e,t).map((function(t,n){return String(e+n+1).padStart(u)+" |"+t})).join("\n")}var a=n.split(/\r\n?|\n|\f/),s=Math.max(1,r-t)-1,l=Math.min(r+t,a.length+1),u=Math.max(4,String(l).length)+1,c=0;(i+=(wk.length-1)*(a[r-1].substr(0,i-1).match(/\t/g)||[]).length)>Sk&&(c=i-xk+3,i=xk-2);for(var h=s;h<=l;h++)h>=0&&h<a.length&&(a[h]=a[h].replace(/\t/g,wk),a[h]=(c>0&&a[h].length>c?"\u2026":"")+a[h].substr(c,Sk-2)+(a[h].length>c+Sk-1?"\u2026":""));return[o(s,r),new Array(i+u+2).join("-")+"^",o(r,l)].filter(Boolean).join("\n")}function Ck(e,t,n,r,i){return Object.assign(kk("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment:function(e){return Tk({source:t,line:r,column:i},isNaN(e)?0:e)},get formattedMessage(){return"Parse error: ".concat(e,"\n")+Tk({source:t,line:r,column:i},2)}})}function Ek(e){for(var t=this.createList(),n=!1,r={recognizer:e};!this.eof;){switch(this.tokenType){case Db:this.next();continue;case yb:n=!0,this.next();continue}var i=e.getNode.call(this,r);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Ak=function(){},Pk=33,_k=35,Dk=59,Zk=123,Nk=0;function Qk(e){return function(){return this[e]()}}function Rk(e){var t=Object.create(null);for(var n in e){var r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function Mk(e){var t="",n="<unknown>",r=!1,i=Ak,o=!1,a=new dk,s=Object.assign(new vk,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:Rk(e.atrule),pseudo:Rk(e.pseudo),node:Rk(e.node)};for(var n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=Qk(e.parseContext[n])}return(0,rn.Z)((0,rn.Z)({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Ek,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return e===Zk?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return e===Zk||e===Dk?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return e===Pk||e===Dk?1:0},consumeUntilSemicolonIncluded:function(e){return e===Dk?2:0},createList:function(){return new bk},createSingleNodeList:function(e){return(new bk).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var n=this.tokenIndex;try{return e.call(this)}catch(a){if(o)throw a;var r=t.call(this,n);return o=!0,i(a,r),o=!1,r}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==yb)return t}while(t!==Nk);return Nk},charCodeAt:function(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring:function(e,n){return t.substring(e,n)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,n){return ek(t,e,n)},cmpStr:function(e,n,r){return tk(t,e,n,r)},consume:function(e){var t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName:function(){var e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(lb),e},consumeNumber:function(e){var n=t.substring(this.tokenStart,ak(t,this.tokenStart));return this.eat(e),n},eat:function(e){if(this.tokenType!==e){var t=uk[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),n="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),r=this.tokenStart;switch(e){case sb:this.tokenType===lb||this.tokenType===db?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case cb:this.isDelim(_k)&&(this.next(),r++,n="Name is expected");break;case vb:this.tokenType===gb&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent:function(e){this.tokenType===sb&&!1!==this.lookupValue(0,e)||this.error('Identifier "'.concat(e,'" is expected')),this.next()},eatDelim:function(e){this.isDelim(e)||this.error('Delim "'.concat(String.fromCharCode(e),'" is expected')),this.next()},getLocation:function(e,t){return r?a.getLocationRange(e,t,n):null},getLocationFromList:function(e){if(r){var t=this.getFirstListNode(e),i=this.getLastListNode(e);return a.getLocationRange(null!==t?t.loc.start.offset-a.startOffset:this.tokenStart,null!==i?i.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error:function(e,n){var r="undefined"!==typeof n&&n<t.length?a.getLocation(n):this.eof?a.getLocation(function(e,t){for(;t>=0&&Fb(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new Ck(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,l){t=e,l=l||{},s.setSource(t,Ok),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),i="function"===typeof l.onParseError?l.onParseError:Ak,o=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in l)||Boolean(l.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in l)||Boolean(l.parseRulePrelude),s.parseValue=!("parseValue"in l)||Boolean(l.parseValue),s.parseCustomProperty="parseCustomProperty"in l&&Boolean(l.parseCustomProperty);var u=l,c=u.context,h=void 0===c?"default":c,f=u.onComment;if(h in s.context===!1)throw new Error("Unknown context `"+h+"`");"function"===typeof f&&s.forEachToken((function(e,n,r){if(e===Db){var i=s.getLocation(n,r),o=tk(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);f(o,i)}}));var d=s.context[h].call(s,l);return s.eof||s.error(),d}),{SyntaxError:Ck,config:s.config})}var $k=n(8676),Ik=new Set(["Atrule","Selector","Declaration"]);var Lk=function(e,t){if(e===mb&&(e=t),"string"===typeof e){var n=e.charCodeAt(0);return n>127?32768:n<<8}return e},Fk=[[sb,sb],[sb,lb],[sb,db],[sb,pb],[sb,"-"],[sb,gb],[sb,vb],[sb,Ob],[sb,kb],[sb,Eb],[ub,sb],[ub,lb],[ub,db],[ub,pb],[ub,"-"],[ub,gb],[ub,vb],[ub,Ob],[ub,kb],[cb,sb],[cb,lb],[cb,db],[cb,pb],[cb,"-"],[cb,gb],[cb,vb],[cb,Ob],[cb,kb],[Ob,sb],[Ob,lb],[Ob,db],[Ob,pb],[Ob,"-"],[Ob,gb],[Ob,vb],[Ob,Ob],[Ob,kb],["#",sb],["#",lb],["#",db],["#",pb],["#","-"],["#",gb],["#",vb],["#",Ob],["#",kb],["-",sb],["-",lb],["-",db],["-",pb],["-","-"],["-",gb],["-",vb],["-",Ob],["-",kb],[gb,sb],[gb,lb],[gb,db],[gb,pb],[gb,gb],[gb,vb],[gb,Ob],[gb,"%"],[gb,kb],["@",sb],["@",lb],["@",db],["@",pb],["@","-"],["@",kb],[".",gb],[".",vb],[".",Ob],["+",gb],["+",vb],["+",Ob],["/","*"]],Bk=Fk.concat([[sb,cb],[Ob,cb],[cb,cb],[ub,Eb],[ub,hb],[ub,Sb],[vb,vb],[vb,Ob],[vb,lb],[vb,"-"],[Ab,sb],[Ab,lb],[Ab,vb],[Ab,Ob],[Ab,cb],[Ab,"-"]]);function jk(e){var t=new Set(e.map((function(e){var t=(0,te.Z)(e,2),n=t[0],r=t[1];return Lk(n)<<16|Lk(r)})));return function(e,n,r){var i=Lk(n,r),o=r.charCodeAt(0);return(45===o&&n!==sb&&n!==lb&&n!==kb||43===o?t.has(e<<16|o<<8):t.has(e<<16|i))&&this.emit(" ",yb,!0),i}}var zk=jk(Fk),Uk=jk(Bk),Yk=92;function Xk(e,t){var n=this;if("function"!==typeof t)e.children.forEach(this.node,this);else{var r=null;e.children.forEach((function(e){null!==r&&t.call(n,r),n.node(e),r=e}))}}function Hk(e){var t=this;Ok(e,(function(n,r,i){t.token(n,e.slice(r,i))}))}function Wk(e){var t=new Map;for(var n in e.node){var r=e.node[n];"function"===typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){var r="",o=0,a={node:function(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(s,e)},tokenBefore:Uk,token:function(e,t){o=this.tokenBefore(o,e,t),this.emit(t,e,!1),e===mb&&t.charCodeAt(0)===Yk&&this.emit("\n",yb,!0)},emit:function(e){r+=e},result:function(){return r}};n&&("function"===typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=function(e){var t=new $k.h,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,s=0,l=!1,u=e.node;e.node=function(e){if(e.loc&&e.loc.start&&Ik.has(e.type)){var c=e.loc.start.line,h=e.loc.start.column-1;r.line===c&&r.column===h||(r.line=c,r.column=h,n.line=a,n.column=s,l&&(l=!1,n.line===i.line&&n.column===i.column||t.addMapping(o)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}u.call(this,e),l&&Ik.has(e.type)&&(i.line=a,i.column=s)};var c=e.emit;e.emit=function(e,t,n){for(var r=0;r<e.length;r++)10===e.charCodeAt(r)?(a++,s=0):s++;c(e,t,n)};var h=e.result;return e.result=function(){return l&&t.addMapping(o),{css:h(),map:t}},e}(a)),n.mode in i&&(a.tokenBefore=i[n.mode]));var s={node:function(e){return a.node(e)},children:Xk,token:function(e,t){return a.token(e,t)},tokenize:Hk};return a.node(e),a.result()}}var qk=Object.prototype.hasOwnProperty,Gk=function(){};function Vk(e){return"function"===typeof e?e:Gk}function Jk(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Kk(e,t){var n=t.structure,r=[];for(var i in n)if(!1!==qk.call(n,i)){var o=n[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);var s,l=(0,Oe.Z)(o);try{for(l.s();!(s=l.n()).done;){var u=s.value;null===u?a.nullable=!0:"string"===typeof u?a.type="node":Array.isArray(u)&&(a.type="list")}}catch(c){l.e(c)}finally{l.f()}a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function eS(e,t){var n=e.fields.slice(),r=e.context,i="string"===typeof r;return t&&n.reverse(),function(e,o,a,s){var l;i&&(l=o[r],o[r]=e);var u,c=(0,Oe.Z)(n);try{for(c.s();!(u=c.n()).done;){var h=u.value,f=e[h.name];if(!h.nullable||f)if("list"===h.type){if(t?f.reduceRight(s,!1):f.reduce(s,!1))return!0}else if(a(f))return!0}}catch(d){c.e(d)}finally{c.f()}i&&(o[r]=l)}}function tS(e){var t=e.StyleSheet,n=e.Atrule,r=e.Rule,i=e.Block;return{Atrule:{StyleSheet:t,Atrule:n,Rule:r,Block:i},Rule:{StyleSheet:t,Atrule:n,Rule:r,Block:i},Declaration:{StyleSheet:t,Atrule:n,Rule:r,Block:i,DeclarationList:e.DeclarationList}}}function nS(e){var t=function(e){var t={};for(var n in e.node)if(qk.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Kk(0,r)}return t}(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(var a in t)qk.call(t,a)&&null!==t[a]&&(n[a]=eS(t[a],!1),r[a]=eS(t[a],!0));var s=tS(n),l=tS(r),u=function(e,a){function u(e,t,n){var r=c.call(p,e,t,n);return r===i||r!==o&&(!(!f.hasOwnProperty(e.type)||!f[e.type](e,p,u,d))||h.call(p,e,t,n)===i)}var c=Gk,h=Gk,f=n,d=function(e,t,n,r){return e||u(t,n,r)},p={break:i,skip:o,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"===typeof a)c=a;else if(a&&(c=Vk(a.enter),h=Vk(a.leave),a.reverse&&(f=r),a.visit)){if(s.hasOwnProperty(a.visit))f=a.reverse?l[a.visit]:s[a.visit];else if(!t.hasOwnProperty(a.visit))throw new Error("Bad value `"+a.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");c=Jk(c,a.visit),h=Jk(h,a.visit)}if(c===Gk&&h===Gk)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");u(e)};return u.break=i,u.skip=o,u.find=function(e,t){var n=null;return u(e,(function(e,r,o){if(t.call(this,e,r,o))return n=e,i})),n},u.findLast=function(e,t){var n=null;return u(e,{reverse:!0,enter:function(e,r,o){if(t.call(this,e,r,o))return n=e,i}}),n},u.findAll=function(e,t){var n=[];return u(e,(function(e,r,i){t.call(this,e,r,i)&&n.push(e)})),n},u}function rS(e){return e}function iS(e,t,n,r){var i;switch(e.type){case"Group":i=function(e,t,n,r){var i=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",o=e.terms.map((function(e){return iS(e,t,n,r)})).join(i);return e.explicit||n?(r||","===o[0]?"[":"[ ")+o+(r?"]":" ]"):o}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return iS(e.term,t,n,r)+t(function(e){var t=e.min,n=e.max,r=e.comma;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Type":i="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-\u221e":e.min)+","+(null===e.max?"\u221e":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function oS(e,t){var n=rS,r=!1,i=!1;return"function"===typeof t?n=t:t&&(r=Boolean(t.forceBraces),i=Boolean(t.compact),"function"===typeof t.decorate&&(n=t.decorate)),iS(e,n,r,i)}var aS={offset:0,line:1,column:1};function sS(e,t){var n=e&&e.loc&&e.loc[t];return n?"line"in n?lS(n):n:null}function lS(e,t){var n={offset:e.offset,line:e.line,column:e.column};if(t){var r=t.split(/\n|\r\n?|\f/);n.offset+=t.length,n.line+=r.length-1,n.column=1===r.length?n.column+t.length:r.pop().length+1}return n}var uS=function(e,t){var n=kk("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},cS=function(e,t,n,r){var i=kk("SyntaxMatchError",e),o=function(e,t){for(var n,r,i=e.tokens,o=e.longestMatch,a=o<i.length&&i[o].node||null,s=a!==t?a:null,l=0,u=0,c=0,h="",f=0;f<i.length;f++){var d=i[f].value;f===o&&(u=d.length,l=h.length),null!==s&&i[f].node===s&&(f<=o?c++:c=0),h+=d}return o===i.length||c>1?(n=sS(s||t,"end")||lS(aS,h),r=lS(n)):(n=sS(s,"start")||lS(sS(t,"start")||aS,h.slice(0,l)),r=sS(s,"end")||lS(n,h.substr(l,u))),{css:h,mismatchOffset:l,mismatchLength:u,start:n,end:r}}(r,n),a=o.css,s=o.mismatchOffset,l=o.mismatchLength,u=o.start,c=o.end;return i.rawMessage=e,i.syntax=t?oS(t):"<generic>",i.css=a,i.mismatchOffset=s,i.mismatchLength=l,i.message=e+"\n syntax: "+i.syntax+"\n value: "+(a||"<empty string>")+"\n --------"+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,u),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:c},i},hS=new Map,fS=new Map,dS=45,pS=function(e){if(hS.has(e))return hS.get(e);var t=e.toLowerCase(),n=hS.get(t);if(void 0===n){var r=gS(t,0),i=r?"":vS(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return hS.set(e,n),n},mS=function(e){if(fS.has(e))return fS.get(e);var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");var r=gS(t,n.length);if(!r&&(t=t.toLowerCase(),fS.has(t))){var i=fS.get(t);return fS.set(e,i),i}var o=r?"":vS(t,n.length),a=t.substr(0,n.length+o.length),s=Object.freeze({basename:t.substr(a.length),name:t.substr(n.length),hack:n,vendor:o,prefix:a,custom:r});return fS.set(e,s),s};function gS(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===dS&&e.charCodeAt(t+1)===dS}function vS(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===dS&&e.charCodeAt(t+1)!==dS){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var OS=["initial","inherit","unset","revert","revert-layer"],yS=43,bS=45,kS=!0;function SS(e,t){return null!==e&&e.type===mb&&e.value.charCodeAt(0)===t}function xS(e,t,n){for(;null!==e&&(e.type===yb||e.type===Db);)e=n(++t);return t}function wS(e,t,n,r){if(!e)return 0;var i=e.value.charCodeAt(t);if(i===yS||i===bS){if(n)return 0;t++}for(;t<e.value.length;t++)if(!Nb(e.value.charCodeAt(t)))return 0;return r+1}function TS(e,t,n){var r=!1,i=xS(e,t,n);if(null===(e=n(i)))return t;if(e.type!==gb){if(!SS(e,yS)&&!SS(e,bS))return t;if(r=!0,i=xS(n(++i),i,n),null===(e=n(i))||e.type!==gb)return 0}if(!r){var o=e.value.charCodeAt(0);if(o!==yS&&o!==bS)return 0}return wS(e,r?0:1,r,i)}var CS=45,ES=63;function AS(e,t){return null!==e&&e.type===mb&&e.value.charCodeAt(0)===t}function PS(e,t,n){for(var r=0,i=t;i<e.value.length;i++){var o=e.value.charCodeAt(i);if(o===CS&&n&&0!==r)return PS(e,t+r+1,!1),6;if(!Qb(o))return 0;if(++r>6)return 0}return r}function _S(e,t,n){if(!e)return 0;for(;AS(n(t),ES);){if(++e>6)return 0;t++}return t}var DS=["calc(","-moz-calc(","-webkit-calc("],ZS=new Map([[lb,Ab],[Eb,Ab],[Tb,Cb],[Pb,_b]]);function NS(e,t){return t<e.length?e.charCodeAt(t):0}function QS(e,t){return tk(e,0,e.length,t)}function RS(e,t){for(var n=0;n<t.length;n++)if(QS(e,t[n]))return!0;return!1}function MS(e,t){return t===e.length-2&&(92===NS(e,t)&&Nb(NS(e,t+1)))}function $S(e,t,n){if(e&&"Range"===e.type){var r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!==typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!==typeof e.max)return!0}return!1}function IS(e){return function(t,n,r){return null===t?0:t.type===lb&&RS(t.value,DS)?function(e,t){var n=0,r=[],i=0;e:do{switch(e.type){case _b:case Ab:case Cb:if(e.type!==n)break e;if(n=r.pop(),0===r.length){i++;break e}break;case lb:case Eb:case Tb:case Pb:r.push(n),n=ZS.get(e.type)}i++}while(e=t(i));return i}(t,n):e(t,n,r)}}function LS(e){return function(t){return null===t||t.type!==e?0:1}}function FS(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==Ob)return 0;var i=ak(t.value,0);if(null!==e){var o=t.value.indexOf("\\",i),a=-1!==o&&MS(t.value,o)?t.value.substring(i,o):t.value.substr(i);if(!1===e.has(a.toLowerCase()))return 0}return $S(r,t.value,i)?0:1}}function BS(e){return"function"!==typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===gb&&0===Number(t.value)?1:e(t,n,r)}}var jS={"ident-token":LS(sb),"function-token":LS(lb),"at-keyword-token":LS(ub),"hash-token":LS(cb),"string-token":LS(hb),"bad-string-token":LS(fb),"url-token":LS(db),"bad-url-token":LS(pb),"delim-token":LS(mb),"number-token":LS(gb),"percentage-token":LS(vb),"dimension-token":LS(Ob),"whitespace-token":LS(yb),"CDO-token":LS(bb),"CDC-token":LS(kb),"colon-token":LS(Sb),"semicolon-token":LS(xb),"comma-token":LS(wb),"[-token":LS(Tb),"]-token":LS(Cb),"(-token":LS(Eb),")-token":LS(Ab),"{-token":LS(Pb),"}-token":LS(_b)},zS={string:LS(hb),ident:LS(sb),percentage:IS((function(e,t,n){return null===e||e.type!==vb||$S(n,e.value,e.value.length-1)?0:1})),zero:BS(),number:IS((function(e,t,n){if(null===e)return 0;var r=ak(e.value,0);return r===e.value.length||MS(e.value,r)?$S(n,e.value,r)?0:1:0})),integer:IS((function(e,t,n){if(null===e||e.type!==gb)return 0;for(var r=43===NS(e.value,0)||45===NS(e.value,0)?1:0;r<e.value.length;r++)if(!Nb(NS(e.value,r)))return 0;return $S(n,e.value,r)?0:1})),"custom-ident":function(e){if(null===e||e.type!==sb)return 0;var t=e.value.toLowerCase();return RS(t,OS)||QS(t,"default")?0:1},"custom-property-name":function(e){return null===e||e.type!==sb||45!==NS(e.value,0)||45!==NS(e.value,1)?0:1},"hex-color":function(e){if(null===e||e.type!==cb)return 0;var t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(var n=1;n<t;n++)if(!Qb(NS(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||e.type!==cb?0:jb(NS(e.value,1),NS(e.value,2),NS(e.value,3))?1:0},"an-plus-b":function(e,t){var n=0;if(!e)return 0;if(e.type===gb)return wS(e,0,false,n);if(e.type===sb&&e.value.charCodeAt(0)===bS){if(!ek(e.value,1,110))return 0;switch(e.value.length){case 2:return TS(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==bS?0:(n=xS(t(++n),n,t),wS(e=t(n),0,kS,n));default:return e.value.charCodeAt(2)!==bS?0:wS(e,3,kS,n)}}else if(e.type===sb||SS(e,yS)&&t(n+1).type===sb){if(e.type!==sb&&(e=t(++n)),null===e||!ek(e.value,0,110))return 0;switch(e.value.length){case 1:return TS(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==bS?0:(n=xS(t(++n),n,t),wS(e=t(n),0,kS,n));default:return e.value.charCodeAt(1)!==bS?0:wS(e,2,kS,n)}}else if(e.type===Ob){for(var r=e.value.charCodeAt(0),i=r===yS||r===bS?1:0,o=i;o<e.value.length&&Nb(e.value.charCodeAt(o));o++);return o===i?0:ek(e.value,o,110)?o+1===e.value.length?TS(t(++n),n,t):e.value.charCodeAt(o+1)!==bS?0:o+2===e.value.length?(n=xS(t(++n),n,t),wS(e=t(n),0,kS,n)):wS(e,o+2,kS,n):0}return 0},urange:function(e,t){var n=0;if(null===e||e.type!==sb||!ek(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(AS(e,43))return null===(e=t(++n))?0:e.type===sb?_S(PS(e,0,!0),++n,t):AS(e,ES)?_S(1,++n,t):0;if(e.type===gb){var r=PS(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===Ob||e.type===gb?function(e,t){return e.value.charCodeAt(0)===t}(e,CS)&&PS(e,1,!1)?n+1:0:_S(r,n,t)}return e.type===Ob?_S(PS(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;var n=0,r=[],i=0;e:do{switch(e.type){case fb:case pb:break e;case _b:case Ab:case Cb:if(e.type!==n)break e;n=r.pop();break;case xb:if(0===n)break e;break;case mb:if(0===n&&"!"===e.value)break e;break;case lb:case Eb:case Tb:case Pb:r.push(n),n=ZS.get(e.type)}i++}while(e=t(i));return i},"any-value":function(e,t){if(!e)return 0;var n=0,r=[],i=0;e:do{switch(e.type){case fb:case pb:break e;case _b:case Ab:case Cb:if(e.type!==n)break e;n=r.pop();break;case lb:case Eb:case Tb:case Pb:r.push(n),n=ZS.get(e.type)}i++}while(e=t(i));return i}};function US(e){return(0,rn.Z)((0,rn.Z)((0,rn.Z)({},jS),zS),function(e){var t=e||{},n=t.angle,r=t.decibel,i=t.frequency,o=t.flex,a=t.length,s=t.resolution,l=t.semitones,u=t.time;return{dimension:IS(FS(null)),angle:IS(FS(n)),decibel:IS(FS(r)),frequency:IS(FS(i)),flex:IS(FS(o)),length:IS(BS(FS(a))),resolution:IS(FS(s)),semitones:IS(FS(l)),time:IS(FS(u))}}(e))}var YS=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],XS=["deg","grad","rad","turn"],HS=["s","ms"],WS=["hz","khz"],qS=["dpi","dpcm","dppx","x"],GS=["fr"],VS=["db"],JS=["st"];function KS(e,t,n){return Object.assign(kk("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}var ex=function(){function e(t){(0,re.Z)(this,e),this.str=t,this.pos=0}return(0,ie.Z)(e,[{key:"charCodeAt",value:function(e){return e<this.str.length?this.str.charCodeAt(e):0}},{key:"charCode",value:function(){return this.charCodeAt(this.pos)}},{key:"nextCharCode",value:function(){return this.charCodeAt(this.pos+1)}},{key:"nextNonWsCode",value:function(e){return this.charCodeAt(this.findWsEnd(e))}},{key:"findWsEnd",value:function(e){for(;e<this.str.length;e++){var t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}},{key:"substringToPos",value:function(e){return this.str.substring(this.pos,this.pos=e)}},{key:"eat",value:function(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}},{key:"peek",value:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}},{key:"error",value:function(e){throw new KS(e,this.str,this.pos)}}]),e}(),tx=9,nx=10,rx=12,ix=13,ox=32,ax=33,sx=35,lx=38,ux=39,cx=40,hx=41,fx=42,dx=43,px=44,mx=45,gx=60,vx=62,Ox=63,yx=64,bx=91,kx=93,Sx=123,xx=124,wx=125,Tx=8734,Cx=new Uint8Array(128).map((function(e,t){return/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0})),Ex={" ":1,"&&":2,"||":3,"|":4};function Ax(e){return e.substringToPos(e.findWsEnd(e.pos))}function Px(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n>=128||0===Cx[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function _x(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Dx(e){var t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Zx(e){var t,n=null;return e.eat(Sx),t=_x(e),e.charCode()===px?(e.pos++,e.charCode()!==wx&&(n=_x(e))):n=t,e.eat(wx),{min:Number(t),max:n?Number(n):0}}function Nx(e,t){var n=function(e){var t=null,n=!1;switch(e.charCode()){case fx:e.pos++,t={min:0,max:0};break;case dx:e.pos++,t={min:1,max:0};break;case Ox:e.pos++,t={min:0,max:1};break;case sx:e.pos++,n=!0,e.charCode()===Sx?t=Zx(e):e.charCode()===Ox?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Sx:t=Zx(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,e.charCode()===sx&&e.charCodeAt(e.pos-1)===dx?Nx(e,n):n):t}function Qx(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function Rx(e){var t,n=null;return e.eat(gx),t=Px(e),e.charCode()===cx&&e.nextCharCode()===hx&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===bx&&(Ax(e),n=function(e){var t=null,n=null,r=1;return e.eat(bx),e.charCode()===mx&&(e.peek(),r=-1),-1==r&&e.charCode()===Tx?e.peek():(t=r*Number(_x(e)),0!==Cx[e.charCode()]&&(t+=Px(e))),Ax(e),e.eat(px),Ax(e),e.charCode()===Tx?e.peek():(r=1,e.charCode()===mx&&(e.peek(),r=-1),n=r*Number(_x(e)),0!==Cx[e.charCode()]&&(n+=Px(e))),e.eat(kx),{type:"Range",min:t,max:n}}(e)),e.eat(vx),Nx(e,{type:"Type",name:t,opts:n})}function Mx(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}var r;for(t=Object.keys(t).sort((function(e,t){return Ex[e]-Ex[t]}));t.length>0;){r=t.shift();for(var i=0,o=0;i<e.length;i++){var a=e[i];"Combinator"===a.type&&(a.value===r?(-1===o&&(o=i-1),e.splice(i,1),i--):(-1!==o&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function $x(e){for(var t,n=[],r={},i=null,o=e.pos;t=Ix(e);)"Spaces"!==t.type&&("Combinator"===t.type?(null!==i&&"Combinator"!==i.type||(e.pos=o,e.error("Unexpected combinator")),r[t.value]=!0):null!==i&&"Combinator"!==i.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),i=t,o=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:Mx(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Ix(e){var t=e.charCode();if(t<128&&1===Cx[t])return function(e){var t=Px(e);return e.charCode()===cx?(e.pos++,{type:"Function",name:t}):Nx(e,{type:"Keyword",name:t})}(e);switch(t){case kx:break;case bx:return Nx(e,function(e){var t;return e.eat(bx),t=$x(e),e.eat(kx),t.explicit=!0,e.charCode()===ax&&(e.pos++,t.disallowEmpty=!0),t}(e));case gx:return e.nextCharCode()===ux?function(e){var t;return e.eat(gx),e.eat(ux),t=Px(e),e.eat(ux),e.eat(vx),Nx(e,{type:"Property",name:t})}(e):Rx(e);case xx:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===xx?2:1))};case lx:return e.pos++,e.eat(lx),{type:"Combinator",value:"&&"};case px:return e.pos++,{type:"Comma"};case ux:return Nx(e,{type:"String",value:Dx(e)});case ox:case tx:case nx:case ix:case rx:return{type:"Spaces",value:Ax(e)};case yx:return(t=e.nextCharCode())<128&&1===Cx[t]?(e.pos++,{type:"AtKeyword",name:Px(e)}):Qx(e);case fx:case dx:case Ox:case sx:case ax:break;case Sx:if((t=e.nextCharCode())<48||t>57)return Qx(e);break;default:return Qx(e)}}function Lx(e){var t=new ex(e),n=$x(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var Fx=function(){};function Bx(e){return"function"===typeof e?e:Fx}var jx={decorator:function(e){var t=[],n=null;return(0,rn.Z)((0,rn.Z)({},e),{},{node:function(t){var r=n;n=t,e.node.call(this,t),n=r},emit:function(e,r,i){t.push({type:r,value:e,node:i?null:n})},result:function(){return t}})}};function zx(e,t){return"string"===typeof e?function(e){var t=[];return Ok(e,(function(n,r,i){return t.push({type:n,value:e.slice(r,i),node:null})})),t}(e):t.generate(e,jx)}var Ux={type:"Match"},Yx={type:"Mismatch"},Xx={type:"DisallowEmpty"},Hx=40,Wx=41;function qx(e,t,n){return t===Ux&&n===Yx||e===Ux&&t===Ux&&n===Ux?e:("If"===e.type&&e.else===Yx&&t===Ux&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Gx(e){return e.length>2&&e.charCodeAt(e.length-2)===Hx&&e.charCodeAt(e.length-1)===Wx}function Vx(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Gx(e.name)}function Jx(e,t,n){switch(e){case" ":for(var r=Ux,i=t.length-1;i>=0;i--){r=qx(t[i],r,Yx)}return r;case"|":for(var o=Yx,a=null,s=t.length-1;s>=0;s--){var l=t[s];if(Vx(l)&&(null===a&&s>0&&Vx(t[s-1])&&(o=qx({type:"Enum",map:a=Object.create(null)},Ux,o)),null!==a)){var u=(Gx(l.name)?l.name.slice(0,-1):l.name).toLowerCase();if(u in a===!1){a[u]=l;continue}}a=null,o=qx(l,Ux,o)}return o;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(var c=Yx,h=function(){var n,r=t[f];n=t.length>1?Jx(e,t.filter((function(e){return e!==r})),!1):Ux,c=qx(r,n,c)},f=t.length-1;f>=0;f--)h();return c;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(var d=n?Ux:Yx,p=function(){var n,r=t[m];n=t.length>1?Jx(e,t.filter((function(e){return e!==r})),!0):Ux,d=qx(r,n,d)},m=t.length-1;m>=0;m--)p();return d}}function Kx(e){if("function"===typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":var t=Jx(e.combinator,e.terms.map(Kx),!1);return e.disallowEmpty&&(t=qx(t,Xx,Yx)),t;case"Multiplier":return function(e){var t=Ux,n=Kx(e.term);if(0===e.max)n=qx(n,Xx,Yx),(t=qx(n,null,Yx)).then=qx(Ux,Ux,t),e.comma&&(t.then.else=qx({type:"Comma",syntax:e},t,Yx));else for(var r=e.min||1;r<=e.max;r++)e.comma&&t!==Ux&&(t=qx({type:"Comma",syntax:e},t,Yx)),t=qx(n,qx(Ux,Ux,t),Yx);if(0===e.min)t=qx(Ux,Ux,t);else for(var i=0;i<e.min-1;i++)e.comma&&t!==Ux&&(t=qx({type:"Comma",syntax:e},t,Yx)),t=qx(n,t,Yx);return t}(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function ew(e,t){return"string"===typeof e&&(e=Lx(e)),{type:"MatchGraph",match:Kx(e),syntax:t||null,source:e}}var tw=Object.prototype.hasOwnProperty,nw=0,rw=1,iw=2,ow=3,aw="Match",sw="Mismatch",lw="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",uw=15e3;function cw(e){for(var t=null,n=null,r=e;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}function hw(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=t.charCodeAt(n),i=e.charCodeAt(n);if(i>=65&&i<=90&&(i|=32),i!==r)return!1}return!0}function fw(e){return null===e||(e.type===wb||e.type===lb||e.type===Eb||e.type===Tb||e.type===Pb||function(e){return e.type===mb&&"?"!==e.value}(e))}function dw(e){return null===e||(e.type===Ab||e.type===Cb||e.type===_b||e.type===mb&&"/"===e.value)}function pw(e,t,n){function r(){do{v++,g=v<e.length?e[v]:null}while(null!==g&&(g.type===yb||g.type===Db))}function i(t){var n=v+t;return n<e.length?e[n]:null}function o(e,t){return{nextState:e,matchStack:y,syntaxStack:c,thenStack:h,tokenIndex:v,prev:t}}function a(e){h={nextState:e,matchStack:y,syntaxStack:c,prev:h}}function s(e){f=o(e,f)}function l(){y={type:rw,syntax:t.syntax,token:g,prev:y},r(),d=null,v>O&&(O=v)}function u(){y=y.type===iw?y.prev:{type:ow,syntax:c.syntax,token:y.token,prev:y},c=c.prev}var c=null,h=null,f=null,d=null,p=0,m=null,g=null,v=-1,O=0,y={type:nw,syntax:null,token:null,prev:null};for(r();null===m&&++p<uw;)switch(t.type){case"Match":if(null===h){if(null!==g&&(v!==e.length-1||"\\0"!==g.value&&"\\9"!==g.value)){t=Yx;break}m=aw;break}if((t=h.nextState)===Xx){if(h.matchStack===y){t=Yx;break}t=Ux}for(;h.syntaxStack!==c;)u();h=h.prev;break;case"Mismatch":if(null!==d&&!1!==d)(null===f||v>f.tokenIndex)&&(f=d,d=!1);else if(null===f){m=sw;break}t=f.nextState,h=f.thenStack,c=f.syntaxStack,y=f.matchStack,v=f.tokenIndex,g=v<e.length?e[v]:null,f=f.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==Yx&&s(t.else),t.then!==Ux&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":var b=t.syntax.terms;if(t.index===b.length){if(0===t.mask||t.syntax.all){t=Yx;break}t=Ux;break}if(t.mask===(1<<b.length)-1){t=Ux;break}for(;t.index<b.length;t.index++){var k=1<<t.index;if(0===(t.mask&k)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|k}),t=b[t.index++];break}}break;case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==g){var S=g.value.toLowerCase();if(-1!==S.indexOf("\\")&&(S=S.replace(/\\[09].*$/,"")),tw.call(t.map,S)){t=t.map[S];break}}t=Yx;break;case"Generic":var x=null!==c?c.opts:null,w=v+Math.floor(t.fn(g,i,x));if(!isNaN(w)&&w>v){for(;v<w;)l();t=Ux}else t=Yx;break;case"Type":case"Property":var T="Type"===t.type?"types":"properties",C=tw.call(n,T)?n[T][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==d&&null!==g&&"Type"===t.type)if("custom-ident"===t.name&&g.type===sb||"length"===t.name&&"0"===g.value){null===d&&(d=o(t,f)),t=Yx;break}c={syntax:t.syntax,opts:t.syntax.opts||null!==c&&c.opts||null,prev:c},y={type:iw,syntax:t.syntax,token:y.token,prev:y},t=C.match;break;case"Keyword":var E=t.name;if(null!==g){var A=g.value;if(-1!==A.indexOf("\\")&&(A=A.replace(/\\[09].*$/,"")),hw(A,E)){l(),t=Ux;break}}t=Yx;break;case"AtKeyword":case"Function":if(null!==g&&hw(g.value,t.name)){l(),t=Ux;break}t=Yx;break;case"Token":if(null!==g&&g.value===t.value){l(),t=Ux;break}t=Yx;break;case"Comma":null!==g&&g.type===wb?fw(y.token)?t=Yx:(l(),t=dw(g)?Yx:Ux):t=fw(y.token)||dw(g)?Ux:Yx;break;case"String":for(var P="",_=v;_<e.length&&P.length<t.value.length;_++)P+=e[_].value;if(hw(P,t.value)){for(;v<_;)l();t=Ux}else t=Yx;break;default:throw new Error("Unknown node type: "+t.type)}switch(p,m){case null:console.warn("[csstree-match] BREAK after "+uw+" iterations"),m=lw,y=null;break;case aw:for(;null!==c;)u();break;default:y=null}return{tokens:e,reason:m,iterations:p,match:y,longestMatch:O}}function mw(e,t,n){var r=pw(e,t,n||{});if(null===r.match)return r;var i=r.match,o=r.match={syntax:t.syntax||null,match:[]},a=[o];for(i=cw(i).prev;null!==i;){switch(i.type){case iw:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case ow:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function gw(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}var n=null;return null!==this.matched&&function r(i){if(Array.isArray(i.match)){for(var o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}(this.matched),n}function vw(e,t){return bw(this,e,(function(e){return"Type"===e.type&&e.name===t}))}function Ow(e,t){return bw(this,e,(function(e){return"Property"===e.type&&e.name===t}))}function yw(e){return bw(this,e,(function(e){return"Keyword"===e.type}))}function bw(e,t,n){var r=gw.call(e,t);return null!==r&&r.some(n)}function kw(e){return"node"in e?e.node:kw(e.match[0])}function Sw(e){return"node"in e?e.node:Sw(e.match[e.match.length-1])}function xw(e,t,n,r,i){var o=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===i){var s=kw(a),l=Sw(a);e.syntax.walk(t,(function(e,t,n){if(e===s){var r=new bk;do{if(r.appendData(t.data),t.data===l)break;t=t.next}while(null!==t);o.push({parent:n,nodes:r})}}))}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),o}var ww=Object.prototype.hasOwnProperty;function Tw(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Cw(e){return Boolean(e)&&Tw(e.offset)&&Tw(e.line)&&Tw(e.column)}function Ew(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(var i in n){var o=!0;if(!1!==ww.call(n,i)){if("type"===i)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===i){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!==typeof n.loc.source)i+=".source";else if(Cw(n.loc.start)){if(Cw(n.loc.end))continue;i+=".end"}else i+=".start";o=!1}else if(t.hasOwnProperty(i)){o=!1;for(var a=0;!o&&a<t[i].length;a++){var s=t[i][a];switch(s){case String:o="string"===typeof n[i];break;case Boolean:o="boolean"===typeof n[i];break;case null:o=null===n[i];break;default:"string"===typeof s?o=n[i]&&n[i].type===s:Array.isArray(s)&&(o=n[i]instanceof bk)}}}else r(n,"Unknown field `"+i+"` for "+e+" node type");o||r(n,"Bad value for `"+e+"."+i+"`")}}for(var l in t)ww.call(t,l)&&!1===ww.call(n,l)&&r(n,"Field `"+e+"."+l+"` is missed")}}function Aw(e,t){var n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(var o in n)if(!1!==ww.call(n,o)){for(var a=[],s=r[o]=Array.isArray(n[o])?n[o].slice():[n[o]],l=0;l<s.length;l++){var u=s[l];if(u===String||u===Boolean)a.push(u.name);else if(null===u)a.push("null");else if("string"===typeof u)a.push("<"+u+">");else{if(!Array.isArray(u))throw new Error("Wrong value `"+u+"` in `"+e+"."+o+"` structure definition");a.push("List")}}i[o]=a.join(" | ")}return{docs:i,check:Ew(e,r)}}var Pw=ew(OS.join(" | "));function _w(e,t,n){var r={};for(var i in e)e[i].syntax&&(r[i]=n?e[i].syntax:oS(e[i].syntax,{compact:t}));return r}function Dw(e,t,n){for(var r={},i=0,o=Object.entries(e);i<o.length;i++){var a=(0,te.Z)(o[i],2),s=a[0],l=a[1];r[s]={prelude:l.prelude&&(n?l.prelude.syntax:oS(l.prelude.syntax,{compact:t})),descriptors:l.descriptors&&_w(l.descriptors,t,n)}}return r}function Zw(e,t,n){return(0,rn.Z)({matched:e,iterations:n,error:t},a)}function Nw(e,t,n,r){var i,o=zx(n,e.syntax);return function(e){for(var t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(o)?Zw(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=mw(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=mw(o,t.match,e)).match?Zw(i.match,null,i.iterations):Zw(null,new cS(i.reason,t.syntax,n,i),i.iterations))}var Qw=function(){function e(t,n,r){if((0,re.Z)(this,e),this.cssWideKeywordsSyntax=Pw,this.syntax=n,this.generic=!1,this.units=(0,rn.Z)({},o),this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||function(e){var t={};if(e.node)for(var n in e.node)if(ww.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Aw(n,r)}return t}(t),t){if(t.units)for(var i=0,a=Object.keys(o);i<a.length;i++){var s=a[i];Array.isArray(t.units[s])&&(this.units[s]=t.units[s])}if(t.types)for(var l in t.types)this.addType_(l,t.types[l]);if(t.generic){this.generic=!0;for(var u=0,c=Object.entries(US(this.units));u<c.length;u++){var h=(0,te.Z)(c[u],2),f=h[0],d=h[1];this.addType_(f,d)}}if(t.atrules)for(var p in t.atrules)this.addAtrule_(p,t.atrules[p]);if(t.properties)for(var m in t.properties)this.addProperty_(m,t.properties[m])}}return(0,ie.Z)(e,[{key:"checkStructure",value:function(e){function t(e,t){r.push({node:e,message:t})}var n=this.structure,r=[];return this.syntax.walk(e,(function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")})),!!r.length&&r}},{key:"createDescriptor",value:function(e,t,n){var r={type:t,name:n},i={type:t,name:n,parent:arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,serializable:"string"===typeof e||e&&"string"===typeof e.type,syntax:null,match:null};return"function"===typeof e?i.match=ew(e,r):("string"===typeof e?Object.defineProperty(i,"syntax",{get:function(){return Object.defineProperty(i,"syntax",{value:Lx(e)}),i.syntax}}):i.syntax=e,Object.defineProperty(i,"match",{get:function(){return Object.defineProperty(i,"match",{value:ew(i.syntax,r)}),i.match}})),i}},{key:"addAtrule_",value:function(e,t){var n=this;t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((function(r,i){return r[i]=n.createDescriptor(t.descriptors[i],"AtruleDescriptor",i,e),r}),Object.create(null)):null})}},{key:"addProperty_",value:function(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}},{key:"addType_",value:function(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}},{key:"checkAtruleName",value:function(e){if(!this.getAtrule(e))return new uS("Unknown at-rule","@"+e)}},{key:"checkAtrulePrelude",value:function(e,t){var n=this.checkAtruleName(e);if(n)return n;var r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||Nw(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}},{key:"checkAtruleDescriptorName",value:function(e,t){var n=this.checkAtruleName(e);if(n)return n;var r=this.getAtrule(e),i=pS(t);return r.descriptors?r.descriptors[i.name]||r.descriptors[i.basename]?void 0:new uS("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}},{key:"checkPropertyName",value:function(e){if(!this.getProperty(e))return new uS("Unknown property",e)}},{key:"matchAtrulePrelude",value:function(e,t){var n=this.checkAtrulePrelude(e,t);if(n)return Zw(null,n);var r=this.getAtrule(e);return r.prelude?Nw(this,r.prelude,t||"",!1):Zw(null,null)}},{key:"matchAtruleDescriptor",value:function(e,t,n){var r=this.checkAtruleDescriptorName(e,t);if(r)return Zw(null,r);var i=this.getAtrule(e),o=pS(t);return Nw(this,i.descriptors[o.name]||i.descriptors[o.basename],n,!1)}},{key:"matchDeclaration",value:function(e){return"Declaration"!==e.type?Zw(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}},{key:"matchProperty",value:function(e,t){if(mS(e).custom)return Zw(null,new Error("Lexer matching doesn't applicable for custom properties"));var n=this.checkPropertyName(e);return n?Zw(null,n):Nw(this,this.getProperty(e),t,!0)}},{key:"matchType",value:function(e,t){var n=this.getType(e);return n?Nw(this,n,t,!1):Zw(null,new uS("Unknown type",e))}},{key:"match",value:function(e,t){return"string"===typeof e||e&&e.type?("string"!==typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Nw(this,e,t,!1)):Zw(null,new uS("Bad syntax"))}},{key:"findValueFragments",value:function(e,t,n,r){return xw(this,t,this.matchProperty(e,t),n,r)}},{key:"findDeclarationValueFragments",value:function(e,t,n){return xw(this,e.value,this.matchDeclaration(e),t,n)}},{key:"findAllFragments",value:function(e,t,n){var r=this,i=[];return this.syntax.walk(e,{visit:"Declaration",enter:function(e){i.push.apply(i,r.findDeclarationValueFragments(e,t,n))}}),i}},{key:"getAtrule",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=pS(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}},{key:"getAtrulePrelude",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getAtrule(e,t);return n&&n.prelude||null}},{key:"getAtruleDescriptor",value:function(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}},{key:"getProperty",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=mS(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}},{key:"getType",value:function(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}},{key:"validate",value:function(){function e(r,i,o,a){if(o.has(i))return o.get(i);o.set(i,!1),null!==a.syntax&&function(e,t,n){var r=Fx,i=Fx;if("function"===typeof t?r=t:t&&(r=Bx(t.enter),i=Bx(t.leave)),r===Fx&&i===Fx)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}i.call(n,t)}(e)}(a.syntax,(function(a){if("Type"===a.type||"Property"===a.type){var s="Type"===a.type?r.types:r.properties,l="Type"===a.type?t:n;hasOwnProperty.call(s,a.name)&&!e(r,a.name,l,s[a.name])||o.set(i,!0)}}),this)}var t=new Map,n=new Map;for(var r in this.types)e(this,r,t,this.types[r]);for(var i in this.properties)e(this,i,n,this.properties[i]);return t=(0,ne.Z)(t.keys()).filter((function(e){return t.get(e)})),n=(0,ne.Z)(n.keys()).filter((function(e){return n.get(e)})),t.length||n.length?{types:t,properties:n}:null}},{key:"dump",value:function(e,t){return{generic:this.generic,units:this.units,types:_w(this.types,!t,e),properties:_w(this.properties,!t,e),atrules:Dw(this.atrules,!t,e)}}},{key:"toString",value:function(){return JSON.stringify(this.dump())}}]),e}();function Rw(e,t){return"string"===typeof t&&/^\s*\|/.test(t)?"string"===typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Mw(e,t){for(var n=Object.create(null),r=0,i=Object.entries(e);r<i.length;r++){var o=(0,te.Z)(i[r],2),a=o[0],s=o[1];if(s){n[a]={};for(var l=0,u=Object.keys(s);l<u.length;l++){var c=u[l];t.includes(c)&&(n[a][c]=s[c])}}}return n}function $w(e,t){for(var n=(0,rn.Z)({},e),r=0,i=Object.entries(t);r<i.length;r++){var o=(0,te.Z)(i[r],2),a=o[0],s=o[1];switch(a){case"generic":n[a]=Boolean(s);break;case"units":n[a]=(0,rn.Z)({},e[a]);for(var l=0,u=Object.entries(s);l<u.length;l++){var c=(0,te.Z)(u[l],2),h=c[0],f=c[1];n[a][h]=Array.isArray(f)?f:[]}break;case"atrules":n[a]=(0,rn.Z)({},e[a]);for(var d=0,p=Object.entries(s);d<p.length;d++){var m=(0,te.Z)(p[d],2),g=m[0],v=m[1],O=n[a][g]||{},y=n[a][g]={prelude:O.prelude||null,descriptors:(0,rn.Z)({},O.descriptors)};if(v){y.prelude=v.prelude?Rw(y.prelude,v.prelude):y.prelude||null;for(var b=0,k=Object.entries(v.descriptors||{});b<k.length;b++){var S=(0,te.Z)(k[b],2),x=S[0],w=S[1];y.descriptors[x]=w?Rw(y.descriptors[x],w):null}Object.keys(y.descriptors).length||(y.descriptors=null)}}break;case"types":case"properties":n[a]=(0,rn.Z)({},e[a]);for(var T=0,C=Object.entries(s);T<C.length;T++){var E=(0,te.Z)(C[T],2),A=E[0],P=E[1];n[a][A]=Rw(n[a][A],P)}break;case"scope":n[a]=(0,rn.Z)({},e[a]);for(var _=0,D=Object.entries(s);_<D.length;_++){var Z=(0,te.Z)(D[_],2),N=Z[0],Q=Z[1];n[a][N]=(0,rn.Z)((0,rn.Z)({},n[a][N]),Q)}break;case"parseContext":n[a]=(0,rn.Z)((0,rn.Z)({},e[a]),s);break;case"atrule":case"pseudo":n[a]=(0,rn.Z)((0,rn.Z)({},e[a]),Mw(s,["parse"]));break;case"node":n[a]=(0,rn.Z)((0,rn.Z)({},e[a]),Mw(s,["name","structure","parse","generate","walkContext"]))}}return n}function Iw(e){var t=Mk(e),n=nS(e),r=Wk(e),i=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof bk===!1&&(e.children=(new bk).fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof bk&&(e.children=e.children.toArray())}}),t}}}(n),o=i.fromPlainObject,a=i.toPlainObject,s={lexer:null,createLexer:function(e){return new Qw(e,s,s.lexer.structure)},tokenize:Ok,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:a,fork:function(t){var n=$w({},e);return Iw("function"===typeof t?t(n,Object.assign):$w(n,t))}};return s.lexer=new Qw({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}var Lw=43,Fw=45,Bw=110,jw=!0,zw=!1;function Uw(e,t){var n=this.tokenStart+e,r=this.charCodeAt(n);for(r!==Lw&&r!==Fw||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)Nb(this.charCodeAt(n))||this.error("Integer is expected",n)}function Yw(e){return Uw.call(this,0,e)}function Xw(e,t){if(!this.cmpChar(this.tokenStart+e,t)){var n="";switch(t){case Bw:n="N is expected";break;case Fw:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function Hw(){for(var e=0,t=0,n=this.tokenType;n===yb||n===Db;)n=this.lookupType(++e);if(n!==gb){if(!this.isDelim(Lw,e)&&!this.isDelim(Fw,e))return null;t=this.isDelim(Lw,e)?Lw:Fw;do{n=this.lookupType(++e)}while(n===yb||n===Db);n!==gb&&(this.skip(e),Yw.call(this,jw))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart))!==Lw&&n!==Fw&&this.error("Number sign is expected"),Yw.call(this,0!==t),t===Fw?"-"+this.consume(gb):this.consume(gb)}var Ww="AnPlusB",qw={a:[String,null],b:[String,null]};function Gw(){var e=this.tokenStart,t=null,n=null;if(this.tokenType===gb)Yw.call(this,zw),n=this.consume(gb);else if(this.tokenType===sb&&this.cmpChar(this.tokenStart,Fw))switch(t="-1",Xw.call(this,1,Bw),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Hw.call(this);break;case 3:Xw.call(this,2,Fw),this.next(),this.skipSC(),Yw.call(this,jw),n="-"+this.consume(gb);break;default:Xw.call(this,2,Fw),Uw.call(this,3,jw),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===sb||this.isDelim(Lw)&&this.lookupType(1)===sb){var r=0;switch(t="1",this.isDelim(Lw)&&(r=1,this.next()),Xw.call(this,0,Bw),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Hw.call(this);break;case 2:Xw.call(this,1,Fw),this.next(),this.skipSC(),Yw.call(this,jw),n="-"+this.consume(gb);break;default:Xw.call(this,1,Fw),Uw.call(this,2,jw),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===Ob){for(var i=this.charCodeAt(this.tokenStart),o=i===Lw||i===Fw,a=this.tokenStart+o;a<this.tokenEnd&&Nb(this.charCodeAt(a));a++);a===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Xw.call(this,a-this.tokenStart,Bw),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=Hw.call(this)):(Xw.call(this,a-this.tokenStart+1,Fw),a+2===this.tokenEnd?(this.next(),this.skipSC(),Yw.call(this,jw),n="-"+this.consume(gb)):(Uw.call(this,a-this.tokenStart+2,jw),this.next(),n=this.substrToCursor(a+1)))}else this.error();return null!==t&&t.charCodeAt(0)===Lw&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===Lw&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Vw(e){if(e.a){var t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){var n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}function Jw(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Kw(){for(var e,t=1;e=this.lookupType(t);t++){if(e===_b)return!0;if(e===Pb||e===ub)return!1}return!1}var eT="Atrule",tT="atrule",nT={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function rT(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.tokenStart,i=null,o=null;switch(this.eat(ub),t=(e=this.substrToCursor(r+1)).toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==Pb&&this.tokenType!==xb&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,e,n),Jw):Jw.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case xb:this.next();break;case Pb:o=hasOwnProperty.call(this.atrule,t)&&"function"===typeof this.atrule[t].block?this.atrule[t].block.call(this,n):this.Block(Kw.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:e,prelude:i,block:o}}function iT(e){this.token(ub,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(xb,";")}var oT="AtrulePrelude",aT="atrulePrelude",sT={children:[[]]};function lT(e){var t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"===typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==Pb&&this.tokenType!==xb&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function uT(e){this.children(e)}var cT=36,hT=42,fT=61,dT=94,pT=124,mT=126;function gT(){this.eof&&this.error("Unexpected end of input");var e=this.tokenStart,t=!1;return this.isDelim(hT)?(t=!0,this.next()):this.isDelim(pT)||this.eat(sb),this.isDelim(pT)?this.charCodeAt(this.tokenStart+1)!==fT?(this.next(),this.eat(sb)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function vT(){var e=this.tokenStart,t=this.charCodeAt(e);return t!==fT&&t!==mT&&t!==dT&&t!==cT&&t!==hT&&t!==pT&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==fT&&(this.isDelim(fT)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var OT="AttributeSelector",yT={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function bT(){var e,t=this.tokenStart,n=null,r=null,i=null;return this.eat(Tb),this.skipSC(),e=gT.call(this),this.skipSC(),this.tokenType!==Cb&&(this.tokenType!==sb&&(n=vT.call(this),this.skipSC(),r=this.tokenType===hb?this.String():this.Identifier(),this.skipSC()),this.tokenType===sb&&(i=this.consume(sb),this.skipSC())),this.eat(Cb),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:i}}function kT(e){this.token(mb,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(sb,e.flags),this.token(mb,"]")}var ST=38;function xT(e){return this.Raw(e,null,!0)}function wT(){return this.parseWithFallback(this.Rule,xT)}function TT(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function CT(){if(this.tokenType===xb)return TT.call(this,this.tokenIndex);var e=this.parseWithFallback(this.Declaration,TT);return this.tokenType===xb&&this.next(),e}var ET="Block",AT="block",PT={children:[["Atrule","Rule","Declaration"]]};function _T(e){var t=e?CT:wT,n=this.tokenStart,r=this.createList();this.eat(Pb);e:for(;!this.eof;)switch(this.tokenType){case _b:break e;case yb:case Db:this.next();break;case ub:r.push(this.parseWithFallback(this.Atrule.bind(this,e),xT));break;default:e&&this.isDelim(ST)?r.push(wT.call(this)):r.push(t.call(this))}return this.eof||this.eat(_b),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function DT(e){var t=this;this.token(Pb,"{"),this.children(e,(function(e){"Declaration"===e.type&&t.token(xb,";")})),this.token(_b,"}")}var ZT="Brackets",NT={children:[[]]};function QT(e,t){var n,r=this.tokenStart;return this.eat(Tb),n=e.call(this,t),this.eof||this.eat(Cb),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function RT(e){this.token(mb,"["),this.children(e),this.token(mb,"]")}var MT="CDC",$T=[];function IT(){var e=this.tokenStart;return this.eat(kb),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function LT(){this.token(kb,"--\x3e")}var FT="CDO",BT=[];function jT(){var e=this.tokenStart;return this.eat(bb),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function zT(){this.token(bb,"\x3c!--")}var UT=46,YT="ClassSelector",XT={name:String};function HT(){return this.eatDelim(UT),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(sb)}}function WT(e){this.token(mb,"."),this.token(sb,e.name)}var qT=43,GT=47,VT=62,JT=126,KT="Combinator",eC={name:String};function tC(){var e,t=this.tokenStart;switch(this.tokenType){case yb:e=" ";break;case mb:switch(this.charCodeAt(this.tokenStart)){case VT:case qT:case JT:this.next();break;case GT:this.next(),this.eatIdent("deep"),this.eatDelim(GT);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function nC(e){this.tokenize(e.name)}var rC=42,iC=47,oC="Comment",aC={value:String};function sC(){var e=this.tokenStart,t=this.tokenEnd;return this.eat(Db),t-e+2>=2&&this.charCodeAt(t-2)===rC&&this.charCodeAt(t-1)===iC&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function lC(e){this.token(Db,"/*"+e.value+"*/")}var uC=33,cC=35,hC=36,fC=38,dC=42,pC=43,mC=47;function gC(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function vC(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function OC(){var e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==xb&&!1===this.isDelim(uC)&&!1===this.isBalanceEdge(e)&&this.error(),t}var yC="Declaration",bC="declaration",kC={important:[Boolean,String],property:String,value:["Value","Raw"]};function SC(){var e,t=this.tokenStart,n=this.tokenIndex,r=wC.call(this),i=gS(r),o=i?this.parseCustomProperty:this.parseValue,a=i?vC:gC,s=!1;this.skipSC(),this.eat(Sb);var l=this.tokenIndex;if(i||this.skipSC(),e=o?this.parseWithFallback(OC,a):a.call(this,this.tokenIndex),i&&"Value"===e.type&&e.children.isEmpty)for(var u=l-this.tokenIndex;u<=0;u++)if(this.lookupType(u)===yb){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(uC)&&(s=TC.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==xb&&!1===this.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:s,property:r,value:e}}function xC(e){this.token(sb,e.property),this.token(Sb,":"),this.node(e.value),e.important&&(this.token(mb,"!"),this.token(sb,!0===e.important?"important":e.important))}function wC(){var e=this.tokenStart;if(this.tokenType===mb)switch(this.charCodeAt(this.tokenStart)){case dC:case hC:case pC:case cC:case fC:this.next();break;case mC:this.next(),this.isDelim(mC)&&this.next()}return this.tokenType===cb?this.eat(cb):this.eat(sb),this.substrToCursor(e)}function TC(){this.eat(mb),this.skipSC();var e=this.consume(sb);return"important"===e||e}var CC=38;function EC(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var AC="DeclarationList",PC={children:[["Declaration","Atrule","Rule"]]};function _C(){for(var e=this.createList();!this.eof;)switch(this.tokenType){case yb:case Db:case xb:this.next();break;case ub:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),EC));break;default:this.isDelim(CC)?e.push(this.parseWithFallback(this.Rule,EC)):e.push(this.parseWithFallback(this.Declaration,EC))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function DC(e){var t=this;this.children(e,(function(e){"Declaration"===e.type&&t.token(xb,";")}))}var ZC="Dimension",NC={value:String,unit:String};function QC(){var e=this.tokenStart,t=this.consumeNumber(Ob);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function RC(e){this.token(Ob,e.value+e.unit)}var MC="Function",$C="function",IC={name:String,children:[[]]};function LC(e,t){var n,r=this.tokenStart,i=this.consumeFunctionName(),o=i.toLowerCase();return n=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Ab),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:i,children:n}}function FC(e){this.token(lb,e.name+"("),this.children(e),this.token(Ab,")")}var BC="XXX",jC="Hash",zC={value:String};function UC(){var e=this.tokenStart;return this.eat(cb),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function YC(e){this.token(cb,"#"+e.value)}var XC="Identifier",HC={name:String};function WC(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(sb)}}function qC(e){this.token(sb,e.name)}var GC="IdSelector",VC={name:String};function JC(){var e=this.tokenStart;return this.eat(cb),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function KC(e){this.token(mb,"#"+e.name)}var eE="MediaFeature",tE={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function nE(){var e,t=this.tokenStart,n=null;if(this.eat(Eb),this.skipSC(),e=this.consume(sb),this.skipSC(),this.tokenType!==Ab){switch(this.eat(Sb),this.skipSC(),this.tokenType){case gb:n=this.lookupNonWSType(1)===mb?this.Ratio():this.Number();break;case Ob:n=this.Dimension();break;case sb:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(Ab),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:n}}function rE(e){this.token(Eb,"("),this.token(sb,e.name),null!==e.value&&(this.token(Sb,":"),this.node(e.value)),this.token(Ab,")")}var iE="MediaQuery",oE={children:[["Identifier","MediaFeature","WhiteSpace"]]};function aE(){var e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case Db:case yb:this.next();continue;case sb:t=this.Identifier();break;case Eb:t=this.MediaFeature();break;default:break e}e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function sE(e){this.children(e)}var lE="MediaQueryList",uE={children:[["MediaQuery"]]};function cE(){var e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===wb);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function hE(e){var t=this;this.children(e,(function(){return t.token(wb,",")}))}var fE=38,dE="NestingSelector",pE={};function mE(){var e=this.tokenStart;return this.eatDelim(fE),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function gE(){this.token(mb,"&")}var vE="Nth",OE={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function yE(){this.skipSC();var e,t=this.tokenStart,n=t,r=null;return e=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(t,n),nth:e,selector:r}}function bE(e){this.node(e.nth),null!==e.selector&&(this.token(sb,"of"),this.node(e.selector))}var kE="Number",SE={value:String};function xE(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(gb)}}function wE(e){this.token(gb,e.value)}var TE="Operator",CE={value:String};function EE(){var e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function AE(e){this.tokenize(e.value)}var PE="Parentheses",_E={children:[[]]};function DE(e,t){var n,r=this.tokenStart;return this.eat(Eb),n=e.call(this,t),this.eof||this.eat(Ab),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function ZE(e){this.token(Eb,"("),this.children(e),this.token(Ab,")")}var NE="Percentage",QE={value:String};function RE(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(vb)}}function ME(e){this.token(vb,e.value+"%")}var $E="PseudoClassSelector",IE="function",LE={name:String,children:[["Raw"],null]};function FE(){var e,t,n=this.tokenStart,r=null;return this.eat(Sb),this.tokenType===lb?(t=(e=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(Ab)):e=this.consume(sb),{type:"PseudoClassSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function BE(e){this.token(Sb,":"),null===e.children?this.token(sb,e.name):(this.token(lb,e.name+"("),this.children(e),this.token(Ab,")"))}var jE="PseudoElementSelector",zE="function",UE={name:String,children:[["Raw"],null]};function YE(){var e,t,n=this.tokenStart,r=null;return this.eat(Sb),this.eat(Sb),this.tokenType===lb?(t=(e=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(Ab)):e=this.consume(sb),{type:"PseudoElementSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function XE(e){this.token(Sb,":"),this.token(Sb,":"),null===e.children?this.token(sb,e.name):(this.token(lb,e.name+"("),this.children(e),this.token(Ab,")"))}var HE=47,WE=46;function qE(){this.skipSC();for(var e=this.consume(gb),t=0;t<e.length;t++){var n=e.charCodeAt(t);Nb(n)||n===WE||this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var GE="Ratio",VE={left:String,right:String};function JE(){var e,t=this.tokenStart,n=qE.call(this);return this.skipSC(),this.eatDelim(HE),e=qE.call(this),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:n,right:e}}function KE(e){this.token(gb,e.left),this.token(mb,"/"),this.token(gb,e.right)}function eA(){return this.tokenIndex>0&&this.lookupType(-1)===yb?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var tA="Raw",nA={value:String};function rA(e,t,n){var r,i=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>i?eA.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(i,r),value:this.substring(i,r)}}function iA(e){this.tokenize(e.value)}function oA(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function aA(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==Pb&&this.error(),e}var sA="Rule",lA="rule",uA={prelude:["SelectorList","Raw"],block:["Block"]};function cA(){var e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(aA,oA):oA.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function hA(e){this.node(e.prelude),this.node(e.block)}var fA="Selector",dA={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function pA(){var e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function mA(e){this.children(e)}var gA="SelectorList",vA="selector",OA={children:[["Selector","Raw"]]};function yA(){for(var e=this.createList();!this.eof&&(e.push(this.Selector()),this.tokenType===wb);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function bA(e){var t=this;this.children(e,(function(){return t.token(wb,",")}))}var kA=92,SA=34,xA=39;function wA(e){for(var t=e.length,n=e.charCodeAt(0),r=n===SA||n===xA?1:0,i=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,o="",a=r;a<=i;a++){var s=e.charCodeAt(a);if(s===kA){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),Bb(kA,s)){var l=a-1,u=ik(e,l);a=u-1,o+=lk(e.substring(l+1,u))}else 13===s&&10===e.charCodeAt(a+1)&&a++}else o+=e[a]}return o}var TA="String",CA={value:String};function EA(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:wA(this.consume(hb))}}function AA(e){this.token(hb,function(e,t){for(var n=t?"'":'"',r=t?xA:SA,i="",o=!1,a=0;a<e.length;a++){var s=e.charCodeAt(a);0!==s?s<=31||127===s?(i+="\\"+s.toString(16),o=!0):s===r||s===kA?(i+="\\"+e.charAt(a),o=!1):(o&&(Qb(s)||Fb(s))&&(i+=" "),i+=e.charAt(a),o=!1):i+="\ufffd"}return n+i+n}(e.value))}var PA=33;function _A(e){return this.Raw(e,null,!1)}var DA="StyleSheet",ZA="stylesheet",NA={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function QA(){for(var e,t=this.tokenStart,n=this.createList();!this.eof;){switch(this.tokenType){case yb:this.next();continue;case Db:if(this.charCodeAt(this.tokenStart+2)!==PA){this.next();continue}e=this.Comment();break;case bb:e=this.CDO();break;case kb:e=this.CDC();break;case ub:e=this.parseWithFallback(this.Atrule,_A);break;default:e=this.parseWithFallback(this.Rule,_A)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function RA(e){this.children(e)}var MA=42,$A=124;function IA(){this.tokenType!==sb&&!1===this.isDelim(MA)&&this.error("Identifier or asterisk is expected"),this.next()}var LA="TypeSelector",FA={name:String};function BA(){var e=this.tokenStart;return this.isDelim($A)?(this.next(),IA.call(this)):(IA.call(this),this.isDelim($A)&&(this.next(),IA.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function jA(e){this.tokenize(e.name)}var zA=43,UA=45,YA=63;function XA(e,t){for(var n=0,r=this.tokenStart+e;r<this.tokenEnd;r++){var i=this.charCodeAt(r);if(i===UA&&t&&0!==n)return XA.call(this,e+n+1,!1),-1;Qb(i)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function HA(e){for(var t=0;this.isDelim(YA);)++t>e&&this.error("Too many question marks"),this.next()}function WA(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===zA?"Plus sign":"Hyphen minus")+" is expected")}function qA(){var e=0;switch(this.tokenType){case gb:if(e=XA.call(this,1,!0),this.isDelim(YA)){HA.call(this,6-e);break}if(this.tokenType===Ob||this.tokenType===gb){WA.call(this,UA),XA.call(this,1,!1);break}break;case Ob:(e=XA.call(this,1,!0))>0&&HA.call(this,6-e);break;default:if(this.eatDelim(zA),this.tokenType===sb){(e=XA.call(this,0,!0))>0&&HA.call(this,6-e);break}if(this.isDelim(YA)){this.next(),HA.call(this,5);break}this.error("Hex digit or question mark is expected")}}var GA="UnicodeRange",VA={value:String};function JA(){var e=this.tokenStart;return this.eatIdent("u"),qA.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function KA(e){this.tokenize(e.value)}var eP=32,tP=92,nP=34,rP=39,iP=40,oP=41;var aP="Url",sP={value:String};function lP(){var e,t=this.tokenStart;switch(this.tokenType){case db:e=function(e){for(var t=e.length,n=4,r=e.charCodeAt(t-1)===oP?t-2:t-1,i="";n<r&&Fb(e.charCodeAt(n));)n++;for(;n<r&&Fb(e.charCodeAt(r));)r--;for(var o=n;o<=r;o++){var a=e.charCodeAt(o);if(a===tP){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),Bb(tP,a)){var s=o-1,l=ik(e,s);o=l-1,i+=lk(e.substring(s+1,l))}else 13===a&&10===e.charCodeAt(o+1)&&o++}else i+=e[o]}return i}(this.consume(db));break;case lb:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(lb),this.skipSC(),e=wA(this.consume(hb)),this.skipSC(),this.eof||this.eat(Ab);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}}function uP(e){this.token(db,function(e){for(var t="",n=!1,r=0;r<e.length;r++){var i=e.charCodeAt(r);0!==i?i<=31||127===i?(t+="\\"+i.toString(16),n=!0):i===eP||i===tP||i===nP||i===rP||i===iP||i===oP?(t+="\\"+e.charAt(r),n=!1):(n&&Qb(i)&&(t+=" "),t+=e.charAt(r),n=!1):t+="\ufffd"}return"url("+t+")"}(e.value))}var cP="Value",hP={children:[[]]};function fP(){var e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function dP(e){this.children(e)}var pP=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),mP="WhiteSpace",gP={value:String};function vP(){return this.eat(yb),pP}function OP(e){this.token(yb,e.value)}var yP=(0,rn.Z)((0,rn.Z)({generic:!0},{generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221e]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,\u221e]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,\u221e]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,\u221e]> [/ <number [0,\u221e]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>|scroll( <axis>? <scroller>? )","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221e]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221e]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221e]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"<scroll-timeline-name>||<scroll-timeline-axis>","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}},nest:{prelude:"<complex-selector-list>",descriptors:null}}}),{},{node:W});function bP(e){switch(this.tokenType){case cb:return this.Hash();case wb:return this.Operator();case Eb:return this.Parentheses(this.readSequence,e.recognizer);case Tb:return this.Brackets(this.readSequence,e.recognizer);case hb:return this.String();case Ob:return this.Dimension();case vb:return this.Percentage();case gb:return this.Number();case lb:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case db:return this.Url();case sb:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case mb:var t=this.charCodeAt(this.tokenStart);if(47===t||42===t||43===t||45===t)return this.Operator();35===t&&this.error("Hex or identifier is expected",this.tokenStart+1)}}var kP={getNode:bP};var SP={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case Tb:return this.AttributeSelector();case cb:return this.IdSelector();case Sb:return this.lookupType(1)===Sb?this.PseudoElementSelector():this.PseudoClassSelector();case sb:return this.TypeSelector();case gb:case vb:return this.Percentage();case Ob:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case mb:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector();case 38:return this.NestingSelector()}}}};function xP(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var wP={getNode:bP,onWhiteSpace:function(e,t){xP(e)&&(e.value=" "+e.value),xP(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))},var:function(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===wb){e.push(this.Operator());var t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(var r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===yb){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},TP={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.Block(e)}}};function CP(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function EP(){return this.skipSC(),this.tokenType===sb&&this.lookupNonWSType(1)===Sb?this.createSingleNodeList(this.Declaration()):AP.call(this)}function AP(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case Db:case yb:this.next();continue;case lb:e=this.Function(CP,this.scope.AtrulePrelude);break;case sb:e=this.Identifier();break;case Eb:e=this.Parentheses(EP,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var PP={parse:{prelude:function(){var e=AP.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.Block(e)}}},_P={parse:function(){return this.createSingleNodeList(this.SelectorList())}},DP={parse:function(){return this.createSingleNodeList(this.Selector())}},ZP={parse:function(){return this.createSingleNodeList(this.Identifier())}},NP={parse:function(){return this.createSingleNodeList(this.Nth())}},QP={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:q,atrule:{"font-face":{parse:{prelude:null,block:function(){return this.Block(!0)}}},import:{parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case hb:e.push(this.String());break;case db:case lb:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==sb&&this.lookupNonWSType(0)!==Eb||e.push(this.MediaQueryList()),e},block:null}},media:TP,nest:{parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}},page:{parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}},supports:PP},pseudo:{dir:ZP,has:_P,lang:ZP,matches:_P,is:_P,"-moz-any":_P,"-webkit-any":_P,where:_P,not:_P,"nth-child":NP,"nth-last-child":NP,"nth-last-of-type":NP,"nth-of-type":NP,slotted:DP,host:DP,"host-context":DP},node:G},RP={node:W},MP=Iw($w({},(0,rn.Z)((0,rn.Z)((0,rn.Z)({},yP),QP),RP)));MP.tokenize;var $P=MP.parse;MP.generate,MP.lexer,MP.createLexer,MP.walk,MP.find,MP.findLast,MP.findAll,MP.toPlainObject,MP.fromPlainObject,MP.fork;function IP(){IP=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=new RegExp(e,r);return t.set(o,i||t.get(e)),LP(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var o=0;void 0===e[i[o]]&&o+1<i.length;)o++;t[n]=e[i[o]]}return t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LP(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=r(n,this);var i=n.indices;i&&(i.groups=r(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){var n=o[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},IP.apply(this,arguments)}function LP(e,t){return LP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},LP(e,t)}function FP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return FP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?FP(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var jP=function(e){return function(t){return void 0===t&&(t={}),function(e,t){if(t&&!e.registered(t))throw new Error('The default language "'+t+'" is not registered with refractor.')}(e,t.defaultLanguage),function(e){lp(e,"element",n)};function n(n,r,i){var o,a;if(i&&"pre"===i.tagName&&"code"===n.tagName){var s=(null==n||null==(o=n.data)?void 0:o.meta)||(null==n||null==(a=n.properties)?void 0:a.metastring)||"";n.properties.className?"boolean"==typeof n.properties.className?n.properties.className=[]:Array.isArray(n.properties.className)||(n.properties.className=[n.properties.className]):n.properties.className=[];var l,u,c=function(e){for(var t,n=BP(e.properties.className);!(t=n()).done;){var r=t.value;if("language-"===r.slice(0,9))return r.slice(9).toLowerCase()}return null}(n);if(!c&&t.defaultLanguage&&n.properties.className.push("language-"+(c=t.defaultLanguage)),n.properties.className.push("code-highlight"),c)try{var h,f;f=null!=(h=c)&&h.includes("diff-")?c.split("-")[1]:c,l=e.highlight(hv(n),f),i.properties.className=(i.properties.className||[]).concat("language-"+f)}catch(b){if(!t.ignoreMissing||!/Unknown language/.test(b.message))throw b;l=n}else l=n;l.children=(u=1,function e(t){return t.reduce((function(t,n){if("text"===n.type){var r=n.value,i=(r.match(/\n/g)||"").length;if(0===i)n.position={start:{line:u,column:1},end:{line:u,column:1}},t.push(n);else for(var o,a=r.split("\n"),s=BP(a.entries());!(o=s()).done;){var l=o.value,c=l[0],h=l[1];t.push({type:"text",value:c===a.length-1?h:h+"\n",position:{start:{line:u+c,column:1},end:{line:u+c,column:1}}})}return u+=i,t}if(Object.prototype.hasOwnProperty.call(n,"children")){var f=u;return n.children=e(n.children),t.push(n),n.position={start:{line:f,column:1},end:{line:u,column:1}},t}return t.push(n),t}),[])})(l.children),l.position=l.children.length>0?{start:{line:l.children[0].position.start.line,column:0},end:{line:l.children[l.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var d,p=function(e){var t=/{([\d,-]+)}/,n=e.split(",").map((function(e){return e.trim()})).join();if(t.test(n)){var r=t.exec(n)[1],i=Pv(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(s),m=function(e){var t=IP(/showLineNumbers=(\d+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(s),g=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]={type:"element",tagName:"span",properties:{className:[]},children:[]};return t}(l.position.end.line),v=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],O=function(){var e,n,r=d.value,i=r[0],o=r[1];o.properties.className=["code-line"];var a=Av(l,(function(e){return e.position.start.line<=i+1&&e.position.end.line>=i+1}));o.children=a.children,!s.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||v.some((function(e){return s.toLowerCase().includes(e)}))||(o.properties.line=[(i+m).toString()],o.properties.className.push("line-number")),p(i)&&o.properties.className.push("highlight-line"),("diff"===c||null!=(e=c)&&e.includes("diff-"))&&"-"===hv(o).substring(0,1)?o.properties.className.push("deleted"):("diff"===c||null!=(n=c)&&n.includes("diff-"))&&"+"===hv(o).substring(0,1)&&o.properties.className.push("inserted")},y=BP(g.entries());!(d=y()).done;)O();g.length>0&&""===hv(g[g.length-1]).trim()&&g.pop(),n.children=g}}}},zP=(jP(_v.$),jP(Dv.$));function UP(e,t){return e=e.replace(t.subset?function(e){var t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}var YP,XP=n(5412),HP={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"},WP=["cent","copy","divide","gt","lt","not","para","times"],qP={}.hasOwnProperty,GP={};for(YP in HP)qP.call(HP,YP)&&(GP[HP[YP]]=YP);function VP(e,t,n){var r,i=function(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){var i=String.fromCharCode(e);if(qP.call(GP,i)){var o=GP[i],a="&"+o;return n&&XP.K.includes(o)&&!WP.includes(o)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){var o=function(e,t,n){var r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);o.length<i.length&&(i=o)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function JP(e,t){return UP(e,Object.assign({format:VP},t))}var KP=t_(1),e_=t_(-1);function t_(e){return function(t,n,r){var i=t?t.children:[],o=(n||0)+e,a=i&&i[o];if(!r)for(;a&&Mp(a);)a=i[o+=e];return a}}var n_={}.hasOwnProperty;function r_(e){return function(t,n,r){return n_.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var i_=r_({html:function(e,t,n){var r=KP(n,t);return!r||"comment"!==r.type},head:o_,body:function(e,t,n){var r=KP(n,t);return!r||"comment"!==r.type},p:function(e,t,n){var r=KP(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},li:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&"li"===r.tagName},dt:function(e,t,n){var r=KP(n,t);return r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dd:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},rt:a_,rp:a_,optgroup:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},menuitem:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("menuitem"===r.tagName||"hr"===r.tagName||"menu"===r.tagName)},colgroup:o_,caption:o_,thead:function(e,t,n){var r=KP(n,t);return r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},tbody:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},tfoot:function(e,t,n){return!KP(n,t)},tr:function(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&"tr"===r.tagName},td:s_,th:s_});function o_(e,t,n){var r=KP(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&Mp(r.value.charAt(0)))}function a_(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function s_(e,t,n){var r=KP(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}var l_=r_({html:function(e){var t=KP(e,-1);return!t||"comment"!==t.type},head:function(e){var t=e.children,n=[],r=-1;for(;++r<t.length;){var i=t[r];if("element"===i.type&&("title"===i.tagName||"base"===i.tagName)){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0},body:function(e){var t=KP(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&Mp(t.value.charAt(0)))&&!("element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName))},colgroup:function(e,t,n){var r=e_(n,t),i=KP(e,-1,!0);if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&i_(r,n.children.indexOf(r),n))return!1;return i&&"element"===i.type&&"col"===i.tagName},tbody:function(e,t,n){var r=e_(n,t),i=KP(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&i_(r,n.children.indexOf(r),n))return!1;return i&&"element"===i.type&&"tr"===i.tagName}});var u_={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function c_(e,t,n){var r,i=(0,$p.s)(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,a=e.settings.allowDangerousCharacters?0:1,s=e.quote;if(!i.overloadedBoolean||n!==i.attribute&&""!==n?(i.boolean||i.overloadedBoolean&&"string"!==typeof n)&&(n=Boolean(n)):n=!0,void 0===n||null===n||!1===n||"number"===typeof n&&Number.isNaN(n))return"";var l=JP(i.attribute,Object.assign({},e.settings.characterReferences,{subset:u_.name[o][a]}));return!0===n?l:(n=Array.isArray(n)?(i.commaSeparated?Fp.P:Lp.P)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(r=JP(n,Object.assign({},e.settings.characterReferences,{subset:u_.unquoted[o][a],attribute:!0}))),r!==n&&(e.settings.quoteSmart&&Qm(n,s)>Qm(n,e.alternative)&&(s=e.alternative),r=s+JP(n,Object.assign({},e.settings.characterReferences,{subset:("'"===s?u_.single:u_.double)[o][a],attribute:!0}))+s),l+(r?"="+r:r)))}function h_(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?JP(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}var f_=Ug("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?"<?"+JP(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(e){return JP(e,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){var i,o=r.schema,a="svg"!==o.space&&r.settings.omitOptionalTags,s="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===o.space&&"svg"===e.tagName&&(r.schema=Np.YP);var u=function(e,t){var n,r=[],i=-1;if(t)for(n in t)if(void 0!==t[n]&&null!==t[n]){var o=c_(e,n,t[n]);o&&r.push(o)}for(;++i<r.length;){var a=e.settings.tightAttributes?r[i].charAt(r[i].length-1):null;i!==r.length-1&&'"'!==a&&"'"!==a&&(r[i]+=" ")}return r.join("")}(r,e.properties),c=r.all("html"===o.space&&"template"===e.tagName?e.content:e);return r.schema=o,c&&(s=!1),!u&&a&&l_(e,t,n)||(l.push("<",e.tagName,u?" "+u:""),s&&("svg"===o.space||r.settings.closeSelfClosing)&&(i=u.charAt(u.length-1),(!r.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&l.push(" "),l.push("/")),l.push(">")),l.push(c),s||a&&i_(e,t,n)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:h_(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:h_}});function d_(e,t,n){return f_(e,t,n,this)}function p_(e){for(var t=[],n=e&&e.children||[],r=-1;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function m_(e){var t=this.data("settings"),n=Object.assign({},t,e);Object.assign(this,{Compiler:function(e){return function(e,t){var n=t||{},r=n.quote||'"',i='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:d_,all:p_,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Gg,characterReferences:n.characterReferences||n.entities||{},closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?Np.YP:Np.dy,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,n)}})}var g_,v_=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.replace;if(t&&t.data&&"Declaration"===t.data.type){var o,a=(null===i||void 0===i||null===(o=i.find((function(e){return e.name===t.data.property})))||void 0===o?void 0:o.value)||t.data.value.value;n="".concat(t.data.property,": ").concat(a).concat(t.data.important?" !important":"",";"),t.next&&(n+=e(t.next,"",r))}return n},O_=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.data&&"Rule"===t.data.type){var i=t.data.prelude.value,o={};r.color&&r.theme&&Vy[r.theme]&&(o.replace=Vy[r.theme].filter((function(e){return e.select===i})).map((function(e){return(0,rn.Z)((0,rn.Z)({},e),{},{value:e.value.replace("{{color}}",r.color)})}))),n[i]=v_(t.data.block.children.head,"",o),t.next&&(n=e(t.next,(0,rn.Z)({},n),r))}return n},y_=function e(t){if("element"===t.type&&t.children){var n,r=null===(n=t.properties)||void 0===n?void 0:n.className;r&&(t.properties||(t.properties={}),t.properties.className=r.filter((function(e){return!/(token|control-flow)/.test(e)}))),t.children.map((function(t){return"element"===t.type&&t.children&&e(t),"text"===t.type&&(t.value=t.value.replace(/\s/g,"\xa0")),t}))}},b_=function e(t){var n="";return t.forEach((function(t){"text"===t.type?n+=t.value:"element"===t.type&&(n+=e(t.children))})),n.replace(/\u21a9/,"")};function k_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=$P(t,{parseAtrulePrelude:!1,parseRulePrelude:!1,parseValue:!1,parseCustomProperty:!1,positions:!1}),i=O_(r.children.head,{},{color:n.preColor,theme:n.previewTheme}),o=Xh().use(Kd).use(Dg).use(Dp,{allowDangerousHtml:!0}).use(zP,{ignoreMissing:!0}).use(iv).use(Cv,{}).use(Tv,{properties:"attr"}).use(SO,{rewrite:function(e,t,n){var r;if("element"===(null===e||void 0===e?void 0:e.type)&&"code"===(null===e||void 0===e?void 0:e.tagName)&&"element"===(null===n||void 0===n?void 0:n.type)&&"pre"===(null===n||void 0===n?void 0:n.tagName)&&y_(e),"element"===(null===e||void 0===e?void 0:e.type)&&"section"===e.tagName&&(null===e||void 0===e||null===(r=e.properties)||void 0===r?void 0:r.className).includes("footnotes")&&function(e){e.children.map((function(e){return"element"===e.type&&"h2"===e.tagName&&(e.properties||(e.properties={}),e.properties.className=["footnotes-title"],e.children=[{type:"text",value:"\u53c2\u8003"}]),"element"===e.type&&"ol"===e.tagName&&e.children.map((function(e){return"element"===e.type&&"li"===e.tagName&&(e.properties||(e.properties={}),e.properties.className=["footnotes-list"],e.children=[{type:"text",value:b_(e.children)}]),e})),e}))}(e),"element"===(null===e||void 0===e?void 0:e.type)&&"sup"===e.tagName&&function(e){var t=b_(e.children);e.children=[{type:"text",value:"[".concat(t,"]")}]}(e),"element"===(null===e||void 0===e?void 0:e.type)&&"img"===e.tagName&&function(e,t){"element"===(null===t||void 0===t?void 0:t.type)&&/(p|a)/.test(t.tagName)&&"element"===(null===e||void 0===e?void 0:e.type)&&"img"===e.tagName&&("p"===t.tagName&&(t.tagName="figure"),t.properties||(t.properties={}),t.properties.className=["image-warpper"],e.properties||(e.properties={}),e.properties.className=["image"])}(e,n),"element"===(null===e||void 0===e?void 0:e.type)&&"code"===(null===e||void 0===e?void 0:e.tagName)&&"element"===(null===n||void 0===n?void 0:n.type)&&"pre"!==(null===n||void 0===n?void 0:n.tagName)&&(e.properties||(e.properties={}),e.properties.className=["code-spans"]),"element"!==(null===n||void 0===n?void 0:n.type)||"element"!==(null===e||void 0===e?void 0:e.type)||"input"!==(null===e||void 0===e?void 0:e.tagName)){if("element"===(null===e||void 0===e?void 0:e.type)){var o;e.properties||(e.properties={});var a=null===(o=e.properties)||void 0===o?void 0:o.className,s="";a&&a.forEach((function(e){i[".".concat(e)]&&(s=i[".".concat(e)])})),s||(s=i[e.tagName]),s&&(e.properties.style=s+(e.properties.style||""))}}else n&&"element"===n.type&&(n.children=null===n||void 0===n?void 0:n.children.filter((function(e){return"input"!==e.tagName})))}}).use(m_),a=new Ih;a.value=e;var s=o.runSync(o.parse(a),a);return String(o.stringify(s,a))}var S_,x_,w_,T_,C_,E_=la.div(g_||(g_=V(["\n width: 375px;\n padding: 20px;\n box-shadow: 0 0 60px rgb(0 0 0 / 10%);\n min-height: 100%;\n font-size: 17px;\n"]))),A_=function(e){var t=(0,J.useContext)(Jy),n=t.css,r=t.preColor,i=t.previewTheme,o=k_(e.source||"",n,{preColor:r,previewTheme:i});return(0,qt.jsx)(E_,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:o}})},P_=la.button(S_||(S_=V(["\n /* white-space: nowrap;\n width: initial !important;\n display: flex;\n align-items: center; */\n"]))),__=function(e){var t=e.editorProps;return(0,qt.jsx)(P_,{type:"button",onClick:function(){var e,n,r,i=t.preview.current;null===i||void 0===i||i.focus(),null===(e=window.getSelection())||void 0===e||e.removeAllRanges();var o=document.createRange();o.setStartBefore(null===i||void 0===i?void 0:i.firstChild),o.setEndAfter(null===i||void 0===i?void 0:i.lastChild),null===(n=window.getSelection())||void 0===n||n.addRange(o),document.execCommand("copy"),null===(r=window.getSelection())||void 0===r||r.removeAllRanges(),kr.success((0,qt.jsx)("div",{children:"\u590d\u5236\u6210\u529f\uff01\u53bb\u516c\u4f17\u53f7\u7f16\u8f91\u5668\u590d\u5236\u5427\uff01"}))},children:e.command.icon})},D_={name:"copy",keyCommand:"copy",button:function(e,t,n){return(0,qt.jsx)(__,{command:e,editorProps:(0,rn.Z)((0,rn.Z)({},t),n)})},icon:(0,qt.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",height:"16",width:"16",children:[(0,qt.jsx)("path",{d:"M20 2H10a2 2 0 0 0-2 2v2h8a2 2 0 0 1 2 2v8h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z"}),(0,qt.jsx)("path",{d:"M4 22h10c1.103 0 2-.897 2-2V10c0-1.103-.897-2-2-2H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2zm2-10h6v2H6v-2zm0 4h6v2H6v-2z"})]})},Z_=la.input(x_||(x_=V(["\n position: absolute;\n opacity: 0;\n height: 20px;\n width: 20px;\n"]))),N_=la.button(w_||(w_=V([""]))),Q_=function(e){var t=(0,J.useContext)(Jy),n=t.preColor,r=t.setPreColor,i=n||"currentColor";return(0,qt.jsxs)(N_,{type:"button",children:[(0,qt.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",height:"16",width:"16",children:[(0,qt.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8.203 2.004c1.261 0 2.304 1.103 2.476 2.538l8.483 8.484-7.778 7.778a3 3 0 0 1-4.243 0L2.9 16.562a3 3 0 0 1 0-4.243l2.804-2.805V4.961c0-1.633 1.12-2.957 2.5-2.957Zm.5 2.957v1.553l-1 1V4.961c0-.327.224-.591.5-.591.277 0 .5.264.5.591Zm0 5.914V9.342l-4.39 4.391a1 1 0 0 0 0 1.414l4.243 4.243a1 1 0 0 0 1.414 0l6.364-6.364-5.63-5.63v3.48l-.003.128h-2.01a.698.698 0 0 0 .012-.129Z"}),(0,qt.jsx)("path",{d:"M16.859 16.875a3 3 0 1 0 4.242 0l-2.121-2.121-2.121 2.12Z",fill:i})]}),(0,qt.jsx)(Z_,{type:"color",value:n,onChange:function(e){r(e.target.value)}})]})},R_={name:"color",keyCommand:"color",button:function(){return(0,qt.jsx)(Q_,{})}},M_=la.select(T_||(T_=V(["\n max-width: 4rem;\n padding: 0;\n appearance: none;\n background-color: var(--color-border-muted);\n border: none;\n padding: 0 0.2rem 0 0.2rem;\n margin: 0;\n font-family: inherit;\n font-size: 0.7rem;\n outline: none;\n height: 1.15rem;\n cursor: inherit;\n line-height: inherit;\n border-radius: 0.2rem;\n &::-ms-expand {\n display: none;\n }\n"]))),$_=function(e){var t=(0,J.useContext)(Jy),n=t.theme,r=t.setTheme;return(0,qt.jsx)(M_,{value:n,onChange:function(e){return r(e.target.value)},children:Object.keys(qy).map((function(e,t){return(0,qt.jsx)("option",{value:e,children:qy[e].label},t)}))})},I_={name:"theme",keyCommand:"theme",button:function(e,t,n){return(0,qt.jsx)($_,{command:e,editorProps:(0,rn.Z)((0,rn.Z)({},t),n)})}},L_=function(){var e=(0,J.useContext)(Jy),t=e.setCss,n=e.previewTheme,r=e.setPreviewTheme;return(0,qt.jsx)(M_,{value:n,onChange:function(e){var n=e.target.value;r(n),t(Gy[n].value)},children:Object.keys(Gy).map((function(e,t){return(0,qt.jsx)("option",{value:e,children:Gy[e].label},t)}))})},F_={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,qt.jsx)(L_,{})}},B_=la(zt)(C_||(C_=V(["\n font-size: 0.8rem;\n line-height: 0.7rem;\n text-decoration: none;\n padding: 0.18rem 0.3rem;\n &:hover {\n color: var(--color-accent-fg);\n background-color: var(--color-neutral-muted);\n border-radius: 0.2rem;\n }\n"]))),j_={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,qt.jsx)(B_,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"})}},z_={name:"previous",keyCommand:"previous",button:function(){return(0,qt.jsx)(B_,{to:"/",children:"\u8fd4\u56de"})}},U_=function(){var e=[].concat((0,ne.Z)(VO()),[I_]),t=(0,J.useContext)(Jy),n=t.theme,r=t.markdown,i=t.isLoading,o=t.setMarkdown,a=qy[n].value;return(0,qt.jsx)(ay,{value:r,toolbars:e,theme:a,readOnly:i,toolbarsMode:[j_,F_,D_,R_,"fullscreen","preview"],extensions:[$s.tk.lineWrapping],renderPreview:A_,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},Y_=n(4422),X_=function(){var e=(0,J.useContext)(Jy),t=e.css,n=k_(e.markdown,t,{preColor:e.preColor,previewTheme:e.previewTheme});return(0,qt.jsx)(E_,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:n}})},H_=["title","titleId"];function W_(){return W_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W_.apply(this,arguments)}function q_(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function G_(e,t){var n=e.title,r=e.titleId,i=q_(e,H_);return J.createElement("svg",W_({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),n?J.createElement("title",{id:r},n):null,J.createElement("g",{id:"Layer_2"},J.createElement("g",{id:"color-palette"},J.createElement("path",{d:"M19.54 5.08A10.61 10.61 0 0 0 11.91 2a10 10 0 0 0-.05 20 2.58 2.58 0 0 0 2.53-1.89 2.52 2.52 0 0 0-.57-2.28.5.5 0 0 1 .37-.83h1.65A6.15 6.15 0 0 0 22 11.33a8.48 8.48 0 0 0-2.46-6.25Zm-12.7 9.66a1.5 1.5 0 1 1 .4-2.08 1.49 1.49 0 0 1-.4 2.08ZM8.3 9.25a1.5 1.5 0 1 1-.55-2 1.5 1.5 0 0 1 .55 2ZM11 7a1.5 1.5 0 1 1 1.5-1.5A1.5 1.5 0 0 1 11 7Zm5.75.8a1.5 1.5 0 1 1 .55-2 1.5 1.5 0 0 1-.55 2Z",style:{fill:"#231f20"},id:"color-palette-2"}))))}var V_,J_,K_=J.forwardRef(G_),eD=(n.p,la.div(V_||(V_=V(["\n font-size: 0.9rem;\n font-weight: bold;\n display: flex;\n align-items: center;\n line-height: 1;\n padding-right: 0.5rem;\n padding-left: 0.2rem;\n"])))),tD={name:"themeTitle",keyCommand:"themeTitle",button:function(){return(0,qt.jsxs)(eD,{children:[(0,qt.jsx)(K_,{width:16,height:16}),"\u4e3b\u9898\u7f16\u8f91\u5668"]})}},nD=function(){var e=[tD,I_,z_],t=[F_,D_,"fullscreen","preview"],n=(0,J.useContext)(Jy),r=n.theme,i=n.css,o=n.setCss,a=n.isLoading,s=qy[r].value;return(0,qt.jsx)(ay,{value:i,theme:s,readOnly:a,toolbars:e,toolbarsMode:t,reExtensions:[$s.tk.lineWrapping,(0,Y_.css)()],renderPreview:X_,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},rD=la.div(J_||(J_=V(["\n max-width: 59rem;\n margin: 0 auto 0 auto;\n padding: 0 1rem 3rem 1rem;\n"]))),iD=function(){return(0,qt.jsx)(rD,{children:(0,qt.jsx)(ay.Markdown,{source:Wy})})};function oD(){return(0,qt.jsx)(Pt,{children:(0,qt.jsxs)(Et,{path:"/",element:(0,qt.jsx)(ab,{}),children:[(0,qt.jsx)(Et,{index:!0,element:(0,qt.jsx)(U_,{})}),(0,qt.jsx)(Et,{path:"/editor/theme",element:(0,qt.jsx)(nD,{})}),(0,qt.jsx)(Et,{path:"/doc",element:(0,qt.jsx)(iD,{})})]})})}var aD=["refetchPage"],sD=function(e){(0,oe.Z)(n,e);var t=(0,ae.Z)(n);function n(e,r){var i;return(0,re.Z)(this,n),(i=t.call(this)).client=e,i.options=r,i.trackedProps=new Set,i.selectError=null,i.bindMethods(),i.setOptions(r),i}return(0,ie.Z)(n,[{key:"bindMethods",value:function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}},{key:"onSubscribe",value:function(){1===this.listeners.size&&(this.currentQuery.addObserver(this),lD(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}},{key:"onUnsubscribe",value:function(){this.hasListeners()||this.destroy()}},{key:"shouldFetchOnReconnect",value:function(){return uD(this.currentQuery,this.options,this.options.refetchOnReconnect)}},{key:"shouldFetchOnWindowFocus",value:function(){return uD(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}},{key:"destroy",value:function(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}},{key:"setOptions",value:function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),xa(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&cD(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}},{key:"getOptimisticResult",value:function(e){var t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!xa(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}},{key:"getCurrentResult",value:function(){return this.currentResult}},{key:"trackResult",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:function(){return t.trackedProps.add(r),e[r]}})})),n}},{key:"getCurrentQuery",value:function(){return this.currentQuery}},{key:"remove",value:function(){this.client.getQueryCache().remove(this.currentQuery)}},{key:"refetch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refetchPage,n=function(e,t){if(null==e)return{};var n,r,i=Wt(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,aD);return this.fetch((0,rn.Z)((0,rn.Z)({},n),{},{meta:{refetchPage:t}}))}},{key:"fetchOptimistic",value:function(e){var t=this,n=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then((function(){return t.createResult(r,n)}))}},{key:"fetch",value:function(e){var t,n=this;return this.executeFetch((0,rn.Z)((0,rn.Z)({},e),{},{cancelRefetch:null==(t=e.cancelRefetch)||t})).then((function(){return n.updateResult(),n.currentResult}))}},{key:"executeFetch",value:function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(ha)),t}},{key:"updateStaleTimeout",value:function(){var e=this;if(this.clearStaleTimeout(),!ca&&!this.currentResult.isStale&&fa(this.options.staleTime)){var t=da(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}}},{key:"computeRefetchInterval",value:function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}},{key:"updateRefetchInterval",value:function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!ca&&!1!==this.options.enabled&&fa(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Ra.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))}},{key:"updateTimers",value:function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}},{key:"clearStaleTimeout",value:function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}},{key:"clearRefetchInterval",value:function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}},{key:"createResult",value:function(e,t){var n,r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=e!==r,u=l?e.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,h=e.state,f=h.dataUpdatedAt,d=h.error,p=h.errorUpdatedAt,m=h.fetchStatus,g=h.status,v=!1,O=!1;if(t._optimisticResults){var y=this.hasListeners(),b=!y&&lD(e,t),k=y&&cD(e,r,t,i);(b||k)&&(m=La(e.options.networkMode)?"fetching":"paused",f||(g="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!h.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==g)n=c.data,f=c.dataUpdatedAt,g=c.status,v=!0;else if(t.select&&"undefined"!==typeof h.data)if(o&&h.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(h.data),n=_a(null==o?void 0:o.data,n,t),this.selectResult=n,this.selectError=null}catch(C){0,this.selectError=C}else n=h.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&"loading"===g){var S;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==s?void 0:s.placeholderData))S=o.data;else if(S="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof S)try{S=t.select(S),this.selectError=null}catch(C){0,this.selectError=C}"undefined"!==typeof S&&(g="success",n=_a(null==o?void 0:o.data,S,t),O=!0)}this.selectError&&(d=this.selectError,n=this.selectResult,p=Date.now(),g="error");var x="fetching"===m,w="loading"===g,T="error"===g;return{status:g,fetchStatus:m,isLoading:w,isSuccess:"success"===g,isError:T,isInitialLoading:w&&x,data:n,dataUpdatedAt:f,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:x,isRefetching:x&&!w,isLoadingError:T&&0===h.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:O,isPreviousData:v,isRefetchError:T&&0!==h.dataUpdatedAt,isStale:hD(e,t),refetch:this.refetch,remove:this.remove}}},{key:"updateResult",value:function(e){var t=this,n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!xa(r,n)){this.currentResult=r;var i={cache:!0};!1!==(null==e?void 0:e.listeners)&&function(){if(!n)return!0;var e=t.options.notifyOnChangeProps,r="function"===typeof e?e():e;if("all"===r||!r&&!t.trackedProps.size)return!0;var i=new Set(null!=r?r:t.trackedProps);return t.options.useErrorBoundary&&i.add("error"),Object.keys(t.currentResult).some((function(e){var r=e;return t.currentResult[r]!==n[r]&&i.has(r)}))}()&&(i.listeners=!0),this.notify((0,rn.Z)((0,rn.Z)({},i),e))}}},{key:"updateQuery",value:function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}}},{key:"onQueryUpdate",value:function(e){var t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||Ba(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}},{key:"notify",value:function(e){var t=this;Na.batch((function(){var n,r,i,o;if(e.onSuccess)null==(n=(r=t.options).onSuccess)||n.call(r,t.currentResult.data),null==(i=(o=t.options).onSettled)||i.call(o,t.currentResult.data,null);else if(e.onError){var a,s,l,u;null==(a=(s=t.options).onError)||a.call(s,t.currentResult.error),null==(l=(u=t.options).onSettled)||l.call(u,void 0,t.currentResult.error)}e.listeners&&t.listeners.forEach((function(e){(0,e.listener)(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))}}]),n}(Qa);function lD(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&uD(e,t,t.refetchOnMount)}function uD(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&hD(e,t)}return!1}function cD(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&hD(e,n)}function hD(e,t){return e.isStaleByTime(t.staleTime)}var fD=n(7152).useSyncExternalStore;function dD(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var pD=J.createContext(dD()),mD=function(){return J.useContext(pD)},gD=J.createContext(!1),vD=function(){return J.useContext(gD)};gD.Provider;var OD,yD=function(e,t){(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},bD=function(e){J.useEffect((function(){e.clearReset()}),[e])},kD=function(e){var t,n,r=e.result,i=e.errorResetBoundary,o=e.useErrorBoundary,a=e.query;return r.isError&&!i.isReset()&&!r.isFetching&&(t=o,n=[r.error,a],"function"===typeof t?t.apply(void 0,(0,ne.Z)(n)):!!t)},SD=function(e){e.suspense&&"number"!==typeof e.staleTime&&(e.staleTime=1e3)},xD=function(e,t,n){return(null==e?void 0:e.suspense)&&function(e,t){return e.isLoading&&e.isFetching&&!t}(t,n)},wD=function(e,t,n){return t.fetchOptimistic(e).then((function(t){var n=t.data;null==e.onSuccess||e.onSuccess(n),null==e.onSettled||e.onSettled(n,null)})).catch((function(t){n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)}))};function TD(e,t,n){return function(e,t){var n=os({context:e.context}),r=vD(),i=mD(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=Na.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=Na.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=Na.batchCalls(o.onSettled)),SD(o),yD(o,i),bD(i);var a=J.useState((function(){return new t(n,o)})),s=(0,te.Z)(a,1)[0],l=s.getOptimisticResult(o);if(fD(J.useCallback((function(e){var t=r?function(){}:s.subscribe(Na.batchCalls(e));return s.updateResult(),t}),[s,r]),(function(){return s.getCurrentResult()}),(function(){return s.getCurrentResult()})),J.useEffect((function(){s.setOptions(o,{listeners:!1})}),[o,s]),xD(o,l,r))throw wD(o,s,i);if(kD({result:l,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:s.getCurrentQuery()}))throw l.error;return o.notifyOnChangeProps?l:s.trackResult(l)}(pa(e,t,n),sD)}var CD,ED=la.div(OD||(OD=V(["\n font-size: 0.8rem;\n"]))),AD=function(e){var t,n=e.children,r=Xt(),i=(0,te.Z)(r,2),o=i[0],a=i[1],s=o.get("theme"),l=s||"underscore",u=o.get("md"),c=J.useState(u?"":Wy),h=(0,te.Z)(c,2),f=h[0],d=h[1],p=J.useState(Gy[l].value),m=(0,te.Z)(p,2),g=m[0],v=m[1],O=J.useState(l),y=(0,te.Z)(O,2),b=y[0],k=y[1],S=J.useState("default"),x=(0,te.Z)(S,2),w=x[0],T=x[1],C=J.useState(Gy[l]?Gy[l].color:""),E=(0,te.Z)(C,2),A=E[0],P=E[1],_=J.useState(!0),D=(0,te.Z)(_,2),Z=D[0],N=D[1],Q=TD(["database-list",t=u],(function(){return t?fetch(t).then((function(e){return e.text()})).then((function(e){return e})).catch((function(e){kr.error((0,qt.jsxs)(ED,{children:["\u52a0\u8f7d\u5931\u8d25\uff01",(0,qt.jsx)("a",{href:t,children:"\u8bf7\u68c0\u67e5\u4f60\u7684URL"})]}))})):Promise.resolve("")})),R=Q.data,M=Q.isLoading;return(0,J.useEffect)((function(){s!==b&&(o.set("theme",b),a(o))}),[s,b,o,a]),(0,J.useEffect)((function(){u&&d(R||"")}),[R,u]),(0,J.useEffect)((function(){return N(M)}),[M]),(0,J.useEffect)((function(){return P(Gy[l].color)}),[l]),(0,qt.jsx)(Jy.Provider,{value:{preColor:A,setPreColor:P,isLoading:Z,setIsLoading:N,markdown:f,setMarkdown:d,css:g,setCss:v,previewTheme:b,setPreviewTheme:k,theme:w,setTheme:T},children:n})},PD=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=oa.apply(void 0,xr([e],t,!1)),i="sc-global-".concat(Yi(JSON.stringify(r))),o=new ua(r,i),a=function(e){var t=zo(),n=J.useContext(ea),r=J.useRef(t.styleSheet.allocateGSInstance(i)).current;return t.styleSheet.server&&s(r,e,t.styleSheet,n,t.stylis),J.useLayoutEffect((function(){if(!t.styleSheet.server)return s(r,e,t.styleSheet,n,t.stylis),function(){return o.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function s(e,t,n,r,i){if(o.isStatic)o.renderStyles(e,Di,n,i);else{var s=Sr(Sr({},t),{theme:Qi(t,r,a.defaultProps)});o.renderStyles(e,s,n,i)}}return J.memo(a)}(CD||(CD=V(['\n [data-color-mode*=\'dark\'], [data-color-mode*=\'dark\'] body {\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110,118,129,0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187,128,9,0.15);\n --color-danger-fg: #f85149;\n }\n [data-color-mode*=\'light\'], [data-color-mode*=\'light\'] body {\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsla(210,18%,87%,1);\n --color-neutral-muted: rgba(175,184,193,0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n body {\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",\n "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n']))),_D=new es,DD=document.getElementById("root");(0,ee.s)(DD).render((0,qt.jsxs)(Lt,{children:[(0,qt.jsx)(br,{}),(0,qt.jsx)(nn,{style:{zIndex:999},children:"Top"}),(0,qt.jsx)(PD,{}),(0,qt.jsx)(as,{client:_D,children:(0,qt.jsx)(AD,{children:(0,qt.jsx)(oD,{})})})]}))},7298:function(e){e.exports=function(){"use strict";function e(e,t){if("undefined"!==typeof document){var n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);var r=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);n.select();var i=!1;try{i=!!document.execCommand("copy")}catch(o){i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}}return e}()},9446:function(e,t,n){var r=n(8983).default,i=n(2081).default,o=n(7266).default,a=n(8724).default,s=n(670).default,l=n(9952).default,u=n(3231).default,c=document,h="_dark_mode_theme_",f="permanent",d="colorschemechange",p="light",m="dark",g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,n,{enumerable:!0,get:function(){var e=this.getAttribute(t);return null===e?"":e},set:function(e){this.setAttribute(t,e)}})},v=function(e){"use strict";a(n,e);var t=s(n);function n(){var e;return r(this,n),e=t.call(this),u(o(e),"LOCAL_NANE",h),e.t(),e}return i(n,[{key:"connectedCallback",value:function(){var e=this;g(this,"mode"),g(this,m),g(this,p),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,n,{enumerable:!0,get:function(){return this.hasAttribute(t)},set:function(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,f);var t=localStorage.getItem(h);t&&[p,m].includes(t)&&(this.mode=t,this.permanent=!0),this.permanent&&!t&&localStorage.setItem(h,this.mode);var n=[p,m].includes(t);this.permanent&&t?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=m,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=p,this.o())),this.permanent||n||(window.matchMedia("(prefers-color-scheme: light)").onchange=function(t){e.mode=t.matches?p:m,e.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=function(t){e.mode=t.matches?m:p,e.o()}),new MutationObserver((function(t,r){e.mode=c.documentElement.dataset.colorMode,e.permanent&&n&&(localStorage.setItem(h,e.mode),e.i("permanentcolorscheme",{permanent:e.permanent})),e.h(),e.i(d,{colorScheme:e.mode})})).observe(c.documentElement,{attributes:!0}),this.i(d,{colorScheme:this.mode}),this.h()}},{key:"attributeChangedCallback",value:function(e,t,n){if("mode"===e&&t!==n&&[p,m].includes(n)){var r=localStorage.getItem(h);this.mode===r?(this.mode=n,this.h(),this.o()):this.mode&&this.mode!==r&&(this.h(),this.o())}else e!==p&&e!==m||t===n||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(h,this.mode):localStorage.removeItem(h))}},{key:"o",value:function(){c.documentElement.setAttribute("data-color-mode",this.mode)}},{key:"h",value:function(){this.icon.textContent=this.mode===p?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===p?this.getAttribute(m):this.getAttribute(p),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}},{key:"t",value:function(){var e=this,t=this.attachShadow({mode:"open"});this.label=c.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=function(){e.mode=e.mode===p?m:p,e.permanent&&localStorage.setItem(h,e.mode),e.o(),e.h()},t.appendChild(this.label),this.icon=c.createElement("span"),this.label.appendChild(this.icon),this.text=c.createElement("span"),this.label.appendChild(this.text);var n="_dark_mode_style_";if(!c.getElementById(n)){var r=c.createElement("style");r.id=n,r.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",c.head.appendChild(r)}var i=c.createElement("style");i.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",t.appendChild(i)}},{key:"i",value:function(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}],[{key:"observedAttributes",get:function(){return["mode",p,m,f]}}]),n}(l(HTMLElement));customElements.define("dark-mode",v)},7520:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},6428:function(e,t,n){"use strict";var r=n(716),i=n(4664),o=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.ruleNestingOperators[i]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.ruleNestingOperators[i]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.attrEqualityMods[i]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.attrEqualityMods[i]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return r.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return i.renderEntity(e).trim()},e}();t.N=o},716:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2030);t.parseCssSelector=function(e,t,n,i,o,a){var s=e.length,l="";function u(n,i){var o="";for(t++,l=e.charAt(t);t<s;){if(l===n)return t++,o;if("\\"===l){t++;var a=void 0;if((l=e.charAt(t))===n)o+=n;else if(void 0!==(a=i[l]))o+=a;else{if(r.isHex(l)){var u=l;for(t++,l=e.charAt(t);r.isHex(l);)u+=l,t++,l=e.charAt(t);" "===l&&(t++,l=e.charAt(t)),o+=String.fromCharCode(parseInt(u,16));continue}o+=l}}else o+=l;t++,l=e.charAt(t)}return o}function c(){var n="";for(l=e.charAt(t);t<s;){if(r.isIdent(l))n+=l;else{if("\\"!==l)return n;if(++t>=s)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(t),r.identSpecialChars[l])n+=l;else{if(r.isHex(l)){var i=l;for(t++,l=e.charAt(t);r.isHex(l);)i+=l,t++,l=e.charAt(t);" "===l&&(t++,l=e.charAt(t)),n+=String.fromCharCode(parseInt(i,16));continue}n+=l}}t++,l=e.charAt(t)}return n}function h(){l=e.charAt(t);for(var n=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)n=!0,t++,l=e.charAt(t);return n}function f(){var n=d();if(!n)return null;var r=n;for(l=e.charAt(t);","===l;){if(t++,h(),"selectors"!==r.type&&(r={type:"selectors",selectors:[n]}),!(n=d()))throw Error('Rule expected after ",".');r.selectors.push(n)}return r}function d(){h();var n={type:"ruleSet"},r=p();if(!r)return null;for(var i=n;r&&(r.type="rule",i.rule=r,i=r,h(),l=e.charAt(t),!(t>=s||","===l||")"===l));)if(o[l]){var a=l;if(t++,h(),!(r=p()))throw Error('Rule expected after "'+a+'".');r.nestingOperator=a}else(r=p())&&(r.nestingOperator=null);return n}function p(){for(var o=null;t<s;)if("*"===(l=e.charAt(t)))t++,(o=o||{}).tagName="*";else if(r.isIdentStart(l)||"\\"===l)(o=o||{}).tagName=c();else if("."===l)t++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===l)t++,(o=o||{}).id=c();else if("["===l){t++,h();var d={name:c()};if(h(),"]"===l)t++;else{var p="";if(i[l]&&(p=l,t++,l=e.charAt(t)),t>=s)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');d.operator=p+"=",t++,h();var m="";if(d.valueType="string",'"'===l)m=u('"',r.doubleQuotesEscapeChars);else if("'"===l)m=u("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,m=c(),d.valueType="substitute";else{for(;t<s&&"]"!==l;)m+=l,t++,l=e.charAt(t);m=m.trim()}if(h(),t>=s)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');t++,d.value=m}((o=o||{}).attrs=o.attrs||[]).push(d)}else{if(":"!==l)break;t++;var g=c(),v={name:g};if("("===l){t++;var O="";if(h(),"selector"===n[g])v.valueType="selector",O=f();else{if(v.valueType=n[g]||"string",'"'===l)O=u('"',r.doubleQuotesEscapeChars);else if("'"===l)O=u("'",r.singleQuoteEscapeChars);else if(a&&"$"===l)t++,O=c(),v.valueType="substitute";else{for(;t<s&&")"!==l;)O+=l,t++,l=e.charAt(t);O=O.trim()}h()}if(t>=s)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');t++,v.value=O}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var n=f();if(t<s)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return n}()}},4664:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2030);t.renderEntity=function e(t){var n="";switch(t.type){case"ruleSet":for(var i=t.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(e(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(n="*"===t.tagName?"*":r.escapeIdentifier(t.tagName)),t.id&&(n+="#"+r.escapeIdentifier(t.id)),t.classNames&&(n+=t.classNames.map((function(e){return"."+r.escapeIdentifier(e)})).join("")),t.attrs&&(n+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+r.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+r.escapeIdentifier(e.name)+e.operator+r.escapeStr(e.value)+"]":"["+r.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(n+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+r.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+t.value+")":":"+r.escapeIdentifier(t.name)+"("+r.escapeIdentifier(t.value)+")":":"+r.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return n}},2030:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var n=e.length,r="",i=0;i<n;){var o=e.charAt(i);if(t.identSpecialChars[o])r+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==i&&o>="0"&&o<="9")r+=o;else{var a=o.charCodeAt(0);if(55296===(63488&a)){var s=e.charCodeAt(i++);if(55296!==(64512&a)||56320!==(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}r+="\\"+a.toString(16)+" "}i++}return r},t.escapeStr=function(e){for(var n,r=e.length,i="",o=0;o<r;){var a=e.charAt(o);'"'===a?a='\\"':"\\"===a?a="\\\\":void 0!==(n=t.strReplacementsRev[a])&&(a=n),i+=a,o++}return'"'+i+'"'},t.identSpecialChars={"!":!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,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},6736:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"===typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!==typeof h&&"function"!==typeof h)&&(h={});f<d;++f)if(null!=(t=arguments[f]))for(n in t)r=l(h,n),h!==(i=l(t,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(h,{name:n,newValue:e(p,c,i)})):"undefined"!==typeof i&&s(h,{name:n,newValue:i}));return h}},962:function(e,t,n){"use strict";var r=n(3352).DOCUMENT_MODE,i="html",o=["+//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//"],a=o.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=l.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function c(e){var t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function h(e,t){for(var n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===i&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==i)return r.QUIRKS;var t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.QUIRKS;var n=e.publicId;if(null!==n){if(n=n.toLowerCase(),s.indexOf(n)>-1)return r.QUIRKS;var c=null===t?a:o;if(h(n,c))return r.QUIRKS;if(h(n,c=null===t?l:u))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){var r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+c(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+c(n)),r}},4074:function(e){"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},9205:function(e,t,n){"use strict";var r,i=n(3231).default,o=n(951),a=n(3352),s=a.TAG_NAMES,l=a.NAMESPACES,u=a.ATTRS,c="text/html",h="application/xhtml+xml",f={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},d={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:l.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:l.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:l.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:l.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:l.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:l.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:l.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:l.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:l.XML},"xml:space":{prefix:"xml",name:"space",namespace:l.XML},xmlns:{prefix:"",name:"xmlns",namespace:l.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:l.XMLNS}},p=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},m=(i(r={},s.B,!0),i(r,s.BIG,!0),i(r,s.BLOCKQUOTE,!0),i(r,s.BODY,!0),i(r,s.BR,!0),i(r,s.CENTER,!0),i(r,s.CODE,!0),i(r,s.DD,!0),i(r,s.DIV,!0),i(r,s.DL,!0),i(r,s.DT,!0),i(r,s.EM,!0),i(r,s.EMBED,!0),i(r,s.H1,!0),i(r,s.H2,!0),i(r,s.H3,!0),i(r,s.H4,!0),i(r,s.H5,!0),i(r,s.H6,!0),i(r,s.HEAD,!0),i(r,s.HR,!0),i(r,s.I,!0),i(r,s.IMG,!0),i(r,s.LI,!0),i(r,s.LISTING,!0),i(r,s.MENU,!0),i(r,s.META,!0),i(r,s.NOBR,!0),i(r,s.OL,!0),i(r,s.P,!0),i(r,s.PRE,!0),i(r,s.RUBY,!0),i(r,s.S,!0),i(r,s.SMALL,!0),i(r,s.SPAN,!0),i(r,s.STRONG,!0),i(r,s.STRIKE,!0),i(r,s.SUB,!0),i(r,s.SUP,!0),i(r,s.TABLE,!0),i(r,s.TT,!0),i(r,s.U,!0),i(r,s.UL,!0),i(r,s.VAR,!0),r);t.causesExit=function(e){var t=e.tagName;return!!(t===s.FONT&&(null!==o.getTokenAttr(e,u.COLOR)||null!==o.getTokenAttr(e,u.SIZE)||null!==o.getTokenAttr(e,u.FACE)))||m[t]},t.adjustTokenMathMLAttrs=function(e){for(var t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(var t=0;t<e.attrs.length;t++){var n=f[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(var t=0;t<e.attrs.length;t++){var n=d[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){var t=p[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==l.HTML||!function(e,t,n){if(t===l.MATHML&&e===s.ANNOTATION_XML)for(var r=0;r<n.length;r++)if(n[r].name===u.ENCODING){var i=n[r].value.toLowerCase();return i===c||i===h}return t===l.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}(e,t,n))||!(r&&r!==l.MATHML||!function(e,t){return t===l.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}(e,t))}},3352:function(e,t,n){"use strict";var r,i,o,a,s=n(3231).default,l=t.NAMESPACES={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/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var u=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS=(s(a={},l.HTML,(s(r={},u.ADDRESS,!0),s(r,u.APPLET,!0),s(r,u.AREA,!0),s(r,u.ARTICLE,!0),s(r,u.ASIDE,!0),s(r,u.BASE,!0),s(r,u.BASEFONT,!0),s(r,u.BGSOUND,!0),s(r,u.BLOCKQUOTE,!0),s(r,u.BODY,!0),s(r,u.BR,!0),s(r,u.BUTTON,!0),s(r,u.CAPTION,!0),s(r,u.CENTER,!0),s(r,u.COL,!0),s(r,u.COLGROUP,!0),s(r,u.DD,!0),s(r,u.DETAILS,!0),s(r,u.DIR,!0),s(r,u.DIV,!0),s(r,u.DL,!0),s(r,u.DT,!0),s(r,u.EMBED,!0),s(r,u.FIELDSET,!0),s(r,u.FIGCAPTION,!0),s(r,u.FIGURE,!0),s(r,u.FOOTER,!0),s(r,u.FORM,!0),s(r,u.FRAME,!0),s(r,u.FRAMESET,!0),s(r,u.H1,!0),s(r,u.H2,!0),s(r,u.H3,!0),s(r,u.H4,!0),s(r,u.H5,!0),s(r,u.H6,!0),s(r,u.HEAD,!0),s(r,u.HEADER,!0),s(r,u.HGROUP,!0),s(r,u.HR,!0),s(r,u.HTML,!0),s(r,u.IFRAME,!0),s(r,u.IMG,!0),s(r,u.INPUT,!0),s(r,u.LI,!0),s(r,u.LINK,!0),s(r,u.LISTING,!0),s(r,u.MAIN,!0),s(r,u.MARQUEE,!0),s(r,u.MENU,!0),s(r,u.META,!0),s(r,u.NAV,!0),s(r,u.NOEMBED,!0),s(r,u.NOFRAMES,!0),s(r,u.NOSCRIPT,!0),s(r,u.OBJECT,!0),s(r,u.OL,!0),s(r,u.P,!0),s(r,u.PARAM,!0),s(r,u.PLAINTEXT,!0),s(r,u.PRE,!0),s(r,u.SCRIPT,!0),s(r,u.SECTION,!0),s(r,u.SELECT,!0),s(r,u.SOURCE,!0),s(r,u.STYLE,!0),s(r,u.SUMMARY,!0),s(r,u.TABLE,!0),s(r,u.TBODY,!0),s(r,u.TD,!0),s(r,u.TEMPLATE,!0),s(r,u.TEXTAREA,!0),s(r,u.TFOOT,!0),s(r,u.TH,!0),s(r,u.THEAD,!0),s(r,u.TITLE,!0),s(r,u.TR,!0),s(r,u.TRACK,!0),s(r,u.UL,!0),s(r,u.WBR,!0),s(r,u.XMP,!0),r)),s(a,l.MATHML,(s(i={},u.MI,!0),s(i,u.MO,!0),s(i,u.MN,!0),s(i,u.MS,!0),s(i,u.MTEXT,!0),s(i,u.ANNOTATION_XML,!0),i)),s(a,l.SVG,(s(o={},u.TITLE,!0),s(o,u.FOREIGN_OBJECT,!0),s(o,u.DESC,!0),o)),a)},3535:function(e,t){"use strict";var n=[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];t.REPLACEMENT_CHARACTER="\ufffd",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},1251:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e)).posTracker=null,o.onParseError=i.onParseError,o}return i(n,[{key:"_setErrorLocation",value:function(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}},{key:"_reportError",value:function(e){var t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}},{key:"_getOverriddenMethods",value:function(e){return{_err:function(t){e._reportError(t)}}}}]),n}(n(1384));e.exports=s},1474:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(1251),l=n(7188),u=n(7978),c=n(1384),h=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e,i)).opts=i,o.ctLoc=null,o.locBeforeToken=!1,o}return i(n,[{key:"_setErrorLocation",value:function(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}},{key:"_getOverriddenMethods",value:function(e,t){return{_bootstrap:function(n,r){t._bootstrap.call(this,n,r),c.install(this.tokenizer,l,e.opts),c.install(this.tokenizer,u)},_processInputToken:function(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err:function(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}]),n}(s);e.exports=h},8578:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(1121).default,a=n(4910).default,s=n(8724).default,l=n(670).default,u=n(1251),c=n(9571),h=n(1384),f=function(e){s(n,e);var t=l(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e,i)).posTracker=h.install(e,c),o.lastErrOffset=-1,o}return i(n,[{key:"_reportError",value:function(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,o(a(n.prototype),"_reportError",this).call(this,e))}}]),n}(u);e.exports=f},7188:function(e,t,n){"use strict";var r=n(2081).default,i=n(8983).default,o=n(8724).default,a=n(670).default,s=n(1251),l=n(8578),u=n(1384),c=function(e){o(n,e);var t=a(n);function n(e,r){var o;i(this,n),o=t.call(this,e,r);var a=u.install(e.preprocessor,l,r);return o.posTracker=a.posTracker,o}return r(n)}(s);e.exports=c},2633:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e)).onItemPop=i.onItemPop,o}return i(n,[{key:"_getOverriddenMethods",value:function(e,t){return{pop:function(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement:function(){for(var n=this.stackTop;n>0;n--)e.onItemPop(this.items[n]);t.popAllUpToHtmlElement.call(this)},remove:function(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}]),n}(n(1384));e.exports=s},2965:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(1384),l=n(951),u=n(7978),c=n(2633),h=n(3352).TAG_NAMES,f=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).parser=e,i.treeAdapter=i.parser.treeAdapter,i.posTracker=null,i.lastStartTagToken=null,i.lastFosterParentingLocation=null,i.currentToken=null,i}return i(n,[{key:"_setStartLocation",value:function(e){var t=null;this.lastStartTagToken&&((t=Object.assign({},this.lastStartTagToken.location)).startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}},{key:"_setEndLocation",value:function(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){var n=t.location,r=this.treeAdapter.getTagName(e),i={};t.type===l.END_TAG_TOKEN&&r===t.tagName?(i.endTag=Object.assign({},n),i.endLine=n.endLine,i.endCol=n.endCol,i.endOffset=n.endOffset):(i.endLine=n.startLine,i.endCol=n.startCol,i.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}},{key:"_getOverriddenMethods",value:function(e,t){return{_bootstrap:function(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;var i=s.install(this.tokenizer,u);e.posTracker=i.posTracker,s.install(this.openElements,c,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop:function(n){t._runParsingLoop.call(this,n);for(var r=this.openElements.stackTop;r>=0;r--)e._setEndLocation(this.openElements.items[r],e.currentToken)},_processTokenInForeignContent:function(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken:function(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===l.END_TAG_TOKEN&&(n.tagName===h.HTML||n.tagName===h.BODY&&this.openElements.hasInScope(h.BODY)))for(var r=this.openElements.stackTop;r>=0;r--){var i=this.openElements.items[r];if(this.treeAdapter.getTagName(i)===n.tagName){e._setEndLocation(i,n);break}}},_setDocumentType:function(e){t._setDocumentType.call(this,e);for(var n=this.treeAdapter.getChildNodes(this.document),r=n.length,i=0;i<r;i++){var o=n[i];if(this.treeAdapter.isDocumentTypeNode(o)){this.treeAdapter.setNodeSourceCodeLocation(o,e.location);break}}},_attachElementToTree:function(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement:function(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement:function(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate:function(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);var r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement:function(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode:function(e,n){t._appendCommentNode.call(this,e,n);var r=this.treeAdapter.getChildNodes(n),i=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(i,e.location)},_findFosterParentingLocation:function(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters:function(n){t._insertCharacters.call(this,n);var r=this._shouldFosterParentOnInsertion(),i=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,o=this.treeAdapter.getChildNodes(i),a=r&&e.lastFosterParentingLocation.beforeElement?o.indexOf(e.lastFosterParentingLocation.beforeElement)-1:o.length-1,s=o[a];if(this.treeAdapter.getNodeSourceCodeLocation(s)){var l=n.location,u=l.endLine,c=l.endCol,h=l.endOffset;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:c,endOffset:h})}else this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}]),n}(s);e.exports=f},7978:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(1384),l=n(951),u=n(9571),c=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).tokenizer=e,i.posTracker=s.install(e.preprocessor,u),i.currentAttrLocation=null,i.ctLoc=null,i}return i(n,[{key:"_getCurrentLocation",value:function(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}},{key:"_attachCurrentAttrLocationInfo",value:function(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;var e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}},{key:"_getOverriddenMethods",value:function(e,t){var n={_createStartTagToken:function(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken:function(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken:function(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken:function(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken:function(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken:function(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr:function(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName:function(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue:function(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken:function(){var n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===l.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken:function(){var n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(l.MODE).forEach((function(r){var i=l.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}})),n}}]),n}(s);e.exports=c},9571:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).preprocessor=e,i.isEol=!1,i.lineStartPos=0,i.droppedBufferSize=0,i.offset=0,i.col=0,i.line=1,i}return i(n,[{key:"_getOverriddenMethods",value:function(e,t){return{advance:function(){var n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat:function(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk:function(){var n=this.pos;t.dropParsedChunk.call(this);var r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}]),n}(n(1384));e.exports=s},7294:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=function(){function e(t){r(this,e),this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}return i(e,[{key:"_getNoahArkConditionCandidates",value:function(t){var n=[];if(this.length>=3)for(var r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t),a=this.length-1;a>=0;a--){var s=this.entries[a];if(s.type===e.MARKER_ENTRY)break;var l=s.element,u=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===o&&u.length===r&&n.push({idx:a,attrs:u})}return n.length<3?[]:n}},{key:"_ensureNoahArkCondition",value:function(e){var t=this._getNoahArkConditionCandidates(e),n=t.length;if(n){for(var r=this.treeAdapter.getAttrList(e),i=r.length,o=Object.create(null),a=0;a<i;a++){var s=r[a];o[s.name]=s.value}for(var l=0;l<i;l++)for(var u=0;u<n;u++){var c=t[u].attrs[l];if(o[c.name]!==c.value&&(t.splice(u,1),n--),t.length<3)return}for(var h=n-1;h>=2;h--)this.entries.splice(t[h].idx,1),this.length--}}},{key:"insertMarker",value:function(){this.entries.push({type:e.MARKER_ENTRY}),this.length++}},{key:"pushElement",value:function(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}},{key:"insertElementAfterBookmark",value:function(t,n){for(var r=this.length-1;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}},{key:"removeEntry",value:function(e){for(var t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}},{key:"clearToLastMarker",value:function(){for(;this.length;){var t=this.entries.pop();if(this.length--,t.type===e.MARKER_ENTRY)break}}},{key:"getElementEntryInScopeWithTagName",value:function(t){for(var n=this.length-1;n>=0;n--){var r=this.entries[n];if(r.type===e.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}},{key:"getElementEntry",value:function(t){for(var n=this.length-1;n>=0;n--){var r=this.entries[n];if(r.type===e.ELEMENT_ENTRY&&r.element===t)return r}return null}}]),e}();o.MARKER_ENTRY="MARKER_ENTRY",o.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=o},1775:function(e,t,n){"use strict";var r,i,o,a,s,l,u,c,h,f,d,p,m,g,v,O,y,b,k,S,x,w,T,C,E,A,P=n(8983).default,_=n(2081).default,D=n(3231).default,Z=n(951),N=n(6750),Q=n(7294),R=n(2965),M=n(1474),$=n(1384),I=n(55),L=n(5204),F=n(962),B=n(9205),j=n(4074),z=n(3535),U=n(3352),Y=U.TAG_NAMES,X=U.NAMESPACES,H=U.ATTRS,W={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:I},q="hidden",G=8,V=3,J="INITIAL_MODE",K="BEFORE_HTML_MODE",ee="BEFORE_HEAD_MODE",te="IN_HEAD_MODE",ne="IN_HEAD_NO_SCRIPT_MODE",re="AFTER_HEAD_MODE",ie="IN_BODY_MODE",oe="TEXT_MODE",ae="IN_TABLE_MODE",se="IN_TABLE_TEXT_MODE",le="IN_CAPTION_MODE",ue="IN_COLUMN_GROUP_MODE",ce="IN_TABLE_BODY_MODE",he="IN_ROW_MODE",fe="IN_CELL_MODE",de="IN_SELECT_MODE",pe="IN_SELECT_IN_TABLE_MODE",me="IN_TEMPLATE_MODE",ge="AFTER_BODY_MODE",ve="IN_FRAMESET_MODE",Oe="AFTER_FRAMESET_MODE",ye="AFTER_AFTER_BODY_MODE",be="AFTER_AFTER_FRAMESET_MODE",ke=(D(r={},Y.TR,he),D(r,Y.TBODY,ce),D(r,Y.THEAD,ce),D(r,Y.TFOOT,ce),D(r,Y.CAPTION,le),D(r,Y.COLGROUP,ue),D(r,Y.TABLE,ae),D(r,Y.BODY,ie),D(r,Y.FRAMESET,ve),r),Se=(D(i={},Y.CAPTION,ae),D(i,Y.COLGROUP,ae),D(i,Y.TBODY,ae),D(i,Y.TFOOT,ae),D(i,Y.THEAD,ae),D(i,Y.COL,ue),D(i,Y.TR,ce),D(i,Y.TD,he),D(i,Y.TH,he),i),xe=(D(A={},J,(D(o={},Z.CHARACTER_TOKEN,Ie),D(o,Z.NULL_CHARACTER_TOKEN,Ie),D(o,Z.WHITESPACE_CHARACTER_TOKEN,Ze),D(o,Z.COMMENT_TOKEN,Qe),D(o,Z.DOCTYPE_TOKEN,(function(e,t){e._setDocumentType(t);var n=t.forceQuirks?U.DOCUMENT_MODE.QUIRKS:F.getDocumentMode(t);F.isConforming(t)||e._err(j.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=K})),D(o,Z.START_TAG_TOKEN,Ie),D(o,Z.END_TAG_TOKEN,Ie),D(o,Z.EOF_TOKEN,Ie),o)),D(A,K,(D(a={},Z.CHARACTER_TOKEN,Le),D(a,Z.NULL_CHARACTER_TOKEN,Le),D(a,Z.WHITESPACE_CHARACTER_TOKEN,Ze),D(a,Z.COMMENT_TOKEN,Qe),D(a,Z.DOCTYPE_TOKEN,Ze),D(a,Z.START_TAG_TOKEN,(function(e,t){t.tagName===Y.HTML?(e._insertElement(t,X.HTML),e.insertionMode=ee):Le(e,t)})),D(a,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n!==Y.HTML&&n!==Y.HEAD&&n!==Y.BODY&&n!==Y.BR||Le(e,t)})),D(a,Z.EOF_TOKEN,Le),a)),D(A,ee,(D(s={},Z.CHARACTER_TOKEN,Fe),D(s,Z.NULL_CHARACTER_TOKEN,Fe),D(s,Z.WHITESPACE_CHARACTER_TOKEN,Ze),D(s,Z.COMMENT_TOKEN,Qe),D(s,Z.DOCTYPE_TOKEN,Ne),D(s,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.HEAD?(e._insertElement(t,X.HTML),e.headElement=e.openElements.current,e.insertionMode=te):Fe(e,t)})),D(s,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HEAD||n===Y.BODY||n===Y.HTML||n===Y.BR?Fe(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),D(s,Z.EOF_TOKEN,Fe),s)),D(A,te,(D(l={},Z.CHARACTER_TOKEN,ze),D(l,Z.NULL_CHARACTER_TOKEN,ze),D(l,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(l,Z.COMMENT_TOKEN,Qe),D(l,Z.DOCTYPE_TOKEN,Ne),D(l,Z.START_TAG_TOKEN,Be),D(l,Z.END_TAG_TOKEN,je),D(l,Z.EOF_TOKEN,ze),l)),D(A,ne,(D(u={},Z.CHARACTER_TOKEN,Ue),D(u,Z.NULL_CHARACTER_TOKEN,Ue),D(u,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(u,Z.COMMENT_TOKEN,Qe),D(u,Z.DOCTYPE_TOKEN,Ne),D(u,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.BASEFONT||n===Y.BGSOUND||n===Y.HEAD||n===Y.LINK||n===Y.META||n===Y.NOFRAMES||n===Y.STYLE?Be(e,t):n===Y.NOSCRIPT?e._err(j.nestedNoscriptInHead):Ue(e,t)})),D(u,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.NOSCRIPT?(e.openElements.pop(),e.insertionMode=te):n===Y.BR?Ue(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),D(u,Z.EOF_TOKEN,Ue),u)),D(A,re,(D(c={},Z.CHARACTER_TOKEN,Ye),D(c,Z.NULL_CHARACTER_TOKEN,Ye),D(c,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(c,Z.COMMENT_TOKEN,Qe),D(c,Z.DOCTYPE_TOKEN,Ne),D(c,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.BODY?(e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=ie):n===Y.FRAMESET?(e._insertElement(t,X.HTML),e.insertionMode=ve):n===Y.BASE||n===Y.BASEFONT||n===Y.BGSOUND||n===Y.LINK||n===Y.META||n===Y.NOFRAMES||n===Y.SCRIPT||n===Y.STYLE||n===Y.TEMPLATE||n===Y.TITLE?(e._err(j.abandonedHeadElementChild),e.openElements.push(e.headElement),Be(e,t),e.openElements.remove(e.headElement)):n===Y.HEAD?e._err(j.misplacedStartTagForHeadElement):Ye(e,t)})),D(c,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.BODY||n===Y.HTML||n===Y.BR?Ye(e,t):n===Y.TEMPLATE?je(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),D(c,Z.EOF_TOKEN,Ye),c)),D(A,ie,(D(h={},Z.CHARACTER_TOKEN,He),D(h,Z.NULL_CHARACTER_TOKEN,Ze),D(h,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(h,Z.COMMENT_TOKEN,Qe),D(h,Z.DOCTYPE_TOKEN,Ze),D(h,Z.START_TAG_TOKEN,it),D(h,Z.END_TAG_TOKEN,lt),D(h,Z.EOF_TOKEN,ut),h)),D(A,oe,(D(f={},Z.CHARACTER_TOKEN,Me),D(f,Z.NULL_CHARACTER_TOKEN,Me),D(f,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(f,Z.COMMENT_TOKEN,Ze),D(f,Z.DOCTYPE_TOKEN,Ze),D(f,Z.START_TAG_TOKEN,Ze),D(f,Z.END_TAG_TOKEN,(function(e,t){t.tagName===Y.SCRIPT&&(e.pendingScript=e.openElements.current);e.openElements.pop(),e.insertionMode=e.originalInsertionMode})),D(f,Z.EOF_TOKEN,(function(e,t){e._err(j.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)})),f)),D(A,ae,(D(d={},Z.CHARACTER_TOKEN,ct),D(d,Z.NULL_CHARACTER_TOKEN,ct),D(d,Z.WHITESPACE_CHARACTER_TOKEN,ct),D(d,Z.COMMENT_TOKEN,Qe),D(d,Z.DOCTYPE_TOKEN,Ze),D(d,Z.START_TAG_TOKEN,ht),D(d,Z.END_TAG_TOKEN,ft),D(d,Z.EOF_TOKEN,ut),d)),D(A,se,(D(p={},Z.CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0})),D(p,Z.NULL_CHARACTER_TOKEN,Ze),D(p,Z.WHITESPACE_CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t)})),D(p,Z.COMMENT_TOKEN,pt),D(p,Z.DOCTYPE_TOKEN,pt),D(p,Z.START_TAG_TOKEN,pt),D(p,Z.END_TAG_TOKEN,pt),D(p,Z.EOF_TOKEN,pt),p)),D(A,le,(D(m={},Z.CHARACTER_TOKEN,He),D(m,Z.NULL_CHARACTER_TOKEN,Ze),D(m,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(m,Z.COMMENT_TOKEN,Qe),D(m,Z.DOCTYPE_TOKEN,Ze),D(m,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.CAPTION||n===Y.COL||n===Y.COLGROUP||n===Y.TBODY||n===Y.TD||n===Y.TFOOT||n===Y.TH||n===Y.THEAD||n===Y.TR?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ae,e._processToken(t)):it(e,t)})),D(m,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.CAPTION||n===Y.TABLE?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ae,n===Y.TABLE&&e._processToken(t)):n!==Y.BODY&&n!==Y.COL&&n!==Y.COLGROUP&&n!==Y.HTML&&n!==Y.TBODY&&n!==Y.TD&&n!==Y.TFOOT&&n!==Y.TH&&n!==Y.THEAD&&n!==Y.TR&<(e,t)})),D(m,Z.EOF_TOKEN,ut),m)),D(A,ue,(D(g={},Z.CHARACTER_TOKEN,mt),D(g,Z.NULL_CHARACTER_TOKEN,mt),D(g,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(g,Z.COMMENT_TOKEN,Qe),D(g,Z.DOCTYPE_TOKEN,Ze),D(g,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.COL?(e._appendElement(t,X.HTML),t.ackSelfClosing=!0):n===Y.TEMPLATE?Be(e,t):mt(e,t)})),D(g,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.COLGROUP?e.openElements.currentTagName===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=ae):n===Y.TEMPLATE?je(e,t):n!==Y.COL&&mt(e,t)})),D(g,Z.EOF_TOKEN,ut),g)),D(A,ce,(D(v={},Z.CHARACTER_TOKEN,ct),D(v,Z.NULL_CHARACTER_TOKEN,ct),D(v,Z.WHITESPACE_CHARACTER_TOKEN,ct),D(v,Z.COMMENT_TOKEN,Qe),D(v,Z.DOCTYPE_TOKEN,Ze),D(v,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,X.HTML),e.insertionMode=he):n===Y.TH||n===Y.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(Y.TR),e.insertionMode=he,e._processToken(t)):n===Y.CAPTION||n===Y.COL||n===Y.COLGROUP||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae,e._processToken(t)):ht(e,t)})),D(v,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae):n===Y.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae,e._processToken(t)):(n!==Y.BODY&&n!==Y.CAPTION&&n!==Y.COL&&n!==Y.COLGROUP||n!==Y.HTML&&n!==Y.TD&&n!==Y.TH&&n!==Y.TR)&&ft(e,t)})),D(v,Z.EOF_TOKEN,ut),v)),D(A,he,(D(O={},Z.CHARACTER_TOKEN,ct),D(O,Z.NULL_CHARACTER_TOKEN,ct),D(O,Z.WHITESPACE_CHARACTER_TOKEN,ct),D(O,Z.COMMENT_TOKEN,Qe),D(O,Z.DOCTYPE_TOKEN,Ze),D(O,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.TH||n===Y.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,X.HTML),e.insertionMode=fe,e.activeFormattingElements.insertMarker()):n===Y.CAPTION||n===Y.COL||n===Y.COLGROUP||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR?e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):ht(e,t)})),D(O,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.TR?e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce):n===Y.TABLE?e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(Y.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):(n!==Y.BODY&&n!==Y.CAPTION&&n!==Y.COL&&n!==Y.COLGROUP||n!==Y.HTML&&n!==Y.TD&&n!==Y.TH)&&ft(e,t)})),D(O,Z.EOF_TOKEN,ut),O)),D(A,fe,(D(y={},Z.CHARACTER_TOKEN,He),D(y,Z.NULL_CHARACTER_TOKEN,Ze),D(y,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(y,Z.COMMENT_TOKEN,Qe),D(y,Z.DOCTYPE_TOKEN,Ze),D(y,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.CAPTION||n===Y.COL||n===Y.COLGROUP||n===Y.TBODY||n===Y.TD||n===Y.TFOOT||n===Y.TH||n===Y.THEAD||n===Y.TR?(e.openElements.hasInTableScope(Y.TD)||e.openElements.hasInTableScope(Y.TH))&&(e._closeTableCell(),e._processToken(t)):it(e,t)})),D(y,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.TD||n===Y.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=he):n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==Y.BODY&&n!==Y.CAPTION&&n!==Y.COL&&n!==Y.COLGROUP&&n!==Y.HTML&<(e,t)})),D(y,Z.EOF_TOKEN,ut),y)),D(A,de,(D(b={},Z.CHARACTER_TOKEN,Me),D(b,Z.NULL_CHARACTER_TOKEN,Ze),D(b,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(b,Z.COMMENT_TOKEN,Qe),D(b,Z.DOCTYPE_TOKEN,Ze),D(b,Z.START_TAG_TOKEN,gt),D(b,Z.END_TAG_TOKEN,vt),D(b,Z.EOF_TOKEN,ut),b)),D(A,pe,(D(k={},Z.CHARACTER_TOKEN,Me),D(k,Z.NULL_CHARACTER_TOKEN,Ze),D(k,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(k,Z.COMMENT_TOKEN,Qe),D(k,Z.DOCTYPE_TOKEN,Ze),D(k,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e._processToken(t)):gt(e,t)})),D(k,Z.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e._processToken(t)):vt(e,t)})),D(k,Z.EOF_TOKEN,ut),k)),D(A,me,(D(S={},Z.CHARACTER_TOKEN,He),D(S,Z.NULL_CHARACTER_TOKEN,Ze),D(S,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(S,Z.COMMENT_TOKEN,Qe),D(S,Z.DOCTYPE_TOKEN,Ze),D(S,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;if(n===Y.BASE||n===Y.BASEFONT||n===Y.BGSOUND||n===Y.LINK||n===Y.META||n===Y.NOFRAMES||n===Y.SCRIPT||n===Y.STYLE||n===Y.TEMPLATE||n===Y.TITLE)Be(e,t);else{var r=Se[n]||ie;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}})),D(S,Z.END_TAG_TOKEN,(function(e,t){t.tagName===Y.TEMPLATE&&je(e,t)})),D(S,Z.EOF_TOKEN,Ot),S)),D(A,ge,(D(x={},Z.CHARACTER_TOKEN,yt),D(x,Z.NULL_CHARACTER_TOKEN,yt),D(x,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(x,Z.COMMENT_TOKEN,(function(e,t){e._appendCommentNode(t,e.openElements.items[0])})),D(x,Z.DOCTYPE_TOKEN,Ze),D(x,Z.START_TAG_TOKEN,(function(e,t){t.tagName===Y.HTML?it(e,t):yt(e,t)})),D(x,Z.END_TAG_TOKEN,(function(e,t){t.tagName===Y.HTML?e.fragmentContext||(e.insertionMode=ye):yt(e,t)})),D(x,Z.EOF_TOKEN,$e),x)),D(A,ve,(D(w={},Z.CHARACTER_TOKEN,Ze),D(w,Z.NULL_CHARACTER_TOKEN,Ze),D(w,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(w,Z.COMMENT_TOKEN,Qe),D(w,Z.DOCTYPE_TOKEN,Ze),D(w,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.FRAMESET?e._insertElement(t,X.HTML):n===Y.FRAME?(e._appendElement(t,X.HTML),t.ackSelfClosing=!0):n===Y.NOFRAMES&&Be(e,t)})),D(w,Z.END_TAG_TOKEN,(function(e,t){t.tagName!==Y.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===Y.FRAMESET||(e.insertionMode=Oe))})),D(w,Z.EOF_TOKEN,$e),w)),D(A,Oe,(D(T={},Z.CHARACTER_TOKEN,Ze),D(T,Z.NULL_CHARACTER_TOKEN,Ze),D(T,Z.WHITESPACE_CHARACTER_TOKEN,Me),D(T,Z.COMMENT_TOKEN,Qe),D(T,Z.DOCTYPE_TOKEN,Ze),D(T,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.NOFRAMES&&Be(e,t)})),D(T,Z.END_TAG_TOKEN,(function(e,t){t.tagName===Y.HTML&&(e.insertionMode=be)})),D(T,Z.EOF_TOKEN,$e),T)),D(A,ye,(D(C={},Z.CHARACTER_TOKEN,bt),D(C,Z.NULL_CHARACTER_TOKEN,bt),D(C,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(C,Z.COMMENT_TOKEN,Re),D(C,Z.DOCTYPE_TOKEN,Ze),D(C,Z.START_TAG_TOKEN,(function(e,t){t.tagName===Y.HTML?it(e,t):bt(e,t)})),D(C,Z.END_TAG_TOKEN,bt),D(C,Z.EOF_TOKEN,$e),C)),D(A,be,(D(E={},Z.CHARACTER_TOKEN,Ze),D(E,Z.NULL_CHARACTER_TOKEN,Ze),D(E,Z.WHITESPACE_CHARACTER_TOKEN,Xe),D(E,Z.COMMENT_TOKEN,Re),D(E,Z.DOCTYPE_TOKEN,Ze),D(E,Z.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.NOFRAMES&&Be(e,t)})),D(E,Z.END_TAG_TOKEN,Ze),D(E,Z.EOF_TOKEN,$e),E)),A),we=function(){function e(t){P(this,e),this.options=L(W,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&$.install(this,R),this.options.onParseError&&$.install(this,M,{onParseError:this.options.onParseError})}return _(e,[{key:"parse",value:function(e){var t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}},{key:"parseFragment",value:function(e,t){t||(t=this.treeAdapter.createElement(Y.TEMPLATE,X.HTML,[]));var n=this.treeAdapter.createElement("documentmock",X.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===Y.TEMPLATE&&this._pushTmplInsertionMode(me),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);var r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}},{key:"_bootstrap",value:function(e,t){this.tokenizer=new Z(this.options),this.stopped=!1,this.insertionMode=J,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new N(this.document,this.treeAdapter),this.activeFormattingElements=new Q(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}},{key:"_err",value:function(){}},{key:"_runParsingLoop",value:function(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();var t=this.tokenizer.getNextToken();if(t.type===Z.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===Z.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}},{key:"runParsingLoopForCurrentChunk",value:function(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){var n=this.pendingScript;return this.pendingScript=null,void t(n)}e&&e()}},{key:"_setupTokenizerCDATAMode",value:function(){var e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==X.HTML&&!this._isIntegrationPoint(e)}},{key:"_switchToTextParsing",value:function(e,t){this._insertElement(e,X.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=oe}},{key:"switchToPlaintextParsing",value:function(){this.insertionMode=oe,this.originalInsertionMode=ie,this.tokenizer.state=Z.MODE.PLAINTEXT}},{key:"_getAdjustedCurrentElement",value:function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}},{key:"_findFormInFragmentContext",value:function(){var e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===Y.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}},{key:"_initTokenizerForFragmentParsing",value:function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===X.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===Y.TITLE||e===Y.TEXTAREA?this.tokenizer.state=Z.MODE.RCDATA:e===Y.STYLE||e===Y.XMP||e===Y.IFRAME||e===Y.NOEMBED||e===Y.NOFRAMES||e===Y.NOSCRIPT?this.tokenizer.state=Z.MODE.RAWTEXT:e===Y.SCRIPT?this.tokenizer.state=Z.MODE.SCRIPT_DATA:e===Y.PLAINTEXT&&(this.tokenizer.state=Z.MODE.PLAINTEXT)}}},{key:"_setDocumentType",value:function(e){var t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}},{key:"_attachElementToTree",value:function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}},{key:"_appendElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}},{key:"_insertElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}},{key:"_insertFakeElement",value:function(e){var t=this.treeAdapter.createElement(e,X.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}},{key:"_insertTemplate",value:function(e){var t=this.treeAdapter.createElement(e.tagName,X.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}},{key:"_insertFakeRootElement",value:function(){var e=this.treeAdapter.createElement(Y.HTML,X.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}},{key:"_appendCommentNode",value:function(e,t){var n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}},{key:"_insertCharacters",value:function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}},{key:"_adoptNodes",value:function(e,t){for(var n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}},{key:"_shouldProcessTokenInForeignContent",value:function(e){var t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;var n=this.treeAdapter.getNamespaceURI(t);if(n===X.HTML)return!1;if(this.treeAdapter.getTagName(t)===Y.ANNOTATION_XML&&n===X.MATHML&&e.type===Z.START_TAG_TOKEN&&e.tagName===Y.SVG)return!1;var r=e.type===Z.CHARACTER_TOKEN||e.type===Z.NULL_CHARACTER_TOKEN||e.type===Z.WHITESPACE_CHARACTER_TOKEN;return(!(e.type===Z.START_TAG_TOKEN&&e.tagName!==Y.MGLYPH&&e.tagName!==Y.MALIGNMARK)&&!r||!this._isIntegrationPoint(t,X.MATHML))&&((e.type!==Z.START_TAG_TOKEN&&!r||!this._isIntegrationPoint(t,X.HTML))&&e.type!==Z.EOF_TOKEN)}},{key:"_processToken",value:function(e){xe[this.insertionMode][e.type](this,e)}},{key:"_processTokenInBodyMode",value:function(e){xe[ie][e.type](this,e)}},{key:"_processTokenInForeignContent",value:function(e){e.type===Z.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===Z.NULL_CHARACTER_TOKEN?function(e,t){t.chars=z.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===Z.WHITESPACE_CHARACTER_TOKEN?Me(this,e):e.type===Z.COMMENT_TOKEN?Qe(this,e):e.type===Z.START_TAG_TOKEN?function(e,t){if(B.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==X.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{var n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===X.MATHML?B.adjustTokenMathMLAttrs(t):r===X.SVG&&(B.adjustTokenSVGTagName(t),B.adjustTokenSVGAttrs(t)),B.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===Z.END_TAG_TOKEN&&function(e,t){for(var n=e.openElements.stackTop;n>0;n--){var r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===X.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}},{key:"_processInputToken",value:function(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===Z.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(j.nonVoidHtmlElementStartTagWithTrailingSolidus)}},{key:"_isIntegrationPoint",value:function(e,t){var n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return B.isIntegrationPoint(n,r,i,t)}},{key:"_reconstructActiveFormattingElements",value:function(){var e=this.activeFormattingElements.length;if(e){var t=e,n=null;do{if(t--,(n=this.activeFormattingElements.entries[t]).type===Q.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(var r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}},{key:"_closeTableCell",value:function(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=he}},{key:"_closePElement",value:function(){this.openElements.generateImpliedEndTagsWithExclusion(Y.P),this.openElements.popUntilTagNamePopped(Y.P)}},{key:"_resetInsertionMode",value:function(){for(var e=this.openElements.stackTop,t=!1;e>=0;e--){var n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));var r=this.treeAdapter.getTagName(n),i=ke[r];if(i){this.insertionMode=i;break}if(!(t||r!==Y.TD&&r!==Y.TH)){this.insertionMode=fe;break}if(!t&&r===Y.HEAD){this.insertionMode=te;break}if(r===Y.SELECT){this._resetInsertionModeForSelect(e);break}if(r===Y.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===Y.HTML){this.insertionMode=this.headElement?re:ee;break}if(t){this.insertionMode=ie;break}}}},{key:"_resetInsertionModeForSelect",value:function(e){if(e>0)for(var t=e-1;t>0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n);if(r===Y.TEMPLATE)break;if(r===Y.TABLE)return void(this.insertionMode=pe)}this.insertionMode=de}},{key:"_pushTmplInsertionMode",value:function(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}},{key:"_popTmplInsertionMode",value:function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}},{key:"_isElementCausesFosterParenting",value:function(e){var t=this.treeAdapter.getTagName(e);return t===Y.TABLE||t===Y.TBODY||t===Y.TFOOT||t===Y.THEAD||t===Y.TR}},{key:"_shouldFosterParentOnInsertion",value:function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}},{key:"_findFosterParentingLocation",value:function(){for(var e={parent:null,beforeElement:null},t=this.openElements.stackTop;t>=0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===Y.TEMPLATE&&i===X.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===Y.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}},{key:"_fosterParentElement",value:function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}},{key:"_fosterParentText",value:function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}},{key:"_isSpecialElement",value:function(e){var t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return U.SPECIAL_ELEMENTS[n][t]}}]),e}();function Te(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):st(e,t),n}function Ce(e,t){for(var n=null,r=e.openElements.stackTop;r>=0;r--){var i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Ee(e,t,n){for(var r=t,i=e.openElements.getCommonAncestor(t),o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);var s=e.activeFormattingElements.getElementEntry(a),l=s&&o>=V;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=Ae(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Ae(e,t){var n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Pe(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{var r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===Y.TEMPLATE&&i===X.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function _e(e,t,n){var r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function De(e,t){for(var n,r=0;r<G&&(n=Te(e,t));r++){var i=Ce(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;var o=Ee(e,i,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),Pe(e,a,o),_e(e,i,n)}}function Ze(){}function Ne(e){e._err(j.misplacedDoctype)}function Qe(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function Re(e,t){e._appendCommentNode(t,e.document)}function Me(e,t){e._insertCharacters(t)}function $e(e){e.stopped=!0}function Ie(e,t){e._err(j.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,U.DOCUMENT_MODE.QUIRKS),e.insertionMode=K,e._processToken(t)}function Le(e,t){e._insertFakeRootElement(),e.insertionMode=ee,e._processToken(t)}function Fe(e,t){e._insertFakeElement(Y.HEAD),e.headElement=e.openElements.current,e.insertionMode=te,e._processToken(t)}function Be(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.BASE||n===Y.BASEFONT||n===Y.BGSOUND||n===Y.LINK||n===Y.META?(e._appendElement(t,X.HTML),t.ackSelfClosing=!0):n===Y.TITLE?e._switchToTextParsing(t,Z.MODE.RCDATA):n===Y.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,Z.MODE.RAWTEXT):(e._insertElement(t,X.HTML),e.insertionMode=ne):n===Y.NOFRAMES||n===Y.STYLE?e._switchToTextParsing(t,Z.MODE.RAWTEXT):n===Y.SCRIPT?e._switchToTextParsing(t,Z.MODE.SCRIPT_DATA):n===Y.TEMPLATE?(e._insertTemplate(t,X.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=me,e._pushTmplInsertionMode(me)):n===Y.HEAD?e._err(j.misplacedStartTagForHeadElement):ze(e,t)}function je(e,t){var n=t.tagName;n===Y.HEAD?(e.openElements.pop(),e.insertionMode=re):n===Y.BODY||n===Y.BR||n===Y.HTML?ze(e,t):n===Y.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==Y.TEMPLATE&&e._err(j.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(j.endTagWithoutMatchingOpenElement)}function ze(e,t){e.openElements.pop(),e.insertionMode=re,e._processToken(t)}function Ue(e,t){var n=t.type===Z.EOF_TOKEN?j.openElementsLeftAfterEof:j.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=te,e._processToken(t)}function Ye(e,t){e._insertFakeElement(Y.BODY),e.insertionMode=ie,e._processToken(t)}function Xe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function He(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function We(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML)}function qe(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Ge(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ve(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Je(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ke(e,t){e._appendElement(t,X.HTML),t.ackSelfClosing=!0}function et(e,t){e._switchToTextParsing(t,Z.MODE.RAWTEXT)}function tt(e,t){e.openElements.currentTagName===Y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function nt(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,X.HTML)}function rt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML)}function it(e,t){var n=t.tagName;switch(n.length){case 1:n===Y.I||n===Y.S||n===Y.B||n===Y.U?Ge(e,t):n===Y.P?We(e,t):n===Y.A?function(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Y.A);n&&(De(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):rt(e,t);break;case 2:n===Y.DL||n===Y.OL||n===Y.UL?We(e,t):n===Y.H1||n===Y.H2||n===Y.H3||n===Y.H4||n===Y.H5||n===Y.H6?function(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement();var n=e.openElements.currentTagName;n!==Y.H1&&n!==Y.H2&&n!==Y.H3&&n!==Y.H4&&n!==Y.H5&&n!==Y.H6||e.openElements.pop(),e._insertElement(t,X.HTML)}(e,t):n===Y.LI||n===Y.DD||n===Y.DT?function(e,t){e.framesetOk=!1;for(var n=t.tagName,r=e.openElements.stackTop;r>=0;r--){var i=e.openElements.items[r],o=e.treeAdapter.getTagName(i),a=null;if(n===Y.LI&&o===Y.LI?a=Y.LI:n!==Y.DD&&n!==Y.DT||o!==Y.DD&&o!==Y.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==Y.ADDRESS&&o!==Y.DIV&&o!==Y.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML)}(e,t):n===Y.EM||n===Y.TT?Ge(e,t):n===Y.BR?Je(e,t):n===Y.HR?function(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._appendElement(t,X.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===Y.RB?nt(e,t):n===Y.RT||n===Y.RP?function(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Y.RTC),e._insertElement(t,X.HTML)}(e,t):n!==Y.TH&&n!==Y.TD&&n!==Y.TR&&rt(e,t);break;case 3:n===Y.DIV||n===Y.DIR||n===Y.NAV?We(e,t):n===Y.PRE?qe(e,t):n===Y.BIG?Ge(e,t):n===Y.IMG||n===Y.WBR?Je(e,t):n===Y.XMP?function(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Z.MODE.RAWTEXT)}(e,t):n===Y.SVG?function(e,t){e._reconstructActiveFormattingElements(),B.adjustTokenSVGAttrs(t),B.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,X.SVG):e._insertElement(t,X.SVG),t.ackSelfClosing=!0}(e,t):n===Y.RTC?nt(e,t):n!==Y.COL&&rt(e,t);break;case 4:n===Y.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===Y.BASE||n===Y.LINK||n===Y.META?Be(e,t):n===Y.BODY?function(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===Y.MAIN||n===Y.MENU?We(e,t):n===Y.FORM?function(e,t){var n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===Y.CODE||n===Y.FONT?Ge(e,t):n===Y.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Y.NOBR)&&(De(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,X.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===Y.AREA?Je(e,t):n===Y.MATH?function(e,t){e._reconstructActiveFormattingElements(),B.adjustTokenMathMLAttrs(t),B.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,X.MATHML):e._insertElement(t,X.MATHML),t.ackSelfClosing=!0}(e,t):n===Y.MENU?function(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML)}(e,t):n!==Y.HEAD&&rt(e,t);break;case 5:n===Y.STYLE||n===Y.TITLE?Be(e,t):n===Y.ASIDE?We(e,t):n===Y.SMALL?Ge(e,t):n===Y.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==U.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode=ae}(e,t):n===Y.EMBED?Je(e,t):n===Y.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,X.HTML);var n=Z.getTokenAttr(t,H.TYPE);n&&n.toLowerCase()===q||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===Y.PARAM||n===Y.TRACK?Ke(e,t):n===Y.IMAGE?function(e,t){t.tagName=Y.IMG,Je(e,t)}(e,t):n!==Y.FRAME&&n!==Y.TBODY&&n!==Y.TFOOT&&n!==Y.THEAD&&rt(e,t);break;case 6:n===Y.SCRIPT?Be(e,t):n===Y.CENTER||n===Y.FIGURE||n===Y.FOOTER||n===Y.HEADER||n===Y.HGROUP||n===Y.DIALOG?We(e,t):n===Y.BUTTON?function(e,t){e.openElements.hasInScope(Y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1}(e,t):n===Y.STRIKE||n===Y.STRONG?Ge(e,t):n===Y.APPLET||n===Y.OBJECT?Ve(e,t):n===Y.KEYGEN?Je(e,t):n===Y.SOURCE?Ke(e,t):n===Y.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Z.MODE.RAWTEXT)}(e,t):n===Y.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,X.HTML),e.framesetOk=!1,e.insertionMode===ae||e.insertionMode===le||e.insertionMode===ce||e.insertionMode===he||e.insertionMode===fe?e.insertionMode=pe:e.insertionMode=de}(e,t):n===Y.OPTION?tt(e,t):rt(e,t);break;case 7:n===Y.BGSOUND?Be(e,t):n===Y.DETAILS||n===Y.ADDRESS||n===Y.ARTICLE||n===Y.SECTION||n===Y.SUMMARY?We(e,t):n===Y.LISTING?qe(e,t):n===Y.MARQUEE?Ve(e,t):n===Y.NOEMBED?et(e,t):n!==Y.CAPTION&&rt(e,t);break;case 8:n===Y.BASEFONT?Be(e,t):n===Y.FRAMESET?function(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,X.HTML),e.insertionMode=ve)}(e,t):n===Y.FIELDSET?We(e,t):n===Y.TEXTAREA?function(e,t){e._insertElement(t,X.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Z.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=oe}(e,t):n===Y.TEMPLATE?Be(e,t):n===Y.NOSCRIPT?e.options.scriptingEnabled?et(e,t):rt(e,t):n===Y.OPTGROUP?tt(e,t):n!==Y.COLGROUP&&rt(e,t);break;case 9:n===Y.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,X.HTML),e.tokenizer.state=Z.MODE.PLAINTEXT}(e,t):rt(e,t);break;case 10:n===Y.BLOCKQUOTE||n===Y.FIGCAPTION?We(e,t):rt(e,t);break;default:rt(e,t)}}function ot(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function at(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function st(e,t){for(var n=t.tagName,r=e.openElements.stackTop;r>0;r--){var i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function lt(e,t){var n=t.tagName;switch(n.length){case 1:n===Y.A||n===Y.B||n===Y.I||n===Y.S||n===Y.U?De(e,t):n===Y.P?function(e){e.openElements.hasInButtonScope(Y.P)||e._insertFakeElement(Y.P),e._closePElement()}(e):st(e,t);break;case 2:n===Y.DL||n===Y.UL||n===Y.OL?ot(e,t):n===Y.LI?function(e){e.openElements.hasInListItemScope(Y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Y.LI),e.openElements.popUntilTagNamePopped(Y.LI))}(e):n===Y.DD||n===Y.DT?function(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===Y.H1||n===Y.H2||n===Y.H3||n===Y.H4||n===Y.H5||n===Y.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===Y.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Y.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===Y.EM||n===Y.TT?De(e,t):st(e,t);break;case 3:n===Y.BIG?De(e,t):n===Y.DIR||n===Y.DIV||n===Y.NAV||n===Y.PRE?ot(e,t):st(e,t);break;case 4:n===Y.BODY?function(e){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=ge)}(e):n===Y.HTML?function(e,t){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=ge,e._processToken(t))}(e,t):n===Y.FORM?function(e){var t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Y.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Y.FORM):e.openElements.remove(n))}(e):n===Y.CODE||n===Y.FONT||n===Y.NOBR?De(e,t):n===Y.MAIN||n===Y.MENU?ot(e,t):st(e,t);break;case 5:n===Y.ASIDE?ot(e,t):n===Y.SMALL?De(e,t):st(e,t);break;case 6:n===Y.CENTER||n===Y.FIGURE||n===Y.FOOTER||n===Y.HEADER||n===Y.HGROUP||n===Y.DIALOG?ot(e,t):n===Y.APPLET||n===Y.OBJECT?at(e,t):n===Y.STRIKE||n===Y.STRONG?De(e,t):st(e,t);break;case 7:n===Y.ADDRESS||n===Y.ARTICLE||n===Y.DETAILS||n===Y.SECTION||n===Y.SUMMARY||n===Y.LISTING?ot(e,t):n===Y.MARQUEE?at(e,t):st(e,t);break;case 8:n===Y.FIELDSET?ot(e,t):n===Y.TEMPLATE?je(e,t):st(e,t);break;case 10:n===Y.BLOCKQUOTE||n===Y.FIGCAPTION?ot(e,t):st(e,t);break;default:st(e,t)}}function ut(e,t){e.tmplInsertionModeStackTop>-1?Ot(e,t):e.stopped=!0}function ct(e,t){var n=e.openElements.currentTagName;n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=se,e._processToken(t)):dt(e,t)}function ht(e,t){var n=t.tagName;switch(n.length){case 2:n===Y.TD||n===Y.TH||n===Y.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Y.TBODY),e.insertionMode=ce,e._processToken(t)}(e,t):dt(e,t);break;case 3:n===Y.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Y.COLGROUP),e.insertionMode=ue,e._processToken(t)}(e,t):dt(e,t);break;case 4:n===Y.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,X.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):dt(e,t);break;case 5:n===Y.TABLE?function(e,t){e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===Y.STYLE?Be(e,t):n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=ce}(e,t):n===Y.INPUT?function(e,t){var n=Z.getTokenAttr(t,H.TYPE);n&&n.toLowerCase()===q?e._appendElement(t,X.HTML):dt(e,t),t.ackSelfClosing=!0}(e,t):dt(e,t);break;case 6:n===Y.SCRIPT?Be(e,t):dt(e,t);break;case 7:n===Y.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,X.HTML),e.insertionMode=le}(e,t):dt(e,t);break;case 8:n===Y.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,X.HTML),e.insertionMode=ue}(e,t):n===Y.TEMPLATE?Be(e,t):dt(e,t);break;default:dt(e,t)}}function ft(e,t){var n=t.tagName;n===Y.TABLE?e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode()):n===Y.TEMPLATE?je(e,t):n!==Y.BODY&&n!==Y.CAPTION&&n!==Y.COL&&n!==Y.COLGROUP&&n!==Y.HTML&&n!==Y.TBODY&&n!==Y.TD&&n!==Y.TFOOT&&n!==Y.TH&&n!==Y.THEAD&&n!==Y.TR&&dt(e,t)}function dt(e,t){var n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function pt(e,t){var n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)dt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function mt(e,t){e.openElements.currentTagName===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=ae,e._processToken(t))}function gt(e,t){var n=t.tagName;n===Y.HTML?it(e,t):n===Y.OPTION?(e.openElements.currentTagName===Y.OPTION&&e.openElements.pop(),e._insertElement(t,X.HTML)):n===Y.OPTGROUP?(e.openElements.currentTagName===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagName===Y.OPTGROUP&&e.openElements.pop(),e._insertElement(t,X.HTML)):n===Y.INPUT||n===Y.KEYGEN||n===Y.TEXTAREA||n===Y.SELECT?e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),n!==Y.SELECT&&e._processToken(t)):n!==Y.SCRIPT&&n!==Y.TEMPLATE||Be(e,t)}function vt(e,t){var n=t.tagName;if(n===Y.OPTGROUP){var r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===Y.OPTION&&i===Y.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===Y.OPTGROUP&&e.openElements.pop()}else n===Y.OPTION?e.openElements.currentTagName===Y.OPTION&&e.openElements.pop():n===Y.SELECT&&e.openElements.hasInSelectScope(Y.SELECT)?(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode()):n===Y.TEMPLATE&&je(e,t)}function Ot(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function yt(e,t){e.insertionMode=ie,e._processToken(t)}function bt(e,t){e.insertionMode=ie,e._processToken(t)}e.exports=we},6750:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(3352),a=o.TAG_NAMES,s=o.NAMESPACES;function l(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI;case 3:return e===a.RTC;case 6:return e===a.OPTION;case 8:return e===a.OPTGROUP}return!1}function u(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI||e===a.TD||e===a.TH||e===a.TR;case 3:return e===a.RTC;case 5:return e===a.TBODY||e===a.TFOOT||e===a.THEAD;case 6:return e===a.OPTION;case 7:return e===a.CAPTION;case 8:return e===a.OPTGROUP||e===a.COLGROUP}return!1}function c(e,t){switch(e.length){case 2:if(e===a.TD||e===a.TH)return t===s.HTML;if(e===a.MI||e===a.MO||e===a.MN||e===a.MS)return t===s.MATHML;break;case 4:if(e===a.HTML)return t===s.HTML;if(e===a.DESC)return t===s.SVG;break;case 5:if(e===a.TABLE)return t===s.HTML;if(e===a.MTEXT)return t===s.MATHML;if(e===a.TITLE)return t===s.SVG;break;case 6:return(e===a.APPLET||e===a.OBJECT)&&t===s.HTML;case 7:return(e===a.CAPTION||e===a.MARQUEE)&&t===s.HTML;case 8:return e===a.TEMPLATE&&t===s.HTML;case 13:return e===a.FOREIGN_OBJECT&&t===s.SVG;case 14:return e===a.ANNOTATION_XML&&t===s.MATHML}return!1}var h=function(){function e(t,n){r(this,e),this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}return i(e,[{key:"_indexOf",value:function(e){for(var t=-1,n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}},{key:"_isInTemplate",value:function(){return this.currentTagName===a.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===s.HTML}},{key:"_updateCurrentElement",value:function(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}},{key:"push",value:function(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}},{key:"pop",value:function(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}},{key:"replace",value:function(e,t){var n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}},{key:"insertAfter",value:function(e,t){var n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}},{key:"popUntilTagNamePopped",value:function(e){for(;this.stackTop>-1;){var t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===s.HTML)break}}},{key:"popUntilElementPopped",value:function(e){for(;this.stackTop>-1;){var t=this.current;if(this.pop(),t===e)break}}},{key:"popUntilNumberedHeaderPopped",value:function(){for(;this.stackTop>-1;){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.H1||e===a.H2||e===a.H3||e===a.H4||e===a.H5||e===a.H6&&t===s.HTML)break}}},{key:"popUntilTableCellPopped",value:function(){for(;this.stackTop>-1;){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.TD||e===a.TH&&t===s.HTML)break}}},{key:"popAllUpToHtmlElement",value:function(){this.stackTop=0,this._updateCurrentElement()}},{key:"clearBackToTableContext",value:function(){for(;this.currentTagName!==a.TABLE&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"clearBackToTableBodyContext",value:function(){for(;this.currentTagName!==a.TBODY&&this.currentTagName!==a.TFOOT&&this.currentTagName!==a.THEAD&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"clearBackToTableRowContext",value:function(){for(;this.currentTagName!==a.TR&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"remove",value:function(e){for(var t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}},{key:"tryPeekProperlyNestedBodyElement",value:function(){var e=this.items[1];return e&&this.treeAdapter.getTagName(e)===a.BODY?e:null}},{key:"contains",value:function(e){return this._indexOf(e)>-1}},{key:"getCommonAncestor",value:function(e){var t=this._indexOf(e);return--t>=0?this.items[t]:null}},{key:"isRootHtmlElementCurrent",value:function(){return 0===this.stackTop&&this.currentTagName===a.HTML}},{key:"hasInScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if(c(n,r))return!1}return!0}},{key:"hasNumberedHeaderInScope",value:function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===a.H1||t===a.H2||t===a.H3||t===a.H4||t===a.H5||t===a.H6)&&n===s.HTML)return!0;if(c(t,n))return!1}return!0}},{key:"hasInListItemScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if((n===a.UL||n===a.OL)&&r===s.HTML||c(n,r))return!1}return!0}},{key:"hasInButtonScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if(n===a.BUTTON&&r===s.HTML||c(n,r))return!1}return!0}},{key:"hasInTableScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===s.HTML){if(n===e)return!0;if(n===a.TABLE||n===a.TEMPLATE||n===a.HTML)return!1}}return!0}},{key:"hasTableBodyContextInTableScope",value:function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===s.HTML){if(t===a.TBODY||t===a.THEAD||t===a.TFOOT)return!0;if(t===a.TABLE||t===a.HTML)return!1}}return!0}},{key:"hasInSelectScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===s.HTML){if(n===e)return!0;if(n!==a.OPTION&&n!==a.OPTGROUP)return!1}}return!0}},{key:"generateImpliedEndTags",value:function(){for(;l(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsThoroughly",value:function(){for(;u(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsWithExclusion",value:function(e){for(;l(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}]),e}();e.exports=h},951:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(6506),a=n(3535),s=n(8588),l=n(4074),u=a.CODE_POINTS,c=a.CODE_POINT_SEQUENCES,h={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},f="DATA_STATE",d="RCDATA_STATE",p="RAWTEXT_STATE",m="SCRIPT_DATA_STATE",g="PLAINTEXT_STATE",v="TAG_OPEN_STATE",O="END_TAG_OPEN_STATE",y="TAG_NAME_STATE",b="RCDATA_LESS_THAN_SIGN_STATE",k="RCDATA_END_TAG_OPEN_STATE",S="RCDATA_END_TAG_NAME_STATE",x="RAWTEXT_LESS_THAN_SIGN_STATE",w="RAWTEXT_END_TAG_OPEN_STATE",T="RAWTEXT_END_TAG_NAME_STATE",C="SCRIPT_DATA_LESS_THAN_SIGN_STATE",E="SCRIPT_DATA_END_TAG_OPEN_STATE",A="SCRIPT_DATA_END_TAG_NAME_STATE",P="SCRIPT_DATA_ESCAPE_START_STATE",_="SCRIPT_DATA_ESCAPE_START_DASH_STATE",D="SCRIPT_DATA_ESCAPED_STATE",Z="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",Q="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",R="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",M="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",$="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",I="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",L="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",j="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",z="BEFORE_ATTRIBUTE_NAME_STATE",U="ATTRIBUTE_NAME_STATE",Y="AFTER_ATTRIBUTE_NAME_STATE",X="BEFORE_ATTRIBUTE_VALUE_STATE",H="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",W="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_UNQUOTED_STATE",G="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",V="SELF_CLOSING_START_TAG_STATE",J="BOGUS_COMMENT_STATE",K="MARKUP_DECLARATION_OPEN_STATE",ee="COMMENT_START_STATE",te="COMMENT_START_DASH_STATE",ne="COMMENT_STATE",re="COMMENT_LESS_THAN_SIGN_STATE",ie="COMMENT_LESS_THAN_SIGN_BANG_STATE",oe="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ae="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",se="COMMENT_END_DASH_STATE",le="COMMENT_END_STATE",ue="COMMENT_END_BANG_STATE",ce="DOCTYPE_STATE",he="BEFORE_DOCTYPE_NAME_STATE",fe="DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",me="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ge="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",ve="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Oe="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ye="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",be="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",ke="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Se="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",xe="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",we="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Te="BOGUS_DOCTYPE_STATE",Ce="CDATA_SECTION_STATE",Ee="CDATA_SECTION_BRACKET_STATE",Ae="CDATA_SECTION_END_STATE",Pe="CHARACTER_REFERENCE_STATE",_e="NAMED_CHARACTER_REFERENCE_STATE",De="AMBIGUOS_AMPERSAND_STATE",Ze="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Qe="DECIMAL_CHARACTER_REFERENCE_START_STATE",Re="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Me="DECIMAL_CHARACTER_REFERENCE_STATE",$e="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Ie(e){return e===u.SPACE||e===u.LINE_FEED||e===u.TABULATION||e===u.FORM_FEED}function Le(e){return e>=u.DIGIT_0&&e<=u.DIGIT_9}function Fe(e){return e>=u.LATIN_CAPITAL_A&&e<=u.LATIN_CAPITAL_Z}function Be(e){return e>=u.LATIN_SMALL_A&&e<=u.LATIN_SMALL_Z}function je(e){return Be(e)||Fe(e)}function ze(e){return je(e)||Le(e)}function Ue(e){return e>=u.LATIN_CAPITAL_A&&e<=u.LATIN_CAPITAL_F}function Ye(e){return e>=u.LATIN_SMALL_A&&e<=u.LATIN_SMALL_F}function Xe(e){return e+32}function He(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function We(e){return String.fromCharCode(Xe(e))}function qe(e,t){for(var n=s[++e],r=++e,i=r+n-1;r<=i;){var o=r+i>>>1,a=s[o];if(a<t)r=o+1;else{if(!(a>t))return s[o+n];i=o-1}}return-1}var Ge=function(){function e(){r(this,e),this.preprocessor=new o,this.tokenQueue=[],this.allowCDATA=!1,this.state=f,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}return i(e,[{key:"_err",value:function(){}},{key:"_errOnNextCodePoint",value:function(e){this._consume(),this._err(e),this._unconsume()}},{key:"getNextToken",value:function(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;var e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}},{key:"write",value:function(e,t){this.active=!0,this.preprocessor.write(e,t)}},{key:"insertHtmlAtCurrentPos",value:function(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}},{key:"_ensureHibernation",value:function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:e.HIBERNATION_TOKEN}),!0}return!1}},{key:"_consume",value:function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}},{key:"_unconsume",value:function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}},{key:"_reconsumeInState",value:function(e){this.state=e,this._unconsume()}},{key:"_consumeSequenceIfMatch",value:function(e,t,n){for(var r=0,i=!0,o=e.length,a=0,s=t,l=void 0;a<o;a++){if(a>0&&(s=this._consume(),r++),s===u.EOF){i=!1;break}if(s!==(l=e[a])&&(n||s!==Xe(l))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}},{key:"_isTempBufferEqualToScriptString",value:function(){if(this.tempBuff.length!==c.SCRIPT_STRING.length)return!1;for(var e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==c.SCRIPT_STRING[e])return!1;return!0}},{key:"_createStartTagToken",value:function(){this.currentToken={type:e.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}},{key:"_createEndTagToken",value:function(){this.currentToken={type:e.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}},{key:"_createCommentToken",value:function(){this.currentToken={type:e.COMMENT_TOKEN,data:""}}},{key:"_createDoctypeToken",value:function(t){this.currentToken={type:e.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}},{key:"_createCharacterToken",value:function(e,t){this.currentCharacterToken={type:e,chars:t}}},{key:"_createEOFToken",value:function(){this.currentToken={type:e.EOF_TOKEN}}},{key:"_createAttr",value:function(e){this.currentAttr={name:e,value:""}}},{key:"_leaveAttrName",value:function(t){null===e.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(l.duplicateAttribute),this.state=t}},{key:"_leaveAttrValue",value:function(e){this.state=e}},{key:"_emitCurrentToken",value:function(){this._emitCurrentCharacterToken();var t=this.currentToken;this.currentToken=null,t.type===e.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===e.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(l.endTagWithAttributes),t.selfClosing&&this._err(l.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}},{key:"_emitCurrentCharacterToken",value:function(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}},{key:"_emitEOFToken",value:function(){this._createEOFToken(),this._emitCurrentToken()}},{key:"_appendCharToCurrentCharacterToken",value:function(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}},{key:"_emitCodePoint",value:function(t){var n=e.CHARACTER_TOKEN;Ie(t)?n=e.WHITESPACE_CHARACTER_TOKEN:t===u.NULL&&(n=e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,He(t))}},{key:"_emitSeveralCodePoints",value:function(e){for(var t=0;t<e.length;t++)this._emitCodePoint(e[t])}},{key:"_emitChars",value:function(t){this._appendCharToCurrentCharacterToken(e.CHARACTER_TOKEN,t)}},{key:"_matchNamedCharacterReference",value:function(e){var t=null,n=1,r=qe(0,e);for(this.tempBuff.push(e);r>-1;){var i=s[r],o=i<7;o&&1&i&&(t=2&i?[s[++r],s[++r]]:[s[++r]],n=0);var a=this._consume();if(this.tempBuff.push(a),n++,a===u.EOF)break;r=o?4&i?qe(r,a):-1:a===i?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}},{key:"_isCharacterReferenceInAttribute",value:function(){return this.returnState===H||this.returnState===W||this.returnState===q}},{key:"_isCharacterReferenceAttributeQuirk",value:function(e){if(!e&&this._isCharacterReferenceInAttribute()){var t=this._consume();return this._unconsume(),t===u.EQUALS_SIGN||ze(t)}return!1}},{key:"_flushCodePointsConsumedAsCharacterReference",value:function(){if(this._isCharacterReferenceInAttribute())for(var e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=He(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}},{key:f,value:function(e){this.preprocessor.dropParsedChunk(),e===u.LESS_THAN_SIGN?this.state=v:e===u.AMPERSAND?(this.returnState=f,this.state=Pe):e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitCodePoint(e)):e===u.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:d,value:function(e){this.preprocessor.dropParsedChunk(),e===u.AMPERSAND?(this.returnState=d,this.state=Pe):e===u.LESS_THAN_SIGN?this.state=b:e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:p,value:function(e){this.preprocessor.dropParsedChunk(),e===u.LESS_THAN_SIGN?this.state=x:e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:m,value:function(e){this.preprocessor.dropParsedChunk(),e===u.LESS_THAN_SIGN?this.state=C:e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:g,value:function(e){this.preprocessor.dropParsedChunk(),e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:v,value:function(e){e===u.EXCLAMATION_MARK?this.state=K:e===u.SOLIDUS?this.state=O:je(e)?(this._createStartTagToken(),this._reconsumeInState(y)):e===u.QUESTION_MARK?(this._err(l.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(J)):e===u.EOF?(this._err(l.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(l.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(f))}},{key:O,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(y)):e===u.GREATER_THAN_SIGN?(this._err(l.missingEndTagName),this.state=f):e===u.EOF?(this._err(l.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(l.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(J))}},{key:y,value:function(e){Ie(e)?this.state=z:e===u.SOLIDUS?this.state=V:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):Fe(e)?this.currentToken.tagName+=We(e):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.tagName+=a.REPLACEMENT_CHARACTER):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=He(e)}},{key:b,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=k):(this._emitChars("<"),this._reconsumeInState(d))}},{key:k,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(S)):(this._emitChars("</"),this._reconsumeInState(d))}},{key:S,value:function(e){if(Fe(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=He(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=z);if(e===u.SOLIDUS)return void(this.state=V);if(e===u.GREATER_THAN_SIGN)return this.state=f,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}},{key:x,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=w):(this._emitChars("<"),this._reconsumeInState(p))}},{key:w,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(T)):(this._emitChars("</"),this._reconsumeInState(p))}},{key:T,value:function(e){if(Fe(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=He(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=z);if(e===u.SOLIDUS)return void(this.state=V);if(e===u.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}},{key:C,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=E):e===u.EXCLAMATION_MARK?(this.state=P,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(m))}},{key:E,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(A)):(this._emitChars("</"),this._reconsumeInState(m))}},{key:A,value:function(e){if(Fe(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=He(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=z);if(e===u.SOLIDUS)return void(this.state=V);if(e===u.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(m)}}},{key:P,value:function(e){e===u.HYPHEN_MINUS?(this.state=_,this._emitChars("-")):this._reconsumeInState(m)}},{key:_,value:function(e){e===u.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(m)}},{key:D,value:function(e){e===u.HYPHEN_MINUS?(this.state=Z,this._emitChars("-")):e===u.LESS_THAN_SIGN?this.state=Q:e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}},{key:Z,value:function(e){e===u.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===u.LESS_THAN_SIGN?this.state=Q:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=D,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=D,this._emitCodePoint(e))}},{key:N,value:function(e){e===u.HYPHEN_MINUS?this._emitChars("-"):e===u.LESS_THAN_SIGN?this.state=Q:e===u.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=D,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=D,this._emitCodePoint(e))}},{key:Q,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=R):je(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState($)):(this._emitChars("<"),this._reconsumeInState(D))}},{key:R,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(M)):(this._emitChars("</"),this._reconsumeInState(D))}},{key:M,value:function(e){if(Fe(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=He(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=z);if(e===u.SOLIDUS)return void(this.state=V);if(e===u.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(D)}}},{key:$,value:function(e){Ie(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?I:D,this._emitCodePoint(e)):Fe(e)?(this.tempBuff.push(Xe(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(D)}},{key:I,value:function(e){e===u.HYPHEN_MINUS?(this.state=L,this._emitChars("-")):e===u.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===u.NULL?(this._err(l.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}},{key:L,value:function(e){e===u.HYPHEN_MINUS?(this.state=F,this._emitChars("-")):e===u.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=I,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=I,this._emitCodePoint(e))}},{key:F,value:function(e){e===u.HYPHEN_MINUS?this._emitChars("-"):e===u.LESS_THAN_SIGN?(this.state=B,this._emitChars("<")):e===u.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=I,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=I,this._emitCodePoint(e))}},{key:B,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=j,this._emitChars("/")):this._reconsumeInState(I)}},{key:j,value:function(e){Ie(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?D:I,this._emitCodePoint(e)):Fe(e)?(this.tempBuff.push(Xe(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(I)}},{key:z,value:function(e){Ie(e)||(e===u.SOLIDUS||e===u.GREATER_THAN_SIGN||e===u.EOF?this._reconsumeInState(Y):e===u.EQUALS_SIGN?(this._err(l.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=U):(this._createAttr(""),this._reconsumeInState(U)))}},{key:U,value:function(e){Ie(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN||e===u.EOF?(this._leaveAttrName(Y),this._unconsume()):e===u.EQUALS_SIGN?this._leaveAttrName(X):Fe(e)?this.currentAttr.name+=We(e):e===u.QUOTATION_MARK||e===u.APOSTROPHE||e===u.LESS_THAN_SIGN?(this._err(l.unexpectedCharacterInAttributeName),this.currentAttr.name+=He(e)):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentAttr.name+=a.REPLACEMENT_CHARACTER):this.currentAttr.name+=He(e)}},{key:Y,value:function(e){Ie(e)||(e===u.SOLIDUS?this.state=V:e===u.EQUALS_SIGN?this.state=X:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(U)))}},{key:X,value:function(e){Ie(e)||(e===u.QUOTATION_MARK?this.state=H:e===u.APOSTROPHE?this.state=W:e===u.GREATER_THAN_SIGN?(this._err(l.missingAttributeValue),this.state=f,this._emitCurrentToken()):this._reconsumeInState(q))}},{key:H,value:function(e){e===u.QUOTATION_MARK?this.state=G:e===u.AMPERSAND?(this.returnState=H,this.state=Pe):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}},{key:W,value:function(e){e===u.APOSTROPHE?this.state=G:e===u.AMPERSAND?(this.returnState=W,this.state=Pe):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}},{key:q,value:function(e){Ie(e)?this._leaveAttrValue(z):e===u.AMPERSAND?(this.returnState=q,this.state=Pe):e===u.GREATER_THAN_SIGN?(this._leaveAttrValue(f),this._emitCurrentToken()):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===u.QUOTATION_MARK||e===u.APOSTROPHE||e===u.LESS_THAN_SIGN||e===u.EQUALS_SIGN||e===u.GRAVE_ACCENT?(this._err(l.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=He(e)):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):this.currentAttr.value+=He(e)}},{key:G,value:function(e){Ie(e)?this._leaveAttrValue(z):e===u.SOLIDUS?this._leaveAttrValue(V):e===u.GREATER_THAN_SIGN?(this._leaveAttrValue(f),this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):(this._err(l.missingWhitespaceBetweenAttributes),this._reconsumeInState(z))}},{key:V,value:function(e){e===u.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):(this._err(l.unexpectedSolidusInTag),this._reconsumeInState(z))}},{key:J,value:function(e){e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):this.currentToken.data+=He(e)}},{key:K,value:function(e){this._consumeSequenceIfMatch(c.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=ee):this._consumeSequenceIfMatch(c.DOCTYPE_STRING,e,!1)?this.state=ce:this._consumeSequenceIfMatch(c.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ce:(this._err(l.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=J):this._ensureHibernation()||(this._err(l.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(J))}},{key:ee,value:function(e){e===u.HYPHEN_MINUS?this.state=te:e===u.GREATER_THAN_SIGN?(this._err(l.abruptClosingOfEmptyComment),this.state=f,this._emitCurrentToken()):this._reconsumeInState(ne)}},{key:te,value:function(e){e===u.HYPHEN_MINUS?this.state=le:e===u.GREATER_THAN_SIGN?(this._err(l.abruptClosingOfEmptyComment),this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ne))}},{key:ne,value:function(e){e===u.HYPHEN_MINUS?this.state=se:e===u.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=re):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):e===u.EOF?(this._err(l.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=He(e)}},{key:re,value:function(e){e===u.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ie):e===u.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ne)}},{key:ie,value:function(e){e===u.HYPHEN_MINUS?this.state=oe:this._reconsumeInState(ne)}},{key:oe,value:function(e){e===u.HYPHEN_MINUS?this.state=ae:this._reconsumeInState(se)}},{key:ae,value:function(e){e!==u.GREATER_THAN_SIGN&&e!==u.EOF&&this._err(l.nestedComment),this._reconsumeInState(le)}},{key:se,value:function(e){e===u.HYPHEN_MINUS?this.state=le:e===u.EOF?(this._err(l.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ne))}},{key:le,value:function(e){e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.EXCLAMATION_MARK?this.state=ue:e===u.HYPHEN_MINUS?this.currentToken.data+="-":e===u.EOF?(this._err(l.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ne))}},{key:ue,value:function(e){e===u.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=se):e===u.GREATER_THAN_SIGN?(this._err(l.incorrectlyClosedComment),this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ne))}},{key:ce,value:function(e){Ie(e)?this.state=he:e===u.GREATER_THAN_SIGN?this._reconsumeInState(he):e===u.EOF?(this._err(l.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(he))}},{key:he,value:function(e){Ie(e)||(Fe(e)?(this._createDoctypeToken(We(e)),this.state=fe):e===u.NULL?(this._err(l.unexpectedNullCharacter),this._createDoctypeToken(a.REPLACEMENT_CHARACTER),this.state=fe):e===u.GREATER_THAN_SIGN?(this._err(l.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(He(e)),this.state=fe))}},{key:fe,value:function(e){Ie(e)?this.state=de:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):Fe(e)?this.currentToken.name+=We(e):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.name+=a.REPLACEMENT_CHARACTER):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=He(e)}},{key:de,value:function(e){Ie(e)||(e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(c.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(c.SYSTEM_STRING,e,!1)?this.state=be:this._ensureHibernation()||(this._err(l.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te)))}},{key:pe,value:function(e){Ie(e)?this.state=me:e===u.QUOTATION_MARK?(this._err(l.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ge):e===u.APOSTROPHE?(this._err(l.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ve):e===u.GREATER_THAN_SIGN?(this._err(l.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te))}},{key:me,value:function(e){Ie(e)||(e===u.QUOTATION_MARK?(this.currentToken.publicId="",this.state=ge):e===u.APOSTROPHE?(this.currentToken.publicId="",this.state=ve):e===u.GREATER_THAN_SIGN?(this._err(l.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te)))}},{key:ge,value:function(e){e===u.QUOTATION_MARK?this.state=Oe:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===u.GREATER_THAN_SIGN?(this._err(l.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=He(e)}},{key:ve,value:function(e){e===u.APOSTROPHE?this.state=Oe:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===u.GREATER_THAN_SIGN?(this._err(l.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=He(e)}},{key:Oe,value:function(e){Ie(e)?this.state=ye:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.QUOTATION_MARK?(this._err(l.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Se):e===u.APOSTROPHE?(this._err(l.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=xe):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te))}},{key:ye,value:function(e){Ie(e)||(e===u.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===u.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Se):e===u.APOSTROPHE?(this.currentToken.systemId="",this.state=xe):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te)))}},{key:be,value:function(e){Ie(e)?this.state=ke:e===u.QUOTATION_MARK?(this._err(l.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Se):e===u.APOSTROPHE?(this._err(l.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=xe):e===u.GREATER_THAN_SIGN?(this._err(l.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te))}},{key:ke,value:function(e){Ie(e)||(e===u.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Se):e===u.APOSTROPHE?(this.currentToken.systemId="",this.state=xe):e===u.GREATER_THAN_SIGN?(this._err(l.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te)))}},{key:Se,value:function(e){e===u.QUOTATION_MARK?this.state=we:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===u.GREATER_THAN_SIGN?(this._err(l.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=He(e)}},{key:xe,value:function(e){e===u.APOSTROPHE?this.state=we:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===u.GREATER_THAN_SIGN?(this._err(l.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=He(e)}},{key:we,value:function(e){Ie(e)||(e===u.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===u.EOF?(this._err(l.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(l.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Te)))}},{key:Te,value:function(e){e===u.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===u.NULL?this._err(l.unexpectedNullCharacter):e===u.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}},{key:Ce,value:function(e){e===u.RIGHT_SQUARE_BRACKET?this.state=Ee:e===u.EOF?(this._err(l.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}},{key:Ee,value:function(e){e===u.RIGHT_SQUARE_BRACKET?this.state=Ae:(this._emitChars("]"),this._reconsumeInState(Ce))}},{key:Ae,value:function(e){e===u.GREATER_THAN_SIGN?this.state=f:e===u.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ce))}},{key:Pe,value:function(e){this.tempBuff=[u.AMPERSAND],e===u.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Ze):ze(e)?this._reconsumeInState(_e):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:_e,value:function(e){var t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[u.AMPERSAND];else if(t){var n=this.tempBuff[this.tempBuff.length-1]===u.SEMICOLON;this._isCharacterReferenceAttributeQuirk(n)||(n||this._errOnNextCodePoint(l.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=De}},{key:De,value:function(e){ze(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=He(e):this._emitCodePoint(e):(e===u.SEMICOLON&&this._err(l.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}},{key:Ze,value:function(e){this.charRefCode=0,e===u.LATIN_SMALL_X||e===u.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Qe)}},{key:Ne,value:function(e){!function(e){return Le(e)||Ue(e)||Ye(e)}(e)?(this._err(l.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Re)}},{key:Qe,value:function(e){Le(e)?this._reconsumeInState(Me):(this._err(l.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:Re,value:function(e){Ue(e)?this.charRefCode=16*this.charRefCode+e-55:Ye(e)?this.charRefCode=16*this.charRefCode+e-87:Le(e)?this.charRefCode=16*this.charRefCode+e-48:e===u.SEMICOLON?this.state=$e:(this._err(l.missingSemicolonAfterCharacterReference),this._reconsumeInState($e))}},{key:Me,value:function(e){Le(e)?this.charRefCode=10*this.charRefCode+e-48:e===u.SEMICOLON?this.state=$e:(this._err(l.missingSemicolonAfterCharacterReference),this._reconsumeInState($e))}},{key:$e,value:function(){if(this.charRefCode===u.NULL)this._err(l.nullCharacterReference),this.charRefCode=u.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(l.characterReferenceOutsideUnicodeRange),this.charRefCode=u.REPLACEMENT_CHARACTER;else if(a.isSurrogate(this.charRefCode))this._err(l.surrogateCharacterReference),this.charRefCode=u.REPLACEMENT_CHARACTER;else if(a.isUndefinedCodePoint(this.charRefCode))this._err(l.noncharacterCharacterReference);else if(a.isControlCodePoint(this.charRefCode)||this.charRefCode===u.CARRIAGE_RETURN){this._err(l.controlCharacterReference);var e=h[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}]),e}();Ge.CHARACTER_TOKEN="CHARACTER_TOKEN",Ge.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ge.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ge.START_TAG_TOKEN="START_TAG_TOKEN",Ge.END_TAG_TOKEN="END_TAG_TOKEN",Ge.COMMENT_TOKEN="COMMENT_TOKEN",Ge.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ge.EOF_TOKEN="EOF_TOKEN",Ge.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ge.MODE={DATA:f,RCDATA:d,RAWTEXT:p,SCRIPT_DATA:m,PLAINTEXT:g},Ge.getTokenAttr=function(e,t){for(var n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Ge},8588:function(e){"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},6506:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(3535),a=n(4074),s=o.CODE_POINTS,l=function(){function e(){r(this,e),this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}return i(e,[{key:"_err",value:function(){}},{key:"_addGap",value:function(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}},{key:"_processSurrogate",value:function(e){if(this.pos!==this.lastCharPos){var t=this.html.charCodeAt(this.pos+1);if(o.isSurrogatePair(t))return this.pos++,this._addGap(),o.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,s.EOF;return this._err(a.surrogateInInputStream),e}},{key:"dropParsedChunk",value:function(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}},{key:"write",value:function(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}},{key:"insertHtmlAtCurrentPos",value:function(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}},{key:"advance",value:function(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,s.EOF;var e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===s.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===s.CARRIAGE_RETURN?(this.skipNextNewLine=!0,s.LINE_FEED):(this.skipNextNewLine=!1,o.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===s.LINE_FEED||e===s.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}},{key:"_checkForProblematicCharacters",value:function(e){o.isControlCodePoint(e)?this._err(a.controlCharacterInInputStream):o.isUndefinedCodePoint(e)&&this._err(a.noncharacterInInputStream)}},{key:"retreat",value:function(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}]),e}();e.exports=l},55:function(e,t,n){"use strict";var r=n(3352).DOCUMENT_MODE;t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};var i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){var r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){for(var i=null,a=0;a<e.childNodes.length;a++)if("#documentType"===e.childNodes[a].nodeName){i=e.childNodes[a];break}i?(i.name=t,i.publicId=n,i.systemId=r):o(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){var t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){var n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}o(e,i(t))},t.insertTextBefore=function(e,t,n){var r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:a(e,i(t),n)},t.adoptAttributes=function(e,t){for(var n=[],r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(var i=0;i<t.length;i++)-1===n.indexOf(t[i].name)&&e.attrs.push(t[i])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}},5204:function(e){"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce((function(e,t){return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}),Object.create(null))}},1384:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=function(){function e(t){r(this,e);for(var n={},i=this._getOverriddenMethods(this,n),o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];"function"===typeof i[s]&&(n[s]=t[s],t[s]=i[s])}}return i(e,[{key:"_getOverriddenMethods",value:function(){throw new Error("Not implemented")}}]),e}();o.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(var r=0;r<e.__mixins.length;r++)if(e.__mixins[r].constructor===t)return e.__mixins[r];var i=new t(e,n);return e.__mixins.push(i),i},e.exports=o},3120:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var h=1,f=1;function d(e){var t=e.match(n);t&&(h+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:h,column:f};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:h,column:f},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+h+":"+f+": "+t);if(n.reason=t,n.filename=l.source,n.line=h,n.column=f,n.source=e,!l.silent)throw n;g.push(n)}function O(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(){O(r)}function b(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function S(){var e=p(),n=O(i);if(n){if(k(),!O(o))return v("property missing ':'");var r=O(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return O(s),l}}return y(),function(){var e,t=[];for(b(t);e=S();)!1!==e&&(t.push(e),b(t));return t}()}},2589:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},7392:function(e,t,n){var r=n(131).default,i=n(8532).default;function o(e){var t,n,o=[],a=i(e.split(",").map((function(e){return e.trim()})));try{for(a.s();!(n=a.n()).done;){var s=n.value;if(/^-?\d+$/.test(s))o.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){var l=r(t,4),u=(l[0],l[1]),c=l[2],h=l[3];if(u&&h){var f=(u=parseInt(u))<(h=parseInt(h))?1:-1;"-"!==c&&".."!==c&&"\u2025"!==c||(h+=f);for(var d=u;d!==h;d+=f)o.push(d)}}}}catch(p){a.e(p)}finally{a.f()}return o}t.default=o,e.exports=o},3617:function(e){var t,n,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],u=!1,c=-1;function h(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=a(h);u=!0;for(var t=l.length;t;){for(s=l,l=[];++c<t;)s&&s[c].run();c=-1,t=l.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||u||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},1132:function(e,t,n){"use strict";var r=n(4065);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},4317:function(e,t,n){e.exports=n(1132)()},4065:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6377:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case u:case h:case m:case p:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=p,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===u},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===h},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===p},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===s||e===a||e===f||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},8325:function(e,t,n){"use strict";e.exports=n(6377)},17:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],h=1,f=null,d=3,p=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,O="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,b(e),!m)if(null!==r(u))m=!0,N(S);else{var t=r(c);null!==t&&Q(k,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,O(C),C=-1),p=!0;var o=d;try{for(b(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!P());){var a=f.callback;if("function"===typeof a){f.callback=null,d=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&i(u),b(n)}else i(u);f=r(u)}if(null!==f)var l=!0;else{var h=r(c);null!==h&&Q(k,h.startTime-n),l=!1}return l}finally{f=null,d=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,w=!1,T=null,C=-1,E=5,A=-1;function P(){return!(t.unstable_now()-A<E)}function _(){if(null!==T){var e=t.unstable_now();A=e;var n=!0;try{n=T(!0,e)}finally{n?x():(w=!1,T=null)}}else w=!1}if("function"===typeof y)x=function(){y(_)};else if("undefined"!==typeof MessageChannel){var D=new MessageChannel,Z=D.port2;D.port1.onmessage=_,x=function(){Z.postMessage(null)}}else x=function(){v(_,0)};function N(e){T=e,w||(w=!0,x())}function Q(e,n){C=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,N(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(g?(O(C),C=-1):g=!0,Q(k,o-a))):(e.sortIndex=s,n(u,e),m||p||(m=!0,N(S))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},7086:function(e,t,n){"use strict";e.exports=n(17)},730:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],h=t[u];if(!1===(i=n?n.call(r,c,h,u):void 0)||void 0===i&&c!==h)return!1}return!0}},6802:function(e,t,n){var r=n(3045),i=Object.prototype.hasOwnProperty,o="undefined"!==typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o?e:r.toSetString(e),a=o?this.has(e):i.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[n]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.I=a},5333:function(e,t,n){var r=n(6399);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,a=e.length,s=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),s+=(o&=31)<<l,l+=5}while(i);n.value=function(e){var t=e>>1;return 1===(1&e)?-t:t}(s),n.rest=t}},6399:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},6685:function(e,t,n){var r=n(3045);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){!function(e,t){var n=e.generatedLine,i=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return i>n||i==n&&a>=o||r.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},8676:function(e,t,n){var r=n(5333),i=n(3045),o=n(6802).I,a=n(6685).H;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=i.relative(a,r));var s=new o,l=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var u=t.source;null==u||s.has(u)||s.add(u);var c=t.name;null==c||l.has(c)||l.add(c)}),this),this._sources=s,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!==typeof t.line&&"number"!==typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,o,a=0,s=1,l=0,u=0,c=0,h=0,f="",d=this._mappings.toArray(),p=0,m=d.length;p<m;p++){if(e="",(t=d[p]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(p>0){if(!i.compareByGeneratedPositionsInflated(t,d[p-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-h),h=o,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),f+=e}return f},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.h=s},3045:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}t.urlParse=i,t.urlGenerate=o;var a=function(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var o=e(n);return t.unshift({input:n,result:o}),t.length>32&&t.pop(),o}}((function(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var a=t.isAbsolute(n),s=[],l=0,u=0;;){if(l=u,-1===(u=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,u));u<n.length&&"/"===n[u];)u++}var c,h=0;for(u=s.length-1;u>=0;u--)"."===(c=s[u])?s.splice(u,1):".."===c?h++:h>0&&(""===c?(s.splice(u+1,h),h=0):(s.splice(u,2),h--));return""===(n=s.join("/"))&&(n=a?"/":"."),r?(r.path=n,o(r)):n}));function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),s=i(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),o(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var l="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,o(s)):l}t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function u(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?u:function(e){return c(e)?"$"+e:e},t.fromSetString=l?u:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=h(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=h(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:h(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var l=r.path.lastIndexOf("/");l>=0&&(r.path=r.path.substring(0,l+1))}t=s(o(r),t)}return a(t)}},9290:function(e,t,n){var r=n(3120);function i(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,a,s=r(e),l="function"===typeof t,u=0,c=s.length;u<c;u++)o=(n=s[u]).property,a=n.value,l?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}e.exports=i,e.exports.default=i},3958:function(e,t,n){"use strict";var r=n(3528);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s((function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})}),[e,n,t]),a((function(){return u(i)&&c({inst:i}),e((function(){u(i)&&c({inst:i})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},7152:function(e,t,n){"use strict";e.exports=n(3958)},8106:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},7358:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},7266:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},8983:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},6824:function(e,t,n){var r=n(6196),i=n(4161);function o(t,n,a){return i()?(e.exports=o=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(null,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},2081:function(e,t,n){var r=n(4040);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},8532:function(e,t,n){var r=n(5068);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},670:function(e,t,n){var r=n(4910),i=n(4161),o=n(1173);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},3231:function(e,t,n){var r=n(4040);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},1121:function(e,t,n){var r=n(9443);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},4910:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8724:function(e,t,n){var r=n(6196);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4346:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},4161:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},608:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},6894:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},1173:function(e,t,n){var r=n(7501).default,i=n(7266);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6196:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},131:function(e,t,n){var r=n(7358),i=n(608),o=n(5068),a=n(6894);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},9443:function(e,t,n){var r=n(4910);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},6027:function(e,t,n){var r=n(7501).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4040:function(e,t,n){var r=n(7501).default,i=n(6027);e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5068:function(e,t,n){var r=n(8106);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},9952:function(e,t,n){var r=n(4910),i=n(6196),o=n(4346),a=n(6824);function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},1793:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},6470:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7169:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},2951:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},1976:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5217);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},726:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4013);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}},9616:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(7597),i=n(8119),o=n(3940),a=n(7169);function s(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var s=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===(0,o.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}(this,n)}}},4649:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5217);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3243:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7597);function i(){return i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}},7597:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},7591:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6983);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},8119:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},5181:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},3764:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4649);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},6983:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},1026:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(6470);var i=n(4013),o=n(3764);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},649:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1793);var i=n(5181),o=n(4013);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},5217:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3940);function i(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},3940:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},4013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1793);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},6391:function(e,t,n){"use strict";n.d(t,{B1:function(){return De},GA:function(){return Se},Gn:function(){return ce},Mb:function(){return m},TK:function(){return d},eC:function(){return g},vQ:function(){return ge},ys:function(){return _e}});var r=n(7591),i=n(9616),o=n(649),a=n(1026),s=n(726),l=n(2951),u=n(1976),c=n(5224),h=n(52),f=n(4019),d=function(){function e(t,n,r){(0,l.Z)(this,e),this.state=t,this.pos=n,this.explicit=r,this.abortListeners=[]}return(0,u.Z)(e,[{key:"tokenBefore",value:function(e){for(var t=(0,f.qz)(this.state).resolveInner(this.pos,-1);t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}},{key:"matchBefore",value:function(e){var t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(y(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}},{key:"aborted",get:function(){return null==this.abortListeners}},{key:"addEventListener",value:function(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}]),e}();function p(e){var t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),"[".concat(n?"\\w":"").concat(t.replace(/[^\w\s]/g,"\\$&"),"]")}function m(e){var t=e.map((function(e){return"string"==typeof e?{label:e}:e})),n=t.every((function(e){return/^\w+$/.test(e.label)}))?[/\w*$/,/\w+$/]:function(e){var t,n=Object.create(null),r=Object.create(null),i=(0,s.Z)(e);try{for(i.s();!(t=i.n()).done;){var o=t.value.label;n[o[0]]=!0;for(var a=1;a<o.length;a++)r[o[a]]=!0}}catch(u){i.e(u)}finally{i.f()}var l=p(n)+p(r)+"*$";return[new RegExp("^"+l),new RegExp(l)]}(t),r=(0,a.Z)(n,2),i=r[0],o=r[1];return function(e){var n=e.matchBefore(o);return n||e.explicit?{from:n?n.from:e.pos,options:t,validFor:i}:null}}function g(e,t){return function(n){for(var r=(0,f.qz)(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(e.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return t(n)}}var v=(0,u.Z)((function e(t,n,r,i){(0,l.Z)(this,e),this.completion=t,this.source=n,this.match=r,this.score=i}));function O(e){return e.selection.main.from}function y(e,t){var n,r=e.source,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?new RegExp("".concat(i?"^":"","(?:").concat(r,")").concat(o?"$":""),null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}var b=c.q6.define();var k=new WeakMap;function S(e){if(!Array.isArray(e))return e;var t=k.get(e);return t||k.set(e,t=m(e)),t}var x=c.Py.define(),w=c.Py.define(),T=function(){function e(t){(0,l.Z)(this,e),this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(var n=0;n<t.length;){var r=(0,c.gm)(t,n),i=(0,c.nZ)(r);this.chars.push(r);var o=t.slice(n,n+i),a=o.toUpperCase();this.folded.push((0,c.gm)(a==o?o.toLowerCase():a,0)),n+=i}this.astral=t.length!=this.chars.length}return(0,u.Z)(e,[{key:"ret",value:function(e,t){return this.score=e,this.matched=t,!0}},{key:"match",value:function(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;var t=this.chars,n=this.folded,r=this.any,i=this.precise,o=this.byWord;if(1==t.length){var a=(0,c.gm)(e,0),s=(0,c.nZ)(a),l=s==e.length?0:-100;if(a==t[0]);else{if(a!=n[0])return!1;l+=-200}return this.ret(l,[0,s])}var u=e.indexOf(this.pattern);if(0==u)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);var h=t.length,f=0;if(u<0){for(var d=0,p=Math.min(e.length,200);d<p&&f<h;){var m=(0,c.gm)(e,d);m!=t[f]&&m!=n[f]||(r[f++]=d),d+=(0,c.nZ)(m)}if(f<h)return!1}for(var g=0,v=0,O=!1,y=0,b=-1,k=-1,S=/[a-z]/.test(e),x=!0,w=0,T=Math.min(e.length,200),C=0;w<T&&v<h;){var E=(0,c.gm)(e,w);u<0&&(g<h&&E==t[g]&&(i[g++]=w),y<h&&(E==t[y]||E==n[y]?(0==y&&(b=w),k=w+1,y++):y=0));var A=void 0,P=E<255?E>=48&&E<=57||E>=97&&E<=122?2:E>=65&&E<=90?1:0:(A=(0,c.bg)(E))!=A.toLowerCase()?1:A!=A.toUpperCase()?2:0;(!w||1==P&&S||0==C&&0!=P)&&(t[v]==E||n[v]==E&&(O=!0)?o[v++]=w:o.length&&(x=!1)),C=P,w+=(0,c.nZ)(E)}return v==h&&0==o[0]&&x?this.result((O?-200:0)-100,o,e):y==h&&0==b?this.ret(-200-e.length+(k==e.length?0:-100),[0,k]):u>-1?this.ret(-700-e.length,[u,u+this.pattern.length]):y==h?this.ret(-900-e.length,[b,k]):v==h?this.result((O?-200:0)-100-700+(x?0:-1100),o,e):2!=t.length&&this.result((r[0]?-700:0)-200-1100,r,e)}},{key:"result",value:function(e,t,n){var r,i=[],o=0,a=(0,s.Z)(t);try{for(a.s();!(r=a.n()).done;){var l=r.value,u=l+(this.astral?(0,c.nZ)((0,c.gm)(n,l)):1);o&&i[o-1]==l?i[o-1]=u:(i[o++]=l,i[o++]=u)}}catch(h){a.e(h)}finally{a.f()}return this.ret(e-n.length,i)}}]),e}(),C=c.r$.define({combine:function(e){return(0,c.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:function(){return""},optionClass:function(){return""},aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:A,compareCompletions:function(e,t){return e.label.localeCompare(t.label)},interactionDelay:75},{defaultKeymap:function(e,t){return e&&t},closeOnBlur:function(e,t){return e&&t},icons:function(e,t){return e&&t},tooltipClass:function(e,t){return function(n){return E(e(n),t(n))}},optionClass:function(e,t){return function(n){return E(e(n),t(n))}},addToOptions:function(e,t){return e.concat(t)}})}});function E(e,t){return e?t?e+" "+t:e:t}function A(e,t,n,r,i){var o,a,s=e.textDirection==h.Nm.RTL,l=s,u=!1,c="top",f=t.left-i.left,d=i.right-t.right,p=r.right-r.left,m=r.bottom-r.top;if(l&&f<Math.min(p,d)?l=!1:!l&&d<Math.min(p,f)&&(l=!0),p<=(l?f:d))o=Math.max(i.top,Math.min(n.top,i.bottom-m))-t.top,a=Math.min(400,l?f:d);else{u=!0,a=Math.min(400,(s?t.right:i.right-t.left)-30);var g=i.bottom-t.bottom;g>=m||g>t.top?o=n.bottom-t.top:(c="bottom",o=t.bottom-n.top)}return{style:"".concat(c,": ").concat(o,"px; max-width: ").concat(a,"px"),class:"cm-completionInfo-"+(u?s?"left-narrow":"right-narrow":l?"left":"right")}}function P(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){var r=Math.floor(t/n);return{from:r*n,to:(r+1)*n}}var i=Math.floor((e-t)/n);return{from:e-(i+1)*n,to:e-i*n}}var _=function(){function e(t,n,r){var i=this;(0,l.Z)(this,e),this.view=t,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:function(){return i.measureInfo()},write:function(e){return i.placeInfo(e)},key:this},this.space=null,this.currentClass="";var a=t.state.field(n),s=a.open,u=s.options,c=s.selected,h=t.state.facet(C);this.optionContent=function(e){var t=e.addToOptions.slice();return e.icons&&t.push({render:function(e){var t,n=document.createElement("div");return n.classList.add("cm-completionIcon"),e.type&&(t=n.classList).add.apply(t,(0,o.Z)(e.type.split(/\s+/g).map((function(e){return"cm-completionIcon-"+e})))),n.setAttribute("aria-hidden","true"),n},position:20}),t.push({render:function(e,t,n){var r=document.createElement("span");r.className="cm-completionLabel";for(var i=e.displayLabel||e.label,o=0,a=0;a<n.length;){var s=n[a++],l=n[a++];s>o&&r.appendChild(document.createTextNode(i.slice(o,s)));var u=r.appendChild(document.createElement("span"));u.appendChild(document.createTextNode(i.slice(s,l))),u.className="cm-completionMatchedText",o=l}return o<i.length&&r.appendChild(document.createTextNode(i.slice(o))),r},position:50},{render:function(e){if(!e.detail)return null;var t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((function(e,t){return e.position-t.position})).map((function(e){return e.render}))}(h),this.optionClass=h.optionClass,this.tooltipClass=h.tooltipClass,this.range=P(u.length,c,h.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",(function(e){for(var n,r=e.target;r&&r!=i.dom;r=r.parentNode)if("LI"==r.nodeName&&(n=/-(\d+)$/.exec(r.id))&&+n[1]<u.length)return i.applyCompletion(t,u[+n[1]]),void e.preventDefault()})),this.dom.addEventListener("focusout",(function(e){var n=t.state.field(i.stateField,!1);n&&n.tooltip&&t.state.facet(C).closeOnBlur&&e.relatedTarget!=t.contentDOM&&t.dispatch({effects:w.of(null)})})),this.list=this.dom.appendChild(this.createListBox(u,a.id,this.range)),this.list.addEventListener("scroll",(function(){i.info&&i.view.requestMeasure(i.placeInfoReq)}))}return(0,u.Z)(e,[{key:"mount",value:function(){this.updateSel()}},{key:"update",value:function(e){var t,n,r,i=e.state.field(this.stateField),o=e.startState.field(this.stateField);this.updateTooltipClass(e.state),i!=o&&(this.updateSel(),(null===(t=i.open)||void 0===t?void 0:t.disabled)!=(null===(n=o.open)||void 0===n?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(null===(r=i.open)||void 0===r?void 0:r.disabled)))}},{key:"updateTooltipClass",value:function(e){var t=this.tooltipClass(e);if(t!=this.currentClass){var n,r=(0,s.Z)(this.currentClass.split(" "));try{for(r.s();!(n=r.n()).done;){var i=n.value;i&&this.dom.classList.remove(i)}}catch(u){r.e(u)}finally{r.f()}var o,a=(0,s.Z)(t.split(" "));try{for(a.s();!(o=a.n()).done;){var l=o.value;l&&this.dom.classList.add(l)}}catch(u){a.e(u)}finally{a.f()}this.currentClass=t}}},{key:"positioned",value:function(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}},{key:"updateSel",value:function(){var e=this,t=this.view.state.field(this.stateField),n=t.open;if((n.selected>-1&&n.selected<this.range.from||n.selected>=this.range.to)&&(this.range=P(n.options.length,n.selected,this.view.state.facet(C).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(n.options,t.id,this.range)),this.list.addEventListener("scroll",(function(){e.info&&e.view.requestMeasure(e.placeInfoReq)}))),this.updateSelectedOption(n.selected)){this.destroyInfo();var r=n.options[n.selected].completion,i=r.info;if(!i)return;var o="string"===typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then((function(n){n&&e.view.state.field(e.stateField,!1)==t&&e.addInfoPane(n,r)})).catch((function(t){return(0,h.OO)(e.view.state,t,"completion info")})):this.addInfoPane(o,r)}}},{key:"addInfoPane",value:function(e,t){this.destroyInfo();var n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{var r=e.dom,i=e.destroy;n.appendChild(r),this.infoDestroy=i||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}},{key:"updateSelectedOption",value:function(e){for(var t=null,n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--;return t&&function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();r.top<n.top?e.scrollTop-=n.top-r.top:r.bottom>n.bottom&&(e.scrollTop+=r.bottom-n.bottom)}(this.list,t),t}},{key:"measureInfo",value:function(){var e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;var t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){var o=this.dom.ownerDocument.defaultView||window;i={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(C).positionInfo(this.view,t,r,n,i)}},{key:"placeInfo",value:function(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}},{key:"createListBox",value:function(e,t,n){var r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(var i=null,o=n.from;o<n.to;o++){var a=e[o],l=a.completion,u=a.match,c=l.section;if(c){var h="string"==typeof c?c:c.name;if(h!=i&&(o>n.from||0==n.from))if(i=h,"string"!=typeof c&&c.header)r.appendChild(c.header(c));else r.appendChild(document.createElement("completion-section")).textContent=h}var f=r.appendChild(document.createElement("li"));f.id=t+"-"+o,f.setAttribute("role","option");var d=this.optionClass(l);d&&(f.className=d);var p,m=(0,s.Z)(this.optionContent);try{for(m.s();!(p=m.n()).done;){var g=(0,p.value)(l,this.view.state,u);g&&f.appendChild(g)}}catch(v){m.e(v)}finally{m.f()}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}},{key:"destroyInfo",value:function(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}},{key:"destroy",value:function(){this.destroyInfo()}}]),e}();function D(e,t){return function(n){return new _(n,e,t)}}function Z(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}var N=function(){function e(t,n,r,i,o,a){(0,l.Z)(this,e),this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=o,this.disabled=a}return(0,u.Z)(e,[{key:"setSelected",value:function(t,n){return t==this.selected||t>=this.options.length?this:new e(this.options,M(n,t),this.tooltip,this.timestamp,t,this.disabled)}},{key:"map",value:function(t){return new e(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}],[{key:"build",value:function(t,n,r,i,o){var a=function(e,t){var n,r=[],i=null,o=function(e){r.push(e);var t=e.completion.section;if(t){i||(i=[]);var n="string"==typeof t?t:t.name;i.some((function(e){return e.name==n}))||i.push("string"==typeof t?{name:n}:t)}},a=(0,s.Z)(e);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l.hasResult()){var u=l.result.getMatch;if(!1===l.result.filter){var c,h=(0,s.Z)(l.result.options);try{for(h.s();!(c=h.n()).done;){var f=c.value;o(new v(f,l.source,u?u(f):[],1e9-r.length))}}catch(I){h.e(I)}finally{h.f()}}else{var d,p=new T(t.sliceDoc(l.from,l.to)),m=(0,s.Z)(l.result.options);try{for(m.s();!(d=m.n()).done;){var g=d.value;if(p.match(g.label)){var O=g.displayLabel?u?u(g,p.matched):[]:p.matched;o(new v(g,l.source,O,p.score+(g.boost||0)))}}}catch(I){m.e(I)}finally{m.f()}}}}}catch(I){a.e(I)}finally{a.f()}if(i){var y,b=Object.create(null),k=0,S=(0,s.Z)(i.sort((function(e,t){var n,r;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)})));try{for(S.s();!(y=S.n()).done;){var x=y.value;k-=1e5,b[x.name]=k}}catch(I){S.e(I)}finally{S.f()}var w,E=(0,s.Z)(r);try{for(E.s();!(w=E.n()).done;){var A=w.value,P=A.completion.section;P&&(A.score+=b["string"==typeof P?P:P.name])}}catch(I){E.e(I)}finally{E.f()}}var _,D=[],N=null,Q=t.facet(C).compareCompletions,R=(0,s.Z)(r.sort((function(e,t){return t.score-e.score||Q(e.completion,t.completion)})));try{for(R.s();!(_=R.n()).done;){var M=_.value,$=M.completion;!N||N.label!=$.label||N.detail!=$.detail||null!=N.type&&null!=$.type&&N.type!=$.type||N.apply!=$.apply||N.boost!=$.boost?D.push(M):Z(M.completion)>Z(N)&&(D[D.length-1]=M),N=M.completion}}catch(I){R.e(I)}finally{R.f()}return D}(t,n);if(!a.length)return i&&t.some((function(e){return 1==e.state}))?new e(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;var l=n.facet(C).selectOnOpen?0:-1;if(i&&i.selected!=l&&-1!=i.selected)for(var u=i.options[i.selected].completion,c=0;c<a.length;c++)if(a[c].completion==u){l=c;break}return new e(a,M(r,l),{pos:t.reduce((function(e,t){return t.hasResult()?Math.min(e,t.from):e}),1e8),create:D(z,U),above:o.aboveCursor},i?i.timestamp:Date.now(),l,!1)}}]),e}(),Q=function(){function e(t,n,r){(0,l.Z)(this,e),this.active=t,this.id=n,this.open=r}return(0,u.Z)(e,[{key:"update",value:function(t){var n=this,r=t.state,i=r.facet(C),o=(i.override||r.languageDataAt("autocomplete",O(r)).map(S)).map((function(e){return(n.active.find((function(t){return t.source==e}))||new L(e,n.active.some((function(e){return 0!=e.state}))?1:0)).update(t,i)}));o.length==this.active.length&&o.every((function(e,t){return e==n.active[t]}))&&(o=this.active);var a=this.open;a&&t.docChanged&&(a=a.map(t.changes)),t.selection||o.some((function(e){return e.hasResult()&&t.changes.touchesRange(e.from,e.to)}))||!function(e,t){if(e==t)return!0;for(var n=0,r=0;;){for(;n<e.length&&!e[n].hasResult;)n++;for(;r<t.length&&!t[r].hasResult;)r++;var i=n==e.length,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(o,this.active)?a=N.build(o,r,this.id,a,i):a&&a.disabled&&!o.some((function(e){return 1==e.state}))&&(a=null),!a&&o.every((function(e){return 1!=e.state}))&&o.some((function(e){return e.hasResult()}))&&(o=o.map((function(e){return e.hasResult()?new L(e.source,0):e})));var l,u=(0,s.Z)(t.effects);try{for(u.s();!(l=u.n()).done;){var c=l.value;c.is(j)&&(a=a&&a.setSelected(c.value,this.id))}}catch(h){u.e(h)}finally{u.f()}return o==this.active&&a==this.open?this:new e(o,this.id,a)}},{key:"tooltip",get:function(){return this.open?this.open.tooltip:null}},{key:"attrs",get:function(){return this.open?this.open.attrs:R}}],[{key:"start",value:function(){return new e($,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}}]),e}();var R={"aria-autocomplete":"list"};function M(e,t){var n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}var $=[];function I(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}var L=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;(0,l.Z)(this,e),this.source=t,this.state=n,this.explicitPos=r}return(0,u.Z)(e,[{key:"hasResult",value:function(){return!1}},{key:"update",value:function(t,n){var r=I(t),i=this;r?i=i.handleUserEvent(t,r,n):t.docChanged?i=i.handleChange(t):t.selection&&0!=i.state&&(i=new e(i.source,0));var o,a=(0,s.Z)(t.effects);try{for(a.s();!(o=a.n()).done;){var l=o.value;if(l.is(x))i=new e(i.source,1,l.value?O(t.state):-1);else if(l.is(w))i=new e(i.source,0);else if(l.is(B)){var u,c=(0,s.Z)(l.value);try{for(c.s();!(u=c.n()).done;){var h=u.value;h.source==i.source&&(i=h)}}catch(f){c.e(f)}finally{c.f()}}}}catch(f){a.e(f)}finally{a.f()}return i}},{key:"handleUserEvent",value:function(t,n,r){return"delete"!=n&&r.activateOnTyping?new e(this.source,1):this.map(t.changes)}},{key:"handleChange",value:function(t){return t.changes.touchesRange(O(t.startState))?new e(this.source,0):this.map(t.changes)}},{key:"map",value:function(t){return t.empty||this.explicitPos<0?this:new e(this.source,this.state,t.mapPos(this.explicitPos))}}]),e}(),F=function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(e,r,i,o,a){var s;return(0,l.Z)(this,n),(s=t.call(this,e,2,r)).result=i,s.from=o,s.to=a,s}return(0,u.Z)(n,[{key:"hasResult",value:function(){return!0}},{key:"handleUserEvent",value:function(e,t,r){var i,o=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),s=O(e.state);if((this.explicitPos<0?s<=o:s<this.from)||s>a||"delete"==t&&O(e.startState)==this.from)return new L(this.source,"input"==t&&r.activateOnTyping?1:0);var l,u=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return function(e,t,n,r){if(!e)return!1;var i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):y(e,!0).test(i)}(this.result.validFor,e.state,o,a)?new n(this.source,u,this.result,o,a):this.result.update&&(l=this.result.update(this.result,o,a,new d(e.state,s,u>=0)))?new n(this.source,u,l,l.from,null!==(i=l.to)&&void 0!==i?i:O(e.state)):new L(this.source,1,u)}},{key:"handleChange",value:function(e){return e.changes.touchesRange(this.from,this.to)?new L(this.source,0):this.map(e.changes)}},{key:"map",value:function(e){return e.empty?this:new n(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}]),n}(L);var B=c.Py.define({map:function(e,t){return e.map((function(e){return e.map(t)}))}}),j=c.Py.define(),z=c.QQ.define({create:function(){return Q.start()},update:function(e,t){return e.update(t)},provide:function(e){return[h.hJ.from(e,(function(e){return e.tooltip})),h.tk.contentAttributes.from(e,(function(e){return e.attrs}))]}});function U(e,t){var n=t.completion.apply||t.completion.label,r=e.state.field(z).active.find((function(e){return e.source==t.source}));return r instanceof F&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,r){var i=e.selection.main,o=n-i.from,a=r-i.from;return Object.assign(Object.assign({},e.changeByRange((function(s){return s!=i&&n!=r&&e.sliceDoc(s.from+o,s.from+a)!=e.sliceDoc(n,r)?{range:s}:{changes:{from:s.from+o,to:r==i.from?s.to:s.from+a,insert:t},range:c.jT.cursor(s.from+o+t.length)}}))),{userEvent:"input.complete"})}(e.state,n,r.from,r.to)),{annotations:b.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}function Y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"option";return function(n){var r=n.state.field(z,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(C).interactionDelay)return!1;var i,o=1;"page"==t&&(i=(0,h.gB)(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));var a=r.open.options.length,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:a-1;return s<0?s="page"==t?0:a-1:s>=a&&(s="page"==t?a-1:0),n.dispatch({effects:j.of(s)}),!0}}var X=(0,u.Z)((function e(t,n){(0,l.Z)(this,e),this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0})),H=h.lg.fromClass(function(){function e(t){(0,l.Z)(this,e),this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;var n,r=(0,s.Z)(t.state.field(z).active);try{for(r.s();!(n=r.n()).done;){var i=n.value;1==i.state&&this.startQuery(i)}}catch(o){r.e(o)}finally{r.f()}}return(0,u.Z)(e,[{key:"update",value:function(e){var t=this,n=e.state.field(z);if(e.selectionSet||e.docChanged||e.startState.field(z)!=n){for(var r=e.transactions.some((function(e){return(e.selection||e.docChanged)&&!I(e)})),i=0;i<this.running.length;i++){var a=this.running[i];if(r||a.updates.length+e.transactions.length>50&&Date.now()-a.time>1e3){var l,u=(0,s.Z)(a.context.abortListeners);try{for(u.s();!(l=u.n()).done;){var c=l.value;try{c()}catch(g){(0,h.OO)(this.view.state,g)}}}catch(v){u.e(v)}finally{u.f()}a.context.abortListeners=null,this.running.splice(i--,1)}else{var f;(f=a.updates).push.apply(f,(0,o.Z)(e.transactions))}}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=n.active.some((function(e){return 1==e.state&&!t.running.some((function(t){return t.active.source==e.source}))}))?setTimeout((function(){return t.startUpdate()}),50):-1,0!=this.composing){var d,p=(0,s.Z)(e.transactions);try{for(p.s();!(d=p.n()).done;){var m=d.value;"input"==I(m)?this.composing=2:2==this.composing&&m.selection&&(this.composing=3)}}catch(v){p.e(v)}finally{p.f()}}}}},{key:"startUpdate",value:function(){var e=this;this.debounceUpdate=-1;var t,n=this.view.state.field(z),r=(0,s.Z)(n.active);try{var i=function(){var n=t.value;1!=n.state||e.running.some((function(e){return e.active.source==n.source}))||e.startQuery(n)};for(r.s();!(t=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}}},{key:"startQuery",value:function(e){var t=this,n=this.view.state,r=O(n),i=new d(n,r,e.explicitPos==r),o=new X(e,i);this.running.push(o),Promise.resolve(e.source(i)).then((function(e){o.context.aborted||(o.done=e||null,t.scheduleAccept())}),(function(e){t.view.dispatch({effects:w.of(null)}),(0,h.OO)(t.view.state,e)}))}},{key:"scheduleAccept",value:function(){var e=this;this.running.every((function(e){return void 0!==e.done}))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((function(){return e.accept()}),50))}},{key:"accept",value:function(){var e,t=this;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;for(var n=[],r=this.view.state.facet(C),i=function(i){var a=t.running[i];if(void 0===a.done)return o=i,0;if(t.running.splice(i--,1),a.done){var l,u=new F(a.active.source,a.active.explicitPos,a.done,a.done.from,null!==(e=a.done.to)&&void 0!==e?e:O(a.updates.length?a.updates[0].startState:t.view.state)),c=(0,s.Z)(a.updates);try{for(c.s();!(l=c.n()).done;){var h=l.value;u=u.update(h,r)}}catch(v){c.e(v)}finally{c.f()}if(u.hasResult())return n.push(u),o=i,0}var f=t.view.state.field(z).active.find((function(e){return e.source==a.active.source}));if(f&&1==f.state)if(null==a.done){var d,p=new L(a.active.source,0),m=(0,s.Z)(a.updates);try{for(m.s();!(d=m.n()).done;){var g=d.value;p=p.update(g,r)}}catch(v){m.e(v)}finally{m.f()}1!=p.state&&n.push(p)}else t.startQuery(f);o=i},o=0;o<this.running.length;o++)i(o);n.length&&this.view.dispatch({effects:B.of(n)})}}]),e}(),{eventHandlers:{blur:function(e){var t=this.view.state.field(z,!1);if(t&&t.tooltip&&this.view.state.facet(C).closeOnBlur){var n=t.open&&(0,h.gB)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||this.view.dispatch({effects:w.of(null)})}},compositionstart:function(){this.composing=1},compositionend:function(){var e=this;3==this.composing&&setTimeout((function(){return e.view.dispatch({effects:x.of(!1)})}),20),this.composing=0}}}),W=h.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"".concat(400,"px"),boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"".concat(30,"px")},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"".concat(30,"px")},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25cb'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25cc'"}},".cm-completionIcon-variable":{"&:after":{content:"'\ud835\udc65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\ud835\udc36'"}},".cm-completionIcon-type":{"&:after":{content:"'\ud835\udc61'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222a'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25a1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\ud83d\udd11\ufe0e'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25a2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),q=(0,u.Z)((function e(t,n,r,i){(0,l.Z)(this,e),this.field=t,this.line=n,this.from=r,this.to=i})),G=function(){function e(t,n,r){(0,l.Z)(this,e),this.field=t,this.from=n,this.to=r}return(0,u.Z)(e,[{key:"map",value:function(t){var n=t.mapPos(this.from,-1,c.gc.TrackDel),r=t.mapPos(this.to,1,c.gc.TrackDel);return null==n||null==r?null:new e(this.field,n,r)}}]),e}(),V=function(){function e(t,n){(0,l.Z)(this,e),this.lines=t,this.fieldPositions=n}return(0,u.Z)(e,[{key:"instantiate",value:function(e,t){var n,r=[],i=[t],o=e.doc.lineAt(t),a=/^\s*/.exec(o.text)[0],l=(0,s.Z)(this.lines);try{for(l.s();!(n=l.n()).done;){var u=n.value;if(r.length){for(var c=a,h=/^\t*/.exec(u)[0].length,d=0;d<h;d++)c+=e.facet(f.c);i.push(t+c.length-h),u=c+u.slice(h)}r.push(u),t+=u.length+1}}catch(m){l.e(m)}finally{l.f()}var p=this.fieldPositions.map((function(e){return new G(e.field,i[e.line]+e.from,i[e.line]+e.to)}));return{text:r,ranges:p}}}],[{key:"parse",value:function(t){var n,r,i=[],o=[],a=[],l=(0,s.Z)(t.split(/\r\n?|\n/));try{for(l.s();!(r=l.n()).done;){for(var u,c=r.value;n=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(c);){for(var h=n[1]?+n[1]:null,f=n[2]||n[3]||"",d=-1,p=0;p<i.length;p++)(null!=h?i[p].seq==h:f&&i[p].name==f)&&(d=p);if(d<0){for(var m=0;m<i.length&&(null==h||null!=i[m].seq&&i[m].seq<h);)m++;i.splice(m,0,{seq:h,name:f}),d=m;var g,v=(0,s.Z)(a);try{for(v.s();!(g=v.n()).done;){var O=g.value;O.field>=d&&O.field++}}catch(S){v.e(S)}finally{v.f()}}a.push(new q(d,o.length,n.index,n.index+f.length)),c=c.slice(0,n.index)+f+c.slice(n.index+n[0].length)}for(;u=/\\([{}])/.exec(c);){c=c.slice(0,u.index)+u[1]+c.slice(u.index+u[0].length);var y,b=(0,s.Z)(a);try{for(b.s();!(y=b.n()).done;){var k=y.value;k.line==o.length&&k.from>u.index&&(k.from--,k.to--)}}catch(S){b.e(S)}finally{b.f()}}o.push(c)}}catch(S){l.e(S)}finally{l.f()}return new e(o,a)}}]),e}(),J=h.p.widget({widget:new(function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}},{key:"ignoreEvent",value:function(){return!1}}]),n}(h.l9))}),K=h.p.mark({class:"cm-snippetField"}),ee=function(){function e(t,n){(0,l.Z)(this,e),this.ranges=t,this.active=n,this.deco=h.p.set(t.map((function(e){return(e.from==e.to?J:K).range(e.from,e.to)})))}return(0,u.Z)(e,[{key:"map",value:function(t){var n,r=[],i=(0,s.Z)(this.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value.map(t);if(!o)return null;r.push(o)}}catch(a){i.e(a)}finally{i.f()}return new e(r,this.active)}},{key:"selectionInsideField",value:function(e){var t=this;return e.ranges.every((function(e){return t.ranges.some((function(n){return n.field==t.active&&n.from<=e.from&&n.to>=e.to}))}))}}]),e}(),te=c.Py.define({map:function(e,t){return e&&e.map(t)}}),ne=c.Py.define(),re=c.QQ.define({create:function(){return null},update:function(e,t){var n,r=(0,s.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.is(te))return i.value;if(i.is(ne)&&e)return new ee(e.ranges,i.value)}}catch(o){r.e(o)}finally{r.f()}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:function(e){return h.tk.decorations.from(e,(function(e){return e?e.deco:h.p.none}))}});function ie(e,t){return c.jT.create(e.filter((function(e){return e.field==t})).map((function(e){return c.jT.range(e.from,e.to)})))}function oe(e){var t=V.parse(e);return function(e,n,r,i){var o=t.instantiate(e.state,r),a=o.text,s=o.ranges,l={changes:{from:r,to:i,insert:c.xv.of(a)},scrollIntoView:!0,annotations:n?b.of(n):void 0};if(s.length&&(l.selection=ie(s,0)),s.length>1){var u=new ee(s,0),h=l.effects=[te.of(u)];void 0===e.state.field(re,!1)&&h.push(c.Py.appendConfig.of([re,ue,he,W]))}e.dispatch(e.state.update(l))}}function ae(e){return function(t){var n=t.state,r=t.dispatch,i=n.field(re,!1);if(!i||e<0&&0==i.active)return!1;var o=i.active+e,a=e>0&&!i.ranges.some((function(t){return t.field==o+e}));return r(n.update({selection:ie(i.ranges,o),effects:te.of(a?null:new ee(i.ranges,o))})),!0}}var se=[{key:"Tab",run:ae(1),shift:ae(-1)},{key:"Escape",run:function(e){var t=e.state,n=e.dispatch;return!!t.field(re,!1)&&(n(t.update({effects:te.of(null)})),!0)}}],le=c.r$.define({combine:function(e){return e.length?e[0]:se}}),ue=c.Wl.highest(h.$f.compute([le],(function(e){return e.facet(le)})));function ce(e,t){return Object.assign(Object.assign({},t),{apply:oe(e)})}var he=h.tk.domEventHandlers({mousedown:function(e,t){var n,r=t.state.field(re,!1);if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;var i=r.ranges.find((function(e){return e.from<=n&&e.to>=n}));return!(!i||i.field==r.active)&&(t.dispatch({selection:ie(r.ranges,i.field),effects:te.of(r.ranges.some((function(e){return e.field>i.field}))?new ee(r.ranges,i.field):null)}),!0)}});var fe={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},de=c.Py.define({map:function(e,t){var n=t.mapPos(e,-1,c.gc.TrackAfter);return null==n?void 0:n}}),pe=new(function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n)}(c.uU));pe.startSide=1,pe.endSide=-1;var me=c.QQ.define({create:function(){return c.Xs.empty},update:function(e,t){if(t.selection){var n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=c.Xs.empty)}e=e.map(t.changes);var i,o=(0,s.Z)(t.effects);try{for(o.s();!(i=o.n()).done;){var a=i.value;a.is(de)&&(e=e.update({add:[pe.range(a.value,a.value+1)]}))}}catch(l){o.e(l)}finally{o.f()}return e}});function ge(){return[ke,me]}var ve="()[]{}<>";function Oe(e){for(var t=0;t<ve.length;t+=2)if(ve.charCodeAt(t)==e)return ve.charAt(t+1);return(0,c.bg)(e<128?e:e+1)}function ye(e,t){return e.languageDataAt("closeBrackets",t)[0]||fe}var be="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ke=h.tk.inputHandler.of((function(e,t,n,r){if((be?e.composing:e.compositionStarted)||e.state.readOnly)return!1;var i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,c.nZ)((0,c.gm)(r,0))||t!=i.from||n!=i.to)return!1;var o=function(e,t){var n,r=ye(e,e.selection.main.head),i=r.brackets||fe.brackets,o=(0,s.Z)(i);try{for(o.s();!(n=o.n()).done;){var a=n.value,l=Oe((0,c.gm)(a,0));if(t==a)return l==a?Ee(e,a,i.indexOf(a+a+a)>-1,r):Te(e,a,l,r.before||fe.before);if(t==l&&xe(e,e.selection.main.from))return Ce(e,a,l)}}catch(u){o.e(u)}finally{o.f()}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)})),Se=[{key:"Backspace",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=ye(t,t.selection.main.head).brackets||fe.brackets,i=null,o=t.changeByRange((function(e){if(e.empty){var n,o=function(e,t){var n=e.sliceString(t-2,t);return(0,c.nZ)((0,c.gm)(n,0))==n.length?n:n.slice(1)}(t.doc,e.head),a=(0,s.Z)(r);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l==o&&we(t.doc,e.head)==Oe((0,c.gm)(l,0)))return{changes:{from:e.head-l.length,to:e.head+l.length},range:c.jT.cursor(e.head-l.length)}}}catch(u){a.e(u)}finally{a.f()}}return{range:i=e}}));return i||n(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i}}];function xe(e,t){var n=!1;return e.field(me).between(0,e.doc.length,(function(e){e==t&&(n=!0)})),n}function we(e,t){var n=e.sliceString(t,t+2);return n.slice(0,(0,c.nZ)((0,c.gm)(n,0)))}function Te(e,t,n,r){var i=null,o=e.changeByRange((function(o){if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:de.of(o.to+t.length),range:c.jT.range(o.anchor+t.length,o.head+t.length)};var a=we(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:de.of(o.head+t.length),range:c.jT.cursor(o.head+t.length)}:{range:i=o}}));return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function Ce(e,t,n){var r=null,i=e.changeByRange((function(t){return t.empty&&we(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:c.jT.cursor(t.head+n.length)}:r={range:t}}));return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function Ee(e,t,n,r){var i=r.stringPrefixes||fe.stringPrefixes,o=null,a=e.changeByRange((function(r){if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:de.of(r.to+t.length),range:c.jT.range(r.anchor+t.length,r.head+t.length)};var a,s=r.head,l=we(e.doc,s);if(l==t){if(Ae(e,s))return{changes:{insert:t+t,from:s},effects:de.of(s+t.length),range:c.jT.cursor(s+t.length)};if(xe(e,s)){var u=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+u.length,insert:u},range:c.jT.cursor(s+u.length)}}}else{if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(a=Pe(e,s-2*t.length,i))>-1&&Ae(e,a))return{changes:{insert:t+t+t+t,from:s},effects:de.of(s+t.length),range:c.jT.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=c.D0.Word&&Pe(e,s,i)>-1&&!function(e,t,n,r){for(var i=(0,f.qz)(e).resolveInner(t,-1),o=r.reduce((function(e,t){return Math.max(e,t.length)}),0),a=0;a<5;a++){var s=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){for(var u=i.firstChild;u&&u.from==i.from&&u.to-u.from>n.length+l;){if(e.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}var c=i.to==t&&i.parent;if(!c)break;i=c}return!1}(e,s,t,i))return{changes:{insert:t+t,from:s},effects:de.of(s+t.length),range:c.jT.cursor(s+t.length)}}return{range:o=r}}));return o?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Ae(e,t){var n=(0,f.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function Pe(e,t,n){var r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=c.D0.Word)return t;var i,o=(0,s.Z)(n);try{for(o.s();!(i=o.n()).done;){var a=i.value,l=t-a.length;if(e.sliceDoc(l,t)==a&&r(e.sliceDoc(l-1,l))!=c.D0.Word)return l}}catch(u){o.e(u)}finally{o.f()}return-1}function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[z,C.of(e),H,Ze,W]}var De=[{key:"Ctrl-Space",run:function(e){return!!e.state.field(z,!1)&&(e.dispatch({effects:x.of(!0)}),!0)}},{key:"Escape",run:function(e){var t=e.state.field(z,!1);return!(!t||!t.active.some((function(e){return 0!=e.state})))&&(e.dispatch({effects:w.of(null)}),!0)}},{key:"ArrowDown",run:Y(!0)},{key:"ArrowUp",run:Y(!1)},{key:"PageDown",run:Y(!0,"page")},{key:"PageUp",run:Y(!1,"page")},{key:"Enter",run:function(e){var t=e.state.field(z,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(C).interactionDelay)&&U(e,t.open.options[t.open.selected])}}],Ze=c.Wl.highest(h.$f.computeN([C],(function(e){return e.facet(C).defaultKeymap?[De]:[]})))},4422:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return Z},cssCompletionSource:function(){return _},cssLanguage:function(){return D},defineCSSCompletionSource:function(){return P}});var r=n(726),i=n(8551),o=n(994),a=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function s(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}var l=new i.Jq((function(e,t){for(var n=!1,r=0,i=0;;i++){var o=e.next;if(!(s(o)||45==o||95==o||n&&(a=o,a>=48&&a<=57))){n&&e.acceptToken(40==o?97:2==r&&t.canShift(2)?2:98);break}!n&&(45!=o||i>0)&&(n=!0),r===i&&45==o&&r++,e.advance()}var a})),u=new i.Jq((function(e){if(a.includes(e.peek(-1))){var t=e.next;(s(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(96)}})),c=new i.Jq((function(e){if(!a.includes(e.peek(-1))){var t=e.next;if(37==t&&(e.advance(),e.acceptToken(1)),s(t)){do{e.advance()}while(s(e.next));e.acceptToken(1)}}})),h=(0,o.Gv)({"AtKeyword import charset namespace keyframes media supports":o.pJ.definitionKeyword,"from to selector":o.pJ.keyword,NamespaceName:o.pJ.namespace,KeyframeName:o.pJ.labelName,KeyframeRangeName:o.pJ.operatorKeyword,TagName:o.pJ.tagName,ClassName:o.pJ.className,PseudoClassName:o.pJ.constant(o.pJ.className),IdName:o.pJ.labelName,"FeatureName PropertyName":o.pJ.propertyName,AttributeName:o.pJ.attributeName,NumberLiteral:o.pJ.number,KeywordQuery:o.pJ.keyword,UnaryQueryOp:o.pJ.operatorKeyword,"CallTag ValueName":o.pJ.atom,VariableName:o.pJ.variableName,Callee:o.pJ.operatorKeyword,Unit:o.pJ.unit,"UniversalSelector NestingSelector":o.pJ.definitionOperator,MatchOp:o.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":o.pJ.logicOperator,BinOp:o.pJ.arithmeticOperator,Important:o.pJ.modifier,Comment:o.pJ.blockComment,ColorLiteral:o.pJ.color,"ParenthesizedContent StringLiteral":o.pJ.string,":":o.pJ.punctuation,"PseudoOp #":o.pJ.derefOperator,"; ,":o.pJ.separator,"( )":o.pJ.paren,"[ ]":o.pJ.squareBracket,"{ }":o.pJ.brace}),f={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},d={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},p={__proto__:null,not:128,only:128},m=i.WQ.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<<HaO8rQWO,5;ZOOQP1G/U1G/UOOQS-E8T-E8TO${QdO'#EWO8zQWO,5;WOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO9SQdO7+%ZOOQO7+%b7+%bOOQO,5:i,5:iO3QQdO'#E^O6tQWO,5:wOOQS,5:w,5:wOOQS-E8Z-E8ZOOQS1G0S1G0SO9ZQtO,5:tOOQS-E8W-E8WOOQO<<Hm<<HmOOQPAN={AN={O:XQdO,5:rOOQO-E8U-E8UOOQO<<Hu<<HuOOQO,5:x,5:xOOQO-E8[-E8[OOQS1G0c1G0c",stateData:":k~O#WOS#XQQ~OUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#URO#_TO~OQfOUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#UeO#_TO~O#R#dP~P!ZO#XjO~O#UlO~O]qO^qOpoOtrOxsO|tO!PvO#SuO#_nO~O!RwO~P#pO`}O#TzO#UyO~O#U!OO~O#U!QO~OQ!ZOb!TOf!ZOh!ZOn!YO#T!WO#U!SO#b!UO~Ob!]O!b!_O!e!`O#U![O!R#eP~Oh!eOn!YO#U!dO~Oh!gO#U!gO~Ob!]O!b!_O!e!`O#U![O~O!W#eP~P%gO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#SWX#_WX~O]!lO~O!W!mO#R#dX!Q#dX~O#R#dX!Q#dX~P!ZO#Y!pO#Z!pO#[!rO~OUYOXYO]VO^VOtWOxXO#URO#_TO~OpoO!RwO~O`!yO#TzO#UyO~O!Q#dP~P!ZOb#QO~Ob#RO~Ov#SOz#TO~OP#VObgXjgX!WgX!bgX!egX#UgXagXQgXfgXhgXngXpgX!VgX#RgX#TgX#bgXvgX!QgX~Ob!]Oj#WO!b!_O!e!`O#U![O!W#eP~Ob#ZO~Ob!]O!b!_O!e!`O#U#[O~Op#`O!`#_O!R#eX!W#eX~Ob#cO~Oj#WO!W#eO~O!W#fO~Oh#gOn!YO~O!R#hO~O!RwO!`#_O~O!RwO!W#kO~O!W!}X#R!}X!Q!}X~P!ZO!W!mO#R#da!Q#da~O#Y!pO#Z!pO#[#rO~O]qO^qOtrOxsO|tO!PvO#SuO#_nO~Op!{a!R!{aa!{a~P.QOv#tOz#uO~O]qO^qOtrOxsO#_nO~Op{i|{i!P{i!R{i#S{ia{i~P/ROp}i|}i!P}i!R}i#S}ia}i~P/ROp!Oi|!Oi!P!Oi!R!Oi#S!Oia!Oi~P/RO!Q#vO~Oa#cP~P(^Oa#`P~P${Oa#}Oj#WO~O!W$PO~Oh$QOo$QO~O]!^Xa![X!`![X~O]$RO~Oa$SO!`#_O~Op#`O!R#ea!W#ea~O!`#_Op!aa!R!aa!W!aaa!aa~O!W$XO~O!Q$`O#U$ZO#b$YO~Oj#WOp$bO!V$dO!W!Ti#R!Ti!Q!Ti~P${O!W!}a#R!}a!Q!}a~P!ZO!W!mO#R#di!Q#di~Oa#cX~P#pOa$hO~Oj#WOQ!yXa!yXb!yXf!yXh!yXn!yXp!yX#T!yX#U!yX#b!yX~Op$jOa#`X~P${Oa$lO~Oj#WOv$mO~Oa$nO~O!`#_Op#Oa!R#Oa!W#Oa~Oa$pO~P.QOP#VOpgX!RgX~O#b$YOp!qX!R!qX~Op$rO!RwO~O!Q$vO#U$ZO#b$YO~Oj#WOQ!|Xb!|Xf!|Xh!|Xn!|Xp!|X!V!|X!W!|X#R!|X#T!|X#U!|X#b!|X!Q!|X~Op$bO!V$yO!W!Tq#R!Tq!Q!Tq~P${Oj#WOv$zO~OpoOa#ca~Op$jOa#`a~Oa$}O~P${Oj#WOQ!|ab!|af!|ah!|an!|ap!|a!V!|a!W!|a#R!|a#T!|a#U!|a#b!|a!Q!|a~Oa!zap!za~P${O#Wo#X#bj!P#b~",goto:"-Y#gPPP#hP#kP#t$TP#t$d#tPP$jPPP$p$y$yP%]P$yP$y%w&ZPPP&s&y#tP'PP#tP'VP#tP#t#tPPP']'r(PPP#kPP(W(W(b(WP(WP(W(WP#kP#kP#kP(e#kP(h(k(n(u#kP#kP(z)Q)a)o)u*P*V*a*g*mPPPPPPPPPP*s*|P+i+lP,b,e,k,tRkQ_bOPdhw!m#nkYOPdhotuvw!m#Q#c#nkSOPdhotuvw!m#Q#c#nQmTR!snQ{VR!wqQ!w}Q#Y!XR#s!yq!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${U$]#h$_$rR$q$[q!XZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${Q!e^R#g!fQ|VR!xqQ!w|R#s!xQ!PWR!zrQ!RXR!{sQxUQ!vpQ#d!bQ#j!iQ#k!jQ$t$^R%Q$sSgPwQ!ohQ#m!mR$e#nZfPhw!m#na!a[`a!V!]!_#_#`R#]!]R!f^R!h_R#i!hS$^#h$_R%O$rV$[#h$_$rQ!qjR#q!qQdOShPwU!kdh#nR#n!mQ#z#RU$i#z$o${Q$o$RR${$jQ$k#zR$|$kQpUS!up$gR$g#wQ$c#lR$x$cQ!ngS#o!n#pR#p!oQ#a!^R$V#aQ$_#hR$u$_Q$s$^R%P$s_cOPdhw!m#n^UOPdhw!m#nQ!toQ!|tQ!}uQ#OvQ#w#QR$W#cR#{#RQ!VZQ!c]Q#U!TQ#l!l[#y#R#z$R$j$o${Q#|#TQ$O#WS$a#l$cQ$f#uR$w$bR#x#QQiPR#PwQ!b[Q!jaR#X!VU!^[a!VQ!i`Q#^!]Q#b!_Q$T#_R$U#`",nodeNames:"\u26a0 Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:114,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[h],skippedNodes:[0,3,85],repeatNodeCount:10,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#W~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#W~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!V[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYtQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QSzSo`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!PQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#b[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[u,c,l,1,2,3,4,new i.RA("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:function(e){return f[e]||-1}},{term:56,get:function(e){return d[e]||-1}},{term:98,get:function(e){return p[e]||-1}}],tokenPrec:1169}),g=n(4019),v=n(1330),O=null;function y(){if(!O&&"object"==typeof document&&document.body){var e=document.body.style,t=[],n=new Set;for(var r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))),n.has(r)||(t.push(r),n.add(r)));O=t.sort().map((function(e){return{type:"property",label:e}}))}return O||[]}var b=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map((function(e){return{type:"class",label:e}})),k=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((function(e){return{type:"keyword",label:e}})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((function(e){return{type:"constant",label:e}}))),S=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((function(e){return{type:"type",label:e}})),x=/^(\w[\w-]*|-\w[\w-]*|)$/,w=/^-(-[\w-]*)?$/;var T=new v.hr,C=["Declaration"];function E(e){for(var t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function A(e,t,n){if(t.to-t.from>4096){var i=T.get(t);if(i)return i;var o=[],a=new Set,s=t.cursor(v.vj.IncludeAnonymous);if(s.firstChild())do{var l,u=(0,r.Z)(A(e,s.node,n));try{for(u.s();!(l=u.n()).done;){var c=l.value;a.has(c.label)||(a.add(c.label),o.push(c))}}catch(d){u.e(d)}finally{u.f()}}while(s.nextSibling());return T.set(t,o),o}var h=[],f=new Set;return t.cursor().iterate((function(t){var r;if(n(t)&&t.matchContext(C)&&":"==(null===(r=t.node.nextSibling)||void 0===r?void 0:r.name)){var i=e.sliceString(t.from,t.to);f.has(i)||(f.add(i),h.push({label:i,type:"variable"}))}})),h}var P=function(e){return function(t){var n=t.state,r=t.pos,i=(0,g.qz)(n).resolveInner(r,-1),o=i.type.isError&&i.from==i.to-1&&"-"==n.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(o||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:y(),validFor:x};if("ValueName"==i.name)return{from:i.from,options:k,validFor:x};if("PseudoClassName"==i.name)return{from:i.from,options:b,validFor:x};if(e(i)||(t.explicit||o)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;var r=null===(n=e.parent)||void 0===n?void 0:n.firstChild;return"Callee"==(null===r||void 0===r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)}(i,n.doc))return{from:e(i)||o?i.from:r,options:A(n.doc,E(i),e),validFor:w};if("TagName"==i.name){for(var a=i.parent;a;a=a.parent)if("Block"==a.name)return{from:i.from,options:y(),validFor:x};return{from:i.from,options:S,validFor:x}}if(!t.explicit)return null;var s=i.resolve(r),l=s.childBefore(r);return l&&":"==l.name&&"PseudoClassSelector"==s.name?{from:r,options:b,validFor:x}:l&&":"==l.name&&"Declaration"==s.name||"ArgList"==s.name?{from:r,options:k,validFor:x}:"Block"==s.name||"Styles"==s.name?{from:r,options:y(),validFor:x}:null}},_=P((function(e){return"VariableName"==e.name})),D=g.qp.define({name:"css",parser:m.configure({props:[g.uj.add({Declaration:(0,g.tC)()}),g.x0.add({"Block KeyframeList":g.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Z(){return new g.ri(D,D.data.of({autocomplete:_}))}},292:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return Te},html:function(){return xe},htmlCompletionSource:function(){return ve},htmlCompletionSourceWith:function(){return Oe},htmlLanguage:function(){return Se},htmlPlain:function(){return ke}});var r=n(1976),i=n(2951),o=n(726),a=n(8551),s=n(994),l=n(1330),u=20,c=22,h=23,f=24,d=26,p=27,m=28,g=31,v=34,O=37,y={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},b={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},k={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function S(e){return 9==e||10==e||13==e||32==e}var x=null,w=null,T=0;function C(e,t){var n=e.pos+t;if(T==n&&w==e)return x;for(var r=e.peek(t);S(r);)r=e.peek(++t);for(var i,o="";45==(i=r)||46==i||58==i||i>=65&&i<=90||95==i||i>=97&&i<=122||i>=161;)o+=String.fromCharCode(r),r=e.peek(++t);return w=e,T=n,x=o?o.toLowerCase():r==E||r==A?void 0:null}var E=63,A=33;function P(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(var n=0;n<e.length;n++)this.hash+=(this.hash<<4)+e.charCodeAt(n)+(e.charCodeAt(n)<<8)}var _=[6,10,7,8,9],D=new a.IK({start:null,shift:function(e,t,n,r){return _.indexOf(t)>-1?new P(C(r,1)||"",e):e},reduce:function(e,t){return t==u&&e?e.parent:e},reuse:function(e,t,n,r){var i=t.type.id;return 6==i||36==i?new P(C(r,1)||"",e):e},hash:function(e){return e?e.hash:0},strict:!1}),Z=new a.Jq((function(e,t){if(60==e.next){e.advance();var n=47==e.next;n&&e.advance();var r=C(e,0);if(void 0!==r){if(!r)return e.acceptToken(n?14:6);var i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(11);if(i&&b[i])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(var o=t.context;o;o=o.parent)if(o.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(y.hasOwnProperty(r))return e.acceptToken(10);i&&k[i]&&k[i][r]?e.acceptToken(57,-1):e.acceptToken(6)}}}else e.next<0&&t.context&&e.acceptToken(57)}),{contextual:!0}),N=new a.Jq((function(e){for(var t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>3&&e.acceptToken(58,-2);break}t=0}e.advance()}}));var Q=new a.Jq((function(e,t){if(47==e.next&&62==e.peek(1)){var n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}));function R(e,t,n){var r=2+e.length;return new a.Jq((function(i){for(var o=0,a=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(0==o&&60==i.next||1==o&&47==i.next||o>=2&&o<r&&i.next==e.charCodeAt(o-2))o++,a++;else if(2!=o&&o!=r||!S(i.next)){if(o==r&&62==i.next){s>a?i.acceptToken(t,-a):i.acceptToken(n,-(a-2));break}if((10==i.next||13==i.next)&&s){i.acceptToken(t,1);break}o=a=0}else a++;i.advance()}}))}var M=R("script",54,1),$=R("style",55,2),I=R("textarea",56,3),L=(0,s.Gv)({"Text RawText":s.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":s.pJ.angleBracket,TagName:s.pJ.tagName,"MismatchedCloseTag/TagName":[s.pJ.tagName,s.pJ.invalid],AttributeName:s.pJ.attributeName,"AttributeValue UnquotedAttributeValue":s.pJ.attributeValue,Is:s.pJ.definitionOperator,"EntityReference CharacterReference":s.pJ.character,Comment:s.pJ.blockComment,ProcessingInst:s.pJ.processingInstruction,DoctypeDecl:s.pJ.documentMeta}),F=a.WQ.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26a0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:D,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[L],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[M,$,I,Q,Z,N,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function B(e,t){var n,r=Object.create(null),i=(0,o.Z)(e.getChildren(h));try{for(i.s();!(n=i.n()).done;){var a=n.value,s=a.getChild(f),l=a.getChild(d)||a.getChild(p);s&&(r[t.read(s.from,s.to)]=l?l.type.id==d?t.read(l.from+1,l.to-1):t.read(l.from,l.to):"")}}catch(u){i.e(u)}finally{i.f()}return r}function j(e,t){var n=e.getChild(c);return n?t.read(n.from,n.to):" "}function z(e,t,n){var r,i,a=(0,o.Z)(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(!s.attrs||s.attrs(r||(r=B(e.node.parent.firstChild,t))))return{parser:s.parser}}}catch(l){a.e(l)}finally{a.f()}return null}function U(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],i=[],a=[],s=[],c=(0,o.Z)(t);try{for(c.s();!(e=c.n()).done;){var f=e.value;("script"==f.tag?r:"style"==f.tag?i:"textarea"==f.tag?a:s).push(f)}}catch(x){c.e(x)}finally{c.f()}var y,b=n.length?Object.create(null):null,k=(0,o.Z)(n);try{for(k.s();!(y=k.n()).done;){var S=y.value;(b[S.name]||(b[S.name]=[])).push(S)}}catch(x){k.e(x)}finally{k.f()}return(0,l.FE)((function(e,t){var n=e.type.id;if(n==m)return z(e,t,r);if(n==g)return z(e,t,i);if(n==v)return z(e,t,a);if(n==u&&s.length){var l,c=e.node,f=c.firstChild,y=f&&j(f,t);if(y)for(var k=0,S=s;k<S.length;k++){var w=S[k];if(w.tag==y&&(!w.attrs||w.attrs(l||(l=B(c,t))))){var T=c.lastChild;return{parser:w.parser,overlay:[{from:f.to,to:T.type.id==O?T.from:c.to}]}}}}if(b&&n==h){var C,E=e.node;if(C=E.firstChild){var A=b[t.read(C.from,C.to)];if(A){var P,_=(0,o.Z)(A);try{for(_.s();!(P=_.n()).done;){var D=P.value;if(!D.tagName||D.tagName==j(E.parent,t)){var Z=E.lastChild;if(Z.type.id==d){var N=Z.from+1,Q=Z.lastChild,R=Z.to-(Q&&Q.isError?0:1);if(R>N)return{parser:D.parser,overlay:[{from:N,to:R}]}}else if(Z.type.id==p)return{parser:D.parser,overlay:[{from:Z.from,to:Z.to}]}}}}catch(x){_.e(x)}finally{_.f()}}}}return null}))}var Y,X=n(4422),H=n(7131),W=n(52),q=n(5224),G=n(4019),V=["_blank","_self","_top","_parent"],J=["ascii","utf-8","utf-16","latin1","latin1"],K=["get","post","put","delete"],ee=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],te=["true","false"],ne={},re={a:{attrs:{href:null,ping:null,type:null,media:null,target:V,hreflang:null}},abbr:ne,address:ne,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ne,aside:ne,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ne,base:{attrs:{href:null,target:V}},bdi:ne,bdo:ne,blockquote:{attrs:{cite:null}},body:ne,br:ne,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:ee,formmethod:K,formnovalidate:["novalidate"],formtarget:V,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ne,center:ne,cite:ne,code:ne,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:ne,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ne,div:ne,dl:ne,dt:ne,em:ne,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ne,figure:ne,footer:ne,form:{attrs:{action:null,name:null,"accept-charset":J,autocomplete:["on","off"],enctype:ee,method:K,novalidate:["novalidate"],target:V}},h1:ne,h2:ne,h3:ne,h4:ne,h5:ne,h6:ne,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:ne,hgroup:ne,hr:ne,html:{attrs:{manifest:null}},i:ne,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:ee,formmethod:K,formnovalidate:["novalidate"],formtarget:V,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:ne,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ne,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:ne,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:J,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:ne,noscript:ne,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:ne,param:{attrs:{name:null,value:null}},pre:ne,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ne,rt:ne,ruby:ne,samp:ne,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:J}},section:ne,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ne,source:{attrs:{src:null,type:null,media:null}},span:ne,strong:ne,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ne,summary:ne,sup:ne,table:ne,tbody:ne,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ne,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:ne,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ne,time:{attrs:{datetime:null}},title:ne,tr:ne,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ne,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:ne},ie={accesskey:null,class:null,contenteditable:te,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:te,autocorrect:te,autocapitalize:te,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":te,"aria-autocomplete":["inline","list","both","none"],"aria-busy":te,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":te,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":te,"aria-hidden":te,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":te,"aria-multiselectable":te,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":te,"aria-relevant":null,"aria-required":te,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},oe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((function(e){return"on"+e})),ae=(0,o.Z)(oe);try{for(ae.s();!(Y=ae.n()).done;){var se=Y.value;ie[se]=null}}catch(Ce){ae.e(Ce)}finally{ae.f()}var le=(0,r.Z)((function e(t,n){(0,i.Z)(this,e),this.tags=Object.assign(Object.assign({},re),t),this.globalAttrs=Object.assign(Object.assign({},ie),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}));function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;if(!t)return"";var r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function ce(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function he(e,t,n){var r=n.tags[ue(e,ce(t))];return(null===r||void 0===r?void 0:r.children)||n.allTags}function fe(e,t){for(var n=[],r=ce(t);r&&!r.type.isTop;r=ce(r.parent)){var i=ue(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&n.indexOf(i)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}le.default=new le;var de=/^[:\-\.\w\u00b7-\uffff]*$/;function pe(e,t,n,r,i){var o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=ce(n,!0);return{from:r,to:i,options:he(e.doc,a,t).map((function(e){return{label:e,type:"type"}})).concat(fe(e.doc,n).map((function(e,t){return{label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function me(e,t,n,r){var i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:fe(e.doc,t).map((function(e,t){return{label:e,apply:e+i,type:"type",boost:99-t}})),validFor:de}}function ge(e,t){for(var n,r=t.state,i=t.pos,a=(0,G.qz)(r).resolveInner(i,-1),s=a.resolve(i),l=i;s==a&&(n=a.childBefore(l));){var u=n.lastChild;if(!u||!u.type.isError||u.from<u.to)break;s=a=n,l=u.from}return"TagName"==a.name?a.parent&&/CloseTag$/.test(a.parent.name)?me(r,a,a.from,i):pe(r,e,a,a.from,i):"StartTag"==a.name?pe(r,e,a,i,i):"StartCloseTag"==a.name||"IncompleteCloseTag"==a.name?me(r,a,i,i):t.explicit&&("OpenTag"==a.name||"SelfClosingTag"==a.name)||"AttributeName"==a.name?function(e,t,n,r,i){var o=ce(n),a=o?t.tags[ue(e.doc,o)]:null,s=a&&a.attrs?Object.keys(a.attrs):[];return{from:r,to:i,options:(a&&!1===a.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((function(e){return{label:e,type:"property"}})),validFor:de}}(r,e,a,"AttributeName"==a.name?a.from:i,i):"Is"==a.name||"AttributeValue"==a.name||"UnquotedAttributeValue"==a.name?function(e,t,n,r,i){var a,s=null===(a=n.parent)||void 0===a?void 0:a.getChild("AttributeName"),l=[],u=void 0;if(s){var c=e.sliceDoc(s.from,s.to),h=t.globalAttrs[c];if(!h){var f=ce(n),d=f?t.tags[ue(e.doc,f)]:null;h=(null===d||void 0===d?void 0:d.attrs)&&d.attrs[c]}if(h){var p=e.sliceDoc(r,i).toLowerCase(),m='"',g='"';/^['"]/.test(p)?(u='"'==p[0]?/^[^"]*$/:/^[^']*$/,m="",g=e.sliceDoc(i,i+1)==p[0]?"":p[0],p=p.slice(1),r++):u=/^[^\s<>='"]*$/;var v,O=(0,o.Z)(h);try{for(O.s();!(v=O.n()).done;){var y=v.value;l.push({label:y,apply:m+y+g,type:"constant"})}}catch(Ce){O.e(Ce)}finally{O.f()}}}return{from:r,to:i,options:l,validFor:u}}(r,e,a,"Is"==a.name?i:a.from,i):!t.explicit||"Element"!=s.name&&"Text"!=s.name&&"Document"!=s.name?null:function(e,t,n,r){var i,a=[],s=0,l=(0,o.Z)(he(e.doc,n,t));try{for(l.s();!(i=l.n()).done;){var u=i.value;a.push({label:"<"+u,type:"type"})}}catch(Ce){l.e(Ce)}finally{l.f()}var c,h=(0,o.Z)(fe(e.doc,n));try{for(h.s();!(c=h.n()).done;){var f=c.value;a.push({label:"</"+f+">",type:"type",boost:99-s++})}}catch(Ce){h.e(Ce)}finally{h.f()}return{from:r,to:r,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(r,e,a,i)}function ve(e){return ge(le.default,e)}function Oe(e){var t=e.extraTags,n=e.extraGlobalAttributes,r=n||t?new le(t,n):le.default;return function(e){return ge(r,e)}}var ye=[{tag:"script",attrs:function(e){return"text/typescript"==e.type||"ts"==e.lang},parser:H.typescriptLanguage.parser},{tag:"script",attrs:function(e){return"text/babel"==e.type||"text/jsx"==e.type},parser:H.jsxLanguage.parser},{tag:"script",attrs:function(e){return"text/typescript-jsx"==e.type},parser:H.tsxLanguage.parser},{tag:"script",attrs:function(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:H.javascriptLanguage.parser},{tag:"style",attrs:function(e){return(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:X.cssLanguage.parser}],be=[{name:"style",parser:X.cssLanguage.parser.configure({top:"Styles"})}].concat(oe.map((function(e){return{name:e,parser:H.javascriptLanguage.parser}}))),ke=G.qp.define({name:"html",parser:F.configure({props:[G.uj.add({Element:function(e){var t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":function(e){return e.column(e.node.from)+e.unit},Document:function(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();for(var t,n=null,r=e.node;;){var i=r.lastChild;if(!i||"Element"!=i.name||i.to!=r.to)break;n=r=i}return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null}}),G.x0.add({Element:function(e){var t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),G.a0.add({"OpenTag CloseTag":function(e){return e.getChild("TagName")}})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Se=ke.configure({wrap:U(ye,be)});function xe(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="";!1===t.matchClosingTags&&(n="noMatch"),!0===t.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(e=U((t.nestedLanguages||[]).concat(ye),(t.nestedAttributes||[]).concat(be)));var r=e?ke.configure({wrap:e,dialect:n}):n?Se.configure({dialect:n}):Se;return new G.ri(r,[Se.data.of({autocomplete:Oe(t)}),!1!==t.autoCloseTags?Te:[],(0,H.javascript)().support,(0,X.css)().support])}var we=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Te=W.tk.inputHandler.of((function(e,t,n,r){if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Se.isActiveAt(e.state,t,-1))return!1;var i=e.state,o=i.changeByRange((function(t){var n,o,a,s,l=t.head,u=(0,G.qz)(i).resolveInner(l,-1);if("TagName"!=u.name&&"StartTag"!=u.name||(u=u.parent),">"==r&&"OpenTag"==u.name){if("CloseTag"!=(null===(o=null===(n=u.parent)||void 0===n?void 0:n.lastChild)||void 0===o?void 0:o.name)&&(s=ue(i.doc,u.parent,l))&&!we.has(s)){var c=">"===e.state.doc.sliceString(l,l+1),h="".concat(c?"":">","</").concat(s,">");return{range:q.jT.cursor(l+1),changes:{from:l+(c?1:0),insert:h}}}}else if("/"==r&&"OpenTag"==u.name){var f=u.parent,d=null===f||void 0===f?void 0:f.parent;if(f.from==l-1&&"CloseTag"!=(null===(a=d.lastChild)||void 0===a?void 0:a.name)&&(s=ue(i.doc,d,l))&&!we.has(s)){var p=">"===e.state.doc.sliceString(l,l+1),m="/".concat(s).concat(p?"":">"),g=l+m.length+(p?1:0);return{range:q.jT.cursor(g),changes:{from:l,insert:m}}}}return{range:t}}));return!o.changes.empty&&(e.dispatch(o,{userEvent:"input.type",scrollIntoView:!0}),!0)}))},7131:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return z},completionPath:function(){return Z},esLint:function(){return U},javascript:function(){return F},javascriptLanguage:function(){return Q},jsxLanguage:function(){return $},localCompletionSource:function(){return _},scopeCompletionSource:function(){return N},snippets:function(){return k},tsxLanguage:function(){return I},typescriptLanguage:function(){return M}});var r=n(726),i=n(8551),o=n(994),a=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],s=new i.IK({start:!1,shift:function(e,t){return 3==t||4==t||307==t?e:308==t},strict:!1}),l=new i.Jq((function(e,t){var n=e.next;(125==n||-1==n||t.context)&&e.acceptToken(305)}),{contextual:!0,fallback:!0}),u=new i.Jq((function(e,t){var n,r=e.next;a.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(304))}),{contextual:!0}),c=new i.Jq((function(e,t){var n=e.next;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();var r=!t.context&&t.canShift(1);e.acceptToken(r?1:2)}}),{contextual:!0}),h=(0,o.Gv)({"get set async static":o.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":o.pJ.controlKeyword,"in of await yield void typeof delete instanceof":o.pJ.operatorKeyword,"let var const function class extends":o.pJ.definitionKeyword,"import export from":o.pJ.moduleKeyword,"with debugger as new":o.pJ.keyword,TemplateString:o.pJ.special(o.pJ.string),super:o.pJ.atom,BooleanLiteral:o.pJ.bool,this:o.pJ.self,null:o.pJ.null,Star:o.pJ.modifier,VariableName:o.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":o.pJ.function(o.pJ.variableName),VariableDefinition:o.pJ.definition(o.pJ.variableName),Label:o.pJ.labelName,PropertyName:o.pJ.propertyName,PrivatePropertyName:o.pJ.special(o.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":o.pJ.function(o.pJ.propertyName),"FunctionDeclaration/VariableDefinition":o.pJ.function(o.pJ.definition(o.pJ.variableName)),"ClassDeclaration/VariableDefinition":o.pJ.definition(o.pJ.className),PropertyDefinition:o.pJ.definition(o.pJ.propertyName),PrivatePropertyDefinition:o.pJ.definition(o.pJ.special(o.pJ.propertyName)),UpdateOp:o.pJ.updateOperator,"LineComment Hashbang":o.pJ.lineComment,BlockComment:o.pJ.blockComment,Number:o.pJ.number,String:o.pJ.string,Escape:o.pJ.escape,ArithOp:o.pJ.arithmeticOperator,LogicOp:o.pJ.logicOperator,BitOp:o.pJ.bitwiseOperator,CompareOp:o.pJ.compareOperator,RegExp:o.pJ.regexp,Equals:o.pJ.definitionOperator,Arrow:o.pJ.function(o.pJ.punctuation),": Spread":o.pJ.punctuation,"( )":o.pJ.paren,"[ ]":o.pJ.squareBracket,"{ }":o.pJ.brace,"InterpolationStart InterpolationEnd":o.pJ.special(o.pJ.brace),".":o.pJ.derefOperator,", ;":o.pJ.separator,"@":o.pJ.meta,TypeName:o.pJ.typeName,TypeDefinition:o.pJ.definition(o.pJ.typeName),"type enum interface implements namespace module declare":o.pJ.definitionKeyword,"abstract global Privacy readonly override":o.pJ.modifier,"is keyof unique infer":o.pJ.operatorKeyword,JSXAttributeValue:o.pJ.attributeValue,JSXText:o.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":o.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":o.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":o.pJ.attributeName,"JSXBuiltin/JSXIdentifier":o.pJ.standard(o.pJ.tagName)}),f={__proto__:null,export:16,as:21,from:29,default:32,async:37,function:38,extends:48,this:52,true:60,false:60,null:72,void:76,typeof:80,super:98,new:132,delete:148,yield:157,await:161,class:166,public:223,private:223,protected:223,readonly:225,instanceof:244,satisfies:247,in:248,const:250,import:282,keyof:337,unique:341,infer:347,is:383,abstract:403,implements:405,type:407,let:410,var:412,using:415,interface:421,enum:425,namespace:431,module:433,declare:437,global:441,for:460,of:469,while:472,with:476,do:480,if:484,else:486,switch:490,case:496,try:502,catch:506,finally:510,return:514,throw:518,break:522,continue:526,debugger:530},d={__proto__:null,async:119,get:121,set:123,declare:183,public:185,private:185,protected:185,static:187,abstract:189,override:191,readonly:197,accessor:199,new:387},p={__proto__:null,"<":139},m=i.WQ.deserialize({version:14,states:"$6zO%TQUOOO%[QUOOO'_QWOOP(lOSOOO*zQ(CjO'#CgO+ROpO'#ChO+aO!bO'#ChO+oO07`O'#D[O.QQUO'#DbO.bQUO'#DmO%[QUO'#DwO0fQUO'#EPOOQ(CY'#EX'#EXO1PQSO'#EUOOQO'#Ej'#EjOOQO'#Id'#IdO1XQSO'#GlO1dQSO'#EiO1iQSO'#EiO3kQ(CjO'#JeO6[Q(CjO'#JfO6xQSO'#FXO6}Q#tO'#FpOOQ(CY'#Fa'#FaO7YO&jO'#FaO7hQ,UO'#FwO9OQSO'#FvOOQ(CY'#Jf'#JfOOQ(CW'#Je'#JeO9TQSO'#GpOOQQ'#KQ'#KQO9`QSO'#IQO9eQ(C[O'#IROOQQ'#JR'#JROOQQ'#IV'#IVQ`QUOOO`QUOOO%[QUO'#DoO9mQUO'#D{O9tQUO'#D}O9ZQSO'#GlO9{Q,UO'#CmO:ZQSO'#EhO:fQSO'#EsO:kQ,UO'#F`O;YQSO'#GlOOQO'#KR'#KRO;_QSO'#KRO;mQSO'#GtO;mQSO'#GuO;mQSO'#GwO9ZQSO'#GzO<dQSO'#G}O={QSO'#CcO>]QSO'#HZO>eQSO'#HaO>eQSO'#HcO`QUO'#HeO>eQSO'#HgO>eQSO'#HjO>jQSO'#HpO>oQ(C]O'#HvO%[QUO'#HxO>zQ(C]O'#HzO?VQ(C]O'#H|O9eQ(C[O'#IOO?bQ(CjO'#CgO@dQWO'#DgQOQSOOO%[QUO'#D}O@zQSO'#EQO9{Q,UO'#EhOAVQSO'#EhOAbQ`O'#F`OOQQ'#Ce'#CeOOQ(CW'#Dl'#DlOOQ(CW'#Ji'#JiO%[QUO'#JiOOQO'#Jm'#JmOOQO'#Ia'#IaOBbQWO'#EaOOQ(CW'#E`'#E`OC^Q(C`O'#EaOChQWO'#ETOOQO'#Jl'#JlOC|QWO'#JmOEZQWO'#ETOChQWO'#EaPEhO?MpO'#C`POOO)CDp)CDpOOOO'#IW'#IWOEsOpO,59SOOQ(CY,59S,59SOOOO'#IX'#IXOFRO!bO,59SO%[QUO'#D^OOOO'#IZ'#IZOFaO07`O,59vOOQ(CY,59v,59vOFoQUO'#I[OGSQSO'#JgOIUQbO'#JgO+}QUO'#JgOI]QSO,59|OIsQSO'#EjOJQQSO'#JuOJ]QSO'#JtOJ]QSO'#JtOJeQSO,5;WOJjQSO'#JsOOQ(CY,5:X,5:XOJqQUO,5:XOLrQ(CjO,5:cOMcQSO,5:kOM|Q(C[O'#JrONTQSO'#JqO9TQSO'#JqONiQSO'#JqONqQSO,5;VONvQSO'#JqO!#OQbO'#JfOOQ(CY'#Cg'#CgO%[QUO'#EPO!#nQ`O,5:pOOQO'#Jn'#JnOOQO-E<b-E<bO9ZQSO,5=WO!$UQSO,5=WO!$ZQUO,5;TO!&^Q,UO'#EeO!'qQSO,5;TO!)ZQ,UO'#DqO!)bQUO'#DvO!)lQWO,5;^O!)tQWO,5;^O%[QUO,5;^OOQQ'#FP'#FPOOQQ'#FR'#FRO%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_O%[QUO,5;_OOQQ'#FV'#FVO!*SQUO,5;pOOQ(CY,5;u,5;uOOQ(CY,5;v,5;vO!,VQSO,5;vOOQ(CY,5;w,5;wO%[QUO'#IhO!,_Q(C[O,5<dO!&^Q,UO,5;_O!,|Q,UO,5;_O%[QUO,5;sO!-TQ#tO'#FfO!.QQ#tO'#JyO!-lQ#tO'#JyO!.XQ#tO'#JyOOQO'#Jy'#JyO!.mQ#tO,5<OOOOO,5<[,5<[O!/OQUO'#FrOOOO'#Ig'#IgO7YO&jO,5;{O!/VQ#tO'#FtOOQ(CY,5;{,5;{O!/vQ7[O'#CsOOQ(CY'#Cw'#CwO!0ZQSO'#CwO!0`O07`O'#C{O!0|Q,UO,5<aO!1TQSO,5<cO!2jQMhO'#GRO!2wQSO'#GSO!2|QSO'#GSO!3RQMhO'#GWO!4QQWO'#G[O!4sQ7[O'#J`OOQ(CY'#J`'#J`O!4}QSO'#J_O!5]QSO'#J^O!5eQSO'#CrOOQ(CY'#Cu'#CuOOQ(CY'#DP'#DPOOQ(CY'#DR'#DRO1SQSO'#DTO!'vQ,UO'#FyO!'vQ,UO'#F{O!5mQSO'#F}O!5rQSO'#GOO!2|QSO'#GUO!'vQ,UO'#GZO!5wQSO'#EkO!6fQSO,5<bOOQ(CW'#Cp'#CpO!6nQSO'#ElO!7hQWO'#EmOOQ(CW'#Js'#JsO!7oQ(C[O'#KSO9eQ(C[O,5=[O`QUO,5>lOOQQ'#JZ'#JZOOQQ,5>m,5>mOOQQ-E<T-E<TO!9qQ(CjO,5:ZO!<_Q(CjO,5:gO%[QUO,5:gO!>xQ(CjO,5:iOOQO,5@m,5@mO!?iQ,UO,5=WO!?wQ(C[O'#J[O9OQSO'#J[O!@YQ(C[O,59XO!@eQWO,59XO!@mQ,UO,59XO9{Q,UO,59XO!@xQSO,5;TO!AQQSO'#HYO!AcQSO'#KVO%[QUO,5;xO!7cQWO,5;zO!AkQSO,5=sO!ApQSO,5=sO!AuQSO,5=sO9eQ(C[O,5=sO;mQSO,5=cOOQO'#Cs'#CsO!BTQWO,5=`O!B]Q,UO,5=aO!BhQSO,5=cO!BmQ`O,5=fO!BuQSO'#KRO>jQSO'#HPO9ZQSO'#HRO!BzQSO'#HRO9{Q,UO'#HTO!CPQSO'#HTOOQQ,5=i,5=iO!CUQSO'#HUO!C^QSO'#CmO!CcQSO,58}O!CmQSO,58}O!ErQUO,58}OOQQ,58},58}O!FSQ(C[O,58}O%[QUO,58}O!H_QUO'#H]OOQQ'#H^'#H^OOQQ'#H_'#H_O`QUO,5=uO!HuQSO,5=uO`QUO,5={O`QUO,5=}O!HzQSO,5>PO`QUO,5>RO!IPQSO,5>UO!IUQUO,5>[OOQQ,5>b,5>bO%[QUO,5>bO9eQ(C[O,5>dOOQQ,5>f,5>fO!M`QSO,5>fOOQQ,5>h,5>hO!M`QSO,5>hOOQQ,5>j,5>jO!MeQWO'#DYO%[QUO'#JiO!NSQWO'#JiO!NqQWO'#DhO# SQWO'#DhO##eQUO'#DhO##lQSO'#JhO##tQSO,5:RO##yQSO'#EnO#$XQSO'#JvO#$aQSO,5;XO#$fQWO'#DhO#$sQWO'#ESOOQ(CY,5:l,5:lO%[QUO,5:lO#$zQSO,5:lO>jQSO,5;SO!@eQWO,5;SO!@mQ,UO,5;SO9{Q,UO,5;SO#%SQSO,5@TO#%XQ!LQO,5:pOOQO-E<_-E<_O#&_Q(C`O,5:{OChQWO,5:oO#&iQWO,5:oOChQWO,5:{O!@YQ(C[O,5:oOOQ(CW'#Ed'#EdOOQO,5:{,5:{O%[QUO,5:{O#&vQ(C[O,5:{O#'RQ(C[O,5:{O!@eQWO,5:oOOQO,5;R,5;RO#'aQ(C[O,5:{POOO'#IU'#IUP#'uO?MpO,58zPOOO,58z,58zOOOO-E<U-E<UOOQ(CY1G.n1G.nOOOO-E<V-E<VO#(QQ`O,59xOOOO-E<X-E<XOOQ(CY1G/b1G/bO#(VQbO,5>vO+}QUO,5>vOOQO,5>|,5>|O#(aQUO'#I[OOQO-E<Y-E<YO#(nQSO,5@RO#(vQbO,5@RO#(}QSO,5@`OOQ(CY1G/h1G/hO%[QUO,5@aO#)VQSO'#IbOOQO-E<`-E<`O#(}QSO,5@`OOQ(CW1G0r1G0rOOQ(CY1G/s1G/sOOQ(CY1G0V1G0VO%[QUO,5@^O#)kQ(C[O,5@^O#)|Q(C[O,5@^O#*TQSO,5@]O9TQSO,5@]O#*]QSO,5@]O#*kQSO'#IeO#*TQSO,5@]OOQ(CW1G0q1G0qO!)lQWO,5:rO!)wQWO,5:rOOQO,5:t,5:tO#+]QSO,5:tO#+eQ,UO1G2rO9ZQSO1G2rOOQ(CY1G0o1G0oO#+sQ(CjO1G0oO#,xQ(ChO,5;POOQ(CY'#GQ'#GQO#-fQ(CjO'#J`O!$ZQUO1G0oO#/nQ,UO'#JjO#/xQSO,5:]O#/}QbO'#JkO%[QUO'#JkO#0XQSO,5:bOOQ(CY'#DY'#DYOOQ(CY1G0x1G0xO%[QUO1G0xOOQ(CY1G1b1G1bO#0^QSO1G0xO#2uQ(CjO1G0yO#2|Q(CjO1G0yO#5gQ(CjO1G0yO#5nQ(CjO1G0yO#7xQ(CjO1G0yO#8`Q(CjO1G0yO#;YQ(CjO1G0yO#;aQ(CjO1G0yO#=zQ(CjO1G0yO#>RQ(CjO1G0yO#?yQ(CjO1G0yO#ByQ$IUO'#CgO#DwQ$IUO1G1[O#EOQ$IUO'#JfO!,YQSO1G1bO#E`Q(CjO,5?SOOQ(CW-E<f-E<fO#FSQ(CjO1G0yOOQ(CY1G0y1G0yO#H_Q(CjO1G1_O#IRQ#tO,5<SO#IZQ#tO,5<TO#IcQ#tO'#FkO#IzQSO'#FjOOQO'#Jz'#JzOOQO'#If'#IfO#JPQ#tO1G1jOOQ(CY1G1j1G1jOOOO1G1u1G1uO#JbQ$IUO'#JeO#JlQSO,5<^O!*SQUO,5<^OOOO-E<e-E<eOOQ(CY1G1g1G1gO#JqQWO'#JyOOQ(CY,5<`,5<`O#JyQWO,5<`OOQ(CY,59c,59cO!&^Q,UO'#C}OOOO'#IY'#IYO#KOO07`O,59gOOQ(CY,59g,59gO%[QUO1G1{O!5rQSO'#IjO#KZQ,UO,5<tOOQ(CY,5<q,5<qOOQO'#Gg'#GgO!'vQ,UO,5=QOOQO'#Gi'#GiO!'vQ,UO,5=SO!&^Q,UO,5=UOOQO1G1}1G1}O#KbQ`O'#CpO#KuQ`O,5<mO#K|QSO'#J}O9ZQSO'#J}O#L[QSO,5<oO!'vQ,UO,5<nO#LaQSO'#GTO#LlQSO,5<nO#LqQ`O'#GQO#MOQ`O'#KOO#MYQSO'#KOO!&^Q,UO'#KOO#M_QSO,5<rO#MdQWO'#G]O!3{QWO'#G]O#MuQSO'#G_O#MzQSO'#GaO!2|QSO'#GdO#NPQ(C[O'#IlO#N[QWO,5<vOOQ(CY,5<v,5<vO#NcQWO'#G]O#NqQWO'#G^O#NyQWO'#G^OOQ(CY,5=V,5=VO!'vQ,UO,5?yO!'vQ,UO,5?yO$ OQSO'#ImO$ ZQSO,5?xO$ cQSO,59^O$!SQ,UO,59oOOQ(CY,59o,59oO$!uQ,UO,5<eO$#hQ,UO,5<gO@[QSO,5<iOOQ(CY,5<j,5<jO$#rQSO,5<pO$#wQ,UO,5<uO$$XQSO'#JqO!$ZQUO1G1|O$$^QSO1G1|O9TQSO'#JtO9TQSO'#EnO%[QUO'#EnO9TQSO'#IoO$$cQ(C[O,5@nOOQQ1G2v1G2vOOQQ1G4W1G4WOOQ(CY1G/u1G/uO!,VQSO1G/uO$&hQ(CjO1G0ROOQQ1G2r1G2rO!&^Q,UO1G2rO%[QUO1G2rO$'XQSO1G2rO$'dQ,UO'#EeOOQ(CW,5?v,5?vO$'nQ(C[O,5?vOOQQ1G.s1G.sO!@YQ(C[O1G.sO!@eQWO1G.sO!@mQ,UO1G.sO$(PQSO1G0oO$(UQSO'#CgO$(aQSO'#KWO$(iQSO,5=tO$(nQSO'#KWO$(sQSO'#KWO$)OQSO'#IuO$)^QSO,5@qO$)fQbO1G1dOOQ(CY1G1f1G1fO9ZQSO1G3_O@[QSO1G3_O$)mQSO1G3_O$)rQSO1G3_OOQQ1G3_1G3_O!BhQSO1G2}O!&^Q,UO1G2zO$)wQSO1G2zOOQQ1G2{1G2{O!&^Q,UO1G2{O$)|QSO1G2{O$*UQWO'#GyOOQQ1G2}1G2}O!3{QWO'#IqO!BmQ`O1G3QOOQQ1G3Q1G3QOOQQ,5=k,5=kO$*^Q,UO,5=mO9ZQSO,5=mO#MzQSO,5=oO9OQSO,5=oO!@eQWO,5=oO!@mQ,UO,5=oO9{Q,UO,5=oO$*lQSO'#KUO$*wQSO,5=pOOQQ1G.i1G.iO$*|Q(C[O1G.iO@[QSO1G.iO$+XQSO1G.iO9eQ(C[O1G.iO$-^QbO,5@sO$-nQSO,5@sO9TQSO,5@sO$-yQUO,5=wO$.QQSO,5=wOOQQ1G3a1G3aO`QUO1G3aOOQQ1G3g1G3gOOQQ1G3i1G3iO>eQSO1G3kO$.VQUO1G3mO$2ZQUO'#HlOOQQ1G3p1G3pO$2hQSO'#HrO>jQSO'#HtOOQQ1G3v1G3vO$2pQUO1G3vO9eQ(C[O1G3|OOQQ1G4O1G4OOOQ(CW'#GX'#GXO9eQ(C[O1G4QO9eQ(C[O1G4SO$6wQSO,5@TO!*SQUO,5;YO9TQSO,5;YO>jQSO,5:SO!*SQUO,5:SO!@eQWO,5:SO$6|Q$IUO,5:SOOQO,5;Y,5;YO$7WQWO'#I]O$7nQSO,5@SOOQ(CY1G/m1G/mO$7vQWO'#IcO$8QQSO,5@bOOQ(CW1G0s1G0sO# SQWO,5:SOOQO'#I`'#I`O$8YQWO,5:nOOQ(CY,5:n,5:nO#$}QSO1G0WOOQ(CY1G0W1G0WO%[QUO1G0WOOQ(CY1G0n1G0nO>jQSO1G0nO!@eQWO1G0nO!@mQ,UO1G0nOOQ(CW1G5o1G5oO!@YQ(C[O1G0ZOOQO1G0g1G0gO%[QUO1G0gO$8aQ(C[O1G0gO$8lQ(C[O1G0gO!@eQWO1G0ZOChQWO1G0ZO$8zQ(C[O1G0gOOQO1G0Z1G0ZO$9`Q(CjO1G0gPOOO-E<S-E<SPOOO1G.f1G.fOOOO1G/d1G/dO$9jQ`O,5<dO$9rQbO1G4bOOQO1G4h1G4hO%[QUO,5>vO$9|QSO1G5mO$:UQSO1G5zO$:^QbO1G5{O9TQSO,5>|O$:hQ(CjO1G5xO%[QUO1G5xO$:xQ(C[O1G5xO$;ZQSO1G5wO$;ZQSO1G5wO9TQSO1G5wO$;cQSO,5?PO9TQSO,5?POOQO,5?P,5?PO$;wQSO,5?PO$$XQSO,5?POOQO-E<c-E<cOOQO1G0^1G0^OOQO1G0`1G0`O!,YQSO1G0`OOQQ7+(^7+(^O!&^Q,UO7+(^O%[QUO7+(^O$<VQSO7+(^O$<bQ,UO7+(^O$<pQ(CjO,59oO$>xQ(CjO,5<eO$ATQ(CjO,5<gO$C`Q(CjO,5<uOOQ(CY7+&Z7+&ZO$EqQ(CjO7+&ZO$FeQ,UO'#I^O$FoQSO,5@UOOQ(CY1G/w1G/wO$FwQUO'#I_O$GUQSO,5@VO$G^QbO,5@VOOQ(CY1G/|1G/|O$GhQSO7+&dOOQ(CY7+&d7+&dO$GmQ$IUO,5:cO%[QUO7+&vO$GwQ$IUO,5:ZO$HUQ$IUO,5:gO$H`Q$IUO,5:iOOQ(CY7+&|7+&|OOQO1G1n1G1nOOQO1G1o1G1oO$HjQ#tO,5<VO!*SQUO,5<UOOQO-E<d-E<dOOQ(CY7+'U7+'UOOOO7+'a7+'aOOOO1G1x1G1xO$HuQSO1G1xOOQ(CY1G1z1G1zO$HzQ`O,59iOOOO-E<W-E<WOOQ(CY1G/R1G/RO$IRQ(CjO7+'gOOQ(CY,5?U,5?UO$IuQ`O,5?UOOQ(CY1G2`1G2`P!&^Q,UO'#IjPOQ(CY-E<h-E<hO$JeQ,UO1G2lO$KWQ,UO1G2nO$KbQ`O1G2pOOQ(CY1G2X1G2XO$KiQSO'#IiO$KwQSO,5@iO$KwQSO,5@iO$LPQSO,5@iO$L[QSO,5@iOOQO1G2Z1G2ZO$LjQ,UO1G2YO!'vQ,UO1G2YO$LzQMhO'#IkO$M[QSO,5@jO!&^Q,UO,5@jO$MdQ`O,5@jOOQ(CY1G2^1G2^OOQ(CW,5<w,5<wOOQ(CW,5<x,5<xO$$XQSO,5<xOCXQSO,5<xO!@eQWO,5<wOOQO'#G`'#G`O$MnQSO,5<yOOQ(CW,5<{,5<{O$$XQSO,5=OOOQO,5?W,5?WOOQO-E<j-E<jOOQ(CY1G2b1G2bO!3{QWO,5<wO$MvQSO,5<xO#MuQSO,5<yO!3{QWO,5<xO$NRQ,UO1G5eO$N]Q,UO1G5eOOQO,5?X,5?XOOQO-E<k-E<kOOQO1G.x1G.xO!7cQWO,59qO%[QUO,59qO$NjQSO1G2TO!'vQ,UO1G2[O$NoQ(CjO7+'hOOQ(CY7+'h7+'hO!$ZQUO7+'hO% cQSO,5;YOOQ(CW,5?Z,5?ZOOQ(CW-E<m-E<mOOQ(CY7+%a7+%aO% hQ`O'#KPO#$}QSO7+(^O% rQbO7+(^O$<YQSO7+(^O% yQ(ChO'#CgO%!^Q(ChO,5<|O%#OQSO,5<|OOQ(CW1G5b1G5bOOQQ7+$_7+$_O!@YQ(C[O7+$_O!@eQWO7+$_O!$ZQUO7+&ZO%#TQSO'#ItO%#iQSO,5@rOOQO1G3`1G3`O9ZQSO,5@rO%#iQSO,5@rO%#qQSO,5@rOOQO,5?a,5?aOOQO-E<s-E<sOOQ(CY7+'O7+'OO%#vQSO7+(yO9eQ(C[O7+(yO9ZQSO7+(yO@[QSO7+(yOOQQ7+(i7+(iO%#{Q(ChO7+(fO!&^Q,UO7+(fO%$VQ`O7+(gOOQQ7+(g7+(gO!&^Q,UO7+(gO%$^QSO'#KTO%$iQSO,5=eOOQO,5?],5?]OOQO-E<o-E<oOOQQ7+(l7+(lO%%xQWO'#HSOOQQ1G3X1G3XO!&^Q,UO1G3XO%[QUO1G3XO%&PQSO1G3XO%&[Q,UO1G3XO9eQ(C[O1G3ZO#MzQSO1G3ZO9OQSO1G3ZO!@eQWO1G3ZO!@mQ,UO1G3ZO%&jQSO'#IsO%&uQSO,5@pO%&}QWO,5@pOOQ(CW1G3[1G3[OOQQ7+$T7+$TO@[QSO7+$TO9eQ(C[O7+$TO%'YQSO7+$TO%[QUO1G6_O%[QUO1G6`O%'_Q(C[O1G6_O%'iQUO1G3cO%'pQSO1G3cO%'uQUO1G3cOOQQ7+({7+({O9eQ(C[O7+)VO`QUO7+)XOOQQ'#KZ'#KZOOQQ'#Iv'#IvO%'|QUO,5>WOOQQ,5>W,5>WO%[QUO'#HmO%(ZQSO'#HoOOQQ,5>^,5>^O9TQSO,5>^OOQQ,5>`,5>`OOQQ7+)b7+)bOOQQ7+)h7+)hOOQQ7+)l7+)lOOQQ7+)n7+)nO%(`QWO1G5oO%(tQ$IUO1G0tO%)OQSO1G0tOOQO1G/n1G/nO%)ZQ$IUO1G/nO>jQSO1G/nO!*SQUO'#DhOOQO,5>w,5>wOOQO-E<Z-E<ZOOQO,5>},5>}OOQO-E<a-E<aO!@eQWO1G/nOOQO-E<^-E<^OOQ(CY1G0Y1G0YOOQ(CY7+%r7+%rO#$}QSO7+%rOOQ(CY7+&Y7+&YO>jQSO7+&YO!@eQWO7+&YOOQO7+%u7+%uO$9`Q(CjO7+&ROOQO7+&R7+&RO%[QUO7+&RO%)eQ(C[O7+&RO!@YQ(C[O7+%uO!@eQWO7+%uO%)pQ(C[O7+&RO%*OQ(CjO7++dO%[QUO7++dO%*`QSO7++cO%*`QSO7++cOOQO1G4k1G4kO9TQSO1G4kO%*hQSO1G4kOOQO7+%z7+%zO#$}QSO<<KxO% rQbO<<KxO%*vQSO<<KxOOQQ<<Kx<<KxO!&^Q,UO<<KxO%[QUO<<KxO%+OQSO<<KxO%+ZQ(CjO1G2lO%-fQ(CjO1G2nO%/qQ(CjO1G2YO%2SQ,UO,5>xOOQO-E<[-E<[O%2^QbO,5>yO%[QUO,5>yOOQO-E<]-E<]O%2hQSO1G5qOOQ(CY<<JO<<JOO%2pQ$IUO1G0oO%4zQ$IUO1G0yO%5RQ$IUO1G0yO%7VQ$IUO1G0yO%7^Q$IUO1G0yO%9RQ$IUO1G0yO%9iQ$IUO1G0yO%;|Q$IUO1G0yO%<TQ$IUO1G0yO%>XQ$IUO1G0yO%>`Q$IUO1G0yO%@WQ$IUO1G0yO%@kQ(CjO<<JbO%ApQ$IUO1G0yO%CfQ$IUO'#J`O%EiQ$IUO1G1_O%EvQ$IUO1G0RO!*SQUO'#FmOOQO'#J{'#J{OOQO1G1q1G1qO%FQQSO1G1pO%FVQ$IUO,5?SOOOO7+'d7+'dOOOO1G/T1G/TOOQ(CY1G4p1G4pO!'vQ,UO7+([O%FaQSO,5?TO9ZQSO,5?TOOQO-E<g-E<gO%FoQSO1G6TO%FoQSO1G6TO%FwQSO1G6TO%GSQ,UO7+'tO%GdQ`O,5?VO%GnQSO,5?VO!&^Q,UO,5?VOOQO-E<i-E<iO%GsQ`O1G6UO%G}QSO1G6UOOQ(CW1G2d1G2dO$$XQSO1G2dOOQ(CW1G2c1G2cO%HVQSO1G2eO!&^Q,UO1G2eOOQ(CW1G2j1G2jO!@eQWO1G2cOCXQSO1G2dO%H[QSO1G2eO%HdQSO1G2dO!'vQ,UO7++POOQ(CY1G/]1G/]O%HoQSO1G/]OOQ(CY7+'o7+'oO%HtQ,UO7+'vO%IUQ(CjO<<KSOOQ(CY<<KS<<KSO%IxQSO1G0tO!&^Q,UO'#InO%I}QSO,5@kO!&^Q,UO1G2hOOQQ<<Gy<<GyO!@YQ(C[O<<GyO%JVQ(CjO<<IuOOQ(CY<<Iu<<IuOOQO,5?`,5?`O%JyQSO,5?`O$(sQSO,5?`OOQO-E<r-E<rO%KOQSO1G6^O%KOQSO1G6^O9ZQSO1G6^O@[QSO<<LeOOQQ<<Le<<LeO%KWQSO<<LeO9eQ(C[O<<LeOOQQ<<LQ<<LQO%#{Q(ChO<<LQOOQQ<<LR<<LRO%$VQ`O<<LRO%K]QWO'#IpO%KhQSO,5@oO!*SQUO,5@oOOQQ1G3P1G3PO%KpQUO'#JiOOQO'#Ir'#IrO9eQ(C[O'#IrO%KzQWO,5=nOOQQ,5=n,5=nO%LRQWO'#EaO%LgQSO7+(sO%LlQSO7+(sOOQQ7+(s7+(sO!&^Q,UO7+(sO%[QUO7+(sO%LtQSO7+(sOOQQ7+(u7+(uO9eQ(C[O7+(uO#MzQSO7+(uO9OQSO7+(uO!@eQWO7+(uO%MPQSO,5?_OOQO-E<q-E<qOOQO'#HV'#HVO%M[QSO1G6[O9eQ(C[O<<GoOOQQ<<Go<<GoO@[QSO<<GoO%MdQSO7++yO%MiQSO7++zO%[QUO7++yO%[QUO7++zOOQQ7+(}7+(}O%MnQSO7+(}O%MsQUO7+(}O%MzQSO7+(}OOQQ<<Lq<<LqOOQQ<<Ls<<LsOOQQ-E<t-E<tOOQQ1G3r1G3rO%NPQSO,5>XOOQQ,5>Z,5>ZO%NUQSO1G3xO9TQSO7+&`O!*SQUO7+&`OOQO7+%Y7+%YO%NZQ$IUO1G5{O>jQSO7+%YOOQ(CY<<I^<<I^OOQ(CY<<It<<ItO>jQSO<<ItOOQO<<Im<<ImO$9`Q(CjO<<ImO%[QUO<<ImOOQO<<Ia<<IaO!@YQ(C[O<<IaO%NeQ(C[O<<ImO%NpQ(CjO<= OO& QQSO<<N}OOQO7+*V7+*VO9TQSO7+*VOOQQANAdANAdO& YQSOANAdO!&^Q,UOANAdO#$}QSOANAdO% rQbOANAdO%[QUOANAdO& bQ(CjO7+'tO&#sQ(CjO7+'vO&&UQbO1G4eO&&`Q$IUO7+&ZO&&mQ$IUO,59oO&(pQ$IUO,5<eO&*sQ$IUO,5<gO&,vQ$IUO,5<uO&.lQ$IUO7+'gO&.yQ$IUO7+'hO&/WQSO,5<XOOQO7+'[7+'[O&/]Q,UO<<KvOOQO1G4o1G4oO&/dQSO1G4oO&/oQSO1G4oO&/}QSO7++oO&/}QSO7++oO!&^Q,UO1G4qO&0VQ`O1G4qO&0aQSO7++pOOQ(CW7+(O7+(OO$$XQSO7+(PO&0iQ`O7+(POOQ(CW7+'}7+'}O$$XQSO7+(OO&0pQSO7+(PO!&^Q,UO7+(POCXQSO7+(OO&0uQ,UO<<NkOOQ(CY7+$w7+$wO&1PQ`O,5?YOOQO-E<l-E<lO&1ZQ(ChO7+(SOOQQAN=eAN=eO9ZQSO1G4zOOQO1G4z1G4zO&1kQSO1G4zO&1pQSO7++xO&1pQSO7++xO9eQ(C[OANBPO@[QSOANBPOOQQANBPANBPOOQQANAlANAlOOQQANAmANAmO&1xQSO,5?[OOQO-E<n-E<nO&2TQ$IUO1G6ZO&4eQbO'#CgOOQO,5?^,5?^OOQO-E<p-E<pOOQQ1G3Y1G3YO%KpQUO,5<yOOQQ<<L_<<L_O!&^Q,UO<<L_O%LgQSO<<L_O&4oQSO<<L_O%[QUO<<L_OOQQ<<La<<LaO9eQ(C[O<<LaO#MzQSO<<LaO9OQSO<<LaO&4wQWO1G4yO&5SQSO7++vOOQQAN=ZAN=ZO9eQ(C[OAN=ZOOQQ<= e<= eOOQQ<= f<= fO&5[QSO<= eO&5aQSO<= fOOQQ<<Li<<LiO&5fQSO<<LiO&5kQUO<<LiOOQQ1G3s1G3sO>jQSO7+)dO&5rQSO<<IzO&5}Q$IUO<<IzOOQO<<Ht<<HtOOQ(CYAN?`AN?`OOQOAN?XAN?XO$9`Q(CjOAN?XOOQOAN>{AN>{O%[QUOAN?XOOQO<<Mq<<MqOOQQG27OG27OO!&^Q,UOG27OO#$}QSOG27OO&6XQSOG27OO% rQbOG27OO&6aQ$IUO<<JbO&6nQ$IUO1G2YO&8dQ$IUO1G2lO&:gQ$IUO1G2nO&<jQ$IUO<<KSO&<wQ$IUO<<IuOOQO1G1s1G1sO!'vQ,UOANAbOOQO7+*Z7+*ZO&=UQSO7+*ZO&=aQSO<= ZO&=iQ`O7+*]OOQ(CW<<Kk<<KkO$$XQSO<<KkOOQ(CW<<Kj<<KjO&=sQ`O<<KkO$$XQSO<<KjOOQO7+*f7+*fO9ZQSO7+*fO&=zQSO<= dOOQQG27kG27kO9eQ(C[OG27kO!*SQUO1G4vO&>SQSO7++uO%LgQSOANAyOOQQANAyANAyO!&^Q,UOANAyO&>[QSOANAyOOQQANA{ANA{O9eQ(C[OANA{O#MzQSOANA{OOQO'#HW'#HWOOQO7+*e7+*eOOQQG22uG22uOOQQANEPANEPOOQQANEQANEQOOQQANBTANBTO&>dQSOANBTOOQQ<<MO<<MOO!*SQUOAN?fOOQOG24sG24sO$9`Q(CjOG24sO#$}QSOLD,jOOQQLD,jLD,jO!&^Q,UOLD,jO&>iQSOLD,jO&>qQ$IUO7+'tO&@gQ$IUO7+'vO&B]Q,UOG26|OOQO<<Mu<<MuOOQ(CWANAVANAVO$$XQSOANAVOOQ(CWANAUANAUOOQO<<NQ<<NQOOQQLD-VLD-VO&BmQ$IUO7+*bOOQQG27eG27eO%LgQSOG27eO!&^Q,UOG27eOOQQG27gG27gO9eQ(C[OG27gOOQQG27oG27oO&BwQ$IUOG25QOOQOLD*_LD*_OOQQ!$(!U!$(!UO#$}QSO!$(!UO!&^Q,UO!$(!UO&CRQ(CjOG26|OOQ(CWG26qG26qOOQQLD-PLD-PO%LgQSOLD-POOQQLD-RLD-ROOQQ!)9Ep!)9EpO#$}QSO!)9EpOOQQ!$(!k!$(!kOOQQ!.K;[!.K;[O&EdQ$IUOG26|O!*SQUO'#DwO1PQSO'#EUO&GYQbO'#JeO!*SQUO'#DoO&GaQUO'#D{O&GhQbO'#CgO&JOQbO'#CgO!*SQUO'#D}O&J`QUO,5;TO!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO,5;_O!*SQUO'#IhO&LcQSO,5<dO&LkQ,UO,5;_O&NOQ,UO,5;_O!*SQUO,5;sO1SQSO'#DTO1SQSO'#DTO!&^Q,UO'#FyO&LkQ,UO'#FyO!&^Q,UO'#F{O&LkQ,UO'#F{O!&^Q,UO'#GZO&LkQ,UO'#GZO!*SQUO,5:gO!*SQUO,5@aO&J`QUO1G0oO&NVQ$IUO'#CgO!*SQUO1G1{O!&^Q,UO,5=QO&LkQ,UO,5=QO!&^Q,UO,5=SO&LkQ,UO,5=SO!&^Q,UO,5<nO&LkQ,UO,5<nO&J`QUO1G1|O!*SQUO7+&vO!&^Q,UO1G2YO&LkQ,UO1G2YO!&^Q,UO1G2[O&LkQ,UO1G2[O&J`QUO7+'hO&J`QUO7+&ZO!&^Q,UOANAbO&LkQ,UOANAbO&NaQSO'#EiO&NfQSO'#EiO&NnQSO'#FXO&NsQSO'#EsO&NxQSO'#JuO' TQSO'#JsO' `QSO,5;TO' eQ,UO,5<aO' lQSO'#GSO' qQSO'#GSO' vQSO,5<bO'!OQSO,5;TO'!WQ$IUO1G1[O'!_QSO,5<nO'!dQSO,5<nO'!iQSO,5<pO'!nQSO,5<pO'!sQSO1G1|O'!xQSO1G0oO'!}Q,UO<<KvO'#UQ,UO<<KvO7hQ,UO'#FwO9OQSO'#FvOAVQSO'#EhO!*SQUO,5;pO!2|QSO'#GSO!2|QSO'#GSO!2|QSO'#GUO!2|QSO'#GUO!'vQ,UO7+([O!'vQ,UO7+([O$KbQ`O1G2pO$KbQ`O1G2pO!&^Q,UO,5=UO!&^Q,UO,5=U",stateData:"'$_~O'oOS'pOSROS'qRQ~OPYOQYOW!VO_qObzOcyOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!YXO!duO!iZO!lYO!mYO!nYO!pvO!rwO!uxO!y]O#q!PO$R|O$VfO%a}O%c!QO%e!OO%f!OO%g!OO%j!RO%l!SO%o!TO%p!TO%r!UO&O!WO&U!XO&W!YO&Y!ZO&[![O&_!]O&e!^O&k!_O&m!`O&o!aO&q!bO&s!cO'vSO'xTO'{UO(TVO(c[O(piO~OUtO~P`OPYOQYOb!jOc!iOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!Y!eO!duO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$R!kO$VfO'v!dO'xTO'{UO(TVO(c[O(piO~O_!vOm!nO}!oO!]!xO!^!uO!_!uO!y9rO!}!pO#O!pO#P!wO#Q!pO#R!pO#U!yO#V!yO'w!lO'xTO'{UO(W!mO(c!sO~O'q!zO~OPZXYZX_ZXlZXzZX{ZX}ZX!WZX!fZX!gZX!iZX!mZX#YZX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX'mZX(TZX(dZX(kZX(lZX~O!b${X~P(qO]!|O'x#OO'y!|O'z#OO~O]#PO'z#OO'{#OO'|#PO~Or#RO!P#SO(U#SO(V#UO~OPYOQYOb!jOc!iOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!Y!eO!duO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$R!kO$VfO'v9vO'xTO'{UO(TVO(c[O(piO~O!V#YO!W#VO!T(ZP!T(hP~P+}O!X#bO~P`OPYOQYOb!jOc!iOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!Y!eO!duO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$R!kO$VfO'xTO'{UO(TVO(c[O(piO~Oj#lO!V#hO!y]O#c#kO#d#hO'v9wO!h(eP~P.iO!i#nO'v#mO~O!u#rO!y]O%a#sO~O#e#tO~O!b#uO#e#tO~OP$]OY$dOl$QOz#yO{#zO}#{O!W$aO!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO#t$VO#v$XO#w$YO(TVO(d$ZO(k#|O(l#}O~O_(XX'm(XX'k(XX!h(XX!T(XX!Y(XX%b(XX!b(XX~P1qO#Y$eO#|$eOP(YXY(YXl(YXz(YX{(YX}(YX!W(YX!f(YX!i(YX!m(YX#h(YX#i(YX#j(YX#k(YX#l(YX#m(YX#n(YX#o(YX#p(YX#r(YX#t(YX#v(YX#w(YX(T(YX(d(YX(k(YX(l(YX!Y(YX%b(YX~O_(YX!g(YX'm(YX'k(YX!T(YX!h(YXp(YX!b(YX~P4XO#Y$eO~O$X$gO$Z$fO$b$lO~O!Y$mO$VfO$e$nO$g$pO~Oj%SOl$tOm$sOn$sOt%TOv%UOx%VO}${O!Y$|O!d%[O!i$xO#d%]O$R%YO$n%WO$p%XO$s%ZO'v$rO'xTO'{UO(P%RO(T$uOe(QP~O!i%^O~O}%aO!Y%bO'v%`O~O!b%fO~O_%gO'm%gO~O'w!lO~P%[O%g%nO~P%[O!i%^O'v%`O'w!lO(P%RO~Oc%uO!i%^O'v%`O~O#p$SO~Oz%zO!Y%wO!i%yO%c%}O'v%`O'w!lO'xTO'{UO^(yP~O!u#rO~O%l&PO}(uX!Y(uX'v(uX~O'v&QO~O!r&VO#q!PO%c!QO%e!OO%f!OO%g!OO%j!RO%l!SO%o!TO%p!TO~Ob&[Oc&ZO!u&XO%a&YO%t&WO~P;rOb&_OcyO!Y&^O!r&VO!uxO!y]O#q!PO%a}O%e!OO%f!OO%g!OO%j!RO%l!SO%o!TO%p!TO%r!UO~O`&bO#Y&eO%c&`O'w!lO~P<wO!i&fO!r&jO~O!i#nO~O!YXO~O_%gO'l&rO'm%gO~O_%gO'l&uO'm%gO~O_%gO'l&wO'm%gO~O'kZX!TZXpZX!hZX&SZX!YZX%bZX!bZX~P(qO!]'UO!^&}O!_&}O'w!lO'xTO'{UO~Om&{O}&zO!V'OO(W&yO!X([P!X(jP~P@OOh'XO!Y'VO'v%`O~Oc'^O!i%^O'v%`O~Oz%zO!i%yO~Om!nO}!oO!y9rO!}!pO#O!pO#Q!pO#R!pO'w!lO'xTO'{UO(W!mO(c!sO~O!]'dO!^'cO!_'cO#P!pO#U'eO#V'eO~PAjO_%gO!b#uO!i%^O'm%gO(P%RO(d'gO~O!m'kO#Y'iO~PBxOm!nO}!oO'xTO'{UO(W!mO(c!sO~O!YXOm(aX}(aX!](aX!^(aX!_(aX!y(aX!}(aX#O(aX#P(aX#Q(aX#R(aX#U(aX#V(aX'w(aX'x(aX'{(aX(W(aX(c(aX~O!^'cO!_'cO'w!lO~PChO'r'oO's'oO't'qO~O]!|O'x'sO'y!|O'z'sO~O]#PO'z'sO'{'sO'|#PO~Or#RO!P#SO(U#SO(V'wO~O!V'yO!T'OX!T'UX!W'OX!W'UX~P+}O!W'{O!T(ZX~OP$]OY$dOl$QOz#yO{#zO}#{O!W'{O!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO#t$VO#v$XO#w$YO(TVO(d$ZO(k#|O(l#}O~O!T(ZX~PG[O!T(QO~O!T(gX!W(gX!b(gX!h(gX(d(gX~O#Y(gX#e#^X!X(gX~PIbO#Y(RO!T(iX!W(iX~O!W(SO!T(hX~O!T(VO~O#Y$eO~PIbO!X(WO~P`Oz#yO{#zO}#{O!g#wO!i#xO(TVOP!kaY!kal!ka!W!ka!f!ka!m!ka#h!ka#i!ka#j!ka#k!ka#l!ka#m!ka#n!ka#o!ka#p!ka#r!ka#t!ka#v!ka#w!ka(d!ka(k!ka(l!ka~O_!ka'm!ka'k!ka!T!ka!h!kap!ka!Y!ka%b!ka!b!ka~PJxO!h(XO~O!b#uO#Y(YO(d'gO!W(fX_(fX'm(fX~O!h(fX~PMhO}%aO!Y%bO!y]O#c(_O#d(^O'v%`O~O!W(`O!h(eX~O!h(bO~O}%aO!Y%bO#d(^O'v%`O~OP(YXY(YXl(YXz(YX{(YX}(YX!W(YX!f(YX!g(YX!i(YX!m(YX#h(YX#i(YX#j(YX#k(YX#l(YX#m(YX#n(YX#o(YX#p(YX#r(YX#t(YX#v(YX#w(YX(T(YX(d(YX(k(YX(l(YX~O!b#uO!h(YX~P! UOz(cO{(dO!g#wO!i#xO!y!xa}!xa~O!u!xa%a!xa!Y!xa#c!xa#d!xa'v!xa~P!#YO!u(hO~OPYOQYOb!jOc!iOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!YXO!duO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$R!kO$VfO'v!dO'xTO'{UO(TVO(c[O(piO~Oj%SOl$tOm$sOn$sOt%TOv%UOx:[O}${O!Y$|O!d;fO!i$xO#d:bO$R%YO$n:^O$p:`O$s%ZO'v(lO'xTO'{UO(P%RO(T$uO~O#e(nO~Oj%SOl$tOm$sOn$sOt%TOv%UOx%VO}${O!Y$|O!d%[O!i$xO#d%]O$R%YO$n%WO$p%XO$s%ZO'v(lO'xTO'{UO(P%RO(T$uO~Oe(^P~P!'vO!V(rO!h(_P~P%[O(W(tO(c[O~O}(vO!i#xO(W(tO(c[O~OP9qOQ9qOb;bOc!iOjkOl9qOmkOnkOtkOv9qOx9qO}WO!RkO!SkO!Y!eO!d9tO!iZO!l9qO!m9qO!n9qO!p9uO!r9xO!u!hO$R!kO$VfO'v)UO'xTO'{UO(TVO(c[O(p;`O~O{)XO!i#xO~O!W$aO_$la'm$la'k$la!h$la!T$la!Y$la%b$la!b$la~O#q)]O~P!&^Oz)`O!b)_O!Y$YX$U$YX$X$YX$Z$YX$b$YX~O!b)_O!Y(mX$U(mX$X(mX$Z(mX$b(mX~Oz)`O~P!-lOz)`O!Y(mX$U(mX$X(mX$Z(mX$b(mX~O!Y)bO$U)fO$X)aO$Z)aO$b)gO~O!V)jO~P!*SO$X$gO$Z$fO$b)nO~Oh$tXz$tX}$tX!g$tX(k$tX(l$tX~OegXe$tXhgX!WgX#YgX~P!/bOm)pO~Or)qO(U)rO(V)tO~Oh)}Oz)vO})wO(k)yO(l){O~Oe)uO~P!0kOe*OO~Oj%SOl$tOm$sOn$sOt%TOv%UOx:[O}${O!Y$|O!d;fO!i$xO#d:bO$R%YO$n:^O$p:`O$s%ZO'xTO'{UO(P%RO(T$uO~O!V*SO'v*PO!h(qP~P!1YO#e*UO~O!i*VO~O!V*[O'v*XO!T(rP~P!1YOl*hO}*`O!]*fO!^*_O!_*_O!i*VO#U*gO%X*bO'w!lO(W!mO~O!X*eO~P!3`O!g#wOh(SXz(SX}(SX(k(SX(l(SX!W(SX#Y(SX~Oe(SX#z(SX~P!4XOh*kO#Y*jOe(RX!W(RX~O!W*lOe(QX~O'v&QOe(QP~O!i*sO~O'v(lO~Oj*wO}%aO!V#hO!Y%bO!y]O#c#kO#d#hO'v%`O!h(eP~O!b#uO#e*xO~O}%aO!V*zO!W(SO!Y%bO'v%`O!T(hP~Om'RO}*|O!V*{O'xTO'{UO(W(tO~O!X(jP~P!7SO!W*}O_(vX'm(vX~OP$]OY$dOl$QOz#yO{#zO}#{O!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO#t$VO#v$XO#w$YO(TVO(d$ZO(k#|O(l#}O~O_!ca!W!ca'm!ca'k!ca!T!ca!h!cap!ca!Y!ca%b!ca!b!ca~P!7zOz#yO{#zO}#{O!g#wO!i#xO(TVOP!oaY!oal!oa!W!oa!f!oa!m!oa#h!oa#i!oa#j!oa#k!oa#l!oa#m!oa#n!oa#o!oa#p!oa#r!oa#t!oa#v!oa#w!oa(d!oa(k!oa(l!oa~O_!oa'm!oa'k!oa!T!oa!h!oap!oa!Y!oa%b!oa!b!oa~P!:eOz#yO{#zO}#{O!g#wO!i#xO(TVOP!qaY!qal!qa!W!qa!f!qa!m!qa#h!qa#i!qa#j!qa#k!qa#l!qa#m!qa#n!qa#o!qa#p!qa#r!qa#t!qa#v!qa#w!qa(d!qa(k!qa(l!qa~O_!qa'm!qa'k!qa!T!qa!h!qap!qa!Y!qa%b!qa!b!qa~P!=OOh+WO!Y'VO%b+VO(P%RO~O!b+YO_(OX!Y(OX'm(OX!W(OX~O_%gO!YXO'm%gO~O!i%^O(P%RO~O!i%^O'v%`O(P%RO~O!b#uO#e(nO~O%c+fO'v+bO'xTO'{UO!X(zP~O!W+gO^(yX~OY+kO~O^+lO~O!Y%wO'v%`O'w!lO^(yP~O#Y+qO(P%RO~Oh+tO!Y$|O(P%RO~O!Y+vO~Oz+xO!YXO~O%g%nO~O!u+}O~Oc,SO~O'v#mO!X(xP~Oc%uO~O%c!QO'v&QO~P<wOY,YO^,XO~OPYOQYObzOcyOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!duO!iZO!lYO!mYO!nYO!pvO!uxO!y]O$VfO%a}O'xTO'{UO(TVO(c[O(piO~O!Y!eO!r!gO$R!kO'v!dO~P!CuO^,XO_%gO'm%gO~OPYOQYOb!jOc!iOjkOlYOmkOnkOtkOvYOxYO}WO!RkO!SkO!Y!eO!duO!iZO!lYO!mYO!nYO!pvO!u!hO$R!kO$VfO'v!dO'xTO'{UO(TVO(c[O(piO~O_,_O!rwO#q!OO%e!OO%f!OO%g!OO~P!F_O!i&fO~O&U,eO~O!Y,gO~O&g,iO&i,jOP&daQ&daW&da_&dab&dac&daj&dal&dam&dan&dat&dav&dax&da}&da!R&da!S&da!Y&da!d&da!i&da!l&da!m&da!n&da!p&da!r&da!u&da!y&da#q&da$R&da$V&da%a&da%c&da%e&da%f&da%g&da%j&da%l&da%o&da%p&da%r&da&O&da&U&da&W&da&Y&da&[&da&_&da&e&da&k&da&m&da&o&da&q&da&s&da'k&da'v&da'x&da'{&da(T&da(c&da(p&da!X&da&]&da`&da&b&da~O'v,oO~O!W|X!W!`X!X|X!X!`X!b|X!b!`X!i!`X#Y|X(P!`X~O!b,tO#Y,sO!W#bX!W(]X!X#bX!X(]X!b(]X!i(]X(P(]X~O!b,vO!i%^O(P%RO!W![X!X![X~Om!nO}!oO'xTO'{UO(W!mO~OP9qOQ9qOb;bOc!iOjkOl9qOmkOnkOtkOv9qOx9qO}WO!RkO!SkO!Y!eO!d9tO!iZO!l9qO!m9qO!n9qO!p9uO!r9xO!u!hO$R!kO$VfO'xTO'{UO(TVO(c[O(p;`O~O'v:gO~P# eO!W,zO!X([X~O!X,|O~O!b,tO#Y,sO!W#bX!X#bX~O!W,}O!X(jX~O!X-PO~O!^-QO!_-QO'w!lO~P# SO!X-TO~P'_Oh-WO!Y'VO~O!T-]O~Om!xa!]!xa!^!xa!_!xa!}!xa#O!xa#P!xa#Q!xa#R!xa#U!xa#V!xa'w!xa'x!xa'{!xa(W!xa(c!xa~P!#YO!m-bO#Y-`O~PBxO!^-dO!_-dO'w!lO~PChO_%gO#Y-`O'm%gO~O_%gO!b#uO#Y-`O'm%gO~O_%gO!b#uO!m-bO#Y-`O'm%gO(d'gO~O'r'oO's'oO't-iO~Op-jO~O!T'Oa!W'Oa~P!7zO!V-nO!T'OX!W'OX~P%[O!W'{O!T(Za~O!T(Za~PG[O!W(SO!T(ha~O}%aO!V-rO!Y%bO'v%`O!T'UX!W'UX~O#Y-tO!W(fa!h(fa_(fa'm(fa~O!b#uO~P#)kO!W(`O!h(ea~O}%aO!Y%bO#d-xO'v%`O~Oj-}O}%aO!V-zO!Y%bO!y]O#c-|O#d-zO'v%`O!W'XX!h'XX~O{.RO!i#xO~Oh.UO!Y'VO%b.TO(P%RO~O_#]i!W#]i'm#]i'k#]i!T#]i!h#]ip#]i!Y#]i%b#]i!b#]i~P!7zOh;lOz)vO})wO(k)yO(l){O~O#e#Xa_#Xa#Y#Xa'm#Xa!W#Xa!h#Xa!Y#Xa!T#Xa~P#,gO#e(SXP(SXY(SX_(SXl(SX{(SX!f(SX!i(SX!m(SX#h(SX#i(SX#j(SX#k(SX#l(SX#m(SX#n(SX#o(SX#p(SX#r(SX#t(SX#v(SX#w(SX'm(SX(T(SX(d(SX!h(SX!T(SX'k(SXp(SX!Y(SX%b(SX!b(SX~P!4XO!W._Oe(^X~P!0kOe.aO~O!W.bO!h(_X~P!7zO!h.eO~O!T.gO~OP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O(TVOY#gi_#gil#gi!W#gi!f#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi'm#gi(d#gi(k#gi(l#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~O#h#gi~P#0cO#h$OO~P#0cOP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO(TVOY#gi_#gi!W#gi!f#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi'm#gi(d#gi(k#gi(l#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~Ol#gi~P#3TOl$QO~P#3TOP$]Ol$QOz#yO{#zO}#{O!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO(TVO_#gi!W#gi#r#gi#t#gi#v#gi#w#gi'm#gi(d#gi(k#gi(l#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~OY#gi!f#gi#m#gi#n#gi#o#gi#p#gi~P#5uOY$dO!f$SO#m$SO#n$SO#o$cO#p$SO~P#5uOP$]OY$dOl$QOz#yO{#zO}#{O!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO(TVO_#gi!W#gi#t#gi#v#gi#w#gi'm#gi(d#gi(l#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~O(k#gi~P#8vO(k#|O~P#8vOP$]OY$dOl$QOz#yO{#zO}#{O!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO#t$VO(TVO(k#|O_#gi!W#gi#v#gi#w#gi'm#gi(d#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~O(l#gi~P#;hO(l#}O~P#;hOP$]OY$dOl$QOz#yO{#zO}#{O!f$SO!g#wO!i#xO!m$]O#h$OO#i$PO#j$PO#k$PO#l$RO#m$SO#n$SO#o$cO#p$SO#r$TO#t$VO#v$XO(TVO(k#|O(l#}O~O_#gi!W#gi#w#gi'm#gi(d#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~P#>YOPZXYZXlZXzZX{ZX}ZX!fZX!gZX!iZX!mZX#YZX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX(TZX(dZX(kZX(lZX!WZX!XZX~O#zZX~P#@sOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO#v:TO#w:UO(TVO(d$ZO(k#|O(l#}O~O#z.iO~P#CQO#Y:ZO#|:ZO#z(YX!X(YX~P! UO_'[a!W'[a'm'[a'k'[a!h'[a!T'[ap'[a!Y'[a%b'[a!b'[a~P!7zOP#giY#gi_#gil#gi{#gi!W#gi!f#gi!g#gi!i#gi!m#gi#h#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi'm#gi(T#gi(d#gi'k#gi!T#gi!h#gip#gi!Y#gi%b#gi!b#gi~P#,gO_#{i!W#{i'm#{i'k#{i!T#{i!h#{ip#{i!Y#{i%b#{i!b#{i~P!7zO$X.nO$Z.nO~O$X.oO$Z.oO~O!b)_O#Y.pO!Y$_X$U$_X$X$_X$Z$_X$b$_X~O!V.qO~O!Y)bO$U.sO$X)aO$Z)aO$b.tO~O!W:VO!X(XX~P#CQO!X.uO~O!b)_O$b(mX~O$b.wO~Or)qO(U)rO(V.zO~O!T/OO~P!&^O!WdX!bdX!hdX!h$tX(ddX~P!/bO!h/UO~P#,gO!W/VO!b#uO(d'gO!h(qX~O!h/[O~O!V*SO'v%`O!h(qP~O#e/^O~O!T$tX!W$tX!b${X~P!/bO!W/_O!T(rX~P#,gO!b/aO~O!T/cO~Ol/gO!b#uO!i%^O(P%RO(d'gO~O'v/iO~O!b+YO~O_%gO!W/mO'm%gO~O!X/oO~P!3`O!^/pO!_/pO'w!lO(W!mO~O}/rO(W!mO~O#U/sO~O'v&QOe'aX!W'aX~O!W*lOe(Qa~Oe/xO~Oz/yO{/yO}/zOhwa(kwa(lwa!Wwa#Ywa~Oewa#zwa~P$ hOz)vO})wOh$ma(k$ma(l$ma!W$ma#Y$ma~Oe$ma#z$ma~P$!^Oz)vO})wOh$oa(k$oa(l$oa!W$oa#Y$oa~Oe$oa#z$oa~P$#PO#e/|O~Oe$}a!W$}a#Y$}a#z$}a~P!0kO!b#uO~O#e0PO~O!W*}O_(va'm(va~Oz#yO{#zO}#{O!g#wO!i#xO(TVOP!oiY!oil!oi!W!oi!f!oi!m!oi#h!oi#i!oi#j!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#r!oi#t!oi#v!oi#w!oi(d!oi(k!oi(l!oi~O_!oi'm!oi'k!oi!T!oi!h!oip!oi!Y!oi%b!oi!b!oi~P$$nOh.UO!Y'VO%b.TO~Oj0ZO'v0YO~P!1]O!b+YO_(Oa!Y(Oa'm(Oa!W(Oa~O#e0aO~OYZX!WdX!XdX~O!W0bO!X(zX~O!X0dO~OY0eO~O'v+bO'xTO'{UO~O!Y%wO'v%`O^'iX!W'iX~O!W+gO^(ya~O!h0jO~P!7zOY0mO~O^0nO~O#Y0qO~Oh0tO!Y$|O~O(W(tO!X(wP~Oh0}O!Y0zO%b0|O(P%RO~OY1XO!W1VO!X(xX~O!X1YO~O^1[O_%gO'm%gO~O'v#mO'xTO'{UO~O#Y$eO#|$eOP(YXY(YXl(YXz(YX{(YX}(YX!W(YX!f(YX!i(YX!m(YX#h(YX#i(YX#j(YX#k(YX#l(YX#m(YX#n(YX#o(YX#r(YX#t(YX#v(YX#w(YX(T(YX(d(YX(k(YX(l(YX~O#p1_O&S1`O_(YX!g(YX~P$+dO#Y$eO#p1_O&S1`O~O_1bO~P%[O_1dO~O&]1gOP&ZiQ&ZiW&Zi_&Zib&Zic&Zij&Zil&Zim&Zin&Zit&Ziv&Zix&Zi}&Zi!R&Zi!S&Zi!Y&Zi!d&Zi!i&Zi!l&Zi!m&Zi!n&Zi!p&Zi!r&Zi!u&Zi!y&Zi#q&Zi$R&Zi$V&Zi%a&Zi%c&Zi%e&Zi%f&Zi%g&Zi%j&Zi%l&Zi%o&Zi%p&Zi%r&Zi&O&Zi&U&Zi&W&Zi&Y&Zi&[&Zi&_&Zi&e&Zi&k&Zi&m&Zi&o&Zi&q&Zi&s&Zi'k&Zi'v&Zi'x&Zi'{&Zi(T&Zi(c&Zi(p&Zi!X&Zi`&Zi&b&Zi~O`1mO!X1kO&b1lO~P`O!YXO!i1oO~O&i,jOP&diQ&diW&di_&dib&dic&dij&dil&dim&din&dit&div&dix&di}&di!R&di!S&di!Y&di!d&di!i&di!l&di!m&di!n&di!p&di!r&di!u&di!y&di#q&di$R&di$V&di%a&di%c&di%e&di%f&di%g&di%j&di%l&di%o&di%p&di%r&di&O&di&U&di&W&di&Y&di&[&di&_&di&e&di&k&di&m&di&o&di&q&di&s&di'k&di'v&di'x&di'{&di(T&di(c&di(p&di!X&di&]&di`&di&b&di~O!T1uO~O!W![a!X![a~P#CQOm!nO}!oO!V1{O(W!mO!W'PX!X'PX~P@OO!W,zO!X([a~O!W'VX!X'VX~P!7SO!W,}O!X(ja~O!X2SO~P'_O_%gO#Y2]O'm%gO~O_%gO!b#uO#Y2]O'm%gO~O_%gO!b#uO!m2aO#Y2]O'm%gO(d'gO~O_%gO'm%gO~P!7zO!W$aOp$la~O!T'Oi!W'Oi~P!7zO!W'{O!T(Zi~O!W(SO!T(hi~O!T(ii!W(ii~P!7zO!W(fi!h(fi_(fi'm(fi~P!7zO#Y2cO!W(fi!h(fi_(fi'm(fi~O!W(`O!h(ei~O}%aO!Y%bO!y]O#c2hO#d2gO'v%`O~O}%aO!Y%bO#d2gO'v%`O~Oh2oO!Y'VO%b2nO~Oh2oO!Y'VO%b2nO(P%RO~O#ewaPwaYwa_walwa!fwa!gwa!iwa!mwa#hwa#iwa#jwa#kwa#lwa#mwa#nwa#owa#pwa#rwa#twa#vwa#wwa'mwa(Twa(dwa!hwa!Twa'kwapwa!Ywa%bwa!bwa~P$ hO#e$maP$maY$ma_$mal$ma{$ma!f$ma!g$ma!i$ma!m$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#o$ma#p$ma#r$ma#t$ma#v$ma#w$ma'm$ma(T$ma(d$ma!h$ma!T$ma'k$map$ma!Y$ma%b$ma!b$ma~P$!^O#e$oaP$oaY$oa_$oal$oa{$oa!f$oa!g$oa!i$oa!m$oa#h$oa#i$oa#j$oa#k$oa#l$oa#m$oa#n$oa#o$oa#p$oa#r$oa#t$oa#v$oa#w$oa'm$oa(T$oa(d$oa!h$oa!T$oa'k$oap$oa!Y$oa%b$oa!b$oa~P$#PO#e$}aP$}aY$}a_$}al$}a{$}a!W$}a!f$}a!g$}a!i$}a!m$}a#h$}a#i$}a#j$}a#k$}a#l$}a#m$}a#n$}a#o$}a#p$}a#r$}a#t$}a#v$}a#w$}a'm$}a(T$}a(d$}a!h$}a!T$}a'k$}a#Y$}ap$}a!Y$}a%b$}a!b$}a~P#,gO_#]q!W#]q'm#]q'k#]q!T#]q!h#]qp#]q!Y#]q%b#]q!b#]q~P!7zOe'QX!W'QX~P!'vO!W._Oe(^a~O!V2wO!W'RX!h'RX~P%[O!W.bO!h(_a~O!W.bO!h(_a~P!7zO!T2zO~O#z!ka!X!ka~PJxO#z!ca!W!ca!X!ca~P#CQO#z!oa!X!oa~P!:eO#z!qa!X!qa~P!=OO!Y3^O$VfO$`3_O~O!X3cO~Op3dO~P#,gO_$iq!W$iq'm$iq'k$iq!T$iq!h$iqp$iq!Y$iq%b$iq!b$iq~P!7zO!T3eO~P#,gOz)vO})wO(l){Oh%Yi(k%Yi!W%Yi#Y%Yi~Oe%Yi#z%Yi~P$I|Oz)vO})wOh%[i(k%[i(l%[i!W%[i#Y%[i~Oe%[i#z%[i~P$JoO(d$ZO~P#,gO!V3hO'v%`O!W']X!h']X~O!W/VO!h(qa~O!W/VO!b#uO!h(qa~O!W/VO!b#uO(d'gO!h(qa~Oe$vi!W$vi#Y$vi#z$vi~P!0kO!V3pO'v*XO!T'_X!W'_X~P!1YO!W/_O!T(ra~O!W/_O!T(ra~P#,gO!b#uO#p3xO~Ol3{O!b#uO(d'gO~Oe(Ri!W(Ri~P!0kO#Y4OOe(Ri!W(Ri~P!0kO!h4RO~O_$jq!W$jq'm$jq'k$jq!T$jq!h$jqp$jq!Y$jq%b$jq!b$jq~P!7zO!T4VO~O!W4WO!Y(sX~P#,gO!g#wO~P4XO_$tX!Y$tX%VZX'm$tX!W$tX~P!/bO%V4YO_iXhiXziX}iX!YiX'miX(kiX(liX!WiX~O%V4YO~O%c4aO'v+bO'xTO'{UO!W'hX!X'hX~O!W0bO!X(za~OY4eO~O^4fO~O_%gO'm%gO~P#,gO!Y$|O~P#,gO!W4nO#Y4pO!X(wX~O!X4qO~Om!nO}4rO!]!xO!^!uO!_!uO!y9rO!}!pO#O!pO#P!pO#Q!pO#R!pO#U4wO#V!yO'w!lO'xTO'{UO(W!mO(c!sO~O!X4vO~P%$nOh4|O!Y0zO%b4{O~Oh4|O!Y0zO%b4{O(P%RO~O'v#mO!W'gX!X'gX~O!W1VO!X(xa~O'xTO'{UO(W5VO~O^5ZO~O#p5^O&S5_O~PMhO!h5`O~P%[O_5bO~O_5bO~P%[O`1mO!X5gO&b1lO~P`O!b5iO~O!b5kO!W(]i!X(]i!b(]i!i(]i(P(]i~O!W#bi!X#bi~P#CQO#Y5lO!W#bi!X#bi~O!W![i!X![i~P#CQO_%gO#Y5uO'm%gO~O_%gO!b#uO#Y5uO'm%gO~O!W(fq!h(fq_(fq'm(fq~P!7zO!W(`O!h(eq~O}%aO!Y%bO#d5|O'v%`O~O!Y'VO%b6PO~Oh6SO!Y'VO%b6PO~O#e%YiP%YiY%Yi_%Yil%Yi{%Yi!f%Yi!g%Yi!i%Yi!m%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#o%Yi#p%Yi#r%Yi#t%Yi#v%Yi#w%Yi'm%Yi(T%Yi(d%Yi!h%Yi!T%Yi'k%Yip%Yi!Y%Yi%b%Yi!b%Yi~P$I|O#e%[iP%[iY%[i_%[il%[i{%[i!f%[i!g%[i!i%[i!m%[i#h%[i#i%[i#j%[i#k%[i#l%[i#m%[i#n%[i#o%[i#p%[i#r%[i#t%[i#v%[i#w%[i'm%[i(T%[i(d%[i!h%[i!T%[i'k%[ip%[i!Y%[i%b%[i!b%[i~P$JoO#e$viP$viY$vi_$vil$vi{$vi!W$vi!f$vi!g$vi!i$vi!m$vi#h$vi#i$vi#j$vi#k$vi#l$vi#m$vi#n$vi#o$vi#p$vi#r$vi#t$vi#v$vi#w$vi'm$vi(T$vi(d$vi!h$vi!T$vi'k$vi#Y$vip$vi!Y$vi%b$vi!b$vi~P#,gOe'Qa!W'Qa~P!0kO!W'Ra!h'Ra~P!7zO!W.bO!h(_i~O#z#]i!W#]i!X#]i~P#CQOP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O(TVOY#gil#gi!f#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~O#h#gi~P%2}O#h9zO~P%2}OP$]Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O(TVOY#gi!f#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~Ol#gi~P%5YOl9|O~P%5YOP$]Ol9|Oz#yO{#zO}#{O!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O(TVO#r#gi#t#gi#v#gi#w#gi#z#gi(d#gi(k#gi(l#gi!W#gi!X#gi~OY#gi!f#gi#m#gi#n#gi#o#gi#p#gi~P%7eOY:YO!f:OO#m:OO#n:OO#o:XO#p:OO~P%7eOP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO(TVO#t#gi#v#gi#w#gi#z#gi(d#gi(l#gi!W#gi!X#gi~O(k#gi~P%:PO(k#|O~P%:POP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO(TVO(k#|O#v#gi#w#gi#z#gi(d#gi!W#gi!X#gi~O(l#gi~P%<[O(l#}O~P%<[OP$]OY:YOl9|Oz#yO{#zO}#{O!f:OO!g#wO!i#xO!m$]O#h9zO#i9{O#j9{O#k9{O#l9}O#m:OO#n:OO#o:XO#p:OO#r:PO#t:RO#v:TO(TVO(k#|O(l#}O~O#w#gi#z#gi(d#gi!W#gi!X#gi~P%>gO_#xy!W#xy'm#xy'k#xy!T#xy!h#xyp#xy!Y#xy%b#xy!b#xy~P!7zOh;mOz)vO})wO(k)yO(l){O~OP#giY#gil#gi{#gi!f#gi!g#gi!i#gi!m#gi#h#gi#i#gi#j#gi#k#gi#l#gi#m#gi#n#gi#o#gi#p#gi#r#gi#t#gi#v#gi#w#gi#z#gi(T#gi(d#gi!W#gi!X#gi~P%A_O!g#wOP(SXY(SXh(SXl(SXz(SX{(SX}(SX!f(SX!i(SX!m(SX#h(SX#i(SX#j(SX#k(SX#l(SX#m(SX#n(SX#o(SX#p(SX#r(SX#t(SX#v(SX#w(SX#z(SX(T(SX(d(SX(k(SX(l(SX!W(SX!X(SX~O#z#{i!W#{i!X#{i~P#CQO#z!oi!X!oi~P$$nO!X6`O~O!W'[a!X'[a~P#CQO!b#uO(d'gO!W']a!h']a~O!W/VO!h(qi~O!W/VO!b#uO!h(qi~Oe$vq!W$vq#Y$vq#z$vq~P!0kO!T'_a!W'_a~P#,gO!b6gO~O!W/_O!T(ri~P#,gO!W/_O!T(ri~O!T6kO~O!b#uO#p6pO~Ol6qO!b#uO(d'gO~O!T6sO~Oe$xq!W$xq#Y$xq#z$xq~P!0kO_$jy!W$jy'm$jy'k$jy!T$jy!h$jyp$jy!Y$jy%b$jy!b$jy~P!7zO!b5kO~O!W4WO!Y(sa~O_#]y!W#]y'm#]y'k#]y!T#]y!h#]yp#]y!Y#]y%b#]y!b#]y~P!7zOY6xO~O!W0bO!X(zi~O^7OO~O(W(tO!W'dX!X'dX~O!W4nO!X(wa~OjkO'v7VO~P.iO!X7YO~P%$nOm!nO}7ZO'xTO'{UO(W!mO(c!sO~O!Y0zO~O!Y0zO%b7]O~Oh7`O!Y0zO%b7]O~OY7eO!W'ga!X'ga~O!W1VO!X(xi~O!h7iO~O!h7jO~O!h7mO~O!h7mO~P%[O_7oO~O!b7pO~O!h7qO~O!W(ii!X(ii~P#CQO_%gO#Y7yO'm%gO~O!W(fy!h(fy_(fy'm(fy~P!7zO!W(`O!h(ey~O!Y'VO%b7|O~O#e$vqP$vqY$vq_$vql$vq{$vq!W$vq!f$vq!g$vq!i$vq!m$vq#h$vq#i$vq#j$vq#k$vq#l$vq#m$vq#n$vq#o$vq#p$vq#r$vq#t$vq#v$vq#w$vq'm$vq(T$vq(d$vq!h$vq!T$vq'k$vq#Y$vqp$vq!Y$vq%b$vq!b$vq~P#,gO#e$xqP$xqY$xq_$xql$xq{$xq!W$xq!f$xq!g$xq!i$xq!m$xq#h$xq#i$xq#j$xq#k$xq#l$xq#m$xq#n$xq#o$xq#p$xq#r$xq#t$xq#v$xq#w$xq'm$xq(T$xq(d$xq!h$xq!T$xq'k$xq#Y$xqp$xq!Y$xq%b$xq!b$xq~P#,gO!W'Ri!h'Ri~P!7zO#z#]q!W#]q!X#]q~P#CQOz/yO{/yO}/zOPwaYwahwalwa!fwa!gwa!iwa!mwa#hwa#iwa#jwa#kwa#lwa#mwa#nwa#owa#pwa#rwa#twa#vwa#wwa#zwa(Twa(dwa(kwa(lwa!Wwa!Xwa~Oz)vO})wOP$maY$mah$mal$ma{$ma!f$ma!g$ma!i$ma!m$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#o$ma#p$ma#r$ma#t$ma#v$ma#w$ma#z$ma(T$ma(d$ma(k$ma(l$ma!W$ma!X$ma~Oz)vO})wOP$oaY$oah$oal$oa{$oa!f$oa!g$oa!i$oa!m$oa#h$oa#i$oa#j$oa#k$oa#l$oa#m$oa#n$oa#o$oa#p$oa#r$oa#t$oa#v$oa#w$oa#z$oa(T$oa(d$oa(k$oa(l$oa!W$oa!X$oa~OP$}aY$}al$}a{$}a!f$}a!g$}a!i$}a!m$}a#h$}a#i$}a#j$}a#k$}a#l$}a#m$}a#n$}a#o$}a#p$}a#r$}a#t$}a#v$}a#w$}a#z$}a(T$}a(d$}a!W$}a!X$}a~P%A_O#z$iq!W$iq!X$iq~P#CQO#z$jq!W$jq!X$jq~P#CQO!X8WO~O#z8XO~P!0kO!b#uO!W']i!h']i~O!b#uO(d'gO!W']i!h']i~O!W/VO!h(qq~O!T'_i!W'_i~P#,gO!W/_O!T(rq~O!T8_O~P#,gO!T8_O~Oe(Ry!W(Ry~P!0kO!W'ba!Y'ba~P#,gO_%Uq!Y%Uq'm%Uq!W%Uq~P#,gOY8dO~O!W0bO!X(zq~O#Y8hO!W'da!X'da~O!W4nO!X(wi~P#CQOPZXYZXlZXzZX{ZX}ZX!TZX!WZX!fZX!gZX!iZX!mZX#YZX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX(TZX(dZX(kZX(lZX~O!b%SX#p%SX~P&2_O!Y0zO%b8lO~O'xTO'{UO(W8qO~O!W1VO!X(xq~O!h8tO~O!h8uO~O!h8vO~O!h8vO~P%[O#Y8yO!W#by!X#by~O!W#by!X#by~P#CQO!Y'VO%b9OO~O#z#xy!W#xy!X#xy~P#CQOP$viY$vil$vi{$vi!f$vi!g$vi!i$vi!m$vi#h$vi#i$vi#j$vi#k$vi#l$vi#m$vi#n$vi#o$vi#p$vi#r$vi#t$vi#v$vi#w$vi#z$vi(T$vi(d$vi!W$vi!X$vi~P%A_Oz)vO})wO(l){OP%YiY%Yih%Yil%Yi{%Yi!f%Yi!g%Yi!i%Yi!m%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#o%Yi#p%Yi#r%Yi#t%Yi#v%Yi#w%Yi#z%Yi(T%Yi(d%Yi(k%Yi!W%Yi!X%Yi~Oz)vO})wOP%[iY%[ih%[il%[i{%[i!f%[i!g%[i!i%[i!m%[i#h%[i#i%[i#j%[i#k%[i#l%[i#m%[i#n%[i#o%[i#p%[i#r%[i#t%[i#v%[i#w%[i#z%[i(T%[i(d%[i(k%[i(l%[i!W%[i!X%[i~O#z$jy!W$jy!X$jy~P#CQO#z#]y!W#]y!X#]y~P#CQO!b#uO!W']q!h']q~O!W/VO!h(qy~O!T'_q!W'_q~P#,gO!T9VO~P#,gO!W0bO!X(zy~O!W4nO!X(wq~O!Y0zO%b9^O~O!h9aO~O!Y'VO%b9fO~OP$vqY$vql$vq{$vq!f$vq!g$vq!i$vq!m$vq#h$vq#i$vq#j$vq#k$vq#l$vq#m$vq#n$vq#o$vq#p$vq#r$vq#t$vq#v$vq#w$vq#z$vq(T$vq(d$vq!W$vq!X$vq~P%A_OP$xqY$xql$xq{$xq!f$xq!g$xq!i$xq!m$xq#h$xq#i$xq#j$xq#k$xq#l$xq#m$xq#n$xq#o$xq#p$xq#r$xq#t$xq#v$xq#w$xq#z$xq(T$xq(d$xq!W$xq!X$xq~P%A_Oe%^!Z!W%^!Z#Y%^!Z#z%^!Z~P!0kO!W'dq!X'dq~P#CQO!W#b!Z!X#b!Z~P#CQO#e%^!ZP%^!ZY%^!Z_%^!Zl%^!Z{%^!Z!W%^!Z!f%^!Z!g%^!Z!i%^!Z!m%^!Z#h%^!Z#i%^!Z#j%^!Z#k%^!Z#l%^!Z#m%^!Z#n%^!Z#o%^!Z#p%^!Z#r%^!Z#t%^!Z#v%^!Z#w%^!Z'm%^!Z(T%^!Z(d%^!Z!h%^!Z!T%^!Z'k%^!Z#Y%^!Zp%^!Z!Y%^!Z%b%^!Z!b%^!Z~P#,gOP%^!ZY%^!Zl%^!Z{%^!Z!f%^!Z!g%^!Z!i%^!Z!m%^!Z#h%^!Z#i%^!Z#j%^!Z#k%^!Z#l%^!Z#m%^!Z#n%^!Z#o%^!Z#p%^!Z#r%^!Z#t%^!Z#v%^!Z#w%^!Z#z%^!Z(T%^!Z(d%^!Z!W%^!Z!X%^!Z~P%A_Op(XX~P1qO'w!lO~P!*SO!TdX!WdX#YdX~P&2_OPZXYZXlZXzZX{ZX}ZX!WZX!WdX!fZX!gZX!iZX!mZX#YZX#YdX#edX#hZX#iZX#jZX#kZX#lZX#mZX#nZX#oZX#pZX#rZX#tZX#vZX#wZX#|ZX(TZX(dZX(kZX(lZX~O!bdX!hZX!hdX(ddX~P&GuOP9qOQ9qOb;bOc!iOjkOl9qOmkOnkOtkOv9qOx9qO}WO!RkO!SkO!YXO!d9tO!iZO!l9qO!m9qO!n9qO!p9uO!r9xO!u!hO$R!kO$VfO'v)UO'xTO'{UO(TVO(c[O(p;`O~O!W:VO!X$la~Oj%SOl$tOm$sOn$sOt%TOv%UOx:]O}${O!Y$|O!d;gO!i$xO#d:cO$R%YO$n:_O$p:aO$s%ZO'v(lO'xTO'{UO(P%RO(T$uO~O#q)]O~P&LkO!XZX!XdX~P&GuO#e9yO~O!b#uO#e9yO~O#Y:ZO~O#p:OO~O#Y:eO!W(iX!X(iX~O#Y:ZO!W(gX!X(gX~O#e:fO~Oe:hO~P!0kO#e:mO~O#e:nO~O!b#uO#e:oO~O!b#uO#e:fO~O#z:pO~P#CQO#e:qO~O#e:rO~O#e:sO~O#e:tO~O#e:uO~O#e:vO~O#z:wO~P!0kO#z:xO~P!0kO$V~!g!}#O#Q#R#U#c#d#o(p$n$p$s%V%a%b%c%j%l%o%p%r%t~'qR$V(p#i!S'o'w#jm#h#klz'p(W'p'v$X$Z$X~",goto:"$'R)OPPPP)PPP)SP)eP*t.xPPPP5YPP5pP;l>sP?WP?WPPP?WP@xP?WP?WP?WP@|PPARPAlPFdPPPFhPPPPFhIiPPPIoJjPFhPLxPPPP! WFhPPPFhPFhP!#fFhP!&z!'|!(VP!(y!(}!(yPPPPP!,Y!'|PP!,v!-pP!0dFhFh!0i!3s!8Y!8Y!<OPPP!<VFhPPPPPPPPPPP!?dP!@uPPFh!BSPFhPFhFhFhFhPFh!CfPP!FnP!IrP!Iv!JQ!JU!JUP!FkP!JY!JYP!M^P!MbFhFh!Mh#!k?WP?WP?W?WP##v?W?W#%r?W#(R?W#)w?W?W#*f#,d#,d#,h#,p#,d#,xP#,dP?W#-b?W#.k?W?W5YPPP#/wPPP#0b#0bP#0bP#0x#0bPP#1OP#0uP#0u#1c#0u#1}#2T5V)S#2W)SP#2_#2_#2_P)SP)SP)SP)SPP)SP#2e#2hP#2h)SP#2lP#2oP)SP)SP)SP)SP)SP)S)SPP#2u#2{#3W#3^#3d#3j#3p#4O#4U#4[#4f#4l#4v#5V#5]#5}#6a#6g#6m#6{#7b#8s#9R#9X#9_#9e#9k#9u#9{#:R#:]#:o#:uPPPPPPPPPP#:{PPPPPPP#;p#>wP#@W#@_#@gPPPP#Du#Gl#NT#NW#NZ$ S$ V$ Y$ a$ iPP$ o$ s$!k$#j$#n$$SPP$$W$$^$$bP$$e$$i$$l$%b$%y$&b$&f$&i$&l$&r$&u$&y$&}R!{RoqOXst!Z#c%f&i&k&l&n,b,g1g1jY!uQ'V-S0z4uQ%lvQ%tyQ%{|Q&a!VS&}!e,zQ']!iS'c!r!xS*_$|*dQ+`%uQ+m%}Q,R&ZQ-Q'UQ-['^Q-d'dQ/p*fQ1U,SR:d9u%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7yS#p]9r!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ*o%VQ+e%wQ,T&^Q,[&fQ.X:[Q0W+WQ0[+YQ0g+fQ1^,YQ2k.UQ4`0bQ5T1VQ6R2oQ6X:]Q6z4aR8P6S&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;ct!nQ!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4w$^$si#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ&O|Q&{!eS'R%b,}Q+e%wQ/{*sQ0g+fQ0l+lQ1],XQ1^,YQ4`0bQ4i0nQ5W1XQ5X1[Q6z4aQ6}4fQ7h5ZQ8g7OR8r7ernOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR,V&b&v^OPXYstuvwz!Z!`!g!j!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;b;c[#[WZ#V#Y'O'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q%oxQ%syS%x|%}Q&U!TQ'Y!hQ'[!iQ(g#rS*R$x*VS+_%t%uQ+c%wQ+|&XQ,Q&ZS-Z']'^Q.W(hQ/Z*SQ0`+`Q0f+fQ0h+gQ0k+kQ1P+}S1T,R,SQ2X-[Q3g/VQ4_0bQ4c0eQ4h0mQ5S1UQ6d3hQ6y4aQ6|4eQ8c6xR9X8dv$zi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i!S%qy!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zQ+X%oQ+r&RQ+u&SQ,P&ZQ.V(gQ1O+|U1S,Q,R,SQ2p.WQ4}1PS5R1T1UQ7d5S#O;d#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg;e:X:Y:_:a:c:j:l:n:r:t:xW%Pi%R*l;`S&R!Q&`Q&S!RQ&T!SR+p&P$_%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mT)r$u)sV*p%V:[:]U'R!e%b,}S(u#y#zQ+j%zS.P(c(dQ0u+vQ4P/yR7S4n&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c$i$`c#X#d%j%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.j.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VT#SV#T&}kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ'P!eR1|,zv!nQ!e!r!u!x!y&}'U'V'c'd'e,z-Q-S-d0z4u4wS*^$|*dS/h*_*fQ/q*gQ0w+xQ3z/pR3}/snqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&p!^Q'm!wS(i#t9yQ+]%rQ+z&UQ+{&WQ-X'ZQ-f'fS.](n:fS0O*x:oQ0^+^Q0y+yQ1n,iQ1p,jQ1x,uQ2V-YQ2Y-^S4U0P:uQ4Z0_S4^0a:vQ5m1zQ5q2WQ5v2_Q6w4[Q7t5oQ7u5rQ7x5wR8x7q$d$_c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(f#o'`U*i$}(m3ZS+S%j.jQ2l0WQ6O2kQ8O6RR9P8P$d$^c#X#d%k%m'x(O(j(q(y(z({(|(})O)P)Q)R)S)T)V)Y)^)h+T+i,x-g-l-q-s.^.d.h.k.l.{/}1v1y2Z2b2v2{2|2}3O3P3Q3R3S3T3U3V3W3X3[3]3b4T4]5n5t5y6V6W6]6^7U7s7w8Q8U8V8{9Z9b9s;VS(e#o'`S(w#z$_S+R%j.jS.Q(d(fQ.m)XQ0T+SR2i.R&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS#p]9rQ&k!XQ&l!YQ&n![Q&o!]R1f,eQ'W!hQ+U%oQ-V'YS.S(g+XQ2T-UW2m.V.W0V0XQ5p2UU5}2j2l2pS7{6O6QS8}7}8OS9d8|9PQ9l9eR9o9mU!vQ'V-ST4s0z4u!Q_OXZ`st!V!Z#c#g%^%f&`&b&i&k&l&n(`,b,g-y1g1j]!pQ!r'V-S0z4uT#p]9r%Y{OPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS(u#y#zS.P(c(d!s:|$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cY!tQ'V-S0z4uQ'b!rS'l!u!xS'n!y4wS-c'c'dQ-e'eR2`-dQ'k!tS([#f1aS-b'b'nQ/Y*RQ/f*^Q2a-eQ3l/ZS3u/g/qQ6c3gS6n3{3}Q8Z6dR8b6qQ#vbQ'j!tS(Z#f1aS(]#l*wQ*y%_Q+Z%pQ+a%vU-a'b'k'nQ-u([Q/X*RQ/e*^Q/k*aQ0]+[Q1Q,OS2^-b-eQ2f-}S3k/Y/ZS3t/f/qQ3w/jQ3y/lQ5P1RQ5x2aQ6b3gQ6f3lS6j3u3}Q6o3|Q7b5QS8Y6c6dQ8^6kQ8`6nQ8o7cQ9T8ZQ9U8_Q9W8bQ9`8pQ9h9VQ;P:zQ;[;TR;];UV!vQ'V-S%YaOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yS#vz!j!r:y$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;P;b%YbOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yQ%_j!S%py!i!t%s%t%u&|'[']'^'b'l*^+_+`,w-Z-[-c/h0`2Q2X2`3zS%vz!jQ+[%qQ,O&ZW1R,P,Q,R,SU5Q1S1T1US7c5R5SQ8p7d!r:z$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ;T;aR;U;b$|eOPXYstuvw!Z!`!g!o#R#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7yY#aWZ#V#Y'y!S%cm#g#h#k%^%a(S(^(_(`*z*{*},^,t-r-x-y-z-|1o2g2h5k5|Q,]&f!p:{$[$m)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cR;O'OS'S!e%bR2O,}%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|,_,b,g-W-`-n-t.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2w4r4|5^5_5b5u7Z7`7o7y!r)W$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cQ,[&fQ0W+WQ2k.UQ6R2oR8P6S!f$Uc#X%j'x(O(j(q)Q)R)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!T:Q)V)h,x.j1v1y2{3T3U3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!b$Wc#X%j'x(O(j(q)S)T)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9s!P:S)V)h,x.j1v1y2{3V3W3[3b5n6W6]6^7U7s8Q8U8V9Z9b;V!^$[c#X%j'x(O(j(q)Y)^+i-g-l-q-s.^.d.{/}2Z2b2v3X4T4]5t5y6V7w8{9sQ3f/Tz;c)V)h,x.j1v1y2{3[3b5n6W6]6^7U7s8Q8U8V9Z9b;VQ;h;jR;i;k&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cS$nh$oR3_.p'TgOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$jf$pQ$hfS)a$k)eR)m$pT$if$pT)c$k)e'ThOPWXYZhstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m$o%f%l%y&b&e&f&i&k&l&n&r&z'O'X'i'y'{(R(Y(n(r(v)j)u*x*|+W,_,b,g,s,v-W-`-n-t.U.b.i.p.q/z0P0a0}1_1`1b1d1g1j1l1{2]2c2o2w3^4p4r4|5^5_5b5l5u6S7Z7`7o7y8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;cT$nh$oQ$qhR)l$o%YjOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%f%l%y&b&e&f&i&k&l&n&r&z'X'i'y'{(R(Y(n(r(v)u*x*|+W,_,b,g-W-`-n-t.U.b.i/z0P0a0}1_1`1b1d1g1j1l2]2c2o2w4r4|5^5_5b5u6S7Z7`7o7y!s;a$[$m'O)j,s,v.q1{3^4p5l8h8y9q9t9u9x9y9z9{9|9}:O:P:Q:R:S:T:U:V:Z:d:e:f:h:o:p:u:v;c#clOPXZst!Z!`!o#R#c#n#{$m%f&b&e&f&i&k&l&n&r&z'X(v)j*|+W,_,b,g-W.U.q/z0}1_1`1b1d1g1j1l2o3^4r4|5^5_5b6S7Z7`7ov$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mQ*t%ZQ.|)vg3Z:X:Y:_:a:c:j:l:n:r:t:xv$yi#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;iQ*W$zS*a$|*dQ*u%[Q/l*b#O;R#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mf;S:X:Y:_:a:c:j:l:n:r:t:xQ;W;dQ;X;eQ;Y;fR;Z;gv$}i#w%W%X%])z)|*U*j*k._/^/|3f4O8X;`;h;i#O(m#u$c$d$x${)q)w)}*[+V+Y+q+t.T/P/_/a0q0t0|2n3p3x4W4Y4{6P6g6p7]7|8l9O9^9f:^:`:b:i:k:m:q:s:w;l;mg3Z:X:Y:_:a:c:j:l:n:r:t:xnoOXst!Z#c%f&i&k&l&n,b,g1g1jQ*Z${Q,p&uQ,q&wR3o/_$^%Oi#u#w$c$d$x${%W%X%])q)w)z)|)}*U*[*j*k+V+Y+q+t.T._/P/^/_/a/|0q0t0|2n3f3p3x4O4W4Y4{6P6g6p7]7|8X8l9O9^9f:X:Y:^:_:`:a:b:c:i:j:k:l:m:n:q:r:s:t:w:x;`;h;i;l;mQ+s&SQ0s+uQ4l0rR7R4mT*c$|*dS*c$|*dT4t0z4uS/j*`4rT3|/r7ZQ+Z%pQ/k*aQ0]+[Q1Q,OQ5P1RQ7b5QQ8o7cR9`8pn)z$v(o*v/]/t/u2t3m4S6a6r9S;Q;^;_!Y:i(k)[*Q*Y.[.x.}/T/b0U0p0r2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k]:j3Y6[8R9Q9R9pp)|$v(o*v/R/]/t/u2t3m4S6a6r9S;Q;^;_![:k(k)[*Q*Y.[.x.}/T/b0U0p0r2q2s3n3r4k4m6T6U6h6l6t6v8]8a9g;j;k_:l3Y6[8R8S9Q9R9prnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ&]!UR,_&frnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jR&]!UQ+w&TR0o+psnOXst!V!Z#c%f&`&i&k&l&n,b,g1g1jQ0{+|S4z1O1PU7[4x4y4}S8k7^7_S9[8j8mQ9i9]R9n9jQ&d!VR,W&`R5W1XS%x|%}R0h+gQ&i!WR,b&jR,h&oT1h,g1jR,l&pQ,k&pR1q,lQ'p!zR-h'pSsOtQ#cXT%is#cQ!}TR'r!}Q#QUR't#QQ)s$uR.y)sQ#TVR'v#TQ#WWU'|#W'}-oQ'}#XR-o(OQ,{'PR1},{Q.`(oR2u.`Q.c(qS2x.c2yR2y.dQ-S'VR2R-SY!rQ'V-S0z4uR'a!rS#^W%aU(T#^(U-pQ(U#_R-p(PQ-O'SR2P-Ot`OXst!V!Z#c%f&`&b&i&k&l&n,b,g1g1jS#gZ%^U#q`#g-yR-y(`Q(a#iQ-v(]W.O(a-v2d5zQ2d-wR5z2eQ)e$kR.r)eQ$ohR)k$oQ$bcU)Z$b-k:WQ-k9sR:W)hQ/W*RW3i/W3j6e8[U3j/X/Y/ZS6e3k3lR8[6f#o)x$v(k(o)[*Q*Y*q*r*v.Y.Z.[.x.}/R/S/T/]/b/t/u0U0p0r2q2r2s2t3Y3m3n3r4S4k4m6T6U6Y6Z6[6a6h6l6r6t6v8R8S8T8]8a9Q9R9S9g9p;Q;^;_;j;kQ/`*YU3q/`3s6iQ3s/bR6i3rQ*d$|R/n*dQ*m%QR/w*mQ4X0UR6u4XQ+O%dR0S+OQ4o0uS7T4o8iR8i7UQ+y&UR0x+yQ4u0zR7X4uQ1W,TS5U1W7fR7f5WQ0c+cW4b0c4d6{8eQ4d0fQ6{4cR8e6|Q+h%xR0i+hQ1j,gR5f1jYrOXst#cQ&m!ZQ+Q%fQ,a&iQ,c&kQ,d&lQ,f&nQ1e,bS1h,g1jR5e1gQ%hpQ&q!_Q&t!aQ&v!bQ&x!cQ'h!tQ+P%eQ+]%rQ+o&OQ,V&dQ,n&sW-_'b'j'k'nQ-f'fQ/m*cQ0^+^S1Z,W,ZQ1r,mQ1s,pQ1t,qQ2Y-^W2[-a-b-e-gQ4Z0_Q4g0lQ4j0pQ5O1QQ5Y1]Q5d1fU5s2Z2^2aQ5v2_Q6w4[Q7P4iQ7Q4kQ7W4tQ7a5PQ7g5XS7v5t5xQ7x5wQ8f6}Q8n7bQ8s7hQ8z7wQ9Y8gQ9_8oQ9c8{R9k9`Q%ryQ'Z!iQ'f!tU+^%s%t%uQ,u&|U-Y'[']'^S-^'b'lQ/d*^S0_+_+`Q1z,wS2W-Z-[Q2_-cQ3v/hQ4[0`Q5o2QQ5r2XQ5w2`R6m3zS$wi;`R*n%RU%Qi%R;`R/v*lQ$viS(k#u+YQ(o#wS)[$c$dQ*Q$xQ*Y${Q*q%WQ*r%XQ*v%]Q.Y:^Q.Z:`Q.[:bQ.x)qS.})w/PQ/R)zQ/S)|Q/T)}Q/]*UQ/b*[Q/t*jQ/u*kh0U+V.T0|2n4{6P7]7|8l9O9^9fQ0p+qQ0r+tQ2q:iQ2r:kQ2s:mQ2t._S3Y:X:YQ3m/^Q3n/_Q3r/aQ4S/|Q4k0qQ4m0tQ6T:qQ6U:sQ6Y:_Q6Z:aQ6[:cQ6a3fQ6h3pQ6l3xQ6r4OQ6t4WQ6v4YQ8R:nQ8S:jQ8T:lQ8]6gQ8a6pQ9Q:rQ9R:tQ9S8XQ9g:wQ9p:xQ;Q;`Q;^;hQ;_;iQ;j;lR;k;mnpOXst!Z#c%f&i&k&l&n,b,g1g1jQ!fPS#eZ#nQ&s!`U'_!o4r7ZQ'u#RQ(x#{Q)i$mS,Z&b&eQ,`&fQ,m&rQ,r&zQ-U'XQ.f(vQ.v)jQ0Q*|Q0X+WQ1c,_Q2U-WQ2l.UQ3a.qQ4Q/zQ4y0}Q5[1_Q5]1`Q5a1bQ5c1dQ5h1lQ6O2oQ6_3^Q7_4|Q7k5^Q7l5_Q7n5bQ8O6SQ8m7`R8w7o#WcOPXZst!Z!`!o#c#n#{%f&b&e&f&i&k&l&n&r&z'X(v*|+W,_,b,g-W.U/z0}1_1`1b1d1g1j1l2o4r4|5^5_5b6S7Z7`7oQ#XWQ#dYQ%juQ%kvS%mw!gS'x#V'{Q(O#YQ(j#tQ(q#xQ(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)T$YQ)V$[Q)Y$aQ)^$eW)h$m)j.q3^Q+T%lQ+i%yS,x'O1{Q-g'iS-l'y-nQ-q(RQ-s(YQ.^(nQ.d(rQ.h9qQ.j9tQ.k9uQ.l9xQ.{)uQ/}*xQ1v,sQ1y,vQ2Z-`Q2b-tQ2v.bQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W:UQ3X.iQ3[:ZQ3]:dQ3b:VQ4T0PQ4]0aQ5n:eQ5t2]Q5y2cQ6V2wQ6W:fQ6]:hQ6^:oQ7U4pQ7s5lQ7w5uQ8Q:pQ8U:uQ8V:vQ8{7yQ9Z8hQ9b8yQ9s#RR;V;cR#ZWR'Q!eY!tQ'V-S0z4uS&|!e,zQ'b!rS'l!u!xS'n!y4wS,w&}'US-c'c'dQ-e'eQ2Q-QR2`-dR(p#wR(s#xQ!fQT-R'V-S]!qQ!r'V-S0z4uQ#o]R'`9rT#jZ%^S#iZ%^S%dm,^U(]#g#h#kS-w(^(_Q-{(`Q0R*}Q2e-xU2f-y-z-|S5{2g2hR7z5|`#]W#V#Y%a'y(S*z-rr#fZm#g#h#k%^(^(_(`*}-x-y-z-|2g2h5|Q1a,^Q1w,tQ5j1oQ7r5kT:}'O*{T#`W%aS#_W%aS'z#V(SS(P#Y*zS,y'O*{T-m'y-rT'T!e%bQ$kfR)o$pT)d$k)eR3`.pT*T$x*VR*]${Q0V+VQ2j.TQ4x0|Q6Q2nQ7^4{Q7}6PQ8j7]Q8|7|Q9]8lQ9e9OQ9j9^R9m9fnqOXst!Z#c%f&i&k&l&n,b,g1g1jQ&c!VR,V&`tmOXst!U!V!Z#c%f&`&i&k&l&n,b,g1g1jR,^&fT%em,^R0v+vR,U&^Q%||R+n%}R+d%wT&g!W&jT&h!W&jT1i,g1j",nodeNames:"\u26a0 ArithOp ArithOp LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:367,context:s,nodeProps:[["group",-26,7,15,17,63,200,204,208,209,211,214,217,227,229,235,237,239,241,244,250,256,258,260,262,264,266,267,"Statement",-32,11,12,26,29,30,36,46,49,50,52,57,65,73,77,79,81,82,104,105,114,115,132,135,137,138,139,140,142,143,163,164,166,"Expression",-23,25,27,31,35,37,39,167,169,171,172,174,175,176,178,179,180,182,183,184,194,196,198,199,"Type",-3,85,97,103,"ClassItem"],["openedBy",32,"InterpolationStart",51,"[",55,"{",70,"(",144,"JSXStartTag",156,"JSXStartTag JSXStartCloseTag"],["closedBy",34,"InterpolationEnd",45,"]",56,"}",71,")",145,"JSXSelfCloseEndTag JSXEndTag",161,"JSXEndTag"]],propSources:[h],skippedNodes:[0,3,4,270],repeatNodeCount:33,tokenData:"$Fl(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Nu!`!a$#a!a!b$(n!b!c$,m!c!}Er!}#O$-w#O#P$/R#P#Q$4j#Q#R$5t#R#SEr#S#T$7R#T#o$8]#o#p$<m#p#q$=c#q#r$>s#r#s$@P#s$f%Z$f$g+g$g#BYEr#BY#BZ$AZ#BZ$ISEr$IS$I_$AZ$I_$I|Er$I|$I}$Df$I}$JO$Df$JO$JTEr$JT$JU$AZ$JU$KVEr$KV$KW$AZ$KW&FUEr&FU&FV$AZ&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AZ?HUOEr(n%d_$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$e&j'ypOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'ypOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$e&j'yp'|!b'o(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'z#S$e&j'p(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$e&j'yp'|!b'p(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$e&j!m$Ip'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#r$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'x$(n$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$e&j'|!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$e&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$`#t$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$`#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$`#t$e&j'|!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'|!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$`#t'|!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hh$e&j'yp'|!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__US$e&j'yp'|!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]US$e&j'|!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXUS$e&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSUSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWUS'|!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]US$e&j'ypOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWUS'ypOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYUS'yp'|!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S#%|C}i$e&j(c!L^'yp'|!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr#%|EoP;=`<%lCr(CSFRk$e&j'yp'|!b(W!LY'v&;d$X#tOY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$e&j'yp'|!b$X#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv(CSJPP;=`<%lEr%#SJ_`$e&j'yp'|!b#j$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SKl_$e&j#|$Id'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfLva(l%<v$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SNW`$e&j#v$Id'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b! c_'{$)`$e&j'ypOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b*Q!!i_$e&j'ypOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b)`!#mX$e&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h#t!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y#t!$oP;=`<%l!$Y)`!$uP;=`<%l!#h*Q!%R]$`#t$e&j'ypOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r$f!&PZ'ypOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z$f!&yU$`#t'ypOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r$f!'`P;=`<%l!%z*Q!'fP;=`<%l!!b(*Q!'t_!i(!b$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'l!)O_!hM|$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h!*[b$e&j'yp'|!b'w#)d#k$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S!+o`$e&j'yp'|!b#h$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&-O!,|`$e&j'yp'|!bl&%`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&C[!.Z_!W&;l$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!/ec$e&j'yp'|!bz'<nOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!0ya$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!2Z_!VMt$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!3eg$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!5Vg$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!6wc$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!8_c$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!9uf$e&j'yp'|!b#i$IdOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Kpxz!;Zz{#,f{!P!;Z!P!Q#-{!Q!^!;Z!^!_#'Z!_!`#5k!`!a#7Q!a!}!;Z!}#O#*}#O#P!Dj#P#o!;Z#o#p#'Z#p;'S!;Z;'S;=`#,`<%lO!;Z(r!;fb$e&j'yp'|!b!SSOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Kpx!P!;Z!P!Q#%Z!Q!^!;Z!^!_#'Z!_!}!;Z!}#O#*}#O#P!Dj#P#o!;Z#o#p#'Z#p;'S!;Z;'S;=`#,`<%lO!;Z(Q!<w`$e&j'|!b!SSOY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eb!Q!^!<n!^!_!GY!_!}!<n!}#O!Ja#O#P!Dj#P#o!<n#o#p!GY#p;'S!<n;'S;=`!Kj<%lO!<n&n!>Q^$e&j!SSOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$e&j!SSO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!SSOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!SS#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$e&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$e&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$e&j'|!b!SSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ'|!b!SSOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb'|!b!SSOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX'|!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$e&j'|!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!<n#Q#o!Ja#o#p!Ic#p;'S!Ja;'S;=`!Kd<%lO!Ja(Q!KgP;=`<%l!Ja(Q!KmP;=`<%l!<n'`!Ky`$e&j'yp!SSOY!KpYZ&cZr!Kprs!=ys!P!Kp!P!Q!L{!Q!^!Kp!^!_!Ns!_!}!Kp!}#O##z#O#P!Dj#P#o!Kp#o#p!Ns#p;'S!Kp;'S;=`#%T<%lO!Kp'`!MUi$e&j'yp!SSOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#Z(r#Z#[!L{#[#](r#]#^!L{#^#a(r#a#b!L{#b#g(r#g#h!L{#h#i(r#i#j!L{#j#m(r#m#n!L{#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rt!NzZ'yp!SSOY!NsZr!Nsrs!@Ys!P!Ns!P!Q# m!Q!}!Ns!}#O#!|#O#P!Bb#P;'S!Ns;'S;=`##t<%lO!Nst# tb'yp!SSOY)rZr)rs#O)r#P#Z)r#Z#[# m#[#])r#]#^# m#^#a)r#a#b# m#b#g)r#g#h# m#h#i)r#i#j# m#j#m)r#m#n# m#n;'S)r;'S;=`*Z<%lO)rt##RX'ypOY#!|Zr#!|rs!Acs#O#!|#O#P!A{#P#Q!Ns#Q;'S#!|;'S;=`##n<%lO#!|t##qP;=`<%l#!|t##wP;=`<%l!Ns'`#$R^$e&j'ypOY##zYZ&cZr##zrs!Bws!^##z!^!_#!|!_#O##z#O#P!Cr#P#Q!Kp#Q#o##z#o#p#!|#p;'S##z;'S;=`#$}<%lO##z'`#%QP;=`<%l##z'`#%WP;=`<%l!Kp(r#%fk$e&j'yp'|!b!SSOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#Z%Z#Z#[#%Z#[#]%Z#]#^#%Z#^#a%Z#a#b#%Z#b#g%Z#g#h#%Z#h#i%Z#i#j#%Z#j#m%Z#m#n#%Z#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#W#'d]'yp'|!b!SSOY#'ZZr#'Zrs!GYsw#'Zwx!Nsx!P#'Z!P!Q#(]!Q!}#'Z!}#O#)w#O#P!Bb#P;'S#'Z;'S;=`#*w<%lO#'Z#W#(fe'yp'|!b!SSOY*gZr*grs'}sw*gwx)rx#O*g#P#Z*g#Z#[#(]#[#]*g#]#^#(]#^#a*g#a#b#(]#b#g*g#g#h#(]#h#i*g#i#j#(]#j#m*g#m#n#(]#n;'S*g;'S;=`+Z<%lO*g#W#*OZ'yp'|!bOY#)wZr#)wrs!Icsw#)wwx#!|x#O#)w#O#P!A{#P#Q#'Z#Q;'S#)w;'S;=`#*q<%lO#)w#W#*tP;=`<%l#)w#W#*zP;=`<%l#'Z(r#+W`$e&j'yp'|!bOY#*}YZ&cZr#*}rs!Jasw#*}wx##zx!^#*}!^!_#)w!_#O#*}#O#P!Cr#P#Q!;Z#Q#o#*}#o#p#)w#p;'S#*};'S;=`#,Y<%lO#*}(r#,]P;=`<%l#*}(r#,cP;=`<%l!;Z(CS#,sb$e&j'yp'|!b'q(;d!SSOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Kpx!P!;Z!P!Q#%Z!Q!^!;Z!^!_#'Z!_!}!;Z!}#O#*}#O#P!Dj#P#o!;Z#o#p#'Z#p;'S!;Z;'S;=`#,`<%lO!;Z(CS#.W_$e&j'yp'|!bR(;dOY#-{YZ&cZr#-{rs#/Vsw#-{wx#2gx!^#-{!^!_#4f!_#O#-{#O#P#0X#P#o#-{#o#p#4f#p;'S#-{;'S;=`#5e<%lO#-{(Bb#/`]$e&j'|!bR(;dOY#/VYZ&cZw#/Vwx#0Xx!^#/V!^!_#1j!_#O#/V#O#P#0X#P#o#/V#o#p#1j#p;'S#/V;'S;=`#2a<%lO#/V(AO#0`X$e&jR(;dOY#0XYZ&cZ!^#0X!^!_#0{!_#o#0X#o#p#0{#p;'S#0X;'S;=`#1d<%lO#0X(;d#1QSR(;dOY#0{Z;'S#0{;'S;=`#1^<%lO#0{(;d#1aP;=`<%l#0{(AO#1gP;=`<%l#0X(<v#1qW'|!bR(;dOY#1jZw#1jwx#0{x#O#1j#O#P#0{#P;'S#1j;'S;=`#2Z<%lO#1j(<v#2^P;=`<%l#1j(Bb#2dP;=`<%l#/V(Ap#2p]$e&j'ypR(;dOY#2gYZ&cZr#2grs#0Xs!^#2g!^!_#3i!_#O#2g#O#P#0X#P#o#2g#o#p#3i#p;'S#2g;'S;=`#4`<%lO#2g(<U#3pW'ypR(;dOY#3iZr#3irs#0{s#O#3i#O#P#0{#P;'S#3i;'S;=`#4Y<%lO#3i(<U#4]P;=`<%l#3i(Ap#4cP;=`<%l#2g(=h#4oY'yp'|!bR(;dOY#4fZr#4frs#1jsw#4fwx#3ix#O#4f#O#P#0{#P;'S#4f;'S;=`#5_<%lO#4f(=h#5bP;=`<%l#4f(CS#5hP;=`<%l#-{%#W#5xb$e&j#|$Id'yp'|!b!SSOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Kpx!P!;Z!P!Q#%Z!Q!^!;Z!^!_#'Z!_!}!;Z!}#O#*}#O#P!Dj#P#o!;Z#o#p#'Z#p;'S!;Z;'S;=`#,`<%lO!;Z+h#7_b$U#t$e&j'yp'|!b!SSOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Kpx!P!;Z!P!Q#%Z!Q!^!;Z!^!_#'Z!_!}!;Z!}#O#*}#O#P!Dj#P#o!;Z#o#p#'Z#p;'S!;Z;'S;=`#,`<%lO!;Z$/l#8rp$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#:v![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#:v#S#U%Z#U#V#>Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#<v#c#d#AY#d#l%Z#l#m#D[#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#;Rk$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#:v![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#:v#S#X%Z#X#Y!4|#Y#b%Z#b#c#<v#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#=R_$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>Zd$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#<v#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Acc$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#Bn!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#Bn#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Bye$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#Bn!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#Bn#S#b%Z#b#c#<v#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#Deg$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#E|![!^%Z!^!_*g!_!c%Z!c!i#E|!i#O%Z#O#P&c#P#R%Z#R#S#E|#S#T%Z#T#Z#E|#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#FXi$e&j'yp'|!bm$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#E|![!^%Z!^!_*g!_!c%Z!c!i#E|!i#O%Z#O#P&c#P#R%Z#R#S#E|#S#T%Z#T#Z#E|#Z#b%Z#b#c#<v#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#HT_!b$b$e&j#z%<f'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#I___l$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS#Jm^(P!*v!f'.r'yp'|!b$V)d(pSOY*gZr*grs'}sw*gwx)rx!P*g!P!Q#Ki!Q!^*g!^!_#L_!_!`#NP!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#KrX$g&j'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#LhZ#l$Id'yp'|!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#MZ!`#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#MdX#|$Id'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#NYX#m$Id'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Gh$ Qa#Y%?x$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$!V!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#W$!b_#e$Ih$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh$#paeBf#m$Id$b#|$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$$u!`!a$&P!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$%Q_#m$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$&[a#l$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$'a!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$'l`#l$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h$(yc(d$Ip$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P$*U!P!^%Z!^!_*g!_!a%Z!a!b$+`!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+`$*a_{'#p$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$+k`$e&j#w$Id'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&^$,x_!y!Ln$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(@^$.S_}(8n$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/WZ$e&jO!^$/y!^!_$0a!_#i$/y#i#j$0f#j#l$/y#l#m$2X#m#o$/y#o#p$0a#p;'S$/y;'S;=`$4d<%lO$/y(n$0QT]#S$e&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0fO]#S(n$0k[$e&jO!Q&c!Q![$1a![!^&c!_!c&c!c!i$1a!i#T&c#T#Z$1a#Z#o&c#o#p$3w#p;'S&c;'S;=`&w<%lO&c(n$1fZ$e&jO!Q&c!Q![$2X![!^&c!_!c&c!c!i$2X!i#T&c#T#Z$2X#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2^Z$e&jO!Q&c!Q![$3P![!^&c!_!c&c!c!i$3P!i#T&c#T#Z$3P#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3UZ$e&jO!Q&c!Q![$/y![!^&c!_!c&c!c!i$/y!i#T&c#T#Z$/y#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$3zR!Q![$4T!c!i$4T#T#Z$4T#S$4WS!Q![$4T!c!i$4T#T#Z$4T#q#r$0a(n$4gP;=`<%l$/y!2r$4u_!T!+S$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$6P`#t$Id$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&,v$7^_$e&j'yp'|!b(T&%WOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$8lk$e&j'yp'|!b(W!LY'v&;d$Z#tOY%ZYZ&cZr%Zrs&}st%Ztu$8]uw%Zwx(rx}%Z}!O$:a!O!Q%Z!Q![$8]![!^%Z!^!_*g!_!c%Z!c!}$8]!}#O%Z#O#P&c#P#R%Z#R#S$8]#S#T%Z#T#o$8]#o#p*g#p$g%Z$g;'S$8];'S;=`$<g<%lO$8]+d$:lk$e&j'yp'|!b$Z#tOY%ZYZ&cZr%Zrs&}st%Ztu$:auw%Zwx(rx}%Z}!O$:a!O!Q%Z!Q![$:a![!^%Z!^!_*g!_!c%Z!c!}$:a!}#O%Z#O#P&c#P#R%Z#R#S$:a#S#T%Z#T#o$:a#o#p*g#p$g%Z$g;'S$:a;'S;=`$<a<%lO$:a+d$<dP;=`<%l$:a(CS$<jP;=`<%l$8]!5p$<vX!Y!3l'yp'|!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Df$=na(k%<v$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+`#q;'S%Z;'S;=`+a<%lO%Z%#`$?Q_!X$I`p`$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(r$@[_!nS$e&j'yp'|!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$Al|$e&j'yp'|!b'o(;d(W!LY'v&;d$X#tOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$AZ#BZ$ISEr$IS$I_$AZ$I_$JTEr$JT$JU$AZ$JU$KVEr$KV$KW$AZ$KW&FUEr&FU&FV$AZ&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AZ?HUOEr(CS$Dwk$e&j'yp'|!b'p(;d(W!LY'v&;d$X#tOY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[u,c,2,3,4,5,6,7,8,9,10,11,12,13,l,new i.RA("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOr~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!P~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(V~~",141,328),new i.RA("j~RQYZXz{^~^O's~~aP!P!Qd~iO't~~",25,310)],topRules:{Script:[0,5],SingleExpression:[1,268],SingleClassItem:[2,269]},dialects:{jsx:12801,ts:12803},dynamicPrecedences:{67:1,77:1,79:1,164:1,192:1},specialized:[{term:314,get:function(e){return f[e]||-1}},{term:330,get:function(e){return d[e]||-1}},{term:68,get:function(e){return p[e]||-1}}],tokenPrec:12827}),g=n(4019),v=n(5224),O=n(52),y=n(6391),b=n(1330),k=[(0,y.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,y.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,y.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,y.Gn)("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,y.Gn)("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,y.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,y.Gn)("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,y.Gn)("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,y.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,y.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,y.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],S=new b.hr,x=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function w(e){return function(t,n){var r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}var T=["FunctionDeclaration"],C={FunctionDeclaration:w("function"),ClassDeclaration:w("class"),ClassExpression:function(){return!0},EnumDeclaration:w("constant"),TypeAliasDeclaration:w("type"),NamespaceDeclaration:w("namespace"),VariableDefinition:function(e,t){e.matchContext(T)||t(e,"variable")},TypeDefinition:function(e,t){t(e,"type")},__proto__:null};function E(e,t){var n=S.get(t);if(n)return n;var i=[],o=!0;function a(t,n){var r=e.sliceString(t.from,t.to);i.push({label:r,type:n})}return t.cursor(b.vj.IncludeAnonymous).iterate((function(t){if(o)o=!1;else if(t.name){var n=C[t.name];if(n&&n(t,a)||x.has(t.name))return!1}else if(t.to-t.from>8192){var s,l=(0,r.Z)(E(e,t.node));try{for(l.s();!(s=l.n()).done;){var u=s.value;i.push(u)}}catch(c){l.e(c)}finally{l.f()}return!1}})),S.set(t,i),i}var A=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,P=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function _(e){var t=(0,g.qz)(e.state).resolveInner(e.pos,-1);if(P.indexOf(t.name)>-1)return null;var n="VariableName"==t.name||t.to-t.from<20&&A.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;for(var r=[],i=t;i;i=i.parent)x.has(i.name)&&(r=r.concat(E(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:A}}function D(e,t,n){for(var r,i=[];;){var o=t.firstChild,a=void 0;if("VariableName"==(null===o||void 0===o?void 0:o.name))return i.push(e(o)),{path:i.reverse(),name:n};if("MemberExpression"!=(null===o||void 0===o?void 0:o.name)||"PropertyName"!=(null===(r=a=o.lastChild)||void 0===r?void 0:r.name))return null;i.push(e(a)),t=o}}function Z(e){var t=function(t){return e.state.doc.sliceString(t.from,t.to)},n=(0,g.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?D(t,n.parent,t(n)):"."!=n.name&&"?."!=n.name||"MemberExpression"!=n.parent.name?P.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&A.test(t(n))?{path:[],name:t(n)}:"MemberExpression"==n.name?D(t,n,""):e.explicit?{path:[],name:""}:null:D(t,n.parent,"")}function N(e){var t=new Map;return function(n){var i=Z(n);if(!i)return null;var o,a=e,s=(0,r.Z)(i.path);try{for(s.s();!(o=s.n()).done;){if(!(a=a[o.value]))return null}}catch(u){s.e(u)}finally{s.f()}var l=t.get(a);return l||t.set(a,l=function(e,t){for(var n=[],i=new Set,o=0;;o++){var a,s=(0,r.Z)((Object.getOwnPropertyNames||Object.keys)(e));try{for(s.s();!(a=s.n()).done;){var l=a.value;if(/^[a-zA-Z_$][\w$]*$/.test(l)&&!i.has(l)){i.add(l);var c=void 0;try{c=e[l]}catch(f){continue}n.push({label:l,type:"function"==typeof c?/^[A-Z]/.test(l)?"class":t?"function":"method":t?"variable":"property",boost:-o})}}}catch(u){s.e(u)}finally{s.f()}var h=Object.getPrototypeOf(e);if(!h)return n;e=h}}(a,!i.path.length)),{from:n.pos-i.name.length,options:l,validFor:A}}}var Q=g.qp.define({name:"javascript",parser:m.configure({props:[g.uj.add({IfStatement:(0,g.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,g.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:g.ze,SwitchBody:function(e){var t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,g.vw)({closing:"}"}),ArrowFunction:function(e){return e.baseIndent+e.unit},"TemplateString BlockComment":function(){return null},"Statement Property":(0,g.tC)({except:/^{/}),JSXElement:function(e){var t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape:function(e){var t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":function(e){return e.column(e.node.from)+e.unit}}),g.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":g.Dv,BlockComment:function(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),R={test:function(e){return/^JSX/.test(e.name)},facet:(0,g.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},M=Q.configure({dialect:"ts"},"typescript"),$=Q.configure({dialect:"jsx",props:[g.KC.add((function(e){return e.isTop?[R]:void 0}))]}),I=Q.configure({dialect:"jsx ts",props:[g.KC.add((function(e){return e.isTop?[R]:void 0}))]},"typescript"),L="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map((function(e){return{label:e,type:"keyword"}}));function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.jsx?e.typescript?I:$:e.typescript?M:Q;return new g.ri(t,[Q.data.of({autocomplete:(0,y.eC)(P,(0,y.Mb)(k.concat(L)))}),Q.data.of({autocomplete:_}),e.jsx?z:[]])}function B(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=null===t||void 0===t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}var j="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),z=O.tk.inputHandler.of((function(e,t,n,r){if((j?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Q.isActiveAt(e.state,t,-1))return!1;var i=e.state,o=i.changeByRange((function(e){var t,n,o,a=e.head,s=(0,g.qz)(i).resolveInner(a,-1);if("JSXStartTag"==s.name&&(s=s.parent),"JSXAttributeValue"==s.name&&s.to>a);else{if(">"==r&&"JSXFragmentTag"==s.name)return{range:v.jT.cursor(a+1),changes:{from:a,insert:"></>"}};if("/"==r&&"JSXFragmentTag"==s.name){var l=s.parent,u=null===l||void 0===l?void 0:l.parent;if(l.from==a-1&&"JSXEndTag"!=(null===(t=u.lastChild)||void 0===t?void 0:t.name)&&(n=B(i.doc,null===u||void 0===u?void 0:u.firstChild,a))){var c="/".concat(n,">");return{range:v.jT.cursor(a+c.length),changes:{from:a,insert:c}}}}else if(">"==r){var h=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(s);if(h&&(!(o=h.lastChild)||"JSXEndTag"!=o.name&&"JSXSelfCloseEndTag"!=o.name)&&"</"!=i.sliceDoc(a,a+2)&&(n=B(i.doc,h,a)))return{range:v.jT.cursor(a+1),changes:{from:a,insert:"></".concat(n,">")}}}}return{range:e}}));return!o.changes.empty&&(e.dispatch(o,{userEvent:"input.type",scrollIntoView:!0}),!0)}));function U(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((function(e,n){e.meta.docs.recommended&&(t.rules[n]=2)}))),function(n){var i,o=n.state,a=[],s=(0,r.Z)(Q.findRegions(o));try{for(s.s();!(i=s.n()).done;){var l,u=i.value,c=u.from,h=u.to,f=o.doc.lineAt(c),d={line:f.number-1,col:c-f.from,pos:c},p=(0,r.Z)(e.verify(o.sliceDoc(c,h),t));try{for(p.s();!(l=p.n()).done;){var m=l.value;a.push(X(m,o.doc,d))}}catch(g){p.e(g)}finally{p.f()}}}catch(g){s.e(g)}finally{s.f()}return a}}function Y(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}function X(e,t,n){var r=Y(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?Y(e.endLine,e.endColumn,t,n):r,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){var o=e.fix,a=o.range,s=o.text,l=a[0]+n.pos-r,u=a[1]+n.pos-r;i.actions=[{name:"fix",apply:function(e,t){e.dispatch({changes:{from:t+l,to:t+u,insert:s},scrollIntoView:!0})}}]}return i}},5742:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return nt},deleteMarkupBackward:function(){return ct},insertNewlineContinueMarkup:function(){return lt},markdown:function(){return dt},markdownKeymap:function(){return ht},markdownLanguage:function(){return rt}});var r,i,o=n(2951),a=n(1976),s=n(5224),l=n(52),u=n(4019),c=n(6391),h=n(7591),f=n(9616),d=n(649),p=n(726),m=n(4649),g=n(1330),v=n(994),O=function(){function e(t,n,r,i,a,s,l){(0,o.Z)(this,e),this.type=t,this.value=n,this.from=r,this.hash=i,this.end=a,this.children=s,this.positions=l,this.hashProp=[[g.md.contextHash,i]]}return(0,a.Z)(e,[{key:"addChild",value:function(e,t){e.prop(g.md.contextHash)!=this.hash&&(e=new g.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}},{key:"toTree",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.end,r=this.children.length-1;return r>=0&&(n=Math.max(n,this.positions[r]+this.children[r].length+this.from)),new g.mp(e.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:function(e,n,r){return new g.mp(g.Jq.none,e,n,r,t.hashProp)}})}}],[{key:"create",value:function(t,n,r,i,o){return new e(t,n,r,i+(i<<8)+t+(n<<4)|0,o,[],[])}}]),e}();!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.URL=33]="URL",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel"}(i||(i={}));var y=(0,a.Z)((function e(t,n){(0,o.Z)(this,e),this.start=t,this.content=n,this.marks=[],this.parsers=[]})),b=function(){function e(){(0,o.Z)(this,e),this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}return(0,a.Z)(e,[{key:"forward",value:function(){this.basePos>this.pos&&this.forwardInner()}},{key:"forwardInner",value:function(){var e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}},{key:"skipSpace",value:function(e){return w(this.text,e)}},{key:"reset",value:function(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}},{key:"moveBase",value:function(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}},{key:"moveBaseColumn",value:function(e){this.baseIndent=e,this.basePos=this.findColumn(e)}},{key:"addMarker",value:function(e){this.markers.push(e)}},{key:"countIndent",value:function(e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n<e;n++)t+=9==this.text.charCodeAt(n)?4-t%4:1;return t}},{key:"findColumn",value:function(e){for(var t=0,n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}},{key:"scrub",value:function(){if(!this.baseIndent)return this.text;for(var e="",t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}]),e}();function k(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;var r=(e.type==i.OrderedList?D:_)(n,t,!1);return r>0&&(e.type!=i.BulletList||A(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var S=(r={},(0,m.Z)(r,i.Blockquote,(function(e,t,n){return 62==n.next&&(n.markers.push(se(i.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(x(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)})),(0,m.Z)(r,i.ListItem,(function(e,t,n){return!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0)})),(0,m.Z)(r,i.OrderedList,k),(0,m.Z)(r,i.BulletList,k),(0,m.Z)(r,i.Document,(function(){return!0})),r);function x(e){return 32==e||9==e||10==e||13==e}function w(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t<e.length&&x(e.charCodeAt(t));)t++;return t}function T(e,t,n){for(;t>n&&x(e.charCodeAt(t-1));)t--;return t}function C(e){if(96!=e.next&&126!=e.next)return-1;for(var t=e.pos+1;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(96==e.next)for(var n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function E(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function A(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return-1;for(var r=1,i=e.pos+1;i<e.text.length;i++){var o=e.text.charCodeAt(i);if(o==e.next)r++;else if(!x(o))return-1}return n&&45==e.next&&N(e)>-1&&e.depth==t.stack.length||r<3?-1:1}function P(e,t){for(var n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function _(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!x(e.text.charCodeAt(e.pos+1))||!(!n||P(t,i.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function D(e,t,n){for(var r=e.pos,o=e.next;o>=48&&o<=57;){if(++r==e.text.length)return-1;o=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=o&&41!=o||r<e.text.length-1&&!x(e.text.charCodeAt(r+1))||n&&!P(t,i.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function Z(e){if(35!=e.next)return-1;for(var t=e.pos+1;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;var n=t-e.pos;return n>6?-1:n}function N(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;for(var t=e.pos+1;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;for(var n=t;t<e.text.length&&x(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var Q=/^[ \t]*$/,R=/-->/,M=/\?>/,$=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,R],[/^\s*<\?/,M],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?: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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,Q],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Q]];function I(e,t,n){if(60!=e.next)return-1;for(var r=e.text.slice(e.pos),i=0,o=$.length-(n?1:0);i<o;i++)if($[i][0].test(r))return i;return-1}function L(e,t){var n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function F(e,t,n){var r=e.length-1;r>=0&&e[r].to==t&&e[r].type==i.CodeText?e[r].to=n:e.push(se(i.CodeText,t,n))}var B={LinkReference:void 0,IndentedCode:function(e,t){var n=t.baseIndent+4;if(t.indent<n)return!1;var r=t.findColumn(n),o=e.lineStart+r,a=e.lineStart+t.text.length,s=[],l=[];for(F(s,o,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){F(l,e.lineStart-1,e.lineStart);var u,c=(0,p.Z)(t.markers);try{for(c.s();!(u=c.n()).done;){var h=u.value;l.push(h)}}catch(b){c.e(b)}finally{c.f()}}else{if(t.indent<n)break;if(l.length){var f,d=(0,p.Z)(l);try{for(d.s();!(f=d.n()).done;){var m=f.value;m.type==i.CodeText?F(s,m.from,m.to):s.push(m)}}catch(b){d.e(b)}finally{d.f()}l=[]}F(s,e.lineStart-1,e.lineStart);var g,v=(0,p.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;s.push(O)}}catch(b){v.e(b)}finally{v.f()}a=e.lineStart+t.text.length;var y=e.lineStart+t.findColumn(t.baseIndent+4);y<a&&F(s,y,a)}return l.length&&(l=l.filter((function(e){return e.type!=i.CodeText})),l.length&&(t.markers=l.concat(t.markers))),e.addNode(e.buffer.writeElements(s,-o).finish(i.CodeBlock,a-o),o),!0},FencedCode:function(e,t){var n=C(t);if(n<0)return!1;var r=e.lineStart+t.pos,o=t.next,a=n-t.pos,s=t.skipSpace(n),l=T(t.text,t.text.length,s),u=[se(i.CodeMark,r,r+a)];s<l&&u.push(se(i.CodeInfo,e.lineStart+s,e.lineStart+l));for(var c=!0;e.nextLine()&&t.depth>=e.stack.length;c=!1){var h=t.pos;if(t.indent-t.baseIndent<4)for(;h<t.text.length&&t.text.charCodeAt(h)==o;)h++;if(h-t.pos>=a&&t.skipSpace(h)==t.text.length){var f,d=(0,p.Z)(t.markers);try{for(d.s();!(f=d.n()).done;){var m=f.value;u.push(m)}}catch(k){d.e(k)}finally{d.f()}u.push(se(i.CodeMark,e.lineStart+t.pos,e.lineStart+h)),e.nextLine();break}c||F(u,e.lineStart-1,e.lineStart);var g,v=(0,p.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;u.push(O)}}catch(k){v.e(k)}finally{v.f()}var y=e.lineStart+t.basePos,b=e.lineStart+t.text.length;y<b&&F(u,y,b)}return e.addNode(e.buffer.writeElements(u,-r).finish(i.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote:function(e,t){var n=E(t);return!(n<0)&&(e.startContext(i.Blockquote,t.pos),e.addNode(i.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule:function(e,t){if(A(t,e,!1)<0)return!1;var n=e.lineStart+t.pos;return e.nextLine(),e.addNode(i.HorizontalRule,n),!0},BulletList:function(e,t){var n=_(t,e,!1);if(n<0)return!1;e.block.type!=i.BulletList&&e.startContext(i.BulletList,t.basePos,t.next);var r=L(t,t.pos+1);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList:function(e,t){var n=D(t,e,!1);if(n<0)return!1;e.block.type!=i.OrderedList&&e.startContext(i.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));var r=L(t,t.pos+n);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading:function(e,t){var n=Z(t);if(n<0)return!1;for(var r=t.pos,o=e.lineStart+r,a=T(t.text,t.text.length,r),s=a;s>r&&t.text.charCodeAt(s-1)==t.next;)s--;s!=a&&s!=r&&x(t.text.charCodeAt(s-1))||(s=t.text.length);var l=e.buffer.write(i.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,s),o+n+1),-o);s<t.text.length&&l.write(i.HeaderMark,s-r,a-r);var u=l.finish(i.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(u,o),!0},HTMLBlock:function(e,t){var n=I(t,0,!1);if(n<0)return!1;for(var r=e.lineStart+t.pos,o=$[n][1],a=[],s=o!=Q;!o.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}var l,u=(0,p.Z)(t.markers);try{for(u.s();!(l=u.n()).done;){var c=l.value;a.push(c)}}catch(d){u.e(d)}finally{u.f()}}s&&e.nextLine();var h=o==R?i.CommentBlock:o==M?i.ProcessingInstructionBlock:i.HTMLBlock,f=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(h,f-r),r),!0},SetextHeading:void 0},j=function(){function e(t){(0,o.Z)(this,e),this.stage=0,this.elts=[],this.pos=0,this.start=t.start,this.advance(t.content)}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){if(-1==this.stage)return!1;var r=n.content+"\n"+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}},{key:"finish",value:function(e,t){return(2==this.stage||3==this.stage)&&w(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}},{key:"complete",value:function(e,t,n){return e.addLeafElement(t,se(i.LinkReference,this.start,this.start+n,this.elts)),!0}},{key:"nextStage",value:function(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}},{key:"advance",value:function(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(ye(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(se(i.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){var t=w(e,this.pos),n=0;if(t>this.pos){var r=Oe(e,t,this.start);if(r){var o=z(e,r.to-this.start);o>0&&(this.nextStage(r),n=o)}}return n||(n=z(e,this.pos)),n>0&&n<e.length?n:-1}return z(e,this.pos)}if(!this.nextStage(ve(e,w(e,this.pos),this.start)))return-1}}}}]),e}();function z(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(10==n)break;if(!x(n))return-1}return t}var U=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){var r=t.depth<e.stack.length?-1:N(t),o=t.next;if(r<0)return!1;var a=se(i.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,se(61==o?i.SetextHeading1:i.SetextHeading2,n.start,e.prevLineEnd(),[].concat((0,d.Z)(e.parser.parseInline(n.content,n.start)),[a]))),!0}},{key:"finish",value:function(){return!1}}]),e}(),Y={LinkReference:function(e,t){return 91==t.content.charCodeAt(0)?new j(t):null},SetextHeading:function(){return new U}},X=[function(e,t){return Z(t)>=0},function(e,t){return C(t)>=0},function(e,t){return E(t)>=0},function(e,t){return _(t,e,!0)>=0},function(e,t){return D(t,e,!0)>=0},function(e,t){return A(t,e,!0)>=0},function(e,t){return I(t,0,!0)>=0}],H={text:"",end:0},W=function(){function e(t,n,r,a){(0,o.Z)(this,e),this.parser=t,this.input=n,this.ranges=a,this.line=new b,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=a[a.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=a[0].from,this.block=O.create(i.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=r.length?new xe(r,n):null,this.readLine()}return(0,a.Z)(e,[{key:"parsedPos",get:function(){return this.absoluteLineStart}},{key:"advance",value:function(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();for(var e=this.line;;){for(;e.depth<this.stack.length;)this.finishContext();var t,n=(0,p.Z)(e.markers);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.addNode(r.type,r.from,r.to)}}catch(S){n.e(S)}finally{n.f()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){var i,o=(0,p.Z)(this.parser.blockParsers);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a){var s=a(this,e);if(0!=s){if(1==s)return null;e.forward();continue e}}}}catch(S){o.e(S)}finally{o.f()}break}var l,u=new y(this.lineStart+e.pos,e.text.slice(e.pos)),c=(0,p.Z)(this.parser.leafBlockParsers);try{for(c.s();!(l=c.n()).done;){var h=l.value;if(h){var f=h(this,u);f&&u.parsers.push(f)}}}catch(S){c.e(S)}finally{c.f()}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){var d,m=(0,p.Z)(this.parser.endLeafBlock);try{for(m.s();!(d=m.n()).done;){if((0,d.value)(this,e,u))break e}}catch(S){m.e(S)}finally{m.f()}}var g,v=(0,p.Z)(u.parsers);try{for(v.s();!(g=v.n()).done;){if(g.value.nextLine(this,e,u))return null}}catch(S){v.e(S)}finally{v.f()}u.content+="\n"+e.scrub();var O,b=(0,p.Z)(e.markers);try{for(b.s();!(O=b.n()).done;){var k=O.value;u.marks.push(k)}}catch(S){b.e(S)}finally{b.f()}}return this.finishLeaf(u),null}},{key:"stopAt",value:function(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}},{key:"reuseFragment",value:function(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;var t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=we(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0)}},{key:"depth",get:function(){return this.stack.length}},{key:"parentType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.depth-1;return this.parser.nodeSet.types[this.stack[e].type]}},{key:"nextLine",value:function(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}},{key:"moveRangeI",value:function(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}},{key:"scanLine",value:function(e){var t=H;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1)for(var n=this.absoluteLineStart,r=this.rangeI;this.ranges[r].to<t.end;){r++;var i=this.ranges[r].from,o=this.lineChunkAt(i);t.end=i+o.length,t.text=t.text.slice(0,this.ranges[r-1].to-n)+o,n=t.end-t.text.length}return t}},{key:"readLine",value:function(){var e=this.line,t=this.scanLine(this.absoluteLineStart),n=t.text,r=t.end;for(this.absoluteLineEnd=r,e.reset(n);e.depth<this.stack.length;e.depth++){var o=this.stack[e.depth],a=this.parser.skipContextMarkup[o.type];if(!a)throw new Error("Unhandled block context "+i[o.type]);if(!a(o,this,e))break;e.forward()}}},{key:"lineChunkAt",value:function(e){var t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{var r=n.indexOf("\n");t=r<0?n:n.slice(0,r)}return e+t.length>this.to?t.slice(0,this.to-e):t}},{key:"prevLineEnd",value:function(){return this.atEnd?this.lineStart:this.lineStart-1}},{key:"startContext",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.block=O.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}},{key:"startComposite",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.startContext(this.parser.getNodeType(e),t,n)}},{key:"addNode",value:function(e,t,n){"number"==typeof e&&(e=new g.mp(this.parser.nodeSet.types[e],re,re,(null!==n&&void 0!==n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}},{key:"addElement",value:function(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}},{key:"addLeafElement",value:function(e,t){this.addNode(this.buffer.writeElements(ke(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}},{key:"finishContext",value:function(){var e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}},{key:"finish",value:function(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}},{key:"addGaps",value:function(e){return this.ranges.length>1?q(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}},{key:"finishLeaf",value:function(e){var t,n=(0,p.Z)(e.parsers);try{for(n.s();!(t=n.n()).done;){if(t.value.finish(this,e))return}}catch(o){n.e(o)}finally{n.f()}var r=ke(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(r,-e.start).finish(i.Paragraph,e.content.length),e.start)}},{key:"elt",value:function(e,t,n,r){return"string"==typeof e?se(this.parser.getNodeType(e),t,n,r):new ae(e,t)}},{key:"buffer",get:function(){return new ie(this.parser.nodeSet)}}]),e}();function q(e,t,n,r,i){var o=e[t].to,a=[],s=[],l=n.from+r;function u(n,i){for(;i?n>=o:n>o;){var a=e[t+1].from-o;r+=a,n+=a,t++,o=e[t].to}}for(var c=n.firstChild;c;c=c.nextSibling){u(c.from+r,!0);var h=c.from+r,f=void 0,d=i.get(c.tree);d?f=d:c.to+r>o?(f=q(e,t,c,r,i),u(c.to+r,!1)):f=c.toTree(),a.push(f),s.push(h-l)}return u(n.to+r,!1),new g.mp(n.type,a,s,n.to+r-l,n.tree?n.tree.propValues:void 0)}var G=function(e){(0,h.Z)(n,e);var t=(0,f.Z)(n);function n(e,r,i,a,s,l,u,c,h){var f;(0,o.Z)(this,n),(f=t.call(this)).nodeSet=e,f.blockParsers=r,f.leafBlockParsers=i,f.blockNames=a,f.endLeafBlock=s,f.skipContextMarkup=l,f.inlineParsers=u,f.inlineNames=c,f.wrappers=h,f.nodeTypes=Object.create(null);var d,m=(0,p.Z)(e.types);try{for(m.s();!(d=m.n()).done;){var g=d.value;f.nodeTypes[g.name]=g.id}}catch(v){m.e(v)}finally{m.f()}return f}return(0,a.Z)(n,[{key:"createParse",value:function(e,t,n){var r,i=new W(this,e,t,n),o=(0,p.Z)(this.wrappers);try{for(o.s();!(r=o.n()).done;){i=(0,r.value)(i,e,t,n)}}catch(a){o.e(a)}finally{o.f()}return i}},{key:"configure",value:function(e){var t,r=J(e);if(!r)return this;var o=this.nodeSet,a=this.skipContextMarkup,s=this.blockParsers.slice(),l=this.leafBlockParsers.slice(),u=this.blockNames.slice(),c=this.inlineParsers.slice(),h=this.inlineNames.slice(),f=this.endLeafBlock.slice(),m=this.wrappers;if(V(r.defineNodes)){a=Object.assign({},a);var O,y,b=o.types.slice(),k=(0,p.Z)(r.defineNodes);try{var S=function(){var e=y.value,t="string"==typeof e?{name:e}:e,n=t.name,r=t.block,o=t.composite,s=t.style;if(b.some((function(e){return e.name==n})))return 1;o&&(a[b.length]=function(e,t,n){return o(t,n,e.value)});var l=b.length,u=o?["Block","BlockContext"]:r?l>=i.ATXHeading1&&l<=i.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;b.push(g.Jq.define({id:l,name:n,props:u&&[[g.md.group,u]]})),s&&(O||(O={}),Array.isArray(s)||s instanceof v.Vp?O[n]=s:Object.assign(O,s))};for(k.s();!(y=k.n()).done;)S()}catch(I){k.e(I)}finally{k.f()}o=new g.Lj(b),O&&(o=o.extend((0,v.Gv)(O)))}if(V(r.props)&&(o=(t=o).extend.apply(t,(0,d.Z)(r.props))),V(r.remove)){var x,w=(0,p.Z)(r.remove);try{for(w.s();!(x=w.n()).done;){var T=x.value,C=this.blockNames.indexOf(T),E=this.inlineNames.indexOf(T);C>-1&&(s[C]=l[C]=void 0),E>-1&&(c[E]=void 0)}}catch(I){w.e(I)}finally{w.f()}}if(V(r.parseBlock)){var A,P=(0,p.Z)(r.parseBlock);try{for(P.s();!(A=P.n()).done;){var _=A.value,D=u.indexOf(_.name);if(D>-1)s[D]=_.parse,l[D]=_.leaf;else{var Z=_.before?K(u,_.before):_.after?K(u,_.after)+1:u.length-1;s.splice(Z,0,_.parse),l.splice(Z,0,_.leaf),u.splice(Z,0,_.name)}_.endLeaf&&f.push(_.endLeaf)}}catch(I){P.e(I)}finally{P.f()}}if(V(r.parseInline)){var N,Q=(0,p.Z)(r.parseInline);try{for(Q.s();!(N=Q.n()).done;){var R=N.value,M=h.indexOf(R.name);if(M>-1)c[M]=R.parse;else{var $=R.before?K(h,R.before):R.after?K(h,R.after)+1:h.length-1;c.splice($,0,R.parse),h.splice($,0,R.name)}}}catch(I){Q.e(I)}finally{Q.f()}}return r.wrap&&(m=m.concat(r.wrap)),new n(o,s,l,u,f,a,c,h,m)}},{key:"getNodeType",value:function(e){var t=this.nodeTypes[e];if(null==t)throw new RangeError("Unknown node type '".concat(e,"'"));return t}},{key:"parseInline",value:function(e,t){var n=new be(this,e,t);e:for(var r=t;r<n.end;){var i,o=n.char(r),a=(0,p.Z)(this.inlineParsers);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(s){var l=s(n,o,r);if(l>=0){r=l;continue e}}}}catch(u){a.e(u)}finally{a.f()}r++}return n.resolveMarkers(0)}}]),n}(g._b);function V(e){return null!=e&&e.length>0}function J(e){if(!Array.isArray(e))return e;if(0==e.length)return null;var t=J(e[0]);if(1==e.length)return t;var n=J(e.slice(1));if(!n||!t)return t||n;var r=function(e,t){return(e||re).concat(t||re)},i=t.wrap,o=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?o?function(e,t,n,r){return i(o(e,t,n,r),t,n,r)}:i:o}}function K(e,t){var n=e.indexOf(t);if(n<0)throw new RangeError("Position specified relative to unknown parser ".concat(t));return n}for(var ee,te=[g.Jq.none],ne=1;ee=i[ne];ne++)te[ne]=g.Jq.define({id:ne,name:ee,props:ne>=i.Escape?[]:[[g.md.group,ne in S?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==ee});var re=[],ie=function(){function e(t){(0,o.Z)(this,e),this.nodeSet=t,this.content=[],this.nodes=[]}return(0,a.Z)(e,[{key:"write",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.content.push(e,t,n,4+4*r),this}},{key:"writeElements",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,p.Z)(e);try{for(r.s();!(t=r.n()).done;){t.value.writeTo(this,n)}}catch(i){r.e(i)}finally{r.f()}return this}},{key:"finish",value:function(e,t){return g.mp.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}]),e}(),oe=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:re;(0,o.Z)(this,e),this.type=t,this.from=n,this.to=r,this.children=i}return(0,a.Z)(e,[{key:"writeTo",value:function(e,t){var n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}},{key:"toTree",value:function(e){return new ie(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}]),e}(),ae=function(){function e(t,n){(0,o.Z)(this,e),this.tree=t,this.from=n}return(0,a.Z)(e,[{key:"to",get:function(){return this.from+this.tree.length}},{key:"type",get:function(){return this.tree.type.id}},{key:"children",get:function(){return re}},{key:"writeTo",value:function(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}},{key:"toTree",value:function(){return this.tree}}]),e}();function se(e,t,n,r){return new oe(e,t,n,r)}var le={resolve:"Emphasis",mark:"EmphasisMark"},ue={resolve:"Emphasis",mark:"EmphasisMark"},ce={},he={},fe=(0,a.Z)((function e(t,n,r,i){(0,o.Z)(this,e),this.type=t,this.from=n,this.to=r,this.side=i})),de="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",pe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{pe=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(vt){}var me={Escape:function(e,t,n){if(92!=t||n==e.end-1)return-1;for(var r=e.char(n+1),o=0;o<32;o++)if(de.charCodeAt(o)==r)return e.append(se(i.Escape,n,n+2));return-1},Entity:function(e,t,n){if(38!=t)return-1;var r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(se(i.Entity,n,n+1+r[0].length)):-1},InlineCode:function(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;for(var r=n+1;r<e.end&&96==e.char(r);)r++;for(var o=r-n,a=0;r<e.end;r++)if(96==e.char(r)){if(++a==o&&96!=e.char(r+1))return e.append(se(i.InlineCode,n,r+1,[se(i.CodeMark,n,n+o),se(i.CodeMark,r+1-o,r+1)]))}else a=0;return-1},HTMLTag:function(e,t,n){if(60!=t||n==e.end-1)return-1;var r=e.slice(n+1,e.end),o=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(o)return e.append(se(i.URL,n,n+1+o[0].length));var a=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(a)return e.append(se(i.Comment,n,n+1+a[0].length));var s=/^\?[^]*?\?>/.exec(r);if(s)return e.append(se(i.ProcessingInstruction,n,n+1+s[0].length));var l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return l?e.append(se(i.HTMLTag,n,n+1+l[0].length)):-1},Emphasis:function(e,t,n){if(95!=t&&42!=t)return-1;for(var r=n+1;e.char(r)==t;)r++;var i=e.slice(n-1,n),o=e.slice(r,r+1),a=pe.test(i),s=pe.test(o),l=/\s|^$/.test(i),u=/\s|^$/.test(o),c=!u&&(!s||l||a),h=!l&&(!a||u||s),f=c&&(42==t||!h||a),d=h&&(42==t||!c||s);return e.append(new fe(95==t?le:ue,n,r,(f?1:0)|(d?2:0)))},HardBreak:function(e,t,n){if(92==t&&10==e.char(n+1))return e.append(se(i.HardBreak,n,n+2));if(32==t){for(var r=n+1;32==e.char(r);)r++;if(10==e.char(r)&&r>=n+2)return e.append(se(i.HardBreak,n,r+1))}return-1},Link:function(e,t,n){return 91==t?e.append(new fe(ce,n,n+1,1)):-1},Image:function(e,t,n){return 33==t&&91==e.char(n+1)?e.append(new fe(he,n,n+2,1)):-1},LinkEnd:function(e,t,n){if(93!=t)return-1;for(var r=e.parts.length-1;r>=0;r--){var o=e.parts[r];if(o instanceof fe&&(o.type==ce||o.type==he)){if(!o.side||e.skipSpace(o.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;var a=e.takeContent(r),s=e.parts[r]=ge(e,a,o.type==ce?i.Link:i.Image,o.from,n+1);if(o.type==ce)for(var l=0;l<r;l++){var u=e.parts[l];u instanceof fe&&u.type==ce&&(u.side=0)}return s.to}}return-1}};function ge(e,t,n,r,o){var a=e.text,s=e.char(o),l=o;if(t.unshift(se(i.LinkMark,r,r+(n==i.Image?2:1))),t.push(se(i.LinkMark,o-1,o)),40==s){var u,c=e.skipSpace(o+1),h=ve(a,c-e.offset,e.offset);h&&(u=Oe(a,(c=e.skipSpace(h.to))-e.offset,e.offset))&&(c=e.skipSpace(u.to)),41==e.char(c)&&(t.push(se(i.LinkMark,o,o+1)),l=c+1,h&&t.push(h),u&&t.push(u),t.push(se(i.LinkMark,c,l)))}else if(91==s){var f=ye(a,o-e.offset,e.offset,!1);f&&(t.push(f),l=f.to)}return se(n,r,l,t)}function ve(e,t,n){if(60==e.charCodeAt(t)){for(var r=t+1;r<e.length;r++){var o=e.charCodeAt(r);if(62==o)return se(i.URL,t+n,r+1+n);if(60==o||10==o)return!1}return null}for(var a=0,s=t,l=!1;s<e.length;s++){var u=e.charCodeAt(s);if(x(u))break;if(l)l=!1;else if(40==u)a++;else if(41==u){if(!a)break;a--}else 92==u&&(l=!0)}return s>t?se(i.URL,t+n,s+n):s==e.length&&null}function Oe(e,t,n){var r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;for(var o=40==r?41:r,a=t+1,s=!1;a<e.length;a++){var l=e.charCodeAt(a);if(s)s=!1;else{if(l==o)return se(i.LinkTitle,t+n,a+1+n);92==l&&(s=!0)}}return null}function ye(e,t,n,r){for(var o=!1,a=t+1,s=Math.min(e.length,a+999);a<s;a++){var l=e.charCodeAt(a);if(o)o=!1;else{if(93==l)return!r&&se(i.LinkLabel,t+n,a+1+n);if(r&&!x(l)&&(r=!1),91==l)return!1;92==l&&(o=!0)}}return null}var be=function(){function e(t,n,r){(0,o.Z)(this,e),this.parser=t,this.text=n,this.offset=r,this.parts=[]}return(0,a.Z)(e,[{key:"char",value:function(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}},{key:"end",get:function(){return this.offset+this.text.length}},{key:"slice",value:function(e,t){return this.text.slice(e-this.offset,t-this.offset)}},{key:"append",value:function(e){return this.parts.push(e),e.to}},{key:"addDelimiter",value:function(e,t,n,r,i){return this.append(new fe(e,t,n,(r?1:0)|(i?2:0)))}},{key:"addElement",value:function(e){return this.append(e)}},{key:"resolveMarkers",value:function(e){for(var t=e;t<this.parts.length;t++){var n=this.parts[t];if(n instanceof fe&&n.type.resolve&&2&n.side){for(var r=n.type==le||n.type==ue,i=n.to-n.from,o=void 0,a=t-1;a>=e;a--){var s=this.parts[a];if(s instanceof fe&&1&s.side&&s.type==n.type&&!(r&&(1&n.side||2&s.side)&&(s.to-s.from+i)%3==0&&((s.to-s.from)%3||i%3))){o=s;break}}if(o){var l=n.type.resolve,u=[],c=o.from,h=n.to;if(r){var f=Math.min(2,o.to-o.from,i);c=o.to-f,h=n.from+f,l=1==f?"Emphasis":"StrongEmphasis"}o.type.mark&&u.push(this.elt(o.type.mark,c,o.to));for(var d=a+1;d<t;d++)this.parts[d]instanceof oe&&u.push(this.parts[d]),this.parts[d]=null;n.type.mark&&u.push(this.elt(n.type.mark,n.from,h));var p=this.elt(l,c,h,u);this.parts[a]=r&&o.from!=c?new fe(o.type,o.from,c,o.side):null,(this.parts[t]=r&&n.to!=h?new fe(n.type,h,n.to,n.side):null)?this.parts.splice(t,0,p):this.parts[t]=p}}}for(var m=[],g=e;g<this.parts.length;g++){var v=this.parts[g];v instanceof oe&&m.push(v)}return m}},{key:"findOpeningDelimiter",value:function(e){for(var t=this.parts.length-1;t>=0;t--){var n=this.parts[t];if(n instanceof fe&&n.type==e)return t}return null}},{key:"takeContent",value:function(e){var t=this.resolveMarkers(e);return this.parts.length=e,t}},{key:"skipSpace",value:function(e){return w(this.text,e-this.offset)+this.offset}},{key:"elt",value:function(e,t,n,r){return"string"==typeof e?se(this.parser.getNodeType(e),t,n,r):new ae(e,t)}}]),e}();function ke(e,t){if(!t.length)return e;if(!e.length)return t;var n,r=e.slice(),i=0,o=(0,p.Z)(t);try{for(o.s();!(n=o.n()).done;){for(var a=n.value;i<r.length&&r[i].to<a.to;)i++;if(i<r.length&&r[i].from<a.from){var s=r[i];s instanceof oe&&(r[i]=new oe(s.type,s.from,s.to,ke(s.children,[a])))}else r.splice(i++,0,a)}}catch(l){o.e(l)}finally{o.f()}return r}var Se=[i.CodeBlock,i.ListItem,i.OrderedList,i.BulletList],xe=function(){function e(t,n){(0,o.Z)(this,e),this.fragments=t,this.input=n,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,t.length&&(this.fragment=t[this.i++])}return(0,a.Z)(e,[{key:"nextFragment",value:function(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}},{key:"moveTo",value:function(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){for(var n=this.fragment.to;n>0&&"\n"!=this.input.read(n-1,n);)n--;this.fragmentEnd=n?n-1:0}var r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor()).firstChild();for(var i=e+this.fragment.offset;r.to<=i;)if(!r.parent())return!1;for(;;){if(r.from>=i)return this.fragment.from<=t;if(!r.childAfter(i))return!1}}},{key:"matches",value:function(e){var t=this.cursor.tree;return t&&t.prop(g.md.contextHash)==e}},{key:"takeNodes",value:function(e){for(var t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,a=o,s=e.block.children.length,l=a,u=s;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}var c=we(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,c);else{var h=new g.mp(e.parser.nodeSet.types[i.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,t.tree),e.addNode(h,c)}if(t.type.is("Block")&&(Se.indexOf(t.type.id)<0?(a=t.to-n,s=e.block.children.length):(a=l,s=u,l=t.to-n,u=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return a-o}}]),e}();function we(e,t){for(var n=e,r=1;r<t.length;r++){var i=t[r-1].to,o=t[r].from;i<e&&(n-=o-i)}return n}var Te=(0,v.Gv)({"Blockquote/...":v.pJ.quote,HorizontalRule:v.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":v.pJ.heading1,"ATXHeading2/... SetextHeading2/...":v.pJ.heading2,"ATXHeading3/...":v.pJ.heading3,"ATXHeading4/...":v.pJ.heading4,"ATXHeading5/...":v.pJ.heading5,"ATXHeading6/...":v.pJ.heading6,"Comment CommentBlock":v.pJ.comment,Escape:v.pJ.escape,Entity:v.pJ.character,"Emphasis/...":v.pJ.emphasis,"StrongEmphasis/...":v.pJ.strong,"Link/... Image/...":v.pJ.link,"OrderedList/... BulletList/...":v.pJ.list,"BlockQuote/...":v.pJ.quote,"InlineCode CodeText":v.pJ.monospace,URL:v.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":v.pJ.processingInstruction,"CodeInfo LinkLabel":v.pJ.labelName,LinkTitle:v.pJ.string,Paragraph:v.pJ.content}),Ce=new G(new g.Lj(te).extend(Te),Object.keys(B).map((function(e){return B[e]})),Object.keys(B).map((function(e){return Y[e]})),Object.keys(B),X,S,Object.keys(me).map((function(e){return me[e]})),Object.keys(me),[]);function Ee(e,t,n){for(var r=[],i=e.firstChild,o=t;;i=i.nextSibling){var a=i?i.from:n;if(a>o&&r.push({from:o,to:a}),!i)break;o=i.to}return r}var Ae={resolve:"Strikethrough",mark:"StrikethroughMark"},Pe={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":v.pJ.strikethrough}},{name:"StrikethroughMark",style:v.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse:function(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;var r=e.slice(n-1,n),i=e.slice(n+2,n+3),o=/\s|^$/.test(r),a=/\s|^$/.test(i),s=pe.test(r),l=pe.test(i);return e.addDelimiter(Ae,n,n+2,!a&&(!l||o||s),!o&&(!s||a||l))},after:"Emphasis"}]};function _e(e,t){for(var n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=0,o=!0,a=-1,s=-1,l=!1,u=function(){n.push(e.elt("TableCell",r+a,r+s,e.parser.parseInline(t.slice(a,s),r+a)))},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;c<t.length;c++){var h=t.charCodeAt(c);124!=h||l?(l||32!=h&&9!=h)&&(a<0&&(a=c),s=c+1):((!o||a>-1)&&i++,o=!1,n&&(a>-1&&u(),n.push(e.elt("TableDelimiter",c+r,c+r+1))),a=s=-1),l=!l&&92==h}return a>-1&&(i++,n&&u()),i}function De(e,t){for(var n=t;n<e.length;n++){var r=e.charCodeAt(n);if(124==r)return!0;92==r&&n++}return!1}var Ze=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,Ne=function(){function e(){(0,o.Z)(this,e),this.rows=null}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){var r;if(null==this.rows){if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&Ze.test(r=t.text.slice(t.pos))){var i=[];_e(e,n.content,0,i,n.start)==_e(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){var o=[];_e(e,t.text,t.pos,o,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,o))}return!1}},{key:"finish",value:function(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}]),e}(),Qe={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":v.pJ.heading}},"TableRow",{name:"TableCell",style:v.pJ.content},{name:"TableDelimiter",style:v.pJ.processingInstruction}],parseBlock:[{name:"Table",leaf:function(e,t){return De(t.content,0)?new Ne:null},endLeaf:function(e,t,n){if(n.parsers.some((function(e){return e instanceof Ne}))||!De(t.text,t.basePos))return!1;var r=e.scanLine(e.absoluteLineEnd+1).text;return Ze.test(r)&&_e(e,t.text,t.basePos)==_e(e,r,t.basePos)},before:"SetextHeading"}]},Re=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"nextLine",value:function(){return!1}},{key:"finish",value:function(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3)].concat((0,d.Z)(e.parser.parseInline(t.content.slice(3),t.start+3))))),!0}}]),e}(),Me={defineNodes:[{name:"Task",block:!0,style:v.pJ.list},{name:"TaskMarker",style:v.pJ.atom}],parseBlock:[{name:"TaskList",leaf:function(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new Re:null},after:"SetextHeading"}]},$e=new RegExp("(www\\.)|(https?:\\/\\/)|([\\w.+-]+@)|(mailto:|xmpp:)","gy"),Ie=new RegExp("[\\w-]+(\\.\\w+(\\.\\w+)?)(\\/[^\\s<]*)?","gy"),Le=new RegExp("[\\w.+-]+@[\\w-]+\\.[\\w.-]+","gy"),Fe=new RegExp("\\/[a-zA-Z\\d@.]+","gy");function Be(e,t,n,r){for(var i=0,o=t;o<n;o++)e[o]==r&&i++;return i}function je(e,t){Le.lastIndex=t;var n=Le.exec(e);if(!n)return-1;var r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r?1:0)}var ze=[Qe,Me,Pe,{parseInline:[{name:"Autolink",parse:function(e,t,n){var r=n-e.offset;$e.lastIndex=r;var i=$e.exec(e.text),o=-1;return i?(i[1]||i[2]?o=function(e,t){Ie.lastIndex=t;var n=Ie.exec(e);if(!n)return-1;for(var r=t+n[0].length;;){var i=e[r-1],o=void 0;if(/[?!.,:*_~]/.test(i)||")"==i&&Be(e,t,r,")")>Be(e,t,r,"("))r--;else{if(";"!=i||!(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))break;r=t+o.index}}return r}(e.text,r+i[0].length):i[3]?o=je(e.text,r):(o=je(e.text,r+i[0].length))>-1&&"xmpp:"==i[0]&&(Fe.lastIndex=o,(i=Fe.exec(e.text))&&(o=i.index+i[0].length)),o<0?-1:(e.addElement(e.elt("URL",n,o+e.offset)),o+e.offset)):-1}}]}];function Ue(e,t,n){return function(r,i,o){if(i!=e||r.char(o+1)==e)return-1;for(var a=[r.elt(n,o,o+1)],s=o+1;s<r.end;s++){var l=r.char(s);if(l==e)return r.addElement(r.elt(t,o,s+1,a.concat(r.elt(n,s,s+1))));if(92==l&&a.push(r.elt("Escape",s,2+s++)),x(l))break}return-1}}var Ye={defineNodes:[{name:"Superscript",style:v.pJ.special(v.pJ.content)},{name:"SuperscriptMark",style:v.pJ.processingInstruction}],parseInline:[{name:"Superscript",parse:Ue(94,"Superscript","SuperscriptMark")}]},Xe={defineNodes:[{name:"Subscript",style:v.pJ.special(v.pJ.content)},{name:"SubscriptMark",style:v.pJ.processingInstruction}],parseInline:[{name:"Subscript",parse:Ue(126,"Subscript","SubscriptMark")}]},He={defineNodes:[{name:"Emoji",style:v.pJ.character}],parseInline:[{name:"Emoji",parse:function(e,t,n){var r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]},We=n(292),qe=(0,u.kU)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),Ge=new g.md,Ve=Ce.configure({props:[u.x0.add((function(e){return!e.is("Block")||e.is("Document")||null!=Je(e)?void 0:function(e,t){return{from:t.doc.lineAt(e.from).to,to:e.to}}})),Ge.add(Je),u.uj.add({Document:function(){return null}}),u.pp.add({Document:qe})]});function Je(e){var t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function Ke(e,t){for(var n=e;;){var r=n.nextSibling,i=void 0;if(!r||null!=(i=Je(r.type))&&i<=t)break;n=r}return n.to}var et=u.rs.of((function(e,t,n){for(var r=(0,u.qz)(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){var i=r.type.prop(Ge);if(null!=i){var o=Ke(r,i);if(o>n)return{from:n,to:o}}}return null}));function tt(e){return new u.SQ(qe,e,[et],"markdown")}var nt=tt(Ve),rt=tt(Ve.configure([ze,Xe,Ye,He]));var it=function(){function e(t,n,r,i,a,s,l){(0,o.Z)(this,e),this.node=t,this.from=n,this.to=r,this.spaceBefore=i,this.spaceAfter=a,this.type=s,this.item=l}return(0,a.Z)(e,[{key:"blank",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(var r=this.to-this.from-n.length-this.spaceAfter.length;r>0;r--)n+=" ";return n+(t?this.spaceAfter:"")}},{key:"marker",value:function(e,t){var n="OrderedList"==this.node.name?String(+at(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}]),e}();function ot(e,t){for(var n=[],r=e;r&&"Document"!=r.name;r=r.parent)"ListItem"!=r.name&&"Blockquote"!=r.name&&"FencedCode"!=r.name||n.push(r);for(var i=[],o=n.length-1;o>=0;o--){var a=n[o],s=void 0,l=t.lineAt(a.from),u=a.from-l.from;if("FencedCode"==a.name)i.push(new it(a,u,u,"","","",null));else if("Blockquote"==a.name&&(s=/^[ \t]*>( ?)/.exec(l.text.slice(u))))i.push(new it(a,u,u+s[0].length,"",s[1],">",null));else if("ListItem"==a.name&&"OrderedList"==a.parent.name&&(s=/^([ \t]*)\d+([.)])([ \t]*)/.exec(l.text.slice(u)))){var c=s[3],h=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),h-=4),i.push(new it(a.parent,u,u+h,s[1],c,s[2],a))}else if("ListItem"==a.name&&"BulletList"==a.parent.name&&(s=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(l.text.slice(u)))){var f=s[4],d=s[0].length;f.length>4&&(f=f.slice(0,f.length-4),d-=4);var p=s[2];s[3]&&(p+=s[3].replace(/[xX]/," ")),i.push(new it(a.parent,u,u+d,s[1],f,p,a))}}return i}function at(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function st(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=-1,o=e;;){if("ListItem"==o.name){var a=at(o,t),s=+a[2];if(i>=0){if(s!=i+1)return;n.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(i+2+r)})}i=s}var l=o.nextSibling;if(!l)break;o=l}}var lt=function(e){var t=e.state,n=e.dispatch,r=(0,u.qz)(t),i=t.doc,o=null,a=t.changeByRange((function(e){if(!e.empty||!rt.isActiveAt(t,e.from))return o={range:e};for(var n=e.from,a=i.lineAt(n),l=ot(r.resolveInner(n,-1),i);l.length&&l[l.length-1].from>n-a.from;)l.pop();if(!l.length)return o={range:e};var u=l[l.length-1];if(u.to-u.spaceAfter.length>n-a.from)return o={range:e};var c=n>=u.to-u.spaceAfter.length&&!/\S/.test(a.text.slice(u.to));if(u.item&&c){if(u.node.firstChild.to>=n||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){var h,f=l.length>1?l[l.length-2]:null,d="";f&&f.item?(h=a.from+f.from,d=f.marker(i,1)):h=a.from+(f?f.to:0);var p=[{from:h,to:n,insert:d}];return"OrderedList"==u.node.name&&st(u.item,i,p,-2),f&&"OrderedList"==f.node.name&&st(f.item,i,p),{range:s.jT.cursor(h+d.length),changes:p}}for(var m="",g=0,v=l.length-2;g<=v;g++)m+=l[g].blank(g<v?l[g+1].from-m.length:null,g<v);return m+=t.lineBreak,{range:s.jT.cursor(n+m.length),changes:{from:a.from,insert:m}}}if("Blockquote"==u.node.name&&c&&a.from){var O=i.lineAt(a.from-1),y=/>\s*$/.exec(O.text);if(y&&y.index==u.from){var b=t.changes([{from:O.from+y.index,to:O.to},{from:a.from+u.from,to:a.to}]);return{range:e.map(b),changes:b}}}var k=[];"OrderedList"==u.node.name&&st(u.item,i,k);var S=u.item&&u.item.from<a.from,x="";if(!S||/^[\s\d.)\-+*>]*/.exec(a.text)[0].length>=u.to)for(var w=0,T=l.length-1;w<=T;w++)x+=w!=T||S?l[w].blank(w<T?l[w+1].from-x.length:null):l[w].marker(i,1);for(var C=n;C>a.from&&/\s/.test(a.text.charAt(C-a.from-1));)C--;return x=t.lineBreak+x,k.push({from:C,to:n,insert:x}),{range:s.jT.cursor(C+x.length),changes:k}}));return!o&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function ut(e){return"QuoteMark"==e.name||"ListMark"==e.name}var ct=function(e){var t=e.state,n=e.dispatch,r=(0,u.qz)(t),i=null,o=t.changeByRange((function(e){var n=e.from,o=t.doc;if(e.empty&&rt.isActiveAt(t,e.from)){var a=o.lineAt(n),l=ot(function(e,t){var n,r=e.resolveInner(t,-1),i=t;for(ut(r)&&(i=r.from,r=r.parent);n=r.childBefore(i);)if(ut(n))i=n.from;else{if("OrderedList"!=n.name&&"BulletList"!=n.name)break;i=(r=n.lastChild).to}return r}(r,n),o);if(l.length){var u=l[l.length-1],c=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(n-a.from>c&&!/\S/.test(a.text.slice(c,n-a.from)))return{range:s.jT.cursor(a.from+c),changes:{from:a.from+c,to:n}};if(n-a.from==c&&(!u.item||a.from<=u.item.from||!/\S/.test(a.text.slice(0,u.to)))){var h=a.from+u.from;if(u.item&&u.node.from<u.item.from&&/\S/.test(a.text.slice(u.from,u.to)))return{range:e,changes:{from:h,to:a.from+u.to,insert:u.blank(u.to-u.from)}};if(h<n)return{range:s.jT.cursor(h),changes:{from:h,to:n}}}}}return i={range:e}}));return!i&&(n(t.update(o,{scrollIntoView:!0,userEvent:"delete"})),!0)},ht=[{key:"Enter",run:lt},{key:"Backspace",run:ct}],ft=(0,We.html)({matchClosingTags:!1});function dt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.codeLanguages,n=e.defaultCodeLanguage,r=e.addKeymap,o=void 0===r||r,a=e.base,c=(void 0===a?nt:a).parser,h=e.completeHTMLTags,f=void 0===h||h;if(!(c instanceof G))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");var d,p=e.extensions?[e.extensions]:[],m=[ft.support];n instanceof u.ri?(m.push(n.support),d=n.language):n&&(d=n);var v,O,y=t||d?(v=t,O=d,function(e){if(e&&v){var t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof v?v(e):u.c6.matchLanguageName(v,e,!0))instanceof u.c6)return t.support?t.support.language.parser:u.Be.getSkippingParser(t.load());if(t)return t.parser}return O?O.parser:null}):void 0;p.push(function(e){var t=e.codeParser,n=e.htmlParser;return{wrap:(0,g.FE)((function(e,r){var o=e.type.id;if(!t||o!=i.CodeBlock&&o!=i.FencedCode){if(n&&(o==i.HTMLBlock||o==i.HTMLTag))return{parser:n,overlay:Ee(e.node,e.from,e.to)}}else{var a="";if(o==i.FencedCode){var s=e.node.getChild(i.CodeInfo);s&&(a=r.read(s.from,s.to))}var l=t(a);if(l)return{parser:l,overlay:function(e){return e.type.id==i.CodeText}}}return null}))}}({codeParser:y,htmlParser:ft.language.parser})),o&&m.push(s.Wl.high(l.$f.of(ht)));var b=tt(c.configure(p));return f&&m.push(b.data.of({autocomplete:pt})),new u.ri(b,m)}function pt(e){var t=e.state,n=e.pos,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;for(var i=(0,u.qz)(t).resolveInner(n,-1);i&&!i.type.isTop;){if("CodeBlock"==i.name||"FencedCode"==i.name||"ProcessingInstructionBlock"==i.name||"CommentBlock"==i.name||"Link"==i.name||"Image"==i.name)return null;i=i.parent}return{from:n-r[0].length,to:n,options:gt(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var mt=null;function gt(){if(mt)return mt;var e=(0,We.htmlCompletionSource)(new c.TK(s.yy.create({extensions:ft}),0,!0));return mt=e?e.options:[]}},4019:function(e,t,n){"use strict";n.d(t,{Be:function(){return C},Dv:function(){return te},Gn:function(){return F},K0:function(){return L},KC:function(){return y},Qf:function(){return xe},R_:function(){return _e},SQ:function(){return b},SS:function(){return I},Um:function(){return ze},a0:function(){return Fe},c:function(){return M},c6:function(){return Q},e7:function(){return fe},il:function(){return qe},kU:function(){return O},mi:function(){return ke},n$:function(){return Le},nF:function(){return Ee},nY:function(){return J},pp:function(){return v},qp:function(){return S},qz:function(){return x},ri:function(){return N},rs:function(){return K},tC:function(){return G},uj:function(){return B},vw:function(){return H},x0:function(){return ee},y1:function(){return $},ze:function(){return q}});var r,i=n(4649),o=n(1026),a=n(7169),s=n(7591),l=n(9616),u=n(726),c=n(2951),h=n(1976),f=n(1330),d=n(5224),p=n(52),m=n(994),g=n(5694),v=new f.md;function O(e){return d.r$.define({combine:e?function(t){return t.concat(e)}:void 0})}var y=new f.md,b=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";(0,c.Z)(this,e),this.data=t,this.name=i,d.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(d.yy.prototype,"tree",{get:function(){return x(this)}}),this.parser=n,this.extension=[Z.of(this),d.yy.languageData.of((function(e,t,n){var r=k(e,t,n),i=r.type.prop(v);if(!i)return[];var o=e.facet(i),a=r.type.prop(y);if(a){var s,l=r.resolve(t-r.from,n),c=(0,u.Z)(a);try{for(c.s();!(s=c.n()).done;){var h=s.value;if(h.test(l,e)){var f=e.facet(h.facet);return"replace"==h.type?f:f.concat(o)}}}catch(d){c.e(d)}finally{c.f()}}return o}))].concat(r)}return(0,h.Z)(e,[{key:"isActiveAt",value:function(e,t){return k(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1).type.prop(v)==this.data}},{key:"findRegions",value:function(e){var t=this,n=e.facet(Z);if((null===n||void 0===n?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];var r=[];return function e(n,i){if(n.prop(v)!=t.data){var o=n.prop(f.md.mounted);if(o){if(o.tree.prop(v)==t.data){if(o.overlay){var a,s=(0,u.Z)(o.overlay);try{for(s.s();!(a=s.n()).done;){var l=a.value;r.push({from:l.from+i,to:l.to+i})}}catch(p){s.e(p)}finally{s.f()}}else r.push({from:i,to:i+n.length});return}if(o.overlay){var c=r.length;if(e(o.tree,o.overlay[0].from+i),r.length>c)return}}for(var h=0;h<n.children.length;h++){var d=n.children[h];d instanceof f.mp&&e(d,n.positions[h]+i)}}else r.push({from:i,to:i+n.length})}(x(e),0),r}},{key:"allowsNesting",get:function(){return!0}}]),e}();function k(e,t,n){var r=e.facet(Z),i=x(e).topNode;if(!r||r.allowsNesting)for(var o=i;o;o=o.enter(t,n,f.vj.ExcludeBuffers))o.type.isTop&&(i=o);return i}b.setState=d.Py.define();var S=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,c.Z)(this,n),(o=t.call(this,e,r,[],i)).parser=r,o}return(0,h.Z)(n,[{key:"configure",value:function(e,t){return new n(this.data,this.parser.configure(e),t||this.name)}},{key:"allowsNesting",get:function(){return this.parser.hasWrappers()}}],[{key:"define",value:function(e){var t=O(e.languageData);return new n(t,e.parser.configure({props:[v.add((function(e){return e.isTop?t:void 0}))]}),e.name)}}]),n}(b);function x(e){var t=e.field(b.state,!1);return t?t.tree:f.mp.empty}var w=function(){function e(t){(0,c.Z)(this,e),this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}return(0,h.Z)(e,[{key:"length",get:function(){return this.doc.length}},{key:"syncTo",value:function(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}},{key:"chunk",value:function(e){return this.syncTo(e),this.string}},{key:"lineChunks",get:function(){return!0}},{key:"read",value:function(e,t){var n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}]),e}(),T=null,C=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0;(0,c.Z)(this,e),this.parser=t,this.state=n,this.fragments=r,this.tree=i,this.treeLen=o,this.viewport=a,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}return(0,h.Z)(e,[{key:"startParse",value:function(){return this.parser.startParse(new w(this.state.doc),this.fragments)}},{key:"work",value:function(e,t){var n=this;return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=f.mp.empty&&this.isDone(null!==t&&void 0!==t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((function(){var r;if("number"==typeof e){var i=Date.now()+e;e=function(){return Date.now()>i}}for(n.parse||(n.parse=n.startParse()),null!=t&&(null==n.parse.stoppedAt||n.parse.stoppedAt>t)&&t<n.state.doc.length&&n.parse.stopAt(t);;){var o=n.parse.advance();if(o){if(n.fragments=n.withoutTempSkipped(f.i9.addTree(o,n.fragments,null!=n.parse.stoppedAt)),n.treeLen=null!==(r=n.parse.stoppedAt)&&void 0!==r?r:n.state.doc.length,n.tree=o,n.parse=null,!(n.treeLen<(null!==t&&void 0!==t?t:n.state.doc.length)))return!0;n.parse=n.startParse()}if(e())return!1}}))}},{key:"takeTree",value:function(){var e,t,n=this;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext((function(){for(;!(t=n.parse.advance()););})),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(f.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}},{key:"withContext",value:function(e){var t=T;T=this;try{return e()}finally{T=t}}},{key:"withoutTempSkipped",value:function(e){for(var t;t=this.tempSkipped.pop();)e=E(e,t.from,t.to);return e}},{key:"changes",value:function(t,n){var r=this.fragments,i=this.tree,o=this.treeLen,a=this.viewport,s=this.skipped;if(this.takeTree(),!t.empty){var l=[];if(t.iterChangedRanges((function(e,t,n,r){return l.push({fromA:e,toA:t,fromB:n,toB:r})})),r=f.i9.applyChanges(r,l),i=f.mp.empty,o=0,a={from:t.mapPos(a.from,-1),to:t.mapPos(a.to,1)},this.skipped.length){s=[];var c,h=(0,u.Z)(this.skipped);try{for(h.s();!(c=h.n()).done;){var d=c.value,p=t.mapPos(d.from,1),m=t.mapPos(d.to,-1);p<m&&s.push({from:p,to:m})}}catch(g){h.e(g)}finally{h.f()}}}return new e(this.parser,n,r,i,o,a,s,this.scheduleOn)}},{key:"updateViewport",value:function(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;for(var t=this.skipped.length,n=0;n<this.skipped.length;n++){var r=this.skipped[n],i=r.from,o=r.to;i<e.to&&o>e.from&&(this.fragments=E(this.fragments,i,o),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}},{key:"reset",value:function(){this.parse&&(this.takeTree(),this.parse=null)}},{key:"skipUntilInView",value:function(e,t){this.skipped.push({from:e,to:t})}},{key:"isDone",value:function(e){e=Math.min(e,this.state.doc.length);var t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}}],[{key:"create",value:function(t,n,r){return new e(t,n,[],f.mp.empty,0,r,[],null)}},{key:"getSkippingParser",value:function(e){return new(function(t){(0,s.Z)(r,t);var n=(0,l.Z)(r);function r(){return(0,c.Z)(this,r),n.apply(this,arguments)}return(0,h.Z)(r,[{key:"createParse",value:function(t,n,r){var i=r[0].from,o=r[r.length-1].to;return{parsedPos:i,advance:function(){var t=T;if(t){var n,a=(0,u.Z)(r);try{for(a.s();!(n=a.n()).done;){var s=n.value;t.tempSkipped.push(s)}}catch(l){a.e(l)}finally{a.f()}e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new f.mp(f.Jq.none,[],[],o-i)},stoppedAt:null,stopAt:function(){}}}}]),r}(f._b))}},{key:"get",value:function(){return T}}]),e}();function E(e,t,n){return f.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}var A=function(){function e(t){(0,c.Z)(this,e),this.context=t,this.tree=t.tree}return(0,h.Z)(e,[{key:"apply",value:function(t){if(!t.docChanged&&this.tree==this.context.tree)return this;var n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new e(n)}}],[{key:"init",value:function(t){var n=Math.min(3e3,t.doc.length),r=C.create(t.facet(Z).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}}]),e}();b.state=d.QQ.define({create:A.init,update:function(e,t){var n,r=(0,u.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.is(b.setState))return i.value}}catch(o){r.e(o)}finally{r.f()}return t.startState.facet(Z)!=t.state.facet(Z)?A.init(t.state):e.apply(t)}});var P=function(e){var t=setTimeout((function(){return e()}),500);return function(){return clearTimeout(t)}};"undefined"!=typeof requestIdleCallback&&(P=function(e){var t=-1,n=setTimeout((function(){t=requestIdleCallback(e,{timeout:400})}),100);return function(){return t<0?clearTimeout(n):cancelIdleCallback(t)}});var _="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?function(){return navigator.scheduling.isInputPending()}:null,D=p.lg.fromClass(function(){function e(t){(0,c.Z)(this,e),this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}return(0,h.Z)(e,[{key:"update",value:function(e){var t=this.view.state.field(b.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}},{key:"scheduleWork",value:function(){if(!this.working){var e=this.view.state,t=e.field(b.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=P(this.work))}}},{key:"work",value:function(e){this.working=null;var t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),!(this.chunkBudget<=0)){var n=this.view,r=n.state,i=n.viewport.to,o=r.field(b.state);if(o.tree!=o.context.tree||!o.context.isDone(i+1e5)){var a=Date.now()+Math.min(this.chunkBudget,100,e&&!_?Math.max(25,e.timeRemaining()-5):1e9),s=o.context.treeLen<i&&r.doc.length>i+1e3,l=o.context.work((function(){return _&&_()||Date.now()>a}),i+(s?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:b.setState.of(new A(o.context))})),this.chunkBudget>0&&(!l||s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}}}},{key:"checkAsyncSchedule",value:function(e){var t=this;e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then((function(){return t.scheduleWork()})).catch((function(e){return(0,p.OO)(t.view.state,e)})).then((function(){return t.workScheduled--})),e.scheduleOn=null)}},{key:"destroy",value:function(){this.working&&this.working()}},{key:"isWorking",value:function(){return!!(this.working||this.workScheduled>0)}}]),e}(),{eventHandlers:{focus:function(){this.scheduleWork()}}}),Z=d.r$.define({combine:function(e){return e.length?e[0]:null},enables:function(e){return[b.state,D,p.tk.contentAttributes.compute([e],(function(t){var n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]}}),N=(0,h.Z)((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,c.Z)(this,e),this.language=t,this.support=n,this.extension=[t,n]})),Q=function(){function e(t,n,r,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0;(0,c.Z)(this,e),this.name=t,this.alias=n,this.extensions=r,this.filename=i,this.loadFunc=o,this.support=a,this.loading=null}return(0,h.Z)(e,[{key:"load",value:function(){var e=this;return this.loading||(this.loading=this.loadFunc().then((function(t){return e.support=t}),(function(t){throw e.loading=null,t})))}}],[{key:"of",value:function(t){var n=t.load,r=t.support;if(!n){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=function(){return Promise.resolve(r)}}return new e(t.name,(t.alias||[]).concat(t.name).map((function(e){return e.toLowerCase()})),t.extensions||[],t.filename,n,r)}},{key:"matchFilename",value:function(e,t){var n,r=(0,u.Z)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.filename&&i.filename.test(t))return i}}catch(c){r.e(c)}finally{r.f()}var o=/\.([^.]+)$/.exec(t);if(o){var a,s=(0,u.Z)(e);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(l.extensions.indexOf(o[1])>-1)return l}}catch(c){s.e(c)}finally{s.f()}}return null}},{key:"matchLanguageName",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t=t.toLowerCase();var r,i=(0,u.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.alias.some((function(e){return e==t})))return o}}catch(p){i.e(p)}finally{i.f()}if(n){var a,s=(0,u.Z)(e);try{for(s.s();!(a=s.n()).done;){var l,c=a.value,h=(0,u.Z)(c.alias);try{for(h.s();!(l=h.n()).done;){var f=l.value,d=t.indexOf(f);if(d>-1&&(f.length>2||!/\w/.test(t[d-1])&&!/\w/.test(t[d+f.length])))return c}}catch(p){h.e(p)}finally{h.f()}}}catch(p){s.e(p)}finally{s.f()}}return null}}]),e}(),R=d.r$.define(),M=d.r$.define({combine:function(e){if(!e.length)return" ";var t=e[0];if(!t||/\S/.test(t)||Array.from(t).some((function(e){return e!=t[0]})))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function $(e){var t=e.facet(M);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function I(e,t){var n="",r=e.tabSize,i=e.facet(M)[0];if("\t"==i){for(;t>=r;)n+="\t",t-=r;i=" "}for(var o=0;o<t;o++)n+=i;return n}function L(e,t){e instanceof d.yy&&(e=new F(e));var n,r=(0,u.Z)(e.state.facet(R));try{for(r.s();!(n=r.n()).done;){var i=(0,n.value)(e,t);if(void 0!==i)return i}}catch(a){r.e(a)}finally{r.f()}var o=x(e.state);return o.length>=t?function(e,t,n){return z(t.resolveInner(n).enterUnfinishedNodesBefore(n),n,e)}(e,o,t):null}var F=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,c.Z)(this,e),this.state=t,this.options=n,this.unit=$(t)}return(0,h.Z)(e,[{key:"lineAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.state.doc.lineAt(e),r=this.options,i=r.simulateBreak,o=r.simulateDoubleBreak;return null!=i&&i>=n.from&&i<=n.to?o&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}},{key:"textAfterPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";var n=this.lineAt(e,t),r=n.text,i=n.from;return r.slice(e-i,Math.min(r.length,e+100-i))}},{key:"column",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.lineAt(e,t),r=n.text,i=n.from,o=this.countColumn(r,e-i),a=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return a>-1&&(o+=a-this.countColumn(r,r.search(/\S|$/))),o}},{key:"countColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return(0,d.IS)(e,this.state.tabSize,t)}},{key:"lineIndent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.lineAt(e,t),r=n.text,i=n.from,o=this.options.overrideIndentation;if(o){var a=o(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}},{key:"simulatedBreak",get:function(){return this.options.simulateBreak||null}}]),e}(),B=new f.md;function j(e){var t=e.type.prop(B);if(t)return t;var n,r=e.firstChild;if(r&&(n=r.type.prop(f.md.closedBy))){var i=e.lastChild,o=i&&n.indexOf(i.name)>-1;return function(e){return W(e,!0,1,void 0,o&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?i.from:void 0)}}return null==e.parent?U:null}function z(e,t,n){for(;e;e=e.parent){var r=j(e);if(r)return r(Y.create(n,t,e))}return null}function U(){return 0}var Y=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,c.Z)(this,n),(o=t.call(this,e.state,e.options)).base=e,o.pos=r,o.node=i,o}return(0,h.Z)(n,[{key:"textAfter",get:function(){return this.textAfterPos(this.pos)}},{key:"baseIndent",get:function(){return this.baseIndentFor(this.node)}},{key:"baseIndentFor",value:function(e){for(var t=this.state.doc.lineAt(e.from);;){for(var n=e.resolve(t.from);n.parent&&n.parent.from==n.from;)n=n.parent;if(X(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}},{key:"continue",value:function(){var e=this.node.parent;return e?z(e,this.pos,this.base):0}}],[{key:"create",value:function(e,t,r){return new n(e,t,r)}}]),n}(F);function X(e,t){for(var n=t;n;n=n.parent)if(e==n)return!0;return!1}function H(e){var t=e.closing,n=e.align,r=void 0===n||n,i=e.units,o=void 0===i?1:i;return function(e){return W(e,r,o,t)}}function W(e,t,n,r,i){var o=e.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==e.pos+a,l=t?function(e){var t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;for(var i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),a=null==i||i<=o.from?o.to:Math.min(o.to,i),s=n.to;;){var l=t.childAfter(s);if(!l||l==r)return null;if(!l.type.isSkipped)return l.from<a?n:null;s=l.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}var q=function(e){return e.baseIndent};function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.except,n=e.units,r=void 0===n?1:n;return function(e){var n=t&&t.test(e.textAfter);return e.baseIndent+(n?0:r*e.unit)}}var V=200;function J(){return d.yy.transactionFilter.of((function(e){if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;var t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;var n=e.newDoc,r=e.newSelection.main.head,i=n.lineAt(r);if(r>i.from+V)return e;var o=n.sliceString(i.from,r);if(!t.some((function(e){return e.test(o)})))return e;var a,s=e.state,l=-1,c=[],h=(0,u.Z)(s.selection.ranges);try{for(h.s();!(a=h.n()).done;){var f=a.value.head,d=s.doc.lineAt(f);if(d.from!=l){l=d.from;var p=L(s,d.from);if(null!=p){var m=/^\s*/.exec(d.text)[0],g=I(s,p);m!=g&&c.push({from:d.from,to:d.from+m.length,insert:g})}}}}catch(v){h.e(v)}finally{h.f()}return c.length?[e,{changes:c,sequential:!0}]:e}))}var K=d.r$.define(),ee=new f.md;function te(e){var t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function ne(e){var t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function re(e,t,n){var r,i=(0,u.Z)(e.facet(K));try{for(i.s();!(r=i.n()).done;){var o=(0,r.value)(e,t,n);if(o)return o}}catch(a){i.e(a)}finally{i.f()}return function(e,t,n){var r=x(e);if(r.length<n)return null;for(var i=null,o=r.resolveInner(n,1);o;o=o.parent)if(!(o.to<=n||o.from>n)){if(i&&o.from<t)break;var a=o.type.prop(ee);if(a&&(o.to<r.length-50||r.length==e.doc.length||!ne(o))){var s=a(o,e);s&&s.from<=n&&s.from>=t&&s.to>n&&(i=s)}}return i}(e,t,n)}function ie(e,t){var n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}var oe=d.Py.define({map:ie}),ae=d.Py.define({map:ie});function se(e){var t,n=[],r=(0,u.Z)(e.state.selection.ranges);try{var i=function(){var r=t.value.head;if(n.some((function(e){return e.from<=r&&e.to>=r})))return 1;n.push(e.lineBlockAt(r))};for(r.s();!(t=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}return n}var le=d.QQ.define({create:function(){return p.p.none},update:function(e,t){e=e.map(t.changes);var n,r=(0,u.Z)(t.effects);try{var i=function(){var r=n.value;if(r.is(oe)&&!function(e,t,n){var r=!1;return e.between(t,t,(function(e,i){e==t&&i==n&&(r=!0)})),r}(e,r.value.from,r.value.to)){var i=t.state.facet(pe).preparePlaceholder,o=i?p.p.replace({widget:new Oe(i(t.state,r.value))}):ve;e=e.update({add:[o.range(r.value.from,r.value.to)]})}else r.is(ae)&&(e=e.update({filter:function(e,t){return r.value.from!=e||r.value.to!=t},filterFrom:r.value.from,filterTo:r.value.to}))};for(r.s();!(n=r.n()).done;)i()}catch(s){r.e(s)}finally{r.f()}if(t.selection){var o=!1,a=t.selection.main.head;e.between(a,a,(function(e,t){e<a&&t>a&&(o=!0)})),o&&(e=e.update({filterFrom:a,filterTo:a,filter:function(e,t){return t<=a||e>=a}}))}return e},provide:function(e){return p.tk.decorations.from(e)},toJSON:function(e,t){var n=[];return e.between(0,t.doc.length,(function(e,t){n.push(e,t)})),n},fromJSON:function(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");for(var t=[],n=0;n<e.length;){var r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw new RangeError("Invalid JSON for fold state");t.push(ve.range(r,i))}return p.p.set(t,!0)}});function ue(e,t,n){var r,i=null;return null===(r=e.field(le,!1))||void 0===r||r.between(t,n,(function(e,t){(!i||i.from>e)&&(i={from:e,to:t})})),i}function ce(e,t){return e.field(le,!1)?t:t.concat(d.Py.appendConfig.of(me()))}function he(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return p.tk.announce.of("".concat(e.state.phrase(n?"Folded lines":"Unfolded lines")," ").concat(r," ").concat(e.state.phrase("to")," ").concat(i,"."))}var fe=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:function(e){var t,n=(0,u.Z)(se(e));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=re(e.state,r.from,r.to);if(i)return e.dispatch({effects:ce(e.state,[oe.of(i),he(e,i)])}),!0}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:function(e){if(!e.state.field(le,!1))return!1;var t,n=[],r=(0,u.Z)(se(e));try{for(r.s();!(t=r.n()).done;){var i=t.value,o=ue(e.state,i.from,i.to);o&&n.push(ae.of(o),he(e,o,!1))}}catch(a){r.e(a)}finally{r.f()}return n.length&&e.dispatch({effects:n}),n.length>0}},{key:"Ctrl-Alt-[",run:function(e){for(var t=e.state,n=[],r=0;r<t.doc.length;){var i=e.lineBlockAt(r),o=re(t,i.from,i.to);o&&n.push(oe.of(o)),r=(o?e.lineBlockAt(o.to):i).to+1}return n.length&&e.dispatch({effects:ce(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:function(e){var t=e.state.field(le,!1);if(!t||!t.size)return!1;var n=[];return t.between(0,e.state.doc.length,(function(e,t){n.push(ae.of({from:e,to:t}))})),e.dispatch({effects:n}),!0}}],de={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},pe=d.r$.define({combine:function(e){return(0,d.BO)(e,de)}});function me(e){var t=[le,Se];return e&&t.push(pe.of(e)),t}function ge(e,t){var n=e.state,r=n.facet(pe),i=function(t){var n=e.lineBlockAt(e.posAtDOM(t.target)),r=ue(e.state,n.from,n.to);r&&e.dispatch({effects:ae.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);var o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}var ve=p.p.replace({widget:new(function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return(0,h.Z)(n,[{key:"toDOM",value:function(e){return ge(e,null)}}]),n}(p.l9))}),Oe=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).value=e,r}return(0,h.Z)(n,[{key:"eq",value:function(e){return this.value==e.value}},{key:"toDOM",value:function(e){return ge(e,this.value)}}]),n}(p.l9),ye={openText:"\u2304",closedText:"\u203a",markerDOM:null,domEventHandlers:{},foldingChanged:function(){return!1}},be=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var i;return(0,c.Z)(this,n),(i=t.call(this)).config=e,i.open=r,i}return(0,h.Z)(n,[{key:"eq",value:function(e){return this.config==e.config&&this.open==e.open}},{key:"toDOM",value:function(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);var t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}]),n}(p.SJ);function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign(Object.assign({},ye),e),n=new be(t,!0),r=new be(t,!1),i=p.lg.fromClass(function(){function e(t){(0,c.Z)(this,e),this.from=t.viewport.from,this.markers=this.buildMarkers(t)}return(0,h.Z)(e,[{key:"update",value:function(e){(e.docChanged||e.viewportChanged||e.startState.facet(Z)!=e.state.facet(Z)||e.startState.field(le,!1)!=e.state.field(le,!1)||x(e.startState)!=x(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}},{key:"buildMarkers",value:function(e){var t,i=new d.f_,o=(0,u.Z)(e.viewportLineBlocks);try{for(o.s();!(t=o.n()).done;){var a=t.value,s=ue(e.state,a.from,a.to)?r:re(e.state,a.from,a.to)?n:null;s&&i.add(a.from,a.from,s)}}catch(l){o.e(l)}finally{o.f()}return i.finish()}}]),e}()),o=t.domEventHandlers;return[i,(0,p.v5)({class:"cm-foldGutter",markers:function(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||d.Xs.empty},initialSpacer:function(){return new be(t,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:function(e,t,n){if(o.click&&o.click(e,t,n))return!0;var r=ue(e.state,t.from,t.to);if(r)return e.dispatch({effects:ae.of(r)}),!0;var i=re(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:oe.of(i)}),!0)}})}),me()]}var Se=p.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),xe=function(){function e(t,n){var r;function i(e){var t=g.V.newName();return(r||(r=Object.create(null)))["."+t]=e,t}(0,c.Z)(this,e),this.specs=t;var o="string"==typeof n.all?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof b?function(e){return e.prop(v)==a.data}:a?function(e){return e==a}:void 0,this.style=(0,m.QR)(t.map((function(e){return{tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))}})),{all:o}).style,this.module=r?new g.V(r):null,this.themeType=n.themeType}return(0,h.Z)(e,null,[{key:"define",value:function(t,n){return new e(t,n||{})}}]),e}(),we=d.r$.define(),Te=d.r$.define({combine:function(e){return e.length?[e[0]]:null}});function Ce(e){var t=e.facet(we);return t.length?t:e.facet(Te)}function Ee(e,t){var n,r=[Pe];return e instanceof xe&&(e.module&&r.push(p.tk.styleModule.of(e.module)),n=e.themeType),(null===t||void 0===t?void 0:t.fallback)?r.push(Te.of(e)):n?r.push(we.computeN([p.tk.darkTheme],(function(t){return t.facet(p.tk.darkTheme)==("dark"==n)?[e]:[]}))):r.push(we.of(e)),r}var Ae=function(){function e(t){(0,c.Z)(this,e),this.markCache=Object.create(null),this.tree=x(t.state),this.decorations=this.buildDeco(t,Ce(t.state))}return(0,h.Z)(e,[{key:"update",value:function(e){var t=x(e.state),n=Ce(e.state),r=n!=Ce(e.startState);t.length<e.view.viewport.to&&!r&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}},{key:"buildDeco",value:function(e,t){var n=this;if(!t||!this.tree.length)return p.p.none;var r,i=new d.f_,o=(0,u.Z)(e.visibleRanges);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.from,l=a.to;(0,m.bW)(this.tree,t,(function(e,t,r){i.add(e,t,n.markCache[r]||(n.markCache[r]=p.p.mark({class:r})))}),s,l)}}catch(c){o.e(c)}finally{o.f()}return i.finish()}}]),e}(),Pe=d.Wl.high(p.lg.fromClass(Ae,{decorations:function(e){return e.decorations}})),_e=xe.define([{tag:m.pJ.meta,color:"#404740"},{tag:m.pJ.link,textDecoration:"underline"},{tag:m.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:m.pJ.emphasis,fontStyle:"italic"},{tag:m.pJ.strong,fontWeight:"bold"},{tag:m.pJ.strikethrough,textDecoration:"line-through"},{tag:m.pJ.keyword,color:"#708"},{tag:[m.pJ.atom,m.pJ.bool,m.pJ.url,m.pJ.contentSeparator,m.pJ.labelName],color:"#219"},{tag:[m.pJ.literal,m.pJ.inserted],color:"#164"},{tag:[m.pJ.string,m.pJ.deleted],color:"#a11"},{tag:[m.pJ.regexp,m.pJ.escape,m.pJ.special(m.pJ.string)],color:"#e40"},{tag:m.pJ.definition(m.pJ.variableName),color:"#00f"},{tag:m.pJ.local(m.pJ.variableName),color:"#30a"},{tag:[m.pJ.typeName,m.pJ.namespace],color:"#085"},{tag:m.pJ.className,color:"#167"},{tag:[m.pJ.special(m.pJ.variableName),m.pJ.macroName],color:"#256"},{tag:m.pJ.definition(m.pJ.propertyName),color:"#00c"},{tag:m.pJ.comment,color:"#940"},{tag:m.pJ.invalid,color:"#f00"}]),De=p.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Ze=1e4,Ne="()[]{}",Qe=d.r$.define({combine:function(e){return(0,d.BO)(e,{afterCursor:!0,brackets:Ne,maxScanDistance:Ze,renderMatch:$e})}}),Re=p.p.mark({class:"cm-matchingBracket"}),Me=p.p.mark({class:"cm-nonmatchingBracket"});function $e(e){var t=[],n=e.matched?Re:Me;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}var Ie=[d.QQ.define({create:function(){return p.p.none},update:function(e,t){if(!t.docChanged&&!t.selection)return e;var n,r=[],i=t.state.facet(Qe),o=(0,u.Z)(t.state.selection.ranges);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.empty){var s=ze(t.state,a.head,-1,i)||a.head>0&&ze(t.state,a.head-1,1,i)||i.afterCursor&&(ze(t.state,a.head,1,i)||a.head<t.state.doc.length&&ze(t.state,a.head+1,-1,i));s&&(r=r.concat(i.renderMatch(s,t.state)))}}}catch(l){o.e(l)}finally{o.f()}return p.p.set(r,!0)},provide:function(e){return p.tk.decorations.from(e)}}),De];function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Qe.of(e),Ie]}var Fe=new f.md;function Be(e,t,n){var r=e.prop(t<0?f.md.openedBy:f.md.closedBy);if(r)return r;if(1==e.name.length){var i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function je(e){var t=e.type.prop(Fe);return t?t(e.node):e}function ze(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.maxScanDistance||Ze,o=r.brackets||Ne,a=x(e),s=a.resolveInner(t,n),l=s;l;l=l.parent){var u=Be(l.type,n,o);if(u&&l.from<l.to){var c=je(l);if(c&&(n>0?t>=c.from&&t<c.to:t>c.from&&t<=c.to))return Ue(e,t,n,l,c,u,o)}}return function(e,t,n,r,i,o,a){var s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=a.indexOf(s);if(l<0||l%2==0!=n>0)return null;for(var u={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),h=0,f=0;!c.next().done&&f<=o;){var d=c.value;n<0&&(f+=d.length);for(var p=t+f*n,m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){var v=a.indexOf(d[m]);if(!(v<0||r.resolveInner(p+m,1).type!=i))if(v%2==0==n>0)h++;else{if(1==h)return{start:u,end:{from:p+m,to:p+m+1},matched:v>>1==l>>1};h--}}n>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}(e,t,n,a,s.type,i,o)}function Ue(e,t,n,r,i,o,a){var s=r.parent,l={from:i.from,to:i.to},u=0,c=null===s||void 0===s?void 0:s.cursor();if(c&&(n<0?c.childBefore(r.from):c.childAfter(r.to)))do{if(n<0?c.to<=r.from:c.from>=r.to){if(0==u&&o.indexOf(c.type.name)>-1&&c.from<c.to){var h=je(c);return{start:l,end:h?{from:h.from,to:h.to}:void 0,matched:!0}}if(Be(c.type,n,a))u++;else if(Be(c.type,-n,a)){if(0==u){var f=je(c);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}u--}}}while(n<0?c.prevSibling():c.nextSibling());return{start:l,matched:!1}}function Ye(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=i,a=r;a<t;a++)9==e.charCodeAt(a)?o+=n-o%n:o++;return o}var Xe=function(){function e(t,n,r,i){(0,c.Z)(this,e),this.string=t,this.tabSize=n,this.indentUnit=r,this.overrideIndent=i,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}return(0,h.Z)(e,[{key:"eol",value:function(){return this.pos>=this.string.length}},{key:"sol",value:function(){return 0==this.pos}},{key:"peek",value:function(){return this.string.charAt(this.pos)||void 0}},{key:"next",value:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}},{key:"eat",value:function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e instanceof RegExp?e.test(t):e(t)))return++this.pos,t}},{key:"eatWhile",value:function(e){for(var t=this.pos;this.eat(e););return this.pos>t}},{key:"eatSpace",value:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}},{key:"skipToEnd",value:function(){this.pos=this.string.length}},{key:"skipTo",value:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}},{key:"backUp",value:function(e){this.pos-=e}},{key:"column",value:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ye(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}},{key:"indentation",value:function(){var e;return null!==(e=this.overrideIndent)&&void 0!==e?e:Ye(this.string,null,this.tabSize)}},{key:"match",value:function(e,t,n){if("string"==typeof e){var r=function(e){return n?e.toLowerCase():e};return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}},{key:"current",value:function(){return this.string.slice(this.start,this.pos)}}]),e}();function He(e){if("object"!=typeof e)return e;var t={};for(var n in e){var r=e[n];t[n]=r instanceof Array?r.slice():r}return t}var We=new WeakMap,qe=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;(0,c.Z)(this,n);var i,o,u=O(e.languageData),d={name:(o=e).name||"",token:o.token,blankLine:o.blankLine||function(){},startState:o.startState||function(){return!0},copyState:o.copyState||He,indent:o.indent||function(){return null},languageData:o.languageData||{},tokenTable:o.tokenTable||et},p=new(function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return(0,h.Z)(n,[{key:"createParse",value:function(e,t,n){return new Je(i,e,t,n)}}]),n}(f._b));return(r=t.call(this,u,p,[R.of((function(e,t){return r.getIndent(e,t)}))],e.name)).topNode=function(e){var t=f.Jq.define({id:tt.length,name:"Document",props:[v.add((function(){return e}))],top:!0});return tt.push(t),t}(u),i=(0,a.Z)(r),r.streamParser=d,r.stateAfter=new f.md({perNode:!0}),r.tokenTable=e.tokenTable?new ct(d.tokenTable):ht,r}return(0,h.Z)(n,[{key:"getIndent",value:function(e,t){for(var n=x(e.state),r=n.resolve(t);r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;var i=void 0,o=e.options.overrideIndentation;o&&null!=(i=We.get(e.state))&&i<t-1e4&&(i=void 0);var a,s,l=Ge(this,n,0,r.from,null!==i&&void 0!==i?i:t);if(l?(s=l.state,a=l.pos+1):(s=this.streamParser.startState(e.unit),a=0),t-a>1e4)return null;for(;a<t;){var u=e.state.doc.lineAt(a),c=Math.min(t,u.to);if(u.length)for(var h=o?o(u.from):-1,f=new Xe(u.text,e.state.tabSize,e.unit,h<0?void 0:h);f.pos<c-u.from;)Ke(this.streamParser.token,f,s);else this.streamParser.blankLine(s,e.unit);if(c==t)break;a=u.to+1}var d=e.lineAt(t);return o&&null==i&&We.set(e.state,d.from),this.streamParser.indent(s,/^\s*(.*)/.exec(d.text)[1],e)}},{key:"allowsNesting",get:function(){return!1}}],[{key:"define",value:function(e){return new n(e)}}]),n}(b);function Ge(e,t,n,r,i){var o=n>=r&&n+t.length<=i&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(var a=t.children.length-1;a>=0;a--){var s=t.children[a],l=n+t.positions[a],u=s instanceof f.mp&&l<i&&Ge(e,s,l,r,i);if(u)return u}return null}function Ve(e,t,n,r,i){if(i&&n<=0&&r>=t.length)return t;i||t.type!=e.topNode||(i=!0);for(var o=t.children.length-1;o>=0;o--){var a=t.positions[o],s=t.children[o],l=void 0;if(a<r&&s instanceof f.mp){if(!(l=Ve(e,s,n-a,r-a,i)))break;return i?new f.mp(t.type,t.children.slice(0,o).concat(l),t.positions.slice(0,o+1),a+l.length):l}}return null}var Je=function(){function e(t,n,r,i){(0,c.Z)(this,e),this.lang=t,this.input=n,this.fragments=r,this.ranges=i,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=i[i.length-1].to;var o=C.get(),a=i[0].from,s=function(e,t,n,r){var i,o=(0,u.Z)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a.from+(a.openStart?25:0),l=a.to-(a.openEnd?25:0),c=s<=n&&l>n&&Ge(e,a.tree,0-a.offset,n,l),h=void 0;if(c&&(h=Ve(e,a.tree,n+a.offset,c.pos+a.offset,!1)))return{state:c.state,tree:h}}}catch(d){o.e(d)}finally{o.f()}return{state:e.streamParser.startState(r?$(r):4),tree:f.mp.empty}}(t,r,a,null===o||void 0===o?void 0:o.state),l=s.state,h=s.tree;this.state=l,this.parsedPos=this.chunkStart=a+h.length;for(var d=0;d<h.children.length;d++)this.chunks.push(h.children[d]),this.chunkPos.push(h.positions[d]);o&&this.parsedPos<o.viewport.from-1e5&&(this.state=this.lang.streamParser.startState($(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}return(0,h.Z)(e,[{key:"advance",value:function(){var e=C.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+2048);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}},{key:"stopAt",value:function(e){this.stoppedAt=e}},{key:"lineAfter",value:function(e){var t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{var n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}},{key:"nextLine",value:function(){for(var e=this.parsedPos,t=this.lineAfter(e),n=e+t.length,r=this.rangeIndex;;){var i=this.ranges[r].to;if(i>=n)break;if(t=t.slice(0,i-(n-t.length)),++r==this.ranges.length)break;var o=this.ranges[r].from,a=this.lineAfter(o);t+=a,n=o+a.length}return{line:t,end:n}}},{key:"skipGapsTo",value:function(e,t,n){for(;;){var r=this.ranges[this.rangeIndex].to,i=e+t;if(n>0?r>i:r>=i)break;t+=this.ranges[++this.rangeIndex].from-r}return t}},{key:"moveRangeIndex",value:function(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}},{key:"emitToken",value:function(e,t,n,r,i){if(this.ranges.length>1){t+=i=this.skipGapsTo(t,i,1);var o=this.chunk.length;n+=i=this.skipGapsTo(n,i,-1),r+=this.chunk.length-o}return this.chunk.push(e,t,n,r),i}},{key:"parseLine",value:function(e){var t=this.nextLine(),n=t.line,r=t.end,i=0,o=this.lang.streamParser,a=new Xe(n,e?e.state.tabSize:4,e?$(e.state):2);if(a.eol())o.blankLine(this.state,a.indentUnit);else for(;!a.eol();){var s=Ke(o.token,a,this.state);if(s&&(i=this.emitToken(this.lang.tokenTable.resolve(s),this.parsedPos+a.start,this.parsedPos+a.pos,4,i)),a.start>1e4)break}this.parsedPos=r,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}},{key:"finishChunk",value:function(){var e=f.mp.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:nt,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new f.mp(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}},{key:"finish",value:function(){return new f.mp(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}]),e}();function Ke(e,t,n){t.start=t.pos;for(var r=0;r<10;r++){var i=e(t,n);if(t.pos>t.start)return i}throw new Error("Stream parser failed to advance stream.")}for(var et=Object.create(null),tt=[f.Jq.none],nt=new f.Lj(tt),rt=[],it=Object.create(null),ot=0,at=[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]];ot<at.length;ot++){var st=(0,o.Z)(at[ot],2),lt=st[0],ut=st[1];it[lt]=dt(et,ut)}var ct=function(){function e(t){(0,c.Z)(this,e),this.extra=t,this.table=Object.assign(Object.create(null),it)}return(0,h.Z)(e,[{key:"resolve",value:function(e){return e?this.table[e]||(this.table[e]=dt(this.extra,e)):0}}]),e}(),ht=new ct(et);function ft(e,t){rt.indexOf(e)>-1||(rt.push(e),console.warn(t))}function dt(e,t){var n,r=null,o=(0,u.Z)(t.split("."));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=e[a]||m.pJ[a];s?"function"==typeof s?r?r=s(r):ft(a,"Modifier ".concat(a," used at start of tag")):r?ft(a,"Tag ".concat(a," used as modifier")):r=s:ft(a,"Unknown highlighting tag ".concat(a))}}catch(h){o.e(h)}finally{o.f()}if(!r)return 0;var l=t.replace(/ /g,"_"),c=f.Jq.define({id:tt.length,name:l,props:[(0,m.Gv)((0,i.Z)({},l,r))]});return tt.push(c),c.id}},5224:function(e,t,n){"use strict";n.d(t,{BO:function(){return Re},D0:function(){return De},Gz:function(){return Ke},IS:function(){return Je},Py:function(){return Se},QQ:function(){return K},Wl:function(){return oe},Xs:function(){return Fe},YW:function(){return xe},as:function(){return M},bg:function(){return D},cp:function(){return T},f_:function(){return Be},gc:function(){return Q},gm:function(){return _},jT:function(){return U},n0:function(){return R},nZ:function(){return Z},q6:function(){return ye},r$:function(){return H},uU:function(){return Me},xv:function(){return h},yy:function(){return Qe}});var r=n(1026),i=n(726),o=n(3243),a=n(7597),s=n(7591),l=n(9616),u=n(2951),c=n(1976),h=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"lineAt",value:function(e){if(e<0||e>this.length)throw new RangeError("Invalid position ".concat(e," in document of length ").concat(this.length));return this.lineInner(e,!1,1,0)}},{key:"line",value:function(e){if(e<1||e>this.lines)throw new RangeError("Invalid line number ".concat(e," in ").concat(this.lines,"-line document"));return this.lineInner(e,!0,1,0)}},{key:"replace",value:function(e,t,n){var r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),d.from(r,this.length-(t-e)+n.length)}},{key:"append",value:function(e){return this.replace(this.length,this.length,e)}},{key:"slice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=[];return this.decompose(e,t,n,0),d.from(n,t-e)}},{key:"eq",value:function(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;for(var t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new g(this),i=new g(e),o=t,a=t;;){if(r.next(o),i.next(o),o=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}},{key:"iter",value:function(){return new g(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)}},{key:"iterRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length;return new v(this,e,t)}},{key:"iterLines",value:function(e,t){var n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);var r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new O(n)}},{key:"toString",value:function(){return this.sliceString(0)}},{key:"toJSON",value:function(){var e=[];return this.flatten(e),e}}],[{key:"of",value:function(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new f(t):d.from(f.split(t,[])):e.empty}}]),e}(),f=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t,n=-1,r=(0,i.Z)(e);try{for(r.s();!(t=r.n()).done;){n+=t.value.length+1}}catch(o){r.e(o)}finally{r.f()}return n}(e);return(0,u.Z)(this,n),(r=t.call(this)).text=e,r.length=o,r}return(0,c.Z)(n,[{key:"lines",get:function(){return this.text.length}},{key:"children",get:function(){return null}},{key:"lineInner",value:function(e,t,n,r){for(var i=0;;i++){var o=this.text[i],a=r+o.length;if((t?n:a)>=e)return new y(r,a,n,o);r=a+1,n++}}},{key:"decompose",value:function(e,t,r,i){var o=e<=0&&t>=this.length?this:new n(m(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){var a=r.pop(),s=p(o.text,a.text.slice(),0,o.length);if(s.length<=32)r.push(new n(s,a.length+o.length));else{var l=s.length>>1;r.push(new n(s.slice(0,l)),new n(s.slice(l)))}}else r.push(o)}},{key:"replace",value:function(e,t,r){if(!(r instanceof n))return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,e,t,r);var i=p(this.text,p(r.text,m(this.text,0,e)),t),s=this.length+r.length-(t-e);return i.length<=32?new n(i,s):d.from(n.split(i,[]),s)}},{key:"sliceString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\n",r="",i=0,o=0;i<=t&&o<this.text.length;o++){var a=this.text[o],s=i+a.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.slice(Math.max(0,e-i),t-i)),i=s+1}return r}},{key:"flatten",value:function(e){var t,n=(0,i.Z)(this.text);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(o){n.e(o)}finally{n.f()}}},{key:"scanIdentical",value:function(){return 0}}],[{key:"split",value:function(e,t){var r,o=[],a=-1,s=(0,i.Z)(e);try{for(s.s();!(r=s.n()).done;){var l=r.value;o.push(l),a+=l.length+1,32==o.length&&(t.push(new n(o,a)),o=[],a=-1)}}catch(u){s.e(u)}finally{s.f()}return a>-1&&t.push(new n(o,a)),t}}]),n}(h),d=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var o;(0,u.Z)(this,n),(o=t.call(this)).children=e,o.length=r,o.lines=0;var a,s=(0,i.Z)(e);try{for(s.s();!(a=s.n()).done;){var l=a.value;o.lines+=l.lines}}catch(c){s.e(c)}finally{s.f()}return o}return(0,c.Z)(n,[{key:"lineInner",value:function(e,t,n,r){for(var i=0;;i++){var o=this.children[i],a=r+o.length,s=n+o.lines-1;if((t?s:a)>=e)return o.lineInner(e,t,n,r);r=a+1,n=s+1}}},{key:"decompose",value:function(e,t,n,r){for(var i=0,o=0;o<=t&&i<this.children.length;i++){var a=this.children[i],s=o+a.length;if(e<=s&&t>=o){var l=r&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!l?n.push(a):a.decompose(e-o,t-o,n,l)}o=s+1}}},{key:"replace",value:function(e,t,r){if(r.lines<this.lines)for(var i=0,s=0;i<this.children.length;i++){var l=this.children[i],u=s+l.length;if(e>=s&&t<=u){var c=l.replace(e-s,t-s,r),h=this.lines-l.lines+c.lines;if(c.lines<h>>4&&c.lines>h>>6){var f=this.children.slice();return f[i]=c,new n(f,this.length-(t-e)+r.length)}return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,s,u,c)}s=u+1}return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,e,t,r)}},{key:"sliceString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\n",r="",i=0,o=0;i<this.children.length&&o<=t;i++){var a=this.children[i],s=o+a.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.sliceString(e-o,t-o,n)),o=s+1}return r}},{key:"flatten",value:function(e){var t,n=(0,i.Z)(this.children);try{for(n.s();!(t=n.n()).done;){t.value.flatten(e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"scanIdentical",value:function(e,t){if(!(e instanceof n))return 0;for(var i=0,o=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1],a=(0,r.Z)(o,4),s=a[0],l=a[1],u=a[2],c=a[3];;s+=t,l+=t){if(s==u||l==c)return i;var h=this.children[s],f=e.children[l];if(h!=f)return i+h.scanIdentical(f,t);i+=h.length+1}}}],[{key:"from",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.reduce((function(e,t){return e+t.length+1}),-1),o=0,a=(0,i.Z)(e);try{for(a.s();!(t=a.n()).done;){o+=t.value.lines}}catch(S){a.e(S)}finally{a.f()}if(o<32){var s,l=[],u=(0,i.Z)(e);try{for(u.s();!(s=u.n()).done;){s.value.flatten(l)}}catch(S){u.e(S)}finally{u.f()}return new f(l,r)}var c=Math.max(32,o>>5),h=c<<1,d=c>>1,p=[],m=0,g=-1,v=[];function O(e){var t;if(e.lines>h&&e instanceof n){var r,o=(0,i.Z)(e.children);try{for(o.s();!(r=o.n()).done;){O(r.value)}}catch(S){o.e(S)}finally{o.f()}}else e.lines>d&&(m>d||!m)?(y(),p.push(e)):e instanceof f&&m&&(t=v[v.length-1])instanceof f&&e.lines+t.lines<=32?(m+=e.lines,g+=e.length+1,v[v.length-1]=new f(t.text.concat(e.text),t.length+1+e.length)):(m+e.lines>c&&y(),m+=e.lines,g+=e.length+1,v.push(e))}function y(){0!=m&&(p.push(1==v.length?v[0]:n.from(v,g)),g=-1,m=v.length=0)}var b,k=(0,i.Z)(e);try{for(k.s();!(b=k.n()).done;){O(b.value)}}catch(S){k.e(S)}finally{k.f()}return y(),1==p.length?p[0]:new n(p,r)}}]),n}(h);function p(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e9,i=0,o=0,a=!0;o<e.length&&i<=r;o++){var s=e[o],l=i+s.length;l>=n&&(l>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),a?(t[t.length-1]+=s,a=!1):t.push(s)),i=l+1}return t}function m(e,t,n){return p(e,[""],t,n)}h.empty=new f([""],0);var g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,u.Z)(this,e),this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[n>0?1:(t instanceof f?t.text.length:t.children.length)<<1]}return(0,c.Z)(e,[{key:"nextInner",value:function(e,t){for(this.done=this.lineBreak=!1;;){var n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,a=r instanceof f?r.text.length:r.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof f){var s=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,s.length>Math.max(0,e))return this.value=0==e?s:t>0?s.slice(e):s.slice(0,s.length-e),this;e-=s.length}else{var l=r.children[o+(t<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(t>0?1:(l instanceof f?l.text.length:l.children.length)<<1))}}}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}]),e}(),v=function(){function e(t,n,r){(0,u.Z)(this,e),this.value="",this.done=!1,this.cursor=new g(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}return(0,c.Z)(e,[{key:"nextInner",value:function(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);var n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;var r=this.cursor.next(e).value;return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}},{key:"lineBreak",get:function(){return this.cursor.lineBreak&&""!=this.value}}]),e}(),O=function(){function e(t){(0,u.Z)(this,e),this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}return(0,c.Z)(e,[{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.inner.next(e),n=t.done,r=t.lineBreak,i=t.value;return n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}},{key:"lineBreak",get:function(){return!1}}]),e}();"undefined"!=typeof Symbol&&(h.prototype[Symbol.iterator]=function(){return this.iter()},g.prototype[Symbol.iterator]=v.prototype[Symbol.iterator]=O.prototype[Symbol.iterator]=function(){return this});for(var y=function(){function e(t,n,r,i){(0,u.Z)(this,e),this.from=t,this.to=n,this.number=r,this.text=i}return(0,c.Z)(e,[{key:"length",get:function(){return this.to-this.from}}]),e}(),b="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((function(e){return e?parseInt(e,36):1})),k=1;k<b.length;k++)b[k]+=b[k-1];function S(e){for(var t=1;t<b.length;t+=2)if(b[t]>e)return b[t-1]<=e;return!1}function x(e){return e>=127462&&e<=127487}var w=8205;function T(e,t){return(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?C:E)(e,t,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function C(e,t,n){if(t==e.length)return t;t&&A(e.charCodeAt(t))&&P(e.charCodeAt(t-1))&&t--;var r=_(e,t);for(t+=Z(r);t<e.length;){var i=_(e,t);if(r==w||i==w||n&&S(i))t+=Z(i),r=i;else{if(!x(i))break;for(var o=0,a=t-2;a>=0&&x(_(e,a));)o++,a-=2;if(o%2==0)break;t+=2}}return t}function E(e,t,n){for(;t>0;){var r=C(e,t-2,n);if(r<t)return r;t--}return 0}function A(e){return e>=56320&&e<57344}function P(e){return e>=55296&&e<56320}function _(e,t){var n=e.charCodeAt(t);if(!P(n)||t+1==e.length)return n;var r=e.charCodeAt(t+1);return A(r)?r-56320+(n-55296<<10)+65536:n}function D(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Z(e){return e<65536?1:2}var N=/\r\n?|\n/,Q=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Q||(Q={})),R=function(){function e(t){(0,u.Z)(this,e),this.sections=t}return(0,c.Z)(e,[{key:"length",get:function(){for(var e=0,t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}},{key:"newLength",get:function(){for(var e=0,t=0;t<this.sections.length;t+=2){var n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}},{key:"empty",get:function(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}},{key:"iterGaps",value:function(e){for(var t=0,n=0,r=0;t<this.sections.length;){var i=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,n+=i}}},{key:"iterChangedRanges",value:function(e){L(this,e,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}},{key:"invertedDesc",get:function(){for(var t=[],n=0;n<this.sections.length;){var r=this.sections[n++],i=this.sections[n++];i<0?t.push(r,i):t.push(i,r)}return new e(t)}},{key:"composeDesc",value:function(e){return this.empty?e:e.empty?this:B(this,e)}},{key:"mapDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.empty?this:F(this,e,t)}},{key:"mapPos",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q.Simple,r=0,i=0,o=0;o<this.sections.length;){var a=this.sections[o++],s=this.sections[o++],l=r+a;if(s<0){if(l>e)return i+(e-r);i+=a}else{if(n!=Q.Simple&&l>=e&&(n==Q.TrackDel&&r<e&&l>e||n==Q.TrackBefore&&r<e||n==Q.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!a)return e==r||t<0?i:i+s;i+=s}r=l}if(e>r)throw new RangeError("Position ".concat(e," is out of range for changeset of length ").concat(r));return i}},{key:"touchesRange",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=0,r=0;n<this.sections.length&&r<=t;){var i=r+this.sections[n++];if(this.sections[n++]>=0&&r<=t&&i>=e)return!(r<e&&i>t)||"cover";r=i}return!1}},{key:"toString",value:function(){for(var e="",t=0;t<this.sections.length;){var n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}},{key:"toJSON",value:function(){return this.sections}}],[{key:"fromJSON",value:function(t){if(!Array.isArray(t)||t.length%2||t.some((function(e){return"number"!=typeof e})))throw new RangeError("Invalid JSON representation of ChangeDesc");return new e(t)}},{key:"create",value:function(t){return new e(t)}}]),e}(),M=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var i;return(0,u.Z)(this,n),(i=t.call(this,e)).inserted=r,i}return(0,c.Z)(n,[{key:"apply",value:function(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return L(this,(function(t,n,r,i,o){return e=e.replace(r,r+(n-t),o)}),!1),e}},{key:"mapDesc",value:function(e){return F(this,e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],!0)}},{key:"invert",value:function(e){for(var t=this.sections.slice(),r=[],i=0,o=0;i<t.length;i+=2){var a=t[i],s=t[i+1];if(s>=0){t[i]=s,t[i+1]=a;for(var l=i>>1;r.length<l;)r.push(h.empty);r.push(a?e.slice(o,o+a):h.empty)}o+=a}return new n(t,r)}},{key:"compose",value:function(e){return this.empty?e:e.empty?this:B(this,e,!0)}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.empty?this:F(this,e,t,!0)}},{key:"iterChanges",value:function(e){L(this,e,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}},{key:"desc",get:function(){return R.create(this.sections)}},{key:"filter",value:function(e){var t=[],r=[],i=[],o=new j(this);e:for(var a=0,s=0;;){for(var l=a==e.length?1e9:e[a++];s<l||s==l&&0==o.len;){if(o.done)break e;var u=Math.min(o.len,l-s);$(i,u,-1);var c=-1==o.ins?-1:0==o.off?o.ins:0;$(t,u,c),c>0&&I(r,t,o.text),o.forward(u),s+=u}for(var h=e[a++];s<h;){if(o.done)break e;var f=Math.min(o.len,h-s);$(t,f,-1),$(i,f,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(f),s+=f}}return{changes:new n(t,r),filtered:R.create(i)}}},{key:"toJSON",value:function(){for(var e=[],t=0;t<this.sections.length;t+=2){var n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}}],[{key:"of",value:function(e,t,r){var o=[],a=[],s=0,l=null;function u(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||o.length){s<t&&$(o,t-s,-1);var e=new n(o,a);l=l?l.compose(e.map(l)):e,o=[],a=[],s=0}}return function e(c){if(Array.isArray(c)){var f,d=(0,i.Z)(c);try{for(d.s();!(f=d.n()).done;){e(f.value)}}catch(b){d.e(b)}finally{d.f()}}else if(c instanceof n){if(c.length!=t)throw new RangeError("Mismatched change set length (got ".concat(c.length,", expected ").concat(t,")"));u(),l=l?l.compose(c.map(l)):c}else{var p=c.from,m=c.to,g=void 0===m?p:m,v=c.insert;if(p>g||p<0||g>t)throw new RangeError("Invalid change range ".concat(p," to ").concat(g," (in doc of length ").concat(t,")"));var O=v?"string"==typeof v?h.of(v.split(r||N)):v:h.empty,y=O.length;if(p==g&&0==y)return;p<s&&u(),p>s&&$(o,p-s,-1),$(o,g-p,y),I(a,o,O),s=g}}(e),u(!l),l}},{key:"empty",value:function(e){return new n(e?[e,-1]:[],[])}},{key:"fromJSON",value:function(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");for(var t=[],r=[],i=0;i<e.length;i++){var o=e[i];if("number"==typeof o)t.push(o,-1);else{if(!Array.isArray(o)||"number"!=typeof o[0]||o.some((function(e,t){return t&&"string"!=typeof e})))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==o.length)t.push(o[0],0);else{for(;r.length<i;)r.push(h.empty);r[i]=h.of(o.slice(1)),t.push(o[0],r[i].length)}}}return new n(t,r)}},{key:"createSet",value:function(e,t){return new n(e,t)}}]),n}(R);function $(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!(0==t&&n<=0)){var i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}}function I(e,t,n){if(0!=n.length){var r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(h.empty);e.push(n)}}}function L(e,t,n){for(var r=e.inserted,i=0,o=0,a=0;a<e.sections.length;){var s=e.sections[a++],l=e.sections[a++];if(l<0)i+=s,o+=s;else{for(var u=i,c=o,f=h.empty;u+=s,c+=l,l&&r&&(f=f.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],l=e.sections[a++];t(i,u,o,c,f),i=u,o=c}}}function F(e,t,n){for(var r=[],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3]?[]:null,o=new j(e),a=new j(t),s=-1;;)if(-1==o.ins&&-1==a.ins){var l=Math.min(o.len,a.len);$(r,l,-1),o.forward(l),a.forward(l)}else if(a.ins>=0&&(o.ins<0||s==o.i||0==o.off&&(a.len<o.len||a.len==o.len&&!n))){var u=a.len;for($(r,a.ins,-1);u;){var c=Math.min(o.len,u);o.ins>=0&&s<o.i&&o.len<=c&&($(r,0,o.ins),i&&I(i,r,o.text),s=o.i),o.forward(c),u-=c}a.next()}else{if(!(o.ins>=0)){if(o.done&&a.done)return i?M.createSet(r,i):R.create(r);throw new Error("Mismatched change set lengths")}for(var h=0,f=o.len;f;)if(-1==a.ins){var d=Math.min(f,a.len);h+=d,f-=d,a.forward(d)}else{if(!(0==a.ins&&a.len<f))break;f-=a.len,a.next()}$(r,h,s<o.i?o.ins:0),i&&s<o.i&&I(i,r,o.text),s=o.i,o.forward(o.len-f)}}function B(e,t){for(var n=[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?[]:null,i=new j(e),o=new j(t),a=!1;;){if(i.done&&o.done)return r?M.createSet(n,r):R.create(n);if(0==i.ins)$(n,i.len,0,a),i.next();else if(0!=o.len||o.done){if(i.done||o.done)throw new Error("Mismatched change set lengths");var s=Math.min(i.len2,o.len),l=n.length;if(-1==i.ins){var u=-1==o.ins?-1:o.off?0:o.ins;$(n,s,u,a),r&&u&&I(r,n,o.text)}else-1==o.ins?($(n,i.off?0:i.len,s,a),r&&I(r,n,i.textBit(s))):($(n,i.off?0:i.len,o.off?0:o.ins,a),r&&!o.off&&I(r,n,o.text));a=(i.ins>s||o.ins>=0&&o.len>s)&&(a||n.length>l),i.forward2(s),o.forward(s)}else $(n,0,o.ins,a),r&&I(r,n,o.text),o.next()}}var j=function(){function e(t){(0,u.Z)(this,e),this.set=t,this.i=0,this.next()}return(0,c.Z)(e,[{key:"next",value:function(){var e=this.set.sections;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}},{key:"done",get:function(){return-2==this.ins}},{key:"len2",get:function(){return this.ins<0?this.len:this.ins}},{key:"text",get:function(){var e=this.set.inserted,t=this.i-2>>1;return t>=e.length?h.empty:e[t]}},{key:"textBit",value:function(e){var t=this.set.inserted,n=this.i-2>>1;return n>=t.length&&!e?h.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}},{key:"forward",value:function(e){e==this.len?this.next():(this.len-=e,this.off+=e)}},{key:"forward2",value:function(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}]),e}(),z=function(){function e(t,n,r){(0,u.Z)(this,e),this.from=t,this.to=n,this.flags=r}return(0,c.Z)(e,[{key:"anchor",get:function(){return 16&this.flags?this.to:this.from}},{key:"head",get:function(){return 16&this.flags?this.from:this.to}},{key:"empty",get:function(){return this.from==this.to}},{key:"assoc",get:function(){return 4&this.flags?-1:8&this.flags?1:0}},{key:"bidiLevel",get:function(){var e=3&this.flags;return 3==e?null:e}},{key:"goalColumn",get:function(){var e=this.flags>>5;return 33554431==e?void 0:e}},{key:"map",value:function(t){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return this.empty?n=r=t.mapPos(this.from,i):(n=t.mapPos(this.from,1),r=t.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new e(n,r,this.flags)}},{key:"extend",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(e<=this.anchor&&t>=this.anchor)return U.range(e,t);var n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return U.range(this.anchor,n)}},{key:"eq",value:function(e){return this.anchor==e.anchor&&this.head==e.head}},{key:"toJSON",value:function(){return{anchor:this.anchor,head:this.head}}}],[{key:"fromJSON",value:function(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return U.range(e.anchor,e.head)}},{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}(),U=function(){function e(t,n){(0,u.Z)(this,e),this.ranges=t,this.mainIndex=n}return(0,c.Z)(e,[{key:"map",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return t.empty?this:e.create(this.ranges.map((function(e){return e.map(t,n)})),this.mainIndex)}},{key:"eq",value:function(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}},{key:"main",get:function(){return this.ranges[this.mainIndex]}},{key:"asSingle",value:function(){return 1==this.ranges.length?this:new e([this.main],0)}},{key:"addRange",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.create([t].concat(this.ranges),n?0:this.mainIndex+1)}},{key:"replaceRange",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.mainIndex,r=this.ranges.slice();return r[n]=t,e.create(r,this.mainIndex)}},{key:"toJSON",value:function(){return{ranges:this.ranges.map((function(e){return e.toJSON()})),main:this.mainIndex}}}],[{key:"fromJSON",value:function(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new e(t.ranges.map((function(e){return z.fromJSON(e)})),t.main)}},{key:"single",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return new e([e.range(t,n)],0)}},{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0==t.length)throw new RangeError("A selection needs at least one range");for(var r=0,i=0;i<t.length;i++){var o=t[i];if(o.empty?o.from<=r:o.from<r)return e.normalized(t.slice(),n);r=o.to}return new e(t,n)}},{key:"cursor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return z.create(e,e,(0==t?0:t<0?4:8)|(null==n?3:Math.min(2,n))|(null!==r&&void 0!==r?r:33554431)<<5)}},{key:"range",value:function(e,t,n,r){var i=(null!==n&&void 0!==n?n:33554431)<<5|(null==r?3:Math.min(2,r));return t<e?z.create(t,e,24|i):z.create(e,t,(t>e?4:0)|i)}},{key:"normalized",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t[n];t.sort((function(e,t){return e.from-t.from})),n=t.indexOf(r);for(var i=1;i<t.length;i++){var o=t[i],a=t[i-1];if(o.empty?o.from<=a.to:o.from<a.to){var s=a.from,l=Math.max(o.to,a.to);i<=n&&n--,t.splice(--i,2,o.anchor>o.head?e.range(l,s):e.range(s,l))}}return new e(t,n)}}]),e}();function Y(e,t){var n,r=(0,i.Z)(e.ranges);try{for(r.s();!(n=r.n()).done;){if(n.value.to>t)throw new RangeError("Selection points outside of document")}}catch(o){r.e(o)}finally{r.f()}}var X=0,H=function(){function e(t,n,r,i,o){(0,u.Z)(this,e),this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=X++,this.default=t([]),this.extensions="function"==typeof o?o(this):o}return(0,c.Z)(e,[{key:"of",value:function(e){return new q([],this,0,e)}},{key:"compute",value:function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new q(e,this,1,t)}},{key:"computeN",value:function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new q(e,this,2,t)}},{key:"from",value:function(e,t){return t||(t=function(e){return e}),this.compute([e],(function(n){return t(n.field(e))}))}}],[{key:"define",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e(t.combine||function(e){return e},t.compareInput||function(e,t){return e===t},t.compare||(t.combine?function(e,t){return e===t}:W),!!t.static,t.enables)}}]),e}();function W(e,t){return e==t||e.length==t.length&&e.every((function(e,n){return e===t[n]}))}var q=function(){function e(t,n,r,i){(0,u.Z)(this,e),this.dependencies=t,this.facet=n,this.type=r,this.value=i,this.id=X++}return(0,c.Z)(e,[{key:"dynamicSlot",value:function(e){var t,n,r=this,o=this.value,a=this.facet.compareInput,s=this.id,l=e[s]>>1,u=2==this.type,c=!1,h=!1,f=[],d=(0,i.Z)(this.dependencies);try{for(d.s();!(n=d.n()).done;){var p=n.value;"doc"==p?c=!0:"selection"==p?h=!0:0==(1&(null!==(t=e[p.id])&&void 0!==t?t:1))&&f.push(e[p.id])}}catch(m){d.e(m)}finally{d.f()}return{create:function(e){return e.values[l]=o(e),1},update:function(e,t){if(c&&t.docChanged||h&&(t.docChanged||t.selection)||V(e,f)){var n=o(e);if(u?!G(n,e.values[l],a):!a(n,e.values[l]))return e.values[l]=n,1}return 0},reconfigure:function(e,t){var n,i=t.config.address[s];if(null!=i){var c=he(t,i);if(r.dependencies.every((function(n){return n instanceof H?t.facet(n)===e.facet(n):!(n instanceof K)||t.field(n,!1)==e.field(n,!1)}))||(u?G(n=o(e),c,a):a(n=o(e),c)))return e.values[l]=c,0}else n=o(e);return e.values[l]=n,1}}}}]),e}();function G(e,t,n){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function V(e,t){var n,r=!1,o=(0,i.Z)(t);try{for(o.s();!(n=o.n()).done;){1&ce(e,n.value)&&(r=!0)}}catch(a){o.e(a)}finally{o.f()}return r}var J=H.define({static:!0}),K=function(){function e(t,n,r,i,o){(0,u.Z)(this,e),this.id=t,this.createF=n,this.updateF=r,this.compareF=i,this.spec=o,this.provides=void 0}return(0,c.Z)(e,[{key:"create",value:function(e){var t=this,n=e.facet(J).find((function(e){return e.field==t}));return((null===n||void 0===n?void 0:n.create)||this.createF)(e)}},{key:"slot",value:function(e){var t=this,n=e[this.id]>>1;return{create:function(e){return e.values[n]=t.create(e),1},update:function(e,r){var i=e.values[n],o=t.updateF(i,r);return t.compareF(i,o)?0:(e.values[n]=o,1)},reconfigure:function(e,r){return null!=r.config.address[t.id]?(e.values[n]=r.field(t),0):(e.values[n]=t.create(e),1)}}}},{key:"init",value:function(e){return[this,J.of({field:this,create:e})]}},{key:"extension",get:function(){return this}}],[{key:"define",value:function(t){var n=new e(X++,t.create,t.update,t.compare||function(e,t){return e===t},t);return t.provide&&(n.provides=t.provide(n)),n}}]),e}(),ee=4,te=3,ne=2,re=1;function ie(e){return function(t){return new ae(t,e)}}var oe={highest:ie(0),high:ie(re),default:ie(ne),low:ie(te),lowest:ie(ee)},ae=(0,c.Z)((function e(t,n){(0,u.Z)(this,e),this.inner=t,this.prec=n})),se=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"of",value:function(e){return new le(this,e)}},{key:"reconfigure",value:function(t){return e.reconfigure.of({compartment:this,extension:t})}},{key:"get",value:function(e){return e.config.compartments.get(this)}}]),e}(),le=(0,c.Z)((function e(t,n){(0,u.Z)(this,e),this.compartment=t,this.inner=n})),ue=function(){function e(t,n,r,i,o,a){for((0,u.Z)(this,e),this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}return(0,c.Z)(e,[{key:"staticFacet",value:function(e){var t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}}],[{key:"resolve",value:function(t,n,r){var o,a=[],s=Object.create(null),l=new Map,u=(0,i.Z)(function(e,t,n){var r=[[],[],[],[],[]],o=new Map;function a(e,s){var l=o.get(e);if(null!=l){if(l<=s)return;var u=r[l].indexOf(e);u>-1&&r[l].splice(u,1),e instanceof le&&n.delete(e.compartment)}if(o.set(e,s),Array.isArray(e)){var c,h=(0,i.Z)(e);try{for(h.s();!(c=h.n()).done;){a(c.value,s)}}catch(p){h.e(p)}finally{h.f()}}else if(e instanceof le){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");var f=t.get(e.compartment)||e.inner;n.set(e.compartment,f),a(f,s)}else if(e instanceof ae)a(e.inner,e.prec);else if(e instanceof K)r[s].push(e),e.provides&&a(e.provides,s);else if(e instanceof q)r[s].push(e),e.facet.extensions&&a(e.facet.extensions,ne);else{var d=e.extension;if(!d)throw new Error("Unrecognized extension value in extension set (".concat(e,"). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks."));a(d,s)}}return a(e,ne),r.reduce((function(e,t){return e.concat(t)}))}(t,n,l));try{for(u.s();!(o=u.n()).done;){var c=o.value;c instanceof K?a.push(c):(s[c.facet.id]||(s[c.facet.id]=[])).push(c)}}catch(b){u.e(b)}finally{u.f()}for(var h=Object.create(null),f=[],d=[],p=function(){var e=g[m];h[e.id]=d.length<<1,d.push((function(t){return e.slot(t)}))},m=0,g=a;m<g.length;m++)p();var v=null===r||void 0===r?void 0:r.config.facets,O=function(){var e=s[y],t=e[0].facet,n=v&&v[y]||[];if(e.every((function(e){return 0==e.type})))if(h[t.id]=f.length<<1|1,W(n,e))f.push(r.facet(t));else{var o=t.combine(e.map((function(e){return e.value})));f.push(r&&t.compare(o,r.facet(t))?r.facet(t):o)}else{var a,l=(0,i.Z)(e);try{var u=function(){var e=a.value;0==e.type?(h[e.id]=f.length<<1|1,f.push(e.value)):(h[e.id]=d.length<<1,d.push((function(t){return e.dynamicSlot(t)})))};for(l.s();!(a=l.n()).done;)u()}catch(b){l.e(b)}finally{l.f()}h[t.id]=d.length<<1,d.push((function(n){return function(e,t,n){var r=n.map((function(t){return e[t.id]})),o=n.map((function(e){return e.type})),a=r.filter((function(e){return!(1&e)})),s=e[t.id]>>1;function l(e){for(var n=[],a=0;a<r.length;a++){var s=he(e,r[a]);if(2==o[a]){var l,u=(0,i.Z)(s);try{for(u.s();!(l=u.n()).done;){var c=l.value;n.push(c)}}catch(b){u.e(b)}finally{u.f()}}else n.push(s)}return t.combine(n)}return{create:function(e){var t,n=(0,i.Z)(r);try{for(n.s();!(t=n.n()).done;)ce(e,t.value)}catch(b){n.e(b)}finally{n.f()}return e.values[s]=l(e),1},update:function(e,n){if(!V(e,a))return 0;var r=l(e);return t.compare(r,e.values[s])?0:(e.values[s]=r,1)},reconfigure:function(e,i){var o=V(e,r),a=i.config.facets[t.id],u=i.facet(t);if(a&&!o&&W(n,a))return e.values[s]=u,0;var c=l(e);return t.compare(c,u)?(e.values[s]=u,0):(e.values[s]=c,1)}}}(n,t,e)}))}};for(var y in s)O();return new e(t,l,d.map((function(e){return e(h)})),h,f,s)}}]),e}();function ce(e,t){if(1&t)return 2;var n=t>>1,r=e.status[n];if(4==r)throw new Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;var i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function he(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}var fe=H.define(),de=H.define({combine:function(e){return e.some((function(e){return e}))},static:!0}),pe=H.define({combine:function(e){return e.length?e[0]:void 0},static:!0}),me=H.define(),ge=H.define(),ve=H.define(),Oe=H.define({combine:function(e){return!!e.length&&e[0]}}),ye=function(){function e(t,n){(0,u.Z)(this,e),this.type=t,this.value=n}return(0,c.Z)(e,null,[{key:"define",value:function(){return new be}}]),e}(),be=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"of",value:function(e){return new ye(this,e)}}]),e}(),ke=function(){function e(t){(0,u.Z)(this,e),this.map=t}return(0,c.Z)(e,[{key:"of",value:function(e){return new Se(this,e)}}]),e}(),Se=function(){function e(t,n){(0,u.Z)(this,e),this.type=t,this.value=n}return(0,c.Z)(e,[{key:"map",value:function(t){var n=this.type.map(this.value,t);return void 0===n?void 0:n==this.value?this:new e(this.type,n)}},{key:"is",value:function(e){return this.type==e}}],[{key:"define",value:function(){return new ke((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).map||function(e){return e})}},{key:"mapEffects",value:function(e,t){if(!e.length)return e;var n,r=[],o=(0,i.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value.map(t);a&&r.push(a)}}catch(s){o.e(s)}finally{o.f()}return r}}]),e}();Se.reconfigure=Se.define(),Se.appendConfig=Se.define();var xe=function(){function e(t,n,r,i,o,a){(0,u.Z)(this,e),this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,r&&Y(r,n.newLength),o.some((function(t){return t.type==e.time}))||(this.annotations=o.concat(e.time.of(Date.now())))}return(0,c.Z)(e,[{key:"newDoc",get:function(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}},{key:"newSelection",get:function(){return this.selection||this.startState.selection.map(this.changes)}},{key:"state",get:function(){return this._state||this.startState.applyTransaction(this),this._state}},{key:"annotation",value:function(e){var t,n=(0,i.Z)(this.annotations);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.type==e)return r.value}}catch(o){n.e(o)}finally{n.f()}}},{key:"docChanged",get:function(){return!this.changes.empty}},{key:"reconfigured",get:function(){return this.startState.config!=this.state.config}},{key:"isUserEvent",value:function(t){var n=this.annotation(e.userEvent);return!(!n||!(n==t||n.length>t.length&&n.slice(0,t.length)==t&&"."==n[t.length]))}}],[{key:"create",value:function(t,n,r,i,o,a){return new e(t,n,r,i,o,a)}}]),e}();function we(e,t){for(var n=[],r=0,i=0;;){var o=void 0,a=void 0;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],a=e[r++];else{if(!(i<t.length))return n;o=t[i++],a=t[i++]}!n.length||n[n.length-1]<o?n.push(o,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function Te(e,t,n){var r,i,o,a;return n?(i=t.changes,o=M.empty(t.changes.length),a=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(i)),{changes:a,selection:t.selection?t.selection.map(o):null===(r=e.selection)||void 0===r?void 0:r.map(i),effects:Se.mapEffects(e.effects,i).concat(Se.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Ce(e,t,n){var r=t.selection,i=Pe(t.annotations);return t.userEvent&&(i=i.concat(xe.userEvent.of(t.userEvent))),{changes:t.changes instanceof M?t.changes:M.of(t.changes||[],n,e.facet(pe)),selection:r&&(r instanceof U?r:U.single(r.anchor,r.head)),effects:Pe(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function Ee(e,t,n){var r=Ce(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(var o=1;o<t.length;o++){!1===t[o].filter&&(n=!1);var a=!!t[o].sequential;r=Te(r,Ce(e,t[o],a?r.changes.newLength:e.doc.length),a)}var s=xe.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){for(var t=e.startState,n=t.facet(ve),r=e,i=n.length-1;i>=0;i--){var o=n[i](e);o&&Object.keys(o).length&&(r=Te(r,Ce(t,o,e.changes.newLength),!0))}return r==e?e:xe.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){var t,n=e.startState,r=!0,o=(0,i.Z)(n.facet(me));try{for(o.s();!(t=o.n()).done;){var a=(0,t.value)(e);if(!1===a){r=!1;break}Array.isArray(a)&&(r=!0===r?a:we(r,a))}}catch(d){o.e(d)}finally{o.f()}if(!0!==r){var s,l;if(!1===r)l=e.changes.invertedDesc,s=M.empty(n.doc.length);else{var u=e.changes.filter(r);s=u.changes,l=u.filtered.mapDesc(u.changes).invertedDesc}e=xe.create(n,s,e.selection&&e.selection.map(l),Se.mapEffects(e.effects,l),e.annotations,e.scrollIntoView)}for(var c=n.facet(ge),h=c.length-1;h>=0;h--){var f=c[h](e);e=f instanceof xe?f:Array.isArray(f)&&1==f.length&&f[0]instanceof xe?f[0]:Ee(n,Pe(f),!1)}return e}(s):s)}xe.time=ye.define(),xe.userEvent=ye.define(),xe.addToHistory=ye.define(),xe.remote=ye.define();var Ae=[];function Pe(e){return null==e?Ae:Array.isArray(e)?e:[e]}var _e,De=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(De||(De={})),Ze=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{_e=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(et){}function Ne(e){return function(t){if(!/\S/.test(t))return De.Space;if(function(e){if(_e)return _e.test(e);for(var t=0;t<e.length;t++){var n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||Ze.test(n)))return!0}return!1}(t))return De.Word;for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return De.Word;return De.Other}}var Qe=function(){function e(t,n,r,i,o,a){(0,u.Z)(this,e),this.config=t,this.doc=n,this.selection=r,this.values=i,this.status=t.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(var s=0;s<this.config.dynamicSlots.length;s++)ce(this,s<<1);this.computeSlot=null}return(0,c.Z)(e,[{key:"field",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.config.address[e.id];if(null!=n)return ce(this,n),he(this,n);if(t)throw new RangeError("Field is not present in this state")}},{key:"update",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ee(this,t,!0)}},{key:"applyTransaction",value:function(t){var n,r,o=this,a=this.config,s=a,l=s.base,u=s.compartments,c=(0,i.Z)(t.effects);try{for(c.s();!(n=c.n()).done;){var h=n.value;h.is(se.reconfigure)?(a&&(u=new Map,a.compartments.forEach((function(e,t){return u.set(t,e)})),a=null),u.set(h.value.compartment,h.value.extension)):h.is(Se.reconfigure)?(a=null,l=h.value):h.is(Se.appendConfig)&&(a=null,l=Pe(l).concat(h.value))}}catch(f){c.e(f)}finally{c.f()}a?r=t.startState.values.slice():r=new e(a=ue.resolve(l,u,this),this.doc,this.selection,a.dynamicSlots.map((function(){return null})),(function(e,t){return t.reconfigure(e,o)}),null).values;new e(a,t.newDoc,t.newSelection,r,(function(e,n){return n.update(e,t)}),t)}},{key:"replaceSelection",value:function(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((function(t){return{changes:{from:t.from,to:t.to,insert:e},range:U.cursor(t.from+e.length)}}))}},{key:"changeByRange",value:function(e){for(var t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=Pe(n.effects),a=1;a<t.ranges.length;a++){for(var s=e(t.ranges[a]),l=this.changes(s.changes),u=l.map(r),c=0;c<a;c++)i[c]=i[c].map(u);var h=r.mapDesc(l,!0);i.push(s.range.map(h)),r=r.compose(u),o=Se.mapEffects(o,u).concat(Se.mapEffects(Pe(s.effects),h))}return{changes:r,selection:U.create(i,t.mainIndex),effects:o}}},{key:"changes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t instanceof M?t:M.of(t,this.doc.length,this.facet(e.lineSeparator))}},{key:"toText",value:function(t){return h.of(t.split(this.facet(e.lineSeparator)||N))}},{key:"sliceDoc",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.doc.length;return this.doc.sliceString(e,t,this.lineBreak)}},{key:"facet",value:function(e){var t=this.config.address[e.id];return null==t?e.default:(ce(this,t),he(this,t))}},{key:"toJSON",value:function(e){var t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(var n in e){var r=e[n];r instanceof K&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}},{key:"tabSize",get:function(){return this.facet(e.tabSize)}},{key:"lineBreak",get:function(){return this.facet(e.lineSeparator)||"\n"}},{key:"readOnly",get:function(){return this.facet(Oe)}},{key:"phrase",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a,s=(0,i.Z)(this.facet(e.phrases));try{for(s.s();!(a=s.n()).done;){var l=a.value;if(Object.prototype.hasOwnProperty.call(l,t)){t=l[t];break}}}catch(u){s.e(u)}finally{s.f()}return r.length&&(t=t.replace(/\$(\$|\d*)/g,(function(e,t){if("$"==t)return"$";var n=+(t||1);return!n||n>r.length?e:r[n-1]}))),t}},{key:"languageDataAt",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,o=[],a=(0,i.Z)(this.facet(fe));try{for(a.s();!(n=a.n()).done;){var s,l=n.value,u=(0,i.Z)(l(this,t,r));try{for(u.s();!(s=u.n()).done;){var c=s.value;Object.prototype.hasOwnProperty.call(c,e)&&o.push(c[e])}}catch(h){u.e(h)}finally{u.f()}}}catch(h){a.e(h)}finally{a.f()}return o}},{key:"charCategorizer",value:function(e){return Ne(this.languageDataAt("wordChars",e).join(""))}},{key:"wordAt",value:function(e){for(var t=this.doc.lineAt(e),n=t.text,r=t.from,i=t.length,o=this.charCategorizer(e),a=e-r,s=e-r;a>0;){var l=T(n,a,!1);if(o(n.slice(l,a))!=De.Word)break;a=l}for(;s<i;){var u=T(n,s);if(o(n.slice(s,u))!=De.Word)break;s=u}return a==s?null:U.range(a+r,s+r)}}],[{key:"fromJSON",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t||"string"!=typeof t.doc)throw new RangeError("Invalid JSON representation for EditorState");var i=[];if(r){var o=function(){if(Object.prototype.hasOwnProperty.call(t,a)){var e=r[a],n=t[a];i.push(e.init((function(t){return e.spec.fromJSON(n,t)})))}};for(var a in r)o()}return e.create({doc:t.doc,selection:U.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ue.resolve(t.extensions||[],new Map),r=t.doc instanceof h?t.doc:h.of((t.doc||"").split(n.staticFacet(e.lineSeparator)||N)),i=t.selection?t.selection instanceof U?t.selection:U.single(t.selection.anchor,t.selection.head):U.single(0);return Y(i,r.length),n.staticFacet(de)||(i=i.asSingle()),new e(n,r,i,n.dynamicSlots.map((function(){return null})),(function(e,t){return t.create(e)}),null)}}]),e}();function Re(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={},a=(0,i.Z)(e);try{for(a.s();!(n=a.n()).done;)for(var s=n.value,l=0,u=Object.keys(s);l<u.length;l++){var c=u[l],h=s[c],f=o[c];if(void 0===f)o[c]=h;else if(f===h||void 0===h);else{if(!Object.hasOwnProperty.call(r,c))throw new Error("Config merge conflict for field "+c);o[c]=r[c](f,h)}}}catch(p){a.e(p)}finally{a.f()}for(var d in t)void 0===o[d]&&(o[d]=t[d]);return o}Qe.allowMultipleSelections=de,Qe.tabSize=H.define({combine:function(e){return e.length?e[0]:4}}),Qe.lineSeparator=pe,Qe.readOnly=Oe,Qe.phrases=H.define({compare:function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every((function(n){return e[n]==t[n]}))}}),Qe.languageData=fe,Qe.changeFilter=me,Qe.transactionFilter=ge,Qe.transactionExtender=ve,se.reconfigure=Se.define();var Me=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"eq",value:function(e){return this==e}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return $e.create(e,t,this)}}]),e}();Me.prototype.startSide=Me.prototype.endSide=0,Me.prototype.point=!1,Me.prototype.mapMode=Q.TrackDel;var $e=function(){function e(t,n,r){(0,u.Z)(this,e),this.from=t,this.to=n,this.value=r}return(0,c.Z)(e,null,[{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}();function Ie(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}var Le=function(){function e(t,n,r,i){(0,u.Z)(this,e),this.from=t,this.to=n,this.value=r,this.maxPoint=i}return(0,c.Z)(e,[{key:"length",get:function(){return this.to[this.to.length-1]}},{key:"findIndex",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=n?this.to:this.from,o=r,a=i.length;;){if(o==a)return o;var s=o+a>>1,l=i[s]-e||(n?this.value[s].endSide:this.value[s].startSide)-t;if(s==o)return l>=0?o:a;l>=0?a=s:o=s+1}}},{key:"between",value:function(e,t,n,r){for(var i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}},{key:"map",value:function(t,n){for(var r=[],i=[],o=[],a=-1,s=-1,l=0;l<this.value.length;l++){var u=this.value[l],c=this.from[l]+t,h=this.to[l]+t,f=void 0,d=void 0;if(c==h){var p=n.mapPos(c,u.startSide,u.mapMode);if(null==p)continue;if(f=d=p,u.startSide!=u.endSide&&(d=n.mapPos(c,u.endSide))<f)continue}else if((f=n.mapPos(c,u.startSide))>(d=n.mapPos(h,u.endSide))||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(a<0&&(a=f),u.point&&(s=Math.max(s,d-f)),r.push(u),i.push(f-a),o.push(d-a))}return{mapped:r.length?new e(i,o,r,s):null,pos:a}}}]),e}(),Fe=function(){function e(t,n,r,i){(0,u.Z)(this,e),this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=i}return(0,c.Z)(e,[{key:"length",get:function(){var e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}},{key:"size",get:function(){if(this.isEmpty)return 0;var e,t=this.nextLayer.size,n=(0,i.Z)(this.chunk);try{for(n.s();!(e=n.n()).done;){t+=e.value.value.length}}catch(r){n.e(r)}finally{n.f()}return t}},{key:"chunkEnd",value:function(e){return this.chunkPos[e]+this.chunk[e].length}},{key:"update",value:function(t){var n=t.add,r=void 0===n?[]:n,i=t.sort,o=void 0!==i&&i,a=t.filterFrom,s=void 0===a?0:a,l=t.filterTo,u=void 0===l?this.length:l,c=t.filter;if(0==r.length&&!c)return this;if(o&&(r=r.slice().sort(Ie)),this.isEmpty)return r.length?e.of(r):this;for(var h=new ze(this,null,-1).goto(0),f=0,d=[],p=new Be;h.value||f<r.length;)if(f<r.length&&(h.from-r[f].from||h.startSide-r[f].value.startSide)>=0){var m=r[f++];p.addInner(m.from,m.to,m.value)||d.push(m)}else 1==h.rangeIndex&&h.chunkIndex<this.chunk.length&&(f==r.length||this.chunkEnd(h.chunkIndex)<r[f].from)&&(!c||s>this.chunkEnd(h.chunkIndex)||u<this.chunkPos[h.chunkIndex])&&p.addChunk(this.chunkPos[h.chunkIndex],this.chunk[h.chunkIndex])?h.nextChunk():((!c||s>h.to||u<h.from||c(h.from,h.to,h.value))&&(p.addInner(h.from,h.to,h.value)||d.push($e.create(h.from,h.to,h.value))),h.next());return p.finishInner(this.nextLayer.isEmpty&&!d.length?e.empty:this.nextLayer.update({add:d,filter:c,filterFrom:s,filterTo:u}))}},{key:"map",value:function(t){if(t.empty||this.isEmpty)return this;for(var n=[],r=[],i=-1,o=0;o<this.chunk.length;o++){var a=this.chunkPos[o],s=this.chunk[o],l=t.touchesRange(a,a+s.length);if(!1===l)i=Math.max(i,s.maxPoint),n.push(s),r.push(t.mapPos(a));else if(!0===l){var u=s.map(a,t),c=u.mapped,h=u.pos;c&&(i=Math.max(i,c.maxPoint),n.push(c),r.push(h))}}var f=this.nextLayer.map(t);return 0==n.length?f:new e(r,n,f||e.empty,i)}},{key:"between",value:function(e,t,n){if(!this.isEmpty){for(var r=0;r<this.chunk.length;r++){var i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}},{key:"iter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Ue.from([this]).goto(e)}},{key:"isEmpty",get:function(){return this.nextLayer==this}}],[{key:"create",value:function(t,n,r,i){return new e(t,n,r,i)}},{key:"iter",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Ue.from(e).goto(t)}},{key:"compare",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,o=e.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i})),a=t.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i})),s=je(o,a,n),l=new Xe(o,s,i),u=new Xe(a,s,i);n.iterGaps((function(e,t,n){return He(l,e,u,t,n,r)})),n.empty&&0==n.length&&He(l,0,u,0,0,r)}},{key:"eq",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0;null==r&&(r=999999999);var i=e.filter((function(e){return!e.isEmpty&&t.indexOf(e)<0})),o=t.filter((function(t){return!t.isEmpty&&e.indexOf(t)<0}));if(i.length!=o.length)return!1;if(!i.length)return!0;for(var a=je(i,o),s=new Xe(i,a,0).goto(n),l=new Xe(o,a,0).goto(n);;){if(s.to!=l.to||!We(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>r)return!0;s.next(),l.next()}}},{key:"spans",value:function(e,t,n,r){for(var i=new Xe(e,null,arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1).goto(t),o=t,a=i.openStart;;){var s=Math.min(i.to,n);if(i.point){var l=i.activeForPoint(i.to),u=i.pointFrom<t?l.length+1:Math.min(l.length,a);r.point(o,s,i.point,l,u,i.pointRank),a=Math.min(i.openEnd(s),l.length)}else s>o&&(r.span(o,s,i.active,a),a=i.openEnd(s));if(i.to>n)return a+(i.point&&i.to>n?1:0);o=i.to,i.next()}}},{key:"of",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Be,o=(0,i.Z)(e instanceof $e?[e]:n?function(e){if(e.length>1)for(var t=e[0],n=1;n<e.length;n++){var r=e[n];if(Ie(t,r)>0)return e.slice().sort(Ie);t=r}return e}(e):e);try{for(o.s();!(t=o.n()).done;){var a=t.value;r.add(a.from,a.to,a.value)}}catch(s){o.e(s)}finally{o.f()}return r.finish()}}]),e}();Fe.empty=new Fe([],[],null,-1),Fe.empty.nextLayer=Fe.empty;var Be=function(){function e(){(0,u.Z)(this,e),this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}return(0,c.Z)(e,[{key:"finishChunk",value:function(e){this.chunks.push(new Le(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}},{key:"add",value:function(t,n,r){this.addInner(t,n,r)||(this.nextLayer||(this.nextLayer=new e)).add(t,n,r)}},{key:"addInner",value:function(e,t,n){var r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}},{key:"addChunk",value:function(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);var n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}},{key:"finish",value:function(){return this.finishInner(Fe.empty)}},{key:"finishInner",value:function(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;var t=Fe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}]),e}();function je(e,t,n){var r,o=new Map,a=(0,i.Z)(e);try{for(a.s();!(r=a.n()).done;)for(var s=r.value,l=0;l<s.chunk.length;l++)s.chunk[l].maxPoint<=0&&o.set(s.chunk[l],s.chunkPos[l])}catch(m){a.e(m)}finally{a.f()}var u,c=new Set,h=(0,i.Z)(t);try{for(h.s();!(u=h.n()).done;)for(var f=u.value,d=0;d<f.chunk.length;d++){var p=o.get(f.chunk[d]);null==p||(n?n.mapPos(p):p)!=f.chunkPos[d]||(null===n||void 0===n?void 0:n.touchesRange(p,p+f.chunk[d].length))||c.add(f.chunk[d])}}catch(m){h.e(m)}finally{h.f()}return c}var ze=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;(0,u.Z)(this,e),this.layer=t,this.skip=n,this.minPoint=r,this.rank=i}return(0,c.Z)(e,[{key:"startSide",get:function(){return this.value?this.value.startSide:0}},{key:"endSide",get:function(){return this.value?this.value.endSide:0}},{key:"goto",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9;return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}},{key:"gotoInner",value:function(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){var r=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(r)||this.layer.chunkEnd(this.chunkIndex)<e||r.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){var i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}},{key:"forward",value:function(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}},{key:"next",value:function(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}var e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}},{key:"setRangeIndex",value:function(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}},{key:"nextChunk",value:function(){this.chunkIndex++,this.rangeIndex=0,this.next()}},{key:"compare",value:function(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}]),e}(),Ue=function(){function e(t){(0,u.Z)(this,e),this.heap=t}return(0,c.Z)(e,[{key:"startSide",get:function(){return this.value?this.value.startSide:0}},{key:"goto",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9,r=(0,i.Z)(this.heap);try{for(r.s();!(t=r.n()).done;){t.value.goto(e,n)}}catch(a){r.e(a)}finally{r.f()}for(var o=this.heap.length>>1;o>=0;o--)Ye(this.heap,o);return this.next(),this}},{key:"forward",value:function(e,t){var n,r=(0,i.Z)(this.heap);try{for(r.s();!(n=r.n()).done;){n.value.forward(e,t)}}catch(a){r.e(a)}finally{r.f()}for(var o=this.heap.length>>1;o>=0;o--)Ye(this.heap,o);(this.to-e||this.value.endSide-t)<0&&this.next()}},{key:"next",value:function(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{var e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Ye(this.heap,0)}}}],[{key:"from",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=[],o=0;o<t.length;o++)for(var a=t[o];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new ze(a,n,r,o));return 1==i.length?i[0]:new e(i)}}]),e}();function Ye(e,t){for(var n=e[t];;){var r=1+(t<<1);if(r>=e.length)break;var i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}var Xe=function(){function e(t,n,r){(0,u.Z)(this,e),this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ue.from(t,n,r)}return(0,c.Z)(e,[{key:"goto",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9;return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}},{key:"forward",value:function(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}},{key:"removeActive",value:function(e){qe(this.active,e),qe(this.activeTo,e),qe(this.activeRank,e),this.minActive=Ve(this.active,this.activeTo)}},{key:"addActive",value:function(e){for(var t=0,n=this.cursor,r=n.value,i=n.to,o=n.rank;t<this.activeRank.length&&this.activeRank[t]<=o;)t++;Ge(this.active,t,r),Ge(this.activeTo,t,i),Ge(this.activeRank,t,o),e&&Ge(e,t,this.cursor.from),this.minActive=Ve(this.active,this.activeTo)}},{key:"next",value:function(){var e=this.to,t=this.point;this.point=null;for(var n=this.openStart<0?[]:null;;){var r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&qe(n,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}var i=this.cursor.value;if(i.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=i,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=i.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.next()}}if(n){this.openStart=0;for(var o=n.length-1;o>=0&&n[o]<e;o--)this.openStart++}}},{key:"activeForPoint",value:function(e){if(!this.active.length)return this.active;for(var t=[],n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}},{key:"openEnd",value:function(e){for(var t=0,n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}]),e}();function He(e,t,n,r,i,o){e.goto(t),n.goto(r);for(var a=r+i,s=r,l=r-t;;){var u=e.to+l-n.to||e.endSide-n.endSide,c=u<0?e.to+l:n.to,h=Math.min(c,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&We(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,h,e.point,n.point):h>s&&!We(e.active,n.active)&&o.compareRange(s,h,e.active,n.active),c>a)break;s=c,u<=0&&e.next(),u>=0&&n.next()}}function We(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function qe(e,t){for(var n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function Ge(e,t,n){for(var r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function Ve(e,t){for(var n=-1,r=1e9,i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function Je(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0;i<n;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=T(e,i));return r}function Ke(e,t,n,r){for(var i=0,o=0;;){if(o>=t)return i;if(i==e.length)break;o+=9==e.charCodeAt(i)?n-o%n:1,i=T(e,i)}return!0===r?-1:e.length}},52:function(e,t,n){"use strict";n.d(t,{p:function(){return Se},Nm:function(){return ot},tk:function(){return rr},SJ:function(){return _i},lg:function(){return We},l9:function(){return be},S2:function(){return ai},Uw:function(){return Er},qr:function(){return $r},Sd:function(){return Ti},gB:function(){return Si},v5:function(){return Qi},ZO:function(){return qr},HQ:function(){return Ji},AE:function(){return Yr},bF:function(){return ki},$f:function(){return hr},Eu:function(){return Wi},OO:function(){return Ue},W$:function(){return Kr},Zs:function(){return ri},$1:function(){return pr},mH:function(){return Pi},hJ:function(){return mi}});for(var r=n(1026),i=n(7169),o=n(3243),a=n(7597),s=n(7591),l=n(9616),u=n(649),c=n(726),h=n(2951),f=n(1976),d=n(5224),p=n(5694),m={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},g={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},v="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),O="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),y=0;y<10;y++)m[48+y]=m[96+y]=String(y);for(y=1;y<=24;y++)m[y+111]="F"+y;for(y=65;y<=90;y++)m[y]=String.fromCharCode(y+32),g[y]=String.fromCharCode(y);for(var b in m)g.hasOwnProperty(b)||(g[b]=m[b]);function k(e){return(11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function S(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function x(e,t){if(!t.anchorNode)return!1;try{return S(e,t.anchorNode)}catch(n){return!1}}function w(e){return 3==e.nodeType?R(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function T(e,t,n,r){return!!n&&(E(e,t,n,r,-1)||E(e,t,n,r,1))}function C(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function E(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:A(e))){if("DIV"==e.nodeName)return!1;var o=e.parentNode;if(!o||1!=o.nodeType)return!1;t=C(e)+(i<0?0:1),e=o}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(i<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=i<0?A(e):0}}}function A(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function P(e,t){var n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function _(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}var D,Z=function(){function e(){(0,h.Z)(this,e),this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return(0,f.Z)(e,[{key:"eq",value:function(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}},{key:"setRange",value:function(e){var t=e.anchorNode,n=e.focusNode;this.set(t,Math.min(e.anchorOffset,t?A(t):0),n,Math.min(e.focusOffset,n?A(n):0))}},{key:"set",value:function(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}]),e}(),N=null;function Q(e){if(e.setActive)return e.setActive();if(N)return e.focus(N);for(var t=[],n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==N?{get preventScroll(){return N={preventScroll:!0},!0}}:void 0),!N){N=!1;for(var r=0;r<t.length;){var i=t[r++],o=t[r++],a=t[r++];i.scrollTop!=o&&(i.scrollTop=o),i.scrollLeft!=a&&(i.scrollLeft=a)}}}function R(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=D||(D=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function M(e,t,n){var r={key:t,code:t,keyCode:n,which:n,cancelable:!0},i=new KeyboardEvent("keydown",r);i.synthetic=!0,e.dispatchEvent(i);var o=new KeyboardEvent("keyup",r);return o.synthetic=!0,e.dispatchEvent(o),i.defaultPrevented||o.defaultPrevented}function $(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function I(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}var L=function(){function e(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,h.Z)(this,e),this.node=t,this.offset=n,this.precise=r}return(0,f.Z)(e,null,[{key:"before",value:function(t,n){return new e(t.parentNode,C(t),n)}},{key:"after",value:function(t,n){return new e(t.parentNode,C(t)+1,n)}}]),e}(),F=[],B=function(){function e(){(0,h.Z)(this,e),this.parent=null,this.dom=null,this.flags=2}return(0,f.Z)(e,[{key:"overrideDOMText",get:function(){return null}},{key:"posAtStart",get:function(){return this.parent?this.parent.posBefore(this):0}},{key:"posAtEnd",get:function(){return this.posAtStart+this.length}},{key:"posBefore",value:function(e){var t,n=this.posAtStart,r=(0,c.Z)(this.children);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i==e)return n;n+=i.length+i.breakAfter}}catch(o){r.e(o)}finally{r.f()}throw new RangeError("Invalid child in posBefore")}},{key:"posAfter",value:function(e){return this.posBefore(e)+e.length}},{key:"sync",value:function(t,n){if(2&this.flags){var r,i,o=this.dom,a=null,s=(0,c.Z)(this.children);try{for(s.s();!(i=s.n()).done;){var l=i.value;if(7&l.flags){if(!l.dom&&(r=a?a.nextSibling:o.firstChild)){var u=e.get(r);(!u||!u.parent&&u.canReuseDOM(l))&&l.reuseDOM(r)}l.sync(t,n),l.flags&=-8}if(r=a?a.nextSibling:o.firstChild,n&&!n.written&&n.node==o&&r!=l.dom&&(n.written=!0),l.dom.parentNode==o)for(;r&&r!=l.dom;)r=j(r);else o.insertBefore(l.dom,r);a=l.dom}}catch(p){s.e(p)}finally{s.f()}for((r=a?a.nextSibling:o.firstChild)&&n&&n.node==o&&(n.written=!0);r;)r=j(r)}else if(1&this.flags){var h,f=(0,c.Z)(this.children);try{for(f.s();!(h=f.n()).done;){var d=h.value;7&d.flags&&(d.sync(t,n),d.flags&=-8)}}catch(p){f.e(p)}finally{f.f()}}}},{key:"reuseDOM",value:function(e){}},{key:"localPosFromDOM",value:function(t,n){var r;if(t==this.dom)r=this.dom.childNodes[n];else{for(var i=0==A(t)?0:0==n?-1:1;;){var o=t.parentNode;if(o==this.dom)break;0==i&&o.firstChild!=o.lastChild&&(i=t==o.firstChild?-1:1),t=o}r=i<0?t:t.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!e.get(r);)r=r.nextSibling;if(!r)return this.length;for(var a=0,s=0;;a++){var l=this.children[a];if(l.dom==r)return s;s+=l.length+l.breakAfter}}},{key:"domBoundsAround",value:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=-1,i=-1,o=-1,a=-1,s=0,l=n,u=n;s<this.children.length;s++){var c=this.children[s],h=l+c.length;if(l<e&&h>t)return c.domBoundsAround(e,t,l);if(h>=e&&-1==r&&(r=s,i=l),l>t&&c.dom.parentNode==this.dom){o=s,a=u;break}u=h,l=h+c.breakAfter}return{from:i,to:a<0?n+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}},{key:"markDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.flags|=2,this.markParentsDirty(e)}},{key:"markParentsDirty",value:function(e){for(var t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}},{key:"setParent",value:function(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}},{key:"setDOM",value:function(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}},{key:"rootView",get:function(){for(var e=this;;){var t=e.parent;if(!t)return e;e=t}}},{key:"replaceChildren",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F;this.markDirty();for(var i=e;i<t;i++){var o=this.children[i];o.parent==this&&o.destroy()}(n=this.children).splice.apply(n,[e,t-e].concat((0,u.Z)(r)));for(var a=0;a<r.length;a++)r[a].setParent(this)}},{key:"ignoreMutation",value:function(e){return!1}},{key:"ignoreEvent",value:function(e){return!1}},{key:"childCursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length;return new z(this.children,e,this.children.length)}},{key:"childPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.childCursor().findPos(e,t)}},{key:"toString",value:function(){var e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}},{key:"isEditable",get:function(){return!0}},{key:"isWidget",get:function(){return!1}},{key:"isHidden",get:function(){return!1}},{key:"merge",value:function(e,t,n,r,i,o){return!1}},{key:"become",value:function(e){return!1}},{key:"canReuseDOM",value:function(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))}},{key:"getSide",value:function(){return 0}},{key:"destroy",value:function(){this.parent=null}}],[{key:"get",value:function(e){return e.cmView}}]),e}();function j(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}B.prototype.breakAfter=0;var z=function(){function e(t,n,r){(0,h.Z)(this,e),this.children=t,this.pos=n,this.i=r,this.off=0}return(0,f.Z)(e,[{key:"findPos",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;var n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}]),e}();function U(e,t,n,r,i,o,a,s,l){var u=e.children,c=u.length?u[t]:null,h=o.length?o[o.length-1]:null,f=h?h.breakAfter:a;if(!(t==r&&c&&!a&&!f&&o.length<2&&c.merge(n,i,o.length?h:null,0==n,s,l))){if(r<u.length){var d=u[r];d&&i<d.length?(t==r&&(d=d.split(i),i=0),!f&&h&&d.merge(0,i,h,!0,0,l)?o[o.length-1]=d:(i&&d.merge(0,i,null,!1,0,l),o.push(d))):(null===d||void 0===d?void 0:d.breakAfter)&&(h?h.breakAfter=1:a=1),r++}for(c&&(c.breakAfter=a,n>0&&(!a&&o.length&&c.merge(n,c.length,o[0],!1,s,0)?c.breakAfter=o.shift().breakAfter:(n<c.length||c.children.length&&0==c.children[c.children.length-1].length)&&c.merge(n,c.length,null,!1,s,0),t++));t<r&&o.length;)if(u[r-1].become(o[o.length-1]))r--,o.pop(),l=o.length?0:s;else{if(!u[t].become(o[0]))break;t++,o.shift(),s=o.length?0:l}!o.length&&t&&r<u.length&&!u[t-1].breakAfter&&u[r].merge(0,0,u[t-1],!1,s,l)&&t--,(t<r||o.length)&&e.replaceChildren(t,r,o)}}function Y(e,t,n,r,i,o){var a,s=e.childCursor(),l=s.findPos(n,1),u=l.i,h=l.off,f=s.findPos(t,-1),d=f.i,p=f.off,m=t-n,g=(0,c.Z)(r);try{for(g.s();!(a=g.n()).done;){m+=a.value.length}}catch(v){g.e(v)}finally{g.f()}e.length+=m,U(e,d,p,u,h,r,0,i,o)}var X="\uffff",H=function(){function e(t,n){(0,h.Z)(this,e),this.points=t,this.text="",this.lineSeparator=n.facet(d.yy.lineSeparator)}return(0,f.Z)(e,[{key:"append",value:function(e){this.text+=e}},{key:"lineBreak",value:function(){this.text+=X}},{key:"readRange",value:function(e,t){if(!e)return this;for(var n=e.parentNode,r=e;;){this.findPointBefore(n,r);var i=this.text.length;this.readNode(r);var o=r.nextSibling;if(o==t)break;var a=B.get(r),s=B.get(o);(a&&s?a.breakAfter:(a?a.breakAfter:W(r))||W(o)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>i)&&this.lineBreak(),r=o}return this.findPointBefore(n,t),this}},{key:"readTextNode",value:function(e){var t,n=e.nodeValue,r=(0,c.Z)(this.points);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.node==e&&(i.pos=this.text.length+Math.min(i.offset,n.length))}}catch(p){r.e(p)}finally{r.f()}for(var o=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){var s=-1,l=1,u=void 0;if(this.lineSeparator?(s=n.indexOf(this.lineSeparator,o),l=this.lineSeparator.length):(u=a.exec(n))&&(s=u.index,l=u[0].length),this.append(n.slice(o,s<0?n.length:s)),s<0)break;if(this.lineBreak(),l>1){var h,f=(0,c.Z)(this.points);try{for(f.s();!(h=f.n()).done;){var d=h.value;d.node==e&&d.pos>this.text.length&&(d.pos-=l-1)}}catch(p){f.e(p)}finally{f.f()}}o=s+l}}},{key:"readNode",value:function(e){if(!e.cmIgnore){var t=B.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(var r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}}},{key:"findPointBefore",value:function(e,t){var n,r=(0,c.Z)(this.points);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}}catch(o){r.e(o)}finally{r.f()}}},{key:"findPointInside",value:function(e,t){var n,r=(0,c.Z)(this.points);try{for(r.s();!(n=r.n()).done;){var i=n.value;(3==e.nodeType?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}catch(o){r.e(o)}finally{r.f()}}}]),e}();function W(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}var q=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.node=t,this.offset=n,this.pos=-1})),G="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},V="undefined"!=typeof document?document:{documentElement:{style:{}}},J=/Edge\/(\d+)/.exec(G.userAgent),K=/MSIE \d/.test(G.userAgent),ee=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(G.userAgent),te=!!(K||ee||J),ne=!te&&/gecko\/(\d+)/i.test(G.userAgent),re=!te&&/Chrome\/(\d+)/.exec(G.userAgent),ie="webkitFontSmoothing"in V.documentElement.style,oe=!te&&/Apple Computer/.test(G.vendor),ae=oe&&(/Mobile\/\w+/.test(G.userAgent)||G.maxTouchPoints>2),se={mac:ae||/Mac/.test(G.platform),windows:/Win/.test(G.platform),linux:/Linux|X11/.test(G.platform),ie:te,ie_version:K?V.documentMode||6:ee?+ee[1]:J?+J[1]:0,gecko:ne,gecko_version:ne?+(/Firefox\/(\d+)/.exec(G.userAgent)||[0,0])[1]:0,chrome:!!re,chrome_version:re?+re[1]:0,ios:ae,android:/Android\b/.test(G.userAgent),webkit:ie,safari:oe,webkit_version:ie?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=V.documentElement.style.tabSize?"tab-size":"-moz-tab-size"},le=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).text=e,r}return(0,f.Z)(n,[{key:"length",get:function(){return this.text.length}},{key:"createDOM",value:function(e){this.setDOM(e||document.createTextNode(this.text))}},{key:"sync",value:function(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}},{key:"reuseDOM",value:function(e){3==e.nodeType&&this.createDOM(e)}},{key:"merge",value:function(e,t,r){return!(8&this.flags||r&&(!(r instanceof n)||this.length-(t-e)+r.length>256||8&r.flags))&&(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(t),this.markDirty(),!0)}},{key:"split",value:function(e){var t=new n(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=8&this.flags,t}},{key:"localPosFromDOM",value:function(e,t){return e==this.dom?t:t?this.text.length:0}},{key:"domAtPos",value:function(e){return new L(this.dom,e)}},{key:"domBoundsAround",value:function(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}},{key:"coordsAt",value:function(e,t){return function(e,t,n){var r=e.nodeValue.length;t>r&&(t=r);var i=t,o=t,a=0;0==t&&n<0||t==r&&n>=0?se.chrome||se.gecko||(t?(i--,a=1):o<r&&(o++,a=-1)):n<0?i--:o<r&&o++;var s=R(e,i,o).getClientRects();if(!s.length)return null;var l=s[(a?a<0:n>=0)?0:s.length-1];se.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,(function(e){return e.width}))||l);return a?P(l,a<0):l||null}(this.dom,e,t)}}]),n}(B),ue=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;(0,h.Z)(this,n),(r=t.call(this)).mark=e,r.children=o,r.length=a;var s,l=(0,c.Z)(o);try{for(l.s();!(s=l.n()).done;){s.value.setParent((0,i.Z)(r))}}catch(u){l.e(u)}finally{l.f()}return r}return(0,f.Z)(n,[{key:"setAttrs",value:function(e){if($(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(var t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}},{key:"canReuseDOM",value:function(e){return(0,o.Z)((0,a.Z)(n.prototype),"canReuseDOM",this).call(this,e)&&!(8&(this.flags|e.flags))}},{key:"reuseDOM",value:function(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}},{key:"sync",value:function(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),(0,o.Z)((0,a.Z)(n.prototype),"sync",this).call(this,e,t)}},{key:"merge",value:function(e,t,r,i,o,a){return(!r||!(!(r instanceof n&&r.mark.eq(this.mark))||e&&o<=0||t<this.length&&a<=0))&&(Y(this,e,t,r?r.children:[],o-1,a-1),this.markDirty(),!0)}},{key:"split",value:function(e){var t,r=[],i=0,o=-1,a=0,s=(0,c.Z)(this.children);try{for(s.s();!(t=s.n()).done;){var l=t.value,u=i+l.length;u>e&&r.push(i<e?l.split(e-i):l),o<0&&i>=e&&(o=a),i=u,a++}}catch(f){s.e(f)}finally{s.f()}var h=this.length-e;return this.length=e,o>-1&&(this.children.length=o,this.markDirty()),new n(this.mark,r,h)}},{key:"domAtPos",value:function(e){return fe(this,e)}},{key:"coordsAt",value:function(e,t){return pe(this,e,t)}}]),n}(B);var ce=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this)).widget=e,o.length=r,o.side=i,o.prevWidget=null,o}return(0,f.Z)(n,[{key:"split",value:function(e){var t=n.create(this.widget,this.length-e,this.side);return this.length-=e,t}},{key:"sync",value:function(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}},{key:"getSide",value:function(){return this.side}},{key:"merge",value:function(e,t,r,i,o,a){return!(r&&(!(r instanceof n&&this.widget.compare(r.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(r?r.length:0)+(this.length-t),!0)}},{key:"become",value:function(e){return e instanceof n&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0)}},{key:"ignoreMutation",value:function(){return!0}},{key:"ignoreEvent",value:function(e){return this.widget.ignoreEvent(e)}},{key:"overrideDOMText",get:function(){if(0==this.length)return d.xv.empty;for(var e=this;e.parent;)e=e.parent;var t=e.view,n=t&&t.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):d.xv.empty}},{key:"domAtPos",value:function(e){return(this.length?0==e:this.side>0)?L.before(this.dom):L.after(this.dom,e==this.length)}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e,t){var n=this.widget.coordsAt(this.dom,e,t);if(n)return n;var r=this.dom.getClientRects(),i=null;if(!r.length)return null;for(var o=this.side?this.side<0:e>0,a=o?r.length-1:0;i=r[a],!(e>0?0==a:a==r.length-1||i.top<i.bottom);a+=o?-1:1);return P(i,!o)}},{key:"isEditable",get:function(){return!1}},{key:"isWidget",get:function(){return!0}},{key:"isHidden",get:function(){return this.widget.isHidden}},{key:"destroy",value:function(){(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),this.dom&&this.widget.destroy(this.dom)}}],[{key:"create",value:function(e,t,r){return new n(e,t,r)}}]),n}(B),he=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).side=e,r}return(0,f.Z)(n,[{key:"length",get:function(){return 0}},{key:"merge",value:function(){return!1}},{key:"become",value:function(e){return e instanceof n&&e.side==this.side}},{key:"split",value:function(){return new n(this.side)}},{key:"sync",value:function(){if(!this.dom){var e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}},{key:"getSide",value:function(){return this.side}},{key:"domAtPos",value:function(e){return this.side>0?L.before(this.dom):L.after(this.dom)}},{key:"localPosFromDOM",value:function(){return 0}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e){return this.dom.getBoundingClientRect()}},{key:"overrideDOMText",get:function(){return d.xv.empty}},{key:"isHidden",get:function(){return!0}}]),n}(B);function fe(e,t){for(var n=e.dom,r=e.children,i=0,o=0;i<r.length;i++){var a=r[i],s=o+a.length;if(!(s==o&&a.getSide()<=0)){if(t>o&&t<s&&a.dom.parentNode==n)return a.domAtPos(t-o);if(t<=o)break;o=s}}for(var l=i;l>0;l--){var u=r[l-1];if(u.dom.parentNode==n)return u.domAtPos(u.length)}for(var c=i;c<r.length;c++){var h=r[c];if(h.dom.parentNode==n)return h.domAtPos(0)}return new L(n,0)}function de(e,t,n){var r,i=e.children;n>0&&t instanceof ue&&i.length&&(r=i[i.length-1])instanceof ue&&r.mark.eq(t.mark)?de(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function pe(e,t,n){var r=null,i=-1,o=null,a=-1;!function e(t,s){for(var l=0,u=0;l<t.children.length&&u<=s;l++){var c=t.children[l],h=u+c.length;h>=s&&(c.children.length?e(c,s-u):(!o||o.isHidden&&n>0)&&(h>s||u==h&&c.getSide()>0)?(o=c,a=s-u):(u<s||u==h&&c.getSide()<0&&!c.isHidden)&&(r=c,i=s-u)),u=h}}(e,t);var s=(n<0?r:o)||r||o;return s?s.coordsAt(Math.max(0,s==r?i:a),n):function(e){var t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();var n=w(t);return n[n.length-1]||null}(e)}function me(e,t){for(var n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}le.prototype.children=ce.prototype.children=he.prototype.children=F;var ge=Object.create(null);function ve(e,t,n){if(e==t)return!0;e||(e=ge),t||(t=ge);var r=Object.keys(e),i=Object.keys(t);if(r.length-(n&&r.indexOf(n)>-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(var o=0,a=r;o<a.length;o++){var s=a[o];if(s!=n&&(-1==i.indexOf(s)||e[s]!==t[s]))return!1}return!0}function Oe(e,t,n){var r=null;if(t)for(var i in t)n&&i in n||e.removeAttribute(r=i);if(n)for(var o in n)t&&t[o]==n[o]||e.setAttribute(r=o,n[o]);return!!r}function ye(e){for(var t=Object.create(null),n=0;n<e.attributes.length;n++){var r=e.attributes[n];t[r.name]=r.value}return t}var be=function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,[{key:"eq",value:function(e){return!1}},{key:"updateDOM",value:function(e,t){return!1}},{key:"compare",value:function(e){return this==e||this.constructor==e.constructor&&this.eq(e)}},{key:"estimatedHeight",get:function(){return-1}},{key:"lineBreaks",get:function(){return 0}},{key:"ignoreEvent",value:function(e){return!0}},{key:"coordsAt",value:function(e,t,n){return null}},{key:"isHidden",get:function(){return!1}},{key:"destroy",value:function(e){}}]),e}(),ke=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(ke||(ke={})),Se=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i,o){var a;return(0,h.Z)(this,n),(a=t.call(this)).startSide=e,a.endSide=r,a.widget=i,a.spec=o,a}return(0,f.Z)(n,[{key:"heightRelevant",get:function(){return!1}},{key:"hasHeight",value:function(){return!!this.widget&&this.widget.estimatedHeight>-1}}],[{key:"mark",value:function(e){return new xe(e)}},{key:"widget",value:function(e){var t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new Te(e,t,t,n,e.widget||null,!1)}},{key:"replace",value:function(e){var t,n,r=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{var i=Ce(e,r);t=(i.start?r?-3e8:-1:5e8)-1,n=1+(i.end?r?2e8:1:-6e8)}return new Te(e,t,n,r,e.widget||null,!0)}},{key:"line",value:function(e){return new we(e)}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return d.Xs.of(e,t)}}]),n}(d.uU);Se.none=d.Xs.empty;var xe=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;(0,h.Z)(this,n);var i=Ce(e),o=i.start,a=i.end;return(r=t.call(this,o?-1:5e8,a?1:-6e8,null,e)).tagName=e.tagName||"span",r.class=e.class||"",r.attrs=e.attributes||null,r}return(0,f.Z)(n,[{key:"eq",value:function(e){var t,r;return this==e||e instanceof n&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(r=e.attrs)||void 0===r?void 0:r.class))&&ve(this.attrs,e.attrs,"class")}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(e>=t)throw new RangeError("Mark decorations may not be empty");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Se);xe.prototype.point=!1;var we=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){return(0,h.Z)(this,n),t.call(this,-2e8,-2e8,null,e)}return(0,f.Z)(n,[{key:"eq",value:function(e){return e instanceof n&&this.spec.class==e.spec.class&&ve(this.spec.attributes,e.spec.attributes)}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Se);we.prototype.mapMode=d.gc.TrackBefore,we.prototype.point=!0;var Te=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i,o,a,s){var l;return(0,h.Z)(this,n),(l=t.call(this,r,i,a,e)).block=o,l.isReplace=s,l.mapMode=o?r<=0?d.gc.TrackBefore:d.gc.TrackAfter:d.gc.TrackDel,l}return(0,f.Z)(n,[{key:"type",get:function(){return this.startSide<this.endSide?ke.WidgetRange:this.startSide<=0?ke.WidgetBefore:ke.WidgetAfter}},{key:"heightRelevant",get:function(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}},{key:"eq",value:function(e){return e instanceof n&&(t=this.widget,r=e.widget,t==r||!!(t&&r&&t.compare(r)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,r}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Se);function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.inclusiveStart,r=e.inclusiveEnd;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!==n&&void 0!==n?n:t,end:null!==r&&void 0!==r?r:t}}function Ee(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}Te.prototype.point=!0;var Ae=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;return(0,h.Z)(this,n),(e=t.apply(this,arguments)).children=[],e.length=0,e.prevAttrs=void 0,e.attrs=null,e.breakAfter=0,e}return(0,f.Z)(n,[{key:"merge",value:function(e,t,r,i,o,a){if(r){if(!(r instanceof n))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),Y(this,e,t,r?r.children:[],o,a),!0}},{key:"split",value:function(e){var t=new n;if(t.breakAfter=this.breakAfter,0==this.length)return t;var r=this.childPos(e),i=r.i,o=r.off;o&&(t.append(this.children[i].split(o),0),this.children[i].merge(o,this.children[i].length,null,!1,0,0),i++);for(var a=i;a<this.children.length;a++)t.append(this.children[a],0);for(;i>0&&0==this.children[i-1].length;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}},{key:"transferDOM",value:function(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}},{key:"setDeco",value:function(e){ve(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}},{key:"append",value:function(e,t){de(this,e,t)}},{key:"addLineDeco",value:function(e){var t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=me(t,this.attrs||{})),n&&(this.attrs=me({class:n},this.attrs||{}))}},{key:"domAtPos",value:function(e){return fe(this,e)}},{key:"reuseDOM",value:function(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}},{key:"sync",value:function(e,t){var r;this.dom?4&this.flags&&($(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(Oe(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),(0,o.Z)((0,a.Z)(n.prototype),"sync",this).call(this,e,t);for(var i=this.dom.lastChild;i&&B.get(i)instanceof ue;)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&0==(null===(r=B.get(i))||void 0===r?void 0:r.isEditable)&&(!se.ios||!this.children.some((function(e){return e instanceof le})))){var s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}},{key:"measureTextSize",value:function(){if(0==this.children.length||this.length>20)return null;var e,t,n=0,r=(0,c.Z)(this.children);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(!(i instanceof le)||/[^ -~]/.test(i.text))return null;var o=w(i.dom);if(1!=o.length)return null;n+=o[0].width,e=o[0].height}}catch(a){r.e(a)}finally{r.f()}return n?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:n/this.length,textHeight:e}:null}},{key:"coordsAt",value:function(e,t){var n=pe(this,e,t);if(!this.children.length&&n&&this.parent){var r=this.parent.view.viewState.heightOracle,i=n.bottom-n.top;if(Math.abs(i-r.lineHeight)<2&&r.textHeight<i){var o=(i-r.textHeight)/2;return{top:n.top+o,bottom:n.bottom-o,left:n.left,right:n.left}}}return n}},{key:"become",value:function(e){return!1}},{key:"type",get:function(){return ke.Text}}],[{key:"find",value:function(e,t){for(var r=0,i=0;r<e.children.length;r++){var o=e.children[r],a=i+o.length;if(a>=t){if(o instanceof n)return o;if(a>t)break}i=a+o.breakAfter}return null}}]),n}(B),Pe=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this)).widget=e,o.length=r,o.type=i,o.breakAfter=0,o.prevWidget=null,o}return(0,f.Z)(n,[{key:"merge",value:function(e,t,r,i,o,a){return!(r&&(!(r instanceof n&&this.widget.compare(r.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(r?r.length:0)+(this.length-t),!0)}},{key:"domAtPos",value:function(e){return 0==e?L.before(this.dom):L.after(this.dom,e==this.length)}},{key:"split",value:function(e){var t=this.length-e;this.length=e;var r=new n(this.widget,t,this.type);return r.breakAfter=this.breakAfter,r}},{key:"children",get:function(){return F}},{key:"sync",value:function(e){this.dom&&this.widget.updateDOM(this.dom,e)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}},{key:"overrideDOMText",get:function(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):d.xv.empty}},{key:"domBoundsAround",value:function(){return null}},{key:"become",value:function(e){return e instanceof n&&e.widget.constructor==this.widget.constructor&&(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.type=e.type,this.breakAfter=e.breakAfter,!0)}},{key:"ignoreMutation",value:function(){return!0}},{key:"ignoreEvent",value:function(e){return this.widget.ignoreEvent(e)}},{key:"isEditable",get:function(){return!1}},{key:"isWidget",get:function(){return!0}},{key:"coordsAt",value:function(e,t){return this.widget.coordsAt(this.dom,e,t)}},{key:"destroy",value:function(){(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),this.dom&&this.widget.destroy(this.dom)}}]),n}(B),_e=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.doc=t,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=n}return(0,f.Z)(e,[{key:"posCovered",value:function(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;var e=this.content[this.content.length-1];return!e.breakAfter&&!(e instanceof Pe&&e.type==ke.WidgetBefore)}},{key:"getLine",value:function(){return this.curLine||(this.content.push(this.curLine=new Ae),this.atCursorPos=!0),this.curLine}},{key:"flushBuffer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.bufferMarks;this.pendingBuffer&&(this.curLine.append(De(new he(-1),e),e.length),this.pendingBuffer=0)}},{key:"addBlockWidget",value:function(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}},{key:"finish",value:function(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||this.getLine()}},{key:"buildText",value:function(e,t,n){for(;e>0;){if(this.textOff==this.text.length){var r=this.cursor.next(this.skip),i=r.value,o=r.lineBreak,a=r.done;if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=i,this.textOff=0}var s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(De(new le(this.text.slice(this.textOff,this.textOff+s)),t),n),this.atCursorPos=!0,this.textOff+=s,e-=s,n=0}}},{key:"span",value:function(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}},{key:"point",value:function(e,t,n,r,i,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Te){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}var a=t-e;if(n instanceof Te)if(n.block){var s=n.type;s!=ke.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new Pe(n.widget||new Ze("div"),a,s))}else{var l=ce.create(n.widget||new Ze("span"),a,a?0:n.startSide),u=this.atCursorPos&&!l.isEditable&&i<=r.length&&(e<t||n.startSide>0),c=!l.isEditable&&(e<t||i>r.length||n.startSide<=0),h=this.getLine();2!=this.pendingBuffer||u||l.isEditable||(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(De(new he(1),r),i),i=r.length+Math.max(0,i-r.length)),h.append(De(l,r),i),this.atCursorPos=c,this.pendingBuffer=c?e<t||i>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}}],[{key:"build",value:function(t,n,r,i,o){var a=new e(t,n,r,o);return a.openEnd=d.Xs.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}]),e}();function De(e,t){var n,r=(0,c.Z)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;e=new ue(i,[e],e.length)}}catch(o){r.e(o)}finally{r.f()}return e}var Ze=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).tag=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.tag==this.tag}},{key:"toDOM",value:function(){return document.createElement(this.tag)}},{key:"updateDOM",value:function(e){return e.nodeName.toLowerCase()==this.tag}},{key:"isHidden",get:function(){return!0}}]),n}(be),Ne=d.r$.define(),Qe=d.r$.define(),Re=d.r$.define(),Me=d.r$.define(),$e=d.r$.define(),Ie=d.r$.define(),Le=d.r$.define(),Fe=d.r$.define({combine:function(e){return e.some((function(e){return e}))}}),Be=d.r$.define({combine:function(e){return e.some((function(e){return e}))}}),je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nearest",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"nearest",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5;(0,h.Z)(this,e),this.range=t,this.y=n,this.x=r,this.yMargin=i,this.xMargin=o}return(0,f.Z)(e,[{key:"map",value:function(t){return t.empty?this:new e(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}]),e}(),ze=d.Py.define({map:function(e,t){return e.map(t)}});function Ue(e,t,n){var r=e.facet(Me);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}var Ye=d.r$.define({combine:function(e){return!e.length||e[0]}}),Xe=0,He=d.r$.define(),We=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.id=t,this.create=n,this.domEventHandlers=r,this.extension=i(this)}return(0,f.Z)(e,null,[{key:"define",value:function(t,n){var r=n||{},i=r.eventHandlers,o=r.provide,a=r.decorations;return new e(Xe++,t,i,(function(e){var t=[He.of(e)];return a&&t.push(Je.of((function(t){var n=t.plugin(e);return n?a(n):Se.none}))),o&&t.push(o(e)),t}))}},{key:"fromClass",value:function(t,n){return e.define((function(e){return new t(e)}),n)}}]),e}(),qe=function(){function e(t){(0,h.Z)(this,e),this.spec=t,this.mustUpdate=null,this.value=null}return(0,f.Z)(e,[{key:"update",value:function(e){if(this.value){if(this.mustUpdate){var t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(Ue(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(r){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){Ue(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}},{key:"destroy",value:function(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(n){Ue(e.state,n,"CodeMirror plugin crashed")}}},{key:"deactivate",value:function(){this.spec=this.value=null}}]),e}(),Ge=d.r$.define(),Ve=d.r$.define(),Je=d.r$.define(),Ke=d.r$.define(),et=d.r$.define();function tt(e){var t,n=0,r=0,i=0,o=0,a=(0,c.Z)(e.state.facet(et));try{for(a.s();!(t=a.n()).done;){var s=(0,t.value)(e);s&&(null!=s.left&&(n=Math.max(n,s.left)),null!=s.right&&(r=Math.max(r,s.right)),null!=s.top&&(i=Math.max(i,s.top)),null!=s.bottom&&(o=Math.max(o,s.bottom)))}}catch(l){a.e(l)}finally{a.f()}return{left:n,right:r,top:i,bottom:o}}var nt=d.r$.define(),rt=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.fromA=t,this.toA=n,this.fromB=r,this.toB=i}return(0,f.Z)(e,[{key:"join",value:function(t){return new e(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}},{key:"addToSet",value:function(e){for(var t=e.length,n=this;t>0;t--){var r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}}],[{key:"extendWithRanges",value:function(t,n){if(0==n.length)return t;for(var r=[],i=0,o=0,a=0,s=0;;i++){for(var l=i==t.length?null:t[i],u=a-s,c=l?l.fromB:1e9;o<n.length&&n[o]<c;){var h=n[o],f=n[o+1],d=Math.max(s,h),p=Math.min(c,f);if(d<=p&&new e(d+u,p+u,d,p).addToSet(r),f>c)break;o+=2}if(!l)return r;new e(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),a=l.toA,s=l.toB}}}]),e}(),it=function(){function e(t,n,r){(0,h.Z)(this,e),this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=d.as.empty(this.startState.doc.length);var i,o=(0,c.Z)(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;this.changes=this.changes.compose(a.changes)}}catch(l){o.e(l)}finally{o.f()}var s=[];this.changes.iterChangedRanges((function(e,t,n,r){return s.push(new rt(e,t,n,r))})),this.changedRanges=s}return(0,f.Z)(e,[{key:"viewportChanged",get:function(){return(4&this.flags)>0}},{key:"heightChanged",get:function(){return(2&this.flags)>0}},{key:"geometryChanged",get:function(){return this.docChanged||(10&this.flags)>0}},{key:"focusChanged",get:function(){return(1&this.flags)>0}},{key:"docChanged",get:function(){return!this.changes.empty}},{key:"selectionSet",get:function(){return this.transactions.some((function(e){return e.selection}))}},{key:"empty",get:function(){return 0==this.flags&&0==this.transactions.length}}],[{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}(),ot=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(ot||(ot={})),at=ot.LTR,st=ot.RTL;function lt(e){for(var t=[],n=0;n<e.length;n++)t.push(1<<+e[n]);return t}for(var ut=lt("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ct=lt("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),ht=Object.create(null),ft=[],dt=0,pt=["()","[]","{}"];dt<pt.length;dt++){var mt=pt[dt],gt=mt.charCodeAt(0),vt=mt.charCodeAt(1);ht[gt]=vt,ht[vt]=-gt}function Ot(e){return e<=247?ut[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ct[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8203?256:64336<=e&&e<=65023?4:8204==e?256:1}var yt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,bt=function(){function e(t,n,r){(0,h.Z)(this,e),this.from=t,this.to=n,this.level=r}return(0,f.Z)(e,[{key:"dir",get:function(){return this.level%2?st:at}},{key:"side",value:function(e,t){return this.dir==t==e?this.to:this.from}}],[{key:"find",value:function(e,t,n,r){for(var i=-1,o=0;o<e.length;o++){var a=e[o];if(a.from<=t&&a.to>=t){if(a.level==n)return o;(i<0||(0!=r?r<0?a.from<t:a.to>t:e[i].level>a.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}]),e}(),kt=[];function St(e,t){var n=e.length,r=t==at?1:2,i=t==at?2:1;if(!e||1==r&&!yt.test(e))return xt(n);for(var o=0,a=r,s=r;o<n;o++){var l=Ot(e.charCodeAt(o));512==l?l=a:8==l&&4==s&&(l=16),kt[o]=4==l?2:l,7&l&&(s=l),a=l}for(var u=0,c=r,h=r;u<n;u++){var f=kt[u];if(128==f)u<n-1&&c==kt[u+1]&&24&c?f=kt[u]=c:kt[u]=256;else if(64==f){for(var d=u+1;d<n&&64==kt[d];)d++;for(var p=u&&8==c||d<n&&8==kt[d]?1==h?1:8:256,m=u;m<d;m++)kt[m]=p;u=d-1}else 8==f&&1==h&&(kt[u]=1);c=f,7&f&&(h=f)}for(var g,v,O,y=0,b=0,k=0;y<n;y++)if(v=ht[g=e.charCodeAt(y)])if(v<0){for(var S=b-3;S>=0;S-=3)if(ft[S+1]==-v){var x=ft[S+2],w=2&x?r:4&x?1&x?i:r:0;w&&(kt[y]=kt[ft[S]]=w),b=S;break}}else{if(189==ft.length)break;ft[b++]=y,ft[b++]=g,ft[b++]=k}else if(2==(O=kt[y])||1==O){var T=O==r;k=T?0:1;for(var C=b-3;C>=0;C-=3){var E=ft[C+2];if(2&E)break;if(T)ft[C+2]|=2;else{if(4&E)break;ft[C+2]|=4}}}for(var A=0;A<n;A++)if(256==kt[A]){for(var P=A+1;P<n&&256==kt[P];)P++;for(var _=1==(A?kt[A-1]:r),D=_==(1==(P<n?kt[P]:r))?_?1:2:r,Z=A;Z<P;Z++)kt[Z]=D;A=P-1}var N=[];if(1==r)for(var Q=0;Q<n;){for(var R=Q,M=1!=kt[Q++];Q<n&&M==(1!=kt[Q]);)Q++;if(M)for(var $=Q;$>R;){for(var I=$,L=2!=kt[--$];$>R&&L==(2!=kt[$-1]);)$--;N.push(new bt($,I,L?2:1))}else N.push(new bt(R,Q,0))}else for(var F=0;F<n;){for(var B=F,j=2==kt[F++];F<n&&j==(2==kt[F]);)F++;N.push(new bt(B,F,j?1:2))}return N}function xt(e){return[new bt(0,e,0)]}var wt="";function Tt(e,t,n,r,i){var o,a=r.head-e.from,s=-1;if(0==a){if(!i||!e.length)return null;t[0].level!=n&&(a=t[0].side(!1,n),s=0)}else if(a==e.length){if(i)return null;var l=t[t.length-1];l.level!=n&&(a=l.side(!0,n),s=t.length-1)}s<0&&(s=bt.find(t,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc));var u=t[s];a==u.side(i,n)&&(a=(u=t[s+=i?1:-1]).side(!i,n));var c=i==(u.dir==n),h=(0,d.cp)(e.text,a,c);if(wt=e.text.slice(Math.min(a,h),Math.max(a,h)),h!=u.side(i,n))return d.jT.cursor(h+e.from,c?-1:1,u.level);var f=s==(i?t.length-1:0)?null:t[s+(i?1:-1)];return f||u.level==n?f&&f.level<u.level?d.jT.cursor(f.side(!i,n)+e.from,i?1:-1,f.level):d.jT.cursor(h+e.from,i?-1:1,u.level):d.jT.cursor(i?e.to:e.from,i?-1:1,n)}var Ct=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).view=e,r.decorations=[],r.dynamicDecorationMap=[],r.hasComposition=null,r.markedForComposition=new Set,r.minWidth=0,r.minWidthFrom=0,r.minWidthTo=0,r.impreciseAnchor=null,r.impreciseHead=null,r.forceSelection=!1,r.lastUpdate=Date.now(),r.setDOM(e.contentDOM),r.children=[new Ae],r.children[0].setParent((0,i.Z)(r)),r.updateDeco(),r.updateInner([new rt(0,0,0,e.state.doc.length)],0,null),r}return(0,f.Z)(n,[{key:"length",get:function(){return this.view.state.doc.length}},{key:"update",value:function(e){var t=this,n=e.changedRanges;this.minWidth>0&&n.length&&(n.every((function(e){var n=e.fromA;return e.toA<t.minWidthFrom||n>t.minWidthTo}))?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);var r=this.view.inputState.composing<0?null:function(e,t){var n=At(e);if(!n)return null;var r=n.from,i=n.to,o=n.node,a=t.mapPos(r,-1),s=t.mapPos(i,1),l=o.nodeValue;if(/[\n\r]/.test(l))return null;if(s-a!=l.length){var u=t.mapPos(r,1),c=t.mapPos(i,-1);if(c-u==l.length)a=u,s=c;else if(e.state.doc.sliceString(s-l.length,s)==l)a=s-l.length;else{if(e.state.doc.sliceString(a,a+l.length)!=l)return null;s=a+l.length}}var h=e.state.selection.main;if(e.state.doc.sliceString(a,s)!=l||a>h.head||s<h.head)return null;for(var f=[],d=new rt(r,i,a,s),p=o.parentNode;;p=p.parentNode){var m=B.get(p);if(m instanceof ue)f.push({node:p,deco:m.mark});else{if(m instanceof Ae||"DIV"==p.nodeName&&p.parentNode==e.contentDOM)return{range:d,text:o,marks:f,line:p};if(p==e.contentDOM)return null;f.push({node:p,deco:new xe({inclusive:!0,attributes:ye(p),tagName:p.tagName.toLowerCase()})})}}}(this.view,e.changes);if(this.hasComposition){this.markedForComposition.clear();var i=this.hasComposition,o=i.from,a=i.to;n=new rt(o,a,e.changes.mapPos(o,-1),e.changes.mapPos(a,1)).addToSet(n.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(se.ie||se.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);var s=function(e,t,n){var r=new _t;return d.Xs.compare(e,t,n,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return n=rt.extendWithRanges(n,s),!!(7&this.flags||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,r),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}},{key:"updateInner",value:function(e,t,n){var r=this;this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);var i=this.view.observer;i.ignore((function(){r.dom.style.height=r.view.viewState.contentHeight+"px",r.dom.style.flexBasis=r.minWidth?r.minWidth+"px":"";var e=se.chrome||se.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;r.sync(r.view,e),r.flags&=-8,e&&(e.written||i.selectionRange.focusNode!=e.node)&&(r.forceSelection=!0),r.dom.style.height=""})),this.markedForComposition.forEach((function(e){return e.flags&=-9}));var o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length){var a,s=(0,c.Z)(this.children);try{for(s.s();!(a=s.n()).done;){var l=a.value;l instanceof Pe&&l.widget instanceof Et&&o.push(l.dom)}}catch(u){s.e(u)}finally{s.f()}}i.updateGaps(o)}},{key:"updateChildren",value:function(e,t,n){for(var r=n?n.range.addToSet(e.slice()):e,i=this.childCursor(t),o=r.length-1;;o--){var a=o>=0?r[o]:null;if(!a)break;var s=a.fromA,l=a.toA,u=a.fromB,c=a.toB,h=void 0,f=void 0,d=void 0,p=void 0;if(n&&n.range.fromB<c&&n.range.toB>u){var m=_e.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),g=_e.build(this.view.state.doc,n.range.toB,c,this.decorations,this.dynamicDecorationMap);f=m.breakAtStart,d=m.openStart,p=g.openEnd;var v=this.compositionView(n);g.breakAtStart?v.breakAfter=1:g.content.length&&v.merge(v.length,v.length,g.content[0],!1,g.openStart,0)&&(v.breakAfter=g.content[0].breakAfter,g.content.shift()),m.content.length&&v.merge(0,0,m.content[m.content.length-1],!0,0,m.openEnd)&&m.content.pop(),h=m.content.concat(v).concat(g.content)}else{var O=_e.build(this.view.state.doc,u,c,this.decorations,this.dynamicDecorationMap);h=O.content,f=O.breakAtStart,d=O.openStart,p=O.openEnd}var y=i.findPos(l,1),b=y.i,k=y.off,S=i.findPos(s,-1);U(this,S.i,S.off,b,k,h,f,d,p)}n&&this.fixCompositionDOM(n)}},{key:"compositionView",value:function(e){var t=new le(e.text.nodeValue);t.flags|=8;var n,r=(0,c.Z)(e.marks);try{for(r.s();!(n=r.n()).done;){var i=n.value.deco;t=new ue(i,[t],t.length)}}catch(a){r.e(a)}finally{r.f()}var o=new Ae;return o.append(t,0),o}},{key:"fixCompositionDOM",value:function(e){var t=this,n=function(e,n){n.flags|=8,t.markedForComposition.add(n);var r=B.get(e);r!=n&&(r&&(r.dom=null),n.setDOM(e))},r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(var o=e.marks.length-1;o>=-1;o--)r=i.childPos(r.off,1),i=i.children[r.i],n(o>=0?e.marks[o].node:e.text,i)}},{key:"updateSelection",value:function(){var e=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange();var n=this.view.root.activeElement,r=n==this.dom,i=!r&&x(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(r||t||i){var o=this.forceSelection;this.forceSelection=!1;var a,s=this.view.state.selection.main,l=this.domAtPos(s.anchor),u=s.empty?l:this.domAtPos(s.head);if(se.gecko&&s.empty&&!this.hasComposition&&(1==(a=l).node.nodeType&&a.node.firstChild&&(0==a.offset||"false"==a.node.childNodes[a.offset-1].contentEditable)&&(a.offset==a.node.childNodes.length||"false"==a.node.childNodes[a.offset].contentEditable))){var c=document.createTextNode("");this.view.observer.ignore((function(){return l.node.insertBefore(c,l.node.childNodes[l.offset]||null)})),l=u=new L(c,0),o=!0}var h=this.view.observer.selectionRange;!o&&h.focusNode&&T(l.node,l.offset,h.anchorNode,h.anchorOffset)&&T(u.node,u.offset,h.focusNode,h.focusOffset)||(this.view.observer.ignore((function(){se.android&&se.chrome&&e.dom.contains(h.focusNode)&&function(e,t){for(var n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}(h.focusNode,e.dom)&&(e.dom.blur(),e.dom.focus({preventScroll:!0}));var t,r,o=k(e.view.root);if(o)if(s.empty){if(se.gecko){var a=(t=l.node,r=l.offset,1!=t.nodeType?0:(r&&"false"==t.childNodes[r-1].contentEditable?1:0)|(r<t.childNodes.length&&"false"==t.childNodes[r].contentEditable?2:0));if(a&&3!=a){var c=Pt(l.node,l.offset,1==a?1:-1);c&&(l=new L(c,1==a?0:c.nodeValue.length))}}o.collapse(l.node,l.offset),null!=s.bidiLevel&&null!=h.cursorBidiLevel&&(h.cursorBidiLevel=s.bidiLevel)}else if(o.extend){o.collapse(l.node,l.offset);try{o.extend(u.node,u.offset)}catch(p){}}else{var f=document.createRange();if(s.anchor>s.head){var d=[u,l];l=d[0],u=d[1]}f.setEnd(u.node,u.offset),f.setStart(l.node,l.offset),o.removeAllRanges(),o.addRange(f)}else;i&&e.view.root.activeElement==e.dom&&(e.dom.blur(),n&&n.focus())})),this.view.observer.setSelectionRange(l,u)),this.impreciseAnchor=l.precise?null:new L(h.anchorNode,h.anchorOffset),this.impreciseHead=u.precise?null:new L(h.focusNode,h.focusOffset)}}},{key:"enforceCursorAssoc",value:function(){if(!this.hasComposition){var e=this.view,t=e.state.selection.main,n=k(e.root),r=e.observer.selectionRange,i=r.anchorNode,o=r.anchorOffset;if(n&&t.empty&&t.assoc&&n.modify){var a=Ae.find(this,t.head);if(a){var s=a.posAtStart;if(t.head!=s&&t.head!=s+a.length){var l=this.coordsAt(t.head,-1),u=this.coordsAt(t.head,1);if(l&&u&&!(l.bottom>u.top)){var c=this.domAtPos(t.head+t.assoc);n.collapse(c.node,c.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();var h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=t.from&&n.collapse(i,o)}}}}}}},{key:"nearest",value:function(e){for(var t=e;t;){var n=B.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}},{key:"posFromDOM",value:function(e,t){var n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}},{key:"domAtPos",value:function(e){for(var t=this.childCursor().findPos(e,-1),n=t.i,r=t.off;n<this.children.length-1;){var i=this.children[n];if(r<i.length||i instanceof Ae)break;n++,r=0}return this.children[n].domAtPos(r)}},{key:"coordsAt",value:function(e,t){for(var n=this.length,r=this.children.length-1;;r--){var i=this.children[r],o=n-i.breakAfter-i.length;if(e>o||e==o&&i.type!=ke.WidgetBefore&&i.type!=ke.WidgetAfter&&(!r||2==t||this.children[r-1].breakAfter||this.children[r-1].type==ke.WidgetBefore&&t>-2))return i.coordsAt(e-o,t);n=o}}},{key:"coordsForChar",value:function(e){var t=this.childPos(e,1),n=t.i,r=t.off,i=this.children[n];if(!(i instanceof Ae))return null;for(;i.children.length;){for(var o=i.childPos(r,1),a=o.i,s=o.off;;a++){if(a==i.children.length)return null;if((i=i.children[a]).length)break}r=s}if(!(i instanceof le))return null;var l=(0,d.cp)(i.text,r);if(l==r)return null;var u=R(i.dom,r,l).getClientRects();return!u.length||u[0].top>=u[0].bottom?null:u[0]}},{key:"measureVisibleLineHeights",value:function(e){for(var t=[],n=e.from,r=e.to,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==ot.LTR,l=0,u=0;u<this.children.length;u++){var c=this.children[u],h=l+c.length;if(h>r)break;if(l>=n){var f=c.dom.getBoundingClientRect();if(t.push(f.height),o){var d=c.dom.lastChild,p=d?w(d):[];if(p.length){var m=p[p.length-1],g=s?m.right-f.left:f.right-m.left;g>a&&(a=g,this.minWidth=i,this.minWidthFrom=l,this.minWidthTo=h)}}}l=h+c.breakAfter}return t}},{key:"textDirectionAt",value:function(e){var t=this.childPos(e,1).i;return"rtl"==getComputedStyle(this.children[t].dom).direction?ot.RTL:ot.LTR}},{key:"measureTextSize",value:function(){var e,t=this,n=(0,c.Z)(this.children);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r instanceof Ae){var i=r.measureTextSize();if(i)return i}}}catch(u){n.e(u)}finally{n.f()}var o,a,s,l=document.createElement("div");return l.className="cm-line",l.style.width="99999px",l.style.position="absolute",l.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((function(){t.dom.appendChild(l);var e=w(l.firstChild)[0];o=l.getBoundingClientRect().height,a=e?e.width/27:7,s=e?e.height:o,l.remove()})),{lineHeight:o,charWidth:a,textHeight:s}}},{key:"childCursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length,t=this.children.length;return t&&(e-=this.children[--t].length),new z(this.children,e,t)}},{key:"computeBlockGapDeco",value:function(){for(var e=[],t=this.view.viewState,n=0,r=0;;r++){var i=r==t.viewports.length?null:t.viewports[r],o=i?i.from-1:this.length;if(o>n){var a=t.lineBlockAt(o).bottom-t.lineBlockAt(n).top;e.push(Se.replace({widget:new Et(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return Se.set(e)}},{key:"updateDeco",value:function(){for(var e=this,t=this.view.state.facet(Je).map((function(t,n){return(e.dynamicDecorationMap[n]="function"==typeof t)?t(e.view):t})),n=t.length;n<t.length+3;n++)this.dynamicDecorationMap[n]=!1;return this.decorations=[].concat((0,u.Z)(t),[this.computeBlockGapDeco(),this.view.viewState.lineGapDeco])}},{key:"scrollIntoView",value:function(e){var t,n=e.range,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1);if(r){!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)});var i=tt(this.view),o={left:r.left-i.left,top:r.top-i.top,right:r.right+i.right,bottom:r.bottom+i.bottom};!function(e,t,n,r,i,o,a,s){for(var l=e.ownerDocument,u=l.defaultView||window,c=e,h=!1;c&&!h;)if(1==c.nodeType){var f=void 0,d=c==l.body;if(d)f=_(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}var p=c.getBoundingClientRect();f={left:p.left,right:p.left+c.clientWidth,top:p.top,bottom:p.top+c.clientHeight}}var m=0,g=0;if("nearest"==i)t.top<f.top?(g=-(f.top-t.top+a),n>0&&t.bottom>f.bottom+g&&(g=t.bottom-f.bottom+g+a)):t.bottom>f.bottom&&(g=t.bottom-f.bottom+a,n<0&&t.top-g<f.top&&(g=-(f.top+g-t.top+a)));else{var v=t.bottom-t.top,O=f.bottom-f.top;g=("center"==i&&v<=O?t.top+v/2-O/2:"start"==i||"center"==i&&n<0?t.top-a:t.bottom-O+a)-f.top}if("nearest"==r?t.left<f.left?(m=-(f.left-t.left+o),n>0&&t.right>f.right+m&&(m=t.right-f.right+m+o)):t.right>f.right&&(m=t.right-f.right+o,n<0&&t.left<f.left+m&&(m=-(f.left+m-t.left+o))):m=("center"==r?t.left+(t.right-t.left)/2-(f.right-f.left)/2:"start"==r==s?t.left-o:t.right-(f.right-f.left)+o)-f.left,m||g)if(d)u.scrollBy(m,g);else{var y=0,b=0;if(g){var k=c.scrollTop;c.scrollTop+=g,b=c.scrollTop-k}if(m){var S=c.scrollLeft;c.scrollLeft+=m,y=c.scrollLeft-S}t={left:t.left-y,top:t.top-b,right:t.right-y,bottom:t.bottom-b},y&&Math.abs(y-m)<1&&(r="nearest"),b&&Math.abs(b-g)<1&&(i="nearest")}if(d)break;c=c.assignedSlot||c.parentNode}else{if(11!=c.nodeType)break;c=c.host}}(this.view.scrollDOM,o,n.head<n.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==ot.LTR)}}}]),n}(B);var Et=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).height=e,r}return(0,f.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("div");return this.updateDOM(e),e}},{key:"eq",value:function(e){return e.height==this.height}},{key:"updateDOM",value:function(e){return e.style.height=this.height+"px",!0}},{key:"estimatedHeight",get:function(){return this.height}}]),n}(be);function At(e){var t=e.observer.selectionRange,n=t.focusNode&&Pt(t.focusNode,t.focusOffset,0);if(!n)return null;var r,i,o=B.get(n);if(o instanceof le)i=(r=o.posAtStart)+o.length;else e:for(var a=0,s=n;;){for(var l,u=s.previousSibling;u;u=u.previousSibling){if(l=B.get(u)){r=i=l.posAtEnd+a;break e}var c=new H([],e.state);if(c.readNode(u),c.text.indexOf(X)>-1)return null;a+=c.text.length}if(!(s=s.parentNode))return null;var h=B.get(s);if(h){r=i=h.posAtStart+a;break}}return{from:r,to:i,node:n}}function Pt(e,t,n){if(n<=0)for(var r=e,i=t;;){if(3==r.nodeType)return r;if(!(1==r.nodeType&&i>0))break;i=A(r=r.childNodes[i-1])}if(n>=0)for(var o=e,a=t;;){if(3==o.nodeType)return o;if(!(1==o.nodeType&&a<o.childNodes.length&&n>=0))break;o=o.childNodes[a],a=0}return null}var _t=function(){function e(){(0,h.Z)(this,e),this.changes=[]}return(0,f.Z)(e,[{key:"compareRange",value:function(e,t){Ee(e,t,this.changes)}},{key:"comparePoint",value:function(e,t){Ee(e,t,this.changes)}}]),e}();function Dt(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Zt(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Nt(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function Qt(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function Rt(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Mt(e,t,n){for(var r,i,o,a,s,l,u,c,h=!1,f=e.firstChild;f;f=f.nextSibling)for(var d=w(f),p=0;p<d.length;p++){var m=d[p];i&&Nt(i,m)&&(m=Qt(Rt(m,i.bottom),i.top));var g=Dt(t,m),v=Zt(n,m);if(0==g&&0==v)return 3==f.nodeType?$t(f,t,n):Mt(f,t,n);if(!r||a>v||a==v&&o>g){r=f,i=m,o=g,a=v;var O=v?n<m.top?-1:1:g?t<m.left?-1:1:0;h=!O||(O>0?p<d.length-1:p>0)}0==g?n>m.bottom&&(!u||u.bottom<m.bottom)?(s=f,u=m):n<m.top&&(!c||c.top>m.top)&&(l=f,c=m):u&&Nt(u,m)?u=Rt(u,m.bottom):c&&Nt(c,m)&&(c=Qt(c,m.top))}if(u&&u.bottom>=n?(r=s,i=u):c&&c.top<=n&&(r=l,i=c),!r)return{node:e,offset:0};var y=Math.max(i.left,Math.min(i.right,t));return 3==r.nodeType?$t(r,y,n):h&&"false"!=r.contentEditable?Mt(r,y,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(i.left+i.right)/2?1:0)}}function $t(e,t,n){for(var r=e.nodeValue.length,i=-1,o=1e9,a=0,s=0;s<r;s++)for(var l=R(e,s,s+1).getClientRects(),u=0;u<l.length;u++){var c=l[u];if(c.top!=c.bottom){a||(a=t-c.left);var h=(c.top>n?c.top-n:n-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&h<o){var f=t>=(c.left+c.right)/2,d=f;if(se.chrome||se.gecko)R(e,s).getBoundingClientRect().left==c.right&&(d=!f);if(h<=0)return{node:e,offset:s+(d?1:0)};i=s+(d?1:0),o=h}}}return{node:e,offset:i>-1?i:a>0?e.nodeValue.length:0}}function It(e,t,n){var r,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,s=e.contentDOM.getBoundingClientRect(),l=s.top+e.viewState.paddingTop,u=e.viewState.docHeight,c=t.x,h=t.y,f=h-l;if(f<0)return 0;if(f>u)return e.state.doc.length;for(var d=e.viewState.heightOracle.textHeight/2,p=!1;(o=e.elementAtHeight(f)).type!=ke.Text;)for(;!((f=a>0?o.bottom+d:o.top-d)>=0&&f<=u);){if(p)return n?null:0;p=!0,a=-a}h=l+f;var m=o.from;if(m<e.viewport.from)return 0==e.viewport.from?0:n?null:Lt(e,s,o,c,h);if(m>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:Lt(e,s,o,c,h);var g=e.dom.ownerDocument,v=e.root.elementFromPoint?e.root:g,O=v.elementFromPoint(c,h);O&&!e.contentDOM.contains(O)&&(O=null),O||(c=Math.max(s.left+1,Math.min(s.right-1,c)),(O=v.elementFromPoint(c,h))&&!e.contentDOM.contains(O)&&(O=null));var y,b=-1;if(O&&0!=(null===(r=e.docView.nearest(O))||void 0===r?void 0:r.isEditable))if(g.caretPositionFromPoint){var k=g.caretPositionFromPoint(c,h);k&&(y=k.offsetNode,b=k.offset)}else if(g.caretRangeFromPoint){var S=g.caretRangeFromPoint(c,h);S&&(y=S.startContainer,b=S.startOffset,(!e.contentDOM.contains(y)||se.safari&&function(e,t,n){var r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(var i=e.nextSibling;i;i=i.nextSibling)if(1!=i.nodeType||"BR"!=i.nodeName)return!1;return R(e,r-1,r).getBoundingClientRect().left>n}(y,b,c)||se.chrome&&function(e,t,n){if(0!=t)return!1;for(var r=e;;){var i=r.parentNode;if(!i||1!=i.nodeType||i.firstChild!=r)return!1;if(i.classList.contains("cm-line"))break;r=i}var o=1==e.nodeType?e.getBoundingClientRect():R(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return n-o.left>5}(y,b,c))&&(y=void 0))}if(!y||!e.docView.dom.contains(y)){var x=Ae.find(e.docView,m);if(!x)return f>o.top+o.height/2?o.to:o.from;var w=Mt(x.dom,c,h);y=w.node,b=w.offset}var T=e.docView.nearest(y);if(!T)return null;if(T.isWidget&&1==(null===(i=T.dom)||void 0===i?void 0:i.nodeType)){var C=T.dom.getBoundingClientRect();return t.y<C.top||t.y<=C.bottom&&t.x<=(C.left+C.right)/2?T.posAtStart:T.posAtEnd}return T.localPosFromDOM(y,b)+T.posAtStart}function Lt(e,t,n,r,i){var o=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){var a=e.viewState.heightOracle.textHeight;o+=Math.floor((i-n.top-.5*(e.defaultLineHeight-a))/a)*e.viewState.heightOracle.lineLength}var s=e.state.sliceDoc(n.from,n.to);return n.from+(0,d.Gz)(s,o,e.state.tabSize)}function Ft(e,t){var n=e.lineBlockAt(t);if(Array.isArray(n.type)){var r,i=(0,c.Z)(n.type);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.to>t||o.to==t&&(o.to==n.to||o.type==ke.Text))return o}}catch(a){i.e(a)}finally{i.f()}}return n}function Bt(e,t,n,r){for(var i=e.state.doc.lineAt(t.head),o=e.bidiSpans(i),a=e.textDirectionAt(i.from),s=t,l=null;;){var u=Tt(i,o,a,s,n),c=wt;if(!u){if(i.number==(n?e.state.doc.lines:1))return s;c="\n",i=e.state.doc.line(i.number+(n?1:-1)),o=e.bidiSpans(i),u=d.jT.cursor(n?i.from:i.to)}if(l){if(!l(c))return s}else{if(!r)return u;l=r(c)}s=u}}function jt(e,t,n){for(var r,i=function(){var r,i=0,o=(0,c.Z)(e);try{for(o.s();!(r=o.n()).done;){r.value.between(t-1,t+1,(function(e,r,o){if(t>e&&t<r){var a=i||n||(t-e<r-t?-1:1);t=a<0?e:r,i=a}}))}}catch(a){o.e(a)}finally{o.f()}if(!i)return{v:t}};;)if(r=i())return r.v}function zt(e,t,n){var r=jt(e.state.facet(Ke).map((function(t){return t(e)})),n.from,t.head>n.from?-1:1);return r==n.from?n:d.jT.cursor(r,r<n.from?1:-1)}var Ut=function(){function e(t){var n=this;(0,h.Z)(this,e),this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null;var r=function(e,r){n.ignoreDuringComposition(r)||"keydown"==r.type&&n.keydown(t,r)||(n.mustFlushObserver(r)&&t.observer.forceFlush(),n.runCustomHandlers(r.type,t,r)?r.preventDefault():e(t,r))},i=function(){var e=Vt[o];t.contentDOM.addEventListener(o,(function(n){Gt(t,n)&&r(e,n)}),Jt[o]),n.registeredEvents.push(o)};for(var o in Vt)i();t.scrollDOM.addEventListener("mousedown",(function(e){if(e.target==t.scrollDOM&&e.clientY>t.contentDOM.getBoundingClientRect().bottom&&(r(Vt.mousedown,e),!e.defaultPrevented&&2==e.button)){var n=t.contentDOM.style.minHeight;t.contentDOM.style.minHeight="100%",setTimeout((function(){return t.contentDOM.style.minHeight=n}),200)}})),t.scrollDOM.addEventListener("drop",(function(e){e.target==t.scrollDOM&&e.clientY>t.contentDOM.getBoundingClientRect().bottom&&r(Vt.drop,e)})),se.chrome&&102==se.chrome_version&&t.scrollDOM.addEventListener("wheel",(function(){n.chromeScrollHack<0?t.contentDOM.style.pointerEvents="none":window.clearTimeout(n.chromeScrollHack),n.chromeScrollHack=setTimeout((function(){n.chromeScrollHack=-1,t.contentDOM.style.pointerEvents=""}),100)}),{passive:!0}),this.notifiedFocused=t.hasFocus,se.safari&&t.contentDOM.addEventListener("input",(function(){return null}))}return(0,f.Z)(e,[{key:"setSelectionOrigin",value:function(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}},{key:"ensureHandlers",value:function(e,t){var n,r,i=this;this.customHandlers=[];var o,a=(0,c.Z)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(r=null===(n=s.update(e).spec)||void 0===n?void 0:n.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});var l=function(t){i.registeredEvents.indexOf(t)<0&&"scroll"!=t&&(i.registeredEvents.push(t),e.contentDOM.addEventListener(t,(function(n){Gt(e,n)&&i.runCustomHandlers(t,e,n)&&n.preventDefault()})))};for(var u in r)l(u)}}}catch(h){a.e(h)}finally{a.f()}}},{key:"runCustomHandlers",value:function(e,t,n){var r,i=(0,c.Z)(this.customHandlers);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=o.handlers[e];if(a)try{if(a.call(o.plugin,n,t)||n.defaultPrevented)return!0}catch(s){Ue(t.state,s)}}}catch(l){i.e(l)}finally{i.f()}return!1}},{key:"runScrollHandlers",value:function(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;var n,r=(0,c.Z)(this.customHandlers);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.handlers.scroll;if(o)try{o.call(i.plugin,t,e)}catch(a){Ue(e.state,a)}}}catch(s){r.e(s)}finally{r.f()}}},{key:"keydown",value:function(e,t){var n,r=this;return this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),9==t.keyCode&&Date.now()<this.lastEscPress+2e3||(27!=t.keyCode&&Ht.indexOf(t.keyCode)<0&&(e.inputState.lastEscPress=0),!se.android||!se.chrome||t.synthetic||13!=t.keyCode&&8!=t.keyCode?!(!se.ios||t.synthetic||t.altKey||t.metaKey||!((n=Yt.find((function(e){return e.keyCode==t.keyCode})))&&!t.ctrlKey||Xt.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey))&&(this.pendingIOSKey=n||t,setTimeout((function(){return r.flushIOSKey(e)}),250),!0):(e.observer.delayAndroidKey(t.key,t.keyCode),!0))}},{key:"flushIOSKey",value:function(e){var t=this.pendingIOSKey;return!!t&&(this.pendingIOSKey=void 0,M(e.contentDOM,t.key,t.keyCode))}},{key:"ignoreDuringComposition",value:function(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(se.safari&&!se.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}},{key:"mustFlushObserver",value:function(e){return"keydown"==e.type&&229!=e.keyCode}},{key:"startMouseSelection",value:function(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}},{key:"update",value:function(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}},{key:"destroy",value:function(){this.mouseSelection&&this.mouseSelection.destroy()}}]),e}(),Yt=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Xt="dthko",Ht=[16,17,18,20,91,92,224,225];function Wt(e){return.7*Math.max(0,e)+8}var qt=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.view=t,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParent=function(e){for(var t=e.ownerDocument,n=e.parentNode;n&&n!=t.body;)if(1==n.nodeType){if(n.scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth)return n;n=n.assignedSlot||n.parentNode}else{if(11!=n.nodeType)break;n=n.host}return null}(t.contentDOM),this.atoms=t.state.facet(Ke).map((function(e){return e(t)}));var o=t.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(d.yy.allowMultipleSelections)&&function(e,t){var n=e.state.facet(Ne);return n.length?n[0](t):se.mac?t.metaKey:t.ctrlKey}(t,n),this.dragging=!(!function(e,t){var n=e.state.selection.main;if(n.empty)return!1;var r=k(e.root);if(!r||0==r.rangeCount)return!0;for(var i=r.getRangeAt(0).getClientRects(),o=0;o<i.length;o++){var a=i[o];if(a.left<=t.clientX&&a.right>=t.clientX&&a.top<=t.clientY&&a.bottom>=t.clientY)return!0}return!1}(t,n)||1!=hn(n))&&null}return(0,f.Z)(e,[{key:"start",value:function(e){!1===this.dragging&&(e.preventDefault(),this.select(e))}},{key:"move",value:function(e){var t;if(0==e.buttons)return this.destroy();if(!(this.dragging||null==this.dragging&&(n=this.startEvent,r=e,Math.max(Math.abs(n.clientX-r.clientX),Math.abs(n.clientY-r.clientY))<10))){var n,r;this.select(this.lastEvent=e);var i=0,o=0,a=(null===(t=this.scrollParent)||void 0===t?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},s=tt(this.view);e.clientX-s.left<=a.left+6?i=-Wt(a.left-e.clientX):e.clientX+s.right>=a.right-6&&(i=Wt(e.clientX-a.right)),e.clientY-s.top<=a.top+6?o=-Wt(a.top-e.clientY):e.clientY+s.bottom>=a.bottom-6&&(o=Wt(e.clientY-a.bottom)),this.setScrollSpeed(i,o)}}},{key:"up",value:function(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}},{key:"destroy",value:function(){this.setScrollSpeed(0,0);var e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}},{key:"setScrollSpeed",value:function(e,t){var n=this;this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval((function(){return n.scroll()}),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}},{key:"scroll",value:function(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),!1===this.dragging&&this.select(this.lastEvent)}},{key:"skipAtoms",value:function(e){for(var t=null,n=0;n<e.ranges.length;n++){var r=e.ranges[n],i=null;if(r.empty){var o=jt(this.atoms,r.from,0);o!=r.from&&(i=d.jT.cursor(o,-1))}else{var a=jt(this.atoms,r.from,-1),s=jt(this.atoms,r.to,1);a==r.from&&s==r.to||(i=d.jT.range(r.from==r.anchor?a:s,r.from==r.head?a:s))}i&&(t||(t=e.ranges.slice()),t[n]=i)}return t?d.jT.create(t,e.mainIndex):e}},{key:"select",value:function(e){var t=this.view,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection)||n.main.assoc!=t.state.selection.main.assoc&&!1===this.dragging)&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}},{key:"update",value:function(e){var t=this;e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout((function(){return t.select(t.lastEvent)}),20)}}]),e}();function Gt(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=B.get(r))&&n.ignoreEvent(t))return!1;return!0}var Vt=Object.create(null),Jt=Object.create(null),Kt=se.ie&&se.ie_version<15||se.ios&&se.webkit_version<604;function en(e,t){var n,r=e.state,i=1,o=r.toText(t),a=o.lines==r.selection.ranges.length,s=null!=dn&&r.selection.ranges.every((function(e){return e.empty}))&&dn==o.toString();if(s){var l=-1;n=r.changeByRange((function(e){var n=r.doc.lineAt(e.from);if(n.from==l)return{range:e};l=n.from;var s=r.toText((a?o.line(i++).text:t)+r.lineBreak);return{changes:{from:n.from,insert:s},range:d.jT.cursor(e.from+s.length)}}))}else n=a?r.changeByRange((function(e){var t=o.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:d.jT.cursor(e.from+t.length)}})):r.replaceSelection(o);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function tn(e,t,n,r){if(1==r)return d.jT.cursor(t,n);if(2==r)return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e.charCategorizer(t),i=e.doc.lineAt(t),o=t-i.from;if(0==i.length)return d.jT.cursor(t);0==o?n=1:o==i.length&&(n=-1);var a=o,s=o;n<0?a=(0,d.cp)(i.text,o,!1):s=(0,d.cp)(i.text,o);for(var l=r(i.text.slice(a,s));a>0;){var u=(0,d.cp)(i.text,a,!1);if(r(i.text.slice(u,a))!=l)break;a=u}for(;s<i.length;){var c=(0,d.cp)(i.text,s);if(r(i.text.slice(s,c))!=l)break;s=c}return d.jT.range(a+i.from,s+i.from)}(e.state,t,n);var i=Ae.find(e.docView,t),o=e.state.doc.lineAt(i?i.posAtEnd:t),a=i?i.posAtStart:o.from,s=i?i.posAtEnd:o.to;return s<e.state.doc.length&&s==o.to&&s++,d.jT.range(a,s)}Vt.keydown=function(e,t){e.inputState.setSelectionOrigin("select"),27==t.keyCode&&(e.inputState.lastEscPress=Date.now())},Vt.touchstart=function(e,t){e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},Vt.touchmove=function(e){e.inputState.setSelectionOrigin("select.pointer")},Jt.touchstart=Jt.touchmove={passive:!0},Vt.mousedown=function(e,t){if(e.observer.flush(),!(e.inputState.lastTouchTime>Date.now()-2e3)){var n,r=null,i=(0,c.Z)(e.state.facet(Re));try{for(i.s();!(n=i.n()).done;){if(r=(0,n.value)(e,t))break}}catch(a){i.e(a)}finally{i.f()}if(r||0!=t.button||(r=function(e,t){var n=an(e,t),r=hn(t),i=e.state.selection;return{update:function(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes))},get:function(t,o,a){var s,l=an(e,t),u=tn(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!o){var c=tn(e,n.pos,n.bias,r),h=Math.min(c.from,u.from),f=Math.max(c.to,u.to);u=h<u.from?d.jT.range(h,f):d.jT.range(f,h)}return o?i.replaceRange(i.main.extend(u.from,u.to)):a&&1==r&&i.ranges.length>1&&(s=function(e,t){for(var n=0;n<e.ranges.length;n++){var r=e.ranges[n],i=r.from,o=r.to;if(i<=t&&o>=t)return d.jT.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}(i,l.pos))?s:a?i.addRange(u):d.jT.create([u])}}}(e,t)),r){var o=!e.hasFocus;e.inputState.startMouseSelection(new qt(e,t,r,o)),o&&e.observer.ignore((function(){return Q(e.contentDOM)})),e.inputState.mouseSelection&&e.inputState.mouseSelection.start(t)}}};var nn=function(e,t){return e>=t.top&&e<=t.bottom},rn=function(e,t,n){return nn(t,n)&&e>=n.left&&e<=n.right};function on(e,t,n,r){var i=Ae.find(e.docView,t);if(!i)return 1;var o=t-i.posAtStart;if(0==o)return 1;if(o==i.length)return-1;var a=i.coordsAt(o,-1);if(a&&rn(n,r,a))return-1;var s=i.coordsAt(o,1);return s&&rn(n,r,s)?1:a&&nn(r,a)?-1:1}function an(e,t){var n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:on(e,n,t.clientX,t.clientY)}}var sn=se.ie&&se.ie_version<=11,ln=null,un=0,cn=0;function hn(e){if(!sn)return e.detail;var t=ln,n=cn;return ln=e,cn=Date.now(),un=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(un+1)%3:1}function fn(e,t,n,r){if(n){var i=e.posAtCoords({x:t.clientX,y:t.clientY},!1);t.preventDefault();var o=e.inputState.mouseSelection,a=r&&o&&o.dragging&&function(e,t){var n=e.state.facet(Qe);return n.length?n[0](t):se.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:o.dragging.from,to:o.dragging.to}:null,s={from:i,insert:n},l=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"})}}Vt.dragstart=function(e,t){var n=e.state.selection.main,r=e.inputState.mouseSelection;r&&(r.dragging=n),t.dataTransfer&&(t.dataTransfer.setData("Text",e.state.sliceDoc(n.from,n.to)),t.dataTransfer.effectAllowed="copyMove")},Vt.drop=function(e,t){if(t.dataTransfer){if(e.state.readOnly)return t.preventDefault();var n=t.dataTransfer.files;if(n&&n.length){t.preventDefault();for(var r=Array(n.length),i=0,o=function(){++i==n.length&&fn(e,t,r.filter((function(e){return null!=e})).join(e.state.lineBreak),!1)},a=function(e){var t=new FileReader;t.onerror=o,t.onload=function(){/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),o()},t.readAsText(n[e])},s=0;s<n.length;s++)a(s)}else fn(e,t,t.dataTransfer.getData("Text"),!0)}},Vt.paste=function(e,t){if(e.state.readOnly)return t.preventDefault();e.observer.flush();var n=Kt?null:t.clipboardData;n?(en(e,n.getData("text/plain")||n.getData("text/uri-text")),t.preventDefault()):function(e){var t=e.dom.parentNode;if(t){var n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout((function(){e.focus(),n.remove(),en(e,n.value)}),50)}}(e)};var dn=null;Vt.copy=Vt.cut=function(e,t){var n=function(e){var t,n=[],r=[],i=!1,o=(0,c.Z)(e.selection.ranges);try{for(o.s();!(t=o.n()).done;){var a=t.value;a.empty||(n.push(e.sliceDoc(a.from,a.to)),r.push(a))}}catch(d){o.e(d)}finally{o.f()}if(!n.length){var s,l=-1,u=(0,c.Z)(e.selection.ranges);try{for(u.s();!(s=u.n()).done;){var h=s.value.from,f=e.doc.lineAt(h);f.number>l&&(n.push(f.text),r.push({from:f.from,to:Math.min(e.doc.length,f.to+1)})),l=f.number}}catch(d){u.e(d)}finally{u.f()}i=!0}return{text:n.join(e.lineBreak),ranges:r,linewise:i}}(e.state),r=n.text,i=n.ranges,o=n.linewise;if(r||o){dn=o?r:null;var a=Kt?null:t.clipboardData;a?(t.preventDefault(),a.clearData(),a.setData("text/plain",r)):function(e,t){var n=e.dom.parentNode;if(n){var r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout((function(){r.remove(),e.focus()}),50)}}(e,r),"cut"!=t.type||e.state.readOnly||e.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})}};var pn=d.q6.define();function mn(e,t){var n,r=[],i=(0,c.Z)(e.facet(Le));try{for(i.s();!(n=i.n()).done;){var o=(0,n.value)(e,t);o&&r.push(o)}}catch(a){i.e(a)}finally{i.f()}return r?e.update({effects:r,annotations:pn.of(!0)}):null}function gn(e){setTimeout((function(){var t=e.hasFocus;if(t!=e.inputState.notifiedFocused){var n=mn(e.state,t);n?e.dispatch(n):e.update([])}}),10)}Vt.focus=function(e){e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),gn(e)},Vt.blur=function(e){e.observer.clearSelectionRange(),gn(e)},Vt.compositionstart=Vt.compositionupdate=function(e){null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)},Vt.compositionend=function(e){e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,se.chrome&&se.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((function(){return e.observer.flush()})):setTimeout((function(){e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50)},Vt.contextmenu=function(e){e.inputState.lastContextMenu=Date.now()},Vt.beforeinput=function(e,t){var n,r;if(se.chrome&&se.android&&(r=Yt.find((function(e){return e.inputType==t.inputType})))&&(e.observer.delayAndroidKey(r.key,r.keyCode),"Backspace"==r.key||"Delete"==r.key)){var i=(null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0;setTimeout((function(){var t;((null===(t=window.visualViewport)||void 0===t?void 0:t.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())}),100)}};var vn=["pre-wrap","normal","pre-line","break-spaces"],On=function(){function e(t){(0,h.Z)(this,e),this.lineWrapping=t,this.doc=d.xv.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}return(0,f.Z)(e,[{key:"heightForGap",value:function(e,t){var n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}},{key:"heightForLine",value:function(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}},{key:"setDoc",value:function(e){return this.doc=e,this}},{key:"mustRefreshForWrapping",value:function(e){return vn.indexOf(e)>-1!=this.lineWrapping}},{key:"mustRefreshForHeights",value:function(e){for(var t=!1,n=0;n<e.length;n++){var r=e[n];r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}},{key:"refresh",value:function(e,t,n,r,i,o){var a=vn.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=i,s){this.heightSamples={};for(var l=0;l<o.length;l++){var u=o[l];u<0?l++:this.heightSamples[Math.floor(10*u)]=!0}}return s}}]),e}(),yn=function(){function e(t,n){(0,h.Z)(this,e),this.from=t,this.heights=n,this.index=0}return(0,f.Z)(e,[{key:"more",get:function(){return this.index<this.heights.length}}]),e}(),bn=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.from=t,this.length=n,this.top=r,this.height=i,this._content=o}return(0,f.Z)(e,[{key:"type",get:function(){return"number"==typeof this._content?ke.Text:Array.isArray(this._content)?this._content:this._content.type}},{key:"to",get:function(){return this.from+this.length}},{key:"bottom",get:function(){return this.top+this.height}},{key:"widget",get:function(){return this._content instanceof Te?this._content.widget:null}},{key:"widgetLineBreaks",get:function(){return"number"==typeof this._content?this._content:0}},{key:"join",value:function(t){var n=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,n)}}]),e}(),kn=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(kn||(kn={})),Sn=.001,xn=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;(0,h.Z)(this,e),this.length=t,this.height=n,this.flags=r}return(0,f.Z)(e,[{key:"outdated",get:function(){return(2&this.flags)>0},set:function(e){this.flags=(e?2:0)|-3&this.flags}},{key:"setHeight",value:function(e,t){this.height!=t&&(Math.abs(this.height-t)>Sn&&(e.heightChanged=!0),this.height=t)}},{key:"replace",value:function(t,n,r){return e.of(r)}},{key:"decomposeLeft",value:function(e,t){t.push(this)}},{key:"decomposeRight",value:function(e,t){t.push(this)}},{key:"applyChanges",value:function(e,t,n,r){for(var i=this,o=n.doc,a=r.length-1;a>=0;a--){var s=r[a],l=s.fromA,u=s.toA,c=s.fromB,h=s.toB,f=i.lineAt(l,kn.ByPosNoHeight,n.setDoc(t),0,0),d=f.to>=u?f:i.lineAt(u,kn.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;a>0&&f.from<=r[a-1].toA;)l=r[a-1].fromA,c=r[a-1].fromB,a--,l<f.from&&(f=i.lineAt(l,kn.ByPosNoHeight,n,0,0));c+=f.from-l,l=f.from;var p=Pn.build(n.setDoc(o),e,c,h);i=i.replace(l,u,p)}return i.updateHeight(n,0)}}],[{key:"empty",value:function(){return new Tn(0,0)}},{key:"of",value:function(t){if(1==t.length)return t[0];for(var n=0,r=t.length,i=0,o=0;;)if(n==r)if(i>2*o){var a=t[n-1];a.break?t.splice(--n,1,a.left,null,a.right):t.splice(--n,1,a.left,a.right),r+=1+a.break,i-=a.size}else{if(!(o>2*i))break;var s=t[r];s.break?t.splice(r,1,s.left,null,s.right):t.splice(r,1,s.left,s.right),r+=2+s.break,o-=s.size}else if(i<o){var l=t[n++];l&&(i+=l.size)}else{var u=t[--r];u&&(o+=u.size)}var c=0;return null==t[n-1]?(c=1,n--):null==t[n]&&(c=1,r++),new En(e.of(t.slice(0,n)),c,e.of(t.slice(r)))}}]),e}();xn.prototype.size=1;var wn=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this,e,r)).deco=i,o}return(0,f.Z)(n,[{key:"blockAt",value:function(e,t,n,r){return new bn(r,this.length,n,this.height,this.deco||0)}},{key:"lineAt",value:function(e,t,n,r,i){return this.blockAt(0,n,r,i)}},{key:"forEachLine",value:function(e,t,n,r,i,o){e<=i+this.length&&t>=i&&o(this.blockAt(0,n,r,i))}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>3?arguments[3]:void 0;return n&&n.from<=t&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}},{key:"toString",value:function(){return"block(".concat(this.length,")")}}]),n}(xn),Tn=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this,e,r,null)).collapsed=0,i.widgetHeight=0,i.breaks=0,i}return(0,f.Z)(n,[{key:"blockAt",value:function(e,t,n,r){return new bn(r,this.length,n,this.height,this.breaks)}},{key:"replace",value:function(e,t,r){var i=r[0];return 1==r.length&&(i instanceof n||i instanceof Cn&&4&i.flags)&&Math.abs(this.length-i.length)<10?(i instanceof Cn?i=new n(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):xn.of(r)}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}},{key:"toString",value:function(){return"line(".concat(this.length).concat(this.collapsed?-this.collapsed:"").concat(this.widgetHeight?":"+this.widgetHeight:"",")")}}]),n}(wn),Cn=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){return(0,h.Z)(this,n),t.call(this,e,0)}return(0,f.Z)(n,[{key:"heightMetrics",value:function(e,t){var n,r=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,o=i-r+1,a=0;if(e.lineWrapping){var s=Math.min(this.height,e.lineHeight*o);n=s/o,this.length>o+1&&(a=(this.height-s)/(this.length-o-1))}else n=this.height/o;return{firstLine:r,lastLine:i,perLine:n,perChar:a}}},{key:"blockAt",value:function(e,t,n,r){var i=this.heightMetrics(t,r),o=i.firstLine,a=i.lastLine,s=i.perLine,l=i.perChar;if(t.lineWrapping){var u=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),c=t.doc.lineAt(u),h=s+c.length*l,f=Math.max(n,e-h/2);return new bn(c.from,c.length,f,h,0)}var d=Math.max(0,Math.min(a-o,Math.floor((e-n)/s))),p=t.doc.line(o+d),m=p.from,g=p.length;return new bn(m,g,n+s*d,s,0)}},{key:"lineAt",value:function(e,t,n,r,i){if(t==kn.ByHeight)return this.blockAt(e,n,r,i);if(t==kn.ByPosNoHeight){var o=n.doc.lineAt(e),a=o.from,s=o.to;return new bn(a,s-a,0,0,0)}var l=this.heightMetrics(n,i),u=l.firstLine,c=l.perLine,h=l.perChar,f=n.doc.lineAt(e),d=c+f.length*h,p=f.number-u,m=r+c*p+h*(f.from-i-p);return new bn(f.from,f.length,Math.max(r,Math.min(m,r+this.height-d)),d,0)}},{key:"forEachLine",value:function(e,t,n,r,i,o){e=Math.max(e,i),t=Math.min(t,i+this.length);for(var a=this.heightMetrics(n,i),s=a.firstLine,l=a.perLine,u=a.perChar,c=e,h=r;c<=t;){var f=n.doc.lineAt(c);if(c==e){var d=f.number-s;h+=l*d+u*(e-i-d)}var p=l+u*f.length;o(new bn(f.from,f.length,h,p,0)),h+=p,c=f.to+1}}},{key:"replace",value:function(e,t,r){var i=this.length-t;if(i>0){var o=r[r.length-1];o instanceof n?r[r.length-1]=new n(o.length+i):r.push(null,new n(i-1))}if(e>0){var a=r[0];a instanceof n?r[0]=new n(e+a.length):r.unshift(new n(e-1),null)}return xn.of(r)}},{key:"decomposeLeft",value:function(e,t){t.push(new n(e-1),null)}},{key:"decomposeRight",value:function(e,t){t.push(null,new n(this.length-e-1))}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,o=t+this.length;if(i&&i.from<=t+this.length&&i.more){var a=[],s=Math.max(t,i.from),l=-1;for(i.from>t&&a.push(new n(i.from-t-1).updateHeight(e,t));s<=o&&i.more;){var u=e.doc.lineAt(s).length;a.length&&a.push(null);var c=i.heights[i.index++];-1==l?l=c:Math.abs(c-l)>=Sn&&(l=-2);var h=new Tn(u,c);h.outdated=!1,a.push(h),s+=u+1}s<=o&&a.push(null,new n(o-s).updateHeight(e,s));var f=xn.of(a);return(l<0||Math.abs(f.height-this.height)>=Sn||Math.abs(l-this.heightMetrics(e,t).perLine)>=Sn)&&(e.heightChanged=!0),f}return(r||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1),this}},{key:"toString",value:function(){return"gap(".concat(this.length,")")}}]),n}(xn),En=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this,e.length+r+i.length,e.height+i.height,r|(e.outdated||i.outdated?2:0))).left=e,o.right=i,o.size=e.size+i.size,o}return(0,f.Z)(n,[{key:"break",get:function(){return 1&this.flags}},{key:"blockAt",value:function(e,t,n,r){var i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}},{key:"lineAt",value:function(e,t,n,r,i){var o=r+this.left.height,a=i+this.left.length+this.break,s=t==kn.ByHeight?e<o:e<a,l=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,o,a);if(this.break||(s?l.to<a:l.from>a))return l;var u=t==kn.ByPosNoHeight?kn.ByPosNoHeight:kn.ByPos;return s?l.join(this.right.lineAt(a,u,n,o,a)):this.left.lineAt(a,u,n,r,i).join(l)}},{key:"forEachLine",value:function(e,t,n,r,i,o){var a=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,o),t>=s&&this.right.forEachLine(e,t,n,a,s,o);else{var l=this.lineAt(s,kn.ByPos,n,r,i);e<l.from&&this.left.forEachLine(e,l.from-1,n,r,i,o),l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,a,s,o)}}},{key:"replace",value:function(e,t,n){var r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));var i=[];e>0&&this.decomposeLeft(e,i);var o,a=i.length,s=(0,c.Z)(n);try{for(s.s();!(o=s.n()).done;){var l=o.value;i.push(l)}}catch(h){s.e(h)}finally{s.f()}if(e>0&&An(i,a-1),t<this.length){var u=i.length;this.decomposeRight(t,i),An(i,u)}return xn.of(i)}},{key:"decomposeLeft",value:function(e,t){var n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&e>=++n&&t.push(null),e>n&&this.right.decomposeLeft(e-n,t)}},{key:"decomposeRight",value:function(e,t){var n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}},{key:"balanced",value:function(e,t){return e.size>2*t.size||t.size>2*e.size?xn.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=this.left,o=this.right,a=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=a+o.length&&r.more?s=o=o.updateHeight(e,a,n,r):o.updateHeight(e,a,n),s?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}},{key:"toString",value:function(){return this.left+(this.break?" ":"-")+this.right}}]),n}(xn);function An(e,t){var n,r;null==e[t]&&(n=e[t-1])instanceof Cn&&(r=e[t+1])instanceof Cn&&e.splice(t-1,3,new Cn(n.length+1+r.length))}var Pn=function(){function e(t,n){(0,h.Z)(this,e),this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}return(0,f.Z)(e,[{key:"isCovered",get:function(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}},{key:"span",value:function(e,t){if(this.lineStart>-1){var n=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof Tn?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Tn(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}},{key:"point",value:function(e,t,n){if(e<t||n.heightRelevant){var r=n.widget?n.widget.estimatedHeight:0,i=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);var o=t-e;n.block?this.addBlock(new wn(o,r,n)):(o||i||r>=5)&&this.addLineDeco(r,i,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}},{key:"enterLine",value:function(){if(!(this.lineStart>-1)){var e=this.oracle.doc.lineAt(this.pos),t=e.from,n=e.to;this.lineStart=t,this.lineEnd=n,this.writtenTo<t&&((this.writtenTo<t-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new Tn(this.pos-t,-1)),this.writtenTo=this.pos}}},{key:"blankContent",value:function(e,t){var n=new Cn(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}},{key:"ensureLine",value:function(){this.enterLine();var e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Tn)return e;var t=new Tn(0,-1);return this.nodes.push(t),t}},{key:"addBlock",value:function(e){var t;this.enterLine();var n=null===(t=e.deco)||void 0===t?void 0:t.type;n!=ke.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n!=ke.WidgetBefore&&(this.covering=e)}},{key:"addLineDeco",value:function(e,t,n){var r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos=this.pos+n}},{key:"finish",value:function(e){var t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof Tn||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new Tn(0,-1));var n,r=e,i=(0,c.Z)(this.nodes);try{for(i.s();!(n=i.n()).done;){var o=n.value;o instanceof Tn&&o.updateHeight(this.oracle,r),r+=o?o.length:1}}catch(a){i.e(a)}finally{i.f()}return this.nodes}}],[{key:"build",value:function(t,n,r,i){var o=new e(r,t);return d.Xs.spans(n,r,i,o,0),o.finish(r)}}]),e}();var _n=function(){function e(){(0,h.Z)(this,e),this.changes=[]}return(0,f.Z)(e,[{key:"compareRange",value:function(){}},{key:"comparePoint",value:function(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&Ee(e,t,this.changes,5)}}]),e}();function Dn(e,t){for(var n=e.getBoundingClientRect(),r=e.ownerDocument,i=r.defaultView||window,o=Math.max(0,n.left),a=Math.min(i.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(i.innerHeight,n.bottom),u=e.parentNode;u&&u!=r.body;)if(1==u.nodeType){var c=u,h=window.getComputedStyle(c);if((c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth)&&"visible"!=h.overflow){var f=c.getBoundingClientRect();o=Math.max(o,f.left),a=Math.min(a,f.right),s=Math.max(s,f.top),l=u==e.parentNode?f.bottom:Math.min(l,f.bottom)}u="absolute"==h.position||"fixed"==h.position?c.offsetParent:c.parentNode}else{if(11!=u.nodeType)break;u=u.host}return{left:o-n.left,right:Math.max(o,a)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}function Zn(e,t){var n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}var Nn=function(){function e(t,n,r){(0,h.Z)(this,e),this.from=t,this.to=n,this.size=r}return(0,f.Z)(e,[{key:"draw",value:function(e){return Se.replace({widget:new Qn(this.size,e)}).range(this.from,this.to)}}],[{key:"same",value:function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}}]),e}(),Qn=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this)).size=e,i.vertical=r,i}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.size==this.size&&e.vertical==this.vertical}},{key:"toDOM",value:function(){var e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}},{key:"estimatedHeight",get:function(){return this.vertical?this.size:-1}}]),n}(be),Rn=function(){function e(t){(0,h.Z)(this,e),this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Fn,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=ot.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;var n=t.facet(Ve).some((function(e){return"function"!=typeof e&&"cm-lineWrapping"==e.class}));this.heightOracle=new On(n),this.stateDeco=t.facet(Je).filter((function(e){return"function"!=typeof e})),this.heightMap=xn.empty().applyChanges(this.stateDeco,d.xv.empty,this.heightOracle.setDoc(t.doc),[new rt(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Se.set(this.lineGaps.map((function(e){return e.draw(!1)}))),this.computeVisibleRanges()}return(0,f.Z)(e,[{key:"updateForViewport",value:function(){for(var e=this,t=[this.viewport],n=this.state.selection.main,r=function(){var r=i?n.head:n.anchor;if(!t.some((function(e){var t=e.from,n=e.to;return r>=t&&r<=n}))){var o=e.lineBlockAt(r),a=o.from,s=o.to;t.push(new Mn(a,s))}},i=0;i<=1;i++)r();this.viewports=t.sort((function(e,t){return e.from-t.from})),this.scaler=this.heightMap.height<=7e6?Fn:new Bn(this.heightOracle,this.heightMap,this.viewports)}},{key:"updateViewportLines",value:function(){var e=this;this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,(function(t){e.viewportLines.push(1==e.scaler.scale?t:jn(t,e.scaler))}))}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.state=e.state;var n=this.stateDeco;this.stateDeco=this.state.facet(Je).filter((function(e){return"function"!=typeof e}));var r=e.changedRanges,i=rt.extendWithRanges(r,function(e,t,n){var r=new _n;return d.Xs.compare(e,t,n,r,0),r.changes}(n,this.stateDeco,e?e.changes:d.as.empty(this.state.doc.length))),o=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=o&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);var s=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));var l=!e.changes.empty||2&e.flags||s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,this.updateForViewport(),l&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Be)&&(this.mustEnforceCursorAssoc=!0)}},{key:"measure",value:function(e){var t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?ot.RTL:ot.LTR;var o=this.heightOracle.mustRefreshForWrapping(i),a=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;var l=0,u=0,h=parseInt(n.paddingTop)||0,f=parseInt(n.paddingBottom)||0;this.paddingTop==h&&this.paddingBottom==f||(this.paddingTop=h,this.paddingBottom=f,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8),this.scrollTop!=e.scrollDOM.scrollTop&&(this.scrollAnchorHeight=-1,this.scrollTop=e.scrollDOM.scrollTop),this.scrolledToBottom=I(e.scrollDOM);var p=(this.printing?Zn:Dn)(t,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;var v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;var O=a.width;if(this.contentDOMWidth==O&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,l|=8),s){var y=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(y)&&(o=!0),o||r.lineWrapping&&Math.abs(O-this.contentDOMWidth)>r.charWidth){var b=e.docView.measureTextSize(),k=b.lineHeight,S=b.charWidth,x=b.textHeight;(o=k>0&&r.refresh(i,k,S,x,O/S,y))&&(e.docView.minWidth=0,l|=8)}m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),r.heightChanged=!1;var w,T=(0,c.Z)(this.viewports);try{for(T.s();!(w=T.n()).done;){var C=w.value,E=C.from==this.viewport.from?y:e.docView.measureVisibleLineHeights(C);this.heightMap=(o?xn.empty().applyChanges(this.stateDeco,d.xv.empty,this.heightOracle,[new rt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new yn(C.from,E))}}catch(P){T.e(P)}finally{T.f()}r.heightChanged&&(l|=2)}var A=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return A&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(2&l||A)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}},{key:"visibleTop",get:function(){return this.scaler.fromDOM(this.pixelViewport.top)}},{key:"visibleBottom",get:function(){return this.scaler.fromDOM(this.pixelViewport.bottom)}},{key:"getViewport",value:function(e,t){var n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.heightOracle,o=this.visibleTop,a=this.visibleBottom,s=new Mn(r.lineAt(o-1e3*n,kn.ByHeight,i,0,0).from,r.lineAt(a+1e3*(1-n),kn.ByHeight,i,0,0).to);if(t){var l=t.range.head;if(l<s.from||l>s.to){var u,c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(l,kn.ByPos,i,0,0);u="center"==t.y?(h.top+h.bottom)/2-c/2:"start"==t.y||"nearest"==t.y&&l<s.from?h.top:h.bottom-c,s=new Mn(r.lineAt(u-500,kn.ByHeight,i,0,0).from,r.lineAt(u+c+500,kn.ByHeight,i,0,0).to)}}return s}},{key:"mapViewport",value:function(e,t){var n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new Mn(this.heightMap.lineAt(n,kn.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,kn.ByPos,this.heightOracle,0,0).to)}},{key:"viewportIsAppropriate",value:function(e){var t=e.from,n=e.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.inView)return!0;var i=this.heightMap.lineAt(t,kn.ByPos,this.heightOracle,0,0).top,o=this.heightMap.lineAt(n,kn.ByPos,this.heightOracle,0,0).bottom,a=this.visibleTop,s=this.visibleBottom;return(0==t||i<=a-Math.max(10,Math.min(-r,250)))&&(n==this.state.doc.length||o>=s+Math.max(10,Math.min(r,250)))&&i>a-2e3&&o<s+2e3}},{key:"mapLineGaps",value:function(e,t){if(!e.length||t.empty)return e;var n,r=[],i=(0,c.Z)(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.touchesRange(o.from,o.to)||r.push(new Nn(t.mapPos(o.from),t.mapPos(o.to),o.size))}}catch(a){i.e(a)}finally{i.f()}return r}},{key:"ensureLineGaps",value:function(e,t){var n=this,r=this.heightOracle.lineWrapping,i=r?1e4:2e3,o=i>>1,a=i<<1;if(this.defaultTextDirection!=ot.LTR&&!r)return[];var s,l=[],u=function i(a,s,u,h){if(!(s-a<o)){var f=n.state.selection.main,p=[f.from];f.empty||p.push(f.to);for(var m=0,g=p;m<g.length;m++){var v=g[m];if(v>a&&v<s)return i(a,v-10,u,h),void i(v+10,s,u,h)}var O=function(e,t){var n,r=(0,c.Z)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(t(i))return i}}catch(o){r.e(o)}finally{r.f()}return}(e,(function(e){return e.from>=u.from&&e.to<=u.to&&Math.abs(e.from-a)<o&&Math.abs(e.to-s)<o&&!p.some((function(t){return e.from<t&&e.to>t}))}));if(!O){if(s<u.to&&t&&r&&t.visibleRanges.some((function(e){return e.from<=s&&e.to>=s}))){var y=t.moveToLineBoundary(d.jT.cursor(s),!1,!0).head;y>a&&(s=y)}O=new Nn(a,s,n.gapSize(u,a,s,h))}l.push(O)}},h=(0,c.Z)(this.viewportLines);try{for(h.s();!(s=h.n()).done;){var f=s.value;if(!(f.length<a)){var p=$n(f.from,f.to,this.stateDeco);if(!(p.total<a)){var m=this.scrollTarget?this.scrollTarget.range.head:null,g=void 0,v=void 0;if(r){var O=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,y=void 0,b=void 0;if(null!=m){var k=Ln(p,m),S=((this.visibleBottom-this.visibleTop)/2+O)/f.height;y=k-S,b=k+S}else y=(this.visibleTop-f.top-O)/f.height,b=(this.visibleBottom-f.top+O)/f.height;g=In(p,y),v=In(p,b)}else{var x=p.total*this.heightOracle.charWidth,w=i*this.heightOracle.charWidth,T=void 0,C=void 0;if(null!=m){var E=Ln(p,m),A=((this.pixelViewport.right-this.pixelViewport.left)/2+w)/x;T=E-A,C=E+A}else T=(this.pixelViewport.left-w)/x,C=(this.pixelViewport.right+w)/x;g=In(p,T),v=In(p,C)}g>f.from&&u(f.from,g,f,p),v<f.to&&u(v,f.to,f,p)}}}}catch(P){h.e(P)}finally{h.f()}return l}},{key:"gapSize",value:function(e,t,n,r){var i=Ln(r,n)-Ln(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}},{key:"updateLineGaps",value:function(e){var t=this;Nn.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Se.set(e.map((function(e){return e.draw(t.heightOracle.lineWrapping)}))))}},{key:"computeVisibleRanges",value:function(){var e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));var t=[];d.Xs.spans(e,this.viewport.from,this.viewport.to,{span:function(e,n){t.push({from:e,to:n})},point:function(){}},20);var n=t.length!=this.visibleRanges.length||this.visibleRanges.some((function(e,n){return e.from!=t[n].from||e.to!=t[n].to}));return this.visibleRanges=t,n?4:0}},{key:"lineBlockAt",value:function(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((function(t){return t.from<=e&&t.to>=e}))||jn(this.heightMap.lineAt(e,kn.ByPos,this.heightOracle,0,0),this.scaler)}},{key:"lineBlockAtHeight",value:function(e){return jn(this.heightMap.lineAt(this.scaler.fromDOM(e),kn.ByHeight,this.heightOracle,0,0),this.scaler)}},{key:"scrollAnchorAt",value:function(e){var t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}},{key:"elementAtHeight",value:function(e){return jn(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}},{key:"docHeight",get:function(){return this.scaler.toDOM(this.heightMap.height)}},{key:"contentHeight",get:function(){return this.docHeight+this.paddingTop+this.paddingBottom}}]),e}(),Mn=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.from=t,this.to=n}));function $n(e,t,n){var r=[],i=e,o=0;return d.Xs.spans(n,e,t,{span:function(){},point:function(e,t){e>i&&(r.push({from:i,to:e}),o+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),o+=t-i),{total:o,ranges:r}}function In(e,t){var n=e.total,r=e.ranges;if(t<=0)return r[0].from;if(t>=1)return r[r.length-1].to;for(var i=Math.floor(n*t),o=0;;o++){var a=r[o],s=a.from,l=a.to-s;if(i<=l)return s+i;i-=l}}function Ln(e,t){var n,r=0,i=(0,c.Z)(e.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o.from,s=o.to;if(t<=s){r+=t-a;break}r+=s-a}}catch(l){i.e(l)}finally{i.f()}return r/e.total}var Fn={toDOM:function(e){return e},fromDOM:function(e){return e},scale:1},Bn=function(){function e(t,n,r){(0,h.Z)(this,e);var i=0,o=0,a=0;this.viewports=r.map((function(e){var r=e.from,o=e.to,a=n.lineAt(r,kn.ByPos,t,0,0).top,s=n.lineAt(o,kn.ByPos,t,0,0).bottom;return i+=s-a,{from:r,to:o,top:a,bottom:s,domTop:0,domBottom:0}})),this.scale=(7e6-i)/(n.height-i);var s,l=(0,c.Z)(this.viewports);try{for(l.s();!(s=l.n()).done;){var u=s.value;u.domTop=a+(u.top-o)*this.scale,a=u.domBottom=u.domTop+(u.bottom-u.top),o=u.bottom}}catch(f){l.e(f)}finally{l.f()}}return(0,f.Z)(e,[{key:"toDOM",value:function(e){for(var t=0,n=0,r=0;;t++){var i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}},{key:"fromDOM",value:function(e){for(var t=0,n=0,r=0;;t++){var i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}}]),e}();function jn(e,t){if(1==t.scale)return e;var n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new bn(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map((function(e){return jn(e,t)})):e._content)}var zn=d.r$.define({combine:function(e){return e.join(" ")}}),Un=d.r$.define({combine:function(e){return e.indexOf(!0)>-1}}),Yn=p.V.newName(),Xn=p.V.newName(),Hn=p.V.newName(),Wn={"&light":"."+Xn,"&dark":"."+Hn};function qn(e,t,n){return new p.V(t,{finish:function(t){return/&/.test(t)?t.replace(/&\w*/,(function(t){if("&"==t)return e;if(!n||!n[t])throw new RangeError("Unsupported selector: ".concat(t));return n[t]})):e+" "+t}})}var Gn=qn("."+Yn,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Wn),Vn=(0,f.Z)((function e(t,n,r,i){(0,h.Z)(this,e),this.typeOver=i,this.bounds=null,this.text="";var o=t.docView,a=o.impreciseHead,s=o.impreciseAnchor;if(t.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=t.docView.domBoundsAround(n,r,0))){var l=a||s?[]:function(e){var t=[];if(e.root.activeElement!=e.contentDOM)return t;var n=e.observer.selectionRange,r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;r&&(t.push(new q(r,i)),o==r&&a==i||t.push(new q(o,a)));return t}(t),u=new H(l,t.state);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=function(e,t){if(0==e.length)return null;var n=e[0].pos,r=2==e.length?e[1].pos:n;return n>-1&&r>-1?d.jT.single(n+t,r+t):null}(l,this.bounds.from)}else{var c=t.observer.selectionRange,f=a&&a.node==c.focusNode&&a.offset==c.focusOffset||!S(t.contentDOM,c.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(c.focusNode,c.focusOffset),p=s&&s.node==c.anchorNode&&s.offset==c.anchorOffset||!S(t.contentDOM,c.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(c.anchorNode,c.anchorOffset);this.newSel=d.jT.single(p,f)}}));function Jn(e,t){var n,r=t.newSel,i=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){var a=t.bounds,s=a.from,l=a.to,u=i.from,c=null;(8===o||se.android&&t.text.length<l-s)&&(u=i.to,c="end");var h=function(e,t,n,r){var i=Math.min(e.length,t.length),o=0;for(;o<i&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==i&&e.length==t.length)return null;var a=e.length,s=t.length;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;if("end"==r){n-=a+Math.max(0,o-Math.min(a,s))-o}if(a<o&&e.length<t.length){s=(o-=n<=o&&n>=a?o-n:0)+(s-a),a=o}else if(s<o){a=(o-=n<=o&&n>=s?o-n:0)+(a-s),s=o}return{from:o,toA:a,toB:s}}(e.state.doc.sliceString(s,l,X),t.text,u-s,c);h&&(se.chrome&&13==o&&h.toB==h.from+2&&t.text.slice(h.from,h.toB)==X+X&&h.toB--,n={from:s+h.from,to:s+h.toA,insert:d.xv.of(t.text.slice(h.from,h.toB).split(X))})}else r&&(!e.hasFocus&&e.state.facet(Ye)||r.main.eq(i))&&(r=null);if(!n&&!r)return!1;if(!n&&t.typeOver&&!i.empty&&r&&r.main.empty?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,i.to)}:n&&n.from>=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:(se.mac||se.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=d.jT.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:d.xv.of([" "])}):se.chrome&&n&&n.from==n.to&&n.from==i.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=d.jT.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:d.xv.of([" "])}),n){var f=e.state;if(se.ios&&e.inputState.flushIOSKey(e))return!0;if(se.android&&(n.from==i.from&&n.to==i.to&&1==n.insert.length&&2==n.insert.lines&&M(e.contentDOM,"Enter",13)||(n.from==i.from-1&&n.to==i.to&&0==n.insert.length||8==o&&n.insert.length<n.to-n.from)&&M(e.contentDOM,"Backspace",8)||n.from==i.from&&n.to==i.to+1&&0==n.insert.length&&M(e.contentDOM,"Delete",46)))return!0;var p,m=n.insert.toString();if(e.state.facet(Ie).some((function(t){return t(e,n.from,n.to,m)})))return!0;if(e.inputState.composing>=0&&e.inputState.composing++,n.from>=i.from&&n.to<=i.to&&n.to-n.from>=(i.to-i.from)/3&&(!r||r.main.empty&&r.main.from==n.from+n.insert.length)&&e.inputState.composing<0){var g=i.from<n.from?f.sliceDoc(i.from,n.from):"",v=i.to>n.to?f.sliceDoc(n.to,i.to):"";p=f.replaceSelection(e.state.toText(g+n.insert.sliceString(0,void 0,e.state.lineBreak)+v))}else{var O=f.changes(n),y=r&&r.main.to<=O.newLength?r.main:void 0;if(f.selection.ranges.length>1&&e.inputState.composing>=0&&n.to<=i.to&&n.to>=i.to-10){var b=e.state.sliceDoc(n.from,n.to),k=At(e)||e.state.doc.lineAt(i.head),S=i.to-n.to,x=i.to-i.from;p=f.changeByRange((function(t){if(t.from==i.from&&t.to==i.to)return{changes:O,range:y||t.map(O)};var r=t.to-S,o=r-b.length;if(t.to-t.from!=x||e.state.sliceDoc(o,r)!=b||k&&t.to>=k.from&&t.from<=k.to)return{range:t};var a=f.changes({from:o,to:r,insert:n.insert}),s=t.to-i.to;return{changes:a,range:y?d.jT.range(Math.max(0,y.anchor+s),Math.max(0,y.head+s)):t.map(a)}}))}else p={changes:O,selection:y&&f.selection.replaceRange(y)}}var w="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,w+=".compose",e.inputState.compositionFirstChange&&(w+=".start",e.inputState.compositionFirstChange=!1)),e.dispatch(p,{scrollIntoView:!0,userEvent:w}),!0}if(r&&!r.main.eq(i)){var T=!1,C="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(T=!0),C=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:T,userEvent:C}),!0}return!1}var Kn={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},er=se.ie&&se.ie_version<=11,tr=function(){function e(t){var n=this;(0,h.Z)(this,e),this.view=t,this.active=!1,this.selectionRange=new Z,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((function(e){var r,i=(0,c.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;n.queue.push(o)}}catch(a){i.e(a)}finally{i.f()}(se.ie&&se.ie_version<=11||se.ios&&t.composing)&&e.some((function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length}))?n.flushSoon():n.flush()})),er&&(this.onCharData=function(e){n.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),n.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver((function(){var e;(null===(e=n.view.docView)||void 0===e?void 0:e.lastUpdate)<Date.now()-75&&n.onResize()})),this.resizeScroll.observe(t.scrollDOM),this.resizeContent=new ResizeObserver((function(){return n.view.requestMeasure()})),this.resizeContent.observe(t.contentDOM)),this.addWindowListeners(this.win=t.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((function(e){n.parentCheck<0&&(n.parentCheck=setTimeout(n.listenForScroll.bind(n),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=n.intersecting&&(n.intersecting=!n.intersecting,n.intersecting!=n.view.inView&&n.onScrollChanged(document.createEvent("Event")))}),{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((function(e){e.length>0&&e[e.length-1].intersectionRatio>0&&n.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}return(0,f.Z)(e,[{key:"onScrollChanged",value:function(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}},{key:"onScroll",value:function(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}},{key:"onResize",value:function(){var e=this;this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((function(){e.resizeTimeout=-1,e.view.requestMeasure()}),50))}},{key:"onPrint",value:function(){var e=this;this.view.viewState.printing=!0,this.view.measure(),setTimeout((function(){e.view.viewState.printing=!1,e.view.requestMeasure()}),500)}},{key:"updateGaps",value:function(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((function(t,n){return t!=e[n]})))){this.gapIntersection.disconnect();var t,n=(0,c.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.gapIntersection.observe(r)}}catch(i){n.e(i)}finally{n.f()}this.gaps=e}}},{key:"onSelectionChange",value:function(e){var t=this.selectionChanged;if(this.readSelectionRange()&&!this.delayedAndroidKey){var n=this.view,r=this.selectionRange;if(n.state.facet(Ye)?n.root.activeElement==this.dom:x(n.dom,r)){var i=r.anchorNode&&n.docView.nearest(r.anchorNode);i&&i.ignoreEvent(e)?t||(this.selectionChanged=!1):(se.ie&&se.ie_version<=11||se.android&&se.chrome)&&!n.state.selection.main.empty&&r.focusNode&&T(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}}}},{key:"readSelectionRange",value:function(){var e=this.view,t=se.safari&&11==e.root.nodeType&&function(e){for(var t=e.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e){var t=null;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}if(e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),!t)return null;var r=t.startContainer,i=t.startOffset,o=t.endContainer,a=t.endOffset,s=e.docView.domAtPos(e.state.selection.main.anchor);if(T(s.node,s.offset,o,a)){var l=[o,a,r,i];r=l[0],i=l[1],o=l[2],a=l[3]}return{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:a}}(this.view)||k(e.root);if(!t||this.selectionRange.eq(t))return!1;var n=x(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){var n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(r=Math.min(r,A(n));;)if(r){if(1!=n.nodeType)return!1;var i=n.childNodes[r-1];"false"==i.contentEditable?r--:r=A(n=i)}else{if(n==e)return!0;r=C(n),n=n.parentNode}}(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}},{key:"setSelectionRange",value:function(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}},{key:"clearSelectionRange",value:function(){this.selectionRange.set(null,0,null,0)}},{key:"listenForScroll",value:function(){this.parentCheck=-1;for(var e=0,t=null,n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){var r,i=(0,c.Z)(this.scrollTargets);try{for(i.s();!(r=i.n()).done;){r.value.removeEventListener("scroll",this.onScroll)}}catch(s){i.e(s)}finally{i.f()}var o,a=(0,c.Z)(this.scrollTargets=t);try{for(a.s();!(o=a.n()).done;){o.value.addEventListener("scroll",this.onScroll)}}catch(s){a.e(s)}finally{a.f()}}}},{key:"ignore",value:function(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}},{key:"start",value:function(){this.active||(this.observer.observe(this.dom,Kn),er&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}},{key:"stop",value:function(){this.active&&(this.active=!1,this.observer.disconnect(),er&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}},{key:"clear",value:function(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}},{key:"delayAndroidKey",value:function(e,t){var n,r=this;if(!this.delayedAndroidKey){this.flushingAndroidKey=this.view.win.requestAnimationFrame((function(){var e=r.delayedAndroidKey;e&&(r.clearDelayedAndroidKey(),r.view.inputState.lastKeyCode=e.keyCode,r.view.inputState.lastKeyTime=Date.now(),!r.flush()&&e.force&&M(r.dom,e.key,e.keyCode))}))}this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}},{key:"clearDelayedAndroidKey",value:function(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}},{key:"flushSoon",value:function(){var e=this;this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((function(){e.delayedFlush=-1,e.flush()})))}},{key:"forceFlush",value:function(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}},{key:"pendingRecords",value:function(){var e,t=(0,c.Z)(this.observer.takeRecords());try{for(t.s();!(e=t.n()).done;){var n=e.value;this.queue.push(n)}}catch(r){t.e(r)}finally{t.f()}return this.queue}},{key:"processRecords",value:function(){var e=this.pendingRecords();e.length&&(this.queue=[]);var t,n=-1,r=-1,i=!1,o=(0,c.Z)(e);try{for(o.s();!(t=o.n()).done;){var a=t.value,s=this.readMutation(a);s&&(s.typeOver&&(i=!0),-1==n?(n=s.from,r=s.to):(n=Math.min(s.from,n),r=Math.max(s.to,r)))}}catch(l){o.e(l)}finally{o.f()}return{from:n,to:r,typeOver:i}}},{key:"readChange",value:function(){var e=this.processRecords(),t=e.from,n=e.to,r=e.typeOver,i=this.selectionChanged&&x(this.dom,this.selectionRange);return t<0&&!i?null:(t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new Vn(this.view,t,n,r))}},{key:"flush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();var t=this.readChange();if(!t)return!1;var n=this.view.state,r=Jn(this.view,t);return this.view.state==n&&this.view.update([]),r}},{key:"readMutation",value:function(e){var t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){var n=nr(t,e.previousSibling||e.target.previousSibling,-1),r=nr(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}},{key:"setWindow",value:function(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}},{key:"addWindowListeners",value:function(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"removeWindowListeners",value:function(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"destroy",value:function(){var e,t,n,r;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resizeScroll)||void 0===n||n.disconnect(),null===(r=this.resizeContent)||void 0===r||r.disconnect();var i,o=(0,c.Z)(this.scrollTargets);try{for(o.s();!(i=o.n()).done;){i.value.removeEventListener("scroll",this.onScroll)}}catch(a){o.e(a)}finally{o.f()}this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}]),e}();function nr(e,t,n){for(;t;){var r=B.get(t);if(r&&r.parent==e)return r;var i=t.parentNode;t=i!=e.dom?i:n>0?t.nextSibling:t.previousSibling}return null}var rr=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,h.Z)(this,e),this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=n.dispatch||function(e){return t.update([e])},this.dispatch=this.dispatch.bind(this),this._root=n.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(n.parent)||document,this.viewState=new Rn(n.state||d.yy.create(n)),this.plugins=this.state.facet(He).map((function(e){return new qe(e)}));var r,i=(0,c.Z)(this.plugins);try{for(i.s();!(r=i.n()).done;){r.value.update(this)}}catch(o){i.e(o)}finally{i.f()}this.observer=new tr(this),this.inputState=new Ut(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Ct(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),n.parent&&n.parent.appendChild(this.dom)}return(0,f.Z)(e,[{key:"state",get:function(){return this.viewState.state}},{key:"viewport",get:function(){return this.viewState.viewport}},{key:"visibleRanges",get:function(){return this.viewState.visibleRanges}},{key:"inView",get:function(){return this.viewState.inView}},{key:"composing",get:function(){return this.inputState.composing>0}},{key:"compositionStarted",get:function(){return this.inputState.composing>=0}},{key:"root",get:function(){return this._root}},{key:"win",get:function(){return this.dom.ownerDocument.defaultView||window}},{key:"dispatch",value:function(){var e,t=1==arguments.length&&(arguments.length<=0?void 0:arguments[0])instanceof d.YW?arguments.length<=0?void 0:arguments[0]:(e=this.state).update.apply(e,arguments);this._dispatch(t,this)}},{key:"update",value:function(e){var t=this;if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");var n,r,i=!1,o=!1,a=this.state,s=(0,c.Z)(e);try{for(s.s();!(r=s.n()).done;){var l=r.value;if(l.startState!=a)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");a=l.state}}catch(C){s.e(C)}finally{s.f()}if(this.destroyed)this.viewState.state=a;else{var u=this.hasFocus,h=0,f=null;e.some((function(e){return e.annotation(pn)}))?(this.inputState.notifiedFocused=u,h=1):u!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=u,(f=mn(a,u))||(h=1));var p=this.observer.delayedAndroidKey,m=null;if(p?(this.observer.clearDelayedAndroidKey(),((m=this.observer.readChange())&&!this.state.doc.eq(a.doc)||!this.state.selection.eq(a.selection))&&(m=null)):this.observer.clear(),a.facet(d.yy.phrases)!=this.state.facet(d.yy.phrases))return this.setState(a);n=it.create(this,a,e),n.flags|=h;var g=this.viewState.scrollTarget;try{this.updateState=2;var v,O=(0,c.Z)(e);try{for(O.s();!(v=O.n()).done;){var y=v.value;if(g&&(g=g.map(y.changes)),y.scrollIntoView){var b=y.state.selection.main;g=new je(b.empty?b:d.jT.cursor(b.head,b.head>b.anchor?-1:1))}var k,S=(0,c.Z)(y.effects);try{for(S.s();!(k=S.n()).done;){var x=k.value;x.is(ze)&&(g=x.value)}}catch(C){S.e(C)}finally{S.f()}}}catch(C){O.e(C)}finally{O.f()}this.viewState.update(n,g),this.bidiCache=ar.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),i=this.docView.update(n),this.state.facet(nt)!=this.styleModules&&this.mountStyles(),o=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some((function(e){return e.isUserEvent("select.pointer")})))}finally{this.updateState=0}if(n.startState.facet(zn)!=n.state.facet(zn)&&(this.viewState.mustMeasureContent=!0),(i||o||g||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!n.empty){var w,T=(0,c.Z)(this.state.facet($e));try{for(T.s();!(w=T.n()).done;){(0,w.value)(n)}}catch(C){T.e(C)}finally{T.f()}}(f||m)&&Promise.resolve().then((function(){f&&t.state==f.startState&&t.dispatch(f),m&&!Jn(t,m)&&p.force&&M(t.contentDOM,p.key,p.keyCode)}))}}},{key:"setState",value:function(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)this.viewState.state=e;else{this.updateState=2;var t=this.hasFocus;try{var n,r=(0,c.Z)(this.plugins);try{for(r.s();!(n=r.n()).done;){n.value.destroy(this)}}catch(a){r.e(a)}finally{r.f()}this.viewState=new Rn(e),this.plugins=e.facet(He).map((function(e){return new qe(e)})),this.pluginMap.clear();var i,o=(0,c.Z)(this.plugins);try{for(o.s();!(i=o.n()).done;){i.value.update(this)}}catch(a){o.e(a)}finally{o.f()}this.docView=new Ct(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}}},{key:"updatePlugins",value:function(e){var t=e.startState.facet(He),n=e.state.facet(He);if(t!=n){var r,i=[],o=(0,c.Z)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=t.indexOf(a);if(s<0)i.push(new qe(a));else{var l=this.plugins[s];l.mustUpdate=e,i.push(l)}}}catch(g){o.e(g)}finally{o.f()}var u,h=(0,c.Z)(this.plugins);try{for(h.s();!(u=h.n()).done;){var f=u.value;f.mustUpdate!=e&&f.destroy(this)}}catch(g){h.e(g)}finally{h.f()}this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else{var d,p=(0,c.Z)(this.plugins);try{for(p.s();!(d=p.n()).done;){d.value.mustUpdate=e}}catch(g){p.e(g)}finally{p.f()}}for(var m=0;m<this.plugins.length;m++)this.plugins[m].update(this)}},{key:"measure",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.destroyed){this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.forceFlush();var n=null,r=this.scrollDOM,i=r.scrollTop,o=this.viewState,a=o.scrollAnchorPos,s=o.scrollAnchorHeight;i!=this.viewState.scrollTop&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(var l=0;;l++){if(s<0)if(I(r))a=-1,s=this.viewState.heightMap.height;else{var u=this.viewState.scrollAnchorAt(i);a=u.from,s=u.top}this.updateState=1;var h=this.viewState.measure(this);if(!h&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}var f=[];if(!(4&h)){var d=[f,this.measureRequests];this.measureRequests=d[0],f=d[1]}var p=f.map((function(t){try{return t.read(e)}catch(n){return Ue(e.state,n),or}})),m=it.create(this,this.state,[]),g=!1;m.flags|=h,n?n.flags|=h:n=m,this.updateState=2,m.empty||(this.updatePlugins(m),this.inputState.update(m),this.updateAttrs(),g=this.docView.update(m));for(var v=0;v<f.length;v++)if(p[v]!=or)try{var O=f[v];O.write&&O.write(p[v],this)}catch(S){Ue(this.state,S)}if(g&&this.docView.updateSelection(!0),!m.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null;continue}var y=(a<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(a).top)-s;if(y>1||y<-1){i=r.scrollTop=i+y,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty){var b,k=(0,c.Z)(this.state.facet($e));try{for(k.s();!(b=k.n()).done;){(0,b.value)(n)}}catch(x){k.e(x)}finally{k.f()}}}}},{key:"themeClasses",get:function(){return Yn+" "+(this.state.facet(Un)?Hn:Xn)+" "+this.state.facet(zn)}},{key:"updateAttrs",value:function(){var e=this,t=sr(this,Ge,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Ye)?"true":"false",class:"cm-content",style:"".concat(se.tabSize,": ").concat(this.state.tabSize),role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),sr(this,Ve,n);var r=this.observer.ignore((function(){var r=Oe(e.contentDOM,e.contentAttrs,n),i=Oe(e.dom,e.editorAttrs,t);return r||i}));return this.editorAttrs=t,this.contentAttrs=n,r}},{key:"showAnnouncements",value:function(t){var n,r=!0,i=(0,c.Z)(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,s=(0,c.Z)(a.effects);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(l.is(e.announce))r&&(this.announceDOM.textContent=""),r=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=l.value}}catch(u){s.e(u)}finally{s.f()}}}catch(u){i.e(u)}finally{i.f()}}},{key:"mountStyles",value:function(){this.styleModules=this.state.facet(nt),p.V.mount(this.root,this.styleModules.concat(Gn).reverse())}},{key:"readMeasured",value:function(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}},{key:"requestMeasure",value:function(e){var t=this;if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((function(){return t.measure()}))),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(var n=0;n<this.measureRequests.length;n++)if(this.measureRequests[n].key===e.key)return void(this.measureRequests[n]=e);this.measureRequests.push(e)}}},{key:"plugin",value:function(e){var t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((function(t){return t.spec==e}))||null),t&&t.update(this).value}},{key:"documentTop",get:function(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}},{key:"documentPadding",get:function(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}},{key:"elementAtHeight",value:function(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}},{key:"lineBlockAtHeight",value:function(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}},{key:"viewportLineBlocks",get:function(){return this.viewState.viewportLines}},{key:"lineBlockAt",value:function(e){return this.viewState.lineBlockAt(e)}},{key:"contentHeight",get:function(){return this.viewState.contentHeight}},{key:"moveByChar",value:function(e,t,n){return zt(this,e,Bt(this,e,t,n))}},{key:"moveByGroup",value:function(e,t){var n=this;return zt(this,e,Bt(this,e,t,(function(t){return function(e,t,n){var r=e.state.charCategorizer(t),i=r(n);return function(e){var t=r(e);return i==d.D0.Space&&(i=t),i==t}}(n,e.head,t)})))}},{key:"moveToLineBoundary",value:function(e,t){return function(e,t,n,r){var i=Ft(e,t.head),o=r&&i.type==ke.Text&&(e.lineWrapping||i.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(o){var a=e.dom.getBoundingClientRect(),s=e.textDirectionAt(i.from),l=e.posAtCoords({x:n==(s==ot.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(null!=l)return d.jT.cursor(l,n?-1:1)}return d.jT.cursor(n?i.to:i.from,n?-1:1)}(this,e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}},{key:"moveVertically",value:function(e,t,n){return zt(this,e,function(e,t,n,r){var i=t.head,o=n?1:-1;if(i==(n?e.state.doc.length:0))return d.jT.cursor(i,t.assoc);var a,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),u=e.coordsAtPos(i),c=e.documentTop;if(u)null==s&&(s=u.left-l.left),a=o<0?u.top:u.bottom;else{var h=e.viewState.lineBlockAt(i);null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(i-h.from))),a=(o<0?h.top:h.bottom)+c}for(var f=l.left+s,p=null!==r&&void 0!==r?r:e.viewState.heightOracle.textHeight>>1,m=0;;m+=10){var g=a+(p+m)*o,v=It(e,{x:f,y:g},!1,o);if(g<l.top||g>l.bottom||(o<0?v<i:v>i))return d.jT.cursor(v,t.assoc,void 0,s)}}(this,e,t,n))}},{key:"domAtPos",value:function(e){return this.docView.domAtPos(e)}},{key:"posAtDOM",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.docView.posFromDOM(e,t)}},{key:"posAtCoords",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.readMeasured(),It(this,e,t)}},{key:"coordsAtPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.readMeasured();var n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;var r=this.state.doc.lineAt(e),i=this.bidiSpans(r);return P(n,i[bt.find(i,e-r.from,-1,t)].dir==ot.LTR==t>0)}},{key:"coordsForChar",value:function(e){return this.readMeasured(),this.docView.coordsForChar(e)}},{key:"defaultCharacterWidth",get:function(){return this.viewState.heightOracle.charWidth}},{key:"defaultLineHeight",get:function(){return this.viewState.heightOracle.lineHeight}},{key:"textDirection",get:function(){return this.viewState.defaultTextDirection}},{key:"textDirectionAt",value:function(e){return!this.state.facet(Fe)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}},{key:"lineWrapping",get:function(){return this.viewState.heightOracle.lineWrapping}},{key:"bidiSpans",value:function(e){if(e.length>ir)return xt(e.length);var t,n=this.textDirectionAt(e.from),r=(0,c.Z)(this.bidiCache);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.from==e.from&&i.dir==n)return i.order}}catch(a){r.e(a)}finally{r.f()}var o=St(e.text,n);return this.bidiCache.push(new ar(e.from,e.to,n,o)),o}},{key:"hasFocus",get:function(){var e;return(this.dom.ownerDocument.hasFocus()||se.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}},{key:"focus",value:function(){var e=this;this.observer.ignore((function(){Q(e.contentDOM),e.docView.updateSelection()}))}},{key:"setRoot",value:function(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.plugins);try{for(t.s();!(e=t.n()).done;){e.value.destroy(this)}}catch(n){t.e(n)}finally{t.f()}this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}}],[{key:"scrollIntoView",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ze.of(new je("number"==typeof e?d.jT.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}},{key:"domEventHandlers",value:function(e){return We.define((function(){return{}}),{eventHandlers:e})}},{key:"theme",value:function(e,t){var n=p.V.newName(),r=[zn.of(n),nt.of(qn(".".concat(n),e))];return t&&t.dark&&r.push(Un.of(!0)),r}},{key:"baseTheme",value:function(e){return d.Wl.lowest(nt.of(qn("."+Yn,e,Wn)))}},{key:"findFromDOM",value:function(e){var t,n=e.querySelector(".cm-content"),r=n&&B.get(n)||B.get(e);return(null===(t=null===r||void 0===r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}]),e}();rr.styleModule=nt,rr.inputHandler=Ie,rr.focusChangeEffect=Le,rr.perLineTextDirection=Fe,rr.exceptionSink=Me,rr.updateListener=$e,rr.editable=Ye,rr.mouseSelectionStyle=Re,rr.dragMovesSelection=Qe,rr.clickAddsSelectionRange=Ne,rr.decorations=Je,rr.atomicRanges=Ke,rr.scrollMargins=et,rr.darkTheme=Un,rr.contentAttributes=Ve,rr.editorAttributes=Ge,rr.lineWrapping=rr.contentAttributes.of({class:"cm-lineWrapping"}),rr.announce=d.Py.define();var ir=4096,or={},ar=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.from=t,this.to=n,this.dir=r,this.order=i}return(0,f.Z)(e,null,[{key:"update",value:function(t,n){if(n.empty)return t;for(var r=[],i=t.length?t[t.length-1].dir:ot.LTR,o=Math.max(0,t.length-10);o<t.length;o++){var a=t[o];a.dir!=i||n.touchesRange(a.from,a.to)||r.push(new e(n.mapPos(a.from,1),n.mapPos(a.to,-1),a.dir,a.order))}return r}}]),e}();function sr(e,t,n){for(var r=e.state.facet(t),i=r.length-1;i>=0;i--){var o=r[i],a="function"==typeof o?o(e):o;a&&me(a,n)}return n}var lr=se.mac?"mac":se.windows?"win":se.linux?"linux":"key";function ur(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}var cr=d.Wl.default(rr.domEventHandlers({keydown:function(e,t){return vr(dr(t.state),e,t,"editor")}})),hr=d.r$.define({enables:cr}),fr=new WeakMap;function dr(e){var t=e.facet(hr),n=fr.get(t);return n||fr.set(t,n=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lr,r=Object.create(null),i=Object.create(null),o=function(e,t){var n=i[e];if(null==n)i[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},a=function(e,t,i,a,s){for(var l,u,c=r[e]||(r[e]=Object.create(null)),h=t.split(/ (?!$)/).map((function(e){return function(e,t){var n,r,i,o,a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(var l=0;l<a.length-1;++l){var u=a[l];if(/^(cmd|meta|m)$/i.test(u))o=!0;else if(/^a(lt)?$/i.test(u))n=!0;else if(/^(c|ctrl|control)$/i.test(u))r=!0;else if(/^s(hift)?$/i.test(u))i=!0;else{if(!/^mod$/i.test(u))throw new Error("Unrecognized modifier name: "+u);"mac"==t?o=!0:r=!0}}return n&&(s="Alt-"+s),r&&(s="Ctrl-"+s),o&&(s="Meta-"+s),i&&(s="Shift-"+s),s}(e,n)})),f=function(){var t=h.slice(0,d).join(" ");o(t,!0),c[t]||(c[t]={preventDefault:!0,stopPropagation:!1,run:[function(n){var r=mr={view:n,prefix:t,scope:e};return setTimeout((function(){mr==r&&(mr=null)}),gr),!0}]})},d=1;d<h.length;d++)f();var p=h.join(" ");o(p,!1);var m=c[p]||(c[p]={preventDefault:!1,stopPropagation:!1,run:(null===(u=null===(l=c._any)||void 0===l?void 0:l.run)||void 0===u?void 0:u.slice())||[]});i&&m.run.push(i),a&&(m.preventDefault=!0),s&&(m.stopPropagation=!0)},s=(0,c.Z)(e);try{for(s.s();!(t=s.n()).done;){var l=t.value,u=l.scope?l.scope.split(" "):["editor"];if(l.any){var h,f=(0,c.Z)(u);try{for(f.s();!(h=f.n()).done;){var d=h.value,p=r[d]||(r[d]=Object.create(null));for(var m in p._any||(p._any={preventDefault:!1,stopPropagation:!1,run:[]}),p)p[m].run.push(l.any)}}catch(b){f.e(b)}finally{f.f()}}var g=l[n]||l.key;if(g){var v,O=(0,c.Z)(u);try{for(O.s();!(v=O.n()).done;){var y=v.value;a(y,g,l.run,l.preventDefault,l.stopPropagation),l.shift&&a(y,"Shift-"+g,l.shift,l.preventDefault,l.stopPropagation)}}catch(b){O.e(b)}finally{O.f()}}}}catch(b){s.e(b)}finally{s.f()}return r}(t.reduce((function(e,t){return e.concat(t)}),[]))),n}function pr(e,t,n){return vr(dr(e.state),t,e,n)}var mr=null,gr=4e3;function vr(e,t,n,r){var i=function(e){var t=!(v&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||O&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?g:m)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),o=(0,d.gm)(i,0),a=(0,d.nZ)(o)==i.length&&" "!=i,s="",l=!1,u=!1,h=!1;mr&&mr.view==n&&mr.scope==r&&(s=mr.prefix+" ",Ht.indexOf(t.keyCode)<0&&(u=!0,mr=null));var f,p,y=new Set,b=function(e){if(e){var r,i=(0,c.Z)(e.run);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(!y.has(o)&&(y.add(o),o(n,t)))return e.stopPropagation&&(h=!0),!0}}catch(a){i.e(a)}finally{i.f()}e.preventDefault&&(e.stopPropagation&&(h=!0),u=!0)}return!1},k=e[r];return k&&(b(k[s+ur(i,t,!a)])?l=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(se.windows&&t.ctrlKey&&t.altKey)&&(f=m[t.keyCode])&&f!=i?(b(k[s+ur(f,t,!0)])||t.shiftKey&&(p=g[t.keyCode])!=i&&p!=f&&b(k[s+ur(p,t,!1)]))&&(l=!0):a&&t.shiftKey&&b(k[s+ur(i,t,!0)])&&(l=!0),!l&&b(k._any)&&(l=!0)),u&&(l=!0),l&&h&&t.stopPropagation(),l}var Or=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.className=t,this.left=n,this.top=r,this.width=i,this.height=o}return(0,f.Z)(e,[{key:"draw",value:function(){var e=document.createElement("div");return e.className=this.className,this.adjust(e),e}},{key:"update",value:function(e,t){return t.className==this.className&&(this.adjust(e),!0)}},{key:"adjust",value:function(e){e.style.left=this.left+"px",e.style.top=this.top+"px",null!=this.width&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}},{key:"eq",value:function(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}}],[{key:"forRange",value:function(t,n,r){if(r.empty){var i=t.coordsAtPos(r.head,r.assoc||1);if(!i)return[];var o=yr(t);return[new e(n,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}return kr(t,n,r)}}]),e}();function yr(e){var t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==ot.LTR?t.left:t.right-e.scrollDOM.clientWidth)-e.scrollDOM.scrollLeft,top:t.top-e.scrollDOM.scrollTop}}function br(e,t,n){var r=d.jT.cursor(t);return{from:Math.max(n.from,e.moveToLineBoundary(r,!1,!0).from),to:Math.min(n.to,e.moveToLineBoundary(r,!0,!0).from),type:ke.Text}}function kr(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];var r=Math.max(n.from,e.viewport.from),i=Math.min(n.to,e.viewport.to),o=e.textDirection==ot.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=yr(e),u=a.querySelector(".cm-line"),h=u&&window.getComputedStyle(u),f=s.left+(h?parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)):0),d=s.right-(h?parseInt(h.paddingRight):0),p=Ft(e,r),m=Ft(e,i),g=p.type==ke.Text?p:null,v=m.type==ke.Text?m:null;if(g&&(e.lineWrapping||p.widgetLineBreaks)&&(g=br(e,r,g)),v&&(e.lineWrapping||m.widgetLineBreaks)&&(v=br(e,i,v)),g&&v&&g.from==v.from)return S(x(n.from,n.to,g));var O=g?x(n.from,null,g):w(p,!1),y=v?x(null,n.to,v):w(m,!0),b=[];return(g||p).to<(v||m).from-(g&&v?1:0)||p.widgetLineBreaks>1&&O.bottom+e.defaultLineHeight/2<y.top?b.push(k(f,O.bottom,d,y.top)):O.bottom<y.top&&e.elementAtHeight((O.bottom+y.top)/2).type==ke.Text&&(O.bottom=y.top=(O.bottom+y.top)/2),S(O).concat(b).concat(S(y));function k(e,n,r,i){return new Or(t,e-l.left,n-l.top-.01,r-e,i-n+.01)}function S(e){for(var t=e.top,n=e.bottom,r=e.horizontal,i=[],o=0;o<r.length;o+=2)i.push(k(r[o],t,r[o+1],n));return i}function x(t,n,r){var i=1e9,a=-1e9,s=[];function l(t,n,l,u,c){var h=e.coordsAtPos(t,t==r.to?-2:2),p=e.coordsAtPos(l,l==r.from?2:-2);h&&p&&(i=Math.min(h.top,p.top,i),a=Math.max(h.bottom,p.bottom,a),c==ot.LTR?s.push(o&&n?f:h.left,o&&u?d:p.right):s.push(!o&&u?f:p.left,!o&&n?d:h.right))}var u,h=null!==t&&void 0!==t?t:r.from,p=null!==n&&void 0!==n?n:r.to,m=(0,c.Z)(e.visibleRanges);try{for(m.s();!(u=m.n()).done;){var g=u.value;if(g.to>h&&g.from<p)for(var v=Math.max(g.from,h),O=Math.min(g.to,p);;){var y,b=e.state.doc.lineAt(v),k=(0,c.Z)(e.bidiSpans(b));try{for(k.s();!(y=k.n()).done;){var S=y.value,x=S.from+b.from,w=S.to+b.from;if(x>=O)break;w>v&&l(Math.max(x,v),null==t&&x<=h,Math.min(w,O),null==n&&w>=p,S.dir)}}catch(T){k.e(T)}finally{k.f()}if((v=b.to+1)>=O)break}}}catch(T){m.e(T)}finally{m.f()}return 0==s.length&&l(h,null==t,p,null==n,e.textDirection),{top:i,bottom:a,horizontal:s}}function w(e,t){var n=s.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}var Sr=function(){function e(t,n){(0,h.Z)(this,e),this.view=t,this.layer=n,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,t)}return(0,f.Z)(e,[{key:"update",value:function(e){e.startState.facet(xr)!=e.state.facet(xr)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}},{key:"setOrder",value:function(e){for(var t=0,n=e.facet(xr);t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}},{key:"measure",value:function(){return this.layer.markers(this.view)}},{key:"draw",value:function(e){var t=this;if(e.length!=this.drawn.length||e.some((function(e,n){return r=e,i=t.drawn[n],!(r.constructor==i.constructor&&r.eq(i));var r,i}))){var n,r=this.dom.firstChild,i=0,o=(0,c.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;a.update&&r&&a.constructor&&this.drawn[i].constructor&&a.update(r,this.drawn[i])?(r=r.nextSibling,i++):this.dom.insertBefore(a.draw(),r)}}catch(l){o.e(l)}finally{o.f()}for(;r;){var s=r.nextSibling;r.remove(),r=s}this.drawn=e}}},{key:"destroy",value:function(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}]),e}(),xr=d.r$.define();function wr(e){return[We.define((function(t){return new Sr(t,e)})),xr.of(e)]}var Tr=!se.ios,Cr=d.r$.define({combine:function(e){return(0,d.BO)(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:function(e,t){return Math.min(e,t)},drawRangeCursor:function(e,t){return e||t}})}});function Er(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Cr.of(e),Pr,Dr,Nr,Be.of(!0)]}function Ar(e){return e.startState.facet(Cr)!=e.state.facet(Cr)}var Pr=wr({above:!0,markers:function(e){var t,n=e.state,r=n.facet(Cr),i=[],o=(0,c.Z)(n.selection.ranges);try{for(o.s();!(t=o.n()).done;){var a=t.value,s=a==n.selection.main;if(a.empty?!s||Tr:r.drawRangeCursor){var l,u=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",h=a.empty?a:d.jT.cursor(a.head,a.head>a.anchor?-1:1),f=(0,c.Z)(Or.forRange(e,u,h));try{for(f.s();!(l=f.n()).done;){var p=l.value;i.push(p)}}catch(m){f.e(m)}finally{f.f()}}}}catch(m){o.e(m)}finally{o.f()}return i},update:function(e,t){e.transactions.some((function(e){return e.selection}))&&(t.style.animationName="cm-blink"==t.style.animationName?"cm-blink2":"cm-blink");var n=Ar(e);return n&&_r(e.state,t),e.docChanged||e.selectionSet||n},mount:function(e,t){_r(t.state,e)},class:"cm-cursorLayer"});function _r(e,t){t.style.animationDuration=e.facet(Cr).cursorBlinkRate+"ms"}var Dr=wr({above:!1,markers:function(e){return e.state.selection.ranges.map((function(t){return t.empty?[]:Or.forRange(e,"cm-selectionBackground",t)})).reduce((function(e,t){return e.concat(t)}))},update:function(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||Ar(e)},class:"cm-selectionLayer"}),Zr={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Tr&&(Zr[".cm-line"].caretColor="transparent !important");var Nr=d.Wl.highest(rr.theme(Zr)),Qr=d.Py.define({map:function(e,t){return null==e?null:t.mapPos(e)}}),Rr=d.QQ.define({create:function(){return null},update:function(e,t){return null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((function(e,t){return t.is(Qr)?t.value:e}),e)}}),Mr=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}return(0,f.Z)(e,[{key:"update",value:function(e){var t,n=e.state.field(Rr);null==n?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Rr)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}},{key:"readPos",value:function(){var e=this.view.state.field(Rr),t=null!=e&&this.view.coordsAtPos(e);if(!t)return null;var n=this.view.scrollDOM.getBoundingClientRect();return{left:t.left-n.left+this.view.scrollDOM.scrollLeft,top:t.top-n.top+this.view.scrollDOM.scrollTop,height:t.bottom-t.top}}},{key:"drawCursor",value:function(e){this.cursor&&(e?(this.cursor.style.left=e.left+"px",this.cursor.style.top=e.top+"px",this.cursor.style.height=e.height+"px"):this.cursor.style.left="-100000px")}},{key:"destroy",value:function(){this.cursor&&this.cursor.remove()}},{key:"setDropPos",value:function(e){this.view.state.field(Rr)!=e&&this.view.dispatch({effects:Qr.of(e)})}}]),e}(),{eventHandlers:{dragover:function(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave:function(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend:function(){this.setDropPos(null)},drop:function(){this.setDropPos(null)}}});function $r(){return[Rr,Mr]}function Ir(e,t,n,r,i){t.lastIndex=0;for(var o,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;o=t.exec(a.value);)i(s+o.index,o)}var Lr=function(){function e(t){(0,h.Z)(this,e);var n=t.regexp,r=t.decoration,i=t.decorate,o=t.boundary,a=t.maxLength,s=void 0===a?1e3:a;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=function(e,t,n,r){return i(r,n,n+e[0].length,e,t)};else if("function"==typeof r)this.addMatch=function(e,t,n,i){var o=r(e,t,n);o&&i(n,n+e[0].length,o)};else{if(!r)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=function(e,t,n,i){return i(n,n+e[0].length,r)}}this.boundary=o,this.maxLength=s}return(0,f.Z)(e,[{key:"createDeco",value:function(e){var t,n=this,r=new d.f_,i=r.add.bind(r),o=(0,c.Z)(function(e,t){var n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;var r,i=[],o=(0,c.Z)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.from,l=a.to;s=Math.max(e.state.doc.lineAt(s).from,s-t),l=Math.min(e.state.doc.lineAt(l).to,l+t),i.length&&i[i.length-1].to>=s?i[i.length-1].to=l:i.push({from:s,to:l})}}catch(u){o.e(u)}finally{o.f()}return i}(e,this.maxLength));try{for(o.s();!(t=o.n()).done;){var a=t.value,s=a.from,l=a.to;Ir(e.state.doc,this.regexp,s,l,(function(t,r){return n.addMatch(r,e,t,i)}))}}catch(u){o.e(u)}finally{o.f()}return r.finish()}},{key:"updateDeco",value:function(e,t){var n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((function(t,i,o,a){a>e.view.viewport.from&&o<e.view.viewport.to&&(n=Math.min(o,n),r=Math.max(a,r))})),e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}},{key:"updateRange",value:function(e,t,n,r){var i,o=this,a=(0,c.Z)(e.visibleRanges);try{var s=function(){var a=i.value,s=Math.max(a.from,n),l=Math.min(a.to,r);if(l>s){var u=e.state.doc.lineAt(s),c=u.to<l?e.state.doc.lineAt(l):u,h=Math.max(a.from,u.from),f=Math.min(a.to,c.to);if(o.boundary){for(;s>u.from;s--)if(o.boundary.test(u.text[s-1-u.from])){h=s;break}for(;l<c.to;l++)if(o.boundary.test(c.text[l-c.from])){f=l;break}}var d,p=[],m=function(e,t,n){return p.push(n.range(e,t))};if(u==c)for(o.regexp.lastIndex=h-u.from;(d=o.regexp.exec(u.text))&&d.index<f-u.from;)o.addMatch(d,e,d.index+u.from,m);else Ir(e.state.doc,o.regexp,h,f,(function(t,n){return o.addMatch(n,e,t,m)}));t=t.update({filterFrom:h,filterTo:f,filter:function(e,t){return e<h||t>f},add:p})}};for(a.s();!(i=a.n()).done;)s()}catch(l){a.e(l)}finally{a.f()}return t}}]),e}(),Fr=null!=/x/.unicode?"gu":"g",Br=new RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]",Fr),jr={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},zr=null;var Ur=d.r$.define({combine:function(e){var t=(0,d.BO)(e,{render:null,specialChars:Br,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==zr&&"undefined"!=typeof document&&document.body){var t=document.body.style;zr=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return zr||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,Fr)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Fr)),t}});function Yr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Ur.of(e),Xr||(Xr=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.decorations=Se.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(Ur)),this.decorations=this.decorator.createDeco(t)}return(0,f.Z)(e,[{key:"makeDecorator",value:function(e){var t=this;return new Lr({regexp:e.specialChars,decoration:function(n,r,i){var o=r.state.doc,a=(0,d.gm)(n[0],0);if(9==a){var s=o.lineAt(i),l=r.state.tabSize,u=(0,d.IS)(s.text,l,i-s.from);return Se.replace({widget:new Wr((l-u%l)*t.view.defaultCharacterWidth)})}return t.decorationCache[a]||(t.decorationCache[a]=Se.replace({widget:new Hr(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}},{key:"update",value:function(e){var t=e.state.facet(Ur);e.startState.facet(Ur)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}}]),e}(),{decorations:function(e){return e.decorations}}))]}var Xr=null;var Hr=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this)).options=e,i.code=r,i}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.code==this.code}},{key:"toDOM",value:function(e){var t=function(e){return e>=32?"\u2022":10==e?"\u2424":String.fromCharCode(9216+e)}(this.code),n=e.state.phrase("Control character")+" "+(jr[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;var i=document.createElement("span");return i.textContent=t,i.title=n,i.setAttribute("aria-label",n),i.className="cm-specialChar",i}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be),Wr=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).width=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.width==this.width}},{key:"toDOM",value:function(){var e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be);function qr(){return Vr}var Gr=Se.line({class:"cm-activeLine"}),Vr=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.decorations=this.getDeco(t)}return(0,f.Z)(e,[{key:"update",value:function(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}},{key:"getDeco",value:function(e){var t,n=-1,r=[],i=(0,c.Z)(e.state.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=e.lineBlockAt(o.head);a.from>n&&(r.push(Gr.range(a.from)),n=a.from)}}catch(s){i.e(s)}finally{i.f()}return Se.set(r)}}]),e}(),{decorations:function(e){return e.decorations}}),Jr=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).content=e,r}return(0,f.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),"string"==typeof this.content?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}},{key:"coordsAt",value:function(e){var t=e.firstChild?w(e.firstChild):[];if(!t.length)return null;var n=window.getComputedStyle(e.parentNode),r=P(t[0],"rtl"!=n.direction),i=parseInt(n.lineHeight);return r.bottom-r.top>1.5*i?{left:r.left,right:r.right,top:r.top,bottom:r.top+i}:r}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be);function Kr(e){return We.fromClass(function(){function t(n){(0,h.Z)(this,t),this.view=n,this.placeholder=e?Se.set([Se.widget({widget:new Jr(e),side:1}).range(0)]):Se.none}return(0,f.Z)(t,[{key:"decorations",get:function(){return this.view.state.doc.length?Se.none:this.placeholder}}]),t}(),{decorations:function(e){return e.decorations}})}var ei=2e3;function ti(e,t){var n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,o=i>ei?-1:i==r.length?function(e,t){var n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):(0,d.IS)(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function ni(e,t){var n=ti(e,t),r=e.state.selection;return n?{update:function(e){if(e.docChanged){var t=e.changes.mapPos(e.startState.doc.line(n.line).from),i=e.state.doc.lineAt(t);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(e.changes)}},get:function(t,i,o){var a=ti(e,t);if(!a)return r;var s=function(e,t,n){var r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),o=[];if(t.off>ei||n.off>ei||t.col<0||n.col<0)for(var a=Math.min(t.off,n.off),s=Math.max(t.off,n.off),l=r;l<=i;l++){var u=e.doc.line(l);u.length<=s&&o.push(d.jT.range(u.from+a,u.to+s))}else for(var c=Math.min(t.col,n.col),h=Math.max(t.col,n.col),f=r;f<=i;f++){var p=e.doc.line(f),m=(0,d.Gz)(p.text,c,e.tabSize,!0);if(m<0)o.push(d.jT.cursor(p.to));else{var g=(0,d.Gz)(p.text,h,e.tabSize);o.push(d.jT.range(p.from+m,p.from+g))}}return o}(e.state,n,a);return s.length?o?d.jT.create(s.concat(r.ranges)):d.jT.create(s):r}}:null}function ri(e){var t=(null===e||void 0===e?void 0:e.eventFilter)||function(e){return e.altKey&&0==e.button};return rr.mouseSelectionStyle.of((function(e,n){return t(n)?ni(e,n):null}))}var ii={Alt:[18,function(e){return!!e.altKey}],Control:[17,function(e){return!!e.ctrlKey}],Shift:[16,function(e){return!!e.shiftKey}],Meta:[91,function(e){return!!e.metaKey}]},oi={style:"cursor: crosshair"};function ai(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.Z)(ii[e.key||"Alt"],2),n=t[0],i=t[1],o=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.isDown=!1}return(0,f.Z)(e,[{key:"set",value:function(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}}]),e}(),{eventHandlers:{keydown:function(e){this.set(e.keyCode==n||i(e))},keyup:function(e){e.keyCode!=n&&i(e)||this.set(!1)},mousemove:function(e){this.set(i(e))}}});return[o,rr.contentAttributes.of((function(e){var t;return(null===(t=e.plugin(o))||void 0===t?void 0:t.isDown)?oi:null}))]}var si="-10000px",li=function(){function e(t,n,r){(0,h.Z)(this,e),this.facet=n,this.createTooltipView=r,this.input=t.state.facet(n),this.tooltips=this.input.filter((function(e){return e})),this.tooltipViews=this.tooltips.map(r)}return(0,f.Z)(e,[{key:"update",value:function(e){var t,n=e.state.facet(this.facet),r=n.filter((function(e){return e}));if(n===this.input){var i,o=(0,c.Z)(this.tooltipViews);try{for(o.s();!(i=o.n()).done;){var a=i.value;a.update&&a.update(e)}}catch(O){o.e(O)}finally{o.f()}return!1}for(var s=[],l=0;l<r.length;l++){var u=r[l],h=-1;if(u){for(var f=0;f<this.tooltips.length;f++){var d=this.tooltips[f];d&&d.create==u.create&&(h=f)}if(h<0)s[l]=this.createTooltipView(u);else{var p=s[l]=this.tooltipViews[h];p.update&&p.update(e)}}}var m,g=(0,c.Z)(this.tooltipViews);try{for(g.s();!(m=g.n()).done;){var v=m.value;s.indexOf(v)<0&&(v.dom.remove(),null===(t=v.destroy)||void 0===t||t.call(v))}}catch(O){g.e(O)}finally{g.f()}return this.input=n,this.tooltips=r,this.tooltipViews=s,!0}}]),e}();function ui(e){var t=e.win;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}var ci=d.r$.define({combine:function(e){var t,n,r;return{position:se.ios?"absolute":(null===(t=e.find((function(e){return e.position})))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find((function(e){return e.parent})))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(r=e.find((function(e){return e.tooltipSpace})))||void 0===r?void 0:r.tooltipSpace)||ui}}}),hi=new WeakMap,fi=We.fromClass(function(){function e(t){var n=this;(0,h.Z)(this,e),this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;var r=t.state.facet(ci);this.position=r.position,this.parent=r.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new li(t,mi,(function(e){return n.createTooltip(e)})),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((function(e){Date.now()>n.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&n.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}return(0,f.Z)(e,[{key:"createContainer",value:function(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}},{key:"observeIntersection",value:function(){if(this.intersectionObserver){this.intersectionObserver.disconnect();var e,t=(0,c.Z)(this.manager.tooltipViews);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.intersectionObserver.observe(n.dom)}}catch(r){t.e(r)}finally{t.f()}}}},{key:"measureSoon",value:function(){var e=this;this.measureTimeout<0&&(this.measureTimeout=setTimeout((function(){e.measureTimeout=-1,e.maybeMeasure()}),50))}},{key:"update",value:function(e){e.transactions.length&&(this.lastTransaction=Date.now());var t=this.manager.update(e);t&&this.observeIntersection();var n=t||e.geometryChanged,r=e.state.facet(ci);if(r.position!=this.position){this.position=r.position;var i,o=(0,c.Z)(this.manager.tooltipViews);try{for(o.s();!(i=o.n()).done;){i.value.dom.style.position=this.position}}catch(u){o.e(u)}finally{o.f()}n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();var a,s=(0,c.Z)(this.manager.tooltipViews);try{for(s.s();!(a=s.n()).done;){var l=a.value;this.container.appendChild(l.dom)}}catch(u){s.e(u)}finally{s.f()}n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}},{key:"createTooltip",value:function(e){var t=e.create(this.view);if(t.dom.classList.add("cm-tooltip"),e.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){var n=document.createElement("div");n.className="cm-tooltip-arrow",t.dom.appendChild(n)}return t.dom.style.position=this.position,t.dom.style.top=si,this.container.appendChild(t.dom),t.mount&&t.mount(this.view),t}},{key:"destroy",value:function(){var e,t;this.view.win.removeEventListener("resize",this.measureSoon);var n,r=(0,c.Z)(this.manager.tooltipViews);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.dom.remove(),null===(e=i.destroy)||void 0===e||e.call(i)}}catch(o){r.e(o)}finally{r.f()}null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),clearTimeout(this.measureTimeout)}},{key:"readMeasure",value:function(){var e=this,t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((function(t,n){var r=e.manager.tooltipViews[n];return r.getCoords?r.getCoords(t.pos):e.view.coordsAtPos(t.pos)})),size:this.manager.tooltipViews.map((function(e){return e.dom.getBoundingClientRect()})),space:this.view.state.facet(ci).tooltipSpace(this.view)}}},{key:"writeMeasure",value:function(e){for(var t,n=e.editor,r=e.space,i=[],o=0;o<this.manager.tooltips.length;o++){var a=this.manager.tooltips[o],s=this.manager.tooltipViews[o],l=s.dom,u=e.pos[o],h=e.size[o];if(!u||u.bottom<=Math.max(n.top,r.top)||u.top>=Math.min(n.bottom,r.bottom)||u.right<Math.max(n.left,r.left)-.1||u.left>Math.min(n.right,r.right)+.1)l.style.top=si;else{var f=a.arrow?s.dom.querySelector(".cm-tooltip-arrow"):null,d=f?7:0,p=h.right-h.left,m=null!==(t=hi.get(s))&&void 0!==t?t:h.bottom-h.top,g=s.offset||pi,v=this.view.textDirection==ot.LTR,O=h.width>r.right-r.left?v?r.left:r.right-h.width:v?Math.min(u.left-(f?14:0)+g.x,r.right-p):Math.max(r.left,u.left-p+(f?14:0)-g.x),y=!!a.above;!a.strictSide&&(y?u.top-(h.bottom-h.top)-g.y<r.top:u.bottom+(h.bottom-h.top)+g.y>r.bottom)&&y==r.bottom-u.bottom>u.top-r.top&&(y=!y);var b=(y?u.top-r.top:r.bottom-u.bottom)-d;if(b<m&&!1!==s.resize){if(b<this.view.defaultLineHeight){l.style.top=si;continue}hi.set(s,m),l.style.height=(m=b)+"px"}else l.style.height&&(l.style.height="");var k=y?u.top-m-d-g.y:u.bottom+d+g.y,S=O+p;if(!0!==s.overlap){var x,w=(0,c.Z)(i);try{for(w.s();!(x=w.n()).done;){var T=x.value;T.left<S&&T.right>O&&T.top<k+m&&T.bottom>k&&(k=y?T.top-m-2-d:T.bottom+d+2)}}catch(C){w.e(C)}finally{w.f()}}"absolute"==this.position?(l.style.top=k-e.parent.top+"px",l.style.left=O-e.parent.left+"px"):(l.style.top=k+"px",l.style.left=O+"px"),f&&(f.style.left="".concat(u.left+(v?g.x:-g.x)-(O+14-7),"px")),!0!==s.overlap&&i.push({left:O,top:k,right:S,bottom:k+m}),l.classList.toggle("cm-tooltip-above",y),l.classList.toggle("cm-tooltip-below",!y),s.positioned&&s.positioned(e.space)}}}},{key:"maybeMeasure",value:function(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView))){var e,t=(0,c.Z)(this.manager.tooltipViews);try{for(t.s();!(e=t.n()).done;){e.value.dom.style.top=si}}catch(n){t.e(n)}finally{t.f()}}}}]),e}(),{eventHandlers:{scroll:function(){this.maybeMeasure()}}}),di=rr.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"".concat(7,"px"),width:"".concat(14,"px"),position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"".concat(7,"px solid transparent"),borderRight:"".concat(7,"px solid transparent")},".cm-tooltip-above &":{bottom:"-".concat(7,"px"),"&:before":{borderTop:"".concat(7,"px solid #bbb")},"&:after":{borderTop:"".concat(7,"px solid #f5f5f5"),bottom:"1px"}},".cm-tooltip-below &":{top:"-".concat(7,"px"),"&:before":{borderBottom:"".concat(7,"px solid #bbb")},"&:after":{borderBottom:"".concat(7,"px solid #f5f5f5"),top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),pi={x:0,y:0},mi=d.r$.define({enables:[fi,di]}),gi=d.r$.define(),vi=function(){function e(t){var n=this;(0,h.Z)(this,e),this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new li(t,gi,(function(e){return n.createHostedView(e)}))}return(0,f.Z)(e,[{key:"createHostedView",value:function(e){var t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}},{key:"mount",value:function(e){var t,n=(0,c.Z)(this.manager.tooltipViews);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.mount&&r.mount(e)}}catch(i){n.e(i)}finally{n.f()}this.mounted=!0}},{key:"positioned",value:function(e){var t,n=(0,c.Z)(this.manager.tooltipViews);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.positioned&&r.positioned(e)}}catch(i){n.e(i)}finally{n.f()}}},{key:"update",value:function(e){this.manager.update(e)}},{key:"destroy",value:function(){var e,t,n=(0,c.Z)(this.manager.tooltipViews);try{for(n.s();!(t=n.n()).done;){var r=t.value;null===(e=r.destroy)||void 0===e||e.call(r)}}catch(i){n.e(i)}finally{n.f()}}}],[{key:"create",value:function(t){return new e(t)}}]),e}(),Oi=mi.compute([gi],(function(e){var t=e.facet(gi).filter((function(e){return e}));return 0===t.length?null:{pos:Math.min.apply(Math,(0,u.Z)(t.map((function(e){return e.pos})))),end:Math.max.apply(Math,(0,u.Z)(t.filter((function(e){return null!=e.end})).map((function(e){return e.end})))),create:vi.create,above:t[0].above,arrow:t.some((function(e){return e.arrow}))}})),yi=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.view=t,this.source=n,this.field=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}return(0,f.Z)(e,[{key:"update",value:function(){var e=this;this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((function(){return e.startHover()}),20))}},{key:"active",get:function(){return this.view.state.field(this.field)}},{key:"checkHover",value:function(){if(this.hoverTimeout=-1,!this.active){var e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}}},{key:"startHover",value:function(){var e=this;clearTimeout(this.restartTimeout);var t=this.lastMove,n=this.view.contentDOM.contains(t.target)?this.view.posAtCoords(t):null;if(null!=n){var r=this.view.coordsAtPos(n);if(!(null==r||t.y<r.top||t.y>r.bottom||t.x<r.left-this.view.defaultCharacterWidth||t.x>r.right+this.view.defaultCharacterWidth)){var i=this.view.bidiSpans(this.view.state.doc.lineAt(n)).find((function(e){return e.from<=n&&e.to>=n})),o=i&&i.dir==ot.RTL?-1:1,a=this.source(this.view,n,t.x<r.left?-o:o);if(null===a||void 0===a?void 0:a.then){var s=this.pending={pos:n};a.then((function(t){e.pending==s&&(e.pending=null,t&&e.view.dispatch({effects:e.setHover.of(t)}))}),(function(t){return Ue(e.view.state,t,"hover tooltip")}))}else a&&this.view.dispatch({effects:this.setHover.of(a)})}}}},{key:"mousemove",value:function(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));var n=this.active;if(n&&!bi(this.lastMove.target)||this.pending){var r=(n||this.pending).pos,i=null!==(t=null===n||void 0===n?void 0:n.end)&&void 0!==t?t:r;(r==i?this.view.posAtCoords(this.lastMove)==r:function(e,t,n,r,i,o){var a=document.createRange(),s=e.domAtPos(t),l=e.domAtPos(n);a.setEnd(l.node,l.offset),a.setStart(s.node,s.offset);var u=a.getClientRects();a.detach();for(var c=0;c<u.length;c++){var h=u[c];if(Math.max(h.top-i,i-h.bottom,h.left-r,r-h.right)<=o)return!0}return!1}(this.view,r,i,e.clientX,e.clientY,6))||(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}},{key:"mouseleave",value:function(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!bi(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}},{key:"destroy",value:function(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}]),e}();function bi(e){for(var t=e;t;t=t.parentNode)if(1==t.nodeType&&t.classList.contains("cm-tooltip"))return!0;return!1}function ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d.Py.define(),r=d.QQ.define({create:function(){return null},update:function(e,r){if(e&&(t.hideOnChange&&(r.docChanged||r.selection)||t.hideOn&&t.hideOn(r,e)))return null;if(e&&r.docChanged){var i=r.changes.mapPos(e.pos,-1,d.gc.TrackDel);if(null==i)return null;var o=Object.assign(Object.create(null),e);o.pos=i,null!=e.end&&(o.end=r.changes.mapPos(e.end)),e=o}var a,s=(0,c.Z)(r.effects);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.is(n)&&(e=l.value),l.is(xi)&&(e=null)}}catch(u){s.e(u)}finally{s.f()}return e},provide:function(e){return gi.from(e)}});return[r,We.define((function(i){return new yi(i,e,r,n,t.hoverTime||300)})),Oi]}function Si(e,t){var n=e.plugin(fi);if(!n)return null;var r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}var xi=d.Py.define();var wi=d.r$.define({combine:function(e){var t,n,r,i=(0,c.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;t=t||o.topContainer,n=n||o.bottomContainer}}catch(a){i.e(a)}finally{i.f()}return{topContainer:t,bottomContainer:n}}});function Ti(e,t){var n=e.plugin(Ci),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}var Ci=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.input=t.state.facet(Pi),this.specs=this.input.filter((function(e){return e})),this.panels=this.specs.map((function(e){return e(t)}));var n=t.state.facet(wi);this.top=new Ei(t,!0,n.topContainer),this.bottom=new Ei(t,!1,n.bottomContainer),this.top.sync(this.panels.filter((function(e){return e.top}))),this.bottom.sync(this.panels.filter((function(e){return!e.top})));var r,i=(0,c.Z)(this.panels);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.dom.classList.add("cm-panel"),o.mount&&o.mount()}}catch(a){i.e(a)}finally{i.f()}}return(0,f.Z)(e,[{key:"update",value:function(e){var t=e.state.facet(wi);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Ei(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ei(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();var n=e.state.facet(Pi);if(n!=this.input){var r,i=n.filter((function(e){return e})),o=[],a=[],s=[],l=[],u=(0,c.Z)(i);try{for(u.s();!(r=u.n()).done;){var h=r.value,f=this.specs.indexOf(h),d=void 0;f<0?(d=h(e.view),l.push(d)):(d=this.panels[f]).update&&d.update(e),o.push(d),(d.top?a:s).push(d)}}catch(b){u.e(b)}finally{u.f()}this.specs=i,this.panels=o,this.top.sync(a),this.bottom.sync(s);for(var p=0,m=l;p<m.length;p++){var g=m[p];g.dom.classList.add("cm-panel"),g.mount&&g.mount()}}else{var v,O=(0,c.Z)(this.panels);try{for(O.s();!(v=O.n()).done;){var y=v.value;y.update&&y.update(e)}}catch(b){O.e(b)}finally{O.f()}}}},{key:"destroy",value:function(){this.top.sync([]),this.bottom.sync([])}}]),e}(),{provide:function(e){return rr.scrollMargins.of((function(t){var n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}}))}}),Ei=function(){function e(t,n,r){(0,h.Z)(this,e),this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}return(0,f.Z)(e,[{key:"sync",value:function(e){var t,n=(0,c.Z)(this.panels);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.destroy&&e.indexOf(r)<0&&r.destroy()}}catch(i){n.e(i)}finally{n.f()}this.panels=e,this.syncDOM()}},{key:"syncDOM",value:function(){if(0!=this.panels.length){if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";var e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}var t,n=this.dom.firstChild,r=(0,c.Z)(this.panels);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.dom.parentNode==this.dom){for(;n!=i.dom;)n=Ai(n);n=n.nextSibling}else this.dom.insertBefore(i.dom,n)}}catch(o){r.e(o)}finally{r.f()}for(;n;)n=Ai(n)}else this.dom&&(this.dom.remove(),this.dom=void 0)}},{key:"scrollMargin",value:function(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}},{key:"syncClasses",value:function(){if(this.container&&this.classes!=this.view.themeClasses){var e,t=(0,c.Z)(this.classes.split(" "));try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&this.container.classList.remove(n)}}catch(a){t.e(a)}finally{t.f()}var r,i=(0,c.Z)((this.classes=this.view.themeClasses).split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value;o&&this.container.classList.add(o)}}catch(a){i.e(a)}finally{i.f()}}}}]),e}();function Ai(e){var t=e.nextSibling;return e.remove(),t}var Pi=d.r$.define({enables:Ci}),_i=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"compare",value:function(e){return this==e||this.constructor==e.constructor&&this.eq(e)}},{key:"eq",value:function(e){return!1}},{key:"destroy",value:function(e){}}]),n}(d.uU);_i.prototype.elementClass="",_i.prototype.toDOM=void 0,_i.prototype.mapMode=d.gc.TrackBefore,_i.prototype.startSide=_i.prototype.endSide=-1,_i.prototype.point=!0;var Di=d.r$.define(),Zi={class:"",renderEmptyElements:!1,elementStyle:"",markers:function(){return d.Xs.empty},lineMarker:function(){return null},widgetMarker:function(){return null},lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Ni=d.r$.define();function Qi(e){return[Mi(),Ni.of(Object.assign(Object.assign({},Zi),e))]}var Ri=d.r$.define({combine:function(e){return e.some((function(e){return e}))}});function Mi(e){var t=[$i];return e&&!1===e.fixed&&t.push(Ri.of(!0)),t}var $i=We.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(Ni).map((function(e){return new Bi(t,e)}));var n,r=(0,c.Z)(this.gutters);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.dom.appendChild(i.dom)}}catch(o){r.e(o)}finally{r.f()}this.fixed=!t.state.facet(Ri),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}return(0,f.Z)(e,[{key:"update",value:function(e){if(this.updateGutters(e)){var t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<.8*(n.to-n.from))}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ri)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}},{key:"syncGutters",value:function(e){var t=this,n=this.dom.nextSibling;e&&this.dom.remove();var r,i=d.Xs.iter(this.view.state.facet(Di),this.view.viewport.from),o=[],a=this.gutters.map((function(e){return new Fi(e,t.view.viewport,-t.view.documentPadding.top)})),s=(0,c.Z)(this.view.viewportLineBlocks);try{for(s.s();!(r=s.n()).done;){var l=r.value;if(o.length&&(o=[]),Array.isArray(l.type)){var u,h=!0,f=(0,c.Z)(l.type);try{for(f.s();!(u=f.n()).done;){var p=u.value;if(p.type==ke.Text&&h){Li(i,o,p.from);var m,g=(0,c.Z)(a);try{for(g.s();!(m=g.n()).done;){m.value.line(this.view,p,o)}}catch(x){g.e(x)}finally{g.f()}h=!1}else if(p.widget){var v,O=(0,c.Z)(a);try{for(O.s();!(v=O.n()).done;){v.value.widget(this.view,p)}}catch(x){O.e(x)}finally{O.f()}}}}catch(x){f.e(x)}finally{f.f()}}else if(l.type==ke.Text){Li(i,o,l.from);var y,b=(0,c.Z)(a);try{for(b.s();!(y=b.n()).done;){y.value.line(this.view,l,o)}}catch(x){b.e(x)}finally{b.f()}}}}catch(x){s.e(x)}finally{s.f()}var k,S=(0,c.Z)(a);try{for(S.s();!(k=S.n()).done;){k.value.finish()}}catch(x){S.e(x)}finally{S.f()}e&&this.view.scrollDOM.insertBefore(this.dom,n)}},{key:"updateGutters",value:function(e){var t=e.startState.facet(Ni),n=e.state.facet(Ni),r=e.docChanged||e.heightChanged||e.viewportChanged||!d.Xs.eq(e.startState.facet(Di),e.state.facet(Di),e.view.viewport.from,e.view.viewport.to);if(t==n){var i,o=(0,c.Z)(this.gutters);try{for(o.s();!(i=o.n()).done;){i.value.update(e)&&(r=!0)}}catch(y){o.e(y)}finally{o.f()}}else{r=!0;var a,s=[],l=(0,c.Z)(n);try{for(l.s();!(a=l.n()).done;){var u=a.value,h=t.indexOf(u);h<0?s.push(new Bi(this.view,u)):(this.gutters[h].update(e),s.push(this.gutters[h]))}}catch(y){l.e(y)}finally{l.f()}var f,p=(0,c.Z)(this.gutters);try{for(p.s();!(f=p.n()).done;){var m=f.value;m.dom.remove(),s.indexOf(m)<0&&m.destroy()}}catch(y){p.e(y)}finally{p.f()}for(var g=0,v=s;g<v.length;g++){var O=v[g];this.dom.appendChild(O.dom)}this.gutters=s}return r}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.gutters);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this.dom.remove()}}]),e}(),{provide:function(e){return rr.scrollMargins.of((function(t){var n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==ot.LTR?{left:n.dom.offsetWidth}:{right:n.dom.offsetWidth}:null}))}});function Ii(e){return Array.isArray(e)?e:[e]}function Li(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}var Fi=function(){function e(t,n,r){(0,h.Z)(this,e),this.gutter=t,this.height=r,this.i=0,this.cursor=d.Xs.iter(t.markers,n.from)}return(0,f.Z)(e,[{key:"addElement",value:function(e,t,n){var r=this.gutter,i=t.top-this.height;if(this.i==r.elements.length){var o=new ji(e,t.height,i,n);r.elements.push(o),r.dom.appendChild(o.dom)}else r.elements[this.i].update(e,t.height,i,n);this.height=t.bottom,this.i++}},{key:"line",value:function(e,t,n){var r=[];Li(this.cursor,r,t.from),n.length&&(r=r.concat(n));var i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);var o=this.gutter;(0!=r.length||o.config.renderEmptyElements)&&this.addElement(e,t,r)}},{key:"widget",value:function(e,t){var n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}},{key:"finish",value:function(){for(var e=this.gutter;e.elements.length>this.i;){var t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}]),e}(),Bi=function(){function e(t,n){var r=this;(0,h.Z)(this,e),this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");var i=function(e){r.dom.addEventListener(e,(function(i){var o,a=i.target;if(a!=r.dom&&r.dom.contains(a)){for(;a.parentNode!=r.dom;)a=a.parentNode;var s=a.getBoundingClientRect();o=(s.top+s.bottom)/2}else o=i.clientY;var l=t.lineBlockAtHeight(o-t.documentTop);n.domEventHandlers[e](t,l,i)&&i.preventDefault()}))};for(var o in n.domEventHandlers)i(o);this.markers=Ii(n.markers(t)),n.initialSpacer&&(this.spacer=new ji(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}return(0,f.Z)(e,[{key:"update",value:function(e){var t=this.markers;if(this.markers=Ii(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){var n=this.config.updateSpacer(this.spacer.markers[0],e);n!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[n])}var r=e.view.viewport;return!d.Xs.eq(this.markers,t,r.from,r.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.elements);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}}}]),e}(),ji=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,i)}return(0,f.Z)(e,[{key:"update",value:function(e,t,n,r){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,r)||this.setMarkers(e,r)}},{key:"setMarkers",value:function(e,t){for(var n="cm-gutterElement",r=this.dom.firstChild,i=0,o=0;;){var a=o,s=i<t.length?t[i++]:null,l=!1;if(s){var u=s.elementClass;u&&(n+=" "+u);for(var c=o;c<this.markers.length;c++)if(this.markers[c].compare(s)){a=c,l=!0;break}}else a=this.markers.length;for(;o<a;){var h=this.markers[o++];if(h.toDOM){h.destroy(r);var f=r.nextSibling;r.remove(),r=f}}if(!s)break;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&o++}this.dom.className=n,this.markers=t}},{key:"destroy",value:function(){this.setMarkers(null,[])}}]),e}();var zi=d.r$.define(),Ui=d.r$.define({combine:function(e){return(0,d.BO)(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers:function(e,t){var n=Object.assign({},e),r=function(){var e=n[i],r=t[i];n[i]=e?function(t,n,i){return e(t,n,i)||r(t,n,i)}:r};for(var i in t)r();return n}})}}),Yi=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).number=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return this.number==e.number}},{key:"toDOM",value:function(){return document.createTextNode(this.number)}}]),n}(_i);function Xi(e,t){return e.state.facet(Ui).formatNumber(t,e.state)}var Hi=Ni.compute([Ui],(function(e){return{class:"cm-lineNumbers",renderEmptyElements:!1,markers:function(e){return e.state.facet(zi)},lineMarker:function(e,t,n){return n.some((function(e){return e.toDOM}))?null:new Yi(Xi(e,e.state.doc.lineAt(t.from).number))},widgetMarker:function(){return null},lineMarkerChange:function(e){return e.startState.facet(Ui)!=e.state.facet(Ui)},initialSpacer:function(e){return new Yi(Xi(e,qi(e.state.doc.lines)))},updateSpacer:function(e,t){var n=Xi(t.view,qi(t.view.state.doc.lines));return n==e.number?e:new Yi(n)},domEventHandlers:e.facet(Ui).domEventHandlers}}));function Wi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Ui.of(e),Mi(),Hi]}function qi(e){for(var t=9;t<e;)t=10*t+9;return t}var Gi=new(function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e;return(0,h.Z)(this,n),(e=t.apply(this,arguments)).elementClass="cm-activeLineGutter",e}return(0,f.Z)(n)}(_i)),Vi=Di.compute(["selection"],(function(e){var t,n=[],r=-1,i=(0,c.Z)(e.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=e.doc.lineAt(o.head).from;a>r&&(r=a,n.push(Gi.range(a)))}}catch(s){i.e(s)}finally{i.f()}return d.Xs.of(n)}));function Ji(){return Vi}},1330:function(e,t,n){"use strict";n.d(t,{FE:function(){return L},Jq:function(){return d},L3:function(){return s},Lj:function(){return m},_b:function(){return $},hr:function(){return R},i9:function(){return M},md:function(){return c},mp:function(){return O},vj:function(){return p}});var r=n(1026),i=n(726),o=n(1976),a=n(2951),s=1024,l=0,u=(0,o.Z)((function e(t,n){(0,a.Z)(this,e),this.from=t,this.to=n})),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),this.id=l++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||function(){throw new Error("This node type doesn't define a deserialize function")}}return(0,o.Z)(e,[{key:"add",value:function(e){var t=this;if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=d.match(e)),function(n){var r=e(n);return void 0===r?null:[t,r]}}}]),e}();c.closedBy=new c({deserialize:function(e){return e.split(" ")}}),c.openedBy=new c({deserialize:function(e){return e.split(" ")}}),c.group=new c({deserialize:function(e){return e.split(" ")}}),c.contextHash=new c({perNode:!0}),c.lookAhead=new c({perNode:!0}),c.mounted=new c({perNode:!0});var h=(0,o.Z)((function e(t,n,r){(0,a.Z)(this,e),this.tree=t,this.overlay=n,this.parser=r})),f=Object.create(null),d=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;(0,a.Z)(this,e),this.name=t,this.props=n,this.id=r,this.flags=i}return(0,o.Z)(e,[{key:"prop",value:function(e){return this.props[e.id]}},{key:"isTop",get:function(){return(1&this.flags)>0}},{key:"isSkipped",get:function(){return(2&this.flags)>0}},{key:"isError",get:function(){return(4&this.flags)>0}},{key:"isAnonymous",get:function(){return(8&this.flags)>0}},{key:"is",value:function(e){if("string"==typeof e){if(this.name==e)return!0;var t=this.prop(c.group);return!!t&&t.indexOf(e)>-1}return this.id==e}}],[{key:"define",value:function(t){var n=t.props&&t.props.length?Object.create(null):f,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),o=new e(t.name||"",n,t.id,r);if(t.props){var a,s=(0,i.Z)(t.props);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(Array.isArray(l)||(l=l(o)),l){if(l[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[l[0].id]=l[1]}}}catch(u){s.e(u)}finally{s.f()}}return o}},{key:"match",value:function(e){var t=Object.create(null);for(var n in e){var r,o=(0,i.Z)(n.split(" "));try{for(o.s();!(r=o.n()).done;){var a=r.value;t[a]=e[n]}}catch(s){o.e(s)}finally{o.f()}}return function(e){for(var n=e.prop(c.group),r=-1;r<(n?n.length:0);r++){var i=t[r<0?e.name:n[r]];if(i)return i}}}}]),e}();d.none=new d("",Object.create(null),0,8);var p,m=function(){function e(t){(0,a.Z)(this,e),this.types=t;for(var n=0;n<t.length;n++)if(t[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}return(0,o.Z)(e,[{key:"extend",value:function(){for(var t=[],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a,s=(0,i.Z)(this.types);try{for(s.s();!(a=s.n()).done;){var l,u=a.value,c=null,h=(0,i.Z)(r);try{for(h.s();!(l=h.n()).done;){var f=(0,l.value)(u);f&&(c||(c=Object.assign({},u.props)),c[f[0].id]=f[1])}}catch(p){h.e(p)}finally{h.f()}t.push(c?new d(u.name,c,u.id,u.flags):u)}}catch(p){s.e(p)}finally{s.f()}return new e(t)}}]),e}(),g=new WeakMap,v=new WeakMap;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(p||(p={}));var O=function(){function e(t,n,o,s,l){if((0,a.Z)(this,e),this.type=t,this.children=n,this.positions=o,this.length=s,this.props=null,l&&l.length){this.props=Object.create(null);var u,c=(0,i.Z)(l);try{for(c.s();!(u=c.n()).done;){var h=(0,r.Z)(u.value,2),f=h[0],d=h[1];this.props["number"==typeof f?f:f.id]=d}}catch(p){c.e(p)}finally{c.f()}}}return(0,o.Z)(e,[{key:"toString",value:function(){var e=this.prop(c.mounted);if(e&&!e.overlay)return e.tree.toString();var t,n="",r=(0,i.Z)(this.children);try{for(r.s();!(t=r.n()).done;){var o=t.value.toString();o&&(n&&(n+=","),n+=o)}}catch(a){r.e(a)}finally{r.f()}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}},{key:"cursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new P(this.topNode,e)}},{key:"cursorAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=g.get(this)||this.topNode,r=new P(n);return r.moveTo(e,t),g.set(this,r._tree),r}},{key:"topNode",get:function(){return new w(this,0,0,null)}},{key:"resolve",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=x(g.get(this)||this.topNode,e,t,!1);return g.set(this,n),n}},{key:"resolveInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=x(v.get(this)||this.topNode,e,t,!0);return v.set(this,n),n}},{key:"iterate",value:function(e){for(var t=e.enter,n=e.leave,r=e.from,i=void 0===r?0:r,o=e.to,a=void 0===o?this.length:o,s=e.mode||0,l=(s&p.IncludeAnonymous)>0,u=this.cursor(s|p.IncludeAnonymous);;){var c=!1;if(u.from<=a&&u.to>=i&&(!l&&u.type.isAnonymous||!1!==t(u))){if(u.firstChild())continue;c=!0}for(;c&&n&&(l||!u.type.isAnonymous)&&n(u),!u.nextSibling();){if(!u.parent())return;c=!0}}}},{key:"prop",value:function(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}},{key:"propValues",get:function(){var e=[];if(this.props)for(var t in this.props)e.push([+t,this.props[t]]);return e}},{key:"balance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.children.length<=8?this:Q(d.none,this.children,this.positions,0,this.children.length,0,this.length,(function(n,r,i){return new e(t.type,n,r,i,t.propValues)}),n.makeTree||function(t,n,r){return new e(d.none,t,n,r)})}}],[{key:"build",value:function(e){return D(e)}}]),e}();O.empty=new O(d.none,[],[],0);var y=function(){function e(t,n){(0,a.Z)(this,e),this.buffer=t,this.index=n}return(0,o.Z)(e,[{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"pos",get:function(){return this.index}},{key:"next",value:function(){this.index-=4}},{key:"fork",value:function(){return new e(this.buffer,this.index)}}]),e}(),b=function(){function e(t,n,r){(0,a.Z)(this,e),this.buffer=t,this.length=n,this.set=r}return(0,o.Z)(e,[{key:"type",get:function(){return d.none}},{key:"toString",value:function(){for(var e=[],t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}},{key:"childString",value:function(e){var t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;for(var o=[];e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}},{key:"findChild",value:function(e,t,n,r,i){for(var o=this.buffer,a=-1,s=e;s!=t&&!(k(i,r,o[s+1],o[s+2])&&(a=s,n>0));s=o[s+3]);return a}},{key:"slice",value:function(t,n,r){for(var i=this.buffer,o=new Uint16Array(n-t),a=0,s=t,l=0;s<n;){o[l++]=i[s++],o[l++]=i[s++]-r;var u=o[l++]=i[s++]-r;o[l++]=i[s++]-t,a=Math.max(a,u)}return new e(o,a,this.set)}}]),e}();function k(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function S(e,t){for(var n=e.childBefore(t);n;){var r=n.lastChild;if(!r||r.to!=n.to)break;r.type.isError&&r.from==r.to?(e=n,n=r.prevSibling):n=r}return e}function x(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){var o=!r&&e instanceof w&&e.index<0?null:e.parent;if(!o)return e;e=o}var a=r?0:p.IgnoreOverlays;if(r)for(var s=e,l=s.parent;l;l=(s=l).parent)s instanceof w&&s.index<0&&(null===(i=l.enter(t,n,a))||void 0===i?void 0:i.from)!=s.from&&(e=l);for(;;){var u=e.enter(t,n,a);if(!u)return e;e=u}}var w=function(){function e(t,n,r,i){(0,a.Z)(this,e),this._tree=t,this.from=n,this.index=r,this._parent=i}return(0,o.Z)(e,[{key:"type",get:function(){return this._tree.type}},{key:"name",get:function(){return this._tree.type.name}},{key:"to",get:function(){return this.from+this._tree.length}},{key:"nextChild",value:function(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=this;;){for(var s=a._tree,l=s.children,u=s.positions,h=n>0?l.length:-1;t!=h;t+=n){var f=l[t],d=u[t]+a.from;if(k(i,r,d,d+f.length))if(f instanceof b){if(o&p.ExcludeBuffers)continue;var m=f.findChild(0,f.buffer.length,n,r-d,i);if(m>-1)return new A(new E(a,f,t,d),null,m)}else if(o&p.IncludeAnonymous||!f.type.isAnonymous||_(f)){var g=void 0;if(!(o&p.IgnoreMounts)&&f.props&&(g=f.prop(c.mounted))&&!g.overlay)return new e(g.tree,d,t,a);var v=new e(f,d,t,a);return o&p.IncludeAnonymous||!v.type.isAnonymous?v:v.nextChild(n<0?f.children.length-1:0,n,r,i)}}if(o&p.IncludeAnonymous||!a.type.isAnonymous)return null;if(t=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,!(a=a._parent))return null}}},{key:"firstChild",get:function(){return this.nextChild(0,1,0,4)}},{key:"lastChild",get:function(){return this.nextChild(this._tree.children.length-1,-1,0,4)}},{key:"childAfter",value:function(e){return this.nextChild(0,1,e,2)}},{key:"childBefore",value:function(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}},{key:"enter",value:function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(o&p.IgnoreOverlays)&&(r=this._tree.prop(c.mounted))&&r.overlay){var a,s=t-this.from,l=(0,i.Z)(r.overlay);try{for(l.s();!(a=l.n()).done;){var u=a.value,h=u.from,f=u.to;if((n>0?h<=s:h<s)&&(n<0?f>=s:f>s))return new e(r.tree,r.overlay[0].from+this.from,-1,this)}}catch(d){l.e(d)}finally{l.f()}}return this.nextChild(0,1,t,n,o)}},{key:"nextSignificantParent",value:function(){for(var e=this;e.type.isAnonymous&&e._parent;)e=e._parent;return e}},{key:"parent",get:function(){return this._parent?this._parent.nextSignificantParent():null}},{key:"nextSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}},{key:"prevSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}},{key:"cursor",value:function(){return new P(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"tree",get:function(){return this._tree}},{key:"toTree",value:function(){return this._tree}},{key:"resolve",value:function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!1)}},{key:"resolveInner",value:function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!0)}},{key:"enterUnfinishedNodesBefore",value:function(e){return S(this,e)}},{key:"getChild",value:function(e){var t=T(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null);return t.length?t[0]:null}},{key:"getChildren",value:function(e){return T(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}},{key:"toString",value:function(){return this._tree.toString()}},{key:"node",get:function(){return this}},{key:"matchContext",value:function(e){return C(this,e)}}]),e}();function T(e,t,n,r){var i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n)for(;!i.type.is(n);)if(!i.nextSibling())return o;for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function C(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length-1,r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}var E=(0,o.Z)((function e(t,n,r,i){(0,a.Z)(this,e),this.parent=t,this.buffer=n,this.index=r,this.start=i})),A=function(){function e(t,n,r){(0,a.Z)(this,e),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}return(0,o.Z)(e,[{key:"name",get:function(){return this.type.name}},{key:"from",get:function(){return this.context.start+this.context.buffer.buffer[this.index+1]}},{key:"to",get:function(){return this.context.start+this.context.buffer.buffer[this.index+2]}},{key:"child",value:function(t,n,r){var i=this.context.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return o<0?null:new e(this.context,this,o)}},{key:"firstChild",get:function(){return this.child(1,0,4)}},{key:"lastChild",get:function(){return this.child(-1,0,4)}},{key:"childAfter",value:function(e){return this.child(1,e,2)}},{key:"childBefore",value:function(e){return this.child(-1,e,-2)}},{key:"enter",value:function(t,n){if((arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)&p.ExcludeBuffers)return null;var r=this.context.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return i<0?null:new e(this.context,this,i)}},{key:"parent",get:function(){return this._parent||this.context.parent.nextSignificantParent()}},{key:"externalSibling",value:function(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}},{key:"nextSibling",get:function(){var t=this.context.buffer,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,n):this.externalSibling(1)}},{key:"prevSibling",get:function(){var t=this.context.buffer,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}},{key:"cursor",value:function(){return new P(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}},{key:"tree",get:function(){return null}},{key:"toTree",value:function(){var e=[],t=[],n=this.context.buffer,r=this.index+4,i=n.buffer[this.index+3];if(i>r){var o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new O(this.type,e,t,this.to-this.from)}},{key:"resolve",value:function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!1)}},{key:"resolveInner",value:function(e){return x(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,!0)}},{key:"enterUnfinishedNodesBefore",value:function(e){return S(this,e)}},{key:"toString",value:function(){return this.context.buffer.childString(this.index)}},{key:"getChild",value:function(e){var t=T(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null);return t.length?t[0]:null}},{key:"getChildren",value:function(e){return T(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}},{key:"node",get:function(){return this}},{key:"matchContext",value:function(e){return C(this,e)}}]),e}(),P=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if((0,a.Z)(this,e),this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof w)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(var r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}return(0,o.Z)(e,[{key:"name",get:function(){return this.type.name}},{key:"yieldNode",value:function(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}},{key:"yieldBuf",value:function(e,t){this.index=e;var n=this.buffer,r=n.start,i=n.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}},{key:"yield",value:function(e){return!!e&&(e instanceof w?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}},{key:"toString",value:function(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}},{key:"enterChild",value:function(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));var r=this.buffer.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}},{key:"firstChild",value:function(){return this.enterChild(1,0,4)}},{key:"lastChild",value:function(){return this.enterChild(-1,0,4)}},{key:"childAfter",value:function(e){return this.enterChild(1,e,2)}},{key:"childBefore",value:function(e){return this.enterChild(-1,e,-2)}},{key:"enter",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.mode;return this.buffer?!(n&p.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}},{key:"parent",value:function(){if(!this.buffer)return this.yieldNode(this.mode&p.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());var e=this.mode&p.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}},{key:"sibling",value:function(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));var t=this.buffer.buffer,n=this.stack.length-1;if(e<0){var r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{var i=t.buffer[this.index+3];if(i<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}},{key:"nextSibling",value:function(){return this.sibling(1)}},{key:"prevSibling",value:function(){return this.sibling(-1)}},{key:"atLastNode",value:function(e){var t,n,r=this.buffer;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(var i=0;i<this.index;i++)if(r.buffer.buffer[i+3]<this.index)return!1;t=r.index,n=r.parent}else{var o=this._tree;t=o.index,n=o._parent}for(;n;t=(a=n).index,n=a._parent,a){var a;if(t>-1)for(var s=t+e,l=e<0?-1:n._tree.children.length;s!=l;s+=e){var u=n._tree.children[s];if(this.mode&p.IncludeAnonymous||u instanceof b||!u.type.isAnonymous||_(u))return!1}}return!0}},{key:"move",value:function(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}},{key:"next",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.move(1,e)}},{key:"prev",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.move(-1,e)}},{key:"moveTo",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}},{key:"node",get:function(){if(!this.buffer)return this._tree;var e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(var r=this.index,i=this.stack.length;i>=0;){for(var o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break e}r=this.stack[--i]}for(var a=n;a<this.stack.length;a++)t=new A(this.buffer,t,this.stack[a]);return this.bufferNode=new A(this.buffer,t,this.index)}},{key:"tree",get:function(){return this.buffer?null:this._tree._tree}},{key:"iterate",value:function(e,t){for(var n=0;;){var r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}},{key:"matchContext",value:function(e){if(!this.buffer)return C(this.node,e);for(var t=this.buffer.buffer,n=t.set.types,r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return C(this.node,e,r);var o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}]),e}();function _(e){return e.children.some((function(e){return e instanceof b||!e.type.isAnonymous||_(e)}))}function D(e){var t,n=e.buffer,r=e.nodeSet,i=e.maxBufferLength,o=void 0===i?s:i,a=e.reused,l=void 0===a?[]:a,u=e.minRepeatType,h=void 0===u?r.types.length:u,f=Array.isArray(n)?new y(n,n.length):n,d=r.types,p=0,m=0;function g(e,t,n,i,a){for(var s=f.id,u=f.start,y=f.end,x=f.size,w=m;x<0;){if(f.next(),-1==x){var T=l[s];return n.push(T),void i.push(u-e)}if(-3==x)return void(p=s);if(-4==x)return void(m=s);throw new RangeError("Unrecognized record size: ".concat(x))}var C,E,A=d[s],P=u-e;if(y-u<=o&&(E=function(e,t){var n=f.fork(),r=0,i=0,a=0,s=n.end-o,l={size:0,start:0,skip:0};e:for(var u=n.pos-e;n.pos>u;){var c=n.size;if(n.id==t&&c>=0)l.size=r,l.start=i,l.skip=a,a+=4,r+=4,n.next();else{var d=n.pos-c;if(c<0||d<u||n.start<s)break;var p=n.id>=h?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3!=n.size)break e;p+=4}else n.id>=h&&(p+=4);n.next()}i=m,r+=c,a+=p}}(t<0||r==e)&&(l.size=r,l.start=i,l.skip=a);return l.size>4?l:void 0}(f.pos-t,a))){for(var _=new Uint16Array(E.size-E.skip),D=f.pos-E.size,Z=_.length;f.pos>D;)Z=S(E.start,_,Z);C=new b(_,y-E.start,r),P=E.start-e}else{var N=f.pos-x;f.next();for(var R=[],M=[],$=s>=h?s:-1,I=0,L=y;f.pos>N;)$>=0&&f.id==$&&f.size>=0?(f.end<=L-o&&(v(R,M,u,I,f.end,L,$,w),I=R.length,L=f.end),f.next()):g(u,N,R,M,$);if($>=0&&I>0&&I<R.length&&v(R,M,u,I,u,L,$,w),R.reverse(),M.reverse(),$>-1&&I>0){var F=function(e){return function(t,n,r){var i,o,a=0,s=t.length-1;if(s>=0&&(i=t[s])instanceof O){if(!s&&i.type==e&&i.length==r)return i;(o=i.prop(c.lookAhead))&&(a=n[s]+i.length+o)}return k(e,t,n,r,a)}}(A);C=Q(A,R,M,0,R.length,0,y-u,F,F)}else C=k(A,R,M,y-u,w-y)}n.push(C),i.push(P)}function v(e,t,n,i,o,a,s,l){for(var u=[],c=[];e.length>i;)u.push(e.pop()),c.push(t.pop()+n-o);e.push(k(r.types[s],u,c,a-o,l-a)),t.push(o-n)}function k(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;if(p){var a=[c.contextHash,p];o=o?[a].concat(o):[a]}if(i>25){var s=[c.lookAhead,i];o=o?[s].concat(o):[s]}return new O(e,t,n,r,o)}function S(e,t,n){var r=f.id,i=f.start,o=f.end,a=f.size;if(f.next(),a>=0&&r<h){var s=n;if(a>4)for(var l=f.pos-(a-4);f.pos>l;)n=S(e,t,n);t[--n]=s,t[--n]=o-e,t[--n]=i-e,t[--n]=r}else-3==a?p=r:-4==a&&(m=r);return n}for(var x=[],w=[];f.pos>0;)g(e.start||0,e.bufferStart||0,x,w,-1);var T=null!==(t=e.length)&&void 0!==t?t:x.length?w[0]+x[0].length:0;return new O(d[e.topID],x.reverse(),w.reverse(),T)}var Z=new WeakMap;function N(e,t){if(!e.isAnonymous||t instanceof b||t.type!=e)return 1;var n=Z.get(t);if(null==n){n=1;var r,o=(0,i.Z)(t.children);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.type!=e||!(a instanceof O)){n=1;break}n+=N(e,a)}}catch(s){o.e(s)}finally{o.f()}Z.set(t,n)}return n}function Q(e,t,n,r,i,o,a,s,l){for(var u=0,c=r;c<i;c++)u+=N(e,t[c]);var h=Math.ceil(1.5*u/8),f=[],d=[];return function t(n,r,i,a,s){for(var u=i;u<a;){var c=u,p=r[u],m=N(e,n[u]);for(u++;u<a;u++){var g=N(e,n[u]);if(m+g>=h)break;m+=g}if(u==c+1){if(m>h){var v=n[c];t(v.children,v.positions,0,v.children.length,r[c]+s);continue}f.push(n[c])}else{var O=r[u-1]+n[u-1].length-p;f.push(Q(e,n,r,c,u,p,O,null,l))}d.push(p+s-o)}}(t,n,r,i,0),(s||l)(f,d,a)}var R=function(){function e(){(0,a.Z)(this,e),this.map=new WeakMap}return(0,o.Z)(e,[{key:"setBuffer",value:function(e,t,n){var r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}},{key:"getBuffer",value:function(e,t){var n=this.map.get(e);return n&&n.get(t)}},{key:"set",value:function(e,t){e instanceof A?this.setBuffer(e.context.buffer,e.index,t):e instanceof w&&this.map.set(e.tree,t)}},{key:"get",value:function(e){return e instanceof A?this.getBuffer(e.context.buffer,e.index):e instanceof w?this.map.get(e.tree):void 0}},{key:"cursorSet",value:function(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}},{key:"cursorGet",value:function(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}]),e}(),M=function(){function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,a.Z)(this,e),this.from=t,this.to=n,this.tree=r,this.offset=i,this.open=(o?1:0)|(s?2:0)}return(0,o.Z)(e,[{key:"openStart",get:function(){return(1&this.open)>0}},{key:"openEnd",get:function(){return(2&this.open)>0}}],[{key:"addTree",value:function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=[new e(0,t.length,t,0,!1,o)],s=(0,i.Z)(r);try{for(s.s();!(n=s.n()).done;){var l=n.value;l.to>t.length&&a.push(l)}}catch(u){s.e(u)}finally{s.f()}return a}},{key:"applyChanges",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:128;if(!n.length)return t;for(var i=[],o=1,a=t.length?t[0]:null,s=0,l=0,u=0;;s++){var c=s<n.length?n[s]:null,h=c?c.fromA:1e9;if(h-l>=r)for(;a&&a.from<h;){var f=a;if(l>=f.from||h<=f.to||u){var d=Math.max(f.from,l)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new e(d,p,f.tree,f.offset+u,s>0,!!c)}if(f&&i.push(f),a.to>h)break;a=o<t.length?t[o++]:null}if(!c)break;l=c.toA,u=c.toA-c.toB}return i}}]),e}(),$=function(){function e(){(0,a.Z)(this,e)}return(0,o.Z)(e,[{key:"startParse",value:function(e,t,n){return"string"==typeof e&&(e=new I(e)),n=n?n.length?n.map((function(e){return new u(e.from,e.to)})):[new u(0,0)]:[new u(0,e.length)],this.createParse(e,t||[],n)}},{key:"parse",value:function(e,t,n){for(var r=this.startParse(e,t,n);;){var i=r.advance();if(i)return i}}}]),e}(),I=function(){function e(t){(0,a.Z)(this,e),this.string=t}return(0,o.Z)(e,[{key:"length",get:function(){return this.string.length}},{key:"chunk",value:function(e){return this.string.slice(e)}},{key:"lineChunks",get:function(){return!1}},{key:"read",value:function(e,t){return this.string.slice(e,t)}}]),e}();function L(e){return function(t,n,r,i){return new z(t,e,n,r,i)}}var F=(0,o.Z)((function e(t,n,r,i,o){if((0,a.Z)(this,e),this.parser=t,this.parse=n,this.overlay=r,this.target=i,this.ranges=o,!o.length||o.some((function(e){return e.from>=e.to})))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(o))})),B=(0,o.Z)((function e(t,n,r,i,o,s,l){(0,a.Z)(this,e),this.parser=t,this.predicate=n,this.mounts=r,this.index=i,this.start=o,this.target=s,this.prev=l,this.depth=0,this.ranges=[]})),j=new c({perNode:!0}),z=function(){function e(t,n,r,i,o){(0,a.Z)(this,e),this.nest=n,this.input=r,this.fragments=i,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}return(0,o.Z)(e,[{key:"advance",value:function(){if(this.baseParse){var e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt){var t,n=(0,i.Z)(this.inner);try{for(n.s();!(t=n.n()).done;){t.value.parse.stopAt(this.stoppedAt)}}catch(l){n.e(l)}finally{n.f()}}}if(this.innerDone==this.inner.length){var r=this.baseTree;return null!=this.stoppedAt&&(r=new O(r.type,r.children,r.positions,r.length,r.propValues.concat([[j,this.stoppedAt]]))),r}var o=this.inner[this.innerDone],a=o.parse.advance();if(a){this.innerDone++;var s=Object.assign(Object.create(null),o.target.props);s[c.mounted.id]=new h(a,o.overlay,o.parser),o.target.props=s}return null}},{key:"parsedPos",get:function(){if(this.baseParse)return 0;for(var e=this.input.length,t=this.innerDone;t<this.inner.length;t++)this.inner[t].ranges[0].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}},{key:"stopAt",value:function(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(var t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}},{key:"startInner",value:function(){var e=new W(this.fragments),t=null,n=null,r=new P(new w(this.baseTree,this.ranges[0].from,0,null),p.IncludeAnonymous|p.IgnoreMounts);e:for(var o,a;null==this.stoppedAt||r.from<this.stoppedAt;){var s=!0,l=void 0;if(e.hasNode(r)){if(t){var c=t.mounts.find((function(e){return e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay}));if(c){var h,f=(0,i.Z)(c.mount.overlay);try{var d=function(){var e=h.value,n=e.from+c.pos,i=e.to+c.pos;n>=r.from&&i<=r.to&&!t.ranges.some((function(e){return e.from<i&&e.to>n}))&&t.ranges.push({from:n,to:i})};for(f.s();!(h=f.n()).done;)d()}catch(O){f.e(O)}finally{f.f()}}}s=!1}else if(n&&(a=U(n.ranges,r.from,r.to)))s=2!=a;else if(!r.type.isAnonymous&&r.from<r.to&&(o=this.nest(r,this.input))){r.tree||X(r);var m=e.findMounts(r.from,o.parser);if("function"==typeof o.overlay)t=new B(o.parser,o.overlay,m,this.inner.length,r.from,r.tree,t);else{var g=q(this.ranges,o.overlay||[new u(r.from,r.to)]);g.length&&this.inner.push(new F(o.parser,o.parser.startParse(this.input,G(m,g),g),o.overlay?o.overlay.map((function(e){return new u(e.from-r.from,e.to-r.from)})):null,r.tree,g)),o.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):s=!1}}else t&&(l=t.predicate(r))&&(!0===l&&(l=new u(r.from,r.to)),l.from<l.to&&t.ranges.push(l));if(s&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&! --t.depth){var v=q(this.ranges,t.ranges);v.length&&this.inner.splice(t.index,0,new F(t.parser,t.parser.startParse(this.input,G(t.mounts,v),v),t.ranges.map((function(e){return new u(e.from-t.start,e.to-t.start)})),t.target,v)),t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}]),e}();function U(e,t,n){var r,o=(0,i.Z)(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.from>=n)break;if(a.to>t)return a.from<=t&&a.to>=n?2:1}}catch(s){o.e(s)}finally{o.f()}return 0}function Y(e,t,n,r,i,o){if(t<n){var a=e.buffer[t+1];r.push(e.slice(t,n,a)),i.push(a-o)}}function X(e){var t=e.node,n=0;do{e.parent(),n++}while(!e.tree);for(var r=0,i=e.tree,o=0;!((o=i.positions[r]+e.from)<=t.from&&o+i.children[r].length>=t.to);r++);var a=i.children[r],s=a.buffer;i.children[r]=function e(n,r,i,l,u){for(var c=n;s[c+2]+o<=t.from;)c=s[c+3];var h=[],f=[];Y(a,n,c,h,f,l);var d=s[c+1],p=s[c+2],m=d+o==t.from&&p+o==t.to&&s[c]==t.type.id;return h.push(m?t.toTree():e(c+4,s[c+3],a.set.types[s[c]],d,p-d)),f.push(d-l),Y(a,s[c+3],r,h,f,l),new O(i,h,f,u)}(0,s.length,d.none,0,a.length);for(var l=0;l<=n;l++)e.childAfter(t.from)}var H=function(){function e(t,n){(0,a.Z)(this,e),this.offset=n,this.done=!1,this.cursor=t.cursor(p.IncludeAnonymous|p.IgnoreMounts)}return(0,o.Z)(e,[{key:"moveTo",value:function(e){for(var t=this.cursor,n=e-this.offset;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,p.IgnoreOverlays|p.ExcludeBuffers)||t.next(!1)||(this.done=!0)}},{key:"hasNode",value:function(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(var t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof O))break;t=t.children[0]}return!1}}]),e}(),W=function(){function e(t){var n;if((0,a.Z)(this,e),this.fragments=t,this.curTo=0,this.fragI=0,t.length){var r=this.curFrag=t[0];this.curTo=null!==(n=r.tree.prop(j))&&void 0!==n?n:r.to,this.inner=new H(r.tree,-r.offset)}else this.curFrag=this.inner=null}return(0,o.Z)(e,[{key:"hasNode",value:function(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}},{key:"nextFrag",value:function(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{var t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(j))&&void 0!==e?e:t.to,this.inner=new H(t.tree,-t.offset)}}},{key:"findMounts",value:function(e,t){var n,r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(var i=this.inner.cursor.node;i;i=i.parent){var o=null===(n=i.tree)||void 0===n?void 0:n.prop(c.mounted);if(o&&o.parser==t)for(var a=this.fragI;a<this.fragments.length;a++){var s=this.fragments[a];if(s.from>=i.to)break;s.tree==this.curFrag.tree&&r.push({frag:s,pos:i.from-s.offset,mount:o})}}}return r}}]),e}();function q(e,t){for(var n=null,r=t,i=1,o=0;i<e.length;i++)for(var a=e[i-1].to,s=e[i].from;o<r.length;o++){var l=r[o];if(l.from>=s)break;l.to<=a||(n||(r=n=t.slice()),l.from<a?(n[o]=new u(l.from,a),l.to>s&&n.splice(o+1,0,new u(s,l.to))):l.to>s?n[o--]=new u(s,l.to):n.splice(o--,1))}return r}function G(e,t){var n,r=[],o=(0,i.Z)(e);try{var a=function(){var e=n.value,i=e.pos,o=e.mount,a=e.frag,s=i+(o.overlay?o.overlay[0].from:0),l=s+o.tree.length,c=Math.max(a.from,s),h=Math.min(a.to,l);if(o.overlay)for(var f=o.overlay.map((function(e){return new u(e.from+i,e.to+i)})),d=function(e,t,n,r){for(var i=0,o=0,a=!1,s=!1,l=-1e9,c=[];;){var h=i==e.length?1e9:a?e[i].to:e[i].from,f=o==t.length?1e9:s?t[o].to:t[o].from;if(a!=s){var d=Math.max(l,n),p=Math.min(h,f,r);d<p&&c.push(new u(d,p))}if(1e9==(l=Math.min(h,f)))break;h==l&&(a?(a=!1,i++):a=!0),f==l&&(s?(s=!1,o++):s=!0)}return c}(t,f,c,h),p=0,m=c;;p++){var g=p==d.length,v=g?h:d[p].from;if(v>m&&r.push(new M(m,v,o.tree,-s,a.from>=m||a.openStart,a.to<=v||a.openEnd)),g)break;m=d[p].to}else r.push(new M(c,h,o.tree,-s,a.from>=s||a.openStart,a.to<=l||a.openEnd))};for(o.s();!(n=o.n()).done;)a()}catch(s){o.e(s)}finally{o.f()}return r}},994:function(e,t,n){"use strict";n.d(t,{Gv:function(){return h},QR:function(){return p},Vp:function(){return l},bW:function(){return m},pJ:function(){return Z}});var r=n(726),i=n(2951),o=n(1976),a=n(1330),s=0,l=function(){function e(t,n,r){(0,i.Z)(this,e),this.set=t,this.base=n,this.modified=r,this.id=s++}return(0,o.Z)(e,null,[{key:"define",value:function(t){if(null===t||void 0===t?void 0:t.base)throw new Error("Can not derive from a modified tag");var n=new e([],null,[]);if(n.set.push(n),t){var i,o=(0,r.Z)(t.set);try{for(o.s();!(i=o.n()).done;){var a=i.value;n.set.push(a)}}catch(s){o.e(s)}finally{o.f()}}return n}},{key:"defineModifier",value:function(){var e=new c;return function(t){return t.modified.indexOf(e)>-1?t:c.get(t.base||t,t.modified.concat(e).sort((function(e,t){return e.id-t.id})))}}}]),e}(),u=0,c=function(){function e(){(0,i.Z)(this,e),this.instances=[],this.id=u++}return(0,o.Z)(e,null,[{key:"get",value:function(t,n){if(!n.length)return t;var i=n[0].instances.find((function(e){return e.base==t&&(r=n,i=e.modified,r.length==i.length&&r.every((function(e,t){return e==i[t]})));var r,i}));if(i)return i;var o,a=[],s=new l(a,t,n),u=(0,r.Z)(n);try{for(u.s();!(o=u.n()).done;){o.value.instances.push(s)}}catch(v){u.e(v)}finally{u.f()}var c,h=function(e){for(var t=[[]],n=0;n<e.length;n++)for(var r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((function(e,t){return t.length-e.length}))}(n),f=(0,r.Z)(t.set);try{for(f.s();!(c=f.n()).done;){var d=c.value;if(!d.modified.length){var p,m=(0,r.Z)(h);try{for(m.s();!(p=m.n()).done;){var g=p.value;a.push(e.get(d,g))}}catch(v){m.e(v)}finally{m.f()}}}}catch(v){f.e(v)}finally{f.f()}return s}}]),e}();function h(e){var t=Object.create(null);for(var n in e){var i=e[n];Array.isArray(i)||(i=[i]);var o,a=(0,r.Z)(n.split(" "));try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s){for(var l=[],u=2,c=s,h=0;;){if("..."==c&&h>0&&h+3==s.length){u=1;break}var p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(c);if(!p)throw new RangeError("Invalid path: "+s);if(l.push("*"==p[0]?"":'"'==p[0][0]?JSON.parse(p[0]):p[0]),(h+=p[0].length)==s.length)break;var m=s[h++];if(h==s.length&&"!"==m){u=0;break}if("/"!=m)throw new RangeError("Invalid path: "+s);c=s.slice(h)}var g=l.length-1,v=l[g];if(!v)throw new RangeError("Invalid path: "+s);var O=new d(i,u,g>0?l.slice(0,g):null);t[v]=O.sort(t[v])}}}catch(y){a.e(y)}finally{a.f()}}return f.add(t)}var f=new a.md,d=function(){function e(t,n,r,o){(0,i.Z)(this,e),this.tags=t,this.mode=n,this.context=r,this.next=o}return(0,o.Z)(e,[{key:"opaque",get:function(){return 0==this.mode}},{key:"inherit",get:function(){return 1==this.mode}},{key:"sort",value:function(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}},{key:"depth",get:function(){return this.context?this.context.length:0}}]),e}();function p(e,t){var n,i=Object.create(null),o=(0,r.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(Array.isArray(a.tag)){var s,l=(0,r.Z)(a.tag);try{for(l.s();!(s=l.n()).done;){var u=s.value;i[u.id]=a.class}}catch(p){l.e(p)}finally{l.f()}}else i[a.tag.id]=a.class}}catch(p){o.e(p)}finally{o.f()}var c=t||{},h=c.scope,f=c.all,d=void 0===f?null:f;return{style:function(e){var t,n=d,o=(0,r.Z)(e);try{for(o.s();!(t=o.n()).done;){var a,s=t.value,l=(0,r.Z)(s.set);try{for(l.s();!(a=l.n()).done;){var u=a.value,c=i[u.id];if(c){n=n?n+" "+c:c;break}}}catch(p){l.e(p)}finally{l.f()}}}catch(p){o.e(p)}finally{o.f()}return n},scope:h}}function m(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length,o=new g(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}d.empty=new d([],2,null);var g=function(){function e(t,n,r){(0,i.Z)(this,e),this.at=t,this.highlighters=n,this.span=r,this.class=""}return(0,o.Z)(e,[{key:"startSpan",value:function(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}},{key:"flush",value:function(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}},{key:"highlightRange",value:function(e,t,n,i,o){var s=e.type,l=e.from,u=e.to;if(!(l>=n||u<=t)){s.isTop&&(o=this.highlighters.filter((function(e){return!e.scope||e.scope(s)})));var c=i,h=function(e){var t=e.type.prop(f);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||d.empty,p=function(e,t){var n,i=null,o=(0,r.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value.style(t);a&&(i=i?i+" "+a:a)}}catch(s){o.e(s)}finally{o.f()}return i}(o,h.tags);if(p&&(c&&(c+=" "),c+=p,1==h.mode&&(i+=(i?" ":"")+p)),this.startSpan(Math.max(t,l),c),!h.opaque){var m=e.tree&&e.tree.prop(a.md.mounted);if(m&&m.overlay){for(var g=e.node.enter(m.overlay[0].from+l,1),v=this.highlighters.filter((function(e){return!e.scope||e.scope(m.tree.type)})),O=e.firstChild(),y=0,b=l;;y++){var k=y<m.overlay.length?m.overlay[y]:null,S=k?k.from+l:u,x=Math.max(t,b),w=Math.min(n,S);if(x<w&&O)for(;e.from<w&&(this.highlightRange(e,x,w,i,o),this.startSpan(Math.min(w,e.to),c),!(e.to>=S)&&e.nextSibling()););if(!k||S>n)break;(b=k.to+l)>t&&(this.highlightRange(g.cursor(),Math.max(t,k.from+l),Math.min(n,b),"",v),this.startSpan(Math.min(n,b),c))}O&&e.parent()}else if(e.firstChild()){m&&(i="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),c)}}while(e.nextSibling());e.parent()}}}}}]),e}();var v=l.define,O=v(),y=v(),b=v(y),k=v(y),S=v(),x=v(S),w=v(S),T=v(),C=v(T),E=v(),A=v(),P=v(),_=v(P),D=v(),Z={comment:O,lineComment:v(O),blockComment:v(O),docComment:v(O),name:y,variableName:v(y),typeName:b,tagName:v(b),propertyName:k,attributeName:v(k),className:v(y),labelName:v(y),namespace:v(y),macroName:v(y),literal:S,string:x,docString:v(x),character:v(x),attributeValue:v(x),number:w,integer:v(w),float:v(w),bool:v(S),regexp:v(S),escape:v(S),color:v(S),url:v(S),keyword:E,self:v(E),null:v(E),atom:v(E),unit:v(E),modifier:v(E),operatorKeyword:v(E),controlKeyword:v(E),definitionKeyword:v(E),moduleKeyword:v(E),operator:A,derefOperator:v(A),arithmeticOperator:v(A),logicOperator:v(A),bitwiseOperator:v(A),compareOperator:v(A),updateOperator:v(A),definitionOperator:v(A),typeOperator:v(A),controlOperator:v(A),punctuation:P,separator:v(P),bracket:_,angleBracket:v(_),squareBracket:v(_),paren:v(_),brace:v(_),content:T,heading:C,heading1:v(C),heading2:v(C),heading3:v(C),heading4:v(C),heading5:v(C),heading6:v(C),contentSeparator:v(T),list:v(T),quote:v(T),emphasis:v(T),strong:v(T),link:v(T),monospace:v(T),strikethrough:v(T),inserted:v(),deleted:v(),changed:v(),invalid:v(),meta:D,documentMeta:v(D),annotation:v(D),processingInstruction:v(D),definition:l.defineModifier(),constant:l.defineModifier(),function:l.defineModifier(),standard:l.defineModifier(),local:l.defineModifier(),special:l.defineModifier()};p([{tag:Z.link,class:"tok-link"},{tag:Z.heading,class:"tok-heading"},{tag:Z.emphasis,class:"tok-emphasis"},{tag:Z.strong,class:"tok-strong"},{tag:Z.keyword,class:"tok-keyword"},{tag:Z.atom,class:"tok-atom"},{tag:Z.bool,class:"tok-bool"},{tag:Z.url,class:"tok-url"},{tag:Z.labelName,class:"tok-labelName"},{tag:Z.inserted,class:"tok-inserted"},{tag:Z.deleted,class:"tok-deleted"},{tag:Z.literal,class:"tok-literal"},{tag:Z.string,class:"tok-string"},{tag:Z.number,class:"tok-number"},{tag:[Z.regexp,Z.escape,Z.special(Z.string)],class:"tok-string2"},{tag:Z.variableName,class:"tok-variableName"},{tag:Z.local(Z.variableName),class:"tok-variableName tok-local"},{tag:Z.definition(Z.variableName),class:"tok-variableName tok-definition"},{tag:Z.special(Z.variableName),class:"tok-variableName2"},{tag:Z.definition(Z.propertyName),class:"tok-propertyName tok-definition"},{tag:Z.typeName,class:"tok-typeName"},{tag:Z.namespace,class:"tok-namespace"},{tag:Z.className,class:"tok-className"},{tag:Z.macroName,class:"tok-macroName"},{tag:Z.propertyName,class:"tok-propertyName"},{tag:Z.operator,class:"tok-operator"},{tag:Z.comment,class:"tok-comment"},{tag:Z.meta,class:"tok-meta"},{tag:Z.invalid,class:"tok-invalid"},{tag:Z.punctuation,class:"tok-punctuation"}])},8551:function(e,t,n){"use strict";n.d(t,{IK:function(){return R},Jq:function(){return S},RA:function(){return k},WQ:function(){return M}});var r=n(649),i=n(7591),o=n(9616),a=n(1026),s=n(726),l=n(2951),u=n(1976),c=n(1330),h=n(3617),f=function(){function e(t,n,r,i,o,a,s,u,c){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,f=arguments.length>10?arguments[10]:void 0;(0,l.Z)(this,e),this.p=t,this.stack=n,this.state=r,this.reducePos=i,this.pos=o,this.score=a,this.buffer=s,this.bufferBase=u,this.curContext=c,this.lookAhead=h,this.parent=f}return(0,u.Z)(e,[{key:"toString",value:function(){return"[".concat(this.stack.filter((function(e,t){return t%3==0})).concat(this.state),"]@").concat(this.pos).concat(this.score?"!"+this.score:"")}},{key:"context",get:function(){return this.curContext?this.curContext.context:null}},{key:"pushState",value:function(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}},{key:"reduce",value:function(e){var t,n=e>>19,r=65535&e,i=this.p.parser,o=i.dynamicPrecedence(r);if(o&&(this.score+=o),0==n)return this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);var a=this.stack.length-3*(n-1)-(262144&e?6:0),s=a?this.stack[a-2]:this.p.ranges[0].from,l=this.reducePos-s;l>=2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=l):this.p.lastBigReductionSize<l&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=l));var u=a?this.stack[a-1]:0,c=this.bufferBase+this.buffer.length-u;if(r<i.minRepeatTerm||131072&e){var h=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,s,h,c+4,!0)}if(262144&e)this.state=this.stack[a];else{var f=this.stack[a-3];this.state=i.getGoto(f,r,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(r,s)}},{key:"storeNode",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:4,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){var o=this,a=this.buffer.length;if(0==a&&o.parent&&(a=o.bufferBase-o.parent.bufferBase,o=o.parent),a>0&&0==o.buffer[a-4]&&o.buffer[a-1]>-1){if(t==n)return;if(o.buffer[a-2]>=t)return void(o.buffer[a-2]=n)}}if(i&&this.pos!=n){var s=this.buffer.length;if(s>0&&0!=this.buffer[s-4])for(;s>0&&this.buffer[s-2]>n;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,r>4&&(r-=4);this.buffer[s]=e,this.buffer[s+1]=t,this.buffer[s+2]=n,this.buffer[s+3]=r}else this.buffer.push(e,t,n,r)}},{key:"shift",value:function(e,t,n){var r=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){var i=e,o=this.p.parser;(n>this.pos||t<=o.maxNode)&&(this.pos=n,o.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,r),this.shiftContext(t,r),t<=o.maxNode&&this.buffer.push(t,r,n,4)}else this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4)}},{key:"apply",value:function(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}},{key:"useNode",value:function(e,t){var n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);var r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}},{key:"split",value:function(){for(var t=this,n=t.buffer.length;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;for(var r=t.buffer.slice(n),i=t.bufferBase+n;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}},{key:"recoverByDelete",value:function(e,t){var n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}},{key:"canShift",value:function(e){for(var t=new p(this);;){var n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}},{key:"recoverByInsert",value:function(e){if(this.stack.length>=300)return[];var t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){for(var n,r=[],i=0;i<t.length;i+=2)(n=t[i+1])!=this.state&&this.p.parser.hasAction(n,e)&&r.push(t[i],n);if(this.stack.length<120)for(var o=function(){var e=t[a+1];r.some((function(t,n){return 1&n&&t==e}))||r.push(t[a],e)},a=0;r.length<8&&a<t.length;a+=2)o();t=r}for(var s=[],l=0;l<t.length&&s.length<4;l+=2){var u=t[l+1];if(u!=this.state){var c=this.split();c.pushState(u,this.pos),c.storeNode(0,c.pos,c.pos,4,!0),c.shiftContext(t[l],this.pos),c.score-=200,s.push(c)}}return s}},{key:"forceReduce",value:function(){var e=this.p.parser,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){var n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||e.getGoto(this.stack[i],r,!1)<0){var o=this.findForcedReduction();if(null==o)return!1;t=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}},{key:"findForcedReduction",value:function(){var e=this,t=this.p.parser,n=[];return function r(i,o){if(!n.includes(i))return n.push(i),t.allActions(i,(function(n){if(393216&n);else if(65536&n){var i=(n>>19)-o;if(i>1){var a=65535&n,s=e.stack.length-3*i;if(s>=0&&t.getGoto(e.stack[s],a,!1)>=0)return i<<19|65536|a}}else{var l=r(n,o+1);if(null!=l)return l}}))}(this.state,0)}},{key:"forceAll",value:function(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}},{key:"deadEnd",get:function(){if(3!=this.stack.length)return!1;var e=this.p.parser;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}},{key:"restart",value:function(){this.state=this.stack[0],this.stack.length=0}},{key:"sameState",value:function(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(var t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}},{key:"parser",get:function(){return this.p.parser}},{key:"dialectEnabled",value:function(e){return this.p.parser.dialect.flags[e]}},{key:"shiftContext",value:function(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}},{key:"reduceContext",value:function(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}},{key:"emitContext",value:function(){var e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}},{key:"emitLookAhead",value:function(){var e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}},{key:"updateContext",value:function(e){if(e!=this.curContext.context){var t=new d(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}},{key:"setLookAhead",value:function(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}},{key:"close",value:function(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}],[{key:"start",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new d(i,i.start):null,0,null)}}]),e}(),d=(0,u.Z)((function e(t,n){(0,l.Z)(this,e),this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0})),p=function(){function e(t){(0,l.Z)(this,e),this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}return(0,u.Z)(e,[{key:"reduce",value:function(e){var t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);var r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}]),e}(),m=function(){function e(t,n,r){(0,l.Z)(this,e),this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,0==this.index&&this.maybeNext()}return(0,u.Z)(e,[{key:"maybeNext",value:function(){var e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}},{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"next",value:function(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}},{key:"fork",value:function(){return new e(this.stack,this.pos,this.index)}}],[{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.bufferBase+t.buffer.length;return new e(t,n,n-t.bufferBase)}}]),e}();function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Uint16Array;if("string"!=typeof e)return e;for(var n=null,r=0,i=0;r<e.length;){for(var o=0;;){var a=e.charCodeAt(r++),s=!1;if(126==a){o=65535;break}a>=92&&a--,a>=34&&a--;var l=a-32;if(l>=46&&(l-=46,s=!0),o+=l,s)break;o*=46}n?n[i++]=o:n=new t(o)}return n}var v=(0,u.Z)((function e(){(0,l.Z)(this,e),this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0})),O=new v,y=function(){function e(t,n){(0,l.Z)(this,e),this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=O,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}return(0,u.Z)(e,[{key:"resolveOffset",value:function(e,t){for(var n=this.range,r=this.rangeIndex,i=this.pos+e;i<n.from;){if(!r)return null;var o=this.ranges[--r];i-=n.from-o.to,n=o}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;var a=this.ranges[++r];i+=a.from-n.to,n=a}return i}},{key:"clipPos",value:function(e){if(e>=this.range.from&&e<this.range.to)return e;var t,n=(0,s.Z)(this.ranges);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.to>e)return Math.max(e,r.from)}}catch(i){n.e(i)}finally{n.f()}return this.end}},{key:"peek",value:function(e){var t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{var i=this.resolveOffset(e,1);if(null==i)return-1;if((t=i)>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{for(var o=this.rangeIndex,a=this.range;a.to<=t;)a=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}},{key:"acceptToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}},{key:"getChunk",value:function(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){var e=this.chunk,t=this.chunkPos;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;var n=this.input.chunk(this.pos),r=this.pos+n.length;this.chunk=r>this.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}},{key:"readNext",value:function(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}},{key:"advance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}},{key:"setDone",value:function(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}},{key:"reset",value:function(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=O,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}},{key:"read",value:function(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);var n,r="",i=(0,s.Z)(this.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.from>=t)break;o.to>e&&(r+=this.input.read(Math.max(o.from,e),Math.min(o.to,t)))}}catch(a){i.e(a)}finally{i.f()}return r}}]),e}(),b=function(){function e(t,n){(0,l.Z)(this,e),this.data=t,this.id=n}return(0,u.Z)(e,[{key:"token",value:function(e,t){var n=t.p.parser;x(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}]),e}();b.prototype.contextual=b.prototype.fallback=b.prototype.extend=!1;var k=function(){function e(t,n,r){(0,l.Z)(this,e),this.precTable=n,this.elseToken=r,this.data="string"==typeof t?g(t):t}return(0,u.Z)(e,[{key:"token",value:function(e,t){for(var n=e.pos,r=0;;){var i=e.next<0,o=e.resolveOffset(1,1);if(x(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(i||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}]),e}();k.prototype.contextual=b.prototype.fallback=b.prototype.extend=!1;var S=(0,u.Z)((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Z)(this,e),this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}));function x(e,t,n,r,i,o){var a=0,s=1<<r,l=n.p.parser.dialect;e:for(;0!=(s&e[a]);){for(var u=e[a+1],c=a+3;c<u;c+=2)if((e[c+1]&s)>0){var h=e[c];if(l.allows(h)&&(-1==t.token.value||t.token.value==h||T(h,t.token.value,i,o))){t.acceptToken(h);break}}var f=t.next,d=0,p=e[a+2];if(!(t.next<0&&p>d&&65535==e[u+3*p-3]&&65535==e[u+3*p-3])){for(;d<p;){var m=d+p>>1,g=u+m+(m<<1),v=e[g],O=e[g+1]||65536;if(f<v)p=m;else{if(!(f>=O)){a=e[g+2],t.advance();continue e}d=m+1}}break}a=e[u+3*p-1]}}function w(e,t,n){for(var r,i=t;65535!=(r=e[i]);i++)if(r==n)return i-t;return-1}function T(e,t,n,r){var i=w(n,r,t);return i<0||w(n,r,e)<i}var C="undefined"!=typeof h&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&/\bparse\b/.test({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.LOG),E=null;function A(e,t,n){var r=e.cursor(c.vj.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}var P=function(){function e(t,n){(0,l.Z)(this,e),this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}return(0,u.Z)(e,[{key:"nextFragment",value:function(){var e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?A(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?A(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}},{key:"nodeAt",value:function(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){var t=this.trees.length-1;if(t<0)return this.nextFragment(),null;var n=this.trees[t],r=this.index[t];if(r!=n.children.length){var i=n.children[r],o=this.start[t]+n.positions[r];if(o>e)return this.nextStart=o,null;if(i instanceof c.mp){if(o==e){if(o<this.safeFrom)return null;var a=o+i.length;if(a<=this.safeTo){var s=i.prop(c.md.lookAhead);if(!s||a+s<this.fragment.to)return i}}this.index[t]++,o+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}else this.trees.pop(),this.start.pop(),this.index.pop()}}}]),e}(),_=function(){function e(t,n){(0,l.Z)(this,e),this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map((function(e){return new v}))}return(0,u.Z)(e,[{key:"getActions",value:function(e){for(var t=0,n=null,r=e.p.parser,i=r.tokenizers,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0,l=0;l<i.length;l++)if(0!=(1<<l&o)){var u=i[l],c=this.tokens[l];if((!n||u.fallback)&&((u.contextual||c.start!=e.pos||c.mask!=o||c.context!=a)&&(this.updateCachedToken(c,u,e),c.mask=o,c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){var h=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!u.extend&&(n=c,t>h))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||((n=new v).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}},{key:"getMainToken",value:function(e){if(this.mainToken)return this.mainToken;var t=new v,n=e.pos,r=e.p;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}},{key:"updateCachedToken",value:function(e,t,n){var r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){for(var i=n.p.parser,o=0;o<i.specialized.length;o++)if(i.specialized[o]==e.value){var a=i.specializers[o](this.stream.read(e.start,e.end),n);if(a>=0&&n.p.parser.dialect.allows(a>>1)){0==(1&a)?e.value=a>>1:e.extended=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}},{key:"putAction",value:function(e,t,n,r){for(var i=0;i<r;i+=3)if(this.actions[i]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}},{key:"addActions",value:function(e,t,n,r){for(var i=e.state,o=e.p.parser,a=o.data,s=0;s<2;s++)for(var l=o.stateSlot(i,s?2:1);;l+=3){if(65535==a[l]){if(1!=a[l+1]){0==r&&2==a[l+1]&&(r=this.putAction($(a,l+2),t,n,r));break}l=$(a,l+2)}a[l]==t&&(r=this.putAction($(a,l+1),t,n,r))}return r}}]),e}(),D=function(){function e(t,n,r,i){(0,l.Z)(this,e),this.parser=t,this.input=n,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new y(n,i),this.tokens=new _(t,this.stream),this.topTerm=t.top[1];var o=i[0].from;this.stacks=[f.start(this,t.top[0],o)],this.fragments=r.length&&this.stream.end-o>4*t.bufferLength?new P(r,t.nodeSet):null}return(0,u.Z)(e,[{key:"parsedPos",get:function(){return this.minStackPos}},{key:"advance",value:function(){var e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){for(var o=(0,a.Z)(n,1)[0];o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(var l=0;l<n.length;l++)for(var u=n[l];;){if(this.tokens.mainToken=null,u.pos>r)i.push(u);else{if(this.advanceStack(u,i,n))continue;e||(e=[],t=[]),e.push(u);var c=this.tokens.getMainToken(u);t.push(c.value,c.end)}break}if(!i.length){var h=e&&function(e){var t,n=null,r=(0,s.Z)(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.p.stoppedAt;(i.pos==i.p.stream.end||null!=o&&i.pos>o)&&i.p.parser.stateFlag(i.state,2)&&(!n||n.score<i.score)&&(n=i)}}catch(a){r.e(a)}finally{r.f()}return n}(e);if(h)return C&&console.log("Finish with "+this.stackID(h)),this.stackToTree(h);if(this.parser.strict)throw C&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){var f=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(f)return C&&console.log("Force-finish "+this.stackID(f)),this.stackToTree(f.forceAll())}if(this.recovering){var d=1==this.recovering?1:3*this.recovering;if(i.length>d)for(i.sort((function(e,t){return t.score-e.score}));i.length>d;)i.pop();i.some((function(e){return e.reducePos>r}))&&this.recovering--}else if(i.length>1){e:for(var p=0;p<i.length-1;p++)for(var m=i[p],g=p+1;g<i.length;g++){var v=i[g];if(m.sameState(v)||m.buffer.length>500&&v.buffer.length>500){if(!((m.score-v.score||m.buffer.length-v.buffer.length)>0)){i.splice(p--,1);continue e}i.splice(g--,1)}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(var O=1;O<i.length;O++)i[O].pos<this.minStackPos&&(this.minStackPos=i[O].pos);return null}},{key:"stopAt",value:function(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}},{key:"advanceStack",value:function(e,t,n){var r=e.pos,i=this.parser,o=C?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments)for(var a=e.curContext&&e.curContext.tracker.strict,s=a?e.curContext.hash:0,l=this.fragments.nodeAt(r);l;){var u=this.parser.nodeSet.types[l.type.id]==l.type?i.getGoto(e.state,l.type.id):-1;if(u>-1&&l.length&&(!a||(l.prop(c.md.contextHash)||0)==s))return e.useNode(l,u),C&&console.log(o+this.stackID(e)+" (via reuse of ".concat(i.getName(l.type.id),")")),!0;if(!(l instanceof c.mp)||0==l.children.length||l.positions[0]>0)break;var h=l.children[0];if(!(h instanceof c.mp&&0==l.positions[0]))break;l=h}var f=i.stateSlot(e.state,4);if(f>0)return e.reduce(f),C&&console.log(o+this.stackID(e)+" (via always-reduce ".concat(i.getName(65535&f),")")),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););for(var d=this.tokens.getActions(e),p=0;p<d.length;){var m=d[p++],g=d[p++],v=d[p++],O=p==d.length||!n,y=O?e:e.split();if(y.apply(m,g,v),C&&console.log(o+this.stackID(y)+" (via ".concat(0==(65536&m)?"shift":"reduce of ".concat(i.getName(65535&m))," for ").concat(i.getName(g)," @ ").concat(r).concat(y==e?"":", split",")")),O)return!0;y.pos>r?t.push(y):n.push(y)}return!1}},{key:"advanceFully",value:function(e,t){for(var n=e.pos;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Z(e,t),!0}}},{key:"runRecovery",value:function(e,t,n){for(var r=null,i=!1,o=0;o<e.length;o++){var a=e[o],l=t[o<<1],u=t[1+(o<<1)],c=C?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),C&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}for(var h=a.split(),f=c,d=0;h.forceReduce()&&d<10;d++){if(C&&console.log(f+this.stackID(h)+" (via force-reduce)"),this.advanceFully(h,n))break;C&&(f=this.stackID(h)+" -> ")}var p,m=(0,s.Z)(a.recoverByInsert(l));try{for(m.s();!(p=m.n()).done;){var g=p.value;C&&console.log(c+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,n)}}catch(v){m.e(v)}finally{m.f()}this.stream.end>a.pos?(u==a.pos&&(u++,l=0),a.recoverByDelete(l,u),C&&console.log(c+this.stackID(a)+" (via recover-delete ".concat(this.parser.getName(l),")")),Z(a,n)):(!r||r.score<a.score)&&(r=a)}return r}},{key:"stackToTree",value:function(e){return e.close(),c.mp.build({buffer:m.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}},{key:"stackID",value:function(e){var t=(E||(E=new WeakMap)).get(e);return t||E.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}]),e}();function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}var N=function(){function e(t,n,r){(0,l.Z)(this,e),this.source=t,this.flags=n,this.disabled=r}return(0,u.Z)(e,[{key:"allows",value:function(e){return!this.disabled||0==this.disabled[e]}}]),e}(),Q=function(e){return e},R=(0,u.Z)((function e(t){(0,l.Z)(this,e),this.start=t.start,this.shift=t.shift||Q,this.reduce=t.reduce||Q,this.reuse=t.reuse||Q,this.hash=t.hash||function(){return 0},this.strict=!1!==t.strict})),M=function(e){(0,i.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i,o;if((0,l.Z)(this,n),(o=t.call(this)).wrappers=[],14!=e.version)throw new RangeError("Parser version (".concat(e.version,") doesn't match runtime version (",14,")"));var a=e.nodeNames.split(" ");o.minRepeatTerm=a.length;for(var u=0;u<e.repeatNodeCount;u++)a.push("");for(var h=Object.keys(e.topRules).map((function(t){return e.topRules[t][1]})),f=[],d=0;d<a.length;d++)f.push([]);function p(e,t,n){f[e].push([t,t.deserialize(String(n))])}if(e.nodeProps){var m,v=(0,s.Z)(e.nodeProps);try{for(v.s();!(m=v.n()).done;){var O=m.value,y=O[0];"string"==typeof y&&(y=c.md[y]);for(var k=1;k<O.length;){var S=O[k++];if(S>=0)p(S,y,O[k++]);else{for(var x=O[k+-S],w=-S;w>0;w--)p(O[k++],y,x);k++}}}}catch(E){v.e(E)}finally{v.f()}}o.nodeSet=new c.Lj(a.map((function(t,n){return c.Jq.define({name:n>=o.minRepeatTerm?void 0:t,id:n,props:f[n],top:h.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1})}))),e.propSources&&(o.nodeSet=(i=o.nodeSet).extend.apply(i,(0,r.Z)(e.propSources))),o.strict=!1,o.bufferLength=c.L3;var T=g(e.tokenData);o.context=e.context,o.specializerSpecs=e.specialized||[],o.specialized=new Uint16Array(o.specializerSpecs.length);for(var C=0;C<o.specializerSpecs.length;C++)o.specialized[C]=o.specializerSpecs[C].term;return o.specializers=o.specializerSpecs.map(I),o.states=g(e.states,Uint32Array),o.data=g(e.stateData),o.goto=g(e.goto),o.maxTerm=e.maxTerm,o.tokenizers=e.tokenizers.map((function(e){return"number"==typeof e?new b(T,e):e})),o.topRules=e.topRules,o.dialects=e.dialects||{},o.dynamicPrecedences=e.dynamicPrecedences||null,o.tokenPrecTable=e.tokenPrec,o.termNames=e.termNames||null,o.maxNode=o.nodeSet.types.length-1,o.dialect=o.parseDialect(),o.top=o.topRules[Object.keys(o.topRules)[0]],o}return(0,u.Z)(n,[{key:"createParse",value:function(e,t,n){var r,i=new D(this,e,t,n),o=(0,s.Z)(this.wrappers);try{for(o.s();!(r=o.n()).done;){i=(0,r.value)(i,e,t,n)}}catch(a){o.e(a)}finally{o.f()}return i}},{key:"getGoto",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.goto;if(t>=r[0])return-1;for(var i=r[t+1];;){var o=r[i++],a=1&o,s=r[i++];if(a&&n)return s;for(var l=i+(o>>1);i<l;i++)if(r[i]==e)return s;if(a)return-1}}},{key:"hasAction",value:function(e,t){for(var n=this.data,r=0;r<2;r++)for(var i,o=this.stateSlot(e,r?2:1);;o+=3){if(65535==(i=n[o])){if(1!=n[o+1]){if(2==n[o+1])return $(n,o+2);break}i=n[o=$(n,o+2)]}if(i==t||0==i)return $(n,o+1)}return 0}},{key:"stateSlot",value:function(e,t){return this.states[6*e+t]}},{key:"stateFlag",value:function(e,t){return(this.stateSlot(e,0)&t)>0}},{key:"validAction",value:function(e,t){return!!this.allActions(e,(function(e){return e==t||null}))}},{key:"allActions",value:function(e,t){for(var n=this.stateSlot(e,4),r=n?t(n):void 0,i=this.stateSlot(e,1);null==r;i+=3){if(65535==this.data[i]){if(1!=this.data[i+1])break;i=$(this.data,i+2)}r=t($(this.data,i+1))}return r}},{key:"nextStates",value:function(e){for(var t=this,n=[],r=function(e){if(65535==t.data[e]){if(1!=t.data[e+1])return i=e,1;e=$(t.data,e+2)}if(0==(1&t.data[e+2])){var r=t.data[e+1];n.some((function(e,t){return 1&t&&e==r}))||n.push(t.data[e],r)}i=e},i=this.stateSlot(e,1);!r(i);i+=3);return n}},{key:"configure",value:function(e){var t,i=Object.assign(Object.create(n.prototype),this);if(e.props&&(i.nodeSet=(t=this.nodeSet).extend.apply(t,(0,r.Z)(e.props))),e.top){var o=this.topRules[e.top];if(!o)throw new RangeError("Invalid top rule name ".concat(e.top));i.top=o}return e.tokenizers&&(i.tokenizers=this.tokenizers.map((function(t){var n=e.tokenizers.find((function(e){return e.from==t}));return n?n.to:t}))),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((function(t,n){var r=e.specializers.find((function(e){return e.from==t.external}));if(!r)return t;var o=Object.assign(Object.assign({},t),{external:r.to});return i.specializers[n]=I(o),o}))),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),null!=e.bufferLength&&(i.bufferLength=e.bufferLength),i}},{key:"hasWrappers",value:function(){return this.wrappers.length>0}},{key:"getName",value:function(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}},{key:"eofTerm",get:function(){return this.maxNode+1}},{key:"topNode",get:function(){return this.nodeSet.types[this.top[1]]}},{key:"dynamicPrecedence",value:function(e){var t=this.dynamicPrecedences;return null==t?0:t[e]||0}},{key:"parseDialect",value:function(e){var t=Object.keys(this.dialects),n=t.map((function(){return!1}));if(e){var r,i=(0,s.Z)(e.split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.indexOf(o);a>=0&&(n[a]=!0)}}catch(f){i.e(f)}finally{i.f()}}for(var l=null,u=0;u<t.length;u++)if(!n[u])for(var c,h=this.dialects[t[u]];65535!=(c=this.data[h++]);)(l||(l=new Uint8Array(this.maxTerm+1)))[c]=1;return new N(e,n,l)}}],[{key:"deserialize",value:function(e){return new n(e)}}]),n}(c._b);function $(e,t){return e[t]|e[t+1]<<16}function I(e){if(e.external){var t=e.extend?1:0;return function(n,r){return e.external(n,r)<<1|t}}return e.get}},5412:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},8522:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Q:function(){return i}});var r=n(649);function i(e){for(var t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;!o;){-1===r&&(r=n.length,o=!0);var a=n.slice(i,r).trim();!a&&o||t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function o(e,t){var n=t||{};return(""===e[e.length-1]?[].concat((0,r.Z)(e),[""]):e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}},6166:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=document.createElement("i");function i(e){var t="&"+e+";";r.innerHTML=t;var n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}},1865:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(1003),i=n(7627),o=/[#.]/g;var a=n(6370),s=n(8522),l=new Set(["menu","submit","reset","button"]),u={}.hasOwnProperty;function c(e,t,n){var r=n&&function(e){var t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,i){for(var a,s,c=-1,d=arguments.length,p=new Array(d>2?d-2:0),m=2;m<d;m++)p[m-2]=arguments[m];if(void 0===n||null===n)a={type:"root",children:[]},p.unshift(i);else if(a=function(e,t){for(var n,r,i=e||"",a={},s=0;s<i.length;){o.lastIndex=s;var l=o.exec(i),u=i.slice(s,l?l.index:i.length);u&&(n?"#"===n?a.id=u:Array.isArray(a.className)?a.className.push(u):a.className=[u]:r=u,s+=u.length),l&&(n=l[0],s++)}return{type:"element",tagName:r||t||"div",properties:a,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&u.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(e,t){if(null===e||void 0===e||"object"!==typeof e||Array.isArray(e))return!1;if("input"===t||!e.type||"string"!==typeof e.type)return!0;if("children"in e&&Array.isArray(e.children))return!1;if("button"===t)return l.has(e.type.toLowerCase());return!("value"in e)}(i,a.tagName))for(s in i)u.call(i,s)&&h(e,a.properties,s,i[s]);else p.unshift(i);for(;++c<p.length;)f(a.children,p[c]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function h(e,t,n,i){var o,l=(0,r.s)(e,n),c=-1;if(void 0!==i&&null!==i){if("number"===typeof i){if(Number.isNaN(i))return;o=i}else o="boolean"===typeof i?i:"string"===typeof i?l.spaceSeparated?(0,a.Q)(i):l.commaSeparated?(0,s.Q)(i):l.commaOrSpaceSeparated?(0,a.Q)((0,s.Q)(i).join(" ")):d(l,l.property,i):Array.isArray(i)?i.concat():"style"===l.property?function(e){var t,n=[];for(t in e)u.call(e,t)&&n.push([t,e[t]].join(": "));return n.join("; ")}(i):String(i);if(Array.isArray(o)){for(var h=[];++c<o.length;)h[c]=d(l,l.property,o[c]);o=h}"className"===l.property&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[l.property]=o}}function f(e,t){var n=-1;if(void 0===t||null===t);else if("string"===typeof t||"number"===typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)f(e,t[n]);else{if("object"!==typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?f(e,t.children):e.push(t)}}function d(e,t,n){if("string"===typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,i.F)(n)===(0,i.F)(t)))return!0}return n}},8372:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(2092),i=(0,n(1865).v)(r.dy,"div")},6190:function(e,t,n){"use strict";n.d(t,{L:function(){return h}});var r=n(5412),i={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"};function o(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function a(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function s(e){return function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||o(e)}var l=n(6166),u=String.fromCharCode,c=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function h(e){var t,n,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d="string"===typeof h.additional?h.additional.charCodeAt(0):h.additional,p=[],m=0,g=-1,v="";h.position&&("start"in h.position||"indent"in h.position?(n=h.position.indent,t=h.position.start):t=h.position);var O,y,b=(t?t.line:0)||1,k=(t?t.column:0)||1,S=z();for(m--;++m<=e.length;)if(10===O&&(k=(n?n[g]:0)||1),38===(O=e.charCodeAt(m))){var x=e.charCodeAt(m+1);if(9===x||10===x||12===x||32===x||38===x||60===x||Number.isNaN(x)||d&&x===d){v+=u(O),k++;continue}var w=m+1,T=w,C=w,E=void 0;if(35===x){C=++T;var A=e.charCodeAt(C);88===A||120===A?(E="hexadecimal",C=++T):E="decimal"}else E="named";var P="",_="",D="",Z="named"===E?s:"decimal"===E?o:a;for(C--;++C<=e.length;){var N=e.charCodeAt(C);if(!Z(N))break;D+=u(N),"named"===E&&r.K.includes(D)&&(P=D,_=(0,l.T)(D))}var Q=59===e.charCodeAt(C);if(Q){C++;var R="named"===E&&(0,l.T)(D);R&&(P=D,_=R)}var M=1+C-w,$="";if(Q||!1!==h.nonTerminated)if(D)if("named"===E){if(Q&&!_)U(5,1);else if(P!==D&&(M=1+(C=T+P.length)-T,Q=!1),!Q){var I=P?1:3;if(h.attribute){var L=e.charCodeAt(C);61===L?(U(I,M),_=""):s(L)?_="":U(I,M)}else U(I,M)}$=_}else{Q||U(2,M);var F=Number.parseInt(D,"hexadecimal"===E?16:10);if((y=F)>=55296&&y<=57343||y>1114111)U(7,M),$=u(65533);else if(F in i)U(6,M),$=i[F];else{var B="";f(F)&&U(6,M),F>65535&&(B+=u((F-=65536)>>>10|55296),F=56320|1023&F),$=B+u(F)}}else"named"!==E&&U(4,M);else;if($){Y(),S=z(),m=C-1,k+=C-w+1,p.push($);var j=z();j.offset++,h.reference&&h.reference.call(h.referenceContext,$,{start:S,end:j},e.slice(w-1,C)),S=j}else D=e.slice(w-1,C),v+=D,k+=D.length,m=C-1}else 10===O&&(b++,g++,k=0),Number.isNaN(O)?Y():(v+=u(O),k++);return p.join("");function z(){return{line:b,column:k,offset:m+((t?t.offset:0)||0)}}function U(e,t){var n;h.warning&&((n=z()).column+=t,n.offset+=t,h.warning.call(h.warningContext,c[e],n,e))}function Y(){v&&(p.push(v),h.text&&h.text.call(h.textContext,v,{start:S,end:z()}),v="")}}function f(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}},2092:function(e,t,n){"use strict";n.d(t,{dy:function(){return b},YP:function(){return k}});var r=n(1976),i=n(2951),o=(0,r.Z)((function e(t,n,r){(0,i.Z)(this,e),this.property=t,this.normal=n,r&&(this.space=r)}));function a(e,t){for(var n={},r={},i=-1;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new o(n,r,t)}o.prototype.property={},o.prototype.normal={},o.prototype.space=null;var s=n(7627),l=n(3646),u={}.hasOwnProperty;function c(e){var t,n={},r={};for(t in e.properties)if(u.call(e.properties,t)){var i=e.properties[t],a=new l.I(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),n[t]=a,r[(0,s.F)(t)]=t,r[(0,s.F)(a.attribute)]=t}return new o(n,r,e.space)}var h=c({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),f=c({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function p(e,t){return d(e,t.toLowerCase())}var m=c({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:p,properties:{xmlns:null,xmlnsXLink:null}}),g=n(3790),v=c({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:g.booleanish,ariaAutoComplete:null,ariaBusy:g.booleanish,ariaChecked:g.booleanish,ariaColCount:g.number,ariaColIndex:g.number,ariaColSpan:g.number,ariaControls:g.spaceSeparated,ariaCurrent:null,ariaDescribedBy:g.spaceSeparated,ariaDetails:null,ariaDisabled:g.booleanish,ariaDropEffect:g.spaceSeparated,ariaErrorMessage:null,ariaExpanded:g.booleanish,ariaFlowTo:g.spaceSeparated,ariaGrabbed:g.booleanish,ariaHasPopup:null,ariaHidden:g.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g.spaceSeparated,ariaLevel:g.number,ariaLive:null,ariaModal:g.booleanish,ariaMultiLine:g.booleanish,ariaMultiSelectable:g.booleanish,ariaOrientation:null,ariaOwns:g.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:g.number,ariaPressed:g.booleanish,ariaReadOnly:g.booleanish,ariaRelevant:null,ariaRequired:g.booleanish,ariaRoleDescription:g.spaceSeparated,ariaRowCount:g.number,ariaRowIndex:g.number,ariaRowSpan:g.number,ariaSelected:g.booleanish,ariaSetSize:g.number,ariaSort:null,ariaValueMax:g.number,ariaValueMin:g.number,ariaValueNow:g.number,ariaValueText:null,role:null}}),O=c({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:p,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g.commaSeparated,acceptCharset:g.spaceSeparated,accessKey:g.spaceSeparated,action:null,allow:null,allowFullScreen:g.boolean,allowPaymentRequest:g.boolean,allowUserMedia:g.boolean,alt:null,as:null,async:g.boolean,autoCapitalize:null,autoComplete:g.spaceSeparated,autoFocus:g.boolean,autoPlay:g.boolean,capture:g.boolean,charSet:null,checked:g.boolean,cite:null,className:g.spaceSeparated,cols:g.number,colSpan:null,content:null,contentEditable:g.booleanish,controls:g.boolean,controlsList:g.spaceSeparated,coords:g.number|g.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g.boolean,defer:g.boolean,dir:null,dirName:null,disabled:g.boolean,download:g.overloadedBoolean,draggable:g.booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g.boolean,formTarget:null,headers:g.spaceSeparated,height:g.number,hidden:g.boolean,high:g.number,href:null,hrefLang:null,htmlFor:g.spaceSeparated,httpEquiv:g.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:g.boolean,itemId:null,itemProp:g.spaceSeparated,itemRef:g.spaceSeparated,itemScope:g.boolean,itemType:g.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g.boolean,low:g.number,manifest:null,max:null,maxLength:g.number,media:null,method:null,min:null,minLength:g.number,multiple:g.boolean,muted:g.boolean,name:null,nonce:null,noModule:g.boolean,noValidate:g.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint: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:g.boolean,optimum:g.number,pattern:null,ping:g.spaceSeparated,placeholder:null,playsInline:g.boolean,poster:null,preload:null,readOnly:g.boolean,referrerPolicy:null,rel:g.spaceSeparated,required:g.boolean,reversed:g.boolean,rows:g.number,rowSpan:g.number,sandbox:g.spaceSeparated,scope:null,scoped:g.boolean,seamless:g.boolean,selected:g.boolean,shape:null,size:g.number,sizes:null,slot:null,span:g.number,spellCheck:g.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g.number,step:null,style:null,tabIndex:g.number,target:null,title:null,translate:null,type:null,typeMustMatch:g.boolean,useMap:null,value:g.booleanish,width:g.number,wrap:null,align:null,aLink:null,archive:g.spaceSeparated,axis:null,background:null,bgColor:null,border:g.number,borderColor:null,bottomMargin:g.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g.boolean,declare:g.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:g.number,leftMargin:g.number,link:null,longDesc:null,lowSrc:null,marginHeight:g.number,marginWidth:g.number,noResize:g.boolean,noHref:g.boolean,noShade:g.boolean,noWrap:g.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:g.number,rules:null,scheme:null,scrolling:g.booleanish,standby:null,summary:null,text:null,topMargin:g.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g.boolean,disableRemotePlayback:g.boolean,prefix:null,property:null,results:g.number,security:null,unselectable:null}}),y=c({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",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:d,properties:{about:g.commaOrSpaceSeparated,accentHeight:g.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g.number,amplitude:g.number,arabicForm:null,ascent:g.number,attributeName:null,attributeType:null,azimuth:g.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g.number,by:null,calcMode:null,capHeight:g.number,className:g.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:g.number,diffuseConstant:g.number,direction:null,display:null,dur:null,divisor:g.number,dominantBaseline:null,download:g.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:g.number,enableBackground:null,end:null,event:null,exponent:g.number,externalResourcesRequired:null,fill:null,fillOpacity:g.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:g.commaSeparated,g2:g.commaSeparated,glyphName:g.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g.number,horizOriginX:g.number,horizOriginY:g.number,id:null,ideographic:g.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g.number,k:g.number,k1:g.number,k2:g.number,k3:g.number,k4:g.number,kernelMatrix:g.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g.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:g.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:g.number,overlineThickness:g.number,paintOrder:null,panose1:null,path:null,pathLength:g.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g.number,pointsAtY:g.number,pointsAtZ:g.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g.commaOrSpaceSeparated,rev:g.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g.commaOrSpaceSeparated,requiredFeatures:g.commaOrSpaceSeparated,requiredFonts:g.commaOrSpaceSeparated,requiredFormats:g.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:g.number,specularExponent:g.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g.number,strikethroughThickness:g.number,string:null,stroke:null,strokeDashArray:g.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g.number,strokeOpacity:g.number,strokeWidth:null,style:null,surfaceScale:g.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g.commaOrSpaceSeparated,tabIndex:g.number,tableValues:null,target:null,targetX:g.number,targetY:g.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g.commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:g.number,underlineThickness:g.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g.number,values:null,vAlphabetic:g.number,vMathematical:g.number,vectorEffect:null,vHanging:g.number,vIdeographic:g.number,version:null,vertAdvY:g.number,vertOriginX:g.number,vertOriginY:g.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),b=a([f,h,m,v,O],"html"),k=a([f,h,m,v,y],"svg")},1003:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(7627),i=n(3646),o=n(5730),a=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function u(e,t){var n=(0,r.F)(t),u=t,f=o.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&a.test(t)){if("-"===t.charAt(4)){var d=t.slice(5).replace(s,h);u="data"+d.charAt(0).toUpperCase()+d.slice(1)}else{var p=t.slice(4);if(!s.test(p)){var m=p.replace(l,c);"-"!==m.charAt(0)&&(m="-"+m),t="data"+m}}f=i.I}return new f(u,t)}function c(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},7627:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},3646:function(e,t,n){"use strict";n.d(t,{I:function(){return h}});var r=n(1976),i=n(2951),o=n(7169),a=n(7591),s=n(9616),l=n(5730),u=n(3790),c=Object.keys(u),h=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,a,s){var l;(0,i.Z)(this,n);var h=-1;if(l=t.call(this,e,r),f((0,o.Z)(l),"space",s),"number"===typeof a)for(;++h<c.length;){var d=c[h];f((0,o.Z)(l),c[h],(a&u[d])===u[d])}return l}return(0,r.Z)(n)}(l.k);function f(e,t,n){n&&(e[t]=n)}h.prototype.defined=!0},5730:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(1976),i=n(2951),o=(0,r.Z)((function e(t,n){(0,i.Z)(this,e),this.property=t,this.attribute=n}));o.prototype.space=null,o.prototype.boolean=!1,o.prototype.booleanish=!1,o.prototype.overloadedBoolean=!1,o.prototype.number=!1,o.prototype.commaSeparated=!1,o.prototype.spaceSeparated=!1,o.prototype.commaOrSpaceSeparated=!1,o.prototype.mustUseProperty=!1,o.prototype.defined=!1},3790:function(e,t,n){"use strict";n.r(t),n.d(t,{boolean:function(){return i},booleanish:function(){return o},commaOrSpaceSeparated:function(){return c},commaSeparated:function(){return u},number:function(){return s},overloadedBoolean:function(){return a},spaceSeparated:function(){return l}});var r=0,i=h(),o=h(),a=h(),s=h(),l=h(),u=h(),c=h();function h(){return Math.pow(2,++r)}},6370:function(e,t,n){"use strict";function r(e){var t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},5694:function(e,t,n){"use strict";n.d(t,{V:function(){return u}});var r=n(649),i=n(2951),o=n(1976),a="undefined"==typeof Symbol?"__\u037c":Symbol.for("\u037c"),s="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{},u=function(){function e(t,n){(0,i.Z)(this,e),this.rules=[];var r=(n||{}).finish;function o(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function a(e,t,n,i){var s=[],l=/^@(\w+)\b/.exec(e[0]),u=l&&"keyframes"==l[1];if(l&&null==t)return n.push(e[0]+";");for(var c in t){var h=t[c];if(/&/.test(c))a(c.split(/,\s*/).map((function(t){return e.map((function(e){return t.replace(/&/,e)}))})).reduce((function(e,t){return e.concat(t)})),h,n);else if(h&&"object"==typeof h){if(!l)throw new RangeError("The value of a property ("+c+") should be a primitive value.");a(o(c),h,s,u)}else null!=h&&s.push(c.replace(/_.*/,"").replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))+": "+h+";")}(s.length||u)&&n.push((!r||l||i?e:e.map(r)).join(", ")+" {"+s.join(" ")+"}")}for(var s in t)a(o(s),t[s],this.rules)}return(0,o.Z)(e,[{key:"getRules",value:function(){return this.rules.join("\n")}}],[{key:"newName",value:function(){var e=l[a]||1;return l[a]=e+1,"\u037c"+e.toString(36)}},{key:"mount",value:function(e,t,n){var r=e[s],i=n&&n.nonce;r?i&&r.setNonce(i):r=new h(e,i),r.mount(Array.isArray(t)?t:[t])}}]),e}(),c=new Map,h=function(){function e(t,n){(0,i.Z)(this,e);var o=t.ownerDocument||t,a=o.defaultView;if(!t.head&&t.adoptedStyleSheets&&a.CSSStyleSheet){var l=c.get(o);if(l)return t.adoptedStyleSheets=[l.sheet].concat((0,r.Z)(t.adoptedStyleSheets)),t[s]=l;this.sheet=new a.CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat((0,r.Z)(t.adoptedStyleSheets)),c.set(o,this)}else{this.styleTag=o.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);var u=t.head||t;u.insertBefore(this.styleTag,u.firstChild)}this.modules=[],t[s]=this}return(0,o.Z)(e,[{key:"mount",value:function(e){for(var t=this.sheet,n=0,r=0,i=0;i<e.length;i++){var o=e[i],a=this.modules.indexOf(o);if(a<r&&a>-1&&(this.modules.splice(a,1),r--,a=-1),-1==a){if(this.modules.splice(r++,0,o),t)for(var s=0;s<o.rules.length;s++)t.insertRule(o.rules[s],n++)}else{for(;r<a;)n+=this.modules[r++].rules.length;n+=o.rules.length,r++}}if(!t){for(var l="",u=0;u<this.modules.length;u++)l+=this.modules[u].getRules()+"\n";this.styleTag.textContent=l}}},{key:"setNonce",value:function(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}]),e}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,function(){var e=[];n.O=function(t,r,i,o){if(!r){var a=1/0;for(c=0;c<e.length;c++){r=e[c][0],i=e[c][1],o=e[c][2];for(var s=!0,l=0;l<r.length;l++)(!1&o||a>=o)&&Object.keys(n.O).every((function(e){return n.O[e](r[l])}))?r.splice(l--,1):(s=!1,o<a&&(a=o));if(s){e.splice(c--,1);var u=i();void 0!==u&&(t=u)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,i,o]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(o,a),o}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+"."+{31:"5e8ec903",73:"974ff93a",152:"82007a6a",153:"b9a8156b",174:"f3ff86ec",244:"a026d7b2",391:"84bcba43",457:"f8032e86",578:"c0572754",717:"83a584ef",872:"b244e307",882:"35bc81ec",996:"1fcfa7f3",1249:"dc76aef9",1308:"40699d24",1430:"3085c070",1731:"c80ce555",1990:"38da4421",2018:"1f2fb58c",2458:"c03c41af",2472:"03cd0dbb",2488:"8b68d6b4",2580:"ac25e626",2584:"6e020d0e",2636:"b3837465",2650:"b4dcc8a3",2654:"390b5dd9",2789:"ae0fbe29",2795:"abfd4fdc",2817:"bede21bf",2852:"58a09258",3049:"933a183c",3225:"ff552ea4",3424:"f477f3cb",3459:"c076f8ed",3502:"e09a74e2",3720:"9ee0735e",3785:"645240e4",4165:"ef0f96f1",4189:"f040454f",4288:"498501a3",4318:"bd3506a0",4413:"3b62dafa",4487:"4c89b8a9",4505:"fcccd640",4588:"46eb4bf6",4590:"75591f5c",4735:"a377187c",4745:"d13f5102",4758:"ca278789",4809:"1395dff4",4888:"05fe2706",5004:"8b132a7f",5123:"358abea5",5275:"ab2e3ac2",5411:"63c43491",5438:"baf622aa",5439:"1a6f7dd9",5462:"967477af",5526:"9c7d6895",5688:"c2743132",5714:"b6300871",5765:"d7a0f350",5833:"4a4fd768",5848:"48c48854",5993:"d81dbb8f",6071:"8a9c545c",6195:"fb4c0719",6260:"b33e289c",6381:"11332fc3",6534:"3c833684",6557:"3bc7bf77",6794:"cc24c3c1",6857:"5bc24ed5",6913:"4b05a7cd",6923:"311a169d",7112:"3c306748",7151:"69e5a37c",7170:"37726b8a",7248:"66d0b4db",7454:"7b774234",7569:"8ea41f69",7616:"f8a877e5",7620:"e6cbc29e",7748:"d831e90b",7893:"c7fb23a9",7934:"5cc073b6",7987:"a43f7d7a",8149:"9bc1da44",8192:"5f905021",8328:"f216ee3c",8594:"6a1c80d4",8668:"5079ae53",8879:"01d43cdb",9018:"9fa3c503",9063:"fcf8c08d",9085:"aff22db6",9183:"4215c05f",9205:"2e615860",9328:"182c8c0f",9433:"203e630f",9528:"c415809c",9532:"07e8c5e3",9587:"0fa1e09c",9795:"cd4fb269",9797:"faa2f7b8",9830:"63454fe2",9831:"f07a5d31",9998:"0725a69b"}[e]+".chunk.js"},n.miniCssF=function(e){},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="website:";n.l=function(r,i,o,a){if(e[r])e[r].push(i);else{var s,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var h=u[c];if(h.getAttribute("src")==r||h.getAttribute("data-webpack")==t+o){s=h;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[i];var f=function(t,n){s.onerror=s.onload=null,clearTimeout(d);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="./",function(){var e={179:0};n.f.j=function(t,r){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=o);var a=n.p+n.u(t),s=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}}),"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var i,o,a=r[0],s=r[1],l=r[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)var c=l(n)}for(t&&t(r);u<a.length;u++)o=a[u],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),n.nc=void 0;var r=n.O(void 0,[6137,8264],(function(){return n(5462)}));r=n.O(r)}();
|
|
//# sourceMappingURL=main.47c77ebf.js.map |