Files
wxmp/static/js/main.73385d00.js
jaywcjlove 3c4a89b98b chore(deps): update dependency tsbb to ~4.1.0 (#20)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> v2.3.3 bac929d894
2023-04-04 08:01:28 +00:00

3 lines
1.4 MiB

/*! For license information please see main.73385d00.js.LICENSE.txt */
!function(){var e={108:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,{attentionMarkers:function(){return Sf},contentInitial:function(){return gf},disable:function(){return xf},document:function(){return mf},flow:function(){return Of},flowInitial:function(){return vf},insideSpan:function(){return bf},string:function(){return yf},text:function(){return kf}});var i={};n.r(i),n.d(i,{safe:function(){return kk},spec:function(){return yk}});var o={};n.r(o),n.d(o,{angle:function(){return Sb},decibel:function(){return Eb},flex:function(){return Cb},frequency:function(){return wb},length:function(){return bb},resolution:function(){return Tb},semitones:function(){return Ab},time:function(){return xb}});var a={};n.r(a),n.d(a,{getTrace:function(){return HS},isKeyword:function(){return qS},isProperty:function(){return YS},isType:function(){return WS}});var s={};n.r(s),n.d(s,{generate:function(){return Ex},name:function(){return wx},parse:function(){return Cx},structure:function(){return Tx}});var l={};n.r(l),n.d(l,{generate:function(){return Rx},name:function(){return Qx},parse:function(){return Nx},structure:function(){return Dx},walkContext:function(){return _x}});var u={};n.r(u),n.d(u,{generate:function(){return Lx},name:function(){return Zx},parse:function(){return $x},structure:function(){return Ix},walkContext:function(){return Mx}});var c={};n.r(c),n.d(c,{generate:function(){return Gx},name:function(){return Yx},parse:function(){return Vx},structure:function(){return qx}});var h={};n.r(h),n.d(h,{generate:function(){return sw},name:function(){return rw},parse:function(){return aw},structure:function(){return ow},walkContext:function(){return iw}});var f={};n.r(f),n.d(f,{generate:function(){return hw},name:function(){return lw},parse:function(){return cw},structure:function(){return uw}});var d={};n.r(d),n.d(d,{generate:function(){return mw},name:function(){return fw},parse:function(){return pw},structure:function(){return dw}});var p={};n.r(p),n.d(p,{generate:function(){return yw},name:function(){return gw},parse:function(){return Ow},structure:function(){return vw}});var m={};n.r(m),n.d(m,{generate:function(){return ww},name:function(){return bw},parse:function(){return xw},structure:function(){return Sw}});var g={};n.r(g),n.d(g,{generate:function(){return Dw},name:function(){return Pw},parse:function(){return _w},structure:function(){return Qw}});var v={};n.r(v),n.d(v,{generate:function(){return $w},name:function(){return Zw},parse:function(){return Iw},structure:function(){return Mw}});var O={};n.r(O),n.d(O,{generate:function(){return Kw},name:function(){return qw},parse:function(){return Jw},structure:function(){return Gw},walkContext:function(){return Vw}});var y={};n.r(y),n.d(y,{generate:function(){return sT},name:function(){return iT},parse:function(){return aT},structure:function(){return oT}});var k={};n.r(k),n.d(k,{generate:function(){return hT},name:function(){return lT},parse:function(){return cT},structure:function(){return uT}});var b={};n.r(b),n.d(b,{generate:function(){return gT},name:function(){return fT},parse:function(){return mT},structure:function(){return pT},walkContext:function(){return dT}});var S={};n.r(S),n.d(S,{generate:function(){return bT},name:function(){return OT},parse:function(){return kT},structure:function(){return yT},xxx:function(){return vT}});var x={};n.r(x),n.d(x,{generate:function(){return TT},name:function(){return ST},parse:function(){return wT},structure:function(){return xT}});var w={};n.r(w),n.d(w,{generate:function(){return PT},name:function(){return CT},parse:function(){return AT},structure:function(){return ET}});var T={};n.r(T),n.d(T,{generate:function(){return NT},name:function(){return QT},parse:function(){return DT},structure:function(){return _T}});var C={};n.r(C),n.d(C,{generate:function(){return IT},name:function(){return RT},parse:function(){return MT},structure:function(){return ZT}});var E={};n.r(E),n.d(E,{generate:function(){return BT},name:function(){return $T},parse:function(){return FT},structure:function(){return LT}});var A={};n.r(A),n.d(A,{generate:function(){return HT},name:function(){return UT},parse:function(){return XT},structure:function(){return zT}});var P={};n.r(P),n.d(P,{generate:function(){return VT},name:function(){return WT},parse:function(){return qT},structure:function(){return YT}});var Q={};n.r(Q),n.d(Q,{generate:function(){return eC},name:function(){return GT},parse:function(){return KT},structure:function(){return JT}});var _={};n.r(_),n.d(_,{generate:function(){return iC},name:function(){return tC},parse:function(){return rC},structure:function(){return nC}});var D={};n.r(D),n.d(D,{generate:function(){return lC},name:function(){return oC},parse:function(){return sC},structure:function(){return aC}});var N={};n.r(N),n.d(N,{generate:function(){return fC},name:function(){return uC},parse:function(){return hC},structure:function(){return cC}});var R={};n.r(R),n.d(R,{generate:function(){return vC},name:function(){return dC},parse:function(){return gC},structure:function(){return mC},walkContext:function(){return pC}});var Z={};n.r(Z),n.d(Z,{generate:function(){return SC},name:function(){return OC},parse:function(){return bC},structure:function(){return kC},walkContext:function(){return yC}});var M={};n.r(M),n.d(M,{generate:function(){return PC},name:function(){return CC},parse:function(){return AC},structure:function(){return EC}});var I={};n.r(I),n.d(I,{generate:function(){return RC},name:function(){return _C},parse:function(){return NC},structure:function(){return DC}});var $={};n.r($),n.d($,{generate:function(){return BC},name:function(){return IC},parse:function(){return FC},structure:function(){return LC},walkContext:function(){return $C}});var L={};n.r(L),n.d(L,{generate:function(){return XC},name:function(){return jC},parse:function(){return zC},structure:function(){return UC}});var F={};n.r(F),n.d(F,{generate:function(){return VC},name:function(){return HC},parse:function(){return qC},structure:function(){return YC},walkContext:function(){return WC}});var B={};n.r(B),n.d(B,{generate:function(){return iE},name:function(){return tE},parse:function(){return rE},structure:function(){return nE}});var j={};n.r(j),n.d(j,{generate:function(){return hE},name:function(){return sE},parse:function(){return cE},structure:function(){return uE},walkContext:function(){return lE}});var U={};n.r(U),n.d(U,{generate:function(){return OE},name:function(){return mE},parse:function(){return vE},structure:function(){return gE}});var z={};n.r(z),n.d(z,{generate:function(){return PE},name:function(){return CE},parse:function(){return AE},structure:function(){return EE}});var X={};n.r(X),n.d(X,{generate:function(){return LE},name:function(){return ME},parse:function(){return $E},structure:function(){return IE}});var H={};n.r(H),n.d(H,{generate:function(){return UE},name:function(){return FE},parse:function(){return jE},structure:function(){return BE}});var W={};n.r(W),n.d(W,{generate:function(){return YE},name:function(){return XE},parse:function(){return WE},structure:function(){return HE}});var Y={};n.r(Y),n.d(Y,{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 k},Function:function(){return b},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 Q},Operator:function(){return _},Parentheses:function(){return D},Percentage:function(){return N},PseudoClassSelector:function(){return R},PseudoElementSelector:function(){return Z},Ratio:function(){return M},Raw:function(){return I},Rule:function(){return $},Selector:function(){return L},SelectorList:function(){return F},String:function(){return B},StyleSheet:function(){return j},TypeSelector:function(){return U},UnicodeRange:function(){return z},Url:function(){return X},Value:function(){return H},WhiteSpace:function(){return W}});var q={};n.r(q),n.d(q,{AtrulePrelude:function(){return GE},Selector:function(){return JE},Value:function(){return eA}});var V={};function G(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(V),n.d(V,{AnPlusB:function(){return Cx},Atrule:function(){return Nx},AtrulePrelude:function(){return $x},AttributeSelector:function(){return Vx},Block:function(){return aw},Brackets:function(){return cw},CDC:function(){return pw},CDO:function(){return Ow},ClassSelector:function(){return xw},Combinator:function(){return _w},Comment:function(){return Iw},Declaration:function(){return Jw},DeclarationList:function(){return aT},Dimension:function(){return cT},Function:function(){return mT},Hash:function(){return kT},IdSelector:function(){return AT},Identifier:function(){return wT},MediaFeature:function(){return DT},MediaQuery:function(){return MT},MediaQueryList:function(){return FT},NestingSelector:function(){return XT},Nth:function(){return qT},Number:function(){return KT},Operator:function(){return rC},Parentheses:function(){return sC},Percentage:function(){return hC},PseudoClassSelector:function(){return gC},PseudoElementSelector:function(){return bC},Ratio:function(){return AC},Raw:function(){return NC},Rule:function(){return FC},Selector:function(){return zC},SelectorList:function(){return qC},String:function(){return rE},StyleSheet:function(){return cE},TypeSelector:function(){return vE},UnicodeRange:function(){return AE},Url:function(){return $E},Value:function(){return jE},WhiteSpace:function(){return WE}});var J=n(8133),K=n.t(J,2),ee=n(805),te=n(1026),ne=n(726),re=n(649),ie=n(2951),oe=n(1976),ae=n(7591),se=n(9616),le=n(7597),ue=n(6983);var ce=n(8119);function he(e,t,n){return he=(0,ce.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,ue.Z)(i,n.prototype),i},he.apply(null,arguments)}function fe(e){var t="function"===typeof Map?new Map:void 0;return fe=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 he(e,arguments,(0,le.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,ue.Z)(r,e)},fe(e)}var de,pe=n(6470),me=n(5181),ge=n(4013),ve=n(3764);function Oe(e){return(0,pe.Z)(e)||(0,me.Z)(e)||(0,ge.Z)(e)||(0,ve.Z)()}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"}(de||(de={}));var ke,be="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(sn){}}}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=de.Pop,h=null,f=d();function d(){return(u.state||{idx:null}).idx}function p(){c=de.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(be,p),h=e,function(){a.removeEventListener(be,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=de.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){a.location.assign(o)}l&&h&&h({action:c,location:g.location,delta:1})},replace:function(e,t){c=de.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"}(ke||(ke={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function Pe(e,t,n){void 0===n&&(n="/");var r=Ue(("string"===typeof t?Ee(t):t).pathname||"/",n);if(null==r)return null;var i=Qe(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 Qe(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=We([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+'".'),Qe(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,ne.Z)(_e(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 _e(e){var t=e.split("/");if(0===t.length)return[];var n=Oe(t),r=n[0],i=n.slice(1),o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===i.length)return o?[a,""]:[a];var s=_e(i.join("/")),l=[];return l.push.apply(l,(0,re.Z)(s.map((function(e){return""===e?a:[a,e].join("/")})))),o&&l.push.apply(l,(0,re.Z)(s)),l.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var De=/^:\w+$/,Ne=3,Re=2,Ze=1,Me=10,Ie=-2,$e=function(e){return"*"===e};function Le(e,t){var n=e.split("/"),r=n.length;return n.some($e)&&(r+=Ie),t&&(r+=Re),n.filter((function(e){return!$e(e)})).reduce((function(e,t){return e+(De.test(t)?Ne:""===t?Ze: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:We([i,c.pathname]),pathnameBase:Ye(We([i,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(i=We([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 Ue(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 ze(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 Xe(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function He(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("?"),ze("?","pathname","search",i)),Se(!i.pathname||!i.pathname.includes("#"),ze("#","pathname","hash",i)),Se(!i.search||!i.search.includes("#"),ze("#","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:Ve(s)}}(i,o),h=s&&"/"!==s&&s.endsWith("/"),f=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!h&&!f||(c.pathname+="/"),c}var We=function(e){return e.join("/").replace(/\/\/+/g,"/")},Ye=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},qe=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Ve=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Ge=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(){return(0,ie.Z)(this,n),t.apply(this,arguments)}return(0,oe.Z)(n)}(fe(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]),"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;Symbol("deferred");var tt="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},nt=J.useState,rt=J.useEffect,it=J.useLayoutEffect,ot=J.useDebugValue;function at(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!tt(n,r)}catch(i){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,K.useSyncExternalStore;var st=J.createContext(null);var lt=J.createContext(null);var ut=J.createContext(null);var ct=J.createContext(null);var ht=J.createContext(null);var ft=J.createContext({outlet:null,matches:[]});var dt=J.createContext(null);function pt(){return pt=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},pt.apply(this,arguments)}function mt(){return null!=J.useContext(ht)}function gt(){return mt()||Se(!1),J.useContext(ht).location}function vt(){mt()||Se(!1);var e=J.useContext(ct),t=e.basename,n=e.navigator,r=J.useContext(ft).matches,i=gt().pathname,o=JSON.stringify(Xe(r).map((function(e){return e.pathnameBase}))),a=J.useRef(!1);J.useEffect((function(){a.current=!0}));var s=J.useCallback((function(e,r){if(void 0===r&&(r={}),a.current)if("number"!==typeof e){var s=He(e,JSON.parse(o),i,"path"===r.relative);"/"!==t&&(s.pathname="/"===s.pathname?t:We([t,s.pathname])),(r.replace?n.replace:n.push)(s,r.state,r)}else n.go(e)}),[t,n,o,i]);return s}var Ot=J.createContext(null);function yt(e,t){var n=(void 0===t?{}:t).relative,r=J.useContext(ft).matches,i=gt().pathname,o=JSON.stringify(Xe(r).map((function(e){return e.pathnameBase})));return J.useMemo((function(){return He(e,JSON.parse(o),i,"path"===n)}),[e,o,i,n])}function kt(){var e=function(){var e,t=J.useContext(dt),n=Ct(St.UseRouteError),r=Et(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 bt,St,xt=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.Z)(this,n),(r=t.call(this,e)).state={location:e.location,error:e.error},r}return(0,oe.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(ft.Provider,{value:this.props.routeContext},J.createElement(dt.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?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}}]),n}(J.Component);function wt(e){var t=e.routeContext,n=e.match,r=e.children,i=J.useContext(st);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),J.createElement(ft.Provider,{value:t},r)}function Tt(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}var r=e,i=null==n?void 0:n.errors;if(null!=i){var o=r.findIndex((function(e){return e.route.id&&(null==i?void 0:i[e.route.id])}));o>=0||Se(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((function(e,o,a){var s=o.route.id?null==i?void 0:i[o.route.id]:null,l=null;n&&(l=o.route.ErrorBoundary?J.createElement(o.route.ErrorBoundary,null):o.route.errorElement?o.route.errorElement:J.createElement(kt,null));var u=t.concat(r.slice(0,a+1)),c=function(){var t=e;return s?t=l:o.route.Component?t=J.createElement(o.route.Component,null):o.route.element&&(t=o.route.element),J.createElement(wt,{match:o,routeContext:{outlet:e,matches:u},children:t})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===a)?J.createElement(xt,{location:n.location,component:l,error:s,children:c(),routeContext:{outlet:null,matches:u}}):c()}),null)}function Ct(e){var t=J.useContext(lt);return t||Se(!1),t}function Et(e){var t=function(e){var t=J.useContext(ft);return t||Se(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(bt||(bt={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(St||(St={}));var At;function Pt(e){return function(e){var t=J.useContext(ft).outlet;return t?J.createElement(Ot.Provider,{value:e},t):t}(e.context)}function Qt(e){Se(!1)}function _t(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?de.Pop:a,l=e.navigator,u=e.static,c=void 0!==u&&u;mt()&&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,k=d.state,b=void 0===k?null:k,S=d.key,x=void 0===S?"default":S,w=J.useMemo((function(){var e=Ue(m,h);return null==e?null:{location:{pathname:e,search:v,hash:y,state:b,key:x},navigationType:s}}),[h,m,v,y,b,x,s]);return null==w?null:J.createElement(ct.Provider,{value:f},J.createElement(ht.Provider,{children:i,value:w}))}function Dt(e){var t=e.children,n=e.location,r=J.useContext(st);return function(e,t){mt()||Se(!1);var n,r=J.useContext(ct).navigator,i=J.useContext(lt),o=J.useContext(ft).matches,a=o[o.length-1],s=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/"),u=(a&&a.route,gt());if(t){var c,h="string"===typeof t?Ee(t):t;"/"===l||(null==(c=h.pathname)?void 0:c.startsWith(l))||Se(!1),n=h}else n=u;var f=n.pathname||"/",d=Pe(e,{pathname:"/"===l?f:f.slice(l.length)||"/"}),p=Tt(d&&d.map((function(e){return Object.assign({},e,{params:Object.assign({},s,e.params),pathname:We([l,r.encodeLocation?r.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:We([l,r.encodeLocation?r.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),o,i||void 0);return t&&p?J.createElement(ht.Provider,{value:{location:pt({pathname:"/",search:"",hash:"",state:null,key:"default"},n),navigationType:de.Pop}},p):p}(r&&!t?r.router.routes:Rt(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(At||(At={}));var Nt=new Promise((function(){}));J.Component;function Rt(e,t){void 0===t&&(t=[]);var n=[];return J.Children.forEach(e,(function(e,r){if(J.isValidElement(e)){var i=[].concat((0,re.Z)(t),[r]);if(e.type!==J.Fragment){e.type!==Qt&&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=Rt(e.props.children,i)),n.push(o)}else n.push.apply(n,Rt(e.props.children,i))}})),n}function Zt(){return Zt=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},Zt.apply(this,arguments)}function Mt(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 It(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]])}),[]))}var $t=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Lt=["aria-current","caseSensitive","className","end","style","to","children"];function Ft(e){var t,n=e.basename,r=e.children,i=e.window,o=J.useRef();null==o.current&&(o.current=(void 0===(t={window:i,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;return Te("",{pathname:i,search:a,hash:void 0===s?"":s},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 a=o.current,s=J.useState({action:a.action,location:a.location}),l=(0,te.Z)(s,2),u=l[0],c=l[1];return J.useLayoutEffect((function(){return a.listen(c)}),[a]),J.createElement(_t,{basename:n,children:r,location:u.location,navigationType:u.action,navigator:a})}var Bt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,jt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=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=Mt(e,$t),f=J.useContext(ct).basename,d=!1;if("string"===typeof u&&jt.test(u)&&(n=u,Bt)){var p=new URL(window.location.href),m=u.startsWith("//")?new URL(p.protocol+u):new URL(u),g=Ue(m.pathname,f);m.origin===p.origin&&null!=g?u=g+m.search+m.hash:d=!0}var v=function(e,t){var n=(void 0===t?{}:t).relative;mt()||Se(!1);var r=J.useContext(ct),i=r.basename,o=r.navigator,a=yt(e,{relative:n}),s=a.hash,l=a.pathname,u=a.search,c=l;return"/"!==i&&(c="/"===l?i:We([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=vt(),u=gt(),c=yt(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",Zt({},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=Mt(e,Lt),p=yt(h,{relative:d.relative}),m=gt(),g=J.useContext(lt),v=J.useContext(ct).navigator,O=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,y=m.pathname,k=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(y=y.toLowerCase(),k=k?k.toLowerCase():null,O=O.toLowerCase());var b,S=y===O||!u&&y.startsWith(O)&&"/"===y.charAt(O.length),x=null!=k&&(k===O||!u&&k.startsWith(O)&&"/"===k.charAt(O.length)),w=S?r:void 0;b="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(Ut,Zt({},d,{"aria-current":w,className:b,ref:t,style:T,to:h}),"function"===typeof f?f({isActive:S,isPending:x}):f)}));var Xt,Ht;function Wt(e){var t=J.useRef(It(e)),n=J.useRef(!1),r=gt(),i=J.useMemo((function(){return function(e,t){var n=It(e);if(t){var r,i=(0,ne.Z)(t.keys());try{var o=function(){var e=r.value;n.has(e)||t.getAll(e).forEach((function(t){n.append(e,t)}))};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}}return n}(r.search,n.current?null:t.current)}),[r.search]),o=vt(),a=J.useCallback((function(e,t){var r=It("function"===typeof e?e(i):e);n.current=!0,o("?"+r,t)}),[o,i]);return[i,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Xt||(Xt={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ht||(Ht={}));function Yt(){return Yt=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},Yt.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}var Vt=n(9265),Gt=["className","prefixCls","element","top","size","strokeWidth","smooth","hideProgress","children"],Jt={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"},Kt={display:"block",transform:"rotate(-90deg)"},en={transition:"stroke-dashoffset 0.3s linear 0s"},tn={position:"absolute",top:0,display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12},nn=document.documentElement;function rn(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?nn: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=qt(e,Gt),y=(0,J.useRef)(null),k=[n,i].filter(Boolean).join(" "),b=Object.assign({},Jt,{position:a===nn?"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||nn,n=t.clientHeight,r=t.scrollHeight,i=t.scrollTop;A(w-w*(i/(r-n))),y.current&&l>0&&(y.current.style.opacity=i>l?"1":"0")};(0,J.useEffect)((function(){var e=a===nn?document:a;return e&&e.addEventListener("scroll",P,{passive:!0}),function(){e&&e.removeEventListener("scroll",P)}}),[a]);return(0,Vt.jsxs)("div",Yt({className:k,ref:y},O,{onClick:function(e){a.scrollTo({top:0,behavior:p?"smooth":"auto"})},style:b,children:[!g&&(0,Vt.jsxs)("svg",{viewBox:"0 0 "+c+" "+c,width:c,height:c,focusable:"false",style:Kt,children:[(0,Vt.jsx)("circle",{fill:"rgb(0 0 0 / 75%)",stroke:"rgb(200 200 200 / 85%)",strokeWidth:f,r:x,cx:S,cy:S}),(0,Vt.jsx)("circle",{fill:"none",stroke:"rgb(0 0 0 / 50%)",strokeWidth:f,r:x,cx:S,cy:S,strokeDasharray:w,strokeDashoffset:E,style:en})]}),v&&(0,Vt.jsx)("div",{style:tn,children:v})]}))}var on=n(189),an=n(4649),sn={data:""},ln=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||sn},un=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,cn=/\/\*[^]*?\*\/| +/g,hn=/\n+/g,fn=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},dn={},pn=function e(t){if("object"==typeof t){var n="";for(var r in t)n+=r+e(t[r]);return n}return t},mn=function(e,t,n,r,i){var o=pn(e),a=dn[o]||(dn[o]=function(e){for(var t=0,n=11;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n}(o));if(!dn[a]){var s=o!==e?e:function(e){for(var t,n,r=[{}];t=un.exec(e.replace(cn,""));)t[4]?r.shift():t[3]?(n=t[3].replace(hn," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(hn," ").trim();return r[0]}(e);dn[a]=fn(i?(0,an.Z)({},"@keyframes "+a,s):s,n?"":"."+a)}var l=n&&dn.g?dn.g:null;return n&&(dn.g=dn[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)}(dn[a],t,r,l),a},gn=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?"":fn(a,""):!1===a?"":a}return e+r+(null==o?"":o)}),"")};function vn(e){var t=this||{},n=e.call?e(t.p):e;return mn(n.unshift?n.raw?gn(n,[].slice.call(arguments,1),t.p):n.reduce((function(e,n){return Object.assign(e,n&&n.call?n(t.p):n)}),{}):n,ln(t.target),t.g,t.o,t.k)}vn.bind({g:1});var On,yn,kn,bn,Sn,xn,wn,Tn,Cn,En,An,Pn,Qn,_n,Dn,Nn,Rn,Zn,Mn,In=vn.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:yn&&yn()},s),n.o=/ *go\d+/.test(l),s.className=vn.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);var u=e;return e[0]&&(u=s.as||e,delete s.as),kn&&u[0]&&kn(s),On(u,s)}return t?t(i):i}}var Ln=function(e,t){return function(e){return"function"==typeof e}(e)?e(t):e},Fn=function(){var e=0;return function(){return(++e).toString()}}(),Bn=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}}(),jn=new Map,Un=function(e){if(!jn.has(e)){var t=setTimeout((function(){jn.delete(e),Wn({type:4,toastId:e})}),1e3);jn.set(e,t)}},zn=function e(t,n){switch(n.type){case 0:return(0,on.Z)((0,on.Z)({},t),{},{toasts:[n.toast].concat((0,re.Z)(t.toasts)).slice(0,20)});case 1:return n.toast.id&&function(e){var t=jn.get(e);t&&clearTimeout(t)}(n.toast.id),(0,on.Z)((0,on.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===n.toast.id?(0,on.Z)((0,on.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?Un(i):t.toasts.forEach((function(e){Un(e.id)})),(0,on.Z)((0,on.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===i||void 0===i?(0,on.Z)((0,on.Z)({},e),{},{visible:!1}):e}))});case 4:return void 0===n.toastId?(0,on.Z)((0,on.Z)({},t),{},{toasts:[]}):(0,on.Z)((0,on.Z)({},t),{},{toasts:t.toasts.filter((function(e){return e.id!==n.toastId}))});case 5:return(0,on.Z)((0,on.Z)({},t),{},{pausedAt:n.time});case 6:var o=n.time-(t.pausedAt||0);return(0,on.Z)((0,on.Z)({},t),{},{pausedAt:void 0,toasts:t.toasts.map((function(e){return(0,on.Z)((0,on.Z)({},e),{},{pauseDuration:e.pauseDuration+o})}))})}},Xn=[],Hn={toasts:[],pausedAt:void 0},Wn=function(e){Hn=zn(Hn,e),Xn.forEach((function(e){e(Hn)}))},Yn={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},qn=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,on.Z)((0,on.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)||Fn()})}(t,e,n);return Wn({type:2,toast:r}),r.id}},Vn=function(e,t){return qn("blank")(e,t)};Vn.error=qn("error"),Vn.success=qn("success"),Vn.loading=qn("loading"),Vn.custom=qn("custom"),Vn.dismiss=function(e){Wn({type:3,toastId:e})},Vn.remove=function(e){return Wn({type:4,toastId:e})},Vn.promise=function(e,t,n){var r=Vn.loading(t.loading,(0,on.Z)((0,on.Z)({},n),null==n?void 0:n.loading));return e.then((function(e){return Vn.success(Ln(t.success,e),(0,on.Z)((0,on.Z)({id:r},n),null==n?void 0:n.success)),e})).catch((function(e){Vn.error(Ln(t.error,e),(0,on.Z)((0,on.Z)({id:r},n),null==n?void 0:n.error))})),e};var Gn=function(e,t){Wn({type:1,toast:{id:e,height:t}})},Jn=function(){Wn({type:5,time:Date.now()})},Kn=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,J.useState)(Hn),n=(0,te.Z)(t,2),r=n[0],i=n[1];(0,J.useEffect)((function(){return Xn.push(i),function(){var e=Xn.indexOf(i);e>-1&&Xn.splice(e,1)}}),[r]);var o=r.toasts.map((function(t){var n,r;return(0,on.Z)((0,on.Z)((0,on.Z)((0,on.Z)({},e),e[t.type]),t),{},{duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||Yn[t.type],style:(0,on.Z)((0,on.Z)((0,on.Z)({},e.style),null==(r=e[t.type])?void 0:r.style),t.style)})}));return(0,on.Z)((0,on.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 Vn.dismiss(t.id)}),n);t.visible&&Vn.dismiss(t.id)}}));return function(){t.forEach((function(e){return e&&clearTimeout(e)}))}}}),[n,r]);var i=(0,J.useCallback)((function(){r&&Wn({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,re.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:Jn,endPause:i,calculateOffset:o}}},er=In(bn||(bn=G(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n opacity: 1;\n}"]))),tr=In(Sn||(Sn=G(["\nfrom {\n transform: scale(0);\n opacity: 0;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),nr=In(xn||(xn=G(["\nfrom {\n transform: scale(0) rotate(90deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(90deg);\n\topacity: 1;\n}"]))),rr=$n("div")(wn||(wn=G(["\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"}),er,tr,(function(e){return e.secondary||"#fff"}),nr),ir=In(Tn||(Tn=G(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"]))),or=$n("div")(Cn||(Cn=G(["\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"}),ir),ar=In(En||(En=G(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n\topacity: 1;\n}"]))),sr=In(An||(An=G(["\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}"]))),lr=$n("div")(Pn||(Pn=G(["\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"}),ar,sr,(function(e){return e.secondary||"#fff"})),ur=$n("div")(Qn||(Qn=G(["\n position: absolute;\n"]))),cr=$n("div")(_n||(_n=G(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 20px;\n min-height: 20px;\n"]))),hr=In(Dn||(Dn=G(["\nfrom {\n transform: scale(0.6);\n opacity: 0.4;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),fr=$n("div")(Nn||(Nn=G(["\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"])),hr),dr=function(e){var t=e.toast,n=t.icon,r=t.type,i=t.iconTheme;return void 0!==n?"string"==typeof n?J.createElement(fr,null,n):n:"blank"===r?null:J.createElement(cr,null,J.createElement(or,(0,on.Z)({},i)),"loading"!==r&&J.createElement(ur,null,"error"===r?J.createElement(rr,(0,on.Z)({},i)):J.createElement(lr,(0,on.Z)({},i))))},pr=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")},mr=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")},gr=$n("div")(Rn||(Rn=G(["\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"]))),vr=$n("div")(Zn||(Zn=G(["\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"]))),Or=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=Bn()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[pr(n),mr(n)],i=(0,te.Z)(r,2),o=i[0],a=i[1];return{animation:t?"".concat(In(o)," 0.35s cubic-bezier(.21,1.02,.73,1) forwards"):"".concat(In(a)," 0.4s forwards cubic-bezier(.06,.71,.55,1)")}}(t.position||n||"top-center",t.visible):{opacity:0},a=J.createElement(dr,{toast:t}),s=J.createElement(vr,(0,on.Z)({},t.ariaProps),Ln(t.message,t));return J.createElement(gr,{className:t.className,style:(0,on.Z)((0,on.Z)((0,on.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){fn.p=t,On=e,yn=n,kn=r}(J.createElement);var yr=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)},kr=vn(Mn||(Mn=G(["\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=Kn(i),c=u.toasts,h=u.handlers;return J.createElement("div",{style:(0,on.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,on.Z)((0,on.Z)({left:0,right:0,display:"flex",position:"absolute",transition:Bn()?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(yr,{id:e.id,key:e.id,onHeightUpdate:h.updateHeight,className:e.visible?kr:"",style:i},"custom"===e.type?Ln(e.message,e):a?a(e):J.createElement(Or,{toast:e,position:n}))})))},Sr=Vn,xr=n(2471),wr=n(7361),Tr=n.n(wr);var Cr=function(e){function t(e,r,l,u,f){for(var d,p,m,g,k,S=0,x=0,w=0,T=0,C=0,D=0,R=m=d=0,M=0,I=0,$=0,L=0,F=l.length,B=F-1,j="",U="",z="",X="";M<F;){if(p=l.charCodeAt(M),M===B&&0!==x+T+w+S&&(0!==x&&(p=47===x?10:47),T=w=S=0,F++,B++),0===x+T+w+S){if(M===B&&(0<I&&(j=j.replace(h,"")),0<j.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:j+=l.charAt(M)}p=59}switch(p){case 123:for(d=(j=j.trim()).charCodeAt(0),m=1,L=++M;M<F;){switch(p=l.charCodeAt(M)){case 123:m++;break;case 125:m--;break;case 47:switch(p=l.charCodeAt(M+1)){case 42:case 47:e:{for(R=M+1;R<B;++R)switch(l.charCodeAt(R)){case 47:if(42===p&&42===l.charCodeAt(R-1)&&M+2!==R){M=R+1;break e}break;case 10:if(47===p){M=R+1;break e}}M=R}}break;case 91:p++;case 40:p++;case 34:case 39:for(;M++<B&&l.charCodeAt(M)!==p;);}if(0===m)break;M++}if(m=l.substring(L,M),0===d&&(d=(j=j.replace(c,"").trim()).charCodeAt(0)),64===d){switch(0<I&&(j=j.replace(h,"")),p=j.charCodeAt(1)){case 100:case 109:case 115:case 45:I=r;break;default:I=_}if(L=(m=t(r,I,m,p,f+1)).length,0<N&&(k=s(3,m,I=n(_,j,$),r,A,E,L,p,f,u),j=I.join(""),void 0!==k&&0===(L=(m=k.trim()).length)&&(p=0,m="")),0<L)switch(p){case 115:j=j.replace(b,a);case 100:case 109:case 45:m=j+"{"+m+"}";break;case 107:m=(j=j.replace(v,"$1 $2"))+"{"+m+"}",m=1===Q||2===Q&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=j+m,112===u&&(U+=m,m="")}else m=""}else m=t(r,n(r,j,$),m,u,f+1);z+=m,m=$=I=R=d=0,j="",p=l.charCodeAt(++M);break;case 125:case 59:if(1<(L=(j=(0<I?j.replace(h,""):j).trim()).length))switch(0===R&&(d=j.charCodeAt(0),45===d||96<d&&123>d)&&(L=(j=j.replace(" ",":")).length),0<N&&void 0!==(k=s(1,j,r,e,A,E,U.length,u,f,u))&&0===(L=(j=k.trim()).length)&&(j="\0\0"),d=j.charCodeAt(0),p=j.charCodeAt(1),d){case 0:break;case 64:if(105===p||99===p){X+=j+l.charAt(M);break}default:58!==j.charCodeAt(L-1)&&(U+=i(j,d,p,j.charCodeAt(2)))}$=I=R=d=0,j="",p=l.charCodeAt(++M)}}switch(p){case 13:case 10:47===x?x=0:0===1+d&&107!==u&&0<j.length&&(I=1,j+="\0"),0<N*Z&&s(0,j,r,e,A,E,U.length,u,f,u),E=1,A++;break;case 59:case 125:if(0===x+T+w+S){E++;break}default:switch(E++,g=l.charAt(M),p){case 9:case 32:if(0===T+S+x)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==p&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===T+x+S&&(I=$=1,g="\f"+g);break;case 108:if(0===T+x+S+P&&0<R)switch(M-R){case 2:112===C&&58===l.charCodeAt(M-3)&&(P=C);case 8:111===D&&(P=D)}break;case 58:0===T+x+S&&(R=M);break;case 44:0===x+w+T+S&&(I=1,g+="\r");break;case 34:case 39:0===x&&(T=T===p?0:0===T?p:T);break;case 91:0===T+x+w&&S++;break;case 93:0===T+x+w&&S--;break;case 41:0===T+x+S&&w--;break;case 40:if(0===T+x+S){if(0===d)if(2*C+3*D===533);else d=1;w++}break;case 64:0===x+w+T+S+R+m&&(m=1);break;case 42:case 47:if(!(0<T+S+w))switch(x){case 0:switch(2*p+3*l.charCodeAt(M+1)){case 235:x=47;break;case 220:L=M,x=42}break;case 42:47===p&&42===C&&L+2!==M&&(33===l.charCodeAt(L+2)&&(U+=l.substring(L,M+1)),g="",x=0)}}0===x&&(j+=g)}D=C,C=p,M++}if(0<(L=U.length)){if(I=r,0<N&&(void 0!==(k=s(2,U,I,e,A,E,L,u,f,u))&&0===(U=k).length))return X+U+z;if(U=I.join(",")+"{"+U+"}",0!==Q*P){switch(2!==Q||o(U,2)||(P=0),P){case 111:U=U.replace(y,":-moz-$1")+U;break;case 112:U=U.replace(O,"::-webkit-input-$1")+U.replace(O,"::-moz-$1")+U.replace(O,":-ms-input-$1")+U}P=0}}return X+U+z}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===Q||2===Q&&o(l,1)?"-webkit-"+l+l:l}if(0===Q||2===Q&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(k,"tb");break;case 232:l=a.replace(k,"tb-rl");break;case 220:l=a.replace(k,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===T.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),R(2!==t?r:r.replace(w,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,c){for(var h,f=0,d=t;f<N;++f)switch(h=D[f].call(u,e,d,n,r,i,o,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:d=h}if(d!==t)return d}function l(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!==typeof e?Q=1:(Q=2,R=e):Q=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<N){var i=s(-1,n,r,r,A,E,0,0,0,0);void 0!==i&&"string"===typeof i&&(n=i)}var o=t(_,r,n,0,0);return 0<N&&(void 0!==(i=s(-2,o,r,r,A,E,o.length,0,0,0))&&(o=i)),"",P=0,E=A=1,o}var c=/^\0+/g,h=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,O=/::(place)/g,y=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,x=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,E=1,A=1,P=0,Q=1,_=[],D=[],N=0,R=null,Z=0;return u.use=function e(t){switch(t){case void 0:case null:N=D.length=0;break;default:if("function"===typeof t)D[N++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else Z=0|!!t}return e},u.set=l,void 0!==e&&l(e),u},Er={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ar=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pr=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return Ar.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Qr=n(4134),_r=n.n(Qr);function Dr(){return(Dr=Object.assign||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}).apply(this,arguments)}var Nr=function(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},Rr=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,xr.typeOf)(e)},Zr=Object.freeze([]),Mr=Object.freeze({});function Ir(e){return"function"==typeof e}function $r(e){return e.displayName||e.name||"Component"}function Lr(e){return e&&"string"==typeof e.styledComponentId}var Fr="undefined"!=typeof process&&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",Br="undefined"!=typeof window&&"HTMLElement"in window,jr=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&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: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))),Ur={};function zr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Xr=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&zr(16,""+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=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.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)}},t.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+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),Hr=new Map,Wr=new Map,Yr=1,qr=function(e){if(Hr.has(e))return Hr.get(e);for(;Wr.has(Yr);)Yr++;var t=Yr++;return Hr.set(e,t),Wr.set(t,e),t},Vr=function(e){return Wr.get(e)},Gr=function(e,t){t>=Yr&&(Yr=t+1),Hr.set(e,t),Wr.set(t,e)},Jr="style["+Fr+'][data-styled-version="5.3.9"]',Kr=new RegExp("^"+Fr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ei=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)},ti=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(Kr);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(Gr(u,l),ei(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},ni=function(){return n.nc},ri=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Fr))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Fr,"active"),r.setAttribute("data-styled-version","5.3.9");var a=ni();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},ii=function(){function e(e){var t=this.element=ri(e);t.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}zr(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),oi=function(){function e(e){var t=this.element=ri(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),ai=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),si=Br,li={isServer:!Br,useCSSOMInjection:!jr},ui=function(){function e(e,t,n){void 0===e&&(e=Mr),void 0===t&&(t={}),this.options=Dr({},li,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Br&&si&&(si=!1,function(e){for(var t=document.querySelectorAll(Jr),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(Fr)&&(ti(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return qr(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Dr({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new ai(i):r?new ii(i):new oi(i),new Xr(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(qr(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(qr(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(qr(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=Vr(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var l=Fr+".g"+i+'[id="'+o+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),ci=/(a)(d)/gi,hi=function(e){return String.fromCharCode(e+(e>25?39:97))};function fi(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=hi(t%52)+n;return(hi(t%52)+n).replace(ci,"$1-$2")}var di=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},pi=function(e){return di(5381,e)};function mi(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ir(n)&&!Lr(n))return!1}return!0}var gi=pi("5.3.9"),vi=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&mi(e),this.componentId=t,this.baseHash=di(gi,t),this.baseStyle=n,ui.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=Zi(this.rules,e,t,n).join(""),a=fi(di(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=di(this.baseHash,n.hash),c="",h=0;h<l;h++){var f=this.rules[h];if("string"==typeof f)c+=f;else if(f){var d=Zi(f,e,t,n),p=Array.isArray(d)?d.join(""):d;u=di(u,p+h),c+=p}}if(c){var m=fi(u>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),Oi=/^\s*\/\/.*$/gm,yi=[":","[",".","#"];function ki(e){var t,n,r,i,o=void 0===e?Mr:e,a=o.options,s=void 0===a?Mr:a,l=o.plugins,u=void 0===l?Zr:l,c=new Cr(s),h=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,u,c,h){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(i[0]+r),"";default:return r+(0===h?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){h.push(e)})),d=function(e,r,o){return 0===r&&-1!==yi.indexOf(o[n.length])||o.match(i)?e:"."+t};function p(e,o,a,s){void 0===s&&(s="&");var l=e.replace(Oi,""),u=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,u)}return c.use([].concat(u,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,d))},f,function(e){if(-2===e){var t=h;return h=[],t}}])),p.hash=u.length?u.reduce((function(e,t){return t.name||zr(15),di(e,t.name)}),5381).toString():"",p}var bi=J.createContext(),Si=(bi.Consumer,J.createContext()),xi=(Si.Consumer,new ui),wi=ki();function Ti(){return(0,J.useContext)(bi)||xi}function Ci(){return(0,J.useContext)(Si)||wi}function Ei(e){var t=(0,J.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Ti(),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]),a=(0,J.useMemo)((function(){return ki({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,J.useEffect)((function(){Tr()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),J.createElement(bi.Provider,{value:o},J.createElement(Si.Provider,{value:a},e.children))}var Ai=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=wi);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return zr(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=wi),this.name+e.hash},e}(),Pi=/([A-Z])/,Qi=/([A-Z])/g,_i=/^ms-/,Di=function(e){return"-"+e.toLowerCase()};function Ni(e){return Pi.test(e)?e.replace(Qi,Di).replace(_i,"-ms-"):e}var Ri=function(e){return null==e||!1===e||""===e};function Zi(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=Zi(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return Ri(e)?"":Lr(e)?"."+e.styledComponentId:Ir(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Zi(e(t),t,n,r):e instanceof Ai?n?(e.inject(n,r),e.getName(r)):e:Rr(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!Ri(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Ir(t[a])?o.push(Ni(a)+":",t[a],";"):Rr(t[a])?o.push.apply(o,e(t[a],a)):o.push(Ni(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in Er?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}var Mi=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ii(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Ir(e)||Rr(e)?Mi(Zi(Nr(Zr,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Mi(Zi(Nr(e,n)))}new Set;var $i=function(e,t,n){return void 0===n&&(n=Mr),e.theme!==n.theme&&e.theme||t||n.theme},Li=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Fi=/(^-|-$)/g;function Bi(e){return e.replace(Li,"-").replace(Fi,"")}var ji=function(e){return fi(pi(e)>>>0)};function Ui(e){return"string"==typeof e&&!0}var zi=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Xi=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Hi(e,t,n){var r=e[n];zi(t)&&zi(r)?Wi(r,t):e[n]=t}function Wi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(zi(a))for(var s in a)Xi(s)&&Hi(e,a[s],s)}return e}var Yi=J.createContext();Yi.Consumer;var qi={};function Vi(e,t,n){var r=Lr(e),i=!Ui(e),o=t.attrs,a=void 0===o?Zr:o,s=t.componentId,l=void 0===s?function(e,t){var n="string"!=typeof e?"sc":Bi(e);qi[n]=(qi[n]||0)+1;var r=n+"-"+ji("5.3.9"+n+qi[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,u=t.displayName,c=void 0===u?function(e){return Ui(e)?"styled."+e:"Styled("+$r(e)+")"}(e):u,h=t.displayName&&t.componentId?Bi(t.displayName)+"-"+t.componentId:t.componentId||l,f=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,d=t.shouldForwardProp;r&&e.shouldForwardProp&&(d=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var p,m=new vi(n,h,r?e.componentStyle:void 0),g=m.isStatic&&0===a.length,v=function(e,t){return function(e,t,n,r){var i=e.attrs,o=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,l=e.shouldForwardProp,u=e.styledComponentId,c=e.target,h=function(e,t,n){void 0===e&&(e=Mr);var r=Dr({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in Ir(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}($i(t,(0,J.useContext)(Yi),a)||Mr,t,i),f=h[0],d=h[1],p=function(e,t,n,r){var i=Ti(),o=Ci();return t?e.generateAndInjectStyles(Mr,i,o):e.generateAndInjectStyles(n,i,o)}(o,r,f),m=n,g=d.$as||t.$as||d.as||t.as||c,v=Ui(g),O=d!==t?Dr({},t,{},d):t,y={};for(var k in O)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?y.as=O[k]:(l?l(k,Pr,g):!v||Pr(k))&&(y[k]=O[k]));return t.style&&d.style!==t.style&&(y.style=Dr({},t.style,{},d.style)),y.className=Array.prototype.concat(s,u,p!==u?p:null,t.className,d.className).filter(Boolean).join(" "),y.ref=m,(0,J.createElement)(g,y)}(p,e,t,g)};return v.displayName=c,(p=J.forwardRef(v)).attrs=f,p.componentStyle=m,p.displayName=c,p.shouldForwardProp=d,p.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Zr,p.styledComponentId=h,p.target=r?e.target:e,p.withComponent=function(e){var r=t.componentId,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}(t,["componentId"]),o=r&&r+"-"+(Ui(e)?e:Bi($r(e)));return Vi(e,Dr({},i,{attrs:f,componentId:o}),n)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Wi({},e.defaultProps,t):t}}),Object.defineProperty(p,"toString",{value:function(){return"."+p.styledComponentId}}),i&&_r()(p,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),p}var Gi=function(e){return function e(t,n,r){if(void 0===r&&(r=Mr),!(0,xr.isValidElementType)(n))return zr(1,String(n));var i=function(){return t(n,r,Ii.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,Dr({},r,{},i))},i.attrs=function(i){return e(t,n,Dr({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(Vi,e)};["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","marquee","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","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Gi[e]=Gi(e)}));var Ji=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=mi(e),ui.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(Zi(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ui.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();if(!t)return"";var n=ni();return"<style "+[n&&'nonce="'+n+'"',Fr+'="true"','data-styled-version="5.3.9"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?zr(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return zr(2);var n=((t={})[Fr]="",t["data-styled-version"]="5.3.9",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=ni();return r&&(n.nonce=r),[J.createElement("style",Dr({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ui({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?zr(2):J.createElement(Ei,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return zr(3)}}();var Ki=Gi,eo="undefined"===typeof window||"Deno"in window;function to(){}function no(e){return"number"===typeof e&&e>=0&&e!==1/0}function ro(e,t){return Math.max(e+(t||0)-Date.now(),0)}function io(e,t,n){return Oo(e)?"function"===typeof t?(0,on.Z)((0,on.Z)({},n),{},{queryKey:e,queryFn:t}):(0,on.Z)((0,on.Z)({},t),{},{queryKey:e}):e}function oo(e,t,n){return Oo(e)?[(0,on.Z)((0,on.Z)({},t),{},{queryKey:e}),n]:[e||{},t]}function ao(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(Oo(s))if(i){if(t.queryHash!==lo(s,t.options))return!1}else if(!co(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 so(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(Oo(o)){if(!t.options.mutationKey)return!1;if(n){if(uo(t.options.mutationKey)!==uo(o))return!1}else if(!co(t.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(i&&!i(t))}function lo(e,t){return((null==t?void 0:t.queryKeyHashFn)||uo)(e)}function uo(e){return JSON.stringify(e,(function(e,t){return go(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function co(e,t){return ho(e,t)}function ho(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!ho(e[n],t[n])})))}function fo(e,t){if(e===t)return e;var n=mo(e)&&mo(t);if(n||go(e)&&go(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]=fo(e[u],t[u]),a[u]===e[u]&&s++}return r===o&&s===r?e:a}return t}function po(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function mo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function go(e){if(!vo(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!vo(n)&&!!n.hasOwnProperty("isPrototypeOf")}function vo(e){return"[object Object]"===Object.prototype.toString.call(e)}function Oo(e){return Array.isArray(e)}function yo(e){return new Promise((function(t){setTimeout(t,e)}))}function ko(e){yo(0).then(e)}function bo(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?fo(e,t):t}var So=n(3243),xo=console;var wo=function(){var e=[],t=0,n=function(e){e()},r=function(e){e()},i=function(r){t?e.push(r):ko((function(){n(r)}))},o=function(){var t=e;e=[],t.length&&ko((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}}}(),To=function(){function e(){(0,ie.Z)(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return(0,oe.Z)(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(t){return t!==e})),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.length>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}(),Co=new(function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(){var e;return(0,ie.Z)(this,n),(e=t.call(this)).setup=function(e){if(!eo&&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,oe.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,e&&this.onFocus()}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isFocused",value:function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(To)),Eo=new(function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(){var e;return(0,ie.Z)(this,n),(e=t.call(this)).setup=function(e){if(!eo&&window.addEventListener){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}},e}return(0,oe.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,e&&this.onOnline()}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isOnline",value:function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine}}]),n}(To));function Ao(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Po(e){return"online"!==(null!=e?e:"online")||Eo.isOnline()}var Qo=(0,oe.Z)((function e(t){(0,ie.Z)(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function _o(e){return e instanceof Qo}function Do(e){var t,n,r,i=!1,o=0,a=!1,s=new Promise((function(e,t){n=e,r=t})),l=function(){return!Co.isFocused()||"always"!==e.networkMode&&!Eo.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:Ao,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),yo(d).then((function(){if(l())return h()})).then((function(){i?c(n):t()}))):c(n)}}))}};return Po(e.networkMode)?f():h().then(f),{promise:s,cancel:function(t){a||(c(new Qo(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 No=function(){function e(){(0,ie.Z)(this,e)}return(0,oe.Z)(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),no(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:eo?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),Ro=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.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||xo,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,oe.Z)(n,[{key:"meta",get:function(){return this.options.meta}},{key:"setOptions",value:function(e){this.options=(0,on.Z)((0,on.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=bo(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(to).catch(to):Promise.resolve()}},{key:"destroy",value:function(){(0,So.Z)((0,le.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||!ro(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){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(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")}};(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;(_o(e)&&e.silent||i.dispatch({type:"error",error:e}),_o(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=Do({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("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,on.Z)((0,on.Z)({},n),{},{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return(0,on.Z)((0,on.Z)({},n),{},{fetchStatus:"paused"});case"continue":return(0,on.Z)((0,on.Z)({},n),{},{fetchStatus:"fetching"});case"fetch":return(0,on.Z)((0,on.Z)({},n),{},{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:Po(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,on.Z)((0,on.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 _o(o)&&o.revert&&t.revertState?(0,on.Z)({},t.revertState):(0,on.Z)((0,on.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,on.Z)((0,on.Z)({},n),{},{isInvalidated:!0});case"setState":return(0,on.Z)((0,on.Z)({},n),e.state)}}(this.state),wo.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(No);var Zo=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.Z)(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return(0,oe.Z)(n,[{key:"build",value:function(e,t,n){var r,i=t.queryKey,o=null!=(r=t.queryHash)?r:lo(i,t),a=this.get(o);return a||(a=new Ro({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;wo.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=oo(e,t),r=(0,te.Z)(n,1)[0];return"undefined"===typeof r.exact&&(r.exact=!0),this.queries.find((function(e){return ao(r,e)}))}},{key:"findAll",value:function(e,t){var n=oo(e,t),r=(0,te.Z)(n,1)[0];return Object.keys(r).length>0?this.queries.filter((function(e){return ao(r,e)})):this.queries}},{key:"notify",value:function(e){var t=this;wo.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;wo.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;wo.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(To),Mo=n(3940);function Io(){Io=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(A){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var o=t&&t.prototype instanceof f?t:f,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:b(e,n,s)}),a}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=u;var h={};function f(){}function d(){}function p(){}var m={};l(m,o,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(C([])));v&&v!==t&&n.call(v,o)&&(m=v);var O=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function i(r,o,a,s){var l=c(e[r],e,o);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==(0,Mo.Z)(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){i("next",e,a,s)}),(function(e){i("throw",e,a,s)})):t.resolve(h).then((function(e){u.value=e,a(u)}),(function(e){return i("throw",e,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return o=o?o.then(r,r):r()}})}function b(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=c(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=p,r(O,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:d,configurable:!0}),d.displayName=l(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,s,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},y(k.prototype),l(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new k(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(O),l(O,s,"Generator"),l(O,o,(function(){return this})),l(O,"toString",(function(){return"[object Generator]"})),e.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}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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,h):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),h},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),w(n),h}},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;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function $o(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 Lo=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.Z)(this,n),(r=t.call(this)).defaultOptions=e.defaultOptions,r.mutationId=e.mutationId,r.mutationCache=e.mutationCache,r.logger=e.logger||xo,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,oe.Z)(n,[{key:"setOptions",value:function(e){this.options=(0,on.Z)((0,on.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){-1===this.observers.indexOf(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=Io().mark((function e(){var t,n,r,i,o,a,s,l,u,c,h,f,d,p,m,g,v,O,y,k,b,S,x,w,T=this;return Io().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return T.retryer=Do({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=(k=this.options).onError)?void 0:y.call(k,e.t0,this.state.variables,this.state.context);case 34:return e.next=36,null==(b=(S=this.mutationCache.config).onSettled)?void 0:b.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){$o(o,r,i,a,s,"next",e)}function s(e){$o(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,on.Z)((0,on.Z)({},n),{},{failureCount:e.failureCount,failureReason:e.error});case"pause":return(0,on.Z)((0,on.Z)({},n),{},{isPaused:!0});case"continue":return(0,on.Z)((0,on.Z)({},n),{},{isPaused:!1});case"loading":return(0,on.Z)((0,on.Z)({},n),{},{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Po(t.options.networkMode),status:"loading",variables:e.variables});case"success":return(0,on.Z)((0,on.Z)({},n),{},{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return(0,on.Z)((0,on.Z)({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"});case"setState":return(0,on.Z)((0,on.Z)({},n),e.state)}}(this.state),wo.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),n}(No);var Fo=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.Z)(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return(0,oe.Z)(n,[{key:"build",value:function(e,t,n){var r=new Lo({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;wo.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 so(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return so(e,t)}))}},{key:"notify",value:function(e){var t=this;wo.batch((function(){t.listeners.forEach((function(t){t(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 wo.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(to)}))}),Promise.resolve())}))})).then((function(){t.resuming=void 0})),this.resuming}}]),n}(To);function Bo(){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")},O=function(e,t,n,r){return m=r?[t].concat((0,re.Z)(m)):[].concat((0,re.Z)(m),[t]),r?[n].concat((0,re.Z)(e)):[].concat((0,re.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 k="undefined"!==typeof c,b=k?c:jo(e.options,d);s=y(d,k,b)}else if(f){var S="undefined"!==typeof c,x=S?c:Uo(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]:jo(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 jo(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function Uo(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var zo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,ie.Z)(this,e),this.queryCache=t.queryCache||new Zo,this.mutationCache=t.mutationCache||new Fo,this.logger=t.logger||xo,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}return(0,oe.Z)(e,[{key:"mount",value:function(){var e=this;this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Co.subscribe((function(){Co.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=Eo.subscribe((function(){Eo.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=oo(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,on.Z)((0,on.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=io(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=io(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(i,(0,on.Z)((0,on.Z)({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return wo.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=oo(e,t),r=(0,te.Z)(n,1)[0],i=this.queryCache;wo.batch((function(){i.findAll(r).forEach((function(e){i.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,i=oo(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1],l=this.queryCache,u=(0,on.Z)({type:"active"},a);return wo.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=oo(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=wo.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(u).then(to).catch(to)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,i=oo(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1];return wo.batch((function(){var e,t;if(r.queryCache.findAll(a).forEach((function(e){e.invalidate()})),"none"===a.refetchType)return Promise.resolve();var n=(0,on.Z)((0,on.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=oo(e,t,n),o=(0,te.Z)(i,2),a=o[0],s=o[1],l=wo.batch((function(){return r.queryCache.findAll(a).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,(0,on.Z)((0,on.Z)({},s),{},{cancelRefetch:null==(t=null==s?void 0:s.cancelRefetch)||t,meta:{refetchPage:a.refetchPage}}))}))})),u=Promise.all(l).then(to);return null!=s&&s.throwOnError||(u=u.catch(to)),u}},{key:"fetchQuery",value:function(e,t,n){var r=io(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(to).catch(to)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=io(e,t,n);return r.behavior=Bo(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(to).catch(to)}},{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 uo(e)===uo(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 co(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return uo(e)===uo(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 co(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,on.Z)((0,on.Z)((0,on.Z)((0,on.Z)({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=lo(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,on.Z)((0,on.Z)((0,on.Z)((0,on.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}(),Xo=J.createContext(void 0),Ho=J.createContext(!1);function Wo(e,t){return e||(t&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Xo),window.ReactQueryClientContext):Xo)}var Yo,qo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context,t=J.useContext(Wo(e,J.useContext(Ho)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Vo=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=Wo(r,o);return J.createElement(Ho.Provider,{value:!r&&o},J.createElement(a.Provider,{value:t},n))},Go=(n(390),["title","titleId"]);function Jo(){return Jo=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},Jo.apply(this,arguments)}function Ko(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 ea(e,t){var n=e.title,r=e.titleId,i=Ko(e,Go);return J.createElement("svg",Jo({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,Yo||(Yo=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 ta,na=J.forwardRef(ea),ra=(n.p,["title","titleId"]);function ia(){return ia=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},ia.apply(this,arguments)}function oa(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 aa(e,t){var n=e.title,r=e.titleId,i=oa(e,ra);return J.createElement("svg",ia({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,ta||(ta=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 sa,la,ua,ca,ha,fa,da,pa,ma,ga=J.forwardRef(aa),va=(n.p,["title","titleId"]);function Oa(){return Oa=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},Oa.apply(this,arguments)}function ya(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 ka(e,t){var n=e.title,r=e.titleId,i=ya(e,va);return J.createElement("svg",Oa({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,sa||(sa=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"}))),la||(la=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"}))),ua||(ua=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"}))),ca||(ca=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"}))),ha||(ha=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"}))),fa||(fa=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"}))),da||(da=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"}))),pa||(pa=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"}))),ma||(ma=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 ba=J.forwardRef(ka),Sa=(n.p,n(5506)),xa=n(9973);function wa(e){return new xa.ri(xa.il.define(e))}function Ta(e){return n.e(4522).then(n.bind(n,4522)).then((function(t){return t.sql({dialect:t[e]})}))}var Ca=[xa.c6.of({name:"C",extensions:["c","h","ino"],load:function(){return n.e(2106).then(n.bind(n,2106)).then((function(e){return e.cpp()}))}}),xa.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:function(){return n.e(2106).then(n.bind(n,2106)).then((function(e){return e.cpp()}))}}),xa.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:function(){return Ta("Cassandra")}}),xa.c6.of({name:"CSS",extensions:["css"],load:function(){return Promise.resolve().then(n.bind(n,4933)).then((function(e){return e.css()}))}}),xa.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:function(){return Promise.resolve().then(n.bind(n,3330)).then((function(e){return e.html()}))}}),xa.c6.of({name:"Java",extensions:["java"],load:function(){return n.e(5815).then(n.bind(n,5815)).then((function(e){return e.java()}))}}),xa.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript()}))}}),xa.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:function(){return n.e(7537).then(n.bind(n,7537)).then((function(e){return e.json()}))}}),xa.c6.of({name:"JSX",extensions:["jsx"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({jsx:!0})}))}}),xa.c6.of({name:"MariaDB SQL",load:function(){return Ta("MariaSQL")}}),xa.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:function(){return Promise.resolve().then(n.bind(n,5506)).then((function(e){return e.markdown()}))}}),xa.c6.of({name:"MS SQL",load:function(){return Ta("MSSQL")}}),xa.c6.of({name:"MySQL",load:function(){return Ta("MySQL")}}),xa.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:function(){return n.e(4064).then(n.bind(n,4064)).then((function(e){return e.php()}))}}),xa.c6.of({name:"PLSQL",extensions:["pls"],load:function(){return Ta("PLSQL")}}),xa.c6.of({name:"PostgreSQL",load:function(){return Ta("PostgreSQL")}}),xa.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:function(){return n.e(377).then(n.bind(n,377)).then((function(e){return e.python()}))}}),xa.c6.of({name:"Rust",extensions:["rs"],load:function(){return n.e(1950).then(n.bind(n,1950)).then((function(e){return e.rust()}))}}),xa.c6.of({name:"SQL",extensions:["sql"],load:function(){return Ta("StandardSQL")}}),xa.c6.of({name:"SQLite",load:function(){return Ta("SQLite")}}),xa.c6.of({name:"TSX",extensions:["tsx"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({jsx:!0,typescript:!0})}))}}),xa.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({typescript:!0})}))}}),xa.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:function(){return n.e(3235).then(n.bind(n,3235)).then((function(e){return e.wast()}))}}),xa.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:function(){return n.e(7859).then(n.bind(n,7859)).then((function(e){return e.xml()}))}}),xa.c6.of({name:"APL",extensions:["dyalog","apl"],load:function(){return n.e(5758).then(n.bind(n,5758)).then((function(e){return wa(e.apl)}))}}),xa.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:function(){return n.e(7025).then(n.bind(n,7025)).then((function(e){return wa(e.asciiArmor)}))}}),xa.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:function(){return n.e(6968).then(n.bind(n,6968)).then((function(e){return wa(e.asn1({}))}))}}),xa.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:function(){return n.e(7826).then(n.bind(n,7826)).then((function(e){return wa(e.asterisk)}))}}),xa.c6.of({name:"Brainfuck",extensions:["b","bf"],load:function(){return n.e(7136).then(n.bind(n,7136)).then((function(e){return wa(e.brainfuck)}))}}),xa.c6.of({name:"Cobol",extensions:["cob","cpy"],load:function(){return n.e(285).then(n.bind(n,285)).then((function(e){return wa(e.cobol)}))}}),xa.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.csharp)}))}}),xa.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return wa(e.clojure)}))}}),xa.c6.of({name:"ClojureScript",extensions:["cljs"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return wa(e.clojure)}))}}),xa.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return wa(e.gss)}))}}),xa.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:function(){return n.e(617).then(n.bind(n,617)).then((function(e){return wa(e.cmake)}))}}),xa.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:function(){return n.e(3378).then(n.bind(n,3378)).then((function(e){return wa(e.coffeeScript)}))}}),xa.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:function(){return n.e(2369).then(n.bind(n,2369)).then((function(e){return wa(e.commonLisp)}))}}),xa.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:function(){return n.e(7782).then(n.bind(n,7782)).then((function(e){return wa(e.cypher)}))}}),xa.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:function(){return n.e(8110).then(n.bind(n,8110)).then((function(e){return wa(e.cython)}))}}),xa.c6.of({name:"Crystal",extensions:["cr"],load:function(){return n.e(9707).then(n.bind(n,9707)).then((function(e){return wa(e.crystal)}))}}),xa.c6.of({name:"D",extensions:["d"],load:function(){return n.e(6145).then(n.bind(n,6145)).then((function(e){return wa(e.d)}))}}),xa.c6.of({name:"Dart",extensions:["dart"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.dart)}))}}),xa.c6.of({name:"diff",extensions:["diff","patch"],load:function(){return n.e(546).then(n.bind(n,546)).then((function(e){return wa(e.diff)}))}}),xa.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:function(){return n.e(6601).then(n.bind(n,6601)).then((function(e){return wa(e.dockerFile)}))}}),xa.c6.of({name:"DTD",extensions:["dtd"],load:function(){return n.e(9428).then(n.bind(n,9428)).then((function(e){return wa(e.dtd)}))}}),xa.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:function(){return n.e(8556).then(n.bind(n,8556)).then((function(e){return wa(e.dylan)}))}}),xa.c6.of({name:"EBNF",load:function(){return n.e(7791).then(n.bind(n,7791)).then((function(e){return wa(e.ebnf)}))}}),xa.c6.of({name:"ECL",extensions:["ecl"],load:function(){return n.e(8879).then(n.bind(n,8879)).then((function(e){return wa(e.ecl)}))}}),xa.c6.of({name:"edn",extensions:["edn"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return wa(e.clojure)}))}}),xa.c6.of({name:"Eiffel",extensions:["e"],load:function(){return n.e(2307).then(n.bind(n,2307)).then((function(e){return wa(e.eiffel)}))}}),xa.c6.of({name:"Elm",extensions:["elm"],load:function(){return n.e(8662).then(n.bind(n,8662)).then((function(e){return wa(e.elm)}))}}),xa.c6.of({name:"Erlang",extensions:["erl"],load:function(){return n.e(70).then(n.bind(n,70)).then((function(e){return wa(e.erlang)}))}}),xa.c6.of({name:"Esper",load:function(){return n.e(3455).then(n.bind(n,3455)).then((function(e){return wa(e.esper)}))}}),xa.c6.of({name:"Factor",extensions:["factor"],load:function(){return n.e(4586).then(n.bind(n,4586)).then((function(e){return wa(e.factor)}))}}),xa.c6.of({name:"FCL",load:function(){return n.e(4964).then(n.bind(n,4964)).then((function(e){return wa(e.fcl)}))}}),xa.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:function(){return n.e(5194).then(n.bind(n,5194)).then((function(e){return wa(e.forth)}))}}),xa.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:function(){return n.e(8935).then(n.bind(n,8935)).then((function(e){return wa(e.fortran)}))}}),xa.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return wa(e.fSharp)}))}}),xa.c6.of({name:"Gas",extensions:["s"],load:function(){return n.e(5374).then(n.bind(n,5374)).then((function(e){return wa(e.gas)}))}}),xa.c6.of({name:"Gherkin",extensions:["feature"],load:function(){return n.e(6900).then(n.bind(n,6900)).then((function(e){return wa(e.gherkin)}))}}),xa.c6.of({name:"Go",extensions:["go"],load:function(){return n.e(8846).then(n.bind(n,8846)).then((function(e){return wa(e.go)}))}}),xa.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:function(){return n.e(5905).then(n.bind(n,5905)).then((function(e){return wa(e.groovy)}))}}),xa.c6.of({name:"Haskell",extensions:["hs"],load:function(){return n.e(624).then(n.bind(n,624)).then((function(e){return wa(e.haskell)}))}}),xa.c6.of({name:"Haxe",extensions:["hx"],load:function(){return n.e(5740).then(n.bind(n,5740)).then((function(e){return wa(e.haxe)}))}}),xa.c6.of({name:"HXML",extensions:["hxml"],load:function(){return n.e(5740).then(n.bind(n,5740)).then((function(e){return wa(e.hxml)}))}}),xa.c6.of({name:"HTTP",load:function(){return n.e(4604).then(n.bind(n,4604)).then((function(e){return wa(e.http)}))}}),xa.c6.of({name:"IDL",extensions:["pro"],load:function(){return n.e(8610).then(n.bind(n,8610)).then((function(e){return wa(e.idl)}))}}),xa.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:function(){return n.e(88).then(n.bind(n,88)).then((function(e){return wa(e.jsonld)}))}}),xa.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:function(){return n.e(5382).then(n.bind(n,5382)).then((function(e){return wa(e.jinja2)}))}}),xa.c6.of({name:"Julia",extensions:["jl"],load:function(){return n.e(4684).then(n.bind(n,4684)).then((function(e){return wa(e.julia)}))}}),xa.c6.of({name:"Kotlin",extensions:["kt"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.kotlin)}))}}),xa.c6.of({name:"LESS",extensions:["less"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return wa(e.less)}))}}),xa.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:function(){return n.e(3582).then(n.bind(n,3582)).then((function(e){return wa(e.liveScript)}))}}),xa.c6.of({name:"Lua",extensions:["lua"],load:function(){return n.e(7256).then(n.bind(n,7256)).then((function(e){return wa(e.lua)}))}}),xa.c6.of({name:"mIRC",extensions:["mrc"],load:function(){return n.e(8140).then(n.bind(n,8140)).then((function(e){return wa(e.mirc)}))}}),xa.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:function(){return n.e(58).then(n.bind(n,9822)).then((function(e){return wa(e.mathematica)}))}}),xa.c6.of({name:"Modelica",extensions:["mo"],load:function(){return n.e(5541).then(n.bind(n,5541)).then((function(e){return wa(e.modelica)}))}}),xa.c6.of({name:"MUMPS",extensions:["mps"],load:function(){return n.e(3510).then(n.bind(n,3510)).then((function(e){return wa(e.mumps)}))}}),xa.c6.of({name:"Mbox",extensions:["mbox"],load:function(){return n.e(9235).then(n.bind(n,9235)).then((function(e){return wa(e.mbox)}))}}),xa.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:function(){return n.e(2321).then(n.bind(n,2321)).then((function(e){return wa(e.nginx)}))}}),xa.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:function(){return n.e(6105).then(n.bind(n,6105)).then((function(e){return wa(e.nsis)}))}}),xa.c6.of({name:"NTriples",extensions:["nt","nq"],load:function(){return n.e(2399).then(n.bind(n,2399)).then((function(e){return wa(e.ntriples)}))}}),xa.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.objectiveC)}))}}),xa.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.objectiveCpp)}))}}),xa.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return wa(e.oCaml)}))}}),xa.c6.of({name:"Octave",extensions:["m"],load:function(){return n.e(8641).then(n.bind(n,8641)).then((function(e){return wa(e.octave)}))}}),xa.c6.of({name:"Oz",extensions:["oz"],load:function(){return n.e(1527).then(n.bind(n,1527)).then((function(e){return wa(e.oz)}))}}),xa.c6.of({name:"Pascal",extensions:["p","pas"],load:function(){return n.e(7483).then(n.bind(n,7483)).then((function(e){return wa(e.pascal)}))}}),xa.c6.of({name:"Perl",extensions:["pl","pm"],load:function(){return n.e(7902).then(n.bind(n,7902)).then((function(e){return wa(e.perl)}))}}),xa.c6.of({name:"Pig",extensions:["pig"],load:function(){return n.e(3030).then(n.bind(n,3030)).then((function(e){return wa(e.pig)}))}}),xa.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:function(){return n.e(2281).then(n.bind(n,2281)).then((function(e){return wa(e.powerShell)}))}}),xa.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:function(){return n.e(9158).then(n.bind(n,9158)).then((function(e){return wa(e.properties)}))}}),xa.c6.of({name:"ProtoBuf",extensions:["proto"],load:function(){return n.e(9529).then(n.bind(n,9529)).then((function(e){return wa(e.protobuf)}))}}),xa.c6.of({name:"Puppet",extensions:["pp"],load:function(){return n.e(8802).then(n.bind(n,8802)).then((function(e){return wa(e.puppet)}))}}),xa.c6.of({name:"Q",extensions:["q"],load:function(){return n.e(732).then(n.bind(n,732)).then((function(e){return wa(e.q)}))}}),xa.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:function(){return n.e(5651).then(n.bind(n,5651)).then((function(e){return wa(e.r)}))}}),xa.c6.of({name:"RPM Changes",load:function(){return n.e(5799).then(n.bind(n,5799)).then((function(e){return wa(e.rpmChanges)}))}}),xa.c6.of({name:"RPM Spec",extensions:["spec"],load:function(){return n.e(5799).then(n.bind(n,5799)).then((function(e){return wa(e.rpmSpec)}))}}),xa.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:function(){return n.e(3467).then(n.bind(n,3467)).then((function(e){return wa(e.ruby)}))}}),xa.c6.of({name:"SAS",extensions:["sas"],load:function(){return n.e(3850).then(n.bind(n,3850)).then((function(e){return wa(e.sas)}))}}),xa.c6.of({name:"Sass",extensions:["sass"],load:function(){return n.e(4017).then(n.bind(n,4017)).then((function(e){return wa(e.sass)}))}}),xa.c6.of({name:"Scala",extensions:["scala"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.scala)}))}}),xa.c6.of({name:"Scheme",extensions:["scm","ss"],load:function(){return n.e(4911).then(n.bind(n,4911)).then((function(e){return wa(e.scheme)}))}}),xa.c6.of({name:"SCSS",extensions:["scss"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return wa(e.sCSS)}))}}),xa.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:function(){return n.e(7627).then(n.bind(n,7627)).then((function(e){return wa(e.shell)}))}}),xa.c6.of({name:"Sieve",extensions:["siv","sieve"],load:function(){return n.e(7234).then(n.bind(n,7234)).then((function(e){return wa(e.sieve)}))}}),xa.c6.of({name:"Smalltalk",extensions:["st"],load:function(){return n.e(2340).then(n.bind(n,2340)).then((function(e){return wa(e.smalltalk)}))}}),xa.c6.of({name:"Solr",load:function(){return n.e(2534).then(n.bind(n,2534)).then((function(e){return wa(e.solr)}))}}),xa.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return wa(e.sml)}))}}),xa.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:function(){return n.e(2473).then(n.bind(n,2473)).then((function(e){return wa(e.sparql)}))}}),xa.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:function(){return n.e(294).then(n.bind(n,294)).then((function(e){return wa(e.spreadsheet)}))}}),xa.c6.of({name:"Squirrel",extensions:["nut"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return wa(e.squirrel)}))}}),xa.c6.of({name:"Stylus",extensions:["styl"],load:function(){return n.e(1620).then(n.bind(n,1620)).then((function(e){return wa(e.stylus)}))}}),xa.c6.of({name:"Swift",extensions:["swift"],load:function(){return n.e(9007).then(n.bind(n,9007)).then((function(e){return wa(e.swift)}))}}),xa.c6.of({name:"sTeX",load:function(){return n.e(9084).then(n.bind(n,9084)).then((function(e){return wa(e.stex)}))}}),xa.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:function(){return n.e(9084).then(n.bind(n,9084)).then((function(e){return wa(e.stex)}))}}),xa.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:function(){return n.e(8066).then(n.bind(n,8066)).then((function(e){return wa(e.verilog)}))}}),xa.c6.of({name:"Tcl",extensions:["tcl"],load:function(){return n.e(2410).then(n.bind(n,2410)).then((function(e){return wa(e.tcl)}))}}),xa.c6.of({name:"Textile",extensions:["textile"],load:function(){return n.e(5537).then(n.bind(n,5537)).then((function(e){return wa(e.textile)}))}}),xa.c6.of({name:"TiddlyWiki",load:function(){return n.e(1973).then(n.bind(n,1973)).then((function(e){return wa(e.tiddlyWiki)}))}}),xa.c6.of({name:"Tiki wiki",load:function(){return n.e(468).then(n.bind(n,468)).then((function(e){return wa(e.tiki)}))}}),xa.c6.of({name:"TOML",extensions:["toml"],load:function(){return n.e(9021).then(n.bind(n,9021)).then((function(e){return wa(e.toml)}))}}),xa.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:function(){return n.e(7792).then(n.bind(n,7792)).then((function(e){return wa(e.troff)}))}}),xa.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:function(){return n.e(4071).then(n.bind(n,4071)).then((function(e){return wa(e.ttcn)}))}}),xa.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:function(){return n.e(903).then(n.bind(n,4494)).then((function(e){return wa(e.ttcnCfg)}))}}),xa.c6.of({name:"Turtle",extensions:["ttl"],load:function(){return n.e(2804).then(n.bind(n,2804)).then((function(e){return wa(e.turtle)}))}}),xa.c6.of({name:"Web IDL",extensions:["webidl"],load:function(){return n.e(606).then(n.bind(n,606)).then((function(e){return wa(e.webIDL)}))}}),xa.c6.of({name:"VB.NET",extensions:["vb"],load:function(){return n.e(5798).then(n.bind(n,5798)).then((function(e){return wa(e.vb)}))}}),xa.c6.of({name:"VBScript",extensions:["vbs"],load:function(){return n.e(3083).then(n.bind(n,3083)).then((function(e){return wa(e.vbScript)}))}}),xa.c6.of({name:"Velocity",extensions:["vtl"],load:function(){return n.e(2489).then(n.bind(n,2489)).then((function(e){return wa(e.velocity)}))}}),xa.c6.of({name:"Verilog",extensions:["v"],load:function(){return n.e(8066).then(n.bind(n,8066)).then((function(e){return wa(e.verilog)}))}}),xa.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:function(){return n.e(1875).then(n.bind(n,1875)).then((function(e){return wa(e.vhdl)}))}}),xa.c6.of({name:"XQuery",extensions:["xy","xquery"],load:function(){return n.e(9949).then(n.bind(n,9949)).then((function(e){return wa(e.xQuery)}))}}),xa.c6.of({name:"Yacas",extensions:["ys"],load:function(){return n.e(2172).then(n.bind(n,2172)).then((function(e){return wa(e.yacas)}))}}),xa.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:function(){return n.e(2082).then(n.bind(n,2082)).then((function(e){return wa(e.yaml)}))}}),xa.c6.of({name:"Z80",extensions:["z80"],load:function(){return n.e(2275).then(n.bind(n,2275)).then((function(e){return wa(e.z80)}))}}),xa.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return wa(e.mscgen)}))}}),xa.c6.of({name:"X\xf9",extensions:["xu"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return wa(e.xu)}))}}),xa.c6.of({name:"MsGenny",extensions:["msgenny"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return wa(e.msgenny)}))}}),xa.c6.of({name:"Vue",extensions:["vue"],load:function(){return n.e(1238).then(n.bind(n,1238)).then((function(e){return e.vue()}))}}),xa.c6.of({name:"Angular Template",load:function(){return n.e(8965).then(n.bind(n,8965)).then((function(e){return e.angular()}))}})],Ea=n(1701);function Aa(e){var t=e.type,n=void 0===t?"scroll":t,r=e.events;return Ea.lg.fromClass(function(){function e(t){var i=this;(0,ie.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,oe.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 Pa=n(7989),Qa=n(1514);function _a(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 Da=_a($a,0),Na=_a(Ia,0),Ra=_a((function(e,t){return Ia(e,t,function(e){var t,n=[],r=(0,ne.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,to:a.to})}}catch(l){r.e(l)}finally{r.f()}return n}(t))}),0);function Za(e,t){var n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}var Ma=50;function Ia(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,r=n.map((function(e){return Za(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-Ma,n),u=e.sliceDoc(r,r+Ma),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*Ma?i=o=e.sliceDoc(n,r):(i=e.sliceDoc(n,n+Ma),o=e.sliceDoc(r-Ma,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 $a(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,i=[],o=-1,a=(0,ne.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=Za(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(I){a.e(I)}finally{a.f()}if(2!=e&&i.some((function(e){return e.comment<0&&(!e.empty||e.single)}))){var y,k=[],b=(0,ne.Z)(i);try{for(b.s();!(y=b.n()).done;){var S=y.value,x=S.line,w=S.token,T=S.indent,C=S.empty;!S.single&&C||k.push({from:x.from+T,insert:w+" "})}}catch(I){b.e(I)}finally{b.f()}var E=t.changes(k);return{changes:E,selection:t.selection.map(E,1)}}if(1!=e&&i.some((function(e){return e.comment>=0}))){var A,P=[],Q=(0,ne.Z)(i);try{for(Q.s();!(A=Q.n()).done;){var _=A.value,D=_.line,N=_.comment,R=_.token;if(N>=0){var Z=D.from+N,M=Z+R.length;" "==D.text[M-D.from]&&M++,P.push({from:Z,to:M})}}}catch(I){Q.e(I)}finally{Q.f()}return{changes:P}}return null}var La=Pa.q6.define(),Fa=Pa.q6.define(),Ba=Pa.r$.define(),ja=Pa.r$.define({combine:function(e){return(0,Pa.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 Ua=Pa.QQ.define({create:function(){return os.empty},update:function(e,t){var n=t.state.facet(ja),r=t.annotation(La);if(r){var i=t.docChanged?Pa.jT.single(function(e){var t=0;return e.iterChangedRanges((function(e,n){return t=n})),t}(t.changes)):void 0,o=qa.fromTransaction(t,i),a=r.side,s=0==a?e.undone:e.done;return s=o?Va(s,s.length,n.minDepth,o):es(s,t.startState.selection),new os(0==a?r.rest:s,0==a?s:r.rest)}var l=t.annotation(Fa);if("full"!=l&&"before"!=l||(e=e.isolate()),!1===t.annotation(Pa.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);var u=qa.fromTransaction(t),c=t.annotation(Pa.YW.time),h=t.annotation(Pa.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 os(e.done.map(qa.fromJSON),e.undone.map(qa.fromJSON))}});function za(e,t){return function(n){var r=n.state,i=n.dispatch;if(!t&&r.readOnly)return!1;var o=r.field(Ua,!1);if(!o)return!1;var a=o.pop(e,r,t);return!!a&&(i(a),!0)}}var Xa=za(0,!1),Ha=za(1,!1),Wa=za(0,!0),Ya=za(1,!0);var qa=function(){function e(t,n,r,i,o){(0,ie.Z)(this,e),this.changes=t,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}return(0,oe.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&&Pa.as.fromJSON(t.changes),[],t.mapped&&Pa.n0.fromJSON(t.mapped),t.startSelection&&Pa.jT.fromJSON(t.startSelection),t.selectionsAfter.map(Pa.jT.fromJSON))}},{key:"fromTransaction",value:function(t,n){var r,i=Ja,o=(0,ne.Z)(t.startState.facet(Ba));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,Ja)}},{key:"selection",value:function(t){return new e(void 0,Ja,void 0,void 0,t)}}]),e}();function Va(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 Ga(e,t){return e.length?t.length?e.concat(t):e:t}var Ja=[],Ka=200;function es(e,t){if(e.length){var n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Ka));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),Va(e,e.length-1,1e9,n.setSelAfter(r)))}return[qa.selection([t])]}function ts(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 ns(e,t){if(!e.length)return e;for(var n=e.length,r=Ja;n;){var i=rs(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?[qa.selection(r)]:Ja}function rs(e,t,n){var r=Ga(e.selectionsAfter.length?e.selectionsAfter.map((function(e){return e.map(t)})):Ja,n);if(!e.changes)return qa.selection(r);var i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new qa(i,Pa.Py.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}var is=/^(input\.type|delete)($|\.)/,os=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,ie.Z)(this,e),this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=i}return(0,oe.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||is.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)?Va(a,a.length-1,i.minDepth,new qa(t.changes.compose(s.changes),Ga(t.effects,s.effects),s.mapped,s.startSelection,Ja)):Va(a,a.length,i.minDepth,t),new e(a,Ja,n,r)}},{key:"addSelection",value:function(t,n,r,i){var o=this.done.length?this.done[this.done.length-1].selectionsAfter:Ja;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(es(this.done,t),this.undone,n,r)}},{key:"addMapping",value:function(t){return new e(ns(this.done,t),ns(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:La.of({side:e,rest:ts(r)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){var o=1==r.length?Ja:r.slice(0,r.length-1);return i.mapped&&(o=ns(o,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:La.of({side:e,rest:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}]),e}();os.empty=new os(Ja,Ja);var as=[{key:"Mod-z",run:Xa,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Ha,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Ha,preventDefault:!0},{key:"Mod-u",run:Wa,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Ya,preventDefault:!0}];function ss(e,t){return Pa.jT.create(e.ranges.map(t),e.mainIndex)}function ls(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function us(e,t){var n=e.state,r=e.dispatch,i=ss(n.selection,t);return!i.eq(n.selection)&&(r(ls(n,i)),!0)}function cs(e,t){return Pa.jT.cursor(t?e.to:e.from)}function hs(e,t){return us(e,(function(n){return n.empty?e.moveByChar(n,t):cs(n,t)}))}function fs(e){return e.textDirectionAt(e.state.selection.main.head)==Ea.Nm.LTR}var ds=function(e){return hs(e,!fs(e))},ps=function(e){return hs(e,fs(e))};function ms(e,t){return us(e,(function(n){return n.empty?e.moveByGroup(n,t):cs(n,t)}))}function gs(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 vs(e,t,n){for(var r=(0,xa.qz)(e).resolveInner(t.head),i=n?Qa.md.closedBy:Qa.md.openedBy,o=t.head;;){var a=n?r.childAfter(o):r.childBefore(o);if(!a)break;gs(e,a,i)?r=a:o=n?a.to:a.from}var s,l;return l=r.type.prop(i)&&(s=n?(0,xa.Um)(e,r.from,1):(0,xa.Um)(e,r.to,-1))&&s.matched?n?s.end.to:s.end.from:n?r.to:r.from,Pa.jT.cursor(l,n?-1:1)}function Os(e,t){return us(e,(function(n){if(!n.empty)return cs(n,t);var r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}var ys=function(e){return Os(e,!1)},ks=function(e){return Os(e,!0)};function bs(e){var t,n=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,r=0,i=0;if(n){var o,a=(0,ne.Z)(e.state.facet(Ea.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 Ss(e,t){var n,r=bs(e),i=e.state,o=ss(i.selection,(function(n){return n.empty?e.moveVertically(n,t,r.height):cs(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=Ea.tk.scrollIntoView(o.main.head,{y:"start",yMargin:a.top-l}))}return e.dispatch(ls(i,o),{effects:n}),!0}var xs=function(e){return Ss(e,!1)},ws=function(e){return Ss(e,!0)};function Ts(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=Pa.jT.cursor(r.from+o))}return i}function Cs(e,t,n){var r=!1,i=ss(e.selection,(function(t){var i=(0,xa.Um)(e,t.head,-1)||(0,xa.Um)(e,t.head,1)||t.head>0&&(0,xa.Um)(e,t.head-1,1)||t.head<e.doc.length&&(0,xa.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?Pa.jT.range(t.anchor,o):Pa.jT.cursor(o)}));return!!r&&(t(ls(e,i)),!0)}function Es(e,t){var n=ss(e.state.selection,(function(e){var n=t(e);return Pa.jT.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)}));return!n.eq(e.state.selection)&&(e.dispatch(ls(e.state,n)),!0)}function As(e,t){return Es(e,(function(n){return e.moveByChar(n,t)}))}var Ps=function(e){return As(e,!fs(e))},Qs=function(e){return As(e,fs(e))};function _s(e,t){return Es(e,(function(n){return e.moveByGroup(n,t)}))}function Ds(e,t){return Es(e,(function(n){return e.moveVertically(n,t)}))}var Ns=function(e){return Ds(e,!1)},Rs=function(e){return Ds(e,!0)};function Zs(e,t){return Es(e,(function(n){return e.moveVertically(n,t,bs(e).height)}))}var Ms=function(e){return Zs(e,!1)},Is=function(e){return Zs(e,!0)},$s=function(e){var t=e.state;return(0,e.dispatch)(ls(t,{anchor:0})),!0},Ls=function(e){var t=e.state;return(0,e.dispatch)(ls(t,{anchor:t.doc.length})),!0},Fs=function(e){var t=e.state;return(0,e.dispatch)(ls(t,{anchor:t.selection.main.anchor,head:0})),!0},Bs=function(e){var t=e.state;return(0,e.dispatch)(ls(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0};function js(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=Us(e,a,!1)):a>i&&(n="delete.forward",a=Us(e,a,!0)),i=Math.min(i,a),o=Math.max(o,a)}else i=Us(e,i,!1),o=Us(e,o,!0);return i==o?{range:r}:{changes:{from:i,to:o},range:Pa.jT.cursor(i)}}));return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?Ea.tk.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function Us(e,t,n){if(e instanceof Ea.tk){var r,i=(0,ne.Z)(e.state.facet(Ea.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 zs=function(e,t){return js(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,Pa.IS)(r,o.tabSize)%(0,xa.y1)(o)||(0,xa.y1)(o),l=0;l<s&&" "==r[r.length-1-l];l++)n--;i=n}else(i=(0,Pa.cp)(a.text,n-a.from,t,t)+a.from)==n&&a.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);return i}))},Xs=function(e){return zs(e,!1)},Hs=function(e){return zs(e,!0)},Ws=function(e,t){return js(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,Pa.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}))},Ys=function(e){return Ws(e,!1)},qs=function(e){return js(e,(function(t){var n=e.lineBlockAt(t).to;return t<n?n:Math.min(e.state.doc.length,t+1)}))};function Vs(e){var t,n=[],r=-1,i=(0,ne.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 Gs(e,t,n){if(e.readOnly)return!1;var r,i=[],o=[],a=(0,ne.Z)(Vs(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,ne.Z)(s.ranges);try{for(h.s();!(c=h.n()).done;){var f=c.value;o.push(Pa.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,ne.Z)(s.ranges);try{for(p.s();!(d=p.n()).done;){var m=d.value;o.push(Pa.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:Pa.jT.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}function Js(e,t,n){if(e.readOnly)return!1;var r,i=[],o=(0,ne.Z)(Vs(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 Ks=tl(!1),el=tl(!0);function tl(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,xa.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(Qa.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 xa.Gn(n,{simulateBreak:r,simulateDoubleBreak:!!a}),l=(0,xa.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,xa.SS)(n,l)];return a&&u.push((0,xa.SS)(n,s.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:Pa.xv.of(u)},range:Pa.jT.cursor(r+1+u[1].length)}}));return r(n.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function nl(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:Pa.jT.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}}))}var rl=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(nl(t,(function(e,n){n.push({from:e.from,insert:t.facet(xa.c)})})),{userEvent:"input.indent"})),!0)},il=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(nl(t,(function(e,n){var r=/^\s*/.exec(e.text)[0];if(r){for(var i=(0,Pa.IS)(r,t.tabSize),o=0,a=(0,xa.SS)(t,Math.max(0,i-(0,xa.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)},ol=[{key:"ArrowLeft",run:ds,shift:Ps,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:function(e){return ms(e,!fs(e))},shift:function(e){return _s(e,!fs(e))},preventDefault:!0},{mac:"Cmd-ArrowLeft",run:function(e){return us(e,(function(t){return Ts(e,t,!fs(e))}))},shift:function(e){return Es(e,(function(t){return Ts(e,t,!fs(e))}))},preventDefault:!0},{key:"ArrowRight",run:ps,shift:Qs,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:function(e){return ms(e,fs(e))},shift:function(e){return _s(e,fs(e))},preventDefault:!0},{mac:"Cmd-ArrowRight",run:function(e){return us(e,(function(t){return Ts(e,t,fs(e))}))},shift:function(e){return Es(e,(function(t){return Ts(e,t,fs(e))}))},preventDefault:!0},{key:"ArrowUp",run:ys,shift:Ns,preventDefault:!0},{mac:"Cmd-ArrowUp",run:$s,shift:Fs},{mac:"Ctrl-ArrowUp",run:xs,shift:Ms},{key:"ArrowDown",run:ks,shift:Rs,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Ls,shift:Bs},{mac:"Ctrl-ArrowDown",run:ws,shift:Is},{key:"PageUp",run:xs,shift:Ms},{key:"PageDown",run:ws,shift:Is},{key:"Home",run:function(e){return us(e,(function(t){return Ts(e,t,!1)}))},shift:function(e){return Es(e,(function(t){return Ts(e,t,!1)}))},preventDefault:!0},{key:"Mod-Home",run:$s,shift:Fs},{key:"End",run:function(e){return us(e,(function(t){return Ts(e,t,!0)}))},shift:function(e){return Es(e,(function(t){return Ts(e,t,!0)}))},preventDefault:!0},{key:"Mod-End",run:Ls,shift:Bs},{key:"Enter",run:Ks},{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:Xs,shift:Xs},{key:"Delete",run:Hs},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Ys},{key:"Mod-Delete",mac:"Alt-Delete",run:function(e){return Ws(e,!0)}},{mac:"Mod-Backspace",run:function(e){return js(e,(function(t){var n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}))}},{mac:"Mod-Delete",run:qs}].concat([{key:"Ctrl-b",run:ds,shift:Ps,preventDefault:!0},{key:"Ctrl-f",run:ps,shift:Qs},{key:"Ctrl-p",run:ys,shift:Ns},{key:"Ctrl-n",run:ks,shift:Rs},{key:"Ctrl-a",run:function(e){return us(e,(function(t){return Pa.jT.cursor(e.lineBlockAt(t.head).from,1)}))},shift:function(e){return Es(e,(function(t){return Pa.jT.cursor(e.lineBlockAt(t.head).from)}))}},{key:"Ctrl-e",run:function(e){return us(e,(function(t){return Pa.jT.cursor(e.lineBlockAt(t.head).to,-1)}))},shift:function(e){return Es(e,(function(t){return Pa.jT.cursor(e.lineBlockAt(t.head).to)}))}},{key:"Ctrl-d",run:Hs},{key:"Ctrl-h",run:Xs},{key:"Ctrl-k",run:qs},{key:"Ctrl-Alt-h",run:Ys},{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:Pa.xv.of(["",""])},range:Pa.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,Pa.cp)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,Pa.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:Pa.jT.cursor(o)}}));return!r.changes.empty&&(n(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:ws}].map((function(e){return{mac:e.key,run:e.run,shift:e.shift}}))),al=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:function(e){return us(e,(function(t){return vs(e.state,t,!fs(e))}))},shift:function(e){return Es(e,(function(t){return vs(e.state,t,!fs(e))}))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:function(e){return us(e,(function(t){return vs(e.state,t,fs(e))}))},shift:function(e){return Es(e,(function(t){return vs(e.state,t,fs(e))}))}},{key:"Alt-ArrowUp",run:function(e){return Gs(e.state,e.dispatch,!1)}},{key:"Shift-Alt-ArrowUp",run:function(e){return Js(e.state,e.dispatch,!1)}},{key:"Alt-ArrowDown",run:function(e){return Gs(e.state,e.dispatch,!0)}},{key:"Shift-Alt-ArrowDown",run:function(e){return Js(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=Pa.jT.create([r.main]):r.main.empty||(i=Pa.jT.create([Pa.jT.cursor(r.main.head)])),!!i&&(n(ls(t,i)),!0)}},{key:"Mod-Enter",run:el},{key:"Alt-l",mac:"Ctrl-l",run:function(e){var t=e.state,n=e.dispatch,r=Vs(t).map((function(e){var n=e.from,r=e.to;return Pa.jT.range(n,Math.min(r+1,t.doc.length))}));return n(t.update({selection:Pa.jT.create(r),userEvent:"select"})),!0}},{key:"Mod-i",run:function(e){var t=e.state,n=e.dispatch,r=ss(t.selection,(function(e){for(var n,r=(0,xa.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 Pa.jT.range(r.to,r.from)}));return n(ls(t,r)),!0},preventDefault:!0},{key:"Mod-[",run:il},{key:"Mod-]",run:rl},{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 xa.Gn(t,{overrideIndentation:function(e){var t=r[e];return null==t?-1:t}}),o=nl(t,(function(e,n,o){var a=(0,xa.K0)(i,e.from);if(null!=a){/\S/.test(e.text)||(a=0);var s=/^\s*/.exec(e.text)[0],l=(0,xa.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(Vs(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=ss(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 Cs(e.state,e.dispatch,!1)}},{key:"Mod-/",run:function(e){var t=e.state,n=t.doc.lineAt(t.selection.main.from),r=Za(e.state,n.from);return r.line?Da(e):!!r.block&&Ra(e)}},{key:"Alt-A",run:Na}].concat(ol),sl={key:"Tab",run:rl,shift:il};function ll(){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++)ul(e,arguments[t]);return e}function ul(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++)ul(e,t[n])}}var cl="function"==typeof String.prototype.normalize?function(e){return e.normalize("NFKD")}:function(e){return e},hl=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,ie.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(cl(e))}:cl,this.query=this.normalize(n)}return(0,oe.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,Pa.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,Pa.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,Pa.nZ)(e);for(var r=this.normalize(t),i=0,o=n;;i++){var a=r.charCodeAt(i),s=this.match(a,o);if(s)return this.value=s,this;if(i==r.length-1)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&&(hl.prototype[Symbol.iterator]=function(){return this});var fl={from:-1,to:-1,match:/.*/.exec("")},dl="gm"+(null==/x/.unicode?"":"u"),pl=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,ie.Z)(this,e),this.text=t,this.to=o,this.curLine="",this.done=!1,this.value=fl,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new vl(t,n,r,i,o);this.re=new RegExp(n,dl+((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=Ol(t,i),this.getLine(this.curLineStart)}return(0,oe.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=Ol(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}(),ml=new WeakMap,gl=function(){function e(t,n){(0,ie.Z)(this,e),this.from=t,this.text=n}return(0,oe.Z)(e,[{key:"to",get:function(){return this.from+this.text.length}}],[{key:"get",value:function(t,n,r){var i=ml.get(t);if(!i||i.from>=r||i.to<=n){var o=new e(n,t.sliceString(n,r));return ml.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)),ml.set(t,new e(s,a)),new e(n,a.slice(n-s,r-s))}}]),e}(),vl=function(){function e(t,n,r,i,o){(0,ie.Z)(this,e),this.text=t,this.to=o,this.done=!1,this.value=fl,this.matchPos=Ol(t,i),this.re=new RegExp(n,dl+((null===r||void 0===r?void 0:r.ignoreCase)?"i":"")),this.test=null===r||void 0===r?void 0:r.test,this.flat=gl.get(t,i,this.chunkEnd(i+5e3))}return(0,oe.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=Ol(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=gl.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}]),e}();function Ol(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 yl(e){var t=ll("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)));e.dispatch({effects:kl.of(!1),selection:Pa.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),e.focus()}}return{dom:ll("form",{class:"cm-gotoLine",onkeydown:function(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:kl.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:function(e){e.preventDefault(),n()}},ll("label",e.state.phrase("Go to line"),": ",t)," ",ll("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(pl.prototype[Symbol.iterator]=vl.prototype[Symbol.iterator]=function(){return this});var kl=Pa.Py.define(),bl=Pa.QQ.define({create:function(){return!0},update:function(e,t){var n,r=(0,ne.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(kl)&&(e=i.value)}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return Ea.mH.from(e,(function(e){return e?yl:null}))}}),Sl=Ea.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),xl={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},wl=Pa.r$.define({combine:function(e){return(0,Pa.BO)(e,xl,{highlightWordAroundCursor:function(e,t){return e||t},minSelectionLength:Math.min,maxMatches:Math.min})}});var Tl=Ea.p.mark({class:"cm-selectionMatch"}),Cl=Ea.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function El(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=Pa.D0.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=Pa.D0.Word)}var Al=Ea.lg.fromClass(function(){function e(t){(0,ie.Z)(this,e),this.decorations=this.getDeco(t)}return(0,oe.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(wl),n=e.state,r=n.selection;if(r.ranges.length>1)return Ea.p.none;var i,o=r.main,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return Ea.p.none;var s=n.wordAt(o.head);if(!s)return Ea.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 Ea.p.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),!El(a=n.charCategorizer(o.head),n,o.from,o.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==Pa.D0.Word&&e(t.sliceDoc(r-1,r))==Pa.D0.Word}(a,n,o.from,o.to))return Ea.p.none}else if(!(i=n.sliceDoc(o.from,o.to).trim()))return Ea.p.none}var u,c=[],h=(0,ne.Z)(e.visibleRanges);try{for(h.s();!(u=h.n()).done;)for(var f=u.value,d=new hl(n.doc,i,f.from,f.to);!d.next().done;){var p=d.value,m=p.from,g=p.to;if((!a||El(a,n,m,g))&&(o.empty&&m<=o.from&&g>=o.to?c.push(Cl.range(m,g)):(m>=o.to||g<=o.from)&&c.push(Tl.range(m,g)),c.length>t.maxMatches))return Ea.p.none}}catch(v){h.e(v)}finally{h.f()}return Ea.p.set(c)}}]),e}(),{decorations:function(e){return e.decorations}}),Pl=Ea.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});var Ql=Pa.r$.define({combine:function(e){return(0,Pa.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:function(e){return new ru(e)},scrollToMatch:function(e){return Ea.tk.scrollIntoView(e)}})}});var _l=function(){function e(t){(0,ie.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,dl),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}return(0,oe.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 $l(this):new Rl(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:Pa.yy.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?Zl(this,r,t,n):Nl(this,r,t,n)}}]),e}(),Dl=(0,oe.Z)((function e(t){(0,ie.Z)(this,e),this.spec=t}));function Nl(e,t,n,r){return new hl(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(Ml(n,e-r))!=Pa.D0.Word||o(Il(n,e-r))!=Pa.D0.Word)&&(o(Il(n,t-r))!=Pa.D0.Word||o(Ml(n,t-r))!=Pa.D0.Word)}):void 0);var i,o}var Rl=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){return(0,ie.Z)(this,n),t.call(this,e)}return(0,oe.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Nl(this.spec,e,n,e.doc.length).nextOverlapping();return r.done&&(r=Nl(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=Nl(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=Nl(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=Nl(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}(Dl);function Zl(e,t,n,r){return new pl(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(Ml(n.input,n.index))!=Pa.D0.Word||i(Il(n.input,n.index))!=Pa.D0.Word)&&(i(Il(n.input,n.index+n[0].length))!=Pa.D0.Word||i(Ml(n.input,n.index+n[0].length))!=Pa.D0.Word)}):void 0},n,r);var i}function Ml(e,t){return e.slice((0,Pa.cp)(e,t,!1),t)}function Il(e,t){return e.slice(t,(0,Pa.cp)(e,t))}var $l=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(){return(0,ie.Z)(this,n),t.apply(this,arguments)}return(0,oe.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Zl(this.spec,e,n,e.doc.length).next();return r.done&&(r=Zl(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=Zl(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=Zl(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=Zl(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}(Dl),Ll=Pa.Py.define(),Fl=Pa.Py.define(),Bl=Pa.QQ.define({create:function(e){return new jl(Kl(e).create(),null)},update:function(e,t){var n,r=(0,ne.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(Ll)?e=new jl(i.value.create(),e.panel):i.is(Fl)&&(e=new jl(e.query,i.value?Jl:null))}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return Ea.mH.from(e,(function(e){return e.panel}))}});var jl=(0,oe.Z)((function e(t,n){(0,ie.Z)(this,e),this.query=t,this.panel=n})),Ul=Ea.p.mark({class:"cm-searchMatch"}),zl=Ea.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Xl=Ea.lg.fromClass(function(){function e(t){(0,ie.Z)(this,e),this.view=t,this.decorations=this.highlight(t.state.field(Bl))}return(0,oe.Z)(e,[{key:"update",value:function(e){var t=e.state.field(Bl);(t!=e.startState.field(Bl)||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 Ea.p.none;for(var n=this.view,r=new Pa.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?zl:Ul)}))}return r.finish()}}]),e}(),{decorations:function(e){return e.decorations}});function Hl(e){return function(t){var n=t.state.field(Bl,!1);return n&&n.query.spec.valid?e(t,n):eu(t)}}var Wl=Hl((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=Pa.jT.single(i.from,i.to),a=e.state.facet(Ql);return e.dispatch({selection:o,effects:[su(e,i),a.scrollToMatch(o.main)],userEvent:"select.search"}),!0})),Yl=Hl((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=Pa.jT.single(o.from,o.to),s=e.state.facet(Ql);return e.dispatch({selection:a,effects:[su(e,o),s.scrollToMatch(a.main)],userEvent:"select.search"}),!0})),ql=Hl((function(e,t){var n=t.query.matchAll(e.state,1e3);return!(!n||!n.length)&&(e.dispatch({selection:Pa.jT.create(n.map((function(e){return Pa.jT.range(e.from,e.to)}))),userEvent:"select.search.matches"}),!0)})),Vl=Hl((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(Ea.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=Pa.jT.single(s.from-f,s.to-f),h.push(su(e,s)),h.push(r.facet(Ql).scrollToMatch(l.main))}return e.dispatch({changes:c,selection:l,effects:h,userEvent:"input.replace"}),!0})),Gl=Hl((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:Ea.tk.announce.of(i),userEvent:"input.replace.all"}),!0}));function Jl(e){return e.state.facet(Ql).createPanel(e)}function Kl(e,t){var n,r,i,o,a=e.selection.main,s=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!s)return t;var l=e.facet(Ql);return new _l({search:(null!==(n=null===t||void 0===t?void 0:t.literal)&&void 0!==n?n:l.literal)?s:s.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null===t||void 0===t?void 0:t.caseSensitive)&&void 0!==r?r:l.caseSensitive,literal:null!==(i=null===t||void 0===t?void 0:t.literal)&&void 0!==i?i:l.literal,wholeWord:null!==(o=null===t||void 0===t?void 0:t.wholeWord)&&void 0!==o?o:l.wholeWord})}var eu=function(e){var t=e.state.field(Bl,!1);if(t&&t.panel){var n=(0,Ea.Sd)(e,Jl);if(!n)return!1;var r=n.dom.querySelector("[main-field]");if(r&&r!=e.root.activeElement){var i=Kl(e.state,t.query.spec);i.valid&&e.dispatch({effects:Ll.of(i)}),r.focus(),r.select()}}else e.dispatch({effects:[Fl.of(!0),t?Ll.of(Kl(e.state,t.query.spec)):Pa.Py.appendConfig.of(uu)]});return!0},tu=function(e){var t=e.state.field(Bl,!1);if(!t||!t.panel)return!1;var n=(0,Ea.Sd)(e,Jl);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Fl.of(!1)}),!0},nu=[{key:"Mod-f",run:eu,scope:"editor search-panel"},{key:"F3",run:Wl,shift:Yl,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Wl,shift:Yl,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:tu,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 hl(t.doc,t.sliceDoc(o,a));!u.next().done;){if(s.length>1e3)return!1;u.value.from==o&&(l=s.length),s.push(Pa.jT.range(u.value.from,u.value.to))}return n(t.update({selection:Pa.jT.create(s,l),userEvent:"select.search.matches"})),!0}},{key:"Alt-g",run:function(e){var t=(0,Ea.Sd)(e,yl);if(!t){var n=[kl.of(!0)];null==e.state.field(bl,!1)&&n.push(Pa.Py.appendConfig.of([bl,Sl])),e.dispatch({effects:n}),t=(0,Ea.Sd)(e,yl)}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=Pa.jT.create(r.ranges.map((function(e){return t.wordAt(e.head)||Pa.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=e.selection,r=n.main,i=n.ranges,o=e.wordAt(r.head),a=o&&o.from==r.from&&o.to==r.to,s=function(n,r){if(r.next(),!r.done){if(n&&i.some((function(e){return e.from==r.value.from})))return l=n,u=r,"continue";if(a){var o=e.wordAt(r.value.from);if(!o||o.from!=r.value.from||o.to!=r.value.to)return l=n,u=r,"continue"}return{v:r.value}}if(n)return{v:null};r=new hl(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),l=n=!0,u=r},l=!1,u=new hl(e.doc,t,i[i.length-1].to);;){var c=s(l,u);if("continue"!==c&&"object"===typeof c)return c.v}}(t,i);return!!o&&(n(t.update({selection:t.selection.addRange(Pa.jT.range(o.from,o.to),!1),effects:Ea.tk.scrollIntoView(o.to)})),!0)},preventDefault:!0}],ru=function(){function e(t){var n=this;(0,ie.Z)(this,e),this.view=t;var r=this.query=t.state.field(Bl).query.spec;function i(e,t,n){return ll("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=ll("input",{value:r.search,placeholder:iu(t,"Find"),"aria-label":iu(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ll("input",{value:r.replace,placeholder:iu(t,"Replace"),"aria-label":iu(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=ll("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=ll("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=ll("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit}),this.dom=ll("div",{onkeydown:function(e){return n.keydown(e)},class:"cm-search"},[this.searchField,i("next",(function(){return Wl(t)}),[iu(t,"next")]),i("prev",(function(){return Yl(t)}),[iu(t,"previous")]),i("select",(function(){return ql(t)}),[iu(t,"all")]),ll("label",null,[this.caseField,iu(t,"match case")]),ll("label",null,[this.reField,iu(t,"regexp")]),ll("label",null,[this.wordField,iu(t,"by word")])].concat((0,re.Z)(t.state.readOnly?[]:[ll("br"),this.replaceField,i("replace",(function(){return Vl(t)}),[iu(t,"replace")]),i("replaceAll",(function(){return Gl(t)}),[iu(t,"replace all")])]),[ll("button",{name:"close",onclick:function(){return tu(t)},"aria-label":iu(t,"close"),type:"button"},["\xd7"])]))}return(0,oe.Z)(e,[{key:"commit",value:function(){var e=new _l({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:Ll.of(e)}))}},{key:"keydown",value:function(e){(0,Ea.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Yl:Wl)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),Vl(this.view))}},{key:"update",value:function(e){var t,n=(0,ne.Z)(e.transactions);try{for(n.s();!(t=n.n()).done;){var r,i=t.value,o=(0,ne.Z)(i.effects);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.is(Ll)&&!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(Ql).top}}]),e}();function iu(e,t){return e.state.phrase(t)}var ou=30,au=/[\s\.,:;?!]/;function su(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-ou),s=Math.min(o,r+ou),l=e.state.sliceDoc(a,s);if(a!=i.from)for(var u=0;u<ou;u++)if(!au.test(l[u+1])&&au.test(l[u])){l=l.slice(u);break}if(s!=o)for(var c=l.length-1;c>l.length-ou;c--)if(!au.test(l[c-1])&&au.test(l[c])){l=l.slice(0,c);break}return Ea.tk.announce.of("".concat(e.state.phrase("current match"),". ").concat(l," ").concat(e.state.phrase("on line")," ").concat(i.number,"."))}var lu=Ea.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"}}),uu=[Bl,Pa.Wl.lowest(Xl),lu],cu=n(2027),hu=(0,oe.Z)((function e(t,n,r){(0,ie.Z)(this,e),this.from=t,this.to=n,this.diagnostic=r})),fu=function(){function e(t,n,r){(0,ie.Z)(this,e),this.diagnostics=t,this.panel=n,this.selected=r}return(0,oe.Z)(e,null,[{key:"init",value:function(t,n,r){var i=t,o=r.facet(Cu).markerFilter;o&&(i=o(i));var a=Ea.p.set(i.map((function(e){return e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from?Ea.p.widget({widget:new Pu(e),diagnostic:e}).range(e.from):Ea.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)})),!0);return new e(a,n,du(a))}}]),e}();function du(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 hu(e,n,o.diagnostic),!1})),r}function pu(e,t){return!(!e.effects.some((function(e){return e.is(gu)}))&&!e.changes.touchesRange(t.pos))}function mu(e,t){return e.field(yu,!1)?t:t.concat(Pa.Py.appendConfig.of([yu,Ea.tk.decorations.compute([yu],(function(e){var t=e.field(yu),n=t.selected,r=t.panel;return n&&r&&n.from!=n.to?Ea.p.set([ku.range(n.from,n.to)]):Ea.p.none})),(0,Ea.bF)(bu,{hideOn:pu}),Ru]))}var gu=Pa.Py.define(),vu=Pa.Py.define(),Ou=Pa.Py.define(),yu=Pa.QQ.define({create:function(){return new fu(Ea.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=du(n,e.selected.diagnostic,i)||du(n,null,i)}e=new fu(n,e.panel,r)}var o,a=(0,ne.Z)(t.effects);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.is(gu)?e=fu.init(s.value,e.panel,t.state):s.is(vu)?e=new fu(e.diagnostics,s.value?_u.open:null,e.selected):s.is(Ou)&&(e=new fu(e.diagnostics,e.panel,s.value))}}catch(l){a.e(l)}finally{a.f()}return e},provide:function(e){return[Ea.mH.from(e,(function(e){return e.panel})),Ea.tk.decorations.from(e,(function(e){return e.diagnostics}))]}});var ku=Ea.p.mark({class:"cm-lintRange cm-lintRange-active"});function bu(e,t,n){var r=e.state.field(yu).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(Cu).tooltipFilter;return s&&(i=s(i)),i.length?{pos:o,end:a,above:e.state.doc.lineAt(o).to<a,create:function(){return{dom:Su(e,i)}}}:null}function Su(e,t){return ll("ul",{class:"cm-tooltip-lint"},t.map((function(t){return Au(e,t,!1)})))}var xu=function(e){var t=e.state.field(yu,!1);return!(!t||!t.panel)&&(e.dispatch({effects:vu.of(!1)}),!0)},wu=[{key:"Mod-Shift-m",run:function(e){var t=e.state.field(yu,!1);t&&t.panel||e.dispatch({effects:mu(e.state,[vu.of(!0)])});var n=(0,Ea.Sd)(e,_u.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:function(e){var t=e.state.field(yu,!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)}}],Tu=Ea.lg.fromClass(function(){function e(t){(0,ie.Z)(this,e),this.view=t,this.timeout=-1,this.set=!0;var n=t.state.facet(Cu).delay;this.lintTime=Date.now()+n,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,n)}return(0,oe.Z)(e,[{key:"run",value:function(){var e=this,t=Date.now();if(t<this.lintTime-10)setTimeout(this.run,this.lintTime-t);else{this.set=!1;var n=this.view.state,r=n.facet(Cu).sources;Promise.all(r.map((function(t){return Promise.resolve(t(e.view))}))).then((function(t){var r=t.reduce((function(e,t){return e.concat(t)}));e.view.state.doc==n.doc&&e.view.dispatch(function(e,t){return{effects:mu(e,[gu.of(t)])}}(e.view.state,r))}),(function(t){(0,Ea.OO)(e.view.state,t)}))}}},{key:"update",value:function(e){var t=e.state.facet(Cu);(e.docChanged||t!=e.startState.facet(Cu)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}},{key:"force",value:function(){this.set&&(this.lintTime=Date.now(),this.run())}},{key:"destroy",value:function(){clearTimeout(this.timeout)}}]),e}()),Cu=Pa.r$.define({combine:function(e){return Object.assign({sources:e.map((function(e){return e.source}))},(0,Pa.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}}))},enables:Tu});function Eu(e){var t=[];if(e){var n,r=(0,ne.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),"continue|actions"},a=0;a<i.length;a++){if("continue|actions"===o())continue e}t.push("")}}catch(s){r.e(s)}finally{r.f()}}return t}function Au(e,t,n){var r,i=n?Eu(t.actions):[];return ll("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},ll("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=du(e.state.field(yu).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),ll("u",s.slice(l,l+1)),s.slice(l+1)];return ll("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&&ll("div",{class:"cm-diagnosticSource"},t.source))}var Pu=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e){var r;return(0,ie.Z)(this,n),(r=t.call(this)).diagnostic=e,r}return(0,oe.Z)(n,[{key:"eq",value:function(e){return e.diagnostic==this.diagnostic}},{key:"toDOM",value:function(){return ll("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}]),n}(Ea.l9),Qu=(0,oe.Z)((function e(t,n){(0,ie.Z)(this,e),this.diagnostic=n,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Au(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")})),_u=function(){function e(t){var n=this;(0,ie.Z)(this,e),this.view=t,this.items=[];this.list=ll("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:function(e){if(27==e.keyCode)xu(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=Eu(r.actions),o=0;o<i.length;o++)if(i[o].toUpperCase().charCodeAt(0)==e.keyCode){var a=du(n.view.state.field(yu).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=ll("div",{class:"cm-panel-lint"},this.list,ll("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:function(){return xu(n.view)}},"\xd7")),this.update()}return(0,oe.Z)(e,[{key:"selectedIndex",get:function(){var e=this.view.state.field(yu).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(yu),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 Qu(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 Qu(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,ne.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=du(this.view.state.field(yu).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Ou.of(t)})}}}],[{key:"open",value:function(t){return new e(t)}}]),e}();function Du(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 Nu(e){return Du('<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 Ru=Ea.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-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:Nu("#d11")},".cm-lintRange-warning":{backgroundImage:Nu("orange")},".cm-lintRange-info":{backgroundImage:Nu("#999")},".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-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}}});Ea.SJ;var Zu=Pa.Py.define(),Mu=Pa.QQ.define({create:function(){return null},update:function(e,t){return e&&t.docChanged&&(e=pu(t,e)?null:Object.assign(Object.assign({},e),{pos:t.changes.mapPos(e.pos)})),t.effects.reduce((function(e,t){return t.is(Zu)?t.value:e}),e)},provide:function(e){return Ea.hJ.from(e)}}),Iu=Pa.r$.define({combine:function(e){return(0,Pa.BO)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});var $u=function(e){void 0===e&&(e={});var t=[];!1!==e.closeBracketsKeymap&&(t=t.concat(cu.GA)),!1!==e.defaultKeymap&&(t=t.concat(al)),!1!==e.searchKeymap&&(t=t.concat(nu)),!1!==e.historyKeymap&&(t=t.concat(as)),!1!==e.foldKeymap&&(t=t.concat(xa.e7)),!1!==e.completionKeymap&&(t=t.concat(cu.B1)),!1!==e.lintKeymap&&(t=t.concat(wu));var n=[];return!1!==e.lineNumbers&&n.push((0,Ea.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,Ea.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,Ea.AE)()),!1!==e.history&&n.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Ua,ja.of(e),Ea.tk.domEventHandlers({beforeinput:function(e,t){var n="historyUndo"==e.inputType?Xa:"historyRedo"==e.inputType?Ha:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&n.push((0,xa.mi)()),!1!==e.drawSelection&&n.push((0,Ea.Uw)()),!1!==e.dropCursor&&n.push((0,Ea.qr)()),!1!==e.allowMultipleSelections&&n.push(Pa.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push((0,xa.nY)()),!1!==e.syntaxHighlighting&&n.push((0,xa.nF)(xa.R_,{fallback:!0})),!1!==e.bracketMatching&&n.push((0,xa.n$)()),!1!==e.closeBrackets&&n.push((0,cu.vQ)()),!1!==e.autocompletion&&n.push((0,cu.ys)()),!1!==e.rectangularSelection&&n.push((0,Ea.Zs)()),!1!==e.crosshairCursor&&n.push((0,Ea.S2)()),!1!==e.highlightActiveLine&&n.push((0,Ea.ZO)()),!1!==e.highlightSelectionMatches&&n.push(function(e){var t=[Pl,Al];return e&&t.push(wl.of(e)),t}()),e.tabSize&&"number"===typeof e.tabSize&&n.push(xa.c.of(" ".repeat(e.tabSize))),n.concat([Ea.$f.of(t.flat())]).filter(Boolean)},Lu=n(2029),Fu="#e5c07b",Bu="#e06c75",ju="#56b6c2",Uu="#ffffff",zu="#abb2bf",Xu="#7d8799",Hu="#61afef",Wu="#98c379",Yu="#d19a66",qu="#c678dd",Vu="#21252b",Gu="#2c313a",Ju="#282c34",Ku="#353a42",ec="#3E4451",tc="#528bff",nc=Ea.tk.theme({"&":{color:zu,backgroundColor:Ju},".cm-content":{caretColor:tc},".cm-cursor, .cm-dropCursor":{borderLeftColor:tc},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ec},".cm-panels":{backgroundColor:Vu,color:zu},".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:Ju,color:Xu,border:"none"},".cm-activeLineGutter":{backgroundColor:Gu},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:Ku},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ku,borderBottomColor:Ku},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:Gu,color:zu}}},{dark:!0}),rc=xa.Qf.define([{tag:Lu.pJ.keyword,color:qu},{tag:[Lu.pJ.name,Lu.pJ.deleted,Lu.pJ.character,Lu.pJ.propertyName,Lu.pJ.macroName],color:Bu},{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.labelName],color:Hu},{tag:[Lu.pJ.color,Lu.pJ.constant(Lu.pJ.name),Lu.pJ.standard(Lu.pJ.name)],color:Yu},{tag:[Lu.pJ.definition(Lu.pJ.name),Lu.pJ.separator],color:zu},{tag:[Lu.pJ.typeName,Lu.pJ.className,Lu.pJ.number,Lu.pJ.changed,Lu.pJ.annotation,Lu.pJ.modifier,Lu.pJ.self,Lu.pJ.namespace],color:Fu},{tag:[Lu.pJ.operator,Lu.pJ.operatorKeyword,Lu.pJ.url,Lu.pJ.escape,Lu.pJ.regexp,Lu.pJ.link,Lu.pJ.special(Lu.pJ.string)],color:ju},{tag:[Lu.pJ.meta,Lu.pJ.comment],color:Xu},{tag:Lu.pJ.strong,fontWeight:"bold"},{tag:Lu.pJ.emphasis,fontStyle:"italic"},{tag:Lu.pJ.strikethrough,textDecoration:"line-through"},{tag:Lu.pJ.link,color:Xu,textDecoration:"underline"},{tag:Lu.pJ.heading,fontWeight:"bold",color:Bu},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:Yu},{tag:[Lu.pJ.processingInstruction,Lu.pJ.string,Lu.pJ.inserted],color:Wu},{tag:Lu.pJ.invalid,color:Uu}]),ic=[nc,(0,xa.nF)(rc)],oc=Pa.q6.define();function ac(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?[]: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,k=e.width,b=void 0===k?"":k,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,Q=e.indentWithTab,_=void 0===Q||Q,D=e.basicSetup,N=void 0===D||D,R=e.root,Z=e.initialState,M=(0,J.useState)(),I=(0,te.Z)(M,2),$=I[0],L=I[1],F=(0,J.useState)(),B=(0,te.Z)(F,2),j=B[0],U=B[1],z=(0,J.useState)(),X=(0,te.Z)(z,2),H=X[0],W=X[1],Y=Ea.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),q=Ea.tk.theme({"&":{height:d,minHeight:m,maxHeight:v,width:b,minWidth:x,maxWidth:T}}),V=Ea.tk.updateListener.of((function(e){if(e.docChanged&&"function"===typeof r&&!e.transactions.some((function(e){return e.annotation(oc)}))){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=[V,q];switch(_&&G.unshift(Ea.$f.of([sl])),N&&("boolean"===typeof N?G.unshift($u()):G.unshift($u(N))),y&&G.unshift((0,Ea.W$)(y)),h){case"light":G.push(Y);break;case"dark":G.push(ic);break;case"none":break;default:G.push(h)}return!1===E&&G.push(Ea.tk.editable.of(!1)),P&&G.push(Pa.yy.readOnly.of(!0)),a&&"function"===typeof a&&G.push(Ea.tk.updateListener.of(a)),G=G.concat(l),(0,J.useEffect)((function(){if($&&!H){var e={doc:t,selection:n,extensions:G},r=Z?Pa.yy.fromJSON(Z.json,e,Z.fields):Pa.yy.create(e);if(W(r),!j){var i=new Ea.tk({state:r,parent:$,root:R});U(i),o&&o(i,r)}}return function(){j&&(W(void 0),U(void 0))}}),[$,H]),(0,J.useEffect)((function(){return L(e.container)}),[e.container]),(0,J.useEffect)((function(){return function(){j&&(j.destroy(),U(void 0))}}),[j]),(0,J.useEffect)((function(){u&&j&&j.focus()}),[u,j]),(0,J.useEffect)((function(){j&&j.dispatch({effects:Pa.Py.reconfigure.of(G)})}),[h,l,d,m,v,b,x,T,y,E,P,_,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:[oc.of(!0)]})}}),[t,j]),{state:H,setState:W,view:j,setView:U,container:$,setContainer:L}}var sc=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],lc=(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,k=e.maxWidth,b=e.basicSetup,S=e.placeholder,x=e.indentWithTab,w=e.editable,T=e.readOnly,C=e.root,E=e.initialState,A=qt(e,sc),P=(0,J.useRef)(null),Q=ac({container:P.current,root:C,value:i,autoFocus:f,theme:p,height:m,minHeight:g,maxHeight:v,width:O,minWidth:y,maxWidth:k,basicSetup:b,placeholder:S,indentWithTab:x,editable:w,readOnly:T,selection:o,onChange:l,onStatistics:u,onCreateEditor:c,onUpdate:h,extensions:s,initialState:E}),_=Q.state,D=Q.view,N=Q.container;if((0,J.useImperativeHandle)(t,(function(){return{editor:P.current,state:_,view:D}}),[P,N,_,D]),"string"!==typeof i)throw new Error("value must be typeof string but got "+typeof i);var R="string"===typeof p?"cm-theme-"+p:"cm-theme";return(0,Vt.jsx)("div",Yt({ref:P,className:R+(n?" "+n:"")},A))}));lc.displayName="CodeMirror";var uc=lc,cc=n(6419);function hc(e){return e&&"object"===typeof e?"position"in e||"type"in e?dc(e.position):"start"in e||"end"in e?dc(e):"line"in e||"column"in e?fc(e):"":""}function fc(e){return pc(e&&e.line)+":"+pc(e&&e.column)}function dc(e){return fc(e&&e.start)+"-"+fc(e&&e.end)}function pc(e){return e&&"number"===typeof e?e:1}var mc=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e,r,i){var o;(0,ie.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=hc(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,oe.Z)(n)}(fe(Error));mc.prototype.file="",mc.prototype.name="",mc.prototype.reason="",mc.prototype.message="",mc.prototype.stack="",mc.prototype.fatal=null,mc.prototype.column=null,mc.prototype.line=null,mc.prototype.source=null,mc.prototype.ruleId=null,mc.prototype.position=null;var gc={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');vc(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(vc(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){vc(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;)vc(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":function(e){vc(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 vc(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Oc={cwd:function(){return"/"}};function yc(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function kc(e){if("string"===typeof e)e=new URL(e);else if(!yc(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 bc=["history","path","basename","stem","extname","dirname"],Sc=function(){function e(t){var n;(0,ie.Z)(this,e),n=t?"string"===typeof t||function(e){return cc(e)}(t)?{value:t}:yc(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=Oc.cwd(),this.value,this.stored,this.result,this.map;for(var r,i=-1;++i<bc.length;){var o=bc[i];o in n&&void 0!==n[o]&&null!==n[o]&&(this[o]="history"===o?(0,re.Z)(n[o]):n[o])}for(r in n)bc.includes(r)||(this[r]=n[r])}return(0,oe.Z)(e,[{key:"path",get:function(){return this.history[this.history.length-1]},set:function(e){yc(e)&&(e=kc(e)),wc(e,"path"),this.path!==e&&this.history.push(e)}},{key:"dirname",get:function(){return"string"===typeof this.path?gc.dirname(this.path):void 0},set:function(e){Tc(this.basename,"dirname"),this.path=gc.join(e||"",this.basename)}},{key:"basename",get:function(){return"string"===typeof this.path?gc.basename(this.path):void 0},set:function(e){wc(e,"basename"),xc(e,"basename"),this.path=gc.join(this.dirname||"",e)}},{key:"extname",get:function(){return"string"===typeof this.path?gc.extname(this.path):void 0},set:function(e){if(xc(e,"extname"),Tc(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=gc.join(this.dirname,this.stem+(e||""))}},{key:"stem",get:function(){return"string"===typeof this.path?gc.basename(this.path,this.extname):void 0},set:function(e){wc(e,"stem"),xc(e,"stem"),this.path=gc.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 mc(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 xc(e,t){if(e&&e.includes(gc.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+gc.sep+"`")}function wc(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Tc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Cc(e){if(e)throw e}var Ec=n(5134);function Ac(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 Pc(){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,re.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 Qc=function e(){var t,n=Pc(),r=[],i={},o=-1;return a.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(Zc("data",t),i[e]=n,a):_c.call(i,e)&&i[e]||null;if(e)return Zc("data",t),i=e,a;return i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(t)return a;for(;++o<r.length;){var e=Oe(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,re.Z)(s)));"function"===typeof l&&n.use(l)}}return t=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=function(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(Zc("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)}l&&(i.settings=Object.assign(i.settings||{},l));return 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=Oe(e),n=t[0],r=t.slice(1);f.apply(void 0,[n].concat((0,re.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?(Ac(n[1])&&Ac(t)&&(t=Ec(!0,n[1],t)),n[1]=t):r.push(Array.prototype.slice.call(arguments))}},a.parse=function(e){a.freeze();var t=$c(e),n=a.Parser;if(Nc("parse",n),Dc(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();var n=$c(t),r=a.Compiler;if(Rc("stringify",r),Mc(e),Dc(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,t,r){Mc(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,$c(t),a)}i(null,r)},a.runSync=function(e,t){var n,r;return a.run(e,t,i),Ic("runSync","run",r),n;function i(e,t){Cc(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),Nc("process",a.Parser),Rc("process",a.Compiler),!t)return new Promise(n);function n(n,r){var i=$c(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||cc(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(),Nc("processSync",a.Parser),Rc("processSync",a.Compiler);var n=$c(e);return a.process(n,r),Ic("processSync","process",t),n;function r(e){t=!0,Cc(e)}},a;function a(){for(var t=e(),n=-1;++n<r.length;)t.use.apply(t,(0,re.Z)(r[n]));return t.data(Ec(!0,{},i)),t}}().freeze(),_c={}.hasOwnProperty;function Dc(e,t){return"function"===typeof e&&e.prototype&&(function(e){var t;for(t in e)if(_c.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function Nc(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function Rc(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Zc(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 Mc(e){if(!Ac(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Ic(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $c(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new Sc(e)}var Lc={};function Fc(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 Bc(e.children,t,n)}return Array.isArray(e)?Bc(e,t,n):""}function Bc(e,t,n){for(var r=[],i=-1;++i<e.length;)r[i]=Fc(e[i],t,n);return r.join("")}function jc(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),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function Uc(e,t){return e.length>0?(jc(e,e.length,0,t),e):t}var zc={}.hasOwnProperty;function Xc(e){for(var t={},n=-1;++n<e.length;)Hc(t,e[n]);return t}function Hc(e,t){var n;for(n in t){var r=(zc.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],o=void 0;for(o in i){zc.call(r,o)||(r[o]=[]);var a=i[o];Wc(r[o],Array.isArray(a)?a:a?[a]:[])}}}function Wc(e,t){for(var n=-1,r=[];++n<t.length;)("after"===t[n].add?e:r).push(t[n]);jc(e,0,0,r)}var Yc=ah(/[A-Za-z]/),qc=ah(/\d/),Vc=ah(/[\dA-Fa-f]/),Gc=ah(/[\dA-Za-z]/),Jc=ah(/[!-/:-@[-`{-~]/),Kc=ah(/[#-'*+\--9=?A-Z^-~]/);function eh(e){return null!==e&&(e<32||127===e)}function th(e){return null!==e&&(e<0||32===e)}function nh(e){return null!==e&&e<-2}function rh(e){return-2===e||-1===e||32===e}var ih=ah(/\s/),oh=ah(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\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\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\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]/);function ah(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function sh(e,t,n,r){var i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){if(rh(r))return e.enter(n),a(r);return t(r)};function a(r){return rh(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}var lh={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"),sh(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)):nh(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};var uh={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 jc(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(ch,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(ch,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)):nh(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++;jc(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}}},ch={tokenize:function(e,t,n){return sh(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var hh={tokenize:function(e,t,n){return sh(e,(function(e){return null===e||nh(e)?t(e):n(e)}),"linePrefix")},partial:!0};function fh(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,dh(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),jc(e,n,u-n+1,o))}}return!s}function dh(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]),jc(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 ph={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):nh(t)?e.check(mh,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 fh(e),e}},mh={tokenize:function(e,t,n){var r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),sh(e,i,"linePrefix")};function i(i){if(null===i||nh(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 gh={tokenize:function(e){var t=this,n=e.attempt(hh,(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,sh(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ph,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 vh={resolveAll:bh()},Oh=kh("string"),yh=kh("text");function kh(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:bh("text"===e?Sh:void 0)}}function bh(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 Sh(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 xh(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 wh(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){nh(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=Uc(a,e),d(),null!==a[a.length-1])return[];return v(t,0),u.events=xh(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;r===o?n=[e[r].slice(i,a)]:(n=e.slice(r,o),i>-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a)));return n}(a,e)}function f(){return Object.assign({},r)}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,re.Z)(Array.isArray(n)?n:n?[n]:[]),(0,re.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&&jc(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 Th={name:"thematicBreak",tokenize:function(e,t,n){var r,i=0;return function(t){return e.enter("thematicBreak"),r=t,o(t)};function o(s){return s===r?(e.enter("thematicBreakSequence"),a(s)):rh(s)?sh(e,o,"whitespace")(s):i<3||null!==s&&!nh(s)?n(s):(e.exit("thematicBreak"),t(s))}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),o(t))}}};var Ch={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:qc(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(Th,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 qc(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(hh,r.interrupt?n:u,e.attempt(Eh,h,c))}function u(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function c(t){return rh(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(hh,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,sh(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!rh(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(Ah,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,sh(e,e.attempt(Ch,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Eh={tokenize:function(e,t,n){var r=this;return sh(e,(function(e){var i=r.events[r.events.length-1];return!rh(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Ah={tokenize:function(e,t,n){var r=this;return sh(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 Ph={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 rh(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){return sh(e,e.attempt(Ph,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function Qh(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||41===t||eh(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||nh(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 40===i?++c>u?n(i):(e.consume(i),p):41===i?c--?(e.consume(i),p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):null===i||th(i)?c?n(i):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):eh(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function _h(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 null===h||91===h||93===h&&!a||94===h&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs||l>999?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):nh(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||nh(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a=a||!rh(t),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Dh(e,t,n,r,i,o){var a;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s};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):nh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),sh(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||nh(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 Nh(e,t){var n;return function r(i){if(nh(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(rh(i))return sh(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Rh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Zh={name:"definition",tokenize:function(e,t,n){var r,i=this;return function(t){return e.enter("definition"),_h.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return r=Rh(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Nh(e,Qh(e,e.attempt(Mh,sh(e,a,"whitespace"),sh(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(o){return null===o||nh(o)?(e.exit("definition"),i.parser.defined.includes(r)||i.parser.defined.push(r),t(o)):n(o)}}},Mh={tokenize:function(e,t,n){return function(t){return th(t)?Nh(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Dh(e,sh(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||nh(e)?t(e):n(e)}},partial:!0};var Ih={name:"codeIndented",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("codeIndented"),sh(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):nh(t)?e.attempt($h,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||nh(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},$h={tokenize:function(e,t,n){var r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):nh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):sh(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):nh(e)?i(e):n(e)}},partial:!0};var Lh={name:"headingAtx",tokenize:function(e,t,n){var r=this,i=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(s){return 35===s&&i++<6?(e.consume(s),o):null===s||th(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||nh(n)?(e.exit("atxHeading"),t(n)):rh(n)?sh(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||th(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},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&&jc(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 Fh={name:"setextUnderline",tokenize:function(e,t,n){var r,i,o=this,a=o.events.length;for(;a--;)if("lineEnding"!==o.events[a][1].type&&"linePrefix"!==o.events[a][1].type&&"content"!==o.events[a][1].type){i="paragraph"===o.events[a][1].type;break}return function(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),r=t,s(t);return n(t)};function s(t){return t===r?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),sh(e,l,"lineSuffix")(t))}function l(r){return null===r||nh(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 Bh=["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","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],jh=["pre","script","style","textarea"],Uh={name:"htmlFlow",tokenize:function(e,t,n){var r,i,o,a,s,l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),d):63===a?(e.consume(a),r=3,l.interrupt?t:R):Yc(a)?(e.consume(a),o=String.fromCharCode(a),i=!0,p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,o="CDATA[",a=0,f):Yc(i)?(e.consume(i),r=4,l.interrupt?t:R):n(i)}function h(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function f(r){return r===o.charCodeAt(a++)?(e.consume(r),a===o.length?l.interrupt?t:C:f):n(r)}function d(t){return Yc(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(a){return null===a||47===a||62===a||th(a)?47!==a&&i&&jh.includes(o.toLowerCase())?(r=1,l.interrupt?t(a):C(a)):Bh.includes(o.toLowerCase())?(r=6,47===a?(e.consume(a),m):l.interrupt?t(a):C(a)):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?v(a):g(a)):45===a||Gc(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 rh(t)?(e.consume(t),g):w(t)}function v(t){return 47===t?(e.consume(t),w):58===t||95===t||Yc(t)?(e.consume(t),O):rh(t)?(e.consume(t),v):w(t)}function O(t){return 45===t||46===t||58===t||95===t||Gc(t)?(e.consume(t),O):y(t)}function y(t){return 61===t?(e.consume(t),k):rh(t)?(e.consume(t),y):v(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,b):rh(t)?(e.consume(t),k):(s=null,S(t))}function b(t){return null===t||nh(t)?n(t):t===s?(e.consume(t),x):(e.consume(t),b)}function S(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||th(t)?y(t):(e.consume(t),S)}function x(e){return 47===e||62===e||rh(e)?v(e):n(e)}function w(t){return 62===t?(e.consume(t),T):n(t)}function T(t){return rh(t)?(e.consume(t),T):null===t||nh(t)?C(t):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),Q):60===t&&1===r?(e.consume(t),_):62===t&&4===r?(e.consume(t),Z):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),N):!nh(t)||6!==r&&7!==r?null===t||nh(t)?E(t):(e.consume(t),C):e.check(zh,Z,E)(t)}function E(t){return e.exit("htmlFlowData"),A(t)}function A(t){return null===t?M(t):nh(t)?e.attempt({tokenize:P,partial:!0},A,M)(t):(e.enter("htmlFlowData"),C(t))}function P(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return l.parser.lazy[l.now().line]?n(e):t(e)}}function Q(t){return 45===t?(e.consume(t),R):C(t)}function _(t){return 47===t?(e.consume(t),o="",D):C(t)}function D(t){return 62===t&&jh.includes(o.toLowerCase())?(e.consume(t),Z):Yc(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),D):C(t)}function N(t){return 93===t?(e.consume(t),R):C(t)}function R(t){return 62===t?(e.consume(t),Z):45===t&&2===r?(e.consume(t),R):C(t)}function Z(t){return null===t||nh(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),Z)}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},zh={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(hh,t,n)}},partial:!0};var Xh={name:"codeFenced",tokenize:function(e,t,n){var r,i=this,o={tokenize:function(e,t,n){var i=0;return sh(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),a(t)}function a(t){return t===r?(e.consume(t),i++,a):i<u?n(t):(e.exit("codeFencedFenceSequence"),sh(e,s,"whitespace")(t))}function s(r){return null===r||nh(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a={tokenize:function(e,t,n){var r=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},s=this.events[this.events.length-1],l=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,u=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),r=t,c(t)};function c(t){return t===r?(e.consume(t),u++,c):(e.exit("codeFencedFenceSequence"),u<3?n(t):sh(e,h,"whitespace")(t))}function h(t){return null===t||nh(t)?m(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||th(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),sh(e,d,"whitespace")(t)):96===t&&t===r?n(t):(e.consume(t),f)}function d(t){return null===t||nh(t)?m(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||nh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(t)):96===t&&t===r?n(t):(e.consume(t),p)}function m(n){return e.exit("codeFencedFence"),i.interrupt?t(n):g(n)}function g(t){return null===t?O(t):nh(t)?e.attempt(a,e.attempt(o,O,l?sh(e,g,"linePrefix",l+1):g),O)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||nh(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function O(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var Hh=n(7347),Wh={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=Gc,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=Vc,u):(e.enter("characterReferenceValue"),r=7,i=qc,u(t))}function u(s){var l;return 59===s&&a?(l=e.exit("characterReferenceValue"),i!==Gc||(0,Hh.T)(o.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):i(s)&&a++<r?(e.consume(s),u):n(s)}}};var Yh={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 Jc(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};var qh={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),sh(e,t,"linePrefix")}}};var Vh={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);return r._inactive?l(t):(i=o.parser.defined.includes(Rh(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(n){return 40===n?e.attempt(Gh,t,i?t:l)(n):91===n?e.attempt(Jh,t,i?e.attempt(Kh,t,l):l)(n):i?t(n):l(n)}function l(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=Uc(o,e.slice(r+1,r+s+3)),o=Uc(o,[["enter",c,t]]),o=Uc(o,xh(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=Uc(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=Uc(o,e.slice(i+1)),o=Uc(o,[["exit",l,t]]),jc(e,r,e.length,o),e},resolveAll:function(e){var t,n=-1;for(;++n<e.length;)"labelImage"!==(t=e[n][1]).type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},Gh={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),Nh(e,r)};function r(t){return 41===t?a(t):Qh(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return th(t)?Nh(e,o)(t):a(t)}function o(t){return 34===t||39===t||40===t?Dh(e,Nh(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Jh={tokenize:function(e,t,n){var r=this;return function(t){return _h.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(Rh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},Kh={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 ef={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:Vh.resolveAll};function tf(e){return null===e||th(e)||ih(e)?1:oh(e)?2:void 0}var nf={name:"attention",tokenize:function(e,t){var n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=tf(i);return function(t){return e.enter("attentionSequence"),n=t,a(t)};function a(s){if(s===n)return e.consume(s),a;var l=e.exit("attentionSequence"),u=tf(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);rf(h,-s),rf(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=Uc(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Uc(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=Uc(l,xh(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=Uc(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=Uc(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,jc(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 rf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var of={name:"autolink",tokenize:function(e,t,n){var r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return Yc(t)?(e.consume(t),o):Kc(t)?l(t):n(t)}function o(e){return 43===e||45===e||46===e||Gc(e)?a(e):l(e)}function a(t){return 58===t?(e.consume(t),s):(43===t||45===t||46===t||Gc(t))&&r++<32?(e.consume(t),a):l(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),f(t)):null===t||32===t||60===t||eh(t)?n(t):(e.consume(t),s)}function l(t){return 64===t?(e.consume(t),r=0,u):Kc(t)?(e.consume(t),l):n(t)}function u(e){return Gc(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",f(t)):h(t)}function h(t){return(45===t||Gc(t))&&r++<63?(e.consume(t),45===t?h:c):n(t)}function f(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};var af={name:"htmlText",tokenize:function(e,t,n){var r,i,o,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),S):63===t?(e.consume(t),k):Yc(t)?(e.consume(t),T):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i="CDATA[",o=0,m):Yc(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function h(t){return null===t||62===t?n(t):45===t?(e.consume(t),f):d(t)}function f(e){return null===e||62===e?n(e):d(e)}function d(t){return null===t?n(t):45===t?(e.consume(t),p):nh(t)?(a=d,N(t)):(e.consume(t),d)}function p(t){return 45===t?(e.consume(t),Z):d(t)}function m(t){return t===i.charCodeAt(o++)?(e.consume(t),o===i.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):nh(t)?(a=g,N(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),O):g(t)}function O(t){return 62===t?Z(t):93===t?(e.consume(t),O):g(t)}function y(t){return null===t||62===t?Z(t):nh(t)?(a=y,N(t)):(e.consume(t),y)}function k(t){return null===t?n(t):63===t?(e.consume(t),b):nh(t)?(a=k,N(t)):(e.consume(t),k)}function b(e){return 62===e?Z(e):k(e)}function S(t){return Yc(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||Gc(t)?(e.consume(t),x):w(t)}function w(t){return nh(t)?(a=w,N(t)):rh(t)?(e.consume(t),w):Z(t)}function T(t){return 45===t||Gc(t)?(e.consume(t),T):47===t||62===t||th(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),Z):58===t||95===t||Yc(t)?(e.consume(t),E):nh(t)?(a=C,N(t)):rh(t)?(e.consume(t),C):Z(t)}function E(t){return 45===t||46===t||58===t||95===t||Gc(t)?(e.consume(t),E):A(t)}function A(t){return 61===t?(e.consume(t),P):nh(t)?(a=A,N(t)):rh(t)?(e.consume(t),A):C(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,Q):nh(t)?(a=P,N(t)):rh(t)?(e.consume(t),P):(e.consume(t),r=void 0,D)}function Q(t){return t===r?(e.consume(t),_):null===t?n(t):nh(t)?(a=Q,N(t)):(e.consume(t),Q)}function _(e){return 62===e||47===e||th(e)?C(e):n(e)}function D(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||th(t)?C(t):(e.consume(t),D)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),sh(e,R,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function R(t){return e.enter("htmlTextData"),a(t)}function Z(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};var sf={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:Vh.resolveAll};var lf={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return nh(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};var uf,cf,hf,ff,df,pf={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):96===t?(i=e.enter("codeTextSequence"),r=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):nh(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||nh(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 mf=(uf={},(0,an.Z)(uf,42,Ch),(0,an.Z)(uf,43,Ch),(0,an.Z)(uf,45,Ch),(0,an.Z)(uf,48,Ch),(0,an.Z)(uf,49,Ch),(0,an.Z)(uf,50,Ch),(0,an.Z)(uf,51,Ch),(0,an.Z)(uf,52,Ch),(0,an.Z)(uf,53,Ch),(0,an.Z)(uf,54,Ch),(0,an.Z)(uf,55,Ch),(0,an.Z)(uf,56,Ch),(0,an.Z)(uf,57,Ch),(0,an.Z)(uf,62,Ph),uf),gf=(0,an.Z)({},91,Zh),vf=(cf={},(0,an.Z)(cf,-2,Ih),(0,an.Z)(cf,-1,Ih),(0,an.Z)(cf,32,Ih),cf),Of=(hf={},(0,an.Z)(hf,35,Lh),(0,an.Z)(hf,42,Th),(0,an.Z)(hf,45,[Fh,Th]),(0,an.Z)(hf,60,Uh),(0,an.Z)(hf,61,Fh),(0,an.Z)(hf,95,Th),(0,an.Z)(hf,96,Xh),(0,an.Z)(hf,126,Xh),hf),yf=(ff={},(0,an.Z)(ff,38,Wh),(0,an.Z)(ff,92,Yh),ff),kf=(df={},(0,an.Z)(df,-5,qh),(0,an.Z)(df,-4,qh),(0,an.Z)(df,-3,qh),(0,an.Z)(df,33,ef),(0,an.Z)(df,38,Wh),(0,an.Z)(df,42,nf),(0,an.Z)(df,60,[of,af]),(0,an.Z)(df,91,sf),(0,an.Z)(df,92,[lf,Yh]),(0,an.Z)(df,93,Vh),(0,an.Z)(df,95,nf),(0,an.Z)(df,96,pf),df),bf={null:[nf,vh]},Sf={null:[42,95]},xf={null:[]};var wf=/[\0\t\n\r]/g;function Tf(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 Cf=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ef(e){return e.replace(Cf,Af)}function Af(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){var r=n.charCodeAt(1),i=120===r||88===r;return Tf(n.slice(i?2:1),i?16:10)}return(0,Hh.T)(n)||e}var Pf={}.hasOwnProperty,Qf=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(W),characterEscape:E,characterReference:E,codeFenced:s(Y),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Y,l),codeText:s(q,l),codeTextData:E,data:E,codeFlowValue:E,definition:s(V),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(G),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:H,autolinkProtocol:X,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:z,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:k,definitionTitleString:b,emphasis:c(),hardBreakEscape:c(Q),hardBreakTrailing:c(Q),htmlFlow:c(_),htmlFlowData:A,htmlText:c(D),htmlTextData:A,image:c(Z),label:I,labelText:M,lineEnding:P,link:c(R),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:j,resourceDestinationString:$,resourceTitleString:L,resource:F,setextHeading:c(C),setextHeadingLineSequence:T,setextHeadingText:w,strong:c(),thematicBreak:c()}};Df(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]];Pf.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]||Rf).call(r,void 0,p[0])}for(n.position={start:_f(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_f(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)},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:_f(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+"` ("+hc({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]||Rf).call(this,e,r[0])),n.position.end=_f(e.end),n}function f(){return function(e,t){var n=t||Lc;return Fc(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 k(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase()}function b(){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:_f(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=_f(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=_f(e.end),void o("atHardBreak");!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(E.call(this,e),A.call(this,e))}function Q(){o("atHardBreak",!0)}function _(){var e=this.resume();this.stack[this.stack.length-1].value=e}function D(){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 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 Z(){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=Ef(t),n.identifier=Rh(t).toLowerCase()}function I(){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 $(){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=Rh(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function U(e){o("characterReferenceType",e.type)}function z(e){var t,n=this.sliceSerialize(e),r=a("characterReferenceType");r?(t=Tf(n,"characterReferenceMarkerNumeric"===r?10:16),o("characterReferenceType")):t=(0,Hh.T)(n);var i=this.stack.pop();i.value+=t,i.position.end=_f(e.end)}function X(e){A.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function H(e){A.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function W(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function q(){return{type:"inlineCode",value:""}}function V(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function G(){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(;!fh(e););return e}(function(){var e={defined:[],lazy:{},constructs:Xc([r].concat((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).extensions||[])),content:t(lh),document:t(uh),flow:t(gh),string:t(Oh),text:t(yh)};return e;function t(t){return function(n){return wh(e,t,n)}}}(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(wf.lastIndex=u,c=(s=wf.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 _f(e){return{line:e.line,column:e.column,offset:e.offset}}function Df(e,t){for(var n=-1;++n<t.length;){var r=t[n];Array.isArray(r)?Df(e,r):Nf(e,r)}}function Nf(e,t){var n;for(n in t)if(Pf.call(t,n))if("canContainEols"===n){var r,i=t[n];if(i)(r=e[n]).push.apply(r,(0,re.Z)(i))}else if("transforms"===n){var o,a=t[n];if(a)(o=e[n]).push.apply(o,(0,re.Z)(a))}else if("enter"===n||"exit"===n){var s=t[n];s&&Object.assign(e[n],s)}}function Rf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+hc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+hc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+hc({start:t.start,end:t.end})+") is still open")}var Zf=function(e){var t=this;Object.assign(this,{Parser:function(n){var r=t.data("settings");return Qf(n,Object.assign({},r,e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}})};function Mf(e){for(var t=[],n=-1,r=0,i=0;++n<e.length;){var o=e.charCodeAt(n),a="";if(37===o&&Gc(e.charCodeAt(n+1))&&Gc(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 If=function(e){if(void 0===e||null===e)return Ff;if("string"===typeof e)return function(e){return Lf(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?$f(e):function(e){return Lf(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 Lf(e);throw new Error("Expected function, string, or object as test")};function $f(e){for(var t=[],n=-1;++n<e.length;)t[n]=If(e[n]);return Lf((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 Lf(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 Ff(){return!0}var Bf=!1,jf="skip",Uf=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);var i=If(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]===Bf))return f;if(a.children&&f[0]!==jf)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]===Bf)return u;c="number"===typeof u[1]?u[1]:c+o}return f}}(e,void 0,[])()};var zf=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),Uf(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},Xf=Wf("start"),Hf=Wf("end");function Wf(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 Yf={}.hasOwnProperty;function qf(e){return String(e||"").toUpperCase()}function Vf(e,t){var n,r=String(t.identifier).toUpperCase(),i=Mf(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 Gf(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 Jf(e){var t=e.spread;return void 0===t||null===t?e.children.length>1:t}var Kf=9,ed=32;function td(e){for(var t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];r;)o.push(nd(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(nd(t.slice(i),i>0,!1)),o.join("")}function nd(e,t,n){var r=0,i=e.length;if(t)for(var o=e.codePointAt(r);o===Kf||o===ed;)r++,o=e.codePointAt(r);if(n)for(var a=e.codePointAt(i-1);a===Kf||a===ed;)i--,a=e.codePointAt(i-1);return i>r?e.slice(r,i):""}var rd={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:Vf,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},Vf(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 Gf(e,t);var r={src:Mf(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:Mf(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 Gf(e,t);var r={href:Mf(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:Mf(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=Jf(n[r])}return t}(n):Jf(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,re.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=Xf(t.children[1]),l=Hf(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:td(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:id,yaml:id,definition:id,footnoteDefinition:id};function id(){return null}var od={}.hasOwnProperty;function ad(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,on.Z)((0,on.Z)({},rd),n.handlers),a.definition=function(e){var t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return zf(e,"definition",(function(e){var n=qf(e.identifier);n&&!Yf.call(t,n)&&(t[n]=e)})),function(e){var n=qf(e);return n&&Yf.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=sd,a.applyData=ld,a.one=function(e,t){return ud(a,e,t)},a.all=function(e){return cd(a,e)},a.wrap=hd,a.augment=o,zf(e,"footnoteDefinition",(function(e){var t=String(e.identifier).toUpperCase();od.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,on.Z)((0,on.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:Xf(r),end:Hf(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 sd(e,t){e.position&&(t.position=function(e){return{start:Xf(e),end:Hf(e)}}(e))}function ld(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,on.Z)((0,on.Z)({},n.properties),o)),"children"in n&&n.children&&null!==i&&void 0!==i&&(n.children=i)}return n}function ud(e,t,n){var r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return od.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?(0,on.Z)((0,on.Z)({},t),{},{children:cd(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){var n=t.data||{},r=!("value"in t)||od.call(n,"hProperties")||od.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:cd(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function cd(e,t){var n=[];if("children"in t)for(var r=t.children,i=-1;++i<r.length;){var o=ud(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,re.Z)(o)):n.push(o)}}return n}function hd(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 fd(e,t){var n=ad(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=Mf(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,on.Z)((0,on.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 dd=function(e,t){return e&&"run"in e?function(e,t){return function(n,r,i){e.run(fd(n,t),r,(function(e){i(e)}))}}(e,t):function(e){return function(t){return fd(t,e)}}(e||t)};var pd=n(1512),md=n(1165);function gd(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){zf(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,re.Z)(t.children)));else o.children.splice(n,1);return n}}))}}function vd(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 Od=n(8231),yd={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"},kd=n(1361),bd=n(194),Sd=n(5011),xd=["http","https","mailto","tel"];function wd(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<xd.length;){var o=xd[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 Td={}.hasOwnProperty,Cd=new Set(["table","thead","tbody","tfoot","tr"]);function Ed(e,t){for(var n,r=[],i=-1;++i<t.children.length;)"element"===(n=t.children[i]).type?r.push(Ad(e,n,i,t)):"text"===n.type?"element"===t.type&&Cd.has(t.tagName)&&vd(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Ad(e,t,n,r){var i,o=e.options,a=void 0===o.transformLinkUri?wd:o.transformLinkUri,s=e.schema,l=t.tagName,u={},c=s;if("html"===s.space&&"svg"===l&&(c=md.YP,e.schema=c),t.properties)for(i in t.properties)Td.call(t.properties,i)&&Qd(u,i,t.properties[i],e);"ol"!==l&&"ul"!==l||e.listDepth++;var h=Ed(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&&Td.call(o.components,l)?o.components[l]:l,m="string"===typeof p||p===J.Fragment;if(!xr.isValidElementType(p))throw new TypeError("Component for name `".concat(l,"` not defined or is not renderable"));if(u.key=[l,d.start.line,d.start.column,n].join("-"),"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=Pd(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=Pd(r,t),u.siblingCount=Pd(r)),m||(u.node=t),h.length>0?J.createElement(p,u,h):J.createElement(p,u)}function Pd(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 Qd(e,t,n,r){var i=(0,Od.s)(r.schema,t),o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?(0,bd.P)(o):(0,kd.P)(o)),"style"===i.property&&"string"===typeof o&&(o=function(e){var t={};try{Sd(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,_d)]=n}}(o)),i.space&&i.property?e[Td.call(yd,i.property)?yd[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function _d(e,t){return t.toUpperCase()}var Dd={}.hasOwnProperty,Nd={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 Rd(e){for(var t in Nd)if(Dd.call(Nd,t)&&Dd.call(e,t)){var n=Nd[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 Nd[t]}var r=Qc().use(Zf).use(e.remarkPlugins||[]).use(dd,(0,on.Z)((0,on.Z)({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(gd,e),i=new Sc;"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,{},Ed({options:e,schema:md.dy,listDepth:0},o));return e.className&&(a=J.createElement("div",{className:e.className},a)),a}Rd.propTypes={children:pd.string,className:pd.string,allowElement:pd.func,allowedElements:pd.arrayOf(pd.string),disallowedElements:pd.arrayOf(pd.string),unwrapDisallowed:pd.bool,remarkPlugins:pd.arrayOf(pd.oneOfType([pd.object,pd.func,pd.arrayOf(pd.oneOfType([pd.bool,pd.string,pd.object,pd.func,pd.arrayOf(pd.any)]))])),rehypePlugins:pd.arrayOf(pd.oneOfType([pd.object,pd.func,pd.arrayOf(pd.oneOfType([pd.bool,pd.string,pd.object,pd.func,pd.arrayOf(pd.any)]))])),sourcePos:pd.bool,rawSourcePos:pd.bool,skipHtml:pd.bool,includeElementIndex:pd.bool,transformLinkUri:pd.oneOfType([pd.func,pd.bool]),linkTarget:pd.oneOfType([pd.func,pd.string]),transformImageUri:pd.func,components:pd.object};for(var Zd={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 87===t||119===t?(e.consume(t),o):n(t)}function o(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||nh(e)?n(e):t(e)}},partial:!0},Md={tokenize:function(e,t,n){var r,i;return o;function o(t){return 38===t?e.check(Ld,s,a)(t):46===t||95===t?e.check($d,s,a)(t):null===t||eh(t)||ih(t)||45!==t&&oh(t)?s(t):(e.consume(t),o)}function a(t){return 46===t?(i=r,r=void 0,e.consume(t),o):(95===t&&(r=!0),e.consume(t),o)}function s(e){return i||r?n(e):t(e)}},partial:!0},Id={tokenize:function(e,t){var n=0;return r;function r(a){return 38===a?e.check(Ld,t,i)(a):(40===a&&n++,41===a?e.check($d,o,i)(a):Wd(a)?t(a):Hd(a)?e.check($d,t,i)(a):(e.consume(a),r))}function i(t){return e.consume(t),r}function o(e){return--n<0?t(e):i(e)}},partial:!0},$d={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return Hd(i)?(e.consume(i),r):Wd(i)?t(i):n(i)}},partial:!0},Ld={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return Yc(t)?(e.consume(t),r):59===t?(e.consume(t),i):n(t)}function i(e){return Wd(e)?t(e):n(e)}},partial:!0},Fd={tokenize:function(e,t,n){var r=this;return function(t){if(87!==t&&119!==t||!qd(r.previous)||Jd(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zd,e.attempt(Md,e.attempt(Id,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:qd},Bd={tokenize:function(e,t,n){var r=this;return function(t){if(72!==t&&104!==t||!Vd(r.previous)||Jd(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),o):n(t)}function o(t){return 84===t||116===t?(e.consume(t),a):n(t)}function a(t){return 80===t||112===t?(e.consume(t),s):n(t)}function s(t){return 83===t||115===t?(e.consume(t),l):l(t)}function l(t){return 58===t?(e.consume(t),u):n(t)}function u(t){return 47===t?(e.consume(t),c):n(t)}function c(t){return 47===t?(e.consume(t),h):n(t)}function h(t){return null===t||eh(t)||ih(t)||oh(t)?n(t):e.attempt(Md,e.attempt(Id,f),n)(t)}function f(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Vd},jd={tokenize:function(e,t,n){var r,i,o=this;return function(t){if(!Yd(t)||!Gd(o.previous)||Jd(o.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return Yd(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check($d,h,l)(t):45===t||95===t?e.check($d,n,u)(t):Gc(t)?(!i&&qc(t)&&(i=!0),e.consume(t),s):h(t)}function l(t){return e.consume(t),r=!0,i=void 0,s}function u(t){return e.consume(t),c}function c(t){return 46===t?e.check($d,n,l)(t):s(t)}function h(o){return r&&!i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:Gd},Ud={},zd={text:Ud},Xd=48;Xd<123;)Ud[Xd]=jd,58===++Xd?Xd=65:91===Xd&&(Xd=97);function Hd(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function Wd(e){return null===e||60===e||th(e)}function Yd(e){return 43===e||45===e||46===e||95===e||Gc(e)}function qd(e){return null===e||40===e||42===e||95===e||126===e||th(e)}function Vd(e){return null===e||!Yc(e)}function Gd(e){return 47!==e&&Vd(e)}function Jd(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}Ud[43]=jd,Ud[45]=jd,Ud[46]=jd,Ud[95]=jd,Ud[72]=[jd,Bd],Ud[104]=[jd,Bd],Ud[87]=[jd,Fd],Ud[119]=[jd,Fd];var Kd={tokenize:function(e,t,n){var r=this;return sh(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 ep(){var e;return{document:(0,an.Z)({},91,{tokenize:ip,continuation:{tokenize:op},exit:ap}),text:(e={},(0,an.Z)(e,91,{tokenize:rp}),(0,an.Z)(e,93,{add:"after",tokenize:tp,resolveTo:np}),e)}}function tp(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=Rh(i.sliceSerialize({start:r.end,end:i.now()}));if(94!==s.charCodeAt(0)||!a.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function np(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 rp(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){var c;return null===s||91===s||a++>999?n(s):93===s?r?(e.exit("chunkString"),c=e.exit("gfmFootnoteCallString"),o.includes(Rh(i.sliceSerialize(c)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),th(s)||(r=!0),92===s?u:l)}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function ip(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"),u):n(t)}function u(t){var a;return null===t||91===t||s>999?n(t):93===t?i?(a=e.exit("gfmFootnoteDefinitionLabelString"),r=Rh(o.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f):n(t):nh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,u):(e.enter("chunkString").contentType="string",c(t))}function c(t){return null===t||nh(t)||91===t||93===t||s>999?(e.exit("chunkString"),u(t)):(th(t)||(i=!0),s++,e.consume(t),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),sh(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return a.includes(r)||a.push(r),t(e)}}function op(e,t,n){return e.check(hh,t,e.attempt(Kd,t,n))}function ap(e){e.exit("gfmFootnoteDefinition")}function sp(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=tf(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=tf(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&&jc(a,a.length,0,xh(s,e.slice(r+1,n),t)),jc(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),jc(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,an.Z)({},126,n),insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}var lp={flow:{null:{tokenize:function(e,t,n){var r,i,o=this,a=[],s=0;return function(t){if(e.enter("table")._align=a,e.enter("tableHead"),e.enter("tableRow"),124===t)return l(t);return s++,e.enter("temporaryTableCellContent"),h(t)};function l(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,u}function u(t){return null===t||nh(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");var r=o.interrupt;return o.interrupt=!0,e.attempt({tokenize:A,partial:!0},(function(t){return o.interrupt=r,e.enter("tableDelimiterRow"),d(t)}),(function(e){return o.interrupt=r,n(e)}))(t)}(t):rh(t)?(e.enter("whitespace"),e.consume(t),c):(r&&(r=void 0,s++),124===t?l(t):(e.enter("temporaryTableCellContent"),h(t)))}function c(t){return rh(t)?(e.consume(t),c):(e.exit("whitespace"),u(t))}function h(t){return null===t||124===t||th(t)?(e.exit("temporaryTableCellContent"),u(t)):(e.consume(t),92===t?f:h)}function f(t){return 92===t||124===t?(e.consume(t),h):h(t)}function d(t){return null===t||nh(t)?O(t):rh(t)?(e.enter("whitespace"),e.consume(t),p):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,a.push("none"),m):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),a.push("left"),g):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function p(t){return rh(t)?(e.consume(t),p):(e.exit("whitespace"),d(t))}function m(t){return 45===t?(e.consume(t),m):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),a[a.length-1]="left"===a[a.length-1]?"center":"right",v):d(t))}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,m):n(t)}function v(t){return null===t||nh(t)?O(t):rh(t)?(e.enter("whitespace"),e.consume(t),p):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function O(t){return e.exit("tableDelimiterRow"),i&&s===a.length?null===t?y(t):e.check(up,y,e.attempt({tokenize:A,partial:!0},sh(e,k,"linePrefix",4),y))(t):n(t)}function y(n){return e.exit("table"),t(n)}function k(t){return e.enter("tableBody"),b(t)}function b(t){return e.enter("tableRow"),124===t?S(t):(e.enter("temporaryTableCellContent"),T(t))}function S(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),x}function x(t){return null===t||nh(t)?function(t){if(e.exit("tableRow"),null===t)return E(t);return e.check(up,E,e.attempt({tokenize:A,partial:!0},sh(e,b,"linePrefix",4),E))(t)}(t):rh(t)?(e.enter("whitespace"),e.consume(t),w):124===t?S(t):(e.enter("temporaryTableCellContent"),T(t))}function w(t){return rh(t)?(e.consume(t),w):(e.exit("whitespace"),x(t))}function T(t){return null===t||124===t||th(t)?(e.exit("temporaryTableCellContent"),x(t)):(e.consume(t),92===t?C:T)}function C(t){return 92===t||124===t?(e.consume(t),T):T(t)}function E(t){return e.exit("tableBody"),y(t)}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),sh(e,r,"linePrefix")};function r(r){if(o.parser.lazy[o.now().line]||null===r||nh(r))return n(r);var i=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(r):(o._gfmTableDynamicInterruptHack=!0,e.check(o.parser.constructs.flow,(function(e){return o._gfmTableDynamicInterruptHack=!1,n(e)}),(function(e){return o._gfmTableDynamicInterruptHack=!1,t(e)}))(r))}}},resolve:function(e,t){var n,r,i,o,a,s,l,u=-1;for(;++u<e.length;){var c=e[u][1];if(i&&("temporaryTableCellContent"===c.type&&(o=o||u,a=u),("tableCellDivider"===c.type||"tableRow"===c.type)&&a)){var h={type:"tableContent",start:e[o][1].start,end:e[a][1].end},f={type:"chunkText",start:h.start,end:h.end,contentType:"text"};e.splice(o,a-o+1,["enter",h,t],["enter",f,t],["exit",f,t],["exit",h,t]),u-=a-o-3,o=void 0,a=void 0}if("exit"===e[u][0]&&void 0!==s&&s+(l?0:1)<u&&("tableCellDivider"===c.type||"tableRow"===c.type&&(s+3<u||"whitespace"!==e[s][1].type))){var d={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[s][1].start,end:e[u][1].end};e.splice(u+("tableCellDivider"===c.type?1:0),0,["exit",d,t]),e.splice(s,0,["enter",d,t]),s=(u+=2)+1,l=!0}"tableRow"===c.type&&(i="enter"===e[u][0])&&(s=u+1,l=!1),"tableDelimiterRow"===c.type&&(r="enter"===e[u][0])&&(s=u+1,l=!1),"tableHead"===c.type&&(n="enter"===e[u][0])}return e}}}},up={tokenize:function(e,t,n){var r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(o){return-1===o||32===o?(e.consume(o),4===++r?t:i):null===o||th(o)?t(o):n(o)}},partial:!0};var cp={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 th(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 nh(r)?t(r):rh(r)?e.check({tokenize:fp},t,n)(r):n(r)}}},hp={text:(0,an.Z)({},91,cp)};function fp(e,t,n){return sh(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}function dp(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 pp={}.hasOwnProperty,mp=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=If(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([gp(e[n][0]),vp(e[n][1])]);else{var r;for(r in e)pp.call(e,r)&&t.push([gp(r),vp(e[r])])}return t}(o),l=-1;++l<s.length;)Uf(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,re.Z)(t),[e])},p=i.apply(void 0,(0,re.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,re.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,re.Z)(c)))}else c=[e];return a+c.length}(e,t)}};function gp(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 vp(e){return"function"===typeof e?e:function(){return e}}var Op="phrasing",yp=["autolink","link","image","label"],kp={transforms:[function(e){mp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,xp],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,wp]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Sp,literalAutolinkHttp:Sp,literalAutolinkWww:Sp},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)}}},bp={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Op,notInConstruct:yp},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Op,notInConstruct:yp},{character:":",before:"[ps]",after:"\\/",inConstruct:Op,notInConstruct:yp}]};function Sp(e){this.config.enter.autolinkProtocol.call(this,e)}function xp(e,t,n,r,i){var o="";if(!Tp(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=dp(e,"("),o=dp(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 wp(e,t,n,r){return!(!Tp(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Tp(e,t){var n=e.input.charCodeAt(e.index-1);return(0===e.index||ih(n)||oh(n))&&(!t||47!==n)}function Cp(e){return e.label||!e.identifier?e.label||"":Ef(e.identifier)}function Ep(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 Ap=/\r?\n|\r/g;function Pp(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 Qp(e,t){return _p(e,t.inConstruct,!0)&&!_p(e,t.notInConstruct,!1)}function _p(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 Dp(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(Qp(e.stack,l))for(var u=Pp(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(Np);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(Rp(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(Rp(r.slice(p,m),n.after)),o.join("")}function Np(e,t){return e-t}function Rp(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 Zp(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 Mp(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ip(){this.buffer()}function $p(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase()}function Lp(e){this.exit(e)}function Fp(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Bp(){this.buffer()}function jp(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase()}function Up(e){this.exit(e)}function zp(e,t,n,r){var i=Zp(r),o=i.move("[^"),a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(Dp(n,Cp(e),(0,on.Z)((0,on.Z)({},i.current()),{},{before:o,after:"]"}))),s(),a(),o+=i.move("]")}function Xp(e,t,n,r){var i=Zp(r),o=i.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(Dp(n,Cp(e),(0,on.Z)((0,on.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=Ap.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,on.Z)({before:"\n",after:"\n"},o.current())))),"list"!==l.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(Ep(l,i[s+1],e,t)))}return r.pop(),a.join("")}(e,n,i.current()),Hp)),a(),o}function Hp(e,t,n){return 0===t?e:(n?"":" ")+e}function Wp(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,on.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,on.Z)((0,on.Z)({},l.current()),{},{before:s,after:c})))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}zp.peek=function(){return"["};Vp.peek=function(){return"~"};var Yp={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},qp={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Vp}};function Vp(e,t,n,r){var i=Zp(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=Wp(e,n,(0,on.Z)((0,on.Z)({},i.current()),{},{before:a,after:"~"})),a+=i.move("~~"),o(),a}function Gp(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=Pp(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 Jp(e){return null===e||void 0===e?"":String(e)}function Kp(e){return e.length}function em(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}Gp.peek=function(){return"`"};var tm={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:rm,tableHeader:rm,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,im));var n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:nm,tableHeader:nm,tableRow:nm}};function nm(e){this.exit(e)}function rm(e){this.enter({type:"tableCell",children:[]},e)}function im(e,t){return"|"===t?t:e}function om(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=Gp(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=Wp(e,n,(0,on.Z)((0,on.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||Kp,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=Jp(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]=em(n[m]);else for(var g=em(n);++m<l;)i[m]=g;m=-1;for(var v=[],O=[];++m<l;){var y=i[m],k="",b="";99===y?(k=":",b=":"):108===y?k=":":114===y&&(b=":");var S=!1===t.alignDelimiters?1:Math.max(1,s[m]-k.length-b.length),x=k+"-".repeat(S)+b;!1!==t.alignDelimiters&&((S=k.length+S+b.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="",Q="";if(!1!==t.alignDelimiters){var _=s[m]-(C[m]||0),D=i[m];114===D?P=" ".repeat(_):99===D?_%2?(P=" ".repeat(_/2+.5),Q=" ".repeat(_/2-.5)):Q=P=" ".repeat(_/2):Q=" ".repeat(_)}!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(Q),!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 am(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 sm={exit:{taskListCheckValueChecked:um,taskListCheckValueUnchecked:um,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)}}},lm={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=Zp(r);o&&s.move(a);var l=am(e,t,n,(0,on.Z)((0,on.Z)({},r),s.current()));o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return l}}};function um(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function cm(){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 Xc([zd,ep(),sp(e),lp,hp])}(e)),n("fromMarkdownExtensions",[kp,{enter:{gfmFootnoteDefinition:Mp,gfmFootnoteDefinitionLabelString:Ip,gfmFootnoteCall:Fp,gfmFootnoteCallString:Bp},exit:{gfmFootnoteDefinition:Lp,gfmFootnoteDefinitionLabelString:$p,gfmFootnoteCall:Up,gfmFootnoteCallString:jp}},Yp,tm,sm]),n("toMarkdownExtensions",function(e){return{extensions:[bp,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Xp,footnoteReference:zp}},qp,om(e),lm]}}(e))}var hm=n(1065),fm=(0,n(282).v)(md.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"]),dm=n(7611);var pm={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/"},mm={}.hasOwnProperty,gm=Object.prototype;function vm(e,t){var n;switch(t.nodeName){case"#comment":return ym(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:Om(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 ym(e,t,n={type:"doctype"}),n;case"#text":return ym(e,t,n={type:"text",value:t.value}),n;default:return n=function(e,t){var n=e.schema;e.schema=t.namespaceURI===pm.svg?md.YP:md.dy;var r=-1,i={};for(;++r<t.attrs.length;){var o=t.attrs[r],a=(o.prefix?o.prefix+":":"")+o.name;mm.call(gm,a)||(i[a]=o.value)}var s="svg"===e.schema.space?fm:dm.h,l=s(t.tagName,i,Om(e,t.childNodes));if(ym(e,t,l),"template"===l.tagName){var u=t,c=u.sourceCodeLocation,h=c&&c.startTag&&km(c.startTag),f=c&&c.endTag&&km(c.endTag),d=vm(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 Om(e,t){for(var n=-1,r=[];++n<t.length;)r[n]=vm(e,t[n]);return r}function ym(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){var r=function(e,t,n){var r=km(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)mm.call(n.attrs,o)&&(a[(0,Od.s)(e.schema,o).property]=km(n.attrs[o]));t.data={position:{opening:km(n.startTag),closing:n.endTag?km(n.endTag):null,properties:a}}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function km(e){var t=bm({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=bm({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function bm(e){return e.line&&e.column?e:void 0}var Sm={}.hasOwnProperty;function xm(e,t){var n=t||{};function r(t){var n=r.invalid,i=r.handlers;if(t&&Sm.call(t,e)){var o=String(t[e]);n=Sm.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 wm={}.hasOwnProperty,Tm=xm("type",{handlers:{root:function(e,t){var n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Em(e.children,n,t),Am(e,n),n},element:function(e,t){var n=t,r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=md.YP);var i,o=[];if(e.properties)for(i in e.properties)if("children"!==i&&wm.call(e.properties,i)){var a=Cm(r,i,e.properties[i]);a&&o.push(a)}var s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:pm[r.space],childNodes:[],parentNode:void 0};s.childNodes=Em(e.children,s,r),Am(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){var n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Em(e.children,n,t),Am(e,n),n}(e.content,r));return s},text:function(e){var t={nodeName:"#text",value:e.value,parentNode:void 0};return Am(e,t),t},comment:function(e){var t={nodeName:"#comment",data:e.value,parentNode:void 0};return Am(e,t),t},doctype:function(e){var t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return Am(e,t),t}}});function Cm(e,t,n){var r=(0,Od.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,bd.P)(n):(0,kd.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=pm[r.space]}return i}}function Em(e,t,n){var r=-1,i=[];if(e)for(;++r<e.length;){var o=Tm(e[r],n);o.parentNode=t,i.push(o)}return i}function Am(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 Pm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],Qm="END_TAG_TOKEN",_m={sourceCodeLocationInfo:!0,scriptingEnabled:!1},Dm=function e(t,n,r){var i,o,a,s,l,u=-1,c=new hm(_m),h=xm("type",{handlers:{root:function(e){d(e.children)},element:function(e){g(),c._processInputToken(Nm(e)),d(e.children),Pm.includes(e.tagName)||(g(),c._processInputToken(function(e){var t=Object.assign(Mm(e));return t.startTag=Object.assign({},t),{type:Qm,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){g(),c._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:Mm(e)})},comment:p,doctype:function(e){g(),c._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Mm(e)})},raw:function(e){var t=Xf(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=Mm(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:Zm});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),vm({schema:"svg"===n.space?md.YP:md.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:pm.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:pm.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&&zf(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:Mm(e)})}function m(t){i=!0,p({type:"comment",value:{stitch:"children"in t?(0,on.Z)((0,on.Z)({},t),{},{children:e({type:"root",children:t.children},n,r).children}):(0,on.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 Nm(e){var t=Object.assign(Mm(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:Rm(e),location:t}}function Rm(e){return function(e,t){var n=t&&"object"===typeof t?t.space:t;return Tm(e,"svg"===n?md.YP:md.dy)}({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function Zm(e){throw new Error("Cannot compile `"+e.type+"` node")}function Mm(e){var t=Xf(e),n=Hf(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Im(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return Dm(t,n,e)}}var $m=/[\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,Lm=Object.hasOwnProperty,Fm=function(){function e(){(0,ie.Z)(this,e),this.occurrences,this.reset()}return(0,oe.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($m,"").replace(/ /g,"-")}(e,!0===t),i=r;Lm.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 Bm={}.hasOwnProperty;function jm(e,t){var n="string"===typeof t&&function(e){return Boolean(e&&"object"===typeof e&&"type"in e)}(e)&&"element"===e.type&&e.properties&&Bm.call(e.properties,t)&&e.properties[t];return null!==n&&void 0!==n&&!1!==n}function Um(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 zm(e){return"children"in e?Hm(e):"value"in e?e.value:""}function Xm(e){return"text"===e.type?e.value:"children"in e?Hm(e):""}function Hm(e){for(var t=-1,n=[];++t<e.children.length;)n[t]=Xm(e.children[t]);return n.join("")}var Wm=new Fm;function Ym(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).prefix||"";return function(t){Wm.reset(),zf(t,"element",(function(t){Um(t)&&t.properties&&!jm(t,"id")&&(t.properties.id=e+Wm.slug(zm(t)))}))}}var qm=function(e){if(void 0===e||null===e)return Jm;if("string"===typeof e)return function(e){return t;function t(t){return Jm(t)&&t.tagName===e}}(e);if("object"===typeof e)return Vm(e);if("function"===typeof e)return Gm(e);throw new Error("Expected function, string, or array as test")};function Vm(e){for(var t=[],n=-1;++n<e.length;)t[n]=qm(e[n]);return Gm((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 Gm(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 Jm(t)&&Boolean(e.call.apply(e,[this,t].concat(r)))}}function Jm(e){return Boolean(e&&"object"===typeof e&&"element"===e.type&&"string"===typeof e.tagName)}var Km={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]};function eg(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties,r=t.behaviour||t.behavior||"prepend",i=t.content||Km,o=t.group,a=qm(t.test);return"wrap"===r?e=function(e){return e.children=[u(e,Ec(!0,{},n),e.children)],[jf]}:"before"===r||"after"===r?e=function(e,t,a){var c;if("number"!==typeof t||!a)return;var h=u(e,Ec(!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,re.Z)(f))),[jf,t+f.length]}:(n||(n={ariaHidden:"true",tabIndex:-1}),e=function(e){return e.children["prepend"===r?"unshift":"push"](u(e,Ec(!0,{},n),s(i,e))),[jf]}),function(t){zf(t,"element",(function(t,n,r){if(Um(t)&&jm(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):Ec(!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 tg=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}}},ng=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},rg=function(e,t,n){return"string"===n?(0,on.Z)((0,on.Z)({},e),{},{"data-config":JSON.stringify((0,on.Z)((0,on.Z)({},t),{},{rehyp:!0}))}):"attr"===n?(0,on.Z)((0,on.Z)({},e),t):(0,on.Z)((0,on.Z)({},e),{},{"data-config":(0,on.Z)((0,on.Z)({},t),{},{rehyp:!0})})},ig=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){zf(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=ng(a);Object.keys(s).length>0&&(e.properties=(0,on.Z)((0,on.Z)({},e.properties),{"data-type":"rehyp"}),o.properties=rg(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=tg(r.children,t,"",i);if(l){var u=ng(l);Object.keys(u).length>0&&(e.properties=rg(e.properties,u,n))}}}))}},og=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){zf(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}))}}))}},ag={}.hasOwnProperty,sg=n(7278),lg=n(4571),ug=n(1060);function cg(){cg=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)),hg(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],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&&hg(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);return n&&(n.groups=r(n,this)),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){return"$"+o[t]})))}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)},cg.apply(this,arguments)}function hg(e,t){return hg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},hg(e,t)}function fg(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 dg(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 fg(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)?fg(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 pg=function(e){return function(t){return void 0===t&&(t={}),function(e){zf(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=[],n.properties.className.push("code-highlight");var l,u,c=function(e){for(var t,n=dg(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)try{var h;h=null!=c&&c.includes("diff-")?c.split("-")[1]:c,l=e.highlight(zm(n),h),i.properties.className=(i.properties.className||[]).concat("language-"+h)}catch(y){if(!t.ignoreMissing||!/Unknown language/.test(y.message))throw y;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=dg(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 f,d=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=sg(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(s),p=function(e){var t=cg(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(s),m=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),g=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],v=function(){var e=f.value,n=e[0],r=e[1];r.properties.className=["code-line"];var i=function(e,t,n){var r=If(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)ag.call(t,u)&&(c[u]="children"===u?a:t[u]);return c}(e)}(l,(function(e){return e.position.start.line<=n+1&&e.position.end.line>=n+1}));r.children=i.children,!s.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||g.some((function(e){return s.toLowerCase().includes(e)}))||(r.properties.line=[(n+p).toString()],r.properties.className.push("line-number")),d(n)&&r.properties.className.push("highlight-line"),("diff"===c||null!=c&&c.includes("diff-"))&&"-"===zm(r).substring(0,1)?r.properties.className.push("deleted"):("diff"===c||null!=c&&c.includes("diff-"))&&"+"===zm(r).substring(0,1)&&r.properties.className.push("inserted")},O=dg(m.entries());!(f=O()).done;)v();m.length>0&&""===zm(m[m.length-1]).trim()&&m.pop(),n.children=m}}}},mg=(pg(lg.$),pg(ug.$)),gg="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",vg="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",Og=new RegExp("^[^"+vg+"]*["+gg+"]"),yg=new RegExp("^[^"+gg+"]*["+vg+"]");function kg(e){var t=function(e){var t=String(e||"");return Og.test(t)?"rtl":yg.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function bg(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 Sg=xm("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,n){return jm(t,n.property)},handlers:{"=":function(e,t,n){return Boolean(jm(t,n.property)&&t.properties&&xg(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)||jm(t,n.property)&&xg(r,n)===e.value},"|=":function(e,t,n){var r=xg(t.properties&&t.properties[n.property],n);return Boolean(jm(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(jm(t,n.property)&&t.properties&&e.value&&xg(t.properties[n.property],n).slice(0,e.value.length)===e.value)},"$=":function(e,t,n){return Boolean(jm(t,n.property)&&t.properties&&e.value&&xg(t.properties[n.property],n).slice(-e.value.length)===e.value)},"*=":function(e,t,n){return Boolean(jm(t,n.property)&&t.properties&&e.value&&xg(t.properties[n.property],n).includes(e.value))}}});function xg(e,t){return"boolean"===typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?bd.P:kd.P)(e):String(e)}function wg(e,t){return function(n,r){for(var i=Cg(n,"tag"),o=Cg(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}}wg((function(e,t){return"*"===t||e===t||e.includes(t+"-")}),!0);var Tg=wg((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);wg((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 Cg(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 Eg=new Set([9,10,12,13,32]),Ag="0".charCodeAt(0),Pg="9".charCodeAt(0);var Qg=n(1692);function _g(e){return function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return Qg.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?Qg.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)>=Ag&&e.charCodeAt(t)<=Pg;)r=10*r+(e.charCodeAt(t)-Ag),t++;return t===n?null:r}function s(){for(;t<e.length&&Eg.has(e.charCodeAt(t));)t++}}(e))}var Dg=_g.default||_g,Ng=xm("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:Mg,"any-link":function(e,t){return("a"===t.tagName||"area"===t.tagName||"link"===t.tagName)&&jm(t,"href")},blank:function(e,t){return!Lg(t,(function(e){return"element"===e.type||"text"===e.type&&!vd(e)}))},checked:function(e,t){if("input"===t.tagName||"menuitem"===t.tagName)return Boolean(t.properties&&("checkbox"===t.properties.type||"radio"===t.properties.type)&&jm(t,"checked"));if("option"===t.tagName)return jm(t,"selected");return!1},dir:function(e,t,n,r,i){return i.direction===e.value},disabled:Zg,empty:function(e,t){return!Lg(t,(function(e){return"element"===e.type||"text"===e.type}))},enabled:function(e,t){return!Zg(e,t)},"first-child":function(e,t,n,r,i){return Fg(i,e),0===i.elementIndex},"first-of-type":function(e,t,n,r,i){return Fg(i,e),0===i.typeIndex},has:function(e,t,n,r,i){var o=(0,on.Z)((0,on.Z)({},i),{},{found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:zg(e.value)});return Xg(o,{type:"root",children:t.children}),o.results.length>0},lang:function(e,t,n,r,i){return""!==i.language&&void 0!==i.language&&Tg(i.language,(0,bd.Q)(e.value)).length>0},"last-child":function(e,t,n,r,i){return Fg(i,e),Boolean(i.elementCount&&i.elementIndex===i.elementCount-1)},"last-of-type":function(e,t,n,r,i){return Fg(i,e),"number"===typeof i.typeIndex&&"number"===typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:Mg,not:function(e,t,n,r,i){return!Mg(e,t,n,r,i)},"nth-child":function(e,t,n,r,i){var o=Bg(e);return Fg(i,e),"number"===typeof i.elementIndex&&o(i.elementIndex)},"nth-last-child":function(e,t,n,r,i){var o=Bg(e);return Fg(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=Bg(e);return Fg(i,e),"number"===typeof i.typeIndex&&o(i.typeIndex)},"nth-last-of-type":function(e,t,n,r,i){var o=Bg(e);return Fg(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 Fg(i,e),1===i.elementCount},"only-of-type":function(e,t,n,r,i){return Fg(i,e),1===i.typeCount},optional:function(e,t){return!$g(e,t)},"read-only":function(e,t,n,r,i){return!Ig(e,t,n,r,i)},"read-write":Ig,required:$g,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 Rg(e,t,n,r,i){for(var o=e.pseudos,a=-1;++a<o.length;)if(!Ng(o[a],t,n,r,i))return!1;return!0}function Zg(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)&&jm(t,"disabled")}function Mg(e,t,n,r,i){var o=(0,on.Z)((0,on.Z)({},i),{},{found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:zg(e.value)});return Xg(o,t),o.results[0]===t}function Ig(e,t,n,r,i){return"input"===t.tagName||"textarea"===t.tagName?!jm(t,"readOnly")&&!jm(t,"disabled"):Boolean(i.editableOrEditingHost)}function $g(e,t){return("input"===t.tagName||"textarea"===t.tagName||"select"===t.tagName)&&jm(t,"required")}function Lg(e,t){for(var n=e.children,r=-1;++r<n.length;)if(t(n[r]))return!0;return!1}function Fg(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Bg(e){var t=e._cachedFn;return t||(t=Dg(e.value),e._cachedFn=t),t}function jg(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(!Sg(r[i],t,(0,Od.s)(n,r[i].name)))return!1;return!0}(e,t,i.schema))&&(!e.pseudos||Rg(e,t,n,r,i)))}Rg.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 Ug=[];function zg(e){return null===e?{type:"selectors",selectors:[]}:"ruleSet"===e.type?{type:"selectors",selectors:[e]}:e}function Xg(e,t){t&&Hg(e,[],t,void 0,void 0)}function Hg(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=bg(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=md.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=kg(zm(t)):"input"!==t.tagName||"email"!==l&&"search"!==l&&"tel"!==l&&"text"!==l?zf(t,(function(e){return"text"===e.type?(n=kg(e.value))?Bf:void 0:e===t||"element"!==e.type||"bdi"!==e.tagName&&"script"!==e.tagName&&"style"!==e.tagName&&"textare"!==e.tagName&&!bg(e)?void 0:jf})):n=t.properties.value?kg(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(jg(s.rule,n,r,i,e)){var l=s.rule.rule;if(l){var u={type:"ruleSet",rule:l};Yg(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?Yg(o,"descendant",s):"~"===s.rule.nestingOperator&&Yg(o,"generalSibling",s)}return o}(e,Wg(t,e.rootQuery.selectors),n,r,i)),!("children"in n)||e.shallow||e.one&&e.found||function(e,t,n){var r,i=Wg(t.descendant,t.directChild),o=-1,a={count:0,types:new Map},s={count:0,types:new Map};for(;++o<n.children.length;)qg(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=Hg(e,Wg(i,r),n.children[o],o,n);r=Wg(c.generalSibling,c.adjacentSibling)}if(e.one&&e.found)break;qg(s,n.children[o])}}(e,o,n),a(),o}function Wg(e,t){return e&&t&&e.length>0&&t.length>0?[].concat((0,re.Z)(e),(0,re.Z)(t)):e&&e.length>0?e:t&&t.length>0?t:Ug}function Yg(e,t,n){var r=e[t];r?r.push(n):e[t]=[n]}function qg(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 Vg=new(n(861).N);function Gg(e){if("string"!==typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return Vg.parse(e)}function Jg(e,t,n){return{rootQuery:zg(Gg(e)),results:[],scopeElements:t?"root"===t.type?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:"svg"===n?md.YP:md.dy,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}Vg.registerAttrEqualityMods("~","|","^","$","*"),Vg.registerSelectorPseudos("any","matches","not","has"),Vg.registerNestingOperators(">","+","~");var Kg=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},ev=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=Jg(e,t,n);return Xg(r,t||void 0),r.results}(n,e);t&&t.length>0&&zf(e,t,(function(e,t,n){r(e,t,n)}))}else zf(e,(function(e,t,n){r(e,t,n)}))}},tv={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 nv=n(8497),rv=n.n(nv);var iv=function(e){return void 0===e&&(e={}),function(e){zf(e,(function(e){"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=Yt({},e.properties,{"data-meta":String(e.data.meta)}))}))}},ov=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"],av=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=qt(e,ov),k=J.useRef(null);(0,J.useImperativeHandle)(t,(function(){return Yt({},e,{mdp:k})}),[k,e]);var b=(r||"")+" "+(i||"");!function(e){var t=(0,J.useCallback)((function(e){var t=e.currentTarget||e.target;t.classList.add("active"),rv()(t.dataset.code,(function(){setTimeout((function(){t.classList.remove("active")}),2e3)}))}),[]);(0,J.useEffect)((function(){var n,r=null==(n=e.current)?void 0:n.querySelectorAll("pre code + div.copied");return r&&Array.from(r).forEach((function(e){return e.addEventListener("click",t,!1)})),function(){r&&Array.from(r).forEach((function(e){return e.removeEventListener("click",t,!1)}))}}),[e])}(k);var S=[iv,[mg,{ignoreMissing:!0}],Ym,eg,og,[ev,{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=Yt({class:"anchor"},r.properties),r.children=[tv])}if("element"===e.type&&"pre"===e.tagName&&!l){var i=Kg(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)}}],[ig,{properties:"attr"}]].concat((0,re.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(Im);var w=[].concat((0,re.Z)(y.remarkPlugins||[]),[cm]),T=Yt({},O,g);return(0,Vt.jsx)("div",Yt({ref:k,onScroll:h,onMouseOver:f},T,{className:b,style:a,children:(0,Vt.jsx)(Rd,Yt({},x,y,{skipHtml:c,rehypePlugins:d?d("rehype",S):S,remarkPlugins:d?d("remark",w):w,children:o||""}))}))})),sv={name:"bold",keyCommand:"bold",button:{"aria-label":"Add bold text"},icon:(0,Vt.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 384 512",children:(0,Vt.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:Pa.jT.range(e.from+2,e.to+2)}})))}},lv={name:"code",keyCommand:"code",button:{"aria-label":"Insert code"},icon:(0,Vt.jsxs)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:[(0,Vt.jsx)("path",{d:"M16 13 4 25.432 16 37m16-24 12 12.432L32 37",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Vt.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:Pa.jT.range(e.from+1,e.to+1)}})))}},uv={name:"codeBlock",keyCommand:"codeBlock",button:{"aria-label":"Insert Code Block"},icon:(0,Vt.jsxs)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:[(0,Vt.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,Vt.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:Pa.jT.range(r.from+3,r.from+5)})}}},cv={name:"italic",keyCommand:"italic",button:{"aria-label":"Add italic text"},icon:(0,Vt.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 320 512",children:(0,Vt.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:Pa.jT.range(e.from+1,e.to+1)}})))}},hv={name:"header",keyCommand:"header",button:{"aria-label":"Add header text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,Vt.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}})}}},fv={name:"strike",keyCommand:"strike",button:{"aria-label":"Add strike text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Vt.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:Pa.jT.range(e.from+2,e.to+2)}})))}},dv={name:"underline",keyCommand:"underline",button:{"aria-label":"Add underline text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,Vt.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:Pa.jT.range(e.from+3,e.to+3)}})))}},pv={name:"olist",keyCommand:"olist",button:{"aria-label":"Add olist text"},icon:(0,Vt.jsx)("svg",{viewBox:"0 0 576 512",height:"14",width:"14",children:(0,Vt.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}})}}},mv={name:"ulist",keyCommand:"ulist",button:{"aria-label":"Add ulist text"},icon:(0,Vt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Vt.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}})}}},gv={name:"quote",keyCommand:"quote",button:{"aria-label":"Add quote text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,Vt.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}})}}},vv={name:"link",keyCommand:"link",button:{"aria-label":"Add link text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 640 512",height:"16",width:"16",children:(0,Vt.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:Pa.jT.range(r.from+3+i.length,r.to+3)})}}},Ov={name:"todo",keyCommand:"todo",button:{"aria-label":"Add todo List"},icon:(0,Vt.jsx)("svg",{viewBox:"0 0 48 48",fill:"none",height:"15",width:"15",children:(0,Vt.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}})}}},yv={name:"image",keyCommand:"image",button:{"aria-label":"Add image text"},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 16 16",height:"14",width:"14",children:(0,Vt.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:"![]("+i+")"},selection:Pa.jT.range(r.from+4,r.to+4)})}}},kv={name:"redo",keyCommand:"redo",button:{"aria-label":"redo text"},icon:(0,Vt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Vt.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&&Ha(n)}},bv={name:"undo",keyCommand:"undo",button:{"aria-label":"undo text"},icon:(0,Vt.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Vt.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&&Xa(n)}},Sv=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];return(0,J.useEffect)((function(){if(t.containerEditor&&t.containerEditor.current&&t.containerEditor.current.parentElement){var e=t.containerEditor.current.parentElement;new ResizeObserver((function(e){var r,i=(0,ne.Z)(e);try{for(i.s();!(r=i.n()).done;){var a,s,l,u=r.value;n.current||(n.current=u.target.clientHeight),null!=(a=t.editor)&&null!=(s=a.current)&&null!=(l=s.view)&&l.dom&&(o?t.editor.current.view.dom.style.height=u.target.clientHeight+"px":t.editor.current.view.dom.removeAttribute("style"))}}catch(c){i.e(c)}finally{i.f()}})).observe(e)}}),[t.containerEditor,t.editor,o]),(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,Vt.jsx)("button",{onClick:function(){return a(!o)},type:"button",className:o?"active":"",children:e.command.icon})},xv={name:"fullscreen",keyCommand:"fullscreen",button:function(e,t,n){return(0,Vt.jsx)(Sv,{command:e,editorProps:Yt({},t,n)})},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,Vt.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"})})},wv=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,Vt.jsx)("button",{onClick:function(){return u(!l)},type:"button",className:l?"active":"",children:e.command.icon})},Tv={name:"preview",keyCommand:"preview",button:function(e,t,n){return(0,Vt.jsx)(wv,{command:e,editorProps:Yt({},t,n)})},icon:(0,Vt.jsx)("svg",{fill:"currentColor",viewBox:"0 0 576 512",height:"16",width:"16",children:(0,Vt.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"})})},Cv={undo:bv,redo:kv,bold:sv,italic:cv,header:hv,strike:fv,underline:dv,quote:gv,olist:pv,ulist:mv,todo:Ov,link:vv,image:yv,code:lv,codeBlock:uv,fullscreen:xv,preview:Tv},Ev=function(){return Object.keys(Cv).filter((function(e){return!/^(fullscreen|preview)/.test(e)})).map((function(e){return Cv[e]}))},Av=function(){return[Tv,xv]},Pv=["prefixCls","className","onClick","toolbars","editor","mode","preview","container","containerEditor","editorProps"];function Qv(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=qt(e,Pv);if(!o||0===o.length)return null;return(0,Vt.jsx)("div",Yt({className:n+"-toolbar "+(r||"")+" "+(s?n+"-toolbar-mode":"")},d,{children:(0,re.Z)(o).map((function(e,t){var n={type:"button"},r="string"===typeof e?Cv[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",Yt({},n,{key:t}))}))}))}var _v=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-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:r.selection}),r.selectionMatch&&(a["& .cm-selectionMatch"]={backgroundColor:r.selectionMatch});var u=Ea.tk.theme(a,{dark:"dark"===t}),c=xa.Qf.define(o);return[u,(0,xa.nF)(c)]},Dv=_v({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:Lu.pJ.comment,color:"var(--color-prettylights-syntax-comment)"},{tag:Lu.pJ.variableName,color:"var(--color-prettylights-syntax-variable)"},{tag:[Lu.pJ.string,Lu.pJ.special(Lu.pJ.brace)],color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.number,color:"var(--color-prettylights-syntax-variable)"},{tag:[Lu.pJ.bool,Lu.pJ.null],color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.keyword,color:"var(--color-prettylights-syntax-keyword)",fontWeight:"bold"},{tag:Lu.pJ.string,color:"var(--color-prettylights-syntax-string)"},{tag:Lu.pJ.operator,color:"var(--color-accent-emphasis)"},{tag:Lu.pJ.deleted,color:"var(--color-prettylights-syntax-markup-deleted-bg)"},{tag:Lu.pJ.deleted,color:"red"},{tag:Lu.pJ.className,color:"var(--color-prettylights-syntax-variable)"},{tag:Lu.pJ.definition(Lu.pJ.typeName),color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.typeName,color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.list,color:"var(--color-prettylights-syntax-markup-list)"},{tag:Lu.pJ.heading,color:"var(--color-prettylights-syntax-markup-heading)",fontWeight:"bold"},{tag:Lu.pJ.regexp,color:"var(--color-prettylights-syntax-string-regexp)"},{tag:Lu.pJ.literal,color:"var(--color-prettylights-syntax-markup-italic)"},{tag:Lu.pJ.link,color:"var(--color-prettylights-syntax-constant-other-reference-link)",textDecoration:"underline"},{tag:Lu.pJ.angleBracket,color:"var(--color-fg-default)"},{tag:Lu.pJ.tagName,color:"var(--color-prettylights-syntax-entity-tag)"},{tag:Lu.pJ.attributeName,color:"var(--color-prettylights-syntax-constant)"}]}),Nv=["prefixCls","className","onChange","toolbars","toolbarsMode","toolbarsFilter","visible","renderPreview","visibleEditor","hideToolbar","toolbarBottom","enableScroll","previewProps","extensions","previewWidth","reExtensions"],Rv=Ea.tk.theme({"&.cm-editor, & .cm-scroller":{borderBottomRightRadius:"3px",borderBottomLeftRadius:"3px"}}),Zv=J.forwardRef(Iv);Zv.Markdown=av;var Mv=Zv;function Iv(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?Ev():a,l=e.toolbarsMode,u=void 0===l?Av():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,k=e.enableScroll,b=void 0===k||k,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=qt(e,Nv),Q=(0,J.useState)(e.value||""),_=(0,te.Z)(Q,2),D=_[0],N=_[1],R=(0,J.useRef)(null),Z=(0,J.useRef)(null),M=(0,J.useRef)(null),I=(0,J.useRef)(null),$=(0,J.useRef)("editor");(0,J.useImperativeHandle)(t,(function(){return{editor:R,preview:I}}),[R]);var L={preview:I,editor:R,container:Z,containerEditor:M,editorProps:Yt({},e,{previewWidth:E})},F="number"===typeof P.height?P.height+"px":P.height,B=(0,J.useCallback)((function(e){if(b){var t=e.target,n=t.scrollTop/t.scrollHeight;if("editor"===$.current&&I.current){var r,i=(null==(r=I.current)?void 0:r.scrollHeight)||0;I.current.scrollTop=i*n}else if(R.current&&R.current.view){var o=R.current.view.scrollDOM,a=R.current.view.scrollDOM.scrollHeight||0;o.scrollTop=a*n}}}),[b]),j=function(){return $.current="preview"},U=function(){return $.current="editor"};(0,J.useEffect)((function(){var e=I.current;return e&&b&&(e.addEventListener("mouseover",j,!1),e.addEventListener("mouseleave",U,!1),e.addEventListener("scroll",B,!1)),function(){e&&b&&(e.removeEventListener("mouseover",j),e.removeEventListener("mouseleave",j),e.addEventListener("mouseleave",B,!1))}}),[I,b,B]);var z=Aa({type:"scroll",events:{scroll:B}}),X=A||[(0,Sa.markdown)({base:Sa.markdownLanguage,codeLanguages:Ca}),Rv].concat((0,re.Z)(T));b&&X.push(z);var H=r+"-preview",W=[r,"wmde-markdown-var",i].filter(Boolean).join(" ");x.source=D;var Y=(0,Vt.jsxs)("div",{className:r+"-content",style:{height:P.height},children:[(0,Vt.jsx)("div",{className:r+"-content-editor",ref:M,children:m&&(0,Vt.jsx)(uc,Yt({theme:Dv},P,{extensions:X,height:F,ref:R,onChange:function(e,t){N(e),o&&o(e,t)}}))}),(0,Vt.jsx)("div",{className:H,ref:I,children:d?d(x,!!f):(0,Vt.jsx)(av,Yt({},x,{"data-visible":!!f}))})]}),q=[r&&r+"-toolbar-warp",r&&y&&r+"-toolbar-bottom"].filter(Boolean).join(" "),V=c?s.filter(c):s,G=c?u.filter(c):u,K=v&&(0,Vt.jsxs)("div",{className:q,children:[(0,Vt.jsx)(Qv,Yt({},L,{toolbars:V})),(0,Vt.jsx)(Qv,Yt({},L,{toolbars:G,mode:!0}))]}),ee=y?(0,Vt.jsxs)(J.Fragment,{children:[Y,K]}):(0,Vt.jsxs)(J.Fragment,{children:[K,Y]});return(0,Vt.jsx)("div",{className:W,ref:Z,children:ee})}var $v={background:"#0f0f0f",foreground:"#defdef",caret:"#00FF00",selection:"#515151",selectionMatch:"#515151",gutterBackground:"#555",gutterForeground:"#FFFFFF",lineHighlight:"#314151"},Lv=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 _v({theme:r,settings:Yt({},$v,o),styles:[{tag:Lu.pJ.keyword,color:"darkgoldenrod",fontWeight:"bold"},{tag:Lu.pJ.atom,color:"#77F"},{tag:Lu.pJ.comment,color:"#7a7b7c",fontStyle:"italic"},{tag:Lu.pJ.number,color:"violet"},{tag:Lu.pJ.definition(Lu.pJ.variableName),color:"#fffabc"},{tag:Lu.pJ.variableName,color:"#abcdef"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#fffabc"},{tag:Lu.pJ.typeName,color:"#FFDD44"},{tag:Lu.pJ.tagName,color:"#def"},{tag:Lu.pJ.string,color:"#2b4"},{tag:Lu.pJ.meta,color:"#C9F"},{tag:Lu.pJ.bracket,color:"#8a8a8a"},{tag:Lu.pJ.attributeName,color:"#DDFF00"},{tag:Lu.pJ.heading,color:"aquamarine",fontWeight:"bold"},{tag:Lu.pJ.link,color:"blueviolet",fontWeight:"bold"}].concat((0,re.Z)(s))})}(),Fv={background:"#282b2e",foreground:"#a9b7c6",caret:"#00FF00",selection:"#343739",selectionMatch:"#343739",lineHighlight:"#343739"},Bv=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 _v({theme:r,settings:Yt({},Fv,o),styles:[{tag:[Lu.pJ.keyword,Lu.pJ.deleted,Lu.pJ.className],color:"#cc7832"},{tag:[Lu.pJ.number,Lu.pJ.literal,Lu.pJ.derefOperator],color:"#6897bb"},{tag:[Lu.pJ.link,Lu.pJ.variableName],color:"#629755"},{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"grey"},{tag:[Lu.pJ.meta,Lu.pJ.documentMeta],color:"#bbb529"},{tag:[Lu.pJ.string,Lu.pJ.propertyName,Lu.pJ.attributeValue],color:"#6a8759"},{tag:[Lu.pJ.heading,Lu.pJ.typeName],color:"#ffc66d"},{tag:[Lu.pJ.attributeName],color:"#a9b7c6"},{tag:[Lu.pJ.emphasis],fontStyle:"italic"}].concat((0,re.Z)(s))})}(),jv={background:"#272C35",foreground:"#9d9b97",caret:"#797977",selection:"#ffffff30",selectionMatch:"#2B323D",gutterBackground:"#272C35",gutterForeground:"#465063",gutterBorder:"transparent",lineHighlight:"#2B323D"},Uv=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 _v({theme:r,settings:Yt({},jv,o),styles:[{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.function(Lu.pJ.propertyName),Lu.pJ.url,Lu.pJ.processingInstruction],color:"hsl(207, 82%, 66%)"},{tag:[Lu.pJ.tagName,Lu.pJ.heading],color:"#e06c75"},{tag:Lu.pJ.comment,color:"#54636D"},{tag:[Lu.pJ.propertyName],color:"hsl(220, 14%, 71%)"},{tag:[Lu.pJ.attributeName,Lu.pJ.number],color:"hsl( 29, 54%, 61%)"},{tag:Lu.pJ.className,color:"hsl( 39, 67%, 69%)"},{tag:Lu.pJ.keyword,color:"hsl(286, 60%, 67%)"},{tag:[Lu.pJ.string,Lu.pJ.regexp,Lu.pJ.special(Lu.pJ.propertyName)],color:"#98c379"}].concat((0,re.Z)(s))})}(),zv={background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",gutterBorder:"transparent",lineHighlight:"#00000012"},Xv=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 _v({theme:r,settings:Yt({},zv,o),styles:[{tag:[Lu.pJ.meta,Lu.pJ.comment],color:"#804000"},{tag:[Lu.pJ.keyword,Lu.pJ.strong],color:"#0000FF"},{tag:[Lu.pJ.number],color:"#FF0080"},{tag:[Lu.pJ.string],color:"#FF0080"},{tag:[Lu.pJ.variableName],color:"#006600"},{tag:[Lu.pJ.escape],color:"#33CC33"},{tag:[Lu.pJ.tagName],color:"#1C02FF"},{tag:[Lu.pJ.heading],color:"#0C07FF"},{tag:[Lu.pJ.quote],color:"#000000"},{tag:[Lu.pJ.list],color:"#B90690"},{tag:[Lu.pJ.documentMeta],color:"#888888"},{tag:[Lu.pJ.function(Lu.pJ.variableName)],color:"#0000A2"},{tag:[Lu.pJ.definition(Lu.pJ.typeName),Lu.pJ.typeName],color:"#6D79DE"}].concat((0,re.Z)(s))})}(),Hv={background:"#28211c",foreground:"#9d9b97",caret:"#797977",selection:"#36312e",selectionMatch:"#4f382b",gutterBackground:"#28211c",gutterForeground:"#666666",lineHighlight:"rgba(255, 255, 255, 0.1)"},Wv=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 _v({theme:r,settings:Yt({},Hv,o),styles:[{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.link,Lu.pJ.bool],color:"#9b859d"},{tag:Lu.pJ.comment,color:"#937121"},{tag:[Lu.pJ.keyword,Lu.pJ.tagName],color:"#cf6a4c"},{tag:Lu.pJ.string,color:"#f9ee98"},{tag:Lu.pJ.bracket,color:"#9d9b97"},{tag:[Lu.pJ.variableName],color:"#5ea6ea"},{tag:Lu.pJ.definition(Lu.pJ.variableName),color:"#cf7d34"},{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.className],color:"#cf7d34"},{tag:[Lu.pJ.propertyName,Lu.pJ.attributeName],color:"#54be0d"}].concat((0,re.Z)(s))})}(),Yv={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)"},qv=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 _v({theme:r,settings:Yt({},Yv,o),styles:[{tag:[Lu.pJ.atom,Lu.pJ.number],color:"#bd93f9"},{tag:[Lu.pJ.comment],color:"#61A151"},{tag:[Lu.pJ.string],color:"#6A8759"},{tag:[Lu.pJ.variableName,Lu.pJ.operator],color:"#A9B7C6"},{tag:[Lu.pJ.meta,Lu.pJ.className],color:"#A9B7C6"},{tag:[Lu.pJ.propertyName],color:"#FFC66D"},{tag:[Lu.pJ.keyword],color:"#CC7832"},{tag:[Lu.pJ.tagName],color:"#ff79c6"},{tag:[Lu.pJ.typeName],color:"#ffb86c"}].concat((0,re.Z)(s))})}(),Vv={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)"},Gv=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 _v({theme:r,settings:Yt({},Vv,o),styles:[{tag:Lu.pJ.comment,color:"#6272a4"},{tag:Lu.pJ.string,color:"#f1fa8c"},{tag:Lu.pJ.atom,color:"#bd93f9"},{tag:Lu.pJ.meta,color:"#f8f8f2"},{tag:[Lu.pJ.keyword,Lu.pJ.operator,Lu.pJ.tagName],color:"#ff79c6"},{tag:[Lu.pJ.function(Lu.pJ.propertyName),Lu.pJ.propertyName],color:"#66d9ef"},{tag:[Lu.pJ.definition(Lu.pJ.variableName),Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.className,Lu.pJ.attributeName],color:"#50fa7b"},{tag:Lu.pJ.atom,color:"#bd93f9"}].concat((0,re.Z)(s))})}(),Jv={background:"#faf8f5",foreground:"#b29762",caret:"#93abdc",selection:"#e3dcce",selectionMatch:"#e3dcce",gutterBackground:"#faf8f5",gutterForeground:"#cdc4b1",gutterBorder:"transparent",lineHighlight:"#EFEFEF"},Kv=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 _v({theme:r,settings:Yt({},Jv,o),styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#b6ad9a"},{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.keyword,Lu.pJ.link,Lu.pJ.attributeName,Lu.pJ.quote],color:"#063289"},{tag:[Lu.pJ.emphasis,Lu.pJ.heading,Lu.pJ.tagName,Lu.pJ.propertyName,Lu.pJ.variableName],color:"#2d2006"},{tag:[Lu.pJ.typeName,Lu.pJ.url,Lu.pJ.string],color:"#896724"},{tag:[Lu.pJ.operator,Lu.pJ.string],color:"#1659df"},{tag:[Lu.pJ.propertyName],color:"#b29762"},{tag:[Lu.pJ.unit,Lu.pJ.punctuation],color:"#063289"}].concat((0,re.Z)(s))})}(),eO={background:"#2a2734",foreground:"#6c6783",caret:"#ffad5c",selection:"rgba(255, 255, 255, 0.1)",gutterBackground:"#2a2734",gutterForeground:"#545167",lineHighlight:"#36334280"},tO=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 _v({theme:r,settings:Yt({},eO,o),styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#6c6783"},{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.keyword,Lu.pJ.link,Lu.pJ.attributeName,Lu.pJ.quote],color:"#ffcc99"},{tag:[Lu.pJ.emphasis,Lu.pJ.heading,Lu.pJ.tagName,Lu.pJ.propertyName,Lu.pJ.className,Lu.pJ.variableName],color:"#eeebff"},{tag:[Lu.pJ.typeName,Lu.pJ.url],color:"#7a63ee"},{tag:Lu.pJ.operator,color:"#ffad5c"},{tag:Lu.pJ.string,color:"#ffb870"},{tag:[Lu.pJ.propertyName],color:"#9a86fd"},{tag:[Lu.pJ.unit,Lu.pJ.punctuation],color:"#e09142"}].concat((0,re.Z)(s))})}(),nO={background:"#fff",foreground:"#000",caret:"#FFFFFF",selection:"#d7d4f0",selectionMatch:"#d7d4f0",gutterBackground:"#f7f7f7",gutterForeground:"#999",lineHighlight:"#e8f2ff",gutterBorder:"transparent"},rO=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 _v({theme:r,settings:Yt({},nO,o),styles:[{tag:[Lu.pJ.comment],color:"#3F7F5F"},{tag:[Lu.pJ.documentMeta],color:"#FF1717"},{tag:Lu.pJ.keyword,color:"#7F0055",fontWeight:"bold"},{tag:Lu.pJ.atom,color:"#00f"},{tag:Lu.pJ.number,color:"#164"},{tag:Lu.pJ.propertyName,color:"#164"},{tag:[Lu.pJ.variableName,Lu.pJ.definition(Lu.pJ.variableName)],color:"#0000C0"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#0000C0"},{tag:Lu.pJ.string,color:"#2A00FF"},{tag:Lu.pJ.operator,color:"black"},{tag:Lu.pJ.tagName,color:"#170"},{tag:Lu.pJ.attributeName,color:"#00c"},{tag:Lu.pJ.link,color:"#219"}].concat((0,re.Z)(s))})}(),iO={background:"#fff",foreground:"#24292e",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#6e7781"},oO=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 _v({theme:r,settings:Yt({},iO,o),styles:[{tag:[Lu.pJ.standard(Lu.pJ.tagName),Lu.pJ.tagName],color:"#116329"},{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#6a737d"},{tag:[Lu.pJ.className,Lu.pJ.propertyName],color:"#6f42c1"},{tag:[Lu.pJ.variableName,Lu.pJ.attributeName,Lu.pJ.number,Lu.pJ.operator],color:"#005cc5"},{tag:[Lu.pJ.keyword,Lu.pJ.typeName,Lu.pJ.typeOperator,Lu.pJ.typeName],color:"#d73a49"},{tag:[Lu.pJ.string,Lu.pJ.meta,Lu.pJ.regexp],color:"#032f62"},{tag:[Lu.pJ.name,Lu.pJ.quote],color:"#22863a"},{tag:[Lu.pJ.heading],color:"#24292e",fontWeight:"bold"},{tag:[Lu.pJ.emphasis],color:"#24292e",fontStyle:"italic"},{tag:[Lu.pJ.deleted],color:"#b31d28",backgroundColor:"ffeef0"},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:"#e36209"},{tag:[Lu.pJ.url,Lu.pJ.escape,Lu.pJ.regexp,Lu.pJ.link],color:"#032f62"},{tag:Lu.pJ.link,textDecoration:"underline"},{tag:Lu.pJ.strikethrough,textDecoration:"line-through"},{tag:Lu.pJ.invalid,color:"#cb2431"}].concat((0,re.Z)(s))})}(),aO={background:"#0d1117",foreground:"#c9d1d9",caret:"#c9d1d9",selection:"#003d73",selectionMatch:"#003d73",lineHighlight:"#36334280"},sO=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 _v({theme:r,settings:Yt({},aO,o),styles:[{tag:[Lu.pJ.standard(Lu.pJ.tagName),Lu.pJ.tagName],color:"#7ee787"},{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#8b949e"},{tag:[Lu.pJ.className,Lu.pJ.propertyName],color:"#d2a8ff"},{tag:[Lu.pJ.variableName,Lu.pJ.attributeName,Lu.pJ.number,Lu.pJ.operator],color:"#79c0ff"},{tag:[Lu.pJ.keyword,Lu.pJ.typeName,Lu.pJ.typeOperator,Lu.pJ.typeName],color:"#ff7b72"},{tag:[Lu.pJ.string,Lu.pJ.meta,Lu.pJ.regexp],color:"#a5d6ff"},{tag:[Lu.pJ.name,Lu.pJ.quote],color:"#7ee787"},{tag:[Lu.pJ.heading],color:"#d2a8ff",fontWeight:"bold"},{tag:[Lu.pJ.emphasis],color:"#d2a8ff",fontStyle:"italic"},{tag:[Lu.pJ.deleted],color:"#ffdcd7",backgroundColor:"ffeef0"},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:"#ffab70"},{tag:Lu.pJ.link,textDecoration:"underline"},{tag:Lu.pJ.strikethrough,textDecoration:"line-through"},{tag:Lu.pJ.invalid,color:"#f97583"}].concat((0,re.Z)(s))})}(),lO={background:"#272822",foreground:"#FFFFFF",caret:"#FFFFFF",selection:"#49483E",selectionMatch:"#49483E",gutterBackground:"#272822",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},uO=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 _v({theme:r,settings:Yt({},lO,o),styles:[{tag:[Lu.pJ.comment,Lu.pJ.documentMeta],color:"#8292a2"},{tag:[Lu.pJ.number,Lu.pJ.bool,Lu.pJ.null,Lu.pJ.atom],color:"#ae81ff"},{tag:[Lu.pJ.attributeValue,Lu.pJ.className,Lu.pJ.name],color:"#e6db74"},{tag:[Lu.pJ.propertyName,Lu.pJ.attributeName],color:"#a6e22e"},{tag:[Lu.pJ.variableName],color:"#9effff"},{tag:[Lu.pJ.squareBracket],color:"#bababa"},{tag:[Lu.pJ.string,Lu.pJ.special(Lu.pJ.brace)],color:"#e6db74"},{tag:[Lu.pJ.regexp,Lu.pJ.className,Lu.pJ.typeName,Lu.pJ.definition(Lu.pJ.typeName)],color:"#66d9ef"},{tag:[Lu.pJ.definition(Lu.pJ.variableName),Lu.pJ.definition(Lu.pJ.propertyName),Lu.pJ.function(Lu.pJ.variableName)],color:"#fd971f"},{tag:[Lu.pJ.keyword,Lu.pJ.definitionKeyword,Lu.pJ.modifier,Lu.pJ.tagName,Lu.pJ.angleBracket],color:"#f92672"}].concat((0,re.Z)(s))})}(),cO={background:"#303841",foreground:"#FFFFFF",caret:"#FBAC52",selection:"#4C5964",selectionMatch:"#3A546E",gutterBackground:"#303841",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"};var hO=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 _v({theme:r,settings:Yt({},cO,o),styles:[{tag:[Lu.pJ.meta,Lu.pJ.comment],color:"#A2A9B5"},{tag:[Lu.pJ.attributeName,Lu.pJ.keyword],color:"#B78FBA"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#5AB0B0"},{tag:[Lu.pJ.string,Lu.pJ.regexp,Lu.pJ.attributeValue],color:"#99C592"},{tag:Lu.pJ.operator,color:"#f47954"},{tag:[Lu.pJ.tagName,Lu.pJ.modifier],color:"#E35F63"},{tag:[Lu.pJ.number,Lu.pJ.definition(Lu.pJ.tagName),Lu.pJ.className,Lu.pJ.definition(Lu.pJ.variableName)],color:"#fbac52"},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:"#E35F63"},{tag:Lu.pJ.variableName,color:"#539ac4"},{tag:[Lu.pJ.propertyName,Lu.pJ.typeName],color:"#629ccd"},{tag:Lu.pJ.propertyName,color:"#36b7b5"}].concat((0,re.Z)(s))})}(),fO={background:"#fff",foreground:"#3D3D3D",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#AFAFAF",lineHighlight:"#EDF4FF"};var dO,pO,mO,gO,vO,OO,yO,kO=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 _v({theme:r,settings:Yt({},fO,o),styles:[{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"#707F8D"},{tag:[Lu.pJ.typeName,Lu.pJ.typeOperator],color:"#aa0d91"},{tag:[Lu.pJ.keyword],color:"#aa0d91",fontWeight:"bold"},{tag:[Lu.pJ.string,Lu.pJ.meta],color:"#D23423"},{tag:[Lu.pJ.name],color:"#032f62"},{tag:[Lu.pJ.typeName],color:"#522BB2"},{tag:[Lu.pJ.variableName],color:"#23575C"},{tag:[Lu.pJ.definition(Lu.pJ.variableName)],color:"#327A9E"},{tag:[Lu.pJ.regexp,Lu.pJ.link],color:"#0e0eff"}].concat((0,re.Z)(s))})}(),bO={background:"#292A30",foreground:"#CECFD0",caret:"#fff",selection:"#727377",selectionMatch:"#727377",lineHighlight:"#2F3239"},SO=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 _v({theme:r,settings:Yt({},bO,o),styles:[{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"#7F8C98"},{tag:[Lu.pJ.keyword],color:"#FF7AB2",fontWeight:"bold"},{tag:[Lu.pJ.string,Lu.pJ.meta],color:"#FF8170"},{tag:[Lu.pJ.typeName],color:"#DABAFF"},{tag:[Lu.pJ.definition(Lu.pJ.variableName)],color:"#6BDFFF"},{tag:[Lu.pJ.name],color:"#6BAA9F"},{tag:[Lu.pJ.variableName],color:"#ACF2E4"},{tag:[Lu.pJ.regexp,Lu.pJ.link],color:"#FF8170"}].concat((0,re.Z)(s))})}(),xO='<div align="center">\n <h1 align="center">\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668</h1>\n</div>\n\n[![\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668](https://user-images.githubusercontent.com/1680273/188264183-a6b8cb6a-92e1-4a73-afc5-4f0234b26ed3.png)](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[![Markdown \u7f16\u8f91\u5668\u684c\u9762\u5e94\u7528](https://user-images.githubusercontent.com/1680273/188407235-ead43d61-2ef8-416a-926f-396d8b824b33.png)](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[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/wxmp?logo=docker)](https://hub.docker.com/r/wcjiang/wxmp) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/wcjiang/wxmp?logo=docker)](https://hub.docker.com/r/wcjiang/wxmp) [![Docker Pulls](https://img.shields.io/docker/pulls/wcjiang/wxmp?logo=docker)](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',wO=xO,TO={default:{label:"\u9ed8\u8ba4\u4e3b\u9898",value:Dv},abcdef:{label:"Abcdef Theme",value:Lv},androidstudio:{label:"Android Studio Theme",value:Bv},atomone:{label:"Atomone Theme",value:Uv},bbedit:{label:"Bbedit Theme",value:Xv},bespin:{label:"Bespin Theme",value:Wv},darcula:{label:"Darcula Theme",value:qv},dracula:{label:"Dracula Theme",value:Gv},duotoneLight:{label:"Duotone Light Theme",value:Kv},duotoneDark:{label:"Duotone Dark Theme",value:tO},eclipse:{label:"Eclipse Theme",value:rO},githubLight:{label:"Github Light Theme",value:oO},githubDark:{label:"Github Dark Theme",value:sO},okaidia:{label:"Okaidia Theme",value:uO},sublime:{label:"Sublime Theme",value:hO},xcodeLight:{label:"Xcode Light Theme",value:kO},xcodeDark:{label:"Xcode Dark Theme",value:SO}},CO={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: 16px;\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: 14px;\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: 16px;\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: 14px;\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: 16px;\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: 14px;\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: 16px;\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: 14px;\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:""}},EO={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:[]},AO=(Object.keys(CO).map((function(e){return CO[e].color})),J.createContext({preColor:"",setPreColor:function(){},isLoading:!0,setIsLoading:function(){},markdown:xO,setMarkdown:function(){},css:CO.underscore.value,setCss:function(){},previewTheme:"underscore",setPreviewTheme:function(){},theme:"default",setTheme:function(){}})),PO=Ki.div(dO||(dO=G([""]))),QO=Ki.div(pO||(pO=G(["\n position: relative;\n height: 2.8rem;\n"]))),_O=Ki.header(mO||(mO=G(["\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"]))),DO=Ki.article(gO||(gO=G(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0.6rem;\n"]))),NO=Ki(na)(vO||(vO=G(["\n max-width: 3.6rem;\n"]))),RO=Ki.h1(OO||(OO=G(["\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"]))),ZO=Ki.section(yO||(yO=G(["\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 MO(){var e=(0,J.useContext)(AO).isLoading;return(0,Vt.jsxs)(PO,{className:"wmde-markdown-color",children:[(0,Vt.jsx)(QO,{children:(0,Vt.jsxs)(_O,{className:"header",children:[(0,Vt.jsxs)(DO,{className:"logo",children:[(0,Vt.jsx)(NO,{width:28,height:28}),(0,Vt.jsxs)(RO,{children:["\u5fae\u4fe1\u516c\u4f17\u53f7\u6392\u7248\u7f16\u8f91\u5668",(0,Vt.jsxs)("sup",{children:[" v","2.3.3"," "]})]}),e&&(0,Vt.jsx)(ba,{})]}),(0,Vt.jsxs)(ZO,{children:[(0,Vt.jsx)(zt,{to:"/",children:"\u9996\u9875"}),(0,Vt.jsx)(zt,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"}),(0,Vt.jsx)(zt,{to:"/doc",children:"\u6587\u6863"}),(0,Vt.jsx)("dark-mode",{permanent:!0,dark:"Dark",light:"Light"}),(0,Vt.jsx)("a",{href:"https://github.com/jaywcjlove/wxmp",target:"__blank",children:(0,Vt.jsx)(ga,{width:23,height:23})})]})]})}),(0,Vt.jsx)(Pt,{})]})}var IO=1,$O=2,LO=3,FO=4,BO=5,jO=6,UO=7,zO=8,XO=9,HO=10,WO=11,YO=12,qO=13,VO=14,GO=15,JO=16,KO=17,ey=18,ty=19,ny=20,ry=21,iy=22,oy=23,ay=24,sy=25,ly=0;function uy(e){return e>=48&&e<=57}function cy(e){return uy(e)||e>=65&&e<=70||e>=97&&e<=102}function hy(e){return e>=65&&e<=90}function fy(e){return function(e){return hy(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function dy(e){return fy(e)||uy(e)||45===e}function py(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function my(e){return 10===e||13===e||12===e}function gy(e){return my(e)||32===e||9===e}function vy(e,t){return 92===e&&(!my(t)&&t!==ly)}function Oy(e,t,n){return 45===e?fy(t)||45===t||vy(t,n):!!fy(e)||92===e&&vy(e,t)}function yy(e,t,n){return 43===e||45===e?uy(t)?2:46===t&&uy(n)?3:0:46===e?uy(t)?2:0:uy(e)?1:0}function ky(e){return 65279===e||65534===e?1:0}for(var by=new Array(128),Sy=130,xy=131,wy=132,Ty=133,Cy=0;Cy<by.length;Cy++)by[Cy]=gy(Cy)&&Sy||uy(Cy)&&xy||fy(Cy)&&wy||py(Cy)&&Ty||Cy||128;function Ey(e){return e<128?by[e]:wy}function Ay(e,t){return t<e.length?e.charCodeAt(t):0}function Py(e,t,n){return 13===n&&10===Ay(e,t+1)?2:1}function Qy(e,t,n){var r=e.charCodeAt(t);return hy(r)&&(r|=32),r===n}function _y(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(hy(a)&&(a|=32),a!==o)return!1}return!0}function Dy(e,t){for(;t<e.length&&gy(e.charCodeAt(t));t++);return t}function Ny(e,t){for(;t<e.length&&uy(e.charCodeAt(t));t++);return t}function Ry(e,t){if(cy(Ay(e,(t+=2)-1))){for(var n=Math.min(e.length,t+5);t<n&&cy(Ay(e,t));t++);var r=Ay(e,t);gy(r)&&(t+=Py(e,t,r))}return t}function Zy(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(!dy(n)){if(!vy(n,Ay(e,t+1)))break;t=Ry(e,t)-1}}return t}function My(e,t){var n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),uy(n)&&(t=Ny(e,t+1),n=e.charCodeAt(t)),46===n&&uy(e.charCodeAt(t+1))&&(t=Ny(e,t+=2)),Qy(e,t,101)){var r=0;45!==(n=e.charCodeAt(t+1))&&43!==n||(r=1,n=e.charCodeAt(t+2)),uy(n)&&(t=Ny(e,t+1+r+1))}return t}function Iy(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(41===n){t++;break}vy(n,Ay(e,t+1))&&(t=Ry(e,t))}return t}function $y(e){if(1===e.length&&!cy(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 Ly=["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"],Fy=16384;function By(){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,Fy)):e}function jy(e){for(var t=e.source,n=t.length,r=t.length>0?ky(t.charCodeAt(0)):0,i=By(e.lines,n),o=By(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 Uy=function(){function e(){(0,ie.Z)(this,e),this.lines=null,this.columns=null,this.computed=!1}return(0,oe.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||jy(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||jy(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}(),zy=16777215,Xy=24,Hy=new Map([[$O,iy],[ry,iy],[ty,ny],[oy,ay]]),Wy=function(){function e(t,n){(0,ie.Z)(this,e),this.setSource(t,n)}return(0,oe.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=By(this.offsetAndType,e.length+1),i=By(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&zy;for(s=i[c],a=s>>Xy,i[o]=c,i[c++]=o;c<o;c++)i[c]===n&&(i[c]=o);break;case ry:case $O:case ty:case oy:i[o]=s,a=Hy.get(e),s=a<<Xy|o}r[o++]=e<<Xy|u,-1===l&&(l=t)})),r[o]=0|n,i[o]=n,i[n]=n;0!==s;){var u=s&zy;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]>>Xy:0}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&zy:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&_y(this.source,this.offsetAndType[e-1]&zy,this.offsetAndType[e]&zy,t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&zy:this.offsetAndType[this.tokenCount]&zy: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)===XO&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===XO&&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]&zy,t=this.offsetAndType[t],this.tokenType=t>>Xy,this.tokenEnd=t&zy):(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>>Xy,this.tokenEnd=e&zy):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===qO||this.tokenType===sy;)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]&zy: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&zy;n=o,e(i>>Xy,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:Ly[n],chunk:e.source.substring(r,i),balance:e.balance[o]}})),t}}]),e}();function Yy(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){return Oy(n(u=My(e,u)),n(u+1),n(u+2))?(a=YO,void(u=Zy(e,u))):37===n(u)?(a=WO,void u++):void(a=HO)}function i(){var t=u;return u=Zy(e,u),_y(e,t,u,"url")&&40===n(u)?34===n(u=Dy(e,u+1))||39===n(u)?(a=$O,void(u=t+4)):void function(){for(a=UO,u=Dy(e,u);u<e.length;u++){var t=e.charCodeAt(u);switch(Ey(t)){case 41:return void u++;case Sy:return 41===n(u=Dy(e,u))||u>=e.length?void(u<e.length&&u++):(u=Iy(e,u),void(a=zO));case 34:case 39:case 40:case Ty:return u=Iy(e,u),void(a=zO);case 92:if(vy(t,n(u+1))){u=Ry(e,u)-1;break}return u=Iy(e,u),void(a=zO)}}}():40===n(u)?(a=$O,void u++):void(a=IO)}function o(t){for(t||(t=n(u++)),a=BO;u<e.length;u++){var r=e.charCodeAt(u);switch(Ey(r)){case t:return void u++;case Sy:if(my(r))return u+=Py(e,u,r),void(a=jO);break;case 92:if(u===e.length-1)break;var i=n(u+1);my(i)?u+=Py(e,u+1,i):vy(r,i)&&(u=Ry(e,u)-1)}}}for(var a,s=(e=String(e||"")).length,l=ky(n(0)),u=l;u<s;){var c=e.charCodeAt(u);switch(Ey(c)){case Sy:a=qO,u=Dy(e,u+1);break;case 34:o();break;case 35:dy(n(u+1))||vy(n(u+1),n(u+2))?(a=FO,u=Zy(e,u+1)):(a=XO,u++);break;case 39:o();break;case 40:a=ry,u++;break;case 41:a=iy,u++;break;case 43:yy(c,n(u+1),n(u+2))?r():(a=XO,u++);break;case 44:a=ey,u++;break;case 45:yy(c,n(u+1),n(u+2))?r():45===n(u+1)&&62===n(u+2)?(a=GO,u+=3):Oy(c,n(u+1),n(u+2))?i():(a=XO,u++);break;case 46:yy(c,n(u+1),n(u+2))?r():(a=XO,u++);break;case 47:42===n(u+1)?(a=sy,u=-1===(u=e.indexOf("*/",u+2))?e.length:u+2):(a=XO,u++);break;case 58:a=JO,u++;break;case 59:a=KO,u++;break;case 60:33===n(u+1)&&45===n(u+2)&&45===n(u+3)?(a=VO,u+=4):(a=XO,u++);break;case 64:Oy(n(u+1),n(u+2),n(u+3))?(a=LO,u=Zy(e,u+1)):(a=XO,u++);break;case 91:a=ty,u++;break;case 92:vy(c,n(u+1))?i():(a=XO,u++);break;case 93:a=ny,u++;break;case 123:a=oy,u++;break;case 125:a=ay,u++;break;case xy:r();break;case wy:i();break;default:a=XO,u++}t(a,l,l=u)}}var qy=null,Vy=function(e){function t(){(0,ie.Z)(this,t),this.head=null,this.tail=null,this.cursor=null}return(0,oe.Z)(t,[{key:"createItem",value:function(e){return t.createItem(e)}},{key:"allocateCursor",value:function(e,t){var n;return null!==qy?(n=qy,qy=qy.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=qy,qy=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:Io().mark((function e(){var t;return Io().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,ne.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,re.Z)(this)}},{key:"toJSON",value:function(){return(0,re.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,ne.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 Gy(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 Jy=100,Ky=60,ek=" ";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+=(ek.length-1)*(a[r-1].substr(0,i-1).match(/\t/g)||[]).length)>Jy&&(c=i-Ky+3,i=Ky-2);for(var h=s;h<=l;h++)h>=0&&h<a.length&&(a[h]=a[h].replace(/\t/g,ek),a[h]=(c>0&&a[h].length>c?"\u2026":"")+a[h].substr(c,Jy-2)+(a[h].length>c+Jy-1?"\u2026":""));return[o(s,r),new Array(i+u+2).join("-")+"^",o(r,l)].filter(Boolean).join("\n")}function nk(e,t,n,r,i){return Object.assign(Gy("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 rk(e){for(var t=this.createList(),n=!1,r={recognizer:e};!this.eof;){switch(this.tokenType){case sy:this.next();continue;case qO: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 ik=function(){},ok=33,ak=35,sk=59,lk=123,uk=0;function ck(e){return function(){return this[e]()}}function hk(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 fk(e){var t="",n="<unknown>",r=!1,i=ik,o=!1,a=new Uy,s=Object.assign(new Wy,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:hk(e.atrule),pseudo:hk(e.pseudo),node:hk(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]=ck(e.parseContext[n])}return(0,on.Z)((0,on.Z)({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:rk,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return e===lk?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return e===lk||e===sk?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return e===ok||e===sk?1:0},consumeUntilSemicolonIncluded:function(e){return e===sk?2:0},createList:function(){return new Vy},createSingleNodeList:function(e){return(new Vy).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(sn){if(o)throw sn;var r=t.call(this,n);return o=!0,i(sn,r),o=!1,r}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==qO)return t}while(t!==uk);return uk},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 Qy(t,e,n)},cmpStr:function(e,n,r){return _y(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($O),e},consumeNumber:function(e){var n=t.substring(this.tokenStart,My(t,this.tokenStart));return this.eat(e),n},eat:function(e){if(this.tokenType!==e){var t=Ly[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 IO:this.tokenType===$O||this.tokenType===UO?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case FO:this.isDelim(ak)&&(this.next(),r++,n="Name is expected");break;case WO:this.tokenType===HO&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent:function(e){this.tokenType===IO&&!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&&gy(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new nk(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,l){t=e,l=l||{},s.setSource(t,Yy),a.setSource(t,l.offset,l.line,l.column),n=l.filename||"<unknown>",r=Boolean(l.positions),i="function"===typeof l.onParseError?l.onParseError:ik,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===sy){var i=s.getLocation(n,r),o=_y(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:nk,config:s.config})}var dk=n(865),pk=new Set(["Atrule","Selector","Declaration"]);var mk=function(e,t){if(e===XO&&(e=t),"string"===typeof e){var n=e.charCodeAt(0);return n>127?32768:n<<8}return e},gk=[[IO,IO],[IO,$O],[IO,UO],[IO,zO],[IO,"-"],[IO,HO],[IO,WO],[IO,YO],[IO,GO],[IO,ry],[LO,IO],[LO,$O],[LO,UO],[LO,zO],[LO,"-"],[LO,HO],[LO,WO],[LO,YO],[LO,GO],[FO,IO],[FO,$O],[FO,UO],[FO,zO],[FO,"-"],[FO,HO],[FO,WO],[FO,YO],[FO,GO],[YO,IO],[YO,$O],[YO,UO],[YO,zO],[YO,"-"],[YO,HO],[YO,WO],[YO,YO],[YO,GO],["#",IO],["#",$O],["#",UO],["#",zO],["#","-"],["#",HO],["#",WO],["#",YO],["#",GO],["-",IO],["-",$O],["-",UO],["-",zO],["-","-"],["-",HO],["-",WO],["-",YO],["-",GO],[HO,IO],[HO,$O],[HO,UO],[HO,zO],[HO,HO],[HO,WO],[HO,YO],[HO,"%"],[HO,GO],["@",IO],["@",$O],["@",UO],["@",zO],["@","-"],["@",GO],[".",HO],[".",WO],[".",YO],["+",HO],["+",WO],["+",YO],["/","*"]],vk=gk.concat([[IO,FO],[YO,FO],[FO,FO],[LO,ry],[LO,BO],[LO,JO],[WO,WO],[WO,YO],[WO,$O],[WO,"-"],[iy,IO],[iy,$O],[iy,WO],[iy,YO],[iy,FO],[iy,"-"]]);function Ok(e){var t=new Set(e.map((function(e){var t=(0,te.Z)(e,2),n=t[0],r=t[1];return mk(n)<<16|mk(r)})));return function(e,n,r){var i=mk(n,r),o=r.charCodeAt(0);return(45===o&&n!==IO&&n!==$O&&n!==GO||43===o?t.has(e<<16|o<<8):t.has(e<<16|i))&&this.emit(" ",qO,!0),i}}var yk=Ok(gk),kk=Ok(vk),bk=92;function Sk(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 xk(e){var t=this;Yy(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:kk,token:function(e,t){o=this.tokenBefore(o,e,t),this.emit(t,e,!1),e===XO&&t.charCodeAt(0)===bk&&this.emit("\n",qO,!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 dk.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&&pk.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&&pk.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:Sk,token:function(e,t){return a.token(e,t)},tokenize:xk};return a.node(e),a.result()}}var Tk=Object.prototype.hasOwnProperty,Ck=function(){};function Ek(e){return"function"===typeof e?e:Ck}function Ak(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Pk(e,t){var n=t.structure,r=[];for(var i in n)if(!1!==Tk.call(n,i)){var o=n[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);var s,l=(0,ne.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 Qk(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,ne.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 _k(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 Dk(e){var t=function(e){var t={};for(var n in e.node)if(Tk.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]=Pk(0,r)}return t}(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(var a in t)Tk.call(t,a)&&null!==t[a]&&(n[a]=Qk(t[a],!1),r[a]=Qk(t[a],!0));var s=_k(n),l=_k(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=Ck,h=Ck,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=Ek(a.enter),h=Ek(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=Ak(c,a.visit),h=Ak(h,a.visit)}if(c===Ck&&h===Ck)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 Nk(e){return e}function Rk(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 Rk(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 Rk(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 Zk(e,t){var n=Nk,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)),Rk(e,n,r,i)}var Mk={offset:0,line:1,column:1};function Ik(e,t){var n=e&&e.loc&&e.loc[t];return n?"line"in n?$k(n):n:null}function $k(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 Lk=function(e,t){var n=Gy("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},Fk=function(e,t,n,r){var i=Gy("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=Ik(s||t,"end")||$k(Mk,h),r=$k(n)):(n=Ik(s,"start")||$k(Ik(t,"start")||Mk,h.slice(0,l)),r=Ik(s,"end")||$k(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?Zk(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},Bk=new Map,jk=new Map,Uk=45,zk=function(e){if(Bk.has(e))return Bk.get(e);var t=e.toLowerCase(),n=Bk.get(t);if(void 0===n){var r=Hk(t,0),i=r?"":Wk(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return Bk.set(e,n),n},Xk=function(e){if(jk.has(e))return jk.get(e);var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");var r=Hk(t,n.length);if(!r&&(t=t.toLowerCase(),jk.has(t))){var i=jk.get(t);return jk.set(e,i),i}var o=r?"":Wk(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 jk.set(e,s),s};function Hk(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Uk&&e.charCodeAt(t+1)===Uk}function Wk(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Uk&&e.charCodeAt(t+1)!==Uk){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var Yk=["initial","inherit","unset","revert","revert-layer"],qk=43,Vk=45,Gk=!0;function Jk(e,t){return null!==e&&e.type===XO&&e.value.charCodeAt(0)===t}function Kk(e,t,n){for(;null!==e&&(e.type===qO||e.type===sy);)e=n(++t);return t}function eb(e,t,n,r){if(!e)return 0;var i=e.value.charCodeAt(t);if(i===qk||i===Vk){if(n)return 0;t++}for(;t<e.value.length;t++)if(!uy(e.value.charCodeAt(t)))return 0;return r+1}function tb(e,t,n){var r=!1,i=Kk(e,t,n);if(null===(e=n(i)))return t;if(e.type!==HO){if(!Jk(e,qk)&&!Jk(e,Vk))return t;if(r=!0,i=Kk(n(++i),i,n),null===(e=n(i))||e.type!==HO)return 0}if(!r){var o=e.value.charCodeAt(0);if(o!==qk&&o!==Vk)return 0}return eb(e,r?0:1,r,i)}var nb=45,rb=63;function ib(e,t){return null!==e&&e.type===XO&&e.value.charCodeAt(0)===t}function ob(e,t,n){for(var r=0,i=t;i<e.value.length;i++){var o=e.value.charCodeAt(i);if(o===nb&&n&&0!==r)return ob(e,t+r+1,!1),6;if(!cy(o))return 0;if(++r>6)return 0}return r}function ab(e,t,n){if(!e)return 0;for(;ib(n(t),rb);){if(++e>6)return 0;t++}return t}var sb=["calc(","-moz-calc(","-webkit-calc("],lb=new Map([[$O,iy],[ry,iy],[ty,ny],[oy,ay]]);function ub(e,t){return t<e.length?e.charCodeAt(t):0}function cb(e,t){return _y(e,0,e.length,t)}function hb(e,t){for(var n=0;n<t.length;n++)if(cb(e,t[n]))return!0;return!1}function fb(e,t){return t===e.length-2&&(92===ub(e,t)&&uy(ub(e,t+1)))}function db(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 pb(e){return function(t,n,r){return null===t?0:t.type===$O&&hb(t.value,sb)?function(e,t){var n=0,r=[],i=0;e:do{switch(e.type){case ay:case iy:case ny:if(e.type!==n)break e;if(n=r.pop(),0===r.length){i++;break e}break;case $O:case ry:case ty:case oy:r.push(n),n=lb.get(e.type)}i++}while(e=t(i));return i}(t,n):e(t,n,r)}}function mb(e){return function(t){return null===t||t.type!==e?0:1}}function gb(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==YO)return 0;var i=My(t.value,0);if(null!==e){var o=t.value.indexOf("\\",i),a=-1!==o&&fb(t.value,o)?t.value.substring(i,o):t.value.substr(i);if(!1===e.has(a.toLowerCase()))return 0}return db(r,t.value,i)?0:1}}function vb(e){return"function"!==typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===HO&&0===Number(t.value)?1:e(t,n,r)}}var Ob={"ident-token":mb(IO),"function-token":mb($O),"at-keyword-token":mb(LO),"hash-token":mb(FO),"string-token":mb(BO),"bad-string-token":mb(jO),"url-token":mb(UO),"bad-url-token":mb(zO),"delim-token":mb(XO),"number-token":mb(HO),"percentage-token":mb(WO),"dimension-token":mb(YO),"whitespace-token":mb(qO),"CDO-token":mb(VO),"CDC-token":mb(GO),"colon-token":mb(JO),"semicolon-token":mb(KO),"comma-token":mb(ey),"[-token":mb(ty),"]-token":mb(ny),"(-token":mb(ry),")-token":mb(iy),"{-token":mb(oy),"}-token":mb(ay)},yb={string:mb(BO),ident:mb(IO),percentage:pb((function(e,t,n){return null===e||e.type!==WO||db(n,e.value,e.value.length-1)?0:1})),zero:vb(),number:pb((function(e,t,n){if(null===e)return 0;var r=My(e.value,0);return r===e.value.length||fb(e.value,r)?db(n,e.value,r)?0:1:0})),integer:pb((function(e,t,n){if(null===e||e.type!==HO)return 0;for(var r=43===ub(e.value,0)||45===ub(e.value,0)?1:0;r<e.value.length;r++)if(!uy(ub(e.value,r)))return 0;return db(n,e.value,r)?0:1})),"custom-ident":function(e){if(null===e||e.type!==IO)return 0;var t=e.value.toLowerCase();return hb(t,Yk)||cb(t,"default")?0:1},"custom-property-name":function(e){return null===e||e.type!==IO||45!==ub(e.value,0)||45!==ub(e.value,1)?0:1},"hex-color":function(e){if(null===e||e.type!==FO)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(!cy(ub(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||e.type!==FO?0:Oy(ub(e.value,1),ub(e.value,2),ub(e.value,3))?1:0},"an-plus-b":function(e,t){var n=0;if(!e)return 0;if(e.type===HO)return eb(e,0,false,n);if(e.type===IO&&e.value.charCodeAt(0)===Vk){if(!Qy(e.value,1,110))return 0;switch(e.value.length){case 2:return tb(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Vk?0:(n=Kk(t(++n),n,t),eb(e=t(n),0,Gk,n));default:return e.value.charCodeAt(2)!==Vk?0:eb(e,3,Gk,n)}}else if(e.type===IO||Jk(e,qk)&&t(n+1).type===IO){if(e.type!==IO&&(e=t(++n)),null===e||!Qy(e.value,0,110))return 0;switch(e.value.length){case 1:return tb(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Vk?0:(n=Kk(t(++n),n,t),eb(e=t(n),0,Gk,n));default:return e.value.charCodeAt(1)!==Vk?0:eb(e,2,Gk,n)}}else if(e.type===YO){for(var r=e.value.charCodeAt(0),i=r===qk||r===Vk?1:0,o=i;o<e.value.length&&uy(e.value.charCodeAt(o));o++);return o===i?0:Qy(e.value,o,110)?o+1===e.value.length?tb(t(++n),n,t):e.value.charCodeAt(o+1)!==Vk?0:o+2===e.value.length?(n=Kk(t(++n),n,t),eb(e=t(n),0,Gk,n)):eb(e,o+2,Gk,n):0}return 0},urange:function(e,t){var n=0;if(null===e||e.type!==IO||!Qy(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(ib(e,43))return null===(e=t(++n))?0:e.type===IO?ab(ob(e,0,!0),++n,t):ib(e,rb)?ab(1,++n,t):0;if(e.type===HO){var r=ob(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===YO||e.type===HO?function(e,t){return e.value.charCodeAt(0)===t}(e,nb)&&ob(e,1,!1)?n+1:0:ab(r,n,t)}return e.type===YO?ab(ob(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 jO:case zO:break e;case ay:case iy:case ny:if(e.type!==n)break e;n=r.pop();break;case KO:if(0===n)break e;break;case XO:if(0===n&&"!"===e.value)break e;break;case $O:case ry:case ty:case oy:r.push(n),n=lb.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 jO:case zO:break e;case ay:case iy:case ny:if(e.type!==n)break e;n=r.pop();break;case $O:case ry:case ty:case oy:r.push(n),n=lb.get(e.type)}i++}while(e=t(i));return i}};function kb(e){return(0,on.Z)((0,on.Z)((0,on.Z)({},Ob),yb),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:pb(gb(null)),angle:pb(gb(n)),decibel:pb(gb(r)),frequency:pb(gb(i)),flex:pb(gb(o)),length:pb(vb(gb(a))),resolution:pb(gb(s)),semitones:pb(gb(l)),time:pb(gb(u))}}(e))}var bb=["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"],Sb=["deg","grad","rad","turn"],xb=["s","ms"],wb=["hz","khz"],Tb=["dpi","dpcm","dppx","x"],Cb=["fr"],Eb=["db"],Ab=["st"];function Pb(e,t,n){return Object.assign(Gy("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}var Qb=function(){function e(t){(0,ie.Z)(this,e),this.str=t,this.pos=0}return(0,oe.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 Pb(e,this.str,this.pos)}}]),e}(),_b=9,Db=10,Nb=12,Rb=13,Zb=32,Mb=33,Ib=35,$b=38,Lb=39,Fb=40,Bb=41,jb=42,Ub=43,zb=44,Xb=45,Hb=60,Wb=62,Yb=63,qb=64,Vb=91,Gb=93,Jb=123,Kb=124,eS=125,tS=8734,nS=new Uint8Array(128).map((function(e,t){return/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0})),rS={" ":1,"&&":2,"||":3,"|":4};function iS(e){return e.substringToPos(e.findWsEnd(e.pos))}function oS(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n>=128||0===nS[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function aS(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 sS(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 lS(e){var t,n=null;return e.eat(Jb),t=aS(e),e.charCode()===zb?(e.pos++,e.charCode()!==eS&&(n=aS(e))):n=t,e.eat(eS),{min:Number(t),max:n?Number(n):0}}function uS(e,t){var n=function(e){var t=null,n=!1;switch(e.charCode()){case jb:e.pos++,t={min:0,max:0};break;case Ub:e.pos++,t={min:1,max:0};break;case Yb:e.pos++,t={min:0,max:1};break;case Ib:e.pos++,n=!0,e.charCode()===Jb?t=lS(e):e.charCode()===Yb?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Jb:t=lS(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()===Ib&&e.charCodeAt(e.pos-1)===Ub?uS(e,n):n):t}function cS(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function hS(e){var t,n=null;return e.eat(Hb),t=oS(e),e.charCode()===Fb&&e.nextCharCode()===Bb&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Vb&&(iS(e),n=function(e){var t=null,n=null,r=1;return e.eat(Vb),e.charCode()===Xb&&(e.peek(),r=-1),-1==r&&e.charCode()===tS?e.peek():(t=r*Number(aS(e)),0!==nS[e.charCode()]&&(t+=oS(e))),iS(e),e.eat(zb),iS(e),e.charCode()===tS?e.peek():(r=1,e.charCode()===Xb&&(e.peek(),r=-1),n=r*Number(aS(e)),0!==nS[e.charCode()]&&(n+=oS(e))),e.eat(Gb),{type:"Range",min:t,max:n}}(e)),e.eat(Wb),uS(e,{type:"Type",name:t,opts:n})}function fS(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 rS[e]-rS[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 dS(e){for(var t,n=[],r={},i=null,o=e.pos;t=pS(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:fS(n,r)||" ",disallowEmpty:!1,explicit:!1}}function pS(e){var t=e.charCode();if(t<128&&1===nS[t])return function(e){var t=oS(e);return e.charCode()===Fb?(e.pos++,{type:"Function",name:t}):uS(e,{type:"Keyword",name:t})}(e);switch(t){case Gb:break;case Vb:return uS(e,function(e){var t;return e.eat(Vb),t=dS(e),e.eat(Gb),t.explicit=!0,e.charCode()===Mb&&(e.pos++,t.disallowEmpty=!0),t}(e));case Hb:return e.nextCharCode()===Lb?function(e){var t;return e.eat(Hb),e.eat(Lb),t=oS(e),e.eat(Lb),e.eat(Wb),uS(e,{type:"Property",name:t})}(e):hS(e);case Kb:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Kb?2:1))};case $b:return e.pos++,e.eat($b),{type:"Combinator",value:"&&"};case zb:return e.pos++,{type:"Comma"};case Lb:return uS(e,{type:"String",value:sS(e)});case Zb:case _b:case Db:case Rb:case Nb:return{type:"Spaces",value:iS(e)};case qb:return(t=e.nextCharCode())<128&&1===nS[t]?(e.pos++,{type:"AtKeyword",name:oS(e)}):cS(e);case jb:case Ub:case Yb:case Ib:case Mb:break;case Jb:if((t=e.nextCharCode())<48||t>57)return cS(e);break;default:return cS(e)}}function mS(e){var t=new Qb(e),n=dS(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var gS=function(){};function vS(e){return"function"===typeof e?e:gS}var OS={decorator:function(e){var t=[],n=null;return(0,on.Z)((0,on.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 yS(e,t){return"string"===typeof e?function(e){var t=[];return Yy(e,(function(n,r,i){return t.push({type:n,value:e.slice(r,i),node:null})})),t}(e):t.generate(e,OS)}var kS={type:"Match"},bS={type:"Mismatch"},SS={type:"DisallowEmpty"},xS=40,wS=41;function TS(e,t,n){return t===kS&&n===bS||e===kS&&t===kS&&n===kS?e:("If"===e.type&&e.else===bS&&t===kS&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function CS(e){return e.length>2&&e.charCodeAt(e.length-2)===xS&&e.charCodeAt(e.length-1)===wS}function ES(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&CS(e.name)}function AS(e,t,n){switch(e){case" ":for(var r=kS,i=t.length-1;i>=0;i--){r=TS(t[i],r,bS)}return r;case"|":for(var o=bS,a=null,s=t.length-1;s>=0;s--){var l=t[s];if(ES(l)&&(null===a&&s>0&&ES(t[s-1])&&(o=TS({type:"Enum",map:a=Object.create(null)},kS,o)),null!==a)){var u=(CS(l.name)?l.name.slice(0,-1):l.name).toLowerCase();if(u in a===!1){a[u]=l;continue}}a=null,o=TS(l,kS,o)}return o;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(var c=bS,h=function(){var n,r=t[f];n=t.length>1?AS(e,t.filter((function(e){return e!==r})),!1):kS,c=TS(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?kS:bS,p=function(){var n,r=t[m];n=t.length>1?AS(e,t.filter((function(e){return e!==r})),!0):kS,d=TS(r,n,d)},m=t.length-1;m>=0;m--)p();return d}}function PS(e){if("function"===typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":var t=AS(e.combinator,e.terms.map(PS),!1);return e.disallowEmpty&&(t=TS(t,SS,bS)),t;case"Multiplier":return function(e){var t=kS,n=PS(e.term);if(0===e.max)n=TS(n,SS,bS),(t=TS(n,null,bS)).then=TS(kS,kS,t),e.comma&&(t.then.else=TS({type:"Comma",syntax:e},t,bS));else for(var r=e.min||1;r<=e.max;r++)e.comma&&t!==kS&&(t=TS({type:"Comma",syntax:e},t,bS)),t=TS(n,TS(kS,kS,t),bS);if(0===e.min)t=TS(kS,kS,t);else for(var i=0;i<e.min-1;i++)e.comma&&t!==kS&&(t=TS({type:"Comma",syntax:e},t,bS)),t=TS(n,t,bS);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 QS(e,t){return"string"===typeof e&&(e=mS(e)),{type:"MatchGraph",match:PS(e),syntax:t||null,source:e}}var _S=Object.prototype.hasOwnProperty,DS=0,NS=1,RS=2,ZS=3,MS="Match",IS="Mismatch",$S="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",LS=15e3;function FS(e){for(var t=null,n=null,r=e;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}function BS(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 jS(e){return null===e||(e.type===ey||e.type===$O||e.type===ry||e.type===ty||e.type===oy||function(e){return e.type===XO&&"?"!==e.value}(e))}function US(e){return null===e||(e.type===iy||e.type===ny||e.type===ay||e.type===XO&&"/"===e.value)}function zS(e,t,n){function r(){do{v++,g=v<e.length?e[v]:null}while(null!==g&&(g.type===qO||g.type===sy))}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:NS,syntax:t.syntax,token:g,prev:y},r(),d=null,v>O&&(O=v)}function u(){y=y.type===RS?y.prev:{type:ZS,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:DS,syntax:null,token:null,prev:null};for(r();null===m&&++p<LS;)switch(t.type){case"Match":if(null===h){if(null!==g&&(v!==e.length-1||"\\0"!==g.value&&"\\9"!==g.value)){t=bS;break}m=MS;break}if((t=h.nextState)===SS){if(h.matchStack===y){t=bS;break}t=kS}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=IS;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!==bS&&s(t.else),t.then!==kS&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":var k=t.syntax.terms;if(t.index===k.length){if(0===t.mask||t.syntax.all){t=bS;break}t=kS;break}if(t.mask===(1<<k.length)-1){t=kS;break}for(;t.index<k.length;t.index++){var b=1<<t.index;if(0===(t.mask&b)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|b}),t=k[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].*$/,"")),_S.call(t.map,S)){t=t.map[S];break}}t=bS;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=kS}else t=bS;break;case"Type":case"Property":var T="Type"===t.type?"types":"properties",C=_S.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===IO||"length"===t.name&&"0"===g.value){null===d&&(d=o(t,f)),t=bS;break}c={syntax:t.syntax,opts:t.syntax.opts||null!==c&&c.opts||null,prev:c},y={type:RS,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].*$/,"")),BS(A,E)){l(),t=kS;break}}t=bS;break;case"AtKeyword":case"Function":if(null!==g&&BS(g.value,t.name)){l(),t=kS;break}t=bS;break;case"Token":if(null!==g&&g.value===t.value){l(),t=kS;break}t=bS;break;case"Comma":null!==g&&g.type===ey?jS(y.token)?t=bS:(l(),t=US(g)?bS:kS):t=jS(y.token)||US(g)?kS:bS;break;case"String":for(var P="",Q=v;Q<e.length&&P.length<t.value.length;Q++)P+=e[Q].value;if(BS(P,t.value)){for(;v<Q;)l();t=kS}else t=bS;break;default:throw new Error("Unknown node type: "+t.type)}switch(p,m){case null:console.warn("[csstree-match] BREAK after "+LS+" iterations"),m=$S,y=null;break;case MS:for(;null!==c;)u();break;default:y=null}return{tokens:e,reason:m,iterations:p,match:y,longestMatch:O}}function XS(e,t,n){var r=zS(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=FS(i).prev;null!==i;){switch(i.type){case RS:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case ZS: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 HS(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 WS(e,t){return VS(this,e,(function(e){return"Type"===e.type&&e.name===t}))}function YS(e,t){return VS(this,e,(function(e){return"Property"===e.type&&e.name===t}))}function qS(e){return VS(this,e,(function(e){return"Keyword"===e.type}))}function VS(e,t,n){var r=HS.call(e,t);return null!==r&&r.some(n)}function GS(e){return"node"in e?e.node:GS(e.match[0])}function JS(e){return"node"in e?e.node:JS(e.match[e.match.length-1])}function KS(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=GS(a),l=JS(a);e.syntax.walk(t,(function(e,t,n){if(e===s){var r=new Vy;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 ex=Object.prototype.hasOwnProperty;function tx(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function nx(e){return Boolean(e)&&tx(e.offset)&&tx(e.line)&&tx(e.column)}function rx(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!==ex.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(nx(n.loc.start)){if(nx(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 Vy)}}}else r(n,"Unknown field `"+i+"` for "+e+" node type");o||r(n,"Bad value for `"+e+"."+i+"`")}}for(var l in t)ex.call(t,l)&&!1===ex.call(n,l)&&r(n,"Field `"+e+"."+l+"` is missed")}}function ix(e,t){var n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(var o in n)if(!1!==ex.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:rx(e,r)}}var ox=QS(Yk.join(" | "));function ax(e,t,n){var r={};for(var i in e)e[i].syntax&&(r[i]=n?e[i].syntax:Zk(e[i].syntax,{compact:t}));return r}function sx(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:Zk(l.prelude.syntax,{compact:t})),descriptors:l.descriptors&&ax(l.descriptors,t,n)}}return r}function lx(e,t,n){return(0,on.Z)({matched:e,iterations:n,error:t},a)}function ux(e,t,n,r){var i,o=yS(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)?lx(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=XS(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=XS(o,t.match,e)).match?lx(i.match,null,i.iterations):lx(null,new Fk(i.reason,t.syntax,n,i),i.iterations))}var cx=function(){function e(t,n,r){if((0,ie.Z)(this,e),this.cssWideKeywordsSyntax=ox,this.syntax=n,this.generic=!1,this.units=(0,on.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(ex.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]=ix(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(kb(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,oe.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=QS(e,r):("string"===typeof e?Object.defineProperty(i,"syntax",{get:function(){return Object.defineProperty(i,"syntax",{value:mS(e)}),i.syntax}}):i.syntax=e,Object.defineProperty(i,"match",{get:function(){return Object.defineProperty(i,"match",{value:QS(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 Lk("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||ux(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=zk(t);return r.descriptors?r.descriptors[i.name]||r.descriptors[i.basename]?void 0:new Lk("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 Lk("Unknown property",e)}},{key:"matchAtrulePrelude",value:function(e,t){var n=this.checkAtrulePrelude(e,t);if(n)return lx(null,n);var r=this.getAtrule(e);return r.prelude?ux(this,r.prelude,t||"",!1):lx(null,null)}},{key:"matchAtruleDescriptor",value:function(e,t,n){var r=this.checkAtruleDescriptorName(e,t);if(r)return lx(null,r);var i=this.getAtrule(e),o=zk(t);return ux(this,i.descriptors[o.name]||i.descriptors[o.basename],n,!1)}},{key:"matchDeclaration",value:function(e){return"Declaration"!==e.type?lx(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}},{key:"matchProperty",value:function(e,t){if(Xk(e).custom)return lx(null,new Error("Lexer matching doesn't applicable for custom properties"));var n=this.checkPropertyName(e);return n?lx(null,n):ux(this,this.getProperty(e),t,!0)}},{key:"matchType",value:function(e,t){var n=this.getType(e);return n?ux(this,n,t,!1):lx(null,new Lk("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")),ux(this,e,t,!1)):lx(null,new Lk("Bad syntax"))}},{key:"findValueFragments",value:function(e,t,n,r){return KS(this,t,this.matchProperty(e,t),n,r)}},{key:"findDeclarationValueFragments",value:function(e,t,n){return KS(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=zk(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=Xk(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=gS,i=gS;if("function"===typeof t?r=t:t&&(r=vS(t.enter),i=vS(t.leave)),r===gS&&i===gS)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,re.Z)(t.keys()).filter((function(e){return t.get(e)})),n=(0,re.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:ax(this.types,!t,e),properties:ax(this.properties,!t,e),atrules:sx(this.atrules,!t,e)}}},{key:"toString",value:function(){return JSON.stringify(this.dump())}}]),e}();function hx(e,t){return"string"===typeof t&&/^\s*\|/.test(t)?"string"===typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function fx(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 dx(e,t){for(var n=(0,on.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,on.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,on.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,on.Z)({},O.descriptors)};if(v){y.prelude=v.prelude?hx(y.prelude,v.prelude):y.prelude||null;for(var k=0,b=Object.entries(v.descriptors||{});k<b.length;k++){var S=(0,te.Z)(b[k],2),x=S[0],w=S[1];y.descriptors[x]=w?hx(y.descriptors[x],w):null}Object.keys(y.descriptors).length||(y.descriptors=null)}}break;case"types":case"properties":n[a]=(0,on.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]=hx(n[a][A],P)}break;case"scope":n[a]=(0,on.Z)({},e[a]);for(var Q=0,_=Object.entries(s);Q<_.length;Q++){var D=(0,te.Z)(_[Q],2),N=D[0],R=D[1];n[a][N]=(0,on.Z)((0,on.Z)({},n[a][N]),R)}break;case"parseContext":n[a]=(0,on.Z)((0,on.Z)({},e[a]),s);break;case"atrule":case"pseudo":n[a]=(0,on.Z)((0,on.Z)({},e[a]),fx(s,["parse"]));break;case"node":n[a]=(0,on.Z)((0,on.Z)({},e[a]),fx(s,["name","structure","parse","generate","walkContext"]))}}return n}function px(e){var t=fk(e),n=Dk(e),r=wk(e),i=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof Vy===!1&&(e.children=(new Vy).fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof Vy&&(e.children=e.children.toArray())}}),t}}}(n),o=i.fromPlainObject,a=i.toPlainObject,s={lexer:null,createLexer:function(e){return new cx(e,s,s.lexer.structure)},tokenize:Yy,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:a,fork:function(t){var n=dx({},e);return px("function"===typeof t?t(n,Object.assign):dx(n,t))}};return s.lexer=new cx({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}var mx=43,gx=45,vx=110,Ox=!0,yx=!1;function kx(e,t){var n=this.tokenStart+e,r=this.charCodeAt(n);for(r!==mx&&r!==gx||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)uy(this.charCodeAt(n))||this.error("Integer is expected",n)}function bx(e){return kx.call(this,0,e)}function Sx(e,t){if(!this.cmpChar(this.tokenStart+e,t)){var n="";switch(t){case vx:n="N is expected";break;case gx:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function xx(){for(var e=0,t=0,n=this.tokenType;n===qO||n===sy;)n=this.lookupType(++e);if(n!==HO){if(!this.isDelim(mx,e)&&!this.isDelim(gx,e))return null;t=this.isDelim(mx,e)?mx:gx;do{n=this.lookupType(++e)}while(n===qO||n===sy);n!==HO&&(this.skip(e),bx.call(this,Ox))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart))!==mx&&n!==gx&&this.error("Number sign is expected"),bx.call(this,0!==t),t===gx?"-"+this.consume(HO):this.consume(HO)}var wx="AnPlusB",Tx={a:[String,null],b:[String,null]};function Cx(){var e=this.tokenStart,t=null,n=null;if(this.tokenType===HO)bx.call(this,yx),n=this.consume(HO);else if(this.tokenType===IO&&this.cmpChar(this.tokenStart,gx))switch(t="-1",Sx.call(this,1,vx),this.tokenEnd-this.tokenStart){case 2:this.next(),n=xx.call(this);break;case 3:Sx.call(this,2,gx),this.next(),this.skipSC(),bx.call(this,Ox),n="-"+this.consume(HO);break;default:Sx.call(this,2,gx),kx.call(this,3,Ox),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===IO||this.isDelim(mx)&&this.lookupType(1)===IO){var r=0;switch(t="1",this.isDelim(mx)&&(r=1,this.next()),Sx.call(this,0,vx),this.tokenEnd-this.tokenStart){case 1:this.next(),n=xx.call(this);break;case 2:Sx.call(this,1,gx),this.next(),this.skipSC(),bx.call(this,Ox),n="-"+this.consume(HO);break;default:Sx.call(this,1,gx),kx.call(this,2,Ox),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===YO){for(var i=this.charCodeAt(this.tokenStart),o=i===mx||i===gx,a=this.tokenStart+o;a<this.tokenEnd&&uy(this.charCodeAt(a));a++);a===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Sx.call(this,a-this.tokenStart,vx),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=xx.call(this)):(Sx.call(this,a-this.tokenStart+1,gx),a+2===this.tokenEnd?(this.next(),this.skipSC(),bx.call(this,Ox),n="-"+this.consume(HO)):(kx.call(this,a-this.tokenStart+2,Ox),this.next(),n=this.substrToCursor(a+1)))}else this.error();return null!==t&&t.charCodeAt(0)===mx&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===mx&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Ex(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 Ax(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Px(){for(var e,t=1;e=this.lookupType(t);t++){if(e===ay)return!0;if(e===oy||e===LO)return!1}return!1}var Qx="Atrule",_x="atrule",Dx={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Nx(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.tokenStart,i=null,o=null;switch(this.eat(LO),t=(e=this.substrToCursor(r+1)).toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==oy&&this.tokenType!==KO&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,e,n),Ax):Ax.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case KO:this.next();break;case oy:o=hasOwnProperty.call(this.atrule,t)&&"function"===typeof this.atrule[t].block?this.atrule[t].block.call(this,n):this.Block(Px.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:e,prelude:i,block:o}}function Rx(e){this.token(LO,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(KO,";")}var Zx="AtrulePrelude",Mx="atrulePrelude",Ix={children:[[]]};function $x(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!==oy&&this.tokenType!==KO&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Lx(e){this.children(e)}var Fx=36,Bx=42,jx=61,Ux=94,zx=124,Xx=126;function Hx(){this.eof&&this.error("Unexpected end of input");var e=this.tokenStart,t=!1;return this.isDelim(Bx)?(t=!0,this.next()):this.isDelim(zx)||this.eat(IO),this.isDelim(zx)?this.charCodeAt(this.tokenStart+1)!==jx?(this.next(),this.eat(IO)):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 Wx(){var e=this.tokenStart,t=this.charCodeAt(e);return t!==jx&&t!==Xx&&t!==Ux&&t!==Fx&&t!==Bx&&t!==zx&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==jx&&(this.isDelim(jx)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Yx="AttributeSelector",qx={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Vx(){var e,t=this.tokenStart,n=null,r=null,i=null;return this.eat(ty),this.skipSC(),e=Hx.call(this),this.skipSC(),this.tokenType!==ny&&(this.tokenType!==IO&&(n=Wx.call(this),this.skipSC(),r=this.tokenType===BO?this.String():this.Identifier(),this.skipSC()),this.tokenType===IO&&(i=this.consume(IO),this.skipSC())),this.eat(ny),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:i}}function Gx(e){this.token(XO,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(IO,e.flags),this.token(XO,"]")}var Jx=38;function Kx(e){return this.Raw(e,null,!0)}function ew(){return this.parseWithFallback(this.Rule,Kx)}function tw(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function nw(){if(this.tokenType===KO)return tw.call(this,this.tokenIndex);var e=this.parseWithFallback(this.Declaration,tw);return this.tokenType===KO&&this.next(),e}var rw="Block",iw="block",ow={children:[["Atrule","Rule","Declaration"]]};function aw(e){var t=e?nw:ew,n=this.tokenStart,r=this.createList();this.eat(oy);e:for(;!this.eof;)switch(this.tokenType){case ay:break e;case qO:case sy:this.next();break;case LO:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Kx));break;default:e&&this.isDelim(Jx)?r.push(ew.call(this)):r.push(t.call(this))}return this.eof||this.eat(ay),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function sw(e){var t=this;this.token(oy,"{"),this.children(e,(function(e){"Declaration"===e.type&&t.token(KO,";")})),this.token(ay,"}")}var lw="Brackets",uw={children:[[]]};function cw(e,t){var n,r=this.tokenStart;return this.eat(ty),n=e.call(this,t),this.eof||this.eat(ny),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function hw(e){this.token(XO,"["),this.children(e),this.token(XO,"]")}var fw="CDC",dw=[];function pw(){var e=this.tokenStart;return this.eat(GO),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function mw(){this.token(GO,"--\x3e")}var gw="CDO",vw=[];function Ow(){var e=this.tokenStart;return this.eat(VO),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function yw(){this.token(VO,"\x3c!--")}var kw=46,bw="ClassSelector",Sw={name:String};function xw(){return this.eatDelim(kw),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(IO)}}function ww(e){this.token(XO,"."),this.token(IO,e.name)}var Tw=43,Cw=47,Ew=62,Aw=126,Pw="Combinator",Qw={name:String};function _w(){var e,t=this.tokenStart;switch(this.tokenType){case qO:e=" ";break;case XO:switch(this.charCodeAt(this.tokenStart)){case Ew:case Tw:case Aw:this.next();break;case Cw:this.next(),this.eatIdent("deep"),this.eatDelim(Cw);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function Dw(e){this.tokenize(e.name)}var Nw=42,Rw=47,Zw="Comment",Mw={value:String};function Iw(){var e=this.tokenStart,t=this.tokenEnd;return this.eat(sy),t-e+2>=2&&this.charCodeAt(t-2)===Nw&&this.charCodeAt(t-1)===Rw&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function $w(e){this.token(sy,"/*"+e.value+"*/")}var Lw=33,Fw=35,Bw=36,jw=38,Uw=42,zw=43,Xw=47;function Hw(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function Ww(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function Yw(){var e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==KO&&!1===this.isDelim(Lw)&&!1===this.isBalanceEdge(e)&&this.error(),t}var qw="Declaration",Vw="declaration",Gw={important:[Boolean,String],property:String,value:["Value","Raw"]};function Jw(){var e,t=this.tokenStart,n=this.tokenIndex,r=eT.call(this),i=Hk(r),o=i?this.parseCustomProperty:this.parseValue,a=i?Ww:Hw,s=!1;this.skipSC(),this.eat(JO);var l=this.tokenIndex;if(i||this.skipSC(),e=o?this.parseWithFallback(Yw,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)===qO){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(Lw)&&(s=tT.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==KO&&!1===this.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:s,property:r,value:e}}function Kw(e){this.token(IO,e.property),this.token(JO,":"),this.node(e.value),e.important&&(this.token(XO,"!"),this.token(IO,!0===e.important?"important":e.important))}function eT(){var e=this.tokenStart;if(this.tokenType===XO)switch(this.charCodeAt(this.tokenStart)){case Uw:case Bw:case zw:case Fw:case jw:this.next();break;case Xw:this.next(),this.isDelim(Xw)&&this.next()}return this.tokenType===FO?this.eat(FO):this.eat(IO),this.substrToCursor(e)}function tT(){this.eat(XO),this.skipSC();var e=this.consume(IO);return"important"===e||e}var nT=38;function rT(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var iT="DeclarationList",oT={children:[["Declaration","Atrule","Rule"]]};function aT(){for(var e=this.createList();!this.eof;)switch(this.tokenType){case qO:case sy:case KO:this.next();break;case LO:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),rT));break;default:this.isDelim(nT)?e.push(this.parseWithFallback(this.Rule,rT)):e.push(this.parseWithFallback(this.Declaration,rT))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function sT(e){var t=this;this.children(e,(function(e){"Declaration"===e.type&&t.token(KO,";")}))}var lT="Dimension",uT={value:String,unit:String};function cT(){var e=this.tokenStart,t=this.consumeNumber(YO);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function hT(e){this.token(YO,e.value+e.unit)}var fT="Function",dT="function",pT={name:String,children:[[]]};function mT(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(iy),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:i,children:n}}function gT(e){this.token($O,e.name+"("),this.children(e),this.token(iy,")")}var vT="XXX",OT="Hash",yT={value:String};function kT(){var e=this.tokenStart;return this.eat(FO),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function bT(e){this.token(FO,"#"+e.value)}var ST="Identifier",xT={name:String};function wT(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(IO)}}function TT(e){this.token(IO,e.name)}var CT="IdSelector",ET={name:String};function AT(){var e=this.tokenStart;return this.eat(FO),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function PT(e){this.token(XO,"#"+e.name)}var QT="MediaFeature",_T={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function DT(){var e,t=this.tokenStart,n=null;if(this.eat(ry),this.skipSC(),e=this.consume(IO),this.skipSC(),this.tokenType!==iy){switch(this.eat(JO),this.skipSC(),this.tokenType){case HO:n=this.lookupNonWSType(1)===XO?this.Ratio():this.Number();break;case YO:n=this.Dimension();break;case IO:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(iy),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:n}}function NT(e){this.token(ry,"("),this.token(IO,e.name),null!==e.value&&(this.token(JO,":"),this.node(e.value)),this.token(iy,")")}var RT="MediaQuery",ZT={children:[["Identifier","MediaFeature","WhiteSpace"]]};function MT(){var e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case sy:case qO:this.next();continue;case IO:t=this.Identifier();break;case ry: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 IT(e){this.children(e)}var $T="MediaQueryList",LT={children:[["MediaQuery"]]};function FT(){var e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===ey);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function BT(e){var t=this;this.children(e,(function(){return t.token(ey,",")}))}var jT=38,UT="NestingSelector",zT={};function XT(){var e=this.tokenStart;return this.eatDelim(jT),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function HT(){this.token(XO,"&")}var WT="Nth",YT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function qT(){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 VT(e){this.node(e.nth),null!==e.selector&&(this.token(IO,"of"),this.node(e.selector))}var GT="Number",JT={value:String};function KT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(HO)}}function eC(e){this.token(HO,e.value)}var tC="Operator",nC={value:String};function rC(){var e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function iC(e){this.tokenize(e.value)}var oC="Parentheses",aC={children:[[]]};function sC(e,t){var n,r=this.tokenStart;return this.eat(ry),n=e.call(this,t),this.eof||this.eat(iy),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function lC(e){this.token(ry,"("),this.children(e),this.token(iy,")")}var uC="Percentage",cC={value:String};function hC(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(WO)}}function fC(e){this.token(WO,e.value+"%")}var dC="PseudoClassSelector",pC="function",mC={name:String,children:[["Raw"],null]};function gC(){var e,t,n=this.tokenStart,r=null;return this.eat(JO),this.tokenType===$O?(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(iy)):e=this.consume(IO),{type:"PseudoClassSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function vC(e){this.token(JO,":"),null===e.children?this.token(IO,e.name):(this.token($O,e.name+"("),this.children(e),this.token(iy,")"))}var OC="PseudoElementSelector",yC="function",kC={name:String,children:[["Raw"],null]};function bC(){var e,t,n=this.tokenStart,r=null;return this.eat(JO),this.eat(JO),this.tokenType===$O?(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(iy)):e=this.consume(IO),{type:"PseudoElementSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function SC(e){this.token(JO,":"),this.token(JO,":"),null===e.children?this.token(IO,e.name):(this.token($O,e.name+"("),this.children(e),this.token(iy,")"))}var xC=47,wC=46;function TC(){this.skipSC();for(var e=this.consume(HO),t=0;t<e.length;t++){var n=e.charCodeAt(t);uy(n)||n===wC||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 CC="Ratio",EC={left:String,right:String};function AC(){var e,t=this.tokenStart,n=TC.call(this);return this.skipSC(),this.eatDelim(xC),e=TC.call(this),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:n,right:e}}function PC(e){this.token(HO,e.left),this.token(XO,"/"),this.token(HO,e.right)}function QC(){return this.tokenIndex>0&&this.lookupType(-1)===qO?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var _C="Raw",DC={value:String};function NC(e,t,n){var r,i=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>i?QC.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(i,r),value:this.substring(i,r)}}function RC(e){this.tokenize(e.value)}function ZC(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function MC(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==oy&&this.error(),e}var IC="Rule",$C="rule",LC={prelude:["SelectorList","Raw"],block:["Block"]};function FC(){var e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(MC,ZC):ZC.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function BC(e){this.node(e.prelude),this.node(e.block)}var jC="Selector",UC={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function zC(){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 XC(e){this.children(e)}var HC="SelectorList",WC="selector",YC={children:[["Selector","Raw"]]};function qC(){for(var e=this.createList();!this.eof&&(e.push(this.Selector()),this.tokenType===ey);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function VC(e){var t=this;this.children(e,(function(){return t.token(ey,",")}))}var GC=92,JC=34,KC=39;function eE(e){for(var t=e.length,n=e.charCodeAt(0),r=n===JC||n===KC?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===GC){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),vy(GC,s)){var l=a-1,u=Ry(e,l);a=u-1,o+=$y(e.substring(l+1,u))}else 13===s&&10===e.charCodeAt(a+1)&&a++}else o+=e[a]}return o}var tE="String",nE={value:String};function rE(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:eE(this.consume(BO))}}function iE(e){this.token(BO,function(e,t){for(var n=t?"'":'"',r=t?KC:JC,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===GC?(i+="\\"+e.charAt(a),o=!1):(o&&(cy(s)||gy(s))&&(i+=" "),i+=e.charAt(a),o=!1):i+="\ufffd"}return n+i+n}(e.value))}var oE=33;function aE(e){return this.Raw(e,null,!1)}var sE="StyleSheet",lE="stylesheet",uE={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function cE(){for(var e,t=this.tokenStart,n=this.createList();!this.eof;){switch(this.tokenType){case qO:this.next();continue;case sy:if(this.charCodeAt(this.tokenStart+2)!==oE){this.next();continue}e=this.Comment();break;case VO:e=this.CDO();break;case GO:e=this.CDC();break;case LO:e=this.parseWithFallback(this.Atrule,aE);break;default:e=this.parseWithFallback(this.Rule,aE)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function hE(e){this.children(e)}var fE=42,dE=124;function pE(){this.tokenType!==IO&&!1===this.isDelim(fE)&&this.error("Identifier or asterisk is expected"),this.next()}var mE="TypeSelector",gE={name:String};function vE(){var e=this.tokenStart;return this.isDelim(dE)?(this.next(),pE.call(this)):(pE.call(this),this.isDelim(dE)&&(this.next(),pE.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function OE(e){this.tokenize(e.name)}var yE=43,kE=45,bE=63;function SE(e,t){for(var n=0,r=this.tokenStart+e;r<this.tokenEnd;r++){var i=this.charCodeAt(r);if(i===kE&&t&&0!==n)return SE.call(this,e+n+1,!1),-1;cy(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 xE(e){for(var t=0;this.isDelim(bE);)++t>e&&this.error("Too many question marks"),this.next()}function wE(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===yE?"Plus sign":"Hyphen minus")+" is expected")}function TE(){var e=0;switch(this.tokenType){case HO:if(e=SE.call(this,1,!0),this.isDelim(bE)){xE.call(this,6-e);break}if(this.tokenType===YO||this.tokenType===HO){wE.call(this,kE),SE.call(this,1,!1);break}break;case YO:(e=SE.call(this,1,!0))>0&&xE.call(this,6-e);break;default:if(this.eatDelim(yE),this.tokenType===IO){(e=SE.call(this,0,!0))>0&&xE.call(this,6-e);break}if(this.isDelim(bE)){this.next(),xE.call(this,5);break}this.error("Hex digit or question mark is expected")}}var CE="UnicodeRange",EE={value:String};function AE(){var e=this.tokenStart;return this.eatIdent("u"),TE.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function PE(e){this.tokenize(e.value)}var QE=32,_E=92,DE=34,NE=39,RE=40,ZE=41;var ME="Url",IE={value:String};function $E(){var e,t=this.tokenStart;switch(this.tokenType){case UO:e=function(e){for(var t=e.length,n=4,r=e.charCodeAt(t-1)===ZE?t-2:t-1,i="";n<r&&gy(e.charCodeAt(n));)n++;for(;n<r&&gy(e.charCodeAt(r));)r--;for(var o=n;o<=r;o++){var a=e.charCodeAt(o);if(a===_E){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),vy(_E,a)){var s=o-1,l=Ry(e,s);o=l-1,i+=$y(e.substring(s+1,l))}else 13===a&&10===e.charCodeAt(o+1)&&o++}else i+=e[o]}return i}(this.consume(UO));break;case $O:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat($O),this.skipSC(),e=eE(this.consume(BO)),this.skipSC(),this.eof||this.eat(iy);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}}function LE(e){this.token(UO,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===QE||i===_E||i===DE||i===NE||i===RE||i===ZE?(t+="\\"+e.charAt(r),n=!1):(n&&cy(i)&&(t+=" "),t+=e.charAt(r),n=!1):t+="\ufffd"}return"url("+t+")"}(e.value))}var FE="Value",BE={children:[[]]};function jE(){var e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function UE(e){this.children(e)}var zE=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),XE="WhiteSpace",HE={value:String};function WE(){return this.eat(qO),zE}function YE(e){this.token(qO,e.value)}var qE=(0,on.Z)((0,on.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:Y});function VE(e){switch(this.tokenType){case FO:return this.Hash();case ey:return this.Operator();case ry:return this.Parentheses(this.readSequence,e.recognizer);case ty:return this.Brackets(this.readSequence,e.recognizer);case BO:return this.String();case YO:return this.Dimension();case WO:return this.Percentage();case HO:return this.Number();case $O:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case UO:return this.Url();case IO:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case XO: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 GE={getNode:VE};var JE={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 ty:return this.AttributeSelector();case FO:return this.IdSelector();case JO:return this.lookupType(1)===JO?this.PseudoElementSelector():this.PseudoClassSelector();case IO:return this.TypeSelector();case HO:case WO:return this.Percentage();case YO:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case XO: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 KE(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var eA={getNode:VE,onWhiteSpace:function(e,t){KE(e)&&(e.value=" "+e.value),KE(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===ey){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)===qO){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}},tA={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 nA(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function rA(){return this.skipSC(),this.tokenType===IO&&this.lookupNonWSType(1)===JO?this.createSingleNodeList(this.Declaration()):iA.call(this)}function iA(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case sy:case qO:this.next();continue;case $O:e=this.Function(nA,this.scope.AtrulePrelude);break;case IO:e=this.Identifier();break;case ry:e=this.Parentheses(rA,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var oA={parse:{prelude:function(){var e=iA.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)}}},aA={parse:function(){return this.createSingleNodeList(this.SelectorList())}},sA={parse:function(){return this.createSingleNodeList(this.Selector())}},lA={parse:function(){return this.createSingleNodeList(this.Identifier())}},uA={parse:function(){return this.createSingleNodeList(this.Nth())}},cA={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 BO:e.push(this.String());break;case UO:case $O:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==IO&&this.lookupNonWSType(0)!==ry||e.push(this.MediaQueryList()),e},block:null}},media:tA,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:oA},pseudo:{dir:lA,has:aA,lang:lA,matches:aA,is:aA,"-moz-any":aA,"-webkit-any":aA,where:aA,not:aA,"nth-child":uA,"nth-last-child":uA,"nth-last-of-type":uA,"nth-of-type":uA,slotted:sA,host:sA,"host-context":sA},node:V},hA={node:Y},fA=px(dx({},(0,on.Z)((0,on.Z)((0,on.Z)({},qE),cA),hA)));fA.tokenize;var dA=fA.parse;fA.generate,fA.lexer,fA.createLexer,fA.walk,fA.find,fA.findLast,fA.findAll,fA.toPlainObject,fA.fromPlainObject,fA.fork;function pA(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 mA,gA=n(7673),vA={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"},OA=["cent","copy","divide","gt","lt","not","para","times"],yA={}.hasOwnProperty,kA={};for(mA in vA)yA.call(vA,mA)&&(kA[vA[mA]]=mA);function bA(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(yA.call(kA,i)){var o=kA[i],a="&"+o;return n&&gA.K.includes(o)&&!OA.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 SA(e,t){return pA(e,Object.assign({format:bA},t))}var xA=TA(1),wA=TA(-1);function TA(e){return function(t,n,r){var i=t?t.children:[],o=(n||0)+e,a=i&&i[o];if(!r)for(;a&&vd(a);)a=i[o+=e];return a}}var CA={}.hasOwnProperty;function EA(e){return function(t,n,r){return CA.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var AA=EA({html:function(e,t,n){var r=xA(n,t);return!r||"comment"!==r.type},head:PA,body:function(e,t,n){var r=xA(n,t);return!r||"comment"!==r.type},p:function(e,t,n){var r=xA(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=xA(n,t);return!r||"element"===r.type&&"li"===r.tagName},dt:function(e,t,n){var r=xA(n,t);return r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dd:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},rt:QA,rp:QA,optgroup:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},menuitem:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("menuitem"===r.tagName||"hr"===r.tagName||"menu"===r.tagName)},colgroup:PA,caption:PA,thead:function(e,t,n){var r=xA(n,t);return r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},tbody:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},tfoot:function(e,t,n){return!xA(n,t)},tr:function(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&"tr"===r.tagName},td:_A,th:_A});function PA(e,t,n){var r=xA(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&vd(r.value.charAt(0)))}function QA(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function _A(e,t,n){var r=xA(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}var DA=EA({html:function(e){var t=xA(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=xA(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&vd(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=wA(n,t),i=xA(e,-1,!0);if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&AA(r,n.children.indexOf(r),n))return!1;return i&&"element"===i.type&&"col"===i.tagName},tbody:function(e,t,n){var r=wA(n,t),i=xA(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&AA(r,n.children.indexOf(r),n))return!1;return i&&"element"===i.type&&"tr"===i.tagName}});var NA={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 RA(e,t,n){var r,i=(0,Od.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=SA(i.attribute,Object.assign({},e.settings.characterReferences,{subset:NA.name[o][a]}));return!0===n?l:(n=Array.isArray(n)?(i.commaSeparated?bd.P:kd.P)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(r=SA(n,Object.assign({},e.settings.characterReferences,{subset:NA.unquoted[o][a],attribute:!0}))),r!==n&&(e.settings.quoteSmart&&dp(n,s)>dp(n,e.alternative)&&(s=e.alternative),r=s+SA(n,Object.assign({},e.settings.characterReferences,{subset:("'"===s?NA.single:NA.double)[o][a],attribute:!0}))+s),l+(r?"="+r:r)))}function ZA(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?SA(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}var MA=xm("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?"<?"+SA(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(e){return SA(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=md.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=RA(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&&DA(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&&AA(e,t,n)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:ZA(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:ZA}});function IA(e,t,n){return MA(e,t,n,this)}function $A(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 LA(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:IA,all:$A,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||Pm,characterReferences:n.characterReferences||n.entities||{},closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?md.YP:md.dy,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,n)}})}var FA,BA=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},jA=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&&EO[r.theme]&&(o.replace=EO[r.theme].filter((function(e){return e.select===i})).map((function(e){return(0,on.Z)((0,on.Z)({},e),{},{value:e.value.replace("{{color}}",r.color)})}))),n[i]=BA(t.data.block.children.head,"",o),t.next&&(n=e(t.next,(0,on.Z)({},n),r))}return n},UA=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}))}},zA=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 XA(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=dA(t,{parseAtrulePrelude:!1,parseRulePrelude:!1,parseValue:!1,parseCustomProperty:!1,positions:!1}),i=jA(r.children.head,{},{color:n.preColor,theme:n.previewTheme}),o=Qc().use(Zf).use(cm).use(dd,{allowDangerousHtml:!0}).use(mg).use(Im).use(og,{}).use(ig,{properties:"attr"}).use(ev,{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)&&UA(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:zA(e.children)}]),e})),e}))}(e),"element"===(null===e||void 0===e?void 0:e.type)&&"sup"===e.tagName&&function(e){var t=zA(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(LA),a=new Sc;a.value=e;var s=o.runSync(o.parse(a),a);return String(o.stringify(s,a))}var HA,WA,YA,qA,VA,GA=Ki.div(FA||(FA=G(["\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"]))),JA=function(e){var t=(0,J.useContext)(AO),n=t.css,r=t.preColor,i=t.previewTheme,o=XA(e.source||"",n,{preColor:r,previewTheme:i});return(0,Vt.jsx)(GA,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:o}})},KA=Ki.button(HA||(HA=G(["\n /* white-space: nowrap;\n width: initial !important;\n display: flex;\n align-items: center; */\n"]))),eP=function(e){var t=e.editorProps;return(0,Vt.jsx)(KA,{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(),Sr.success((0,Vt.jsx)("div",{children:"\u590d\u5236\u6210\u529f\uff01\u53bb\u516c\u4f17\u53f7\u7f16\u8f91\u5668\u590d\u5236\u5427\uff01"}))},children:e.command.icon})},tP={name:"copy",keyCommand:"copy",button:function(e,t,n){return(0,Vt.jsx)(eP,{command:e,editorProps:(0,on.Z)((0,on.Z)({},t),n)})},icon:(0,Vt.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",height:"16",width:"16",children:[(0,Vt.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,Vt.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"})]})},nP=Ki.input(WA||(WA=G(["\n position: absolute;\n opacity: 0;\n height: 20px;\n width: 20px;\n"]))),rP=Ki.button(YA||(YA=G([""]))),iP=function(e){var t=(0,J.useContext)(AO),n=t.preColor,r=t.setPreColor,i=n||"currentColor";return(0,Vt.jsxs)(rP,{type:"button",children:[(0,Vt.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",height:"16",width:"16",children:[(0,Vt.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,Vt.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,Vt.jsx)(nP,{type:"color",value:n,onChange:function(e){r(e.target.value)}})]})},oP={name:"color",keyCommand:"color",button:function(){return(0,Vt.jsx)(iP,{})}},aP=Ki.select(qA||(qA=G(["\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"]))),sP=function(e){var t=(0,J.useContext)(AO),n=t.theme,r=t.setTheme;return(0,Vt.jsx)(aP,{value:n,onChange:function(e){return r(e.target.value)},children:Object.keys(TO).map((function(e,t){return(0,Vt.jsx)("option",{value:e,children:TO[e].label},t)}))})},lP={name:"theme",keyCommand:"theme",button:function(e,t,n){return(0,Vt.jsx)(sP,{command:e,editorProps:(0,on.Z)((0,on.Z)({},t),n)})}},uP=function(){var e=(0,J.useContext)(AO),t=e.setCss,n=e.previewTheme,r=e.setPreviewTheme;return(0,Vt.jsx)(aP,{value:n,onChange:function(e){var n=e.target.value;r(n),t(CO[n].value)},children:Object.keys(CO).map((function(e,t){return(0,Vt.jsx)("option",{value:e,children:CO[e].label},t)}))})},cP={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,Vt.jsx)(uP,{})}},hP=Ki(zt)(VA||(VA=G(["\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"]))),fP={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,Vt.jsx)(hP,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"})}},dP={name:"previous",keyCommand:"previous",button:function(){return(0,Vt.jsx)(hP,{to:"/",children:"\u8fd4\u56de"})}},pP=function(){var e=[].concat((0,re.Z)(Ev()),[lP]),t=(0,J.useContext)(AO),n=t.theme,r=t.markdown,i=t.isLoading,o=t.setMarkdown,a=TO[n].value;return(0,Vt.jsx)(Mv,{value:r,toolbars:e,theme:a,readOnly:i,toolbarsMode:[fP,cP,tP,oP,"fullscreen","preview"],extensions:[Ea.tk.lineWrapping],renderPreview:JA,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},mP=n(4933),gP=function(){var e=(0,J.useContext)(AO),t=e.css,n=XA(e.markdown,t,{preColor:e.preColor,previewTheme:e.previewTheme});return(0,Vt.jsx)(GA,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:n}})},vP=["title","titleId"];function OP(){return OP=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},OP.apply(this,arguments)}function yP(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 kP(e,t){var n=e.title,r=e.titleId,i=yP(e,vP);return J.createElement("svg",OP({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 bP,SP,xP=J.forwardRef(kP),wP=(n.p,Ki.div(bP||(bP=G(["\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"])))),TP={name:"themeTitle",keyCommand:"themeTitle",button:function(){return(0,Vt.jsxs)(wP,{children:[(0,Vt.jsx)(xP,{width:16,height:16}),"\u4e3b\u9898\u7f16\u8f91\u5668"]})}},CP=function(){var e=[TP,lP,dP],t=[cP,tP,"fullscreen","preview"],n=(0,J.useContext)(AO),r=n.theme,i=n.css,o=n.setCss,a=n.isLoading,s=TO[r].value;return(0,Vt.jsx)(Mv,{value:i,theme:s,readOnly:a,toolbars:e,toolbarsMode:t,reExtensions:[Ea.tk.lineWrapping,(0,mP.css)()],renderPreview:gP,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},EP=Ki.div(SP||(SP=G(["\n max-width: 59rem;\n margin: 0 auto 0 auto;\n padding: 0 1rem 3rem 1rem;\n"]))),AP=function(){return(0,Vt.jsx)(EP,{children:(0,Vt.jsx)(Mv.Markdown,{source:wO})})};function PP(){return(0,Vt.jsx)(Dt,{children:(0,Vt.jsxs)(Qt,{path:"/",element:(0,Vt.jsx)(MO,{}),children:[(0,Vt.jsx)(Qt,{index:!0,element:(0,Vt.jsx)(pP,{})}),(0,Vt.jsx)(Qt,{path:"/editor/theme",element:(0,Vt.jsx)(CP,{})}),(0,Vt.jsx)(Qt,{path:"/doc",element:(0,Vt.jsx)(AP,{})})]})})}var QP=["refetchPage"],_P=function(e){(0,ae.Z)(n,e);var t=(0,se.Z)(n);function n(e,r){var i;return(0,ie.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,oe.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.length&&(this.currentQuery.addObserver(this),DP(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}},{key:"onUnsubscribe",value:function(){this.listeners.length||this.destroy()}},{key:"shouldFetchOnReconnect",value:function(){return NP(this.currentQuery,this.options,this.options.refetchOnReconnect)}},{key:"shouldFetchOnWindowFocus",value:function(){return NP(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}},{key:"destroy",value:function(){this.listeners=[],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),po(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&&RP(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);return this.createResult(t,e)}},{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=qt(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,QP);return this.fetch((0,on.Z)((0,on.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,on.Z)((0,on.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(to)),t}},{key:"updateStaleTimeout",value:function(){var e=this;if(this.clearStaleTimeout(),!eo&&!this.currentResult.isStale&&no(this.options.staleTime)){var t=ro(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,!eo&&!1!==this.options.enabled&&no(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Co.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(),k=!y&&DP(e,t),b=y&&RP(e,r,t,i);(k||b)&&(m=Po(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=bo(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=bo(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:ZP(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,!po(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;if("all"===e||!e&&!t.trackedProps.size)return!0;var r=new Set(null!=e?e:t.trackedProps);return t.options.useErrorBoundary&&r.add("error"),Object.keys(t.currentResult).some((function(e){var i=e;return t.currentResult[i]!==n[i]&&r.has(i)}))}()&&(i.listeners=!0),this.notify((0,on.Z)((0,on.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||_o(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}},{key:"notify",value:function(e){var t=this;wo.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){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))}}]),n}(To);function DP(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&&NP(e,t,t.refetchOnMount)}function NP(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&ZP(e,t)}return!1}function RP(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&ZP(e,n)}function ZP(e,t){return e.isStaleByTime(t.staleTime)}var MP=n(4249).useSyncExternalStore;function IP(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var $P=J.createContext(IP()),LP=function(){return J.useContext($P)},FP=J.createContext(!1),BP=function(){return J.useContext(FP)};FP.Provider;var jP,UP=function(e,t){(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},zP=function(e){J.useEffect((function(){e.clearReset()}),[e])},XP=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,re.Z)(n)):!!t)},HP=function(e){e.suspense&&"number"!==typeof e.staleTime&&(e.staleTime=1e3)},WP=function(e,t,n){return(null==e?void 0:e.suspense)&&function(e,t){return e.isLoading&&e.isFetching&&!t}(t,n)},YP=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 qP(e,t,n){return function(e,t){var n=qo({context:e.context}),r=BP(),i=LP(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=wo.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=wo.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=wo.batchCalls(o.onSettled)),HP(o),UP(o,i),zP(i);var a=J.useState((function(){return new t(n,o)})),s=(0,te.Z)(a,1)[0],l=s.getOptimisticResult(o);if(MP(J.useCallback((function(e){return r?function(){}:s.subscribe(wo.batchCalls(e))}),[s,r]),(function(){return s.getCurrentResult()}),(function(){return s.getCurrentResult()})),J.useEffect((function(){s.setOptions(o,{listeners:!1})}),[o,s]),WP(o,l,r))throw YP(o,s,i);if(XP({result:l,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:s.getCurrentQuery()}))throw l.error;return o.notifyOnChangeProps?l:s.trackResult(l)}(io(e,t,n),_P)}var VP,GP=Ki.div(jP||(jP=G(["\n font-size: 0.8rem;\n"]))),JP=function(e){var t,n=e.children,r=Wt(),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?"":wO),h=(0,te.Z)(c,2),f=h[0],d=h[1],p=J.useState(CO[l].value),m=(0,te.Z)(p,2),g=m[0],v=m[1],O=J.useState(l),y=(0,te.Z)(O,2),k=y[0],b=y[1],S=J.useState("default"),x=(0,te.Z)(S,2),w=x[0],T=x[1],C=J.useState(CO[l]?CO[l].color:""),E=(0,te.Z)(C,2),A=E[0],P=E[1],Q=J.useState(!0),_=(0,te.Z)(Q,2),D=_[0],N=_[1],R=qP(["database-list",t=u],(function(){return t?fetch(t).then((function(e){return e.text()})).then((function(e){return e})).catch((function(e){Sr.error((0,Vt.jsxs)(GP,{children:["\u52a0\u8f7d\u5931\u8d25\uff01",(0,Vt.jsx)("a",{href:t,children:"\u8bf7\u68c0\u67e5\u4f60\u7684URL"})]}))})):Promise.resolve("")})),Z=R.data,M=R.isLoading;return(0,J.useEffect)((function(){s!==k&&(o.set("theme",k),a(o))}),[s,k,o,a]),(0,J.useEffect)((function(){u&&d(Z||"")}),[Z,u]),(0,J.useEffect)((function(){return N(M)}),[M]),(0,J.useEffect)((function(){return P(CO[l].color)}),[l]),(0,Vt.jsx)(AO.Provider,{value:{preColor:A,setPreColor:P,isLoading:D,setIsLoading:N,markdown:f,setMarkdown:d,css:g,setCss:v,previewTheme:k,setPreviewTheme:b,theme:w,setTheme:T},children:n})},KP=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Ii.apply(void 0,[e].concat(n)),o="sc-global-"+ji(JSON.stringify(i)),a=new Ji(i,o);function s(e){var t=Ti(),n=Ci(),r=(0,J.useContext)(Yi),i=(0,J.useRef)(t.allocateGSInstance(o)).current;return t.server&&l(i,e,t,r,n),(0,J.useLayoutEffect)((function(){if(!t.server)return l(i,e,t,r,n),function(){return a.removeStyles(i,t)}}),[i,e,t,r,n]),null}function l(e,t,n,r,i){if(a.isStatic)a.renderStyles(e,Ur,n,i);else{var o=Dr({},t,{theme:$i(t,r,s.defaultProps)});a.renderStyles(e,o,n,i)}}return J.memo(s)}(VP||(VP=G(['\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']))),eQ=new zo,tQ=document.getElementById("root");(0,ee.s)(tQ).render((0,Vt.jsxs)(Ft,{children:[(0,Vt.jsx)(br,{}),(0,Vt.jsx)(rn,{style:{zIndex:999},children:"Top"}),(0,Vt.jsx)(KP,{}),(0,Vt.jsx)(Vo,{client:eQ,children:(0,Vt.jsx)(JP,{children:(0,Vt.jsx)(PP,{})})})]}))},8497:function(e){e.exports=function(){"use strict";function e(e,t){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}()},390: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)},1692:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},861:function(e,t,n){"use strict";var r=n(7167),i=n(2174),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},7167:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(586);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}()}},2174:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(586);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}},586: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","\\":"\\",'"':'"'}},5134: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}},218:function(e,t,n){"use strict";var r=n(4681).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}},7489: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"}},2584:function(e,t,n){"use strict";var r,i=n(3231).default,o=n(444),a=n(4681),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))}},4681: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)},8600: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}},1929: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(2514));e.exports=s},8172: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(1929),l=n(9027),u=n(6065),c=n(2514),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},40: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(1929),c=n(4767),h=n(2514),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},9027: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(1929),l=n(40),u=n(2514),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},6367: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(2514));e.exports=s},208: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(2514),l=n(444),u=n(6065),c=n(6367),h=n(4681).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},6065: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(2514),l=n(444),u=n(4767),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},4767: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(2514));e.exports=s},1877: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},1065:function(e,t,n){"use strict";var r,i,o,a,s,l,u,c,h,f,d,p,m,g,v,O,y,k,b,S,x,w,T,C,E,A,P=n(8983).default,Q=n(2081).default,_=n(3231).default,D=n(444),N=n(9738),R=n(1877),Z=n(208),M=n(8172),I=n(2514),$=n(6290),L=n(9843),F=n(218),B=n(2584),j=n(7489),U=n(8600),z=n(4681),X=z.TAG_NAMES,H=z.NAMESPACES,W=z.ATTRS,Y={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:$},q="hidden",V=8,G=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",ke="AFTER_AFTER_FRAMESET_MODE",be=(_(r={},X.TR,he),_(r,X.TBODY,ce),_(r,X.THEAD,ce),_(r,X.TFOOT,ce),_(r,X.CAPTION,le),_(r,X.COLGROUP,ue),_(r,X.TABLE,ae),_(r,X.BODY,ie),_(r,X.FRAMESET,ve),r),Se=(_(i={},X.CAPTION,ae),_(i,X.COLGROUP,ae),_(i,X.TBODY,ae),_(i,X.TFOOT,ae),_(i,X.THEAD,ae),_(i,X.COL,ue),_(i,X.TR,ce),_(i,X.TD,he),_(i,X.TH,he),i),xe=(_(A={},J,(_(o={},D.CHARACTER_TOKEN,$e),_(o,D.NULL_CHARACTER_TOKEN,$e),_(o,D.WHITESPACE_CHARACTER_TOKEN,De),_(o,D.COMMENT_TOKEN,Re),_(o,D.DOCTYPE_TOKEN,(function(e,t){e._setDocumentType(t);var n=t.forceQuirks?z.DOCUMENT_MODE.QUIRKS:F.getDocumentMode(t);F.isConforming(t)||e._err(j.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=K})),_(o,D.START_TAG_TOKEN,$e),_(o,D.END_TAG_TOKEN,$e),_(o,D.EOF_TOKEN,$e),o)),_(A,K,(_(a={},D.CHARACTER_TOKEN,Le),_(a,D.NULL_CHARACTER_TOKEN,Le),_(a,D.WHITESPACE_CHARACTER_TOKEN,De),_(a,D.COMMENT_TOKEN,Re),_(a,D.DOCTYPE_TOKEN,De),_(a,D.START_TAG_TOKEN,(function(e,t){t.tagName===X.HTML?(e._insertElement(t,H.HTML),e.insertionMode=ee):Le(e,t)})),_(a,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n!==X.HTML&&n!==X.HEAD&&n!==X.BODY&&n!==X.BR||Le(e,t)})),_(a,D.EOF_TOKEN,Le),a)),_(A,ee,(_(s={},D.CHARACTER_TOKEN,Fe),_(s,D.NULL_CHARACTER_TOKEN,Fe),_(s,D.WHITESPACE_CHARACTER_TOKEN,De),_(s,D.COMMENT_TOKEN,Re),_(s,D.DOCTYPE_TOKEN,Ne),_(s,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.HEAD?(e._insertElement(t,H.HTML),e.headElement=e.openElements.current,e.insertionMode=te):Fe(e,t)})),_(s,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HEAD||n===X.BODY||n===X.HTML||n===X.BR?Fe(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),_(s,D.EOF_TOKEN,Fe),s)),_(A,te,(_(l={},D.CHARACTER_TOKEN,Ue),_(l,D.NULL_CHARACTER_TOKEN,Ue),_(l,D.WHITESPACE_CHARACTER_TOKEN,Me),_(l,D.COMMENT_TOKEN,Re),_(l,D.DOCTYPE_TOKEN,Ne),_(l,D.START_TAG_TOKEN,Be),_(l,D.END_TAG_TOKEN,je),_(l,D.EOF_TOKEN,Ue),l)),_(A,ne,(_(u={},D.CHARACTER_TOKEN,ze),_(u,D.NULL_CHARACTER_TOKEN,ze),_(u,D.WHITESPACE_CHARACTER_TOKEN,Me),_(u,D.COMMENT_TOKEN,Re),_(u,D.DOCTYPE_TOKEN,Ne),_(u,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.BASEFONT||n===X.BGSOUND||n===X.HEAD||n===X.LINK||n===X.META||n===X.NOFRAMES||n===X.STYLE?Be(e,t):n===X.NOSCRIPT?e._err(j.nestedNoscriptInHead):ze(e,t)})),_(u,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.NOSCRIPT?(e.openElements.pop(),e.insertionMode=te):n===X.BR?ze(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),_(u,D.EOF_TOKEN,ze),u)),_(A,re,(_(c={},D.CHARACTER_TOKEN,Xe),_(c,D.NULL_CHARACTER_TOKEN,Xe),_(c,D.WHITESPACE_CHARACTER_TOKEN,Me),_(c,D.COMMENT_TOKEN,Re),_(c,D.DOCTYPE_TOKEN,Ne),_(c,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.BODY?(e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=ie):n===X.FRAMESET?(e._insertElement(t,H.HTML),e.insertionMode=ve):n===X.BASE||n===X.BASEFONT||n===X.BGSOUND||n===X.LINK||n===X.META||n===X.NOFRAMES||n===X.SCRIPT||n===X.STYLE||n===X.TEMPLATE||n===X.TITLE?(e._err(j.abandonedHeadElementChild),e.openElements.push(e.headElement),Be(e,t),e.openElements.remove(e.headElement)):n===X.HEAD?e._err(j.misplacedStartTagForHeadElement):Xe(e,t)})),_(c,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.BODY||n===X.HTML||n===X.BR?Xe(e,t):n===X.TEMPLATE?je(e,t):e._err(j.endTagWithoutMatchingOpenElement)})),_(c,D.EOF_TOKEN,Xe),c)),_(A,ie,(_(h={},D.CHARACTER_TOKEN,We),_(h,D.NULL_CHARACTER_TOKEN,De),_(h,D.WHITESPACE_CHARACTER_TOKEN,He),_(h,D.COMMENT_TOKEN,Re),_(h,D.DOCTYPE_TOKEN,De),_(h,D.START_TAG_TOKEN,it),_(h,D.END_TAG_TOKEN,lt),_(h,D.EOF_TOKEN,ut),h)),_(A,oe,(_(f={},D.CHARACTER_TOKEN,Me),_(f,D.NULL_CHARACTER_TOKEN,Me),_(f,D.WHITESPACE_CHARACTER_TOKEN,Me),_(f,D.COMMENT_TOKEN,De),_(f,D.DOCTYPE_TOKEN,De),_(f,D.START_TAG_TOKEN,De),_(f,D.END_TAG_TOKEN,(function(e,t){t.tagName===X.SCRIPT&&(e.pendingScript=e.openElements.current);e.openElements.pop(),e.insertionMode=e.originalInsertionMode})),_(f,D.EOF_TOKEN,(function(e,t){e._err(j.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)})),f)),_(A,ae,(_(d={},D.CHARACTER_TOKEN,ct),_(d,D.NULL_CHARACTER_TOKEN,ct),_(d,D.WHITESPACE_CHARACTER_TOKEN,ct),_(d,D.COMMENT_TOKEN,Re),_(d,D.DOCTYPE_TOKEN,De),_(d,D.START_TAG_TOKEN,ht),_(d,D.END_TAG_TOKEN,ft),_(d,D.EOF_TOKEN,ut),d)),_(A,se,(_(p={},D.CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0})),_(p,D.NULL_CHARACTER_TOKEN,De),_(p,D.WHITESPACE_CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t)})),_(p,D.COMMENT_TOKEN,pt),_(p,D.DOCTYPE_TOKEN,pt),_(p,D.START_TAG_TOKEN,pt),_(p,D.END_TAG_TOKEN,pt),_(p,D.EOF_TOKEN,pt),p)),_(A,le,(_(m={},D.CHARACTER_TOKEN,We),_(m,D.NULL_CHARACTER_TOKEN,De),_(m,D.WHITESPACE_CHARACTER_TOKEN,He),_(m,D.COMMENT_TOKEN,Re),_(m,D.DOCTYPE_TOKEN,De),_(m,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.CAPTION||n===X.COL||n===X.COLGROUP||n===X.TBODY||n===X.TD||n===X.TFOOT||n===X.TH||n===X.THEAD||n===X.TR?e.openElements.hasInTableScope(X.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ae,e._processToken(t)):it(e,t)})),_(m,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.CAPTION||n===X.TABLE?e.openElements.hasInTableScope(X.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ae,n===X.TABLE&&e._processToken(t)):n!==X.BODY&&n!==X.COL&&n!==X.COLGROUP&&n!==X.HTML&&n!==X.TBODY&&n!==X.TD&&n!==X.TFOOT&&n!==X.TH&&n!==X.THEAD&&n!==X.TR&&lt(e,t)})),_(m,D.EOF_TOKEN,ut),m)),_(A,ue,(_(g={},D.CHARACTER_TOKEN,mt),_(g,D.NULL_CHARACTER_TOKEN,mt),_(g,D.WHITESPACE_CHARACTER_TOKEN,Me),_(g,D.COMMENT_TOKEN,Re),_(g,D.DOCTYPE_TOKEN,De),_(g,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.COL?(e._appendElement(t,H.HTML),t.ackSelfClosing=!0):n===X.TEMPLATE?Be(e,t):mt(e,t)})),_(g,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.COLGROUP?e.openElements.currentTagName===X.COLGROUP&&(e.openElements.pop(),e.insertionMode=ae):n===X.TEMPLATE?je(e,t):n!==X.COL&&mt(e,t)})),_(g,D.EOF_TOKEN,ut),g)),_(A,ce,(_(v={},D.CHARACTER_TOKEN,ct),_(v,D.NULL_CHARACTER_TOKEN,ct),_(v,D.WHITESPACE_CHARACTER_TOKEN,ct),_(v,D.COMMENT_TOKEN,Re),_(v,D.DOCTYPE_TOKEN,De),_(v,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,H.HTML),e.insertionMode=he):n===X.TH||n===X.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(X.TR),e.insertionMode=he,e._processToken(t)):n===X.CAPTION||n===X.COL||n===X.COLGROUP||n===X.TBODY||n===X.TFOOT||n===X.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae,e._processToken(t)):ht(e,t)})),_(v,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.TBODY||n===X.TFOOT||n===X.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae):n===X.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ae,e._processToken(t)):(n!==X.BODY&&n!==X.CAPTION&&n!==X.COL&&n!==X.COLGROUP||n!==X.HTML&&n!==X.TD&&n!==X.TH&&n!==X.TR)&&ft(e,t)})),_(v,D.EOF_TOKEN,ut),v)),_(A,he,(_(O={},D.CHARACTER_TOKEN,ct),_(O,D.NULL_CHARACTER_TOKEN,ct),_(O,D.WHITESPACE_CHARACTER_TOKEN,ct),_(O,D.COMMENT_TOKEN,Re),_(O,D.DOCTYPE_TOKEN,De),_(O,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.TH||n===X.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,H.HTML),e.insertionMode=fe,e.activeFormattingElements.insertMarker()):n===X.CAPTION||n===X.COL||n===X.COLGROUP||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR?e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):ht(e,t)})),_(O,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.TR?e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce):n===X.TABLE?e.openElements.hasInTableScope(X.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):n===X.TBODY||n===X.TFOOT||n===X.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(X.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ce,e._processToken(t)):(n!==X.BODY&&n!==X.CAPTION&&n!==X.COL&&n!==X.COLGROUP||n!==X.HTML&&n!==X.TD&&n!==X.TH)&&ft(e,t)})),_(O,D.EOF_TOKEN,ut),O)),_(A,fe,(_(y={},D.CHARACTER_TOKEN,We),_(y,D.NULL_CHARACTER_TOKEN,De),_(y,D.WHITESPACE_CHARACTER_TOKEN,He),_(y,D.COMMENT_TOKEN,Re),_(y,D.DOCTYPE_TOKEN,De),_(y,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.CAPTION||n===X.COL||n===X.COLGROUP||n===X.TBODY||n===X.TD||n===X.TFOOT||n===X.TH||n===X.THEAD||n===X.TR?(e.openElements.hasInTableScope(X.TD)||e.openElements.hasInTableScope(X.TH))&&(e._closeTableCell(),e._processToken(t)):it(e,t)})),_(y,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.TD||n===X.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=he):n===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==X.BODY&&n!==X.CAPTION&&n!==X.COL&&n!==X.COLGROUP&&n!==X.HTML&&lt(e,t)})),_(y,D.EOF_TOKEN,ut),y)),_(A,de,(_(k={},D.CHARACTER_TOKEN,Me),_(k,D.NULL_CHARACTER_TOKEN,De),_(k,D.WHITESPACE_CHARACTER_TOKEN,Me),_(k,D.COMMENT_TOKEN,Re),_(k,D.DOCTYPE_TOKEN,De),_(k,D.START_TAG_TOKEN,gt),_(k,D.END_TAG_TOKEN,vt),_(k,D.EOF_TOKEN,ut),k)),_(A,pe,(_(b={},D.CHARACTER_TOKEN,Me),_(b,D.NULL_CHARACTER_TOKEN,De),_(b,D.WHITESPACE_CHARACTER_TOKEN,Me),_(b,D.COMMENT_TOKEN,Re),_(b,D.DOCTYPE_TOKEN,De),_(b,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.CAPTION||n===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR||n===X.TD||n===X.TH?(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),e._processToken(t)):gt(e,t)})),_(b,D.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.CAPTION||n===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.TR||n===X.TD||n===X.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),e._processToken(t)):vt(e,t)})),_(b,D.EOF_TOKEN,ut),b)),_(A,me,(_(S={},D.CHARACTER_TOKEN,We),_(S,D.NULL_CHARACTER_TOKEN,De),_(S,D.WHITESPACE_CHARACTER_TOKEN,He),_(S,D.COMMENT_TOKEN,Re),_(S,D.DOCTYPE_TOKEN,De),_(S,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;if(n===X.BASE||n===X.BASEFONT||n===X.BGSOUND||n===X.LINK||n===X.META||n===X.NOFRAMES||n===X.SCRIPT||n===X.STYLE||n===X.TEMPLATE||n===X.TITLE)Be(e,t);else{var r=Se[n]||ie;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}})),_(S,D.END_TAG_TOKEN,(function(e,t){t.tagName===X.TEMPLATE&&je(e,t)})),_(S,D.EOF_TOKEN,Ot),S)),_(A,ge,(_(x={},D.CHARACTER_TOKEN,yt),_(x,D.NULL_CHARACTER_TOKEN,yt),_(x,D.WHITESPACE_CHARACTER_TOKEN,He),_(x,D.COMMENT_TOKEN,(function(e,t){e._appendCommentNode(t,e.openElements.items[0])})),_(x,D.DOCTYPE_TOKEN,De),_(x,D.START_TAG_TOKEN,(function(e,t){t.tagName===X.HTML?it(e,t):yt(e,t)})),_(x,D.END_TAG_TOKEN,(function(e,t){t.tagName===X.HTML?e.fragmentContext||(e.insertionMode=ye):yt(e,t)})),_(x,D.EOF_TOKEN,Ie),x)),_(A,ve,(_(w={},D.CHARACTER_TOKEN,De),_(w,D.NULL_CHARACTER_TOKEN,De),_(w,D.WHITESPACE_CHARACTER_TOKEN,Me),_(w,D.COMMENT_TOKEN,Re),_(w,D.DOCTYPE_TOKEN,De),_(w,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.FRAMESET?e._insertElement(t,H.HTML):n===X.FRAME?(e._appendElement(t,H.HTML),t.ackSelfClosing=!0):n===X.NOFRAMES&&Be(e,t)})),_(w,D.END_TAG_TOKEN,(function(e,t){t.tagName!==X.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===X.FRAMESET||(e.insertionMode=Oe))})),_(w,D.EOF_TOKEN,Ie),w)),_(A,Oe,(_(T={},D.CHARACTER_TOKEN,De),_(T,D.NULL_CHARACTER_TOKEN,De),_(T,D.WHITESPACE_CHARACTER_TOKEN,Me),_(T,D.COMMENT_TOKEN,Re),_(T,D.DOCTYPE_TOKEN,De),_(T,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.NOFRAMES&&Be(e,t)})),_(T,D.END_TAG_TOKEN,(function(e,t){t.tagName===X.HTML&&(e.insertionMode=ke)})),_(T,D.EOF_TOKEN,Ie),T)),_(A,ye,(_(C={},D.CHARACTER_TOKEN,kt),_(C,D.NULL_CHARACTER_TOKEN,kt),_(C,D.WHITESPACE_CHARACTER_TOKEN,He),_(C,D.COMMENT_TOKEN,Ze),_(C,D.DOCTYPE_TOKEN,De),_(C,D.START_TAG_TOKEN,(function(e,t){t.tagName===X.HTML?it(e,t):kt(e,t)})),_(C,D.END_TAG_TOKEN,kt),_(C,D.EOF_TOKEN,Ie),C)),_(A,ke,(_(E={},D.CHARACTER_TOKEN,De),_(E,D.NULL_CHARACTER_TOKEN,De),_(E,D.WHITESPACE_CHARACTER_TOKEN,He),_(E,D.COMMENT_TOKEN,Ze),_(E,D.DOCTYPE_TOKEN,De),_(E,D.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.NOFRAMES&&Be(e,t)})),_(E,D.END_TAG_TOKEN,De),_(E,D.EOF_TOKEN,Ie),E)),A),we=function(){function e(t){P(this,e),this.options=L(Y,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&I.install(this,Z),this.options.onParseError&&I.install(this,M,{onParseError:this.options.onParseError})}return Q(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(X.TEMPLATE,H.HTML,[]));var n=this.treeAdapter.createElement("documentmock",H.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===X.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 D(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 R(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===D.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===D.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)!==H.HTML&&!this._isIntegrationPoint(e)}},{key:"_switchToTextParsing",value:function(e,t){this._insertElement(e,H.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=D.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)===X.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}},{key:"_initTokenizerForFragmentParsing",value:function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===H.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===X.TITLE||e===X.TEXTAREA?this.tokenizer.state=D.MODE.RCDATA:e===X.STYLE||e===X.XMP||e===X.IFRAME||e===X.NOEMBED||e===X.NOFRAMES||e===X.NOSCRIPT?this.tokenizer.state=D.MODE.RAWTEXT:e===X.SCRIPT?this.tokenizer.state=D.MODE.SCRIPT_DATA:e===X.PLAINTEXT&&(this.tokenizer.state=D.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,H.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}},{key:"_insertTemplate",value:function(e){var t=this.treeAdapter.createElement(e.tagName,H.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(X.HTML,H.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===H.HTML)return!1;if(this.treeAdapter.getTagName(t)===X.ANNOTATION_XML&&n===H.MATHML&&e.type===D.START_TAG_TOKEN&&e.tagName===X.SVG)return!1;var r=e.type===D.CHARACTER_TOKEN||e.type===D.NULL_CHARACTER_TOKEN||e.type===D.WHITESPACE_CHARACTER_TOKEN;return(!(e.type===D.START_TAG_TOKEN&&e.tagName!==X.MGLYPH&&e.tagName!==X.MALIGNMARK)&&!r||!this._isIntegrationPoint(t,H.MATHML))&&((e.type!==D.START_TAG_TOKEN&&!r||!this._isIntegrationPoint(t,H.HTML))&&e.type!==D.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===D.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===D.NULL_CHARACTER_TOKEN?function(e,t){t.chars=U.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===D.WHITESPACE_CHARACTER_TOKEN?Me(this,e):e.type===D.COMMENT_TOKEN?Re(this,e):e.type===D.START_TAG_TOKEN?function(e,t){if(B.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==H.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{var n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===H.MATHML?B.adjustTokenMathMLAttrs(t):r===H.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===D.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)===H.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===D.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===R.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(X.P),this.openElements.popUntilTagNamePopped(X.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=be[r];if(i){this.insertionMode=i;break}if(!(t||r!==X.TD&&r!==X.TH)){this.insertionMode=fe;break}if(!t&&r===X.HEAD){this.insertionMode=te;break}if(r===X.SELECT){this._resetInsertionModeForSelect(e);break}if(r===X.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===X.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===X.TEMPLATE)break;if(r===X.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===X.TABLE||t===X.TBODY||t===X.TFOOT||t===X.THEAD||t===X.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===X.TEMPLATE&&i===H.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===X.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 z.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>=G;!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===X.TEMPLATE&&i===H.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Qe(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 _e(e,t){for(var n,r=0;r<V&&(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),Qe(e,i,n)}}function De(){}function Ne(e){e._err(j.misplacedDoctype)}function Re(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function Ze(e,t){e._appendCommentNode(t,e.document)}function Me(e,t){e._insertCharacters(t)}function Ie(e){e.stopped=!0}function $e(e,t){e._err(j.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,z.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(X.HEAD),e.headElement=e.openElements.current,e.insertionMode=te,e._processToken(t)}function Be(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.BASE||n===X.BASEFONT||n===X.BGSOUND||n===X.LINK||n===X.META?(e._appendElement(t,H.HTML),t.ackSelfClosing=!0):n===X.TITLE?e._switchToTextParsing(t,D.MODE.RCDATA):n===X.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,D.MODE.RAWTEXT):(e._insertElement(t,H.HTML),e.insertionMode=ne):n===X.NOFRAMES||n===X.STYLE?e._switchToTextParsing(t,D.MODE.RAWTEXT):n===X.SCRIPT?e._switchToTextParsing(t,D.MODE.SCRIPT_DATA):n===X.TEMPLATE?(e._insertTemplate(t,H.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=me,e._pushTmplInsertionMode(me)):n===X.HEAD?e._err(j.misplacedStartTagForHeadElement):Ue(e,t)}function je(e,t){var n=t.tagName;n===X.HEAD?(e.openElements.pop(),e.insertionMode=re):n===X.BODY||n===X.BR||n===X.HTML?Ue(e,t):n===X.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==X.TEMPLATE&&e._err(j.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(X.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(j.endTagWithoutMatchingOpenElement)}function Ue(e,t){e.openElements.pop(),e.insertionMode=re,e._processToken(t)}function ze(e,t){var n=t.type===D.EOF_TOKEN?j.openElementsLeftAfterEof:j.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=te,e._processToken(t)}function Xe(e,t){e._insertFakeElement(X.BODY),e.insertionMode=ie,e._processToken(t)}function He(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function We(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ye(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function qe(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Ve(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ge(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Je(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ke(e,t){e._appendElement(t,H.HTML),t.ackSelfClosing=!0}function et(e,t){e._switchToTextParsing(t,D.MODE.RAWTEXT)}function tt(e,t){e.openElements.currentTagName===X.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function nt(e,t){e.openElements.hasInScope(X.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,H.HTML)}function rt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function it(e,t){var n=t.tagName;switch(n.length){case 1:n===X.I||n===X.S||n===X.B||n===X.U?Ve(e,t):n===X.P?Ye(e,t):n===X.A?function(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(X.A);n&&(_e(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):rt(e,t);break;case 2:n===X.DL||n===X.OL||n===X.UL?Ye(e,t):n===X.H1||n===X.H2||n===X.H3||n===X.H4||n===X.H5||n===X.H6?function(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement();var n=e.openElements.currentTagName;n!==X.H1&&n!==X.H2&&n!==X.H3&&n!==X.H4&&n!==X.H5&&n!==X.H6||e.openElements.pop(),e._insertElement(t,H.HTML)}(e,t):n===X.LI||n===X.DD||n===X.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===X.LI&&o===X.LI?a=X.LI:n!==X.DD&&n!==X.DT||o!==X.DD&&o!==X.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==X.ADDRESS&&o!==X.DIV&&o!==X.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML)}(e,t):n===X.EM||n===X.TT?Ve(e,t):n===X.BR?Je(e,t):n===X.HR?function(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===X.RB?nt(e,t):n===X.RT||n===X.RP?function(e,t){e.openElements.hasInScope(X.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(X.RTC),e._insertElement(t,H.HTML)}(e,t):n!==X.TH&&n!==X.TD&&n!==X.TR&&rt(e,t);break;case 3:n===X.DIV||n===X.DIR||n===X.NAV?Ye(e,t):n===X.PRE?qe(e,t):n===X.BIG?Ve(e,t):n===X.IMG||n===X.WBR?Je(e,t):n===X.XMP?function(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,D.MODE.RAWTEXT)}(e,t):n===X.SVG?function(e,t){e._reconstructActiveFormattingElements(),B.adjustTokenSVGAttrs(t),B.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,H.SVG):e._insertElement(t,H.SVG),t.ackSelfClosing=!0}(e,t):n===X.RTC?nt(e,t):n!==X.COL&&rt(e,t);break;case 4:n===X.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===X.BASE||n===X.LINK||n===X.META?Be(e,t):n===X.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===X.MAIN||n===X.MENU?Ye(e,t):n===X.FORM?function(e,t){var n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===X.CODE||n===X.FONT?Ve(e,t):n===X.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(X.NOBR)&&(_e(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===X.AREA?Je(e,t):n===X.MATH?function(e,t){e._reconstructActiveFormattingElements(),B.adjustTokenMathMLAttrs(t),B.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,H.MATHML):e._insertElement(t,H.MATHML),t.ackSelfClosing=!0}(e,t):n===X.MENU?function(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML)}(e,t):n!==X.HEAD&&rt(e,t);break;case 5:n===X.STYLE||n===X.TITLE?Be(e,t):n===X.ASIDE?Ye(e,t):n===X.SMALL?Ve(e,t):n===X.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==z.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=ae}(e,t):n===X.EMBED?Je(e,t):n===X.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML);var n=D.getTokenAttr(t,W.TYPE);n&&n.toLowerCase()===q||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===X.PARAM||n===X.TRACK?Ke(e,t):n===X.IMAGE?function(e,t){t.tagName=X.IMG,Je(e,t)}(e,t):n!==X.FRAME&&n!==X.TBODY&&n!==X.TFOOT&&n!==X.THEAD&&rt(e,t);break;case 6:n===X.SCRIPT?Be(e,t):n===X.CENTER||n===X.FIGURE||n===X.FOOTER||n===X.HEADER||n===X.HGROUP||n===X.DIALOG?Ye(e,t):n===X.BUTTON?function(e,t){e.openElements.hasInScope(X.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(X.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1}(e,t):n===X.STRIKE||n===X.STRONG?Ve(e,t):n===X.APPLET||n===X.OBJECT?Ge(e,t):n===X.KEYGEN?Je(e,t):n===X.SOURCE?Ke(e,t):n===X.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,D.MODE.RAWTEXT)}(e,t):n===X.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.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===X.OPTION?tt(e,t):rt(e,t);break;case 7:n===X.BGSOUND?Be(e,t):n===X.DETAILS||n===X.ADDRESS||n===X.ARTICLE||n===X.SECTION||n===X.SUMMARY?Ye(e,t):n===X.LISTING?qe(e,t):n===X.MARQUEE?Ge(e,t):n===X.NOEMBED?et(e,t):n!==X.CAPTION&&rt(e,t);break;case 8:n===X.BASEFONT?Be(e,t):n===X.FRAMESET?function(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,H.HTML),e.insertionMode=ve)}(e,t):n===X.FIELDSET?Ye(e,t):n===X.TEXTAREA?function(e,t){e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.tokenizer.state=D.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=oe}(e,t):n===X.TEMPLATE?Be(e,t):n===X.NOSCRIPT?e.options.scriptingEnabled?et(e,t):rt(e,t):n===X.OPTGROUP?tt(e,t):n!==X.COLGROUP&&rt(e,t);break;case 9:n===X.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(X.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.tokenizer.state=D.MODE.PLAINTEXT}(e,t):rt(e,t);break;case 10:n===X.BLOCKQUOTE||n===X.FIGCAPTION?Ye(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===X.A||n===X.B||n===X.I||n===X.S||n===X.U?_e(e,t):n===X.P?function(e){e.openElements.hasInButtonScope(X.P)||e._insertFakeElement(X.P),e._closePElement()}(e):st(e,t);break;case 2:n===X.DL||n===X.UL||n===X.OL?ot(e,t):n===X.LI?function(e){e.openElements.hasInListItemScope(X.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(X.LI),e.openElements.popUntilTagNamePopped(X.LI))}(e):n===X.DD||n===X.DT?function(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===X.H1||n===X.H2||n===X.H3||n===X.H4||n===X.H5||n===X.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===X.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(X.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===X.EM||n===X.TT?_e(e,t):st(e,t);break;case 3:n===X.BIG?_e(e,t):n===X.DIR||n===X.DIV||n===X.NAV||n===X.PRE?ot(e,t):st(e,t);break;case 4:n===X.BODY?function(e){e.openElements.hasInScope(X.BODY)&&(e.insertionMode=ge)}(e):n===X.HTML?function(e,t){e.openElements.hasInScope(X.BODY)&&(e.insertionMode=ge,e._processToken(t))}(e,t):n===X.FORM?function(e){var t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(X.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(X.FORM):e.openElements.remove(n))}(e):n===X.CODE||n===X.FONT||n===X.NOBR?_e(e,t):n===X.MAIN||n===X.MENU?ot(e,t):st(e,t);break;case 5:n===X.ASIDE?ot(e,t):n===X.SMALL?_e(e,t):st(e,t);break;case 6:n===X.CENTER||n===X.FIGURE||n===X.FOOTER||n===X.HEADER||n===X.HGROUP||n===X.DIALOG?ot(e,t):n===X.APPLET||n===X.OBJECT?at(e,t):n===X.STRIKE||n===X.STRONG?_e(e,t):st(e,t);break;case 7:n===X.ADDRESS||n===X.ARTICLE||n===X.DETAILS||n===X.SECTION||n===X.SUMMARY||n===X.LISTING?ot(e,t):n===X.MARQUEE?at(e,t):st(e,t);break;case 8:n===X.FIELDSET?ot(e,t):n===X.TEMPLATE?je(e,t):st(e,t);break;case 10:n===X.BLOCKQUOTE||n===X.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===X.TABLE||n===X.TBODY||n===X.TFOOT||n===X.THEAD||n===X.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===X.TD||n===X.TH||n===X.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.TBODY),e.insertionMode=ce,e._processToken(t)}(e,t):dt(e,t);break;case 3:n===X.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(X.COLGROUP),e.insertionMode=ue,e._processToken(t)}(e,t):dt(e,t);break;case 4:n===X.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,H.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):dt(e,t);break;case 5:n===X.TABLE?function(e,t){e.openElements.hasInTableScope(X.TABLE)&&(e.openElements.popUntilTagNamePopped(X.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===X.STYLE?Be(e,t):n===X.TBODY||n===X.TFOOT||n===X.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=ce}(e,t):n===X.INPUT?function(e,t){var n=D.getTokenAttr(t,W.TYPE);n&&n.toLowerCase()===q?e._appendElement(t,H.HTML):dt(e,t),t.ackSelfClosing=!0}(e,t):dt(e,t);break;case 6:n===X.SCRIPT?Be(e,t):dt(e,t);break;case 7:n===X.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,H.HTML),e.insertionMode=le}(e,t):dt(e,t);break;case 8:n===X.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=ue}(e,t):n===X.TEMPLATE?Be(e,t):dt(e,t);break;default:dt(e,t)}}function ft(e,t){var n=t.tagName;n===X.TABLE?e.openElements.hasInTableScope(X.TABLE)&&(e.openElements.popUntilTagNamePopped(X.TABLE),e._resetInsertionMode()):n===X.TEMPLATE?je(e,t):n!==X.BODY&&n!==X.CAPTION&&n!==X.COL&&n!==X.COLGROUP&&n!==X.HTML&&n!==X.TBODY&&n!==X.TD&&n!==X.TFOOT&&n!==X.TH&&n!==X.THEAD&&n!==X.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===X.COLGROUP&&(e.openElements.pop(),e.insertionMode=ae,e._processToken(t))}function gt(e,t){var n=t.tagName;n===X.HTML?it(e,t):n===X.OPTION?(e.openElements.currentTagName===X.OPTION&&e.openElements.pop(),e._insertElement(t,H.HTML)):n===X.OPTGROUP?(e.openElements.currentTagName===X.OPTION&&e.openElements.pop(),e.openElements.currentTagName===X.OPTGROUP&&e.openElements.pop(),e._insertElement(t,H.HTML)):n===X.INPUT||n===X.KEYGEN||n===X.TEXTAREA||n===X.SELECT?e.openElements.hasInSelectScope(X.SELECT)&&(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode(),n!==X.SELECT&&e._processToken(t)):n!==X.SCRIPT&&n!==X.TEMPLATE||Be(e,t)}function vt(e,t){var n=t.tagName;if(n===X.OPTGROUP){var r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===X.OPTION&&i===X.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===X.OPTGROUP&&e.openElements.pop()}else n===X.OPTION?e.openElements.currentTagName===X.OPTION&&e.openElements.pop():n===X.SELECT&&e.openElements.hasInSelectScope(X.SELECT)?(e.openElements.popUntilTagNamePopped(X.SELECT),e._resetInsertionMode()):n===X.TEMPLATE&&je(e,t)}function Ot(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(X.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 kt(e,t){e.insertionMode=ie,e._processToken(t)}e.exports=we},9738:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(4681),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},444:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(9432),a=n(8600),s=n(58),l=n(7489),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",k="RCDATA_LESS_THAN_SIGN_STATE",b="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",Q="SCRIPT_DATA_ESCAPE_START_DASH_STATE",_="SCRIPT_DATA_ESCAPED_STATE",D="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",R="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",Z="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",M="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",I="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",$="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",U="BEFORE_ATTRIBUTE_NAME_STATE",z="ATTRIBUTE_NAME_STATE",X="AFTER_ATTRIBUTE_NAME_STATE",H="BEFORE_ATTRIBUTE_VALUE_STATE",W="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",Y="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_UNQUOTED_STATE",V="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",G="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",ke="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",be="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",Qe="NAMED_CHARACTER_REFERENCE_STATE",_e="AMBIGUOS_AMPERSAND_STATE",De="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Re="DECIMAL_CHARACTER_REFERENCE_START_STATE",Ze="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Me="DECIMAL_CHARACTER_REFERENCE_STATE",Ie="NUMERIC_CHARACTER_REFERENCE_END_STATE";function $e(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 Ue(e){return je(e)||Le(e)}function ze(e){return e>=u.LATIN_CAPITAL_A&&e<=u.LATIN_CAPITAL_F}function Xe(e){return e>=u.LATIN_SMALL_A&&e<=u.LATIN_SMALL_F}function He(e){return e+32}function We(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function Ye(e){return String.fromCharCode(He(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 Ve=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!==He(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;$e(t)?n=e.WHITESPACE_CHARACTER_TOKEN:t===u.NULL&&(n=e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,We(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===W||this.returnState===Y||this.returnState===q}},{key:"_isCharacterReferenceAttributeQuirk",value:function(e){if(!e&&this._isCharacterReferenceInAttribute()){var t=this._consume();return this._unconsume(),t===u.EQUALS_SIGN||Ue(t)}return!1}},{key:"_flushCodePointsConsumedAsCharacterReference",value:function(){if(this._isCharacterReferenceInAttribute())for(var e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=We(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=k: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){$e(e)?this.state=U:e===u.SOLIDUS?this.state=G:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):Fe(e)?this.currentToken.tagName+=Ye(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+=We(e)}},{key:k,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=b):(this._emitChars("<"),this._reconsumeInState(d))}},{key:b,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+=Ye(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if($e(e))return void(this.state=U);if(e===u.SOLIDUS)return void(this.state=G);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+=Ye(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if($e(e))return void(this.state=U);if(e===u.SOLIDUS)return void(this.state=G);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+=Ye(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if($e(e))return void(this.state=U);if(e===u.SOLIDUS)return void(this.state=G);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=Q,this._emitChars("-")):this._reconsumeInState(m)}},{key:Q,value:function(e){e===u.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(m)}},{key:_,value:function(e){e===u.HYPHEN_MINUS?(this.state=D,this._emitChars("-")):e===u.LESS_THAN_SIGN?this.state=R: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:D,value:function(e){e===u.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===u.LESS_THAN_SIGN?this.state=R:e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=_,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=_,this._emitCodePoint(e))}},{key:N,value:function(e){e===u.HYPHEN_MINUS?this._emitChars("-"):e===u.LESS_THAN_SIGN?this.state=R:e===u.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.state=_,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=_,this._emitCodePoint(e))}},{key:R,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=Z):je(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(I)):(this._emitChars("<"),this._reconsumeInState(_))}},{key:Z,value:function(e){je(e)?(this._createEndTagToken(),this._reconsumeInState(M)):(this._emitChars("</"),this._reconsumeInState(_))}},{key:M,value:function(e){if(Fe(e))this.currentToken.tagName+=Ye(e),this.tempBuff.push(e);else if(Be(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if($e(e))return void(this.state=U);if(e===u.SOLIDUS)return void(this.state=G);if(e===u.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(_)}}},{key:I,value:function(e){$e(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?$:_,this._emitCodePoint(e)):Fe(e)?(this.tempBuff.push(He(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(_)}},{key:$,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=$,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=$,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=$,this._emitChars(a.REPLACEMENT_CHARACTER)):e===u.EOF?(this._err(l.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=$,this._emitCodePoint(e))}},{key:B,value:function(e){e===u.SOLIDUS?(this.tempBuff=[],this.state=j,this._emitChars("/")):this._reconsumeInState($)}},{key:j,value:function(e){$e(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?_:$,this._emitCodePoint(e)):Fe(e)?(this.tempBuff.push(He(e)),this._emitCodePoint(e)):Be(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState($)}},{key:U,value:function(e){$e(e)||(e===u.SOLIDUS||e===u.GREATER_THAN_SIGN||e===u.EOF?this._reconsumeInState(X):e===u.EQUALS_SIGN?(this._err(l.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=z):(this._createAttr(""),this._reconsumeInState(z)))}},{key:z,value:function(e){$e(e)||e===u.SOLIDUS||e===u.GREATER_THAN_SIGN||e===u.EOF?(this._leaveAttrName(X),this._unconsume()):e===u.EQUALS_SIGN?this._leaveAttrName(H):Fe(e)?this.currentAttr.name+=Ye(e):e===u.QUOTATION_MARK||e===u.APOSTROPHE||e===u.LESS_THAN_SIGN?(this._err(l.unexpectedCharacterInAttributeName),this.currentAttr.name+=We(e)):e===u.NULL?(this._err(l.unexpectedNullCharacter),this.currentAttr.name+=a.REPLACEMENT_CHARACTER):this.currentAttr.name+=We(e)}},{key:X,value:function(e){$e(e)||(e===u.SOLIDUS?this.state=G:e===u.EQUALS_SIGN?this.state=H:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(z)))}},{key:H,value:function(e){$e(e)||(e===u.QUOTATION_MARK?this.state=W:e===u.APOSTROPHE?this.state=Y:e===u.GREATER_THAN_SIGN?(this._err(l.missingAttributeValue),this.state=f,this._emitCurrentToken()):this._reconsumeInState(q))}},{key:W,value:function(e){e===u.QUOTATION_MARK?this.state=V: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+=We(e)}},{key:Y,value:function(e){e===u.APOSTROPHE?this.state=V:e===u.AMPERSAND?(this.returnState=Y,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+=We(e)}},{key:q,value:function(e){$e(e)?this._leaveAttrValue(U):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+=We(e)):e===u.EOF?(this._err(l.eofInTag),this._emitEOFToken()):this.currentAttr.value+=We(e)}},{key:V,value:function(e){$e(e)?this._leaveAttrValue(U):e===u.SOLIDUS?this._leaveAttrValue(G):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(U))}},{key:G,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(U))}},{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+=We(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+=We(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){$e(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){$e(e)||(Fe(e)?(this._createDoctypeToken(Ye(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(We(e)),this.state=fe))}},{key:fe,value:function(e){$e(e)?this.state=de:e===u.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):Fe(e)?this.currentToken.name+=Ye(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+=We(e)}},{key:de,value:function(e){$e(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=ke:this._ensureHibernation()||(this._err(l.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Te)))}},{key:pe,value:function(e){$e(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){$e(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+=We(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+=We(e)}},{key:Oe,value:function(e){$e(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){$e(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:ke,value:function(e){$e(e)?this.state=be: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:be,value:function(e){$e(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+=We(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+=We(e)}},{key:we,value:function(e){$e(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=De):Ue(e)?this._reconsumeInState(Qe):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:Qe,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=_e}},{key:_e,value:function(e){Ue(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=We(e):this._emitCodePoint(e):(e===u.SEMICOLON&&this._err(l.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}},{key:De,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(Re)}},{key:Ne,value:function(e){!function(e){return Le(e)||ze(e)||Xe(e)}(e)?(this._err(l.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Ze)}},{key:Re,value:function(e){Le(e)?this._reconsumeInState(Me):(this._err(l.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:Ze,value:function(e){ze(e)?this.charRefCode=16*this.charRefCode+e-55:Xe(e)?this.charRefCode=16*this.charRefCode+e-87:Le(e)?this.charRefCode=16*this.charRefCode+e-48:e===u.SEMICOLON?this.state=Ie:(this._err(l.missingSemicolonAfterCharacterReference),this._reconsumeInState(Ie))}},{key:Me,value:function(e){Le(e)?this.charRefCode=10*this.charRefCode+e-48:e===u.SEMICOLON?this.state=Ie:(this._err(l.missingSemicolonAfterCharacterReference),this._reconsumeInState(Ie))}},{key:Ie,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}();Ve.CHARACTER_TOKEN="CHARACTER_TOKEN",Ve.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ve.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ve.START_TAG_TOKEN="START_TAG_TOKEN",Ve.END_TAG_TOKEN="END_TAG_TOKEN",Ve.COMMENT_TOKEN="COMMENT_TOKEN",Ve.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ve.EOF_TOKEN="EOF_TOKEN",Ve.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ve.MODE={DATA:f,RCDATA:d,RAWTEXT:p,SCRIPT_DATA:m,PLAINTEXT:g},Ve.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=Ve},58: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])},9432:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8600),a=n(7489),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},6290:function(e,t,n){"use strict";var r=n(4681).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)}},9843: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))}},2514: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},4134:function(e,t,n){"use strict";var r=n(3302),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var a=c(n);h&&(a=a.concat(h(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var O=f(n,v);try{u(t,v,O)}catch(y){}}}}return t}},8672:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case h:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return b(e)===h}t.AsyncMode=c,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return S(e)||b(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===h||e===s||e===a||e===d||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===O||e.$$typeof===y||e.$$typeof===k||e.$$typeof===v)},t.typeOf=b},3302:function(e,t,n){"use strict";e.exports=n(8672)},7107: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 k(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){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(b(),!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(k(t);e=S();)!1!==e&&(t.push(e),k(t));return t}()}},6419:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},7278: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},9406:function(e,t,n){"use strict";var r=n(3964);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}},1512:function(e,t,n){e.exports=n(9406)()},3964:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4354: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},2471:function(e,t,n){"use strict";e.exports=n(4354)},5936: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 k(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 b(e){if(g=!1,k(e),!m)if(null!==r(u))m=!0,N(S);else{var t=r(c);null!==t&&R(b,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,O(C),C=-1),p=!0;var o=d;try{for(k(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),k(n)}else i(u);f=r(u)}if(null!==f)var l=!0;else{var h=r(c);null!==h&&R(b,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 Q(){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(Q)};else if("undefined"!==typeof MessageChannel){var _=new MessageChannel,D=_.port2;_.port1.onmessage=Q,x=function(){D.postMessage(null)}}else x=function(){v(Q,0)};function N(e){T=e,w||(w=!0,x())}function R(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,R(b,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}}}},1544:function(e,t,n){"use strict";e.exports=n(5936)},7361: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}},2691:function(e,t,n){var r=n(1818),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},9285:function(e,t,n){var r=n(903);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}},903: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}},3384:function(e,t,n){var r=n(1818);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},865:function(e,t,n){var r=n(9285),i=n(1818),o=n(2691).I,a=n(3384).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},1818: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)}},5011:function(e,t,n){var r=n(7107);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},3766:function(e,t,n){"use strict";var r=n(8133);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},4249:function(e,t,n){"use strict";e.exports=n(3766)},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(c){u=!0,i=c}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(c){u=!0,i=c}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}}},2027:function(e,t,n){"use strict";n.d(t,{B1:function(){return Qe},GA:function(){return be},Gn:function(){return le},Mb:function(){return m},eC:function(){return g},vQ:function(){return me},ys:function(){return Pe}});var r=n(7591),i=n(9616),o=n(649),a=n(1026),s=n(726),l=n(2951),u=n(1976),c=n(7989),h=n(1701),f=n(9973),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){(0,l.Z)(this,e),this.completion=t,this.source=n,this.match=r}));function O(e){return e.selection.main.head}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 k=c.q6.define();function b(e,t){var n,r,i,o,a=t.completion.apply||t.completion.label,s=t.source;"string"==typeof a?e.dispatch(Object.assign(Object.assign({},(n=e.state,r=a,i=s.from,o=s.to,Object.assign(Object.assign({},n.changeByRange((function(e){if(e==n.selection.main)return{changes:{from:i,to:o,insert:r},range:c.jT.cursor(i+r.length)};var t=o-i;return!e.empty||t&&n.sliceDoc(e.from-t,e.from)!=n.sliceDoc(i,o)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:r},range:c.jT.cursor(e.from-t+r.length)}}))),{userEvent:"input.complete"}))),{annotations:k.of(t.completion)})):a(e,t.completion,s.from,s.to)}var S=new WeakMap;function x(e){if(!Array.isArray(e))return e;var t=S.get(e);return t||S.set(e,t=m(e)),t}var w=function(){function e(t){(0,l.Z)(this,e),this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];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:"match",value:function(e){if(0==this.pattern.length)return[0];if(e.length<this.pattern.length)return null;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 null;l+=-200}return[l,0,s]}var u=e.indexOf(this.pattern);if(0==u)return[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 null}for(var g=0,v=0,O=!1,y=0,k=-1,b=-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&&(k=w),b=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==k?[-200-e.length+(b==e.length?0:-100),0,b]:u>-1?[-700-e.length,u,u+this.pattern.length]:y==h?[-900-e.length,k,b]:v==h?this.result((O?-200:0)-100-700+(x?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}},{key:"result",value:function(e,t,n){var r,i=[e-n.length],o=1,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>1&&i[o-1]==l?i[o-1]=u:(i[o++]=l,i[o++]=u)}}catch(h){a.e(h)}finally{a.f()}return i}}]),e}(),T=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:[],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 C(e(n),t(n))}},optionClass:function(e,t){return function(n){return C(e(n),t(n))}},addToOptions:function(e,t){return e.concat(t)}})}});function C(e,t){return e?t?e+" "+t:e:t}function E(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 A=function(){function e(t,n){var r=this;(0,l.Z)(this,e),this.view=t,this.stateField=n,this.info=null,this.placeInfo={read:function(){return r.measureInfo()},write:function(e){return r.positionInfo(e)},key:this},this.space=null,this.currentClass="";var i=t.state.field(n),a=i.open,s=a.options,u=a.selected,c=t.state.facet(T);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.label,o=0,a=1;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}))}(c),this.optionClass=c.optionClass,this.tooltipClass=c.tooltipClass,this.range=E(s.length,u,c.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,i=e.target;i&&i!=r.dom;i=i.parentNode)if("LI"==i.nodeName&&(n=/-(\d+)$/.exec(i.id))&&+n[1]<s.length)return b(t,s[+n[1]]),void e.preventDefault()})),this.list=this.dom.appendChild(this.createListBox(s,i.id,this.range)),this.list.addEventListener("scroll",(function(){r.info&&r.view.requestMeasure(r.placeInfo)}))}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.placeInfo)}},{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=E(n.options.length,n.selected,this.view.state.facet(T).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.placeInfo)}))),this.updateSelectedOption(n.selected)){this.info&&(this.info.remove(),this.info=null);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)})).catch((function(t){return(0,h.OO)(e.view.state,t,"completion info")})):this.addInfoPane(o)}}},{key:"addInfoPane",value:function(e){var t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}},{key:"updateSelectedOption",value:function(e){for(var t=null,n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");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}}if(r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10)return null;var a,s=this.view.textDirection==h.Nm.RTL,l=s,u=!1,c="",f="",d=t.left-i.left,p=i.right-t.right;if(l&&d<Math.min(n.width,p)?l=!1:!l&&p<Math.min(n.width,d)&&(l=!0),n.width<=(l?d:p))c=Math.max(i.top,Math.min(r.top,i.bottom-n.height))-t.top+"px",a=Math.min(400,l?d:p)+"px";else{u=!0,a=Math.min(400,(s?t.right:i.right-t.left)-30)+"px";var m=i.bottom-t.bottom;m>=n.height||m>t.top?c=r.bottom-t.top+"px":f=t.bottom-r.top+"px"}return{top:c,bottom:f,maxWidth:a,class:u?s?"left-narrow":"right-narrow":l?"left":"right"}}},{key:"positionInfo",value:function(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.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=n.from;i<n.to;i++){var o=e[i],a=o.completion,l=o.match,u=r.appendChild(document.createElement("li"));u.id=t+"-"+i,u.setAttribute("role","option");var c=this.optionClass(a);c&&(u.className=c);var h,f=(0,s.Z)(this.optionContent);try{for(f.s();!(h=f.n()).done;){var d=(0,h.value)(a,this.view.state,l);d&&u.appendChild(d)}}catch(p){f.e(p)}finally{f.f()}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}}]),e}();function P(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}var Q=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,N(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=0,o=(0,s.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.hasResult())if(!1===a.result.filter){var l,u=a.result.getMatch,c=(0,s.Z)(a.result.options);try{for(c.s();!(l=c.n()).done;){var h=l.value,f=[1e9-i++];if(u){var d,p=(0,s.Z)(u(h));try{for(p.s();!(d=p.n()).done;){var m=d.value;f.push(m)}}catch(_){p.e(_)}finally{p.f()}}r.push(new v(h,a,f))}}catch(_){c.e(_)}finally{c.f()}}else{var g,O=new w(t.sliceDoc(a.from,a.to)),y=void 0,k=(0,s.Z)(a.result.options);try{for(k.s();!(g=k.n()).done;){var b=g.value;(y=O.match(b.label))&&(null!=b.boost&&(y[0]+=b.boost),r.push(new v(b,a,y)))}}catch(_){k.e(_)}finally{k.f()}}}}catch(_){o.e(_)}finally{o.f()}var S,x=[],C=null,E=t.facet(T).compareCompletions,A=(0,s.Z)(r.sort((function(e,t){return t.match[0]-e.match[0]||E(e.completion,t.completion)})));try{for(A.s();!(S=A.n()).done;){var Q=S.value;!C||C.label!=Q.completion.label||C.detail!=Q.completion.detail||null!=C.type&&null!=Q.completion.type&&C.type!=Q.completion.type||C.apply!=Q.completion.apply?x.push(Q):P(Q.completion)>P(C)&&(x[x.length-1]=Q),C=Q.completion}}catch(_){A.e(_)}finally{A.f()}return x}(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,u=n.facet(T).selectOnOpen?0:-1;if(i&&i.selected!=u&&-1!=i.selected)for(var c=i.options[i.selected].completion,h=0;h<a.length;h++)if(a[h].completion==c){u=h;break}return new e(a,N(r,u),{pos:t.reduce((function(e,t){return t.hasResult()?Math.min(e,t.from):e}),1e8),create:(l=j,function(e){return new A(e,l)}),above:o.aboveCursor},i?i.timestamp:Date.now(),u,!1)}}]),e}(),_=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(T),o=(i.override||r.languageDataAt("autocomplete",O(r)).map(x)).map((function(e){return(n.active.find((function(t){return t.source==e}))||new M(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=Q.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 M(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(B)&&(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:D}}],[{key:"start",value:function(){return new e(R,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}}]),e}();var D={"aria-autocomplete":"list"};function N(e,t){var n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}var R=[];function Z(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}var M=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=Z(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($))i=new e(i.source,1,l.value?O(t.state):-1);else if(l.is(L))i=new e(i.source,0);else if(l.is(F)){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}(),I=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 M(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 M(this.source,1,u)}},{key:"handleChange",value:function(e){return e.changes.touchesRange(this.from,this.to)?new M(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}(M);var $=c.Py.define(),L=c.Py.define(),F=c.Py.define({map:function(e,t){return e.map((function(e){return e.map(t)}))}}),B=c.Py.define(),j=c.QQ.define({create:function(){return _.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){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"option";return function(n){var r=n.state.field(j,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(T).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:B.of(s)}),!0}}var z=(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})),X=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(j).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(j);if(e.selectionSet||e.docChanged||e.startState.field(j)!=n){for(var r=e.transactions.some((function(e){return(e.selection||e.docChanged)&&!Z(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"==Z(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(j),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 z(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:L.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(T),i=function(i){var a=t.running[i];if(void 0===a.done)return o=i,"continue";if(t.running.splice(i--,1),a.done){var l,u=new I(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,"continue"}var f=t.view.state.field(j).active.find((function(e){return e.source==a.active.source}));if(f&&1==f.state)if(null==a.done){var d,p=new M(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:F.of(n)})}}]),e}(),{eventHandlers:{blur:function(){var e=this.view.state.field(j,!1);e&&e.tooltip&&this.view.state.facet(T).closeOnBlur&&this.view.dispatch({effects:L.of(null)})},compositionstart:function(){this.composing=1},compositionend:function(){var e=this;3==this.composing&&setTimeout((function(){return e.view.dispatch({effects:$.of(!1)})}),20),this.composing=0}}}),H=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":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&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"}}}),W=(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})),Y=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}(),q=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 Y(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 W(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,k=(0,s.Z)(a);try{for(k.s();!(y=k.n()).done;){var b=y.value;b.line==o.length&&b.from>u.index&&(b.from--,b.to--)}}catch(S){k.e(S)}finally{k.f()}}o.push(c)}}catch(S){l.e(S)}finally{l.f()}return new e(o,a)}}]),e}(),V=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))}),G=h.p.mark({class:"cm-snippetField"}),J=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?V:G).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}(),K=c.Py.define({map:function(e,t){return e&&e.map(t)}}),ee=c.Py.define(),te=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(K))return i.value;if(i.is(ee)&&e)return new J(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 ne(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 re(e){var t=q.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:k.of(n)};if(s.length&&(l.selection=ne(s,0)),s.length>1){var u=new J(s,0),h=l.effects=[K.of(u)];void 0===e.state.field(te,!1)&&h.push(c.Py.appendConfig.of([te,se,ue,H]))}e.dispatch(e.state.update(l))}}function ie(e){return function(t){var n=t.state,r=t.dispatch,i=n.field(te,!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:ne(i.ranges,o),effects:K.of(a?null:new J(i.ranges,o))})),!0}}var oe=[{key:"Tab",run:ie(1),shift:ie(-1)},{key:"Escape",run:function(e){var t=e.state,n=e.dispatch;return!!t.field(te,!1)&&(n(t.update({effects:K.of(null)})),!0)}}],ae=c.r$.define({combine:function(e){return e.length?e[0]:oe}}),se=c.Wl.highest(h.$f.compute([ae],(function(e){return e.facet(ae)})));function le(e,t){return Object.assign(Object.assign({},t),{apply:re(e)})}var ue=h.tk.domEventHandlers({mousedown:function(e,t){var n,r=t.state.field(te,!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:ne(r.ranges,i.field),effects:K.of(r.ranges.some((function(e){return e.field>i.field}))?new J(r.ranges,i.field):null)}),!0)}});var ce={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},he=c.Py.define({map:function(e,t){var n=t.mapPos(e,-1,c.gc.TrackAfter);return null==n?void 0:n}}),fe=c.Py.define({map:function(e,t){return t.mapPos(e)}}),de=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));de.startSide=1,de.endSide=-1;var pe=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{var a=function(){var t=i.value;t.is(he)?e=e.update({add:[de.range(t.value,t.value+1)]}):t.is(fe)&&(e=e.update({filter:function(e){return e!=t.value}}))};for(o.s();!(i=o.n()).done;)a()}catch(l){o.e(l)}finally{o.f()}return e}});function me(){return[ke,pe]}var ge="()[]{}<>";function ve(e){for(var t=0;t<ge.length;t+=2)if(ge.charCodeAt(t)==e)return ge.charAt(t+1);return(0,c.bg)(e<128?e:e+1)}function Oe(e,t){return e.languageDataAt("closeBrackets",t)[0]||ce}var ye="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ke=h.tk.inputHandler.of((function(e,t,n,r){if((ye?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=Oe(e,e.selection.main.head),i=r.brackets||ce.brackets,o=(0,s.Z)(i);try{for(o.s();!(n=o.n()).done;){var a=n.value,l=ve((0,c.gm)(a,0));if(t==a)return l==a?Ce(e,a,i.indexOf(a+a+a)>-1,r):we(e,a,l,r.before||ce.before);if(t==l&&Se(e,e.selection.main.from))return Te(e,a,l)}}catch(u){o.e(u)}finally{o.f()}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)})),be=[{key:"Backspace",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=Oe(t,t.selection.main.head).brackets||ce.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&&xe(t.doc,e.head)==ve((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 Se(e,t){var n=!1;return e.field(pe).between(0,e.doc.length,(function(e){e==t&&(n=!0)})),n}function xe(e,t){var n=e.sliceString(t,t+2);return n.slice(0,(0,c.nZ)((0,c.gm)(n,0)))}function we(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:he.of(o.to+t.length),range:c.jT.range(o.anchor+t.length,o.head+t.length)};var a=xe(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:he.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 Te(e,t,n){var r=null,i=e.selection.ranges.map((function(t){return t.empty&&xe(e.doc,t.head)==n?c.jT.cursor(t.head+n.length):r=t}));return r?null:e.update({selection:c.jT.create(i,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map((function(e){var t=e.from;return fe.of(t)}))})}function Ce(e,t,n,r){var i=r.stringPrefixes||ce.stringPrefixes,o=null,a=e.changeByRange((function(r){if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:he.of(r.to+t.length),range:c.jT.range(r.anchor+t.length,r.head+t.length)};var a,s=r.head,l=xe(e.doc,s);if(l==t){if(Ee(e,s))return{changes:{insert:t+t,from:s},effects:he.of(s+t.length),range:c.jT.cursor(s+t.length)};if(Se(e,s)){var u=n&&e.sliceDoc(s,s+3*t.length)==t+t+t;return{range:c.jT.cursor(s+t.length*(u?3:1)),effects:fe.of(s)}}}else{if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(a=Ae(e,s-2*t.length,i))>-1&&Ee(e,a))return{changes:{insert:t+t+t+t,from:s},effects:he.of(s+t.length),range:c.jT.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=c.D0.Word&&Ae(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:he.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 Ee(e,t){var n=(0,f.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function Ae(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 Pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[j,T.of(e),X,_e,H]}var Qe=[{key:"Ctrl-Space",run:function(e){return!!e.state.field(j,!1)&&(e.dispatch({effects:$.of(!0)}),!0)}},{key:"Escape",run:function(e){var t=e.state.field(j,!1);return!(!t||!t.active.some((function(e){return 0!=e.state})))&&(e.dispatch({effects:L.of(null)}),!0)}},{key:"ArrowDown",run:U(!0)},{key:"ArrowUp",run:U(!1)},{key:"PageDown",run:U(!0,"page")},{key:"PageUp",run:U(!1,"page")},{key:"Enter",run:function(e){var t=e.state.field(j,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp<e.state.facet(T).interactionDelay)&&(t.open.disabled||b(e,t.open.options[t.open.selected]),!0)}}],_e=c.Wl.highest(h.$f.computeN([T],(function(e){return e.facet(T).defaultKeymap?[Qe]:[]})))},4933:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return _},cssCompletionSource:function(){return P},cssLanguage:function(){return Q}});var r=n(726),i=n(8445),o=n(2029),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?95:2==r&&t.canShift(2)?2:96);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(94)}})),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,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,ParenthesizedContent:o.pJ.special(o.pJ.name),ColorLiteral:o.pJ.color,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,from:158,to:160},m=i.WQ.deserialize({version:14,states:"7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<<HaO7rQWO,5;TOOQP1G/U1G/UOOQS-E8S-E8SO$vQdO'#EVO7zQWO,5;QOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO8SQdO7+%ZOOQO7+%b7+%bOOQS,5:v,5:vOOQS-E8Y-E8YOOQS1G0S1G0SO8ZQtO,5:sOOQS-E8V-E8VOOQO<<Hm<<HmOOQPAN={AN={O9XQdO,5:qOOQO-E8T-E8TOOQO<<Hu<<Hu",stateData:"9i~O#UOSROS~OUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SQO#XSO~OQeOUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SdO#XSO~O#P#^P~P!ZO#SiO~O]nO^nOplOtoOxpO|qO!PsO#QrO#XkO~O!RtO~P#kO`zO#RwO#SvO~O#S{O~O#S}O~OQ!WOb!QOf!WOh!WOn!VO#R!TO#S!PO#[!RO~Ob!YO!b![O!e!]O#S!XO!R#_P~Oh!bOn!VO#S!aO~O#S!dO~Ob!YO!b![O!e!]O#S!XO~O!W#_P~P%bO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#QWX#XWX~O]!iO~O!W!jO#P#^X!Q#^X~O#P#^X!Q#^X~P!ZOUXOXXO]UO^UOtVOxWO#SQO#XSO~OplO!RtO~O`!sO#RwO#SvO~O!Q#^P~P!ZOb!zO~Ob!{O~Ov!|Oz!}O~OP#PObgXjgX!WgX!bgX!egX#SgXagXQgXfgXhgXngXpgX!VgX#PgX#RgX#[gXvgX!QgX~Ob!YOj#QO!b![O!e!]O#S!XO!W#_P~Ob#TO~Ob!YO!b![O!e!]O#S#UO~Op#YO!`#XO!R#_X!W#_X~Ob#]O~Oj#QO!W#_O~O!W#`O~Oh#aOn!VO~O!R#bO~O!RtO!`#XO~O!RtO!W#eO~O!W!|X#P!|X!Q!|X~P!ZO!W!jO#P#^a!Q#^a~O]nO^nOtoOxpO|qO!PsO#QrO#XkO~Op!za!R!zaa!za~P-bOv#lOz#mO~O]nO^nOtoOxpO#XkO~Op{i|{i!P{i!R{i#Q{ia{i~P.cOp}i|}i!P}i!R}i#Q}ia}i~P.cOp!Oi|!Oi!P!Oi!R!Oi#Q!Oia!Oi~P.cO!Q#nO~Oa#]P~P'yOa#YP~P$vOa#uOj#QO~O!W#wO~Oh#xOo#xO~O]!^Xa![X!`![X~O]#yO~Oa#zO!`#XO~Op#YO!R#_a!W#_a~O!`#XOp!aa!R!aa!W!aaa!aa~O!W$PO~O!Q$TO!q$RO!r$RO#[$QO~Oj#QOp$VO!V$XO!W!Ti#P!Ti!Q!Ti~P$vO!W!|a#P!|a!Q!|a~P!ZO!W!jO#P#^i!Q#^i~Oa#]X~P#kOa$]O~Oj#QOQ!xXa!xXb!xXf!xXh!xXn!xXp!xX#R!xX#S!xX#[!xX~Op$_Oa#YX~P$vOa$aO~Oj#QOv$bO~Oa$cO~O!`#XOp!}a!R!}a!W!}a~Oa$eO~P-bOP#PO!RgX~O!Q$hO!q$RO!r$RO#[$QO~Oj#QOQ!{Xb!{Xf!{Xh!{Xn!{Xp!{X!V!{X!W!{X#P!{X#R!{X#S!{X#[!{X!Q!{X~Op$VO!V$kO!W!Tq#P!Tq!Q!Tq~P$vOj#QOv$lO~OplOa#]a~Op$_Oa#Ya~Oa$oO~P$vOj#QOQ!{ab!{af!{ah!{an!{ap!{a!V!{a!W!{a#P!{a#R!{a#S!{a#[!{a!Q!{a~Oa!yap!ya~P$vOo#[j!Pj~",goto:",`#aPPPPP#bP#k#zP#k$Z#kPP$aPPP$g$p$pP%SP$pP$p%j%|PPP&f&l#kP&rP#kP&xP#kP#k#kPPP'O'b'oPP#bPP'v'v(Q'vP'vP'v'vP#bP#bP#bP(T#bP(W(ZPP#bP#bP(^(m({)R)])c)m)sPPPPPP)y*SP*o*rP+h+k+q+z_aOPcgt!j#hkXOPcglqrst!j!z#]#hkROPcglqrst!j!z#]#hQjSR!mkQxUR!qnQ!qzQ#S!UR#k!sq!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mT$R#b$Sq!UY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mQ!b]R#a!cQyUR!rnQ!qyR#k!rQ|VR!toQ!OWR!upQuTQ!pmQ#^!_Q#d!fQ#e!gR$f$RSfPtQ!lgQ#g!jR$Y#hZePgt!j#ha!^Z_`!S!Y![#X#YR#V!YR!c]R!e^R#c!eQcOSgPtU!hcg#hR#h!jQ#r!{U$^#r$d$mQ$d#yR$m$_Q$`#rR$n$`QmTS!om$[R$[#oQ$W#fR$j$WQ!kfS#i!k#jR#j!lQ#Z!ZR#}#ZQ$S#bR$g$S_bOPcgt!j#h^TOPcgt!j#hQ!nlQ!vqQ!wrQ!xsQ#o!zR$O#]R#s!{Q!SYQ!`[Q#O!QQ#f!i[#q!{#r#y$_$d$mQ#t!}Q#v#QS$U#f$WQ$Z#mR$i$VR#p!zQhPR!ytQ!_ZQ!g`R#R!SU!ZZ`!SQ!f_Q#W!YQ#[![Q#{#XR#|#Y",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 from to SupportsStatement supports AtRule Styles",maxTerm:108,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[h],skippedNodes:[0,3],repeatNodeCount:8,tokenData:"Lq~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Cu![!]Dp!]!^El!^!_$}!_!`E}!`!aF`!a!b$}!b!cG[!c!}$}!}#OHt#O#P$}#P#QIV#Q#R6d#R#T$}#T#UIh#U#c$}#c#dJy#d#o$}#o#pK`#p#q6d#q#rKq#r#sLS#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;=`Lk<%lO$}W%QSOy%^z;'S%^;'S;=`%o<%lO%^W%cSoWOy%^z;'S%^;'S;=`%o<%lO%^W%rP;=`<%l%^~%zh#U~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#U~oWOX%^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%^^)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^^)sUoWOy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^^*[UoWOy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^^*sUoWOy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^^+[UoWOy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^^+sUoWOy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^^,[UoWOy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^^,sUoWOy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^^-[UoWOy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^^-uS!VUoWOy%^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.R_/zYtPOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^^0oYoWOy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^^1dYoWOy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^^2ZYfUoWOy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^^3QYfUoWOy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^^3uYoWOy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^^4lYfUoWOy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^^5aYoWOy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^^6WSfUoWOy%^z;'S%^;'S;=`%o<%lO%^Y6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^Y7QSzQoWOy%^z;'S%^;'S;=`%o<%lO%^X7cSXPOy%^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;=`<%l7o_9cSbVOy%^z;'S%^;'S;=`%o<%lO%^~9tOa~_9{UUPjSOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^_:fWjS!PPOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^<cYoWOy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=WUoWOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=qUoW#[UOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^>[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[u,c,l,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:95,get:function(e){return f[e]||-1}},{term:56,get:function(e){return d[e]||-1}},{term:96,get:function(e){return p[e]||-1}}],tokenPrec:1123}),g=n(9973),v=n(1514),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 k=["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}})),b=["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){if(t.to-t.from>4096){var n=T.get(t);if(n)return n;var i=[],o=new Set,a=t.cursor(v.vj.IncludeAnonymous);if(a.firstChild())do{var s,l=(0,r.Z)(A(e,a.node));try{for(l.s();!(s=l.n()).done;){var u=s.value;o.has(u.label)||(o.add(u.label),i.push(u))}}catch(f){l.e(f)}finally{l.f()}}while(a.nextSibling());return T.set(t,i),i}var c=[],h=new Set;return t.cursor().iterate((function(t){var n;if("VariableName"==t.name&&t.matchContext(C)&&":"==(null===(n=t.node.nextSibling)||void 0===n?void 0:n.name)){var r=e.sliceString(t.from,t.to);h.has(r)||(h.add(r),c.push({label:r,type:"variable"}))}})),c}var P=function(e){var t=e.state,n=e.pos,r=(0,g.qz)(t).resolveInner(n,-1),i=r.type.isError&&r.from==r.to-1&&"-"==t.doc.sliceString(r.from,r.to);if("PropertyName"==r.name||(i||"TagName"==r.name)&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:y(),validFor:x};if("ValueName"==r.name)return{from:r.from,options:b,validFor:x};if("PseudoClassName"==r.name)return{from:r.from,options:k,validFor:x};if("VariableName"==r.name||(e.explicit||i)&&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)}(r,t.doc))return{from:"VariableName"==r.name?r.from:n,options:A(t.doc,E(r)),validFor:w};if("TagName"==r.name){for(var o=r.parent;o;o=o.parent)if("Block"==o.name)return{from:r.from,options:y(),validFor:x};return{from:r.from,options:S,validFor:x}}if(!e.explicit)return null;var a=r.resolve(n),s=a.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==a.name?{from:n,options:k,validFor:x}:s&&":"==s.name&&"Declaration"==a.name||"ArgList"==a.name?{from:n,options:b,validFor:x}:"Block"==a.name||"Styles"==a.name?{from:n,options:y(),validFor:x}:null},Q=g.qp.define({name:"css",parser:m.configure({props:[g.uj.add({Declaration:(0,g.tC)()}),g.x0.add({Block:g.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function _(){return new g.ri(Q,Q.data.of({autocomplete:P}))}},3330: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 be}});var r=n(1976),i=n(2951),o=n(726),a=n(8445),s=n(2029),l=n(1514),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},k={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},b={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 Q=[6,10,7,8,9],_=new a.IK({start:null,shift:function(e,t,n,r){return Q.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}),D=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&&k[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&&b[i]&&b[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 R=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 Z(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=Z("script",54,1),I=Z("style",55,2),$=Z("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:_,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:"#%g!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q$q!Q![-_![!]!!O!]!^-_!^!_!&W!_!`#$o!`!a&X!a!c-_!c!}!!O!}#R-_#R#S!!O#S#T3V#T#o!!O#o#s-_#s$f$q$f%W-_%W%o!!O%o%p-_%p&a!!O&a&b-_&b1p!!O1p4U-_4U4d!!O4d4e-_4e$IS!!O$IS$I`-_$I`$Ib!!O$Ib$Kh-_$Kh%#t!!O%#t&/x-_&/x&Et!!O&Et&FV-_&FV;'S!!O;'S;:j!&Q;:j;=`4s<%l?&r-_?&r?Ah!!O?Ah?BY$q?BY?Mn!!O?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!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/echSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXhSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bchS`P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjhSkWc!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibkWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`Oa!R!R9cP;=`<%l8q!Z9mYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjhSkWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_<echSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V=udhSOp8qqr=prs8qst0ptw=pwx8qx!P=p!P!Q8q!Q!]=p!]!^?T!^!_=p!_!a8q!a#s=p#s$f8q$f;'S=p;'S;=`?w<%l?Ah=p?Ah?BY8q?BY?Mn=p?MnO8q!V?[XhSa!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!V?zP;=`<%l=p!_@QP;=`<%l:c!_@[ihSkWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^/^!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!ZBOakWOXAyXZCTZ[Ay[^CT^pAyqrAyrsCTswAywxCTx!]Ay!]!^Cu!^!aCT!a#SAy#S#TCT#T;'SAy;'S;=`Dl<%lOAy!RCWUOpCTq!]CT!]!^Cj!^;'SCT;'S;=`Co<%lOCT!RCoOb!R!RCrP;=`<%lCT!ZC|YkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZDoP;=`<%lAy!_DyihSkWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^Fh!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!_FqchSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VHRchSOpCTqrG|rsCTswG|wxCTx!PG|!P!QCT!Q!]G|!]!^I^!^!_G|!_!aCT!a#sG|#s$fCT$f;'SG|;'S;=`JQ<%l?AhG|?Ah?BYCT?BY?MnG|?MnOCT!VIeXhSb!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!VJTP;=`<%lG|!_JZP;=`<%lDr!ZJgW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aK^lhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMU!O!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aMckhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!`&X!`!a! W!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!T! cX`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!a!!_!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!O!!O!O!P!!O!P!Q$q!Q![!!O![!]!!O!]!^-_!^!_1n!_!a&X!a!c-_!c!}!!O!}#R-_#R#S!!O#S#T3V#T#o!!O#o#s-_#s$f$q$f$}-_$}%O!!O%O%W-_%W%o!!O%o%p-_%p&a!!O&a&b-_&b1p!!O1p4U!!O4U4d!!O4d4e-_4e$IS!!O$IS$I`-_$I`$Ib!!O$Ib$Je-_$Je$Jg!!O$Jg$Kh-_$Kh%#t!!O%#t&/x-_&/x&Et!!O&Et&FV-_&FV;'S!!O;'S;:j!&Q;:j;=`4s<%l?&r-_?&r?Ah!!O?Ah?BY$q?BY?Mn!!O?MnO$q!a!&TP;=`<%l!!O!V!&achS!a`!cpOq*Vqr!'lrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!b!Ey!b#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!'uhhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!)a!O!P1n!P!Q*V!Q!_1n!_!a*V!a!f1n!f!g!,]!g#W1n#W#X!<y#X#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!)jdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!*x!O!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!+TbhS!a`!cp!dPOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!,fdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!q1n!q!r!-t!r#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!-}dhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!e1n!e!f!/]!f#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!/fdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!v1n!v!w!0t!w#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!0}dhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!{1n!{!|!2]!|#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!2fdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!r1n!r!s!3t!s#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!3}dhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!g1n!g!h!5]!h#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!5fchS!a`!cpOq!6qqr!5]rs!7hsv!5]vw!;`wx!9[x!P!5]!P!Q!6q!Q!_!5]!_!`!6q!`!a!:j!a#s!5]#s$f!6q$f;'S!5];'S;=`!<s<%l?Ah!5]?Ah?BY!6q?BY?Mn!5]?MnO!6q!R!6xY!a`!cpOr!6qrs!7hsv!6qvw!8Swx!9[x!`!6q!`!a!:j!a;'S!6q;'S;=`!;Y<%lO!6qq!7mV!cpOv!7hvx!8Sx!`!7h!`!a!8q!a;'S!7h;'S;=`!9U<%lO!7hP!8VTO!`!8S!`!a!8f!a;'S!8S;'S;=`!8k<%lO!8SP!8kO{PP!8nP;=`<%l!8Sq!8xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!9XP;=`<%l!7ha!9aX!a`Or!9[rs!8Ssv!9[vw!8Sw!`!9[!`!a!9|!a;'S!9[;'S;=`!:d<%lO!9[a!:TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!:gP;=`<%l!9[!R!:sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;]P;=`<%l!6qT!;ebhSOq!8Sqr!;`rs!8Ssw!;`wx!8Sx!P!;`!P!Q!8S!Q!_!;`!_!`!8S!`!a!8f!a#s!;`#s$f!8S$f;'S!;`;'S;=`!<m<%l?Ah!;`?Ah?BY!8S?BY?Mn!;`?MnO!8ST!<pP;=`<%l!;`!V!<vP;=`<%l!5]!V!=SdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#c1n#c#d!>b#d#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!>kdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#V1n#V#W!?y#W#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!@SdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#h1n#h#i!Ab#i#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!AkdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#m1n#m#n!By#n#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!CSdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#d1n#d#e!Db#e#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!DkdhS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#X1n#X#Y!5]#Y#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!FSchS!a`!cpOq!G_qr!Eyrs!HUsv!Eyvw!Ncwx!Jvx!P!Ey!P!Q!G_!Q!_!Ey!_!a!G_!a!b##T!b#s!Ey#s$f!G_$f;'S!Ey;'S;=`#$i<%l?Ah!Ey?Ah?BY!G_?BY?Mn!Ey?MnO!G_!R!GfY!a`!cpOr!G_rs!HUsv!G_vw!Hpwx!Jvx!a!G_!a!b!Lv!b;'S!G_;'S;=`!N]<%lO!G_q!HZV!cpOv!HUvx!Hpx!a!HU!a!b!Iq!b;'S!HU;'S;=`!Jp<%lO!HUP!HsTO!a!Hp!a!b!IS!b;'S!Hp;'S;=`!Ik<%lO!HpP!IVTO!`!Hp!`!a!If!a;'S!Hp;'S;=`!Ik<%lO!HpP!IkOxPP!InP;=`<%l!Hpq!IvV!cpOv!HUvx!Hpx!`!HU!`!a!J]!a;'S!HU;'S;=`!Jp<%lO!HUq!JdS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!JsP;=`<%l!HUa!J{X!a`Or!Jvrs!Hpsv!Jvvw!Hpw!a!Jv!a!b!Kh!b;'S!Jv;'S;=`!Lp<%lO!Jva!KmX!a`Or!Jvrs!Hpsv!Jvvw!Hpw!`!Jv!`!a!LY!a;'S!Jv;'S;=`!Lp<%lO!Jva!LaT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!LsP;=`<%l!Jv!R!L}Y!a`!cpOr!G_rs!HUsv!G_vw!Hpwx!Jvx!`!G_!`!a!Mm!a;'S!G_;'S;=`!N]<%lO!G_!R!MvV!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!N`P;=`<%l!G_T!NhbhSOq!Hpqr!Ncrs!Hpsw!Ncwx!Hpx!P!Nc!P!Q!Hp!Q!_!Nc!_!a!Hp!a!b# p!b#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT# ubhSOq!Hpqr!Ncrs!Hpsw!Ncwx!Hpx!P!Nc!P!Q!Hp!Q!_!Nc!_!`!Hp!`!a!If!a#s!Nc#s$f!Hp$f;'S!Nc;'S;=`#!}<%l?Ah!Nc?Ah?BY!Hp?BY?Mn!Nc?MnO!HpT##QP;=`<%l!Nc!V##^chS!a`!cpOq!G_qr!Eyrs!HUsv!Eyvw!Ncwx!Jvx!P!Ey!P!Q!G_!Q!_!Ey!_!`!G_!`!a!Mm!a#s!Ey#s$f!G_$f;'S!Ey;'S;=`#$i<%l?Ah!Ey?Ah?BY!G_?BY?Mn!Ey?MnO!G_!V#$lP;=`<%l!Ey!V#$zXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[M,I,$,R,D,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 U(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 z(){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,k=n.length?Object.create(null):null,b=(0,o.Z)(n);try{for(b.s();!(y=b.n()).done;){var S=y.value;(k[S.name]||(k[S.name]=[])).push(S)}}catch(x){b.e(x)}finally{b.f()}return(0,l.FE)((function(e,t){var n=e.type.id;if(n==m)return U(e,t,r);if(n==g)return U(e,t,i);if(n==v)return U(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 b=0,S=s;b<S.length;b++){var w=S[b];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(k&&n==h){var C,E=e.node;if(C=E.firstChild){var A=k[t.read(C.from,C.to)];if(A){var P,Q=(0,o.Z)(A);try{for(Q.s();!(P=Q.n()).done;){var _=P.value;if(!_.tagName||_.tagName==j(E.parent,t)){var D=E.lastChild;if(D.type.id==d){var N=D.from+1,R=D.lastChild,Z=D.to-(R&&R.isError?0:1);if(Z>N)return{parser:_.parser,overlay:[{from:N,to:Z}]}}else if(D.type.id==p)return{parser:_.parser,overlay:[{from:D.from,to:D.to}]}}}}catch(x){Q.e(x)}finally{Q.f()}}}}return null}))}var X,H=n(4933),W=n(4381),Y=n(1701),q=n(7989),V=n(9973),G=["_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:G,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:G}},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:G,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:G}},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:G,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();!(X=ae.n()).done;){var se=X.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],n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function he(e,t,n){var r=n.tags[ue(e,ce(t,!0))];return(null===r||void 0===r?void 0:r.children)||n.allTags}function fe(e,t){for(var n=[],r=t;r=ce(r);){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))?"":">";return{from:r,to:i,options:he(e.doc,n,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,V.qz)(r).resolveInner(i),s=a.resolve(i,-1),l=i;a==s&&(n=s.childBefore(l));){var u=n.lastChild;if(!u||!u.type.isError||u.from<u.to)break;a=s=n,l=u.from}return"TagName"==s.name?s.parent&&/CloseTag$/.test(s.parent.name)?me(r,s,s.from,i):pe(r,e,s,s.from,i):"StartTag"==s.name?pe(r,e,s,i,i):"StartCloseTag"==s.name||"IncompleteCloseTag"==s.name?me(r,s,i,i):t.explicit&&("OpenTag"==s.name||"SelfClosingTag"==s.name)||"AttributeName"==s.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,s,"AttributeName"==s.name?s.from:i,i):"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.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,s,"Is"==s.name?i:s.from,i):!t.explicit||"Element"!=a.name&&"Text"!=a.name&&"Document"!=a.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,s,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:W.typescriptLanguage.parser},{tag:"script",attrs:function(e){return"text/babel"==e.type||"text/jsx"==e.type},parser:W.jsxLanguage.parser},{tag:"script",attrs:function(e){return"text/typescript-jsx"==e.type},parser:W.tsxLanguage.parser},{tag:"script",attrs:function(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:W.javascriptLanguage.parser},{tag:"style",attrs:function(e){return(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:H.cssLanguage.parser}],ke=[{name:"style",parser:H.cssLanguage.parser.configure({top:"Styles"})}].concat(oe.map((function(e){return{name:e,parser:W.javascriptLanguage.parser}}))),be=V.qp.define({name:"html",parser:F.configure({props:[V.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}}),V.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}}),V.a0.add({"OpenTag CloseTag":function(e){return e.getChild("TagName")}})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Se=be.configure({wrap:z(ye,ke)});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=z((t.nestedLanguages||[]).concat(ye),(t.nestedAttributes||[]).concat(ke)));var r=e?be.configure({wrap:e,dialect:n}):n?Se.configure({dialect:n}):Se;return new V.ri(r,[Se.data.of({autocomplete:Oe(t)}),!1!==t.autoCloseTags?Te:[],(0,W.javascript)().support,(0,H.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=Y.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,V.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)}))},4381:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return U},completionPath:function(){return D},esLint:function(){return z},javascript:function(){return F},javascriptLanguage:function(){return R},jsxLanguage:function(){return I},localCompletionSource:function(){return Q},scopeCompletionSource:function(){return N},snippets:function(){return b},tsxLanguage:function(){return $},typescriptLanguage:function(){return M}});var r=n(726),i=n(8445),o=n(2029),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||305==t?e:306==t},strict:!1}),l=new i.Jq((function(e,t){var n=e.next;(125==n||-1==n||t.context)&&t.canShift(303)&&e.acceptToken(303)}),{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&&t.canShift(302)&&e.acceptToken(302)}),{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: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:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,interface:417,enum:421,namespace:427,module:429,declare:433,global:437,for:458,of:467,while:470,with:474,do:478,if:482,else:484,switch:488,case:494,try:500,catch:504,finally:508,return:512,throw:516,break:520,continue:524,debugger:528},d={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},p={__proto__:null,"<":137},m=i.WQ.deserialize({version:14,states:"$EnO`QUOOO%QQUOOO'TQWOOP(bOSOOO*pQ(CjO'#CfO*wOpO'#CgO+VO!bO'#CgO+eO07`O'#DZO-vQUO'#DaO.WQUO'#DlO%QQUO'#DvO0_QUO'#EOOOQ(CY'#EW'#EWO0uQSO'#ETOOQO'#I`'#I`O0}QSO'#GkOOQO'#Ei'#EiO1YQSO'#EhO1_QSO'#EhO3aQ(CjO'#JcO6QQ(CjO'#JdO6nQSO'#FWO6sQ#tO'#FoOOQ(CY'#F`'#F`O7OO&jO'#F`O7^Q,UO'#FvO8tQSO'#FuOOQ(CY'#Jd'#JdOOQ(CW'#Jc'#JcOOQQ'#J}'#J}O8yQSO'#IPO9OQ(C[O'#IQOOQQ'#JP'#JPOOQQ'#IU'#IUQ`QUOOO%QQUO'#DnO9WQUO'#DzO%QQUO'#D|O9_QSO'#GkO9dQ,UO'#ClO9rQSO'#EgO9}QSO'#ErO:SQ,UO'#F_O:qQSO'#GkO:vQSO'#GoO;RQSO'#GoO;aQSO'#GrO;aQSO'#GsO;aQSO'#GuO9_QSO'#GxO<QQSO'#G{O=cQSO'#CbO=sQSO'#HYO={QSO'#H`O={QSO'#HbO`QUO'#HdO={QSO'#HfO={QSO'#HiO>QQSO'#HoO>VQ(C]O'#HuO%QQUO'#HwO>bQ(C]O'#HyO>mQ(C]O'#H{O9OQ(C[O'#H}O>xQ(CjO'#CfO?zQWO'#DfQOQSOOO@bQSO'#EPO9dQ,UO'#EgO@mQSO'#EgO@xQ`O'#F_OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jg'#JgO%QQUO'#JgOBUQWO'#E`OOQ(CW'#E_'#E_OB`Q(C`O'#E`OBzQWO'#ESOOQO'#Jj'#JjOC`QWO'#ESOCmQWO'#E`ODTQWO'#EfODWQWO'#E`ODqQWO'#E`OAQQWO'#E`OBzQWO'#E`PEbO?MpO'#C`POOO)CDn)CDnOOOO'#IV'#IVOEmOpO,59ROOQ(CY,59R,59ROOOO'#IW'#IWOE{O!bO,59RO%QQUO'#D]OOOO'#IY'#IYOFZO07`O,59uOOQ(CY,59u,59uOFiQUO'#IZOF|QSO'#JeOIOQbO'#JeO+sQUO'#JeOIVQSO,59{OImQSO'#EiOIzQSO'#JrOJVQSO'#JqOJVQSO'#JqOJ_QSO,5;VOJdQSO'#JpOOQ(CY,5:W,5:WOJkQUO,5:WOLlQ(CjO,5:bOM]QSO,5:jOMbQSO'#JnON[Q(C[O'#JoO:vQSO'#JnONcQSO'#JnONkQSO,5;UONpQSO'#JnOOQ(CY'#Cf'#CfO%QQUO'#EOO! dQ`O,5:oOOQO'#Jk'#JkOOQO-E<^-E<^O9_QSO,5=VO! zQSO,5=VO!!PQUO,5;SO!$SQ,UO'#EdO!%gQSO,5;SO!'PQ,UO'#DpO!'WQUO'#DuO!'bQWO,5;]O!'jQWO,5;]O%QQUO,5;]OOQQ'#FO'#FOOOQQ'#FQ'#FQO%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^O%QQUO,5;^OOQQ'#FU'#FUO!'xQUO,5;oOOQ(CY,5;t,5;tOOQ(CY,5;u,5;uO!){QSO,5;uOOQ(CY,5;v,5;vO%QQUO'#IfO!*TQ(C[O,5<cO!$SQ,UO,5;^O!*rQ,UO,5;^O%QQUO,5;rO!*yQ#tO'#FeO!+vQ#tO'#JvO!+bQ#tO'#JvO!+}Q#tO'#JvOOQO'#Jv'#JvO!,cQ#tO,5;}OOOO,5<Z,5<ZO!,tQUO'#FqOOOO'#Ie'#IeO7OO&jO,5;zO!,{Q#tO'#FsOOQ(CY,5;z,5;zO!-lQ7[O'#CrOOQ(CY'#Cv'#CvO!.PQSO'#CvO!.UO07`O'#CzO!.rQ,UO,5<`O!.yQSO,5<bO!0`QMhO'#GQO!0mQSO'#GRO!0rQSO'#GRO!0wQMhO'#GVO!1vQWO'#GZO!2iQ7[O'#J^OOQ(CY'#J^'#J^O!2sQSO'#J]O!3RQSO'#J[O!3ZQSO'#CqOOQ(CY'#Ct'#CtOOQ(CY'#DO'#DOOOQ(CY'#DQ'#DQO0xQSO'#DSO!%lQ,UO'#FxO!%lQ,UO'#FzO!3cQSO'#F|O!3hQSO'#F}O!0rQSO'#GTO!%lQ,UO'#GYO!3mQSO'#EjO!4XQSO,5<aO`QUO,5>kOOQQ'#JX'#JXOOQQ,5>l,5>lOOQQ-E<S-E<SO!6WQ(CjO,5:YO!8tQ(CjO,5:fO%QQUO,5:fO!;_Q(CjO,5:hOOQ(CW'#Co'#CoO!<OQ,UO,5=VO!<^Q(C[O'#JYO8tQSO'#JYO!<oQ(C[O,59WO!<zQWO,59WO!=SQ,UO,59WO9dQ,UO,59WO!=_QSO,5;SO!=gQSO'#HXO!=xQSO'#KRO%QQUO,5;wO!>QQWO,5;yO!>VQSO,5=rO!>[QSO,5=rO!>aQSO,5=rO9OQ(C[O,5=rO!>oQSO'#EkO!?iQWO'#ElOOQ(CW'#Jp'#JpO!?pQ(C[O'#KOO9OQ(C[O,5=ZO;aQSO,5=aOOQO'#Cr'#CrO!?{QWO,5=^O!@TQ,UO,5=_O!@`QSO,5=aO!@eQ`O,5=dO>QQSO'#G}O9_QSO'#HPO!@mQSO'#HPO9dQ,UO'#HSO!@rQSO'#HSOOQQ,5=g,5=gO!@wQSO'#HTO!APQSO'#ClO!AUQSO,58|O!A`QSO,58|O!ChQUO,58|OOQQ,58|,58|O!CuQ(C[O,58|O%QQUO,58|O!DQQUO'#H[OOQQ'#H]'#H]OOQQ'#H^'#H^O`QUO,5=tO!DbQSO,5=tO`QUO,5=zO`QUO,5=|O!DgQSO,5>OO`QUO,5>QO!DlQSO,5>TO!DqQUO,5>ZOOQQ,5>a,5>aO%QQUO,5>aO9OQ(C[O,5>cOOQQ,5>e,5>eO!HxQSO,5>eOOQQ,5>g,5>gO!HxQSO,5>gOOQQ,5>i,5>iO!H}QWO'#DXO%QQUO'#JgO!IlQWO'#JgO!JZQWO'#DgO!JlQWO'#DgO!L}QUO'#DgO!MUQSO'#JfO!M^QSO,5:QO!McQSO'#EmO!MqQSO'#JsO!MyQSO,5;WO!NOQWO'#DgO!N]QWO'#EROOQ(CY,5:k,5:kO%QQUO,5:kO!NdQSO,5:kO>QQSO,5;RO!<zQWO,5;RO!=SQ,UO,5;RO9dQ,UO,5;RO!NlQSO,5@RO!NqQ!LQO,5:oO# wQ(C`O,5:zOBzQWO,5:nO#!cQWO,5:nO#!pQWO,5:zO##WQWO,5:zO##qQWO,5:zO#$bQWO,5:zOBzQWO,5:zO!<oQ(C[O,5:nOOQ(CW'#Ec'#EcOOQO,5:z,5:zO%QQUO,5:zO#%UQ(C[O,5:zO#%aQ(C[O,5:zO!<zQWO,5:nOOQO,5;Q,5;QO#%oQ(C[O,5:zPOOO'#IT'#ITP#&TO?MpO,58zPOOO,58z,58zOOOO-E<T-E<TOOQ(CY1G.m1G.mOOOO-E<U-E<UO#&`Q`O,59wOOOO-E<W-E<WOOQ(CY1G/a1G/aO#&eQbO,5>uO+sQUO,5>uOOQO,5>{,5>{O#&oQUO'#IZOOQO-E<X-E<XO#&|QSO,5@PO#'UQbO,5@PO#']QSO,5@]OOQ(CY1G/g1G/gO%QQUO,5@^O#'eQSO'#IaOOQO-E<_-E<_O#']QSO,5@]OOQ(CW1G0q1G0qOOQ(CY1G/r1G/rOOQ(CY1G0U1G0UO#'yQSO,5@YO:vQSO,5@YO#(RQSO,5@YO%QQUO,5@ZO#(aQ(C[O,5@ZO#(rQ(C[O,5@ZO#(yQSO'#IcO#'yQSO,5@YOOQ(CW1G0p1G0pO!'bQWO,5:qO!'mQWO,5:qOOQO,5:s,5:sO#)hQSO,5:sO#)pQ,UO1G2qO9_QSO1G2qOOQ(CY1G0n1G0nO#*OQ(CjO1G0nO#+TQ(ChO,5;OOOQ(CY'#GP'#GPO#+qQ(CjO'#J^O!!PQUO1G0nO#-yQ,UO'#JhO#.TQSO,5:[O#.YQbO'#JiO%QQUO'#JiO#.dQSO,5:aOOQ(CY'#DX'#DXOOQ(CY1G0w1G0wO%QQUO1G0wOOQ(CY1G1a1G1aO#.iQSO1G0wO#1QQ(CjO1G0xO#1XQ(CjO1G0xO#3rQ(CjO1G0xO#3yQ(CjO1G0xO#6TQ(CjO1G0xO#6kQ(CjO1G0xO#9eQ(CjO1G0xO#9lQ(CjO1G0xO#<VQ(CjO1G0xO#<^Q(CjO1G0xO#>UQ(CjO1G0xO#AUQ$IUO'#CfO#CSQ$IUO1G1ZO#EQQ$IUO'#JdO!*OQSO1G1aO#EeQ(CjO,5?QOOQ(CW-E<d-E<dO#FXQ(CjO1G0xOOQ(CY1G0x1G0xO#HdQ(CjO1G1^O#IWQ#tO,5<RO#I`Q#tO,5<SO#IhQ#tO'#FjO#JPQSO'#FiOOQO'#Jw'#JwOOQO'#Id'#IdO#JUQ#tO1G1iOOQ(CY1G1i1G1iOOOO1G1t1G1tO#JgQ$IUO'#JcO#JqQSO,5<]O!'xQUO,5<]OOOO-E<c-E<cOOQ(CY1G1f1G1fO#JvQWO'#JvOOQ(CY,5<_,5<_O#KOQWO,5<_OOQ(CY,59b,59bO!$SQ,UO'#C|OOOO'#IX'#IXO#KTO07`O,59fOOQ(CY,59f,59fO%QQUO1G1zO!3hQSO'#IhO#K`QSO,5<sOOQ(CY,5<p,5<pOOQO'#Gf'#GfO!%lQ,UO,5=POOQO'#Gh'#GhO!%lQ,UO,5=RO!$SQ,UO,5=TOOQO1G1|1G1|O#KnQ`O'#CoO#LRQ`O,5<lO#LYQSO'#JzO9_QSO'#JzO#LhQSO,5<nO!%lQ,UO,5<mO#LmQSO'#GSO#LxQSO,5<mO#L}Q`O'#GPO#M[Q`O'#J{O#MfQSO'#J{O!$SQ,UO'#J{O#MkQSO,5<qO#MpQWO'#G[O!1qQWO'#G[O#NRQSO'#G^O#NWQSO'#G`O!0rQSO'#GcO#N]Q(C[O'#IjO#NhQWO,5<uOOQ(CY,5<u,5<uO#NoQWO'#G[O#N}QWO'#G]O$ VQWO'#G]OOQ(CY,5=U,5=UO!%lQ,UO,5?wO!%lQ,UO,5?wO$ [QSO'#IkO$ gQSO,5?vO$ oQSO,59]O$!`Q,UO,59nOOQ(CY,59n,59nO$#RQ,UO,5<dO$#tQ,UO,5<fO?rQSO,5<hOOQ(CY,5<i,5<iO$$OQSO,5<oO$$TQ,UO,5<tO!!PQUO1G1{O$$eQSO1G1{OOQQ1G4V1G4VOOQ(CY1G/t1G/tO!){QSO1G/tO$&dQ(CjO1G0QOOQQ1G2q1G2qO!$SQ,UO1G2qO%QQUO1G2qO$'TQSO1G2qO$'`Q,UO'#EdOOQ(CW,5?t,5?tO$'jQ(C[O,5?tOOQQ1G.r1G.rO!<oQ(C[O1G.rO!<zQWO1G.rO!=SQ,UO1G.rO$'{QSO1G0nO$(QQSO'#CfO$(]QSO'#KSO$(eQSO,5=sO$(jQSO'#KSO$(oQSO'#KSO$(zQSO'#IsO$)YQSO,5@mO$)bQbO1G1cOOQ(CY1G1e1G1eO9_QSO1G3^O?rQSO1G3^O$)iQSO1G3^O$)nQSO1G3^OOQQ1G3^1G3^O:vQSO'#JqO:vQSO'#EmO%QQUO'#EmO:vQSO'#ImO$)sQ(C[O,5@jOOQQ1G2u1G2uO!@`QSO1G2{O!$SQ,UO1G2xO$*OQSO1G2xOOQQ1G2y1G2yO!$SQ,UO1G2yO$*TQSO1G2yO$*]QWO'#GwOOQQ1G2{1G2{O!1qQWO'#IoO!@eQ`O1G3OOOQQ1G3O1G3OOOQQ,5=i,5=iO$*eQ,UO,5=kO9_QSO,5=kO#NWQSO,5=nO8tQSO,5=nO!<zQWO,5=nO!=SQ,UO,5=nO9dQ,UO,5=nO$*sQSO'#KQO$+OQSO,5=oOOQQ1G.h1G.hO$+TQ(C[O1G.hO?rQSO1G.hO$+`QSO1G.hO9OQ(C[O1G.hO$+kQbO,5@oO$,OQSO,5@oO$,ZQUO,5=vO$,bQSO,5=vO:vQSO,5@oOOQQ1G3`1G3`O`QUO1G3`OOQQ1G3f1G3fOOQQ1G3h1G3hO={QSO1G3jO$,gQUO1G3lO$0hQUO'#HkOOQQ1G3o1G3oO$0uQSO'#HqO>QQSO'#HsOOQQ1G3u1G3uO$0}QUO1G3uO9OQ(C[O1G3{OOQQ1G3}1G3}OOQ(CW'#GW'#GWO9OQ(C[O1G4PO9OQ(C[O1G4RO$5RQSO,5@RO!'xQUO,5;XO:vQSO,5;XO>QQSO,5:RO!'xQUO,5:RO!<zQWO,5:RO$5WQ$IUO,5:ROOQO,5;X,5;XO$5bQWO'#I[O$5xQSO,5@QOOQ(CY1G/l1G/lO$6QQWO'#IbO$6[QSO,5@_OOQ(CW1G0r1G0rO!JlQWO,5:ROOQO'#I_'#I_O$6dQWO,5:mOOQ(CY,5:m,5:mO!NgQSO1G0VOOQ(CY1G0V1G0VO%QQUO1G0VOOQ(CY1G0m1G0mO>QQSO1G0mO!<zQWO1G0mO!=SQ,UO1G0mOOQ(CW1G5m1G5mO!<oQ(C[O1G0YOOQO1G0f1G0fO%QQUO1G0fO$6kQ(C[O1G0fO$6vQ(C[O1G0fO!<zQWO1G0YOBzQWO1G0YO$7UQ(C`O1G0fO$7pQWO1G0YOBzQWO1G0fO$7}QWO1G0fO$8eQWO1G0fO$9OQWO1G0fO$9oQ(C[O1G0fOOQO1G0Y1G0YO$:TQ(CjO1G0fPOOO-E<R-E<RPOOO1G.f1G.fOOOO1G/c1G/cO$:_Q`O,5<cO$:gQbO1G4aOOQO1G4g1G4gO%QQUO,5>uO$:qQSO1G5kO$:yQSO1G5wO$;RQbO1G5xO:vQSO,5>{O$;]QSO1G5tO$;]QSO1G5tO:vQSO1G5tO$;eQ(CjO1G5uO%QQUO1G5uO$;uQ(C[O1G5uO$<WQSO,5>}O:vQSO,5>}OOQO,5>},5>}O$<lQSO,5>}OOQO-E<a-E<aOOQO1G0]1G0]OOQO1G0_1G0_O!*OQSO1G0_OOQQ7+(]7+(]O!$SQ,UO7+(]O%QQUO7+(]O$<zQSO7+(]O$=VQ,UO7+(]O$=eQ(CjO,59nO$?mQ(CjO,5<dO$AxQ(CjO,5<fO$DTQ(CjO,5<tOOQ(CY7+&Y7+&YO$FfQ(CjO7+&YO$GYQ,UO'#I]O$GdQSO,5@SOOQ(CY1G/v1G/vO$GlQUO'#I^O$GyQSO,5@TO$HRQbO,5@TOOQ(CY1G/{1G/{O$H]QSO7+&cOOQ(CY7+&c7+&cO$HbQ$IUO,5:bO%QQUO7+&uO$HlQ$IUO,5:YO$HyQ$IUO,5:fO$ITQ$IUO,5:hOOQ(CY7+&{7+&{OOQO1G1m1G1mOOQO1G1n1G1nO$I_Q#tO,5<UO!'xQUO,5<TOOQO-E<b-E<bOOQ(CY7+'T7+'TOOOO7+'`7+'`OOOO1G1w1G1wO$IjQSO1G1wOOQ(CY1G1y1G1yO$IoQ`O,59hOOOO-E<V-E<VOOQ(CY1G/Q1G/QO$IvQ(CjO7+'fOOQ(CY,5?S,5?SO$JjQSO,5?SOOQ(CY1G2_1G2_P$JoQSO'#IhPOQ(CY-E<f-E<fO$KcQ,UO1G2kO$LUQ,UO1G2mO$L`Q`O1G2oOOQ(CY1G2W1G2WO$LgQSO'#IgO$LuQSO,5@fO$LuQSO,5@fO$L}QSO,5@fO$MYQSO,5@fOOQO1G2Y1G2YO$MhQ,UO1G2XO!%lQ,UO1G2XO$MxQMhO'#IiO$NYQSO,5@gO!$SQ,UO,5@gO$NbQ`O,5@gOOQ(CY1G2]1G2]OOQ(CW,5<v,5<vOOQ(CW,5<w,5<wO$NlQSO,5<wOBuQSO,5<wO!<zQWO,5<vOOQO'#G_'#G_O$NqQSO,5<xOOQ(CW,5<z,5<zO$NlQSO,5<}OOQO,5?U,5?UOOQO-E<h-E<hOOQ(CY1G2a1G2aO!1qQWO,5<vO$NyQSO,5<wO#NRQSO,5<xO!1qQWO,5<wO% UQ,UO1G5cO% `Q,UO1G5cOOQO,5?V,5?VOOQO-E<i-E<iOOQO1G.w1G.wO!>QQWO,59pO%QQUO,59pO% mQSO1G2SO!%lQ,UO1G2ZO% rQ(CjO7+'gOOQ(CY7+'g7+'gO!!PQUO7+'gOOQ(CY7+%`7+%`O%!fQ`O'#J|O!NgQSO7+(]O%!pQbO7+(]O$<}QSO7+(]O%!wQ(ChO'#CfO%#[Q(ChO,5<{O%#|QSO,5<{OOQ(CW1G5`1G5`OOQQ7+$^7+$^O!<oQ(C[O7+$^O!<zQWO7+$^O!!PQUO7+&YO%$RQSO'#IrO%$gQSO,5@nOOQO1G3_1G3_O9_QSO,5@nO%$gQSO,5@nO%$oQSO,5@nOOQO,5?_,5?_OOQO-E<q-E<qOOQ(CY7+&}7+&}O%$tQSO7+(xO9OQ(C[O7+(xO9_QSO7+(xO?rQSO7+(xO%$yQSO,5;XOOQ(CW,5?X,5?XOOQ(CW-E<k-E<kOOQQ7+(g7+(gO%%OQ(ChO7+(dO!$SQ,UO7+(dO%%YQ`O7+(eOOQQ7+(e7+(eO!$SQ,UO7+(eO%%aQSO'#KPO%%lQSO,5=cOOQO,5?Z,5?ZOOQO-E<m-E<mOOQQ7+(j7+(jO%&{QWO'#HQOOQQ1G3V1G3VO!$SQ,UO1G3VO%QQUO1G3VO%'SQSO1G3VO%'_Q,UO1G3VO9OQ(C[O1G3YO#NWQSO1G3YO8tQSO1G3YO!<zQWO1G3YO!=SQ,UO1G3YO%'mQSO'#IqO%'xQSO,5@lO%(QQWO,5@lOOQ(CW1G3Z1G3ZOOQQ7+$S7+$SO?rQSO7+$SO9OQ(C[O7+$SO%(]QSO7+$SO%QQUO1G6ZO%QQUO1G6[O%(bQUO1G3bO%(iQSO1G3bO%(nQUO1G3bO%(uQ(C[O1G6ZOOQQ7+(z7+(zO9OQ(C[O7+)UO`QUO7+)WOOQQ'#KV'#KVOOQQ'#It'#ItO%)PQUO,5>VOOQQ,5>V,5>VO%QQUO'#HlO%)^QSO'#HnOOQQ,5>],5>]O:vQSO,5>]OOQQ,5>_,5>_OOQQ7+)a7+)aOOQQ7+)g7+)gOOQQ7+)k7+)kOOQQ7+)m7+)mO%)cQWO1G5mO%)wQ$IUO1G0sO%*RQSO1G0sOOQO1G/m1G/mO%*^Q$IUO1G/mO>QQSO1G/mO!'xQUO'#DgOOQO,5>v,5>vOOQO-E<Y-E<YOOQO,5>|,5>|OOQO-E<`-E<`O!<zQWO1G/mOOQO-E<]-E<]OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO!NgQSO7+%qOOQ(CY7+&X7+&XO>QQSO7+&XO!<zQWO7+&XOOQO7+%t7+%tO$:TQ(CjO7+&QOOQO7+&Q7+&QO%QQUO7+&QO%*hQ(C[O7+&QO!<oQ(C[O7+%tO!<zQWO7+%tO%*sQ(C[O7+&QOBzQWO7+%tO%+RQ(C[O7+&QO%+gQ(C`O7+&QO%+qQWO7+%tOBzQWO7+&QO%,OQWO7+&QO%,fQWO7+&QO%-PQSO7++`O%-PQSO7++`O%-XQ(CjO7++aO%QQUO7++aOOQO1G4i1G4iO:vQSO1G4iO%-iQSO1G4iOOQO7+%y7+%yO!NgQSO<<KwO%!pQbO<<KwO%-wQSO<<KwOOQQ<<Kw<<KwO!$SQ,UO<<KwO%QQUO<<KwO%.PQSO<<KwO%.[Q(CjO1G2kO%0gQ(CjO1G2mO%2rQ(CjO1G2XO%5TQ,UO,5>wOOQO-E<Z-E<ZO%5_QbO,5>xO%QQUO,5>xOOQO-E<[-E<[O%5iQSO1G5oOOQ(CY<<I}<<I}O%5qQ$IUO1G0nO%7{Q$IUO1G0xO%8SQ$IUO1G0xO%:WQ$IUO1G0xO%:_Q$IUO1G0xO%<SQ$IUO1G0xO%<jQ$IUO1G0xO%>}Q$IUO1G0xO%?UQ$IUO1G0xO%AYQ$IUO1G0xO%AaQ$IUO1G0xO%CXQ$IUO1G0xO%ClQ(CjO<<JaO%DqQ$IUO1G0xO%FgQ$IUO'#J^O%HjQ$IUO1G1^O%HwQ$IUO1G0QO!'xQUO'#FlOOQO'#Jx'#JxOOQO1G1p1G1pO%IRQSO1G1oO%IWQ$IUO,5?QOOOO7+'c7+'cOOOO1G/S1G/SOOQ(CY1G4n1G4nO!%lQ,UO7+(ZO%IbQSO,5?RO9_QSO,5?ROOQO-E<e-E<eO%IpQSO1G6QO%IpQSO1G6QO%IxQSO1G6QO%JTQ,UO7+'sO%JeQ`O,5?TO%JoQSO,5?TO!$SQ,UO,5?TOOQO-E<g-E<gO%JtQ`O1G6RO%KOQSO1G6ROOQ(CW1G2c1G2cO$NlQSO1G2cOOQ(CW1G2b1G2bO%KWQSO1G2dO!$SQ,UO1G2dOOQ(CW1G2i1G2iO!<zQWO1G2bOBuQSO1G2cO%K]QSO1G2dO%KeQSO1G2cO!%lQ,UO7+*}OOQ(CY1G/[1G/[O%KpQSO1G/[OOQ(CY7+'n7+'nO%KuQ,UO7+'uO%LVQ(CjO<<KROOQ(CY<<KR<<KRO!$SQ,UO'#IlO%LyQSO,5@hO!$SQ,UO1G2gOOQQ<<Gx<<GxO!<oQ(C[O<<GxO%MRQ(CjO<<ItOOQ(CY<<It<<ItOOQO,5?^,5?^O%MuQSO,5?^O$(oQSO,5?^OOQO-E<p-E<pO%MzQSO1G6YO%MzQSO1G6YO9_QSO1G6YO?rQSO<<LdOOQQ<<Ld<<LdO%NSQSO<<LdO9OQ(C[O<<LdO%NXQSO1G0sOOQQ<<LO<<LOO%%OQ(ChO<<LOOOQQ<<LP<<LPO%%YQ`O<<LPO%N^QWO'#InO%NiQSO,5@kO!'xQUO,5@kOOQQ1G2}1G2}O%NqQ(C`O'#JgO& ]QUO'#JgO& dQWO'#E`O&!QQ(C[O'#E`OB`Q(C`O'#E`O(YQWO'#HROOQO'#Ip'#IpO9OQ(C[O'#IpO&!fQWO,5=lOOQQ,5=l,5=lO&#OQWO'#E`O& vQWO'#E`O&#VQWO'#E`O&#pQWO'#E`O& jQWO'#E`O&$aQWO'#HRO&$rQSO7+(qO&$wQSO7+(qOOQQ7+(q7+(qO!$SQ,UO7+(qO%QQUO7+(qO&%PQSO7+(qOOQQ7+(t7+(tO9OQ(C[O7+(tO#NWQSO7+(tO8tQSO7+(tO!<zQWO7+(tO&%[QSO,5?]OOQO-E<o-E<oOOQO'#HU'#HUO&%gQSO1G6WO9OQ(C[O<<GnOOQQ<<Gn<<GnO?rQSO<<GnO&%oQSO7++uO&%tQSO7++vOOQQ7+(|7+(|O&%yQSO7+(|O&&OQUO7+(|O&&VQSO7+(|O%QQUO7++uO%QQUO7++vOOQQ<<Lp<<LpOOQQ<<Lr<<LrOOQQ-E<r-E<rOOQQ1G3q1G3qO&&[QSO,5>WOOQQ,5>Y,5>YO&&aQSO1G3wO:vQSO7+&_O!'xQUO7+&_OOQO7+%X7+%XO&&fQ$IUO1G5xO>QQSO7+%XOOQ(CY<<I]<<I]OOQ(CY<<Is<<IsO>QQSO<<IsOOQO<<Il<<IlO$:TQ(CjO<<IlO%QQUO<<IlOOQO<<I`<<I`O!<oQ(C[O<<I`O&&pQ(C[O<<IlO!<zQWO<<I`O&&{Q(C[O<<IlOBzQWO<<I`O&'ZQ(C[O<<IlO&'oQ(C`O<<IlO&'yQWO<<I`OBzQWO<<IlO&(WQWO<<IlO&(nQSO<<NzO&(vQ(CjO<<N{OOQO7+*T7+*TO:vQSO7+*TOOQQANAcANAcO&)WQSOANAcO!$SQ,UOANAcO!NgQSOANAcO%!pQbOANAcO%QQUOANAcO&)`Q(CjO7+'sO&+qQ(CjO7+'uO&.SQbO1G4dO&.^Q$IUO7+&YO&.kQ$IUO,59nO&0nQ$IUO,5<dO&2qQ$IUO,5<fO&4tQ$IUO,5<tO&6jQ$IUO7+'fO&6wQ$IUO7+'gO&7UQSO,5<WOOQO7+'Z7+'ZO&7ZQ,UO<<KuOOQO1G4m1G4mO&7bQSO1G4mO&7mQSO1G4mO&7{QSO7++lO&7{QSO7++lO!$SQ,UO1G4oO&8TQ`O1G4oO&8_QSO7++mOOQ(CW7+'}7+'}O$NlQSO7+(OO&8gQ`O7+(OOOQ(CW7+'|7+'|O$NlQSO7+'}O&8nQSO7+(OO!$SQ,UO7+(OOBuQSO7+'}O&8sQ,UO<<NiOOQ(CY7+$v7+$vO&8}Q`O,5?WOOQO-E<j-E<jO&9XQ(ChO7+(ROOQQAN=dAN=dO9_QSO1G4xOOQO1G4x1G4xO&9iQSO1G4xO&9nQSO7++tO&9nQSO7++tO9OQ(C[OANBOO?rQSOANBOOOQQANBOANBOOOQQANAjANAjOOQQANAkANAkO&9vQSO,5?YOOQO-E<l-E<lO&:RQ$IUO1G6VO&:]Q(C[O,5=mO8tQSO,5=mO&<nQbO'#CfO&<xQWO,5:zO&=SQWO,5:zO&=aQWO,5:zO&=tQWO,5:zO!<zQWO,5=mOOQO,5?[,5?[OOQO-E<n-E<nOOQQ1G3W1G3WO& ]QUO,5<xO%NqQ(C`O,5=mO# wQ(C`O,5:zO(YQWO,5=mO&>[QWO,5=mO&>mQWO,5:zOOQQ<<L]<<L]O!$SQ,UO<<L]O&$rQSO<<L]O&?WQSO<<L]O%QQUO<<L]OOQQ<<L`<<L`O9OQ(C[O<<L`O#NWQSO<<L`O8tQSO<<L`O&?`QWO1G4wO&?kQSO7++rOOQQAN=YAN=YO9OQ(C[OAN=YOOQQ<= a<= aOOQQ<= b<= bOOQQ<<Lh<<LhO&?sQSO<<LhO&?xQUO<<LhO&@PQSO<= aO&@UQSO<= bOOQQ1G3r1G3rO>QQSO7+)cO&@ZQSO<<IyO&@fQ$IUO<<IyOOQO<<Hs<<HsOOQ(CYAN?_AN?_OOQOAN?WAN?WO$:TQ(CjOAN?WOOQOAN>zAN>zO%QQUOAN?WO!<oQ(C[OAN>zO&@pQ(C[OAN?WO!<zQWOAN>zO&@{Q(C[OAN?WOBzQWOAN>zO&AZQ(C[OAN?WO&AoQ(C`OAN?WO&AyQWOAN>zOBzQWOAN?WOOQO<<Mo<<MoOOQQG26}G26}O!$SQ,UOG26}O!NgQSOG26}O&BWQSOG26}O%!pQbOG26}O&B`Q$IUO<<JaO&BmQ$IUO1G2XO&DcQ$IUO1G2kO&FfQ$IUO1G2mO&HiQ$IUO<<KRO&HvQ$IUO<<ItOOQO1G1r1G1rO!%lQ,UOANAaOOQO7+*X7+*XO&ITQSO7+*XO&I`QSO<= WO&IhQ`O7+*ZOOQ(CW<<Kj<<KjO$NlQSO<<KjOOQ(CW<<Ki<<KiO&IrQ`O<<KjO$NlQSO<<KiOOQO7+*d7+*dO9_QSO7+*dO&IyQSO<= `OOQQG27jG27jO9OQ(C[OG27jO!'xQUO1G4tO&JRQSO7++qOOQO1G3X1G3XO9OQ(C[O1G3XO&:]Q(C[O1G3XO&JZQWO1G0fO&JeQWO1G0fO&JrQWO1G0fO8tQSO1G3XO!<zQWO1G3XO(YQWO1G3XO%NqQ(C`O1G3XO$7UQ(C`O1G0fO&KVQWO1G3XO&$rQSOANAwOOQQANAwANAwO!$SQ,UOANAwO&KhQSOANAwOOQQANAzANAzO9OQ(C[OANAzO#NWQSOANAzOOQO'#HV'#HVOOQO7+*c7+*cOOQQG22tG22tOOQQANBSANBSO&KpQSOANBSOOQQAND{AND{OOQQAND|AND|OOQQ<<L}<<L}O!'xQUOAN?eOOQOG24rG24rO$:TQ(CjOG24rOOQOG24fG24fO%QQUOG24rO!<oQ(C[OG24fO&KuQ(C[OG24rO!<zQWOG24fO&LQQ(C[OG24rOBzQWOG24fO&L`Q(C[OG24rO!NgQSOLD,iOOQQLD,iLD,iO!$SQ,UOLD,iO&LtQSOLD,iO&L|Q$IUO7+'sO&NrQ$IUO7+'uO'!hQ,UOG26{OOQO<<Ms<<MsOOQ(CWANAUANAUO$NlQSOANAUOOQ(CWANATANATOOQO<<NO<<NOOOQQLD-ULD-UO'!xQ$IUO7+*`OOQO7+(s7+(sO9OQ(C[O7+(sO'#SQWO7+&QO'#^QWO7+&QO&:]Q(C[O7+(sO8tQSO7+(sO!<zQWO7+(sO(YQWO7+(sOOQQG27cG27cO&$rQSOG27cO!$SQ,UOG27cOOQQG27fG27fO9OQ(C[OG27fOOQQG27nG27nO'#kQ$IUOG25POOQOLD*^LD*^O$:TQ(CjOLD*^OOQOLD*QLD*QO%QQUOLD*^O!<oQ(C[OLD*QO'#uQ(C[OLD*^O!<zQWOLD*QO'$QQ(C[OLD*^OOQQ!$(!T!$(!TO!NgQSO!$(!TO!$SQ,UO!$(!TO'$`Q(CjOG26{OOQ(CWG26pG26pOOQO<<L_<<L_O'&qQWO<<IlO9OQ(C[O<<L_O&:]Q(C[O<<L_O8tQSO<<L_O!<zQWO<<L_OOQQLD,}LD,}O&$rQSOLD,}OOQQLD-QLD-QOOQO!$'Mx!$'MxO$:TQ(CjO!$'MxOOQO!$'Ml!$'MlO%QQUO!$'MxO!<oQ(C[O!$'MlO'&{Q(C[O!$'MxOOQQ!)9Eo!)9EoO!NgQSO!)9EoOOQOANAyANAyO9OQ(C[OANAyO&:]Q(C[OANAyO8tQSOANAyOOQQ!$(!i!$(!iOOQO!)9Cd!)9CdO$:TQ(CjO!)9CdOOQO!)9CW!)9CWO%QQUO!)9CdOOQQ!.K;Z!.K;ZO''WQ$IUOG26{OOQOG27eG27eO9OQ(C[OG27eO&:]Q(C[OG27eOOQO!.K9O!.K9OO$:TQ(CjO!.K9OOOQOLD-PLD-PO9OQ(C[OLD-POOQO!4/.j!4/.jOOQO!$(!k!$(!kO!'xQUO'#DvO0uQSO'#ETO'(|QbO'#JcO!'xQUO'#DnO')TQUO'#DzO!'xQUO'#D|O')[QbO'#CfO'+rQbO'#CfO',SQUO,5;SO!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO,5;^O!'xQUO'#IfO'.VQSO,5<cO'._Q,UO,5;^O'/rQ,UO,5;^O!'xQUO,5;rO0xQSO'#DSO0xQSO'#DSO!$SQ,UO'#FxO'._Q,UO'#FxO!$SQ,UO'#FzO'._Q,UO'#FzO!$SQ,UO'#GYO'._Q,UO'#GYO!'xQUO,5:fO!'xQUO,5@^O',SQUO1G0nO'/yQ$IUO'#CfO!'xQUO1G1zO!$SQ,UO,5=PO'._Q,UO,5=PO!$SQ,UO,5=RO'._Q,UO,5=RO!$SQ,UO,5<mO'._Q,UO,5<mO',SQUO1G1{O!'xQUO7+&uO!$SQ,UO1G2XO'._Q,UO1G2XO!$SQ,UO1G2ZO'._Q,UO1G2ZO',SQUO7+'gO',SQUO7+&YO!$SQ,UOANAaO'._Q,UOANAaO'0TQSO'#EhO'0YQSO'#EhO'0bQSO'#FWO'0gQSO'#ErO'0lQSO'#JrO'0wQSO'#JpO'1SQSO,5;SO'1XQ,UO,5<`O'1`QSO'#GRO'1eQSO'#GRO'1jQSO,5<aO'1rQSO,5;SO'1zQ$IUO1G1ZO'2RQSO,5<mO'2WQSO,5<mO'2]QSO,5<oO'2bQSO,5<oO'2gQSO1G1{O'2lQSO1G0nO'2qQ,UO<<KuO'2xQ,UO<<KuO7^Q,UO'#FvO8tQSO'#FuO@mQSO'#EgO!'xQUO,5;oO!0rQSO'#GRO!0rQSO'#GRO!0rQSO'#GTO!0rQSO'#GTO!%lQ,UO7+(ZO!%lQ,UO7+(ZO$L`Q`O1G2oO$L`Q`O1G2oO!$SQ,UO,5=TO!$SQ,UO,5=T",stateData:"'4R~O'mOS'nOSROS'oRQ~OPYOQYOV!TO^pOaxObwOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!csO!hZO!kYO!lYO!mYO!otO!quO!tvO!x]O#p}O$QzO$UfO%`{O%b!OO%d|O%e|O%h!PO%j!QO%m!RO%n!RO%p!SO%}!UO&T!VO&V!WO&X!XO&Z!YO&^!ZO&d![O&j!]O&l!^O&n!_O&p!`O&r!aO'tSO'vTO'yUO(RVO(`[O(miO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$Q!hO$UfO't!bO'vTO'yUO(RVO(`[O(miO~O^!qOl!kO|!lO![!rO!]!pO!^!pO!x<XO!|!wO!}!vO#O!tO#P!uO#Q!sO#T!xO#U!xO'u!iO'vTO'yUO(U!jO(`!nO~O'o!yO~OPYXXYX^YXkYXyYXzYX|YX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX'kYX(RYX(aYX(hYX(iYX~O!a$zX~P(gO[!{O'v!}O'w!{O'x!}O~O[#OO'x!}O'y!}O'z#OO~Oq#QO!O#RO(S#RO(T#TO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$Q!hO$UfO't<^O'vTO'yUO(RVO(`[O(miO~O!U#XO!V#UO!S(XP!S(eP~P+sO!W#aO~P`OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$Q!hO$UfO'vTO'yUO(RVO(`[O(miO~O!U#gO!x]O#b#jO#c#gO't<_O!g(bP~P._O!h#lO't#kO~O!t#pO!x]O%`#qO~O#d#rO~O!a#sO#d#rO~OP$ZOX$bOk$OOy#wOz#xO|#yO!V$_O!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO#s$TO#u$VO#v$WO(RVO(a$XO(h#zO(i#{O~O^(VX'k(VX'i(VX!g(VX!S(VX!X(VX%a(VX!a(VX~P1gO#X$cO#{$cOP(WXX(WXk(WXy(WXz(WX|(WX!V(WX!e(WX!h(WX!l(WX#g(WX#h(WX#i(WX#j(WX#k(WX#l(WX#m(WX#n(WX#o(WX#q(WX#s(WX#u(WX#v(WX(R(WX(a(WX(h(WX(i(WX!X(WX%a(WX~O^(WX!f(WX'k(WX'i(WX!S(WX!g(WXo(WX!a(WX~P3}O#X$cO~O$W$eO$Y$dO$a$jO~O!X$kO$UfO$d$lO$f$nO~Oi%QOk$rOl$qOm$qOs%ROu%SOw%TO|$yO!X$zO!c%YO!h$vO#c%ZO$Q%WO$m%UO$o%VO$r%XO't$pO'vTO'yUO'}%PO(R$sOd(OP~O!h%[O~O!a%^O~O^%_O'k%_O~O'u!iO~P%QO't%fO~O!h%[O't%fO'u!iO'}%PO~Ob%mO!h%[O't%fO~O#o$QO~Oy%rO!X%oO!h%qO%b%uO't%fO'u!iO'vTO'yUO](uP~O!t#pO~O|%wO!X%xO't%fO~O|%wO!X%xO%j%|O't%fO~O't%}O~O#p}O%b!OO%d|O%e|O%h!PO%j!QO%m!RO%n!RO~Oa&WOb&VO!t&TO%`&UO%r&SO~P;fOa&ZObwO!X&YO!tvO!x]O#p}O%`{O%d|O%e|O%h!PO%j!QO%m!RO%n!RO%p!SO~O_&^O#X&aO%b&[O'u!iO~P<eO!h&bO!q&fO~O!h#lO~O!XXO~O^%_O'j&nO'k%_O~O^%_O'j&qO'k%_O~O^%_O'j&sO'k%_O~O'iYX!SYXoYX!gYX&RYX!XYX%aYX!aYX~P(gO!['QO!]&yO!^&yO'u!iO'vTO'yUO~Ol&wO|&vO!U&zO(U&uO!W(YP!W(gP~P?fOg'TO!X'RO't%fO~Ob'YO!h%[O't%fO~Oy%rO!h%qO~Ol!kO|!lO!['_O!]'^O!^'^O!}'bO#O'aO#P'aO#Q'`O#T'dO#U'dO'u!iO'vTO'yUO(U!jO(`!nO~O!x<XO!|'cO~PAQO^%_O!a#sO!h%[O!l'jO#X'hO'k%_O'}%PO(a'fO~Ol!kO|!lO'vTO'yUO(U!jO(`!nO~O!]'^O!^'^O'u!iO~PBzO!['_O!]'^O!^'^O#T'dO#U'dO'u!iO~PBzO!XXO!['_O!]'^O!^'^O#Q'`O#T'dO#U'dO'u!iO~PBzO!['_O!]'^O!^'^O#O'aO#P'aO#Q'`O#T'dO#U'dO'u!iO~PBzO'p'nO'q'nO'r'pO~O[!{O'v'rO'w!{O'x'rO~O[#OO'x'rO'y'rO'z#OO~Oq#QO!O#RO(S#RO(T'vO~O!U'xO!S&}X!S'TX!V&}X!V'TX~P+sO!V'zO!S(XX~OP$ZOX$bOk$OOy#wOz#xO|#yO!V'zO!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO#s$TO#u$VO#v$WO(RVO(a$XO(h#zO(i#{O~O!S(XX~PGUO!S(PO~O!S(dX!V(dX!a(dX!g(dX(a(dX~O#X(dX#d#]X!W(dX~PI[O#X(QO!S(fX!V(fX~O!V(RO!S(eX~O!S(UO~O#X$cO~PI[O!W(VO~P`Oy#wOz#xO|#yO!f#uO!h#vO(RVOP!jaX!jak!ja!V!ja!e!ja!l!ja#g!ja#h!ja#i!ja#j!ja#k!ja#l!ja#m!ja#n!ja#o!ja#q!ja#s!ja#u!ja#v!ja(a!ja(h!ja(i!ja~O^!ja'k!ja'i!ja!S!ja!g!jao!ja!X!ja%a!ja!a!ja~PJrO!g(WO~O|%wO!X%xO!x]O#b(ZO#c(YO't%fO~O!a#sO#X([O(a'fO!V(cX^(cX'k(cX~O!g(cX~PMvO!V(_O!g(bX~O!g(aO~O|%wO!X%xO#c(YO't%fO~Oy(bOz(cO!f#uO!h#vO!x!wa|!wa~O!t!wa%`!wa!X!wa#b!wa#c!wa't!wa~P! OO!t(gO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$Q!hO$UfO't!bO'vTO'yUO(RVO(`[O(miO~Oi%QOk$rOl$qOm$qOs%ROu%SOw<qO|$yO!X$zO!c={O!h$vO#c<wO$Q%WO$m<sO$o<uO$r%XO't(kO'vTO'yUO'}%PO(R$sO~O#d(mO~Oi%QOk$rOl$qOm$qOs%ROu%SOw%TO|$yO!X$zO!c%YO!h$vO#c%ZO$Q%WO$m%UO$o%VO$r%XO't(kO'vTO'yUO'}%PO(R$sO~Od([P~P!%lO!U(qO!g(]P~P%QO(U(sO(`[O~O|(uO!h#vO(U(sO(`[O~OP<WOQ<WOa=wOb!fOikOk<WOlkOmkOskOu<WOw<WO|WO!QkO!RkO!X!cO!c<ZO!hZO!k<WO!l<WO!m<WO!o<[O!q<]O!t!eO$Q!hO$UfO't)TO'vTO'yUO(RVO(`[O(m=uO~Oz)WO!h#vO~O!V$_O^$ka'k$ka'i$ka!g$ka!S$ka!X$ka%a$ka!a$ka~O#p)[O~P!$SOy)_O!a)^O!X$XX$T$XX$W$XX$Y$XX$a$XX~O!a)^O!X(jX$T(jX$W(jX$Y(jX$a(jX~Oy)_O~P!+bOy)_O!X(jX$T(jX$W(jX$Y(jX$a(jX~O!X)aO$T)eO$W)`O$Y)`O$a)fO~O!U)iO~P!'xO$W$eO$Y$dO$a)mO~Og$sXy$sX|$sX!f$sX(h$sX(i$sX~OdfXd$sXgfX!VfX#XfX~P!-WOl)oO~Oq)pO(S)qO(T)sO~Og)|Oy)uO|)vO(h)xO(i)zO~Od)tO~P!.aOd)}O~Oi%QOk$rOl$qOm$qOs%ROu%SOw<qO|$yO!X$zO!c={O!h$vO#c<wO$Q%WO$m<sO$o<uO$r%XO'vTO'yUO'}%PO(R$sO~O!U*RO't*OO!g(nP~P!/OO#d*TO~O!h*UO~O!U*ZO't*WO!S(oP~P!/OOk*gO|*_O![*eO!]*^O!^*^O!h*UO#T*fO%W*aO'u!iO(U!jO~O!W*dO~P!1UO!f#uOg(QXy(QX|(QX(h(QX(i(QX!V(QX#X(QX~Od(QX#y(QX~P!1}Og*jO#X*iOd(PX!V(PX~O!V*kOd(OX~O't%}Od(OP~O!h*rO~O't(kO~O|%wO!U#gO!X%xO!x]O#b#jO#c#gO't%fO!g(bP~O!a#sO#d*vO~OP$ZOX$bOk$OOy#wOz#xO|#yO!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO#s$TO#u$VO#v$WO(RVO(a$XO(h#zO(i#{O~O^!ba!V!ba'k!ba'i!ba!S!ba!g!bao!ba!X!ba%a!ba!a!ba~P!4aOy#wOz#xO|#yO!f#uO!h#vO(RVOP!naX!nak!na!V!na!e!na!l!na#g!na#h!na#i!na#j!na#k!na#l!na#m!na#n!na#o!na#q!na#s!na#u!na#v!na(a!na(h!na(i!na~O^!na'k!na'i!na!S!na!g!nao!na!X!na%a!na!a!na~P!6zOy#wOz#xO|#yO!f#uO!h#vO(RVOP!paX!pak!pa!V!pa!e!pa!l!pa#g!pa#h!pa#i!pa#j!pa#k!pa#l!pa#m!pa#n!pa#o!pa#q!pa#s!pa#u!pa#v!pa(a!pa(h!pa(i!pa~O^!pa'k!pa'i!pa!S!pa!g!pao!pa!X!pa%a!pa!a!pa~P!9eOg+OO!X'RO%a*}O'}%PO~O!a+QO^'|X!X'|X'k'|X!V'|X~O^%_O!XXO'k%_O~O!h%[O'}%PO~O!h%[O't%fO'}%PO~O!a#sO#d(mO~O%b+^O't+YO'vTO'yUO!W(vP~O!V+_O](uX~O(U(sO~OX+cO~O]+dO~O!X%oO't%fO'u!iO](uP~O|%wO!U+hO!V(RO!X%xO't%fO!S(eP~Ol&}O|+jO!U+iO'vTO'yUO(U(sO~O!W(gP~P!?TO!V+kO^(rX'k(rX~O#X+oO'}%PO~Og+rO!X$zO'}%PO~O!X+tO~Oy+vO!XXO~O!t+{O~Ob,QO~O't#kO!W(tP~Ob%mO~O%b!OO't%}O~P<eOX,WO],VO~OPYOQYOaxObwOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!csO!hZO!kYO!lYO!mYO!otO!quO!tvO!x]O$UfO%`{O'vTO'yUO(RVO(`[O(miO~O!X!cO$Q!hO't!bO~P!AhO],VO^%_O'k%_O~O^,[O#p,^O%d,^O%e,^O~P%QO!h&bO~O&T,cO~O!X,eO~O&f,gO&h,hOP&caQ&caV&ca^&caa&cab&cai&cak&cal&cam&cas&cau&caw&ca|&ca!Q&ca!R&ca!X&ca!c&ca!h&ca!k&ca!l&ca!m&ca!o&ca!q&ca!t&ca!x&ca#p&ca$Q&ca$U&ca%`&ca%b&ca%d&ca%e&ca%h&ca%j&ca%m&ca%n&ca%p&ca%}&ca&T&ca&V&ca&X&ca&Z&ca&^&ca&d&ca&j&ca&l&ca&n&ca&p&ca&r&ca'i&ca't&ca'v&ca'y&ca(R&ca(`&ca(m&ca!W&ca&[&ca_&ca&a&ca~O't,mO~O!V{X!V!_X!W{X!W!_X!a{X!a!_X!h!_X#X{X'}!_X~O!a,rO#X,qO!V#aX!V(ZX!W#aX!W(ZX!a(ZX!h(ZX'}(ZX~O!a,tO!h%[O'}%PO!V!ZX!W!ZX~Ol!kO|!lO'vTO'yUO(U!jO~OP<WOQ<WOa=wOb!fOikOk<WOlkOmkOskOu<WOw<WO|WO!QkO!RkO!X!cO!c<ZO!hZO!k<WO!l<WO!m<WO!o<[O!q<]O!t!eO$Q!hO$UfO'vTO'yUO(RVO(`[O(m=uO~O't<|O~P!J}O!V,xO!W(YX~O!W,zO~O!a,rO#X,qO!V#aX!W#aX~O!V,{O!W(gX~O!W,}O~O!]-OO!^-OO'u!iO~P!JlO!W-RO~P'TOg-UO!X'RO~O!S-ZO~Ol!wa![!wa!]!wa!^!wa!|!wa!}!wa#O!wa#P!wa#Q!wa#T!wa#U!wa'u!wa'v!wa'y!wa(U!wa(`!wa~P! OO^%_O!a#sO!h%[O!l-`O#X-^O'k%_O'}%PO(a'fO~O!]-bO!^-bO'u!iO~PBzO![-dO!]-bO!^-bO#T-eO#U-eO'u!iO~PBzO![-dO!]-bO!^-bO#Q-fO#T-eO#U-eO'u!iO~PBzO![-dO!]-bO!^-bO#O-gO#P-gO#Q-fO#T-eO#U-eO'u!iO~PBzO![-dO!]-bO!^-bO!}-hO#O-gO#P-gO#Q-fO#T-eO#U-eO'u!iO~PBzO^%_O#X-^O'k%_O~O^%_O!a#sO#X-^O'k%_O~O^%_O!a#sO!l-`O#X-^O'k%_O(a'fO~O'p'nO'q'nO'r-mO~Oo-nO~O!S&}a!V&}a~P!4aO!U-rO!S&}X!V&}X~P%QO!V'zO!S(Xa~O!S(Xa~PGUO!V(RO!S(ea~O|%wO!U-vO!X%xO't%fO!S'TX!V'TX~O!V(_O!g(ba~O|%wO!X%xO#c-yO't%fO~O#X-{O!V(ca!g(ca^(ca'k(ca~O!a#sO~P#(aO|%wO!U.OO!X%xO!x]O#b.QO#c.OO't%fO!V'VX!g'VX~Oz.UO!h#vO~Og.XO!X'RO%a.WO'}%PO~O^#[i!V#[i'k#[i'i#[i!S#[i!g#[io#[i!X#[i%a#[i!a#[i~P!4aOg>ROy)uO|)vO(h)xO(i)zO~O#d#Wa^#Wa#X#Wa'k#Wa!V#Wa!g#Wa!X#Wa!S#Wa~P#*rO#d(QXP(QXX(QX^(QXk(QXz(QX!e(QX!h(QX!l(QX#g(QX#h(QX#i(QX#j(QX#k(QX#l(QX#m(QX#n(QX#o(QX#q(QX#s(QX#u(QX#v(QX'k(QX(R(QX(a(QX!g(QX!S(QX'i(QXo(QX!X(QX%a(QX!a(QX~P!1}O!V.bOd([X~P!.aOd.dO~O!V.eO!g(]X~P!4aO!g.hO~O!S.jO~OP$ZOy#wOz#xO|#yO!f#uO!h#vO!l$ZO(RVOX#fi^#fik#fi!V#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'k#fi(a#fi(h#fi(i#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O#g#fi~P#.nO#g#|O~P#.nOP$ZOy#wOz#xO|#yO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O(RVOX#fi^#fi!V#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'k#fi(a#fi(h#fi(i#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~Ok#fi~P#1`Ok$OO~P#1`OP$ZOk$OOy#wOz#xO|#yO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO(RVO^#fi!V#fi#q#fi#s#fi#u#fi#v#fi'k#fi(a#fi(h#fi(i#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P#4QOX$bO!e$QO#l$QO#m$QO#n$aO#o$QO~P#4QOP$ZOX$bOk$OOy#wOz#xO|#yO!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO(RVO^#fi!V#fi#s#fi#u#fi#v#fi'k#fi(a#fi(i#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(h#fi~P#7RO(h#zO~P#7ROP$ZOX$bOk$OOy#wOz#xO|#yO!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO#s$TO(RVO(h#zO^#fi!V#fi#u#fi#v#fi'k#fi(a#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(i#fi~P#9sO(i#{O~P#9sOP$ZOX$bOk$OOy#wOz#xO|#yO!e$QO!f#uO!h#vO!l$ZO#g#|O#h#}O#i#}O#j#}O#k$PO#l$QO#m$QO#n$aO#o$QO#q$RO#s$TO#u$VO(RVO(h#zO(i#{O~O^#fi!V#fi#v#fi'k#fi(a#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#<eOPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(RYX(aYX(hYX(iYX!VYX!WYX~O#yYX~P#?OOP$ZOX<oOk<cOy#wOz#xO|#yO!e<eO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO#k<dO#l<eO#m<eO#n<nO#o<eO#q<fO#s<hO#u<jO#v<kO(RVO(a$XO(h#zO(i#{O~O#y.lO~P#A]OP(WXX(WXk(WXy(WXz(WX|(WX!e(WX!f(WX!h(WX!l(WX#g(WX#h(WX#i(WX#j(WX#k(WX#l(WX#m(WX#n(WX#q(WX#s(WX#u(WX#v(WX(R(WX(a(WX(h(WX(i(WX!V(WX~O#X<pO#{<pO#o(WX#y(WX!W(WX~P#CZO^'Ya!V'Ya'k'Ya'i'Ya!g'Ya!S'Yao'Ya!X'Ya%a'Ya!a'Ya~P!4aOP#fiX#fi^#fik#fiz#fi!V#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'k#fi(R#fi(a#fi'i#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#*rO^#zi!V#zi'k#zi'i#zi!S#zi!g#zio#zi!X#zi%a#zi!a#zi~P!4aO$W.qO$Y.qO~O$W.rO$Y.rO~O!a)^O#X.sO!X$^X$T$^X$W$^X$Y$^X$a$^X~O!U.tO~O!X)aO$T.vO$W)`O$Y)`O$a.wO~O!V<lO!W(VX~P#A]O!W.xO~O!a)^O$a(jX~O$a.zO~Oq)pO(S)qO(T.}O~Ol/QO!S/RO'vTO'yUO~O!VcX!acX!gcX!g$sX(acX~P!-WO!g/XO~P#*rO!V/YO!a#sO(a'fO!g(nX~O!g/_O~O!U*RO't%fO!g(nP~O#d/aO~O!S$sX!V$sX!a$zX~P!-WO!V/bO!S(oX~P#*rO!a/dO~O!S/fO~Ok/jO!a#sO!h%[O'}%PO(a'fO~O't/lO~O!a+QO~O^%_O!V/pO'k%_O~O!W/rO~P!1UO!]/sO!^/sO'u!iO(U!jO~O|/uO(U!jO~O#T/vO~O't%}Od'_X!V'_X~O!V*kOd(Oa~Od/{O~Oy/|Oz/|O|/}Ogva(hva(iva!Vva#Xva~Odva#yva~P$ tOy)uO|)vOg$la(h$la(i$la!V$la#X$la~Od$la#y$la~P$!jOy)uO|)vOg$na(h$na(i$na!V$na#X$na~Od$na#y$na~P$#]O#d0PO~Od$|a!V$|a#X$|a#y$|a~P!.aO#d0SO~Oy#wOz#xO|#yO!f#uO!h#vO(RVOP!niX!nik!ni!V!ni!e!ni!l!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#o!ni#q!ni#s!ni#u!ni#v!ni(a!ni(h!ni(i!ni~O^!ni'k!ni'i!ni!S!ni!g!nio!ni!X!ni%a!ni!a!ni~P$$jOg.XO!X'RO%a.WO~Oi0ZO't0YO~P!/RO!a+QO^'|a!X'|a'k'|a!V'|a~O#d0aO~OXYX!VcX!WcX~O!V0bO!W(vX~O!W0dO~OX0eO~O't+YO'vTO'yUO~O!X%oO't%fO]'gX!V'gX~O!V+_O](ua~O!g0jO~P!4aOX0mO~O]0nO~O!V+kO^(ra'k(ra~O#X0tO~Og0wO!X$zO~O(U(sO!W(sP~Og1QO!X0}O%a1PO'}%PO~OX1[O!V1YO!W(tX~O!W1]O~O]1_O^%_O'k%_O~O't#kO'vTO'yUO~O#X$cO#o1bO#{$cO&R1cO^(WX~P#CZO#X$cO#o1bO&R1cO~O^1dO~P%QO^1fO~O&[1jOP&YiQ&YiV&Yi^&Yia&Yib&Yii&Yik&Yil&Yim&Yis&Yiu&Yiw&Yi|&Yi!Q&Yi!R&Yi!X&Yi!c&Yi!h&Yi!k&Yi!l&Yi!m&Yi!o&Yi!q&Yi!t&Yi!x&Yi#p&Yi$Q&Yi$U&Yi%`&Yi%b&Yi%d&Yi%e&Yi%h&Yi%j&Yi%m&Yi%n&Yi%p&Yi%}&Yi&T&Yi&V&Yi&X&Yi&Z&Yi&^&Yi&d&Yi&j&Yi&l&Yi&n&Yi&p&Yi&r&Yi'i&Yi't&Yi'v&Yi'y&Yi(R&Yi(`&Yi(m&Yi!W&Yi_&Yi&a&Yi~O_1pO!W1nO&a1oO~P`O!XXO!h1rO~O&h,hOP&ciQ&ciV&ci^&cia&cib&cii&cik&cil&cim&cis&ciu&ciw&ci|&ci!Q&ci!R&ci!X&ci!c&ci!h&ci!k&ci!l&ci!m&ci!o&ci!q&ci!t&ci!x&ci#p&ci$Q&ci$U&ci%`&ci%b&ci%d&ci%e&ci%h&ci%j&ci%m&ci%n&ci%p&ci%}&ci&T&ci&V&ci&X&ci&Z&ci&^&ci&d&ci&j&ci&l&ci&n&ci&p&ci&r&ci'i&ci't&ci'v&ci'y&ci(R&ci(`&ci(m&ci!W&ci&[&ci_&ci&a&ci~O!S1xO~O!V!Za!W!Za~P#A]Ol!kO|!lO!U2OO(U!jO!V'OX!W'OX~P?fO!V,xO!W(Ya~O!V'UX!W'UX~P!?TO!V,{O!W(ga~O!W2VO~P'TO^%_O#X2`O'k%_O~O^%_O!a#sO#X2`O'k%_O~O^%_O!a#sO!h%[O!l2dO#X2`O'k%_O'}%PO(a'fO~O!]2eO!^2eO'u!iO~PBzO![2hO!]2eO!^2eO#T2iO#U2iO'u!iO~PBzO![2hO!]2eO!^2eO#Q2jO#T2iO#U2iO'u!iO~PBzO![2hO!]2eO!^2eO#O2kO#P2kO#Q2jO#T2iO#U2iO'u!iO~PBzO^%_O!a#sO!l2dO#X2`O'k%_O(a'fO~O^%_O'k%_O~P!4aO!V$_Oo$ka~O!S&}i!V&}i~P!4aO!V'zO!S(Xi~O!V(RO!S(ei~O!S(fi!V(fi~P!4aO!V(_O!g(bi~O!V(ci!g(ci^(ci'k(ci~P!4aO#X2oO!V(ci!g(ci^(ci'k(ci~O|%wO!X%xO!x]O#b2rO#c2qO't%fO~O|%wO!X%xO#c2qO't%fO~Og2yO!X'RO%a2xO~Og2yO!X'RO%a2xO'}%PO~O#dvaPvaXva^vakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva'kva(Rva(ava!gva!Sva'ivaova!Xva%ava!ava~P$ tO#d$laP$laX$la^$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la'k$la(R$la(a$la!g$la!S$la'i$lao$la!X$la%a$la!a$la~P$!jO#d$naP$naX$na^$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na'k$na(R$na(a$na!g$na!S$na'i$nao$na!X$na%a$na!a$na~P$#]O#d$|aP$|aX$|a^$|ak$|az$|a!V$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a'k$|a(R$|a(a$|a!g$|a!S$|a'i$|a#X$|ao$|a!X$|a%a$|a!a$|a~P#*rO^#[q!V#[q'k#[q'i#[q!S#[q!g#[qo#[q!X#[q%a#[q!a#[q~P!4aOd'PX!V'PX~P!%lO!V.bOd([a~O!U3RO!V'QX!g'QX~P%QO!V.eO!g(]a~O!V.eO!g(]a~P!4aO!S3UO~O#y!ja!W!ja~PJrO#y!ba!V!ba!W!ba~P#A]O#y!na!W!na~P!6zO#y!pa!W!pa~P!9eO!X3hO$UfO$_3iO~O!W3mO~Oo3nO~P#*rO^$hq!V$hq'k$hq'i$hq!S$hq!g$hqo$hq!X$hq%a$hq!a$hq~P!4aO!S3oO~Ol/QO'vTO'yUO~Oy)uO|)vO(i)zOg%Xi(h%Xi!V%Xi#X%Xi~Od%Xi#y%Xi~P$JzOy)uO|)vOg%Zi(h%Zi(i%Zi!V%Zi#X%Zi~Od%Zi#y%Zi~P$KmO(a$XO~P#*rO!U3rO't%fO!V'ZX!g'ZX~O!V/YO!g(na~O!V/YO!a#sO!g(na~O!V/YO!a#sO(a'fO!g(na~Od$ui!V$ui#X$ui#y$ui~P!.aO!U3zO't*WO!S']X!V']X~P!/OO!V/bO!S(oa~O!V/bO!S(oa~P#*rO!a#sO~O!a#sO#o4SO~Ok4VO!a#sO(a'fO~Od(Pi!V(Pi~P!.aO#X4YOd(Pi!V(Pi~P!.aO!g4]O~O^$iq!V$iq'k$iq'i$iq!S$iq!g$iqo$iq!X$iq%a$iq!a$iq~P!4aO!V4aO!X(pX~P#*rO!f#uO~P3}O^$sX!X$sX%UYX'k$sX!V$sX~P!-WO%U4cO^hXghXyhX|hX!XhX'khX(hhX(ihX!VhX~O%U4cO~O%b4jO't+YO'vTO'yUO!V'fX!W'fX~O!V0bO!W(va~OX4nO~O]4oO~O!S4sO~O^%_O'k%_O~P#*rO!X$zO~P#*rO!V4xO#X4zO!W(sX~O!W4{O~Ol!kO|4}O![5]O!]5RO!^5RO!x<XO!|5[O!}5ZO#O5YO#P5YO#Q5XO#T5WO#U!xO'u!iO'vTO'yUO(U!jO(`!nO~O!W5VO~P%%qOg5bO!X0}O%a5aO~Og5bO!X0}O%a5aO'}%PO~O't#kO!V'eX!W'eX~O!V1YO!W(ta~O'vTO'yUO(U5kO~O]5oO~O!g5rO~P%QO^5tO~O^5tO~P%QO#o5vO&R5wO~PMvO_1pO!W5{O&a1oO~P`O!a5}O~O!a6PO!V(Zi!W(Zi!a(Zi!h(Zi'}(Zi~O!V#ai!W#ai~P#A]O#X6QO!V#ai!W#ai~O!V!Zi!W!Zi~P#A]O^%_O#X6ZO'k%_O~O^%_O!a#sO#X6ZO'k%_O~O^%_O!a#sO!l6`O#X6ZO'k%_O(a'fO~O!h%[O'}%PO~P%+RO!]6aO!^6aO'u!iO~PBzO![6dO!]6aO!^6aO#T6eO#U6eO'u!iO~PBzO![6dO!]6aO!^6aO#Q6fO#T6eO#U6eO'u!iO~PBzO!V(_O!g(bq~O!V(cq!g(cq^(cq'k(cq~P!4aO|%wO!X%xO#c6jO't%fO~O!X'RO%a6mO~Og6pO!X'RO%a6mO~O#d%XiP%XiX%Xi^%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi'k%Xi(R%Xi(a%Xi!g%Xi!S%Xi'i%Xio%Xi!X%Xi%a%Xi!a%Xi~P$JzO#d%ZiP%ZiX%Zi^%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi'k%Zi(R%Zi(a%Zi!g%Zi!S%Zi'i%Zio%Zi!X%Zi%a%Zi!a%Zi~P$KmO#d$uiP$uiX$ui^$uik$uiz$ui!V$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui'k$ui(R$ui(a$ui!g$ui!S$ui'i$ui#X$uio$ui!X$ui%a$ui!a$ui~P#*rOd'Pa!V'Pa~P!.aO!V'Qa!g'Qa~P!4aO!V.eO!g(]i~O#y#[i!V#[i!W#[i~P#A]OP$ZOy#wOz#xO|#yO!f#uO!h#vO!l$ZO(RVOX#fik#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(a#fi(h#fi(i#fi!V#fi!W#fi~O#g#fi~P%6OO#g<aO~P%6OOP$ZOy#wOz#xO|#yO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO(RVOX#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(a#fi(h#fi(i#fi!V#fi!W#fi~Ok#fi~P%8ZOk<cO~P%8ZOP$ZOk<cOy#wOz#xO|#yO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO#k<dO(RVO#q#fi#s#fi#u#fi#v#fi#y#fi(a#fi(h#fi(i#fi!V#fi!W#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P%:fOX<oO!e<eO#l<eO#m<eO#n<nO#o<eO~P%:fOP$ZOX<oOk<cOy#wOz#xO|#yO!e<eO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO#k<dO#l<eO#m<eO#n<nO#o<eO#q<fO(RVO#s#fi#u#fi#v#fi#y#fi(a#fi(i#fi!V#fi!W#fi~O(h#fi~P%=QO(h#zO~P%=QOP$ZOX<oOk<cOy#wOz#xO|#yO!e<eO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO#k<dO#l<eO#m<eO#n<nO#o<eO#q<fO#s<hO(RVO(h#zO#u#fi#v#fi#y#fi(a#fi!V#fi!W#fi~O(i#fi~P%?]O(i#{O~P%?]OP$ZOX<oOk<cOy#wOz#xO|#yO!e<eO!f#uO!h#vO!l$ZO#g<aO#h<bO#i<bO#j<bO#k<dO#l<eO#m<eO#n<nO#o<eO#q<fO#s<hO#u<jO(RVO(h#zO(i#{O~O#v#fi#y#fi(a#fi!V#fi!W#fi~P%AhO^#wy!V#wy'k#wy'i#wy!S#wy!g#wyo#wy!X#wy%a#wy!a#wy~P!4aOg>SOy)uO|)vO(h)xO(i)zO~OP#fiX#fik#fiz#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(R#fi(a#fi!V#fi!W#fi~P%D`O!f#uOP(QXX(QXg(QXk(QXy(QXz(QX|(QX!e(QX!h(QX!l(QX#g(QX#h(QX#i(QX#j(QX#k(QX#l(QX#m(QX#n(QX#o(QX#q(QX#s(QX#u(QX#v(QX#y(QX(R(QX(a(QX(h(QX(i(QX!V(QX!W(QX~O#y#zi!V#zi!W#zi~P#A]O#y!ni!W!ni~P$$jO!W6|O~O!V'Ya!W'Ya~P#A]O!a#sO(a'fO!V'Za!g'Za~O!V/YO!g(ni~O!V/YO!a#sO!g(ni~Od$uq!V$uq#X$uq#y$uq~P!.aO!S']a!V']a~P#*rO!a7TO~O!V/bO!S(oi~P#*rO!V/bO!S(oi~O!S7XO~O!a#sO#o7^O~Ok7_O!a#sO(a'fO~O!S7aO~Od$wq!V$wq#X$wq#y$wq~P!.aO^$iy!V$iy'k$iy'i$iy!S$iy!g$iyo$iy!X$iy%a$iy!a$iy~P!4aO!V4aO!X(pa~O^#[y!V#[y'k#[y'i#[y!S#[y!g#[yo#[y!X#[y%a#[y!a#[y~P!4aOX7fO~O!V0bO!W(vi~O]7lO~O!a6PO~O(U(sO!V'bX!W'bX~O!V4xO!W(sa~O!h%[O'}%PO^(ZX!a(ZX!l(ZX#X(ZX'k(ZX(a(ZX~O't7uO~P._O!x<XO!|7yO!}7xO#O7wO#P7wO#Q7vO#T'dO#U'dO~PBzO^%_O!a#sO!l'jO#X'hO'k%_O(a'fO~O!W7}O~P%%qOl!kO'vTO'yUO(U!jO(`!nO~O|8OO~P&!mO![8SO!]8RO!^8RO#Q7vO#T'dO#U'dO'u!iO~PBzO![8SO!]8RO!^8RO#O8TO#P8TO#Q7vO#T'dO#U'dO'u!iO~PBzO!]8RO!^8RO'u!iO(U!jO(`!nO~O!X0}O~O!X0}O%a8VO~Og8YO!X0}O%a8VO~OX8_O!V'ea!W'ea~O!V1YO!W(ti~O!g8cO~O!g8dO~O!g8eO~O!g8eO~P%QO^8gO~O!a8jO~O!g8kO~O!V(fi!W(fi~P#A]O^%_O#X8sO'k%_O~O^%_O!a#sO#X8sO'k%_O~O^%_O!a#sO!l8wO#X8sO'k%_O(a'fO~O!h%[O'}%PO~P&'ZO!]8xO!^8xO'u!iO~PBzO![8{O!]8xO!^8xO#T8|O#U8|O'u!iO~PBzO!V(_O!g(by~O!V(cy!g(cy^(cy'k(cy~P!4aO!X'RO%a9PO~O#d$uqP$uqX$uq^$uqk$uqz$uq!V$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq'k$uq(R$uq(a$uq!g$uq!S$uq'i$uq#X$uqo$uq!X$uq%a$uq!a$uq~P#*rO#d$wqP$wqX$wq^$wqk$wqz$wq!V$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq'k$wq(R$wq(a$wq!g$wq!S$wq'i$wq#X$wqo$wq!X$wq%a$wq!a$wq~P#*rO!V'Qi!g'Qi~P!4aO#y#[q!V#[q!W#[q~P#A]Oy/|Oz/|O|/}OPvaXvagvakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva#yva(Rva(ava(hva(iva!Vva!Wva~Oy)uO|)vOP$laX$lag$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la#y$la(R$la(a$la(h$la(i$la!V$la!W$la~Oy)uO|)vOP$naX$nag$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na#y$na(R$na(a$na(h$na(i$na!V$na!W$na~OP$|aX$|ak$|az$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a#y$|a(R$|a(a$|a!V$|a!W$|a~P%D`O#y$hq!V$hq!W$hq~P#A]O#y$iq!V$iq!W$iq~P#A]O!W9ZO~O#y9[O~P!.aO!a#sO!V'Zi!g'Zi~O!a#sO(a'fO!V'Zi!g'Zi~O!V/YO!g(nq~O!S']i!V']i~P#*rO!V/bO!S(oq~O!S9bO~P#*rO!S9bO~Od(Py!V(Py~P!.aO!V'`a!X'`a~P#*rO^%Tq!X%Tq'k%Tq!V%Tq~P#*rOX9gO~O!V0bO!W(vq~O#X9kO!V'ba!W'ba~O!V4xO!W(si~P#A]O^%_O!a+QO'k%_O~OPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(RYX(aYX(hYX(iYX~O!a%RX#o%RX~P&:hO#T-eO#U-eO~PBzO#Q9pO#T-eO#U-eO~PBzO#O9qO#P9qO#Q9pO#T-eO#U-eO~PBzO!}9rO#O9qO#P9qO#Q9pO#T-eO#U-eO~PBzO!]9uO!^9uO'u!iO(U!jO(`!nO~O![9xO!]9uO!^9uO#Q9pO#T-eO#U-eO'u!iO~PBzO!X0}O%a9{O~O'vTO'yUO(U:QO~O!V1YO!W(tq~O!g:TO~O!g:TO~P%QO!g:VO~O!g:WO~O#X:YO!V#ay!W#ay~O!V#ay!W#ay~P#A]O^%_O#X:^O'k%_O~O^%_O!a#sO#X:^O'k%_O~O^%_O!a#sO!l:bO#X:^O'k%_O(a'fO~O!h%[O'}%PO~P&AZO!]:cO!^:cO'u!iO~PBzO!X'RO%a:gO~O#y#wy!V#wy!W#wy~P#A]OP$uiX$uik$uiz$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui#y$ui(R$ui(a$ui!V$ui!W$ui~P%D`Oy)uO|)vO(i)zOP%XiX%Xig%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi#y%Xi(R%Xi(a%Xi(h%Xi!V%Xi!W%Xi~Oy)uO|)vOP%ZiX%Zig%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi#y%Zi(R%Zi(a%Zi(h%Zi(i%Zi!V%Zi!W%Zi~O#y$iy!V$iy!W$iy~P#A]O#y#[y!V#[y!W#[y~P#A]O!a#sO!V'Zq!g'Zq~O!V/YO!g(ny~O!S']q!V']q~P#*rO!S:nO~P#*rO!V0bO!W(vy~O!V4xO!W(sq~O#T2iO#U2iO~PBzO#Q:uO#T2iO#U2iO~PBzO#O:vO#P:vO#Q:uO#T2iO#U2iO~PBzO!]:zO!^:zO'u!iO(U!jO(`!nO~O!X0}O%a:}O~O!g;QO~O^%_O#X;VO'k%_O~O^%_O!a#sO#X;VO'k%_O~O^%_O!a#sO!l;ZO#X;VO'k%_O(a'fO~O!X'RO%a;^O~OP$uqX$uqk$uqz$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq#y$uq(R$uq(a$uq!V$uq!W$uq~P%D`OP$wqX$wqk$wqz$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq#y$wq(R$wq(a$wq!V$wq!W$wq~P%D`Od%]!Z!V%]!Z#X%]!Z#y%]!Z~P!.aO!V'bq!W'bq~P#A]O#T6eO#U6eO~PBzO#Q;bO#T6eO#U6eO~PBzO!V#a!Z!W#a!Z~P#A]O^%_O#X;mO'k%_O~O^%_O!a#sO#X;mO'k%_O~O#d%]!ZP%]!ZX%]!Z^%]!Zk%]!Zz%]!Z!V%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z'k%]!Z(R%]!Z(a%]!Z!g%]!Z!S%]!Z'i%]!Z#X%]!Zo%]!Z!X%]!Z%a%]!Z!a%]!Z~P#*rO#T8|O#U8|O~PBzO^%_O#X;zO'k%_O~OP%]!ZX%]!Zk%]!Zz%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z#y%]!Z(R%]!Z(a%]!Z!V%]!Z!W%]!Z~P%D`Oo(VX~P1gO'u!iO~P!'xO!ScX!VcX#XcX~P&:hOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#XYX#XcX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(RYX(aYX(hYX(iYX~O!acX!gYX!gcX(acX~P')iOP<WOQ<WOa=wOb!fOikOk<WOlkOmkOskOu<WOw<WO|WO!QkO!RkO!XXO!c<ZO!hZO!k<WO!l<WO!m<WO!o<[O!q<]O!t!eO$Q!hO$UfO't)TO'vTO'yUO(RVO(`[O(m=uO~O!V<lO!W$ka~Oi%QOk$rOl$qOm$qOs%ROu%SOw<rO|$yO!X$zO!c=|O!h$vO#c<xO$Q%WO$m<tO$o<vO$r%XO't(kO'vTO'yUO'}%PO(R$sO~O#p)[O~P'._O!WYX!WcX~P')iO#d<`O~O!a#sO#d<`O~O#X<pO~O#o<eO~O#X<zO!V(fX!W(fX~O#X<pO!V(dX!W(dX~O#d<{O~Od<}O~P!.aO#d=SO~O#d=TO~O!a#sO#d=UO~O!a#sO#d<{O~O#y=VO~P#A]O#d=WO~O#d=XO~O#d=YO~O#d=ZO~O#d=[O~O#d=]O~O#y=^O~P!.aO#y=_O~P!.aO$U~!f!|!}#P#Q#T#b#c#n(m$m$o$r%U%`%a%b%h%j%m%n%p%r~'oR$U(m#h!R'm'u#il#g#jky'n(U'n't$W$Y$W~",goto:"$2w(zPPPP({P)OP)`P+j/pPPPP7RPP7hP=gAYPAmPAmPPPAmPC]PAmPAmPAmPCaPPCfPDPPH}PPPIRPPPPIRLUPPPL[NiPIRP!#SPPPP!%fIRPPPIRPIRP!'xIRP!+`!,b!,gP!-X!-]!-XPPPPP!0j!3SPP!3]!4kP!,bIRIR!8S!;`!@l!@l!DePPP!DlIRPPPPPPPPPPP!G{P!IbPPIR!JsPIRPIRIRIRIRPIR!LZPP# eP#$kP#$o#$y#$}#$}P# bP#%R#%RP#(XP#(]IRIR#(c#+hAmPAmPAmAmP#,rAmAm#.lAm#0yAm#2mAmAm#3Z#5V#5V#5Z#5c#5V#5kP#5VPAm#6gAm#7oAmAm7RPPP#8zPP#9d#9dP#9dP#9y#9dPP#:PP#9vP#9v#:c!3X#9v#:}#;T7O)O#;W)OP#;_#;_#;_P)OP)OP)OP)OPP)OP#;e#;hP#;h)OP#;lP#;oP)OP)OP)OP)OP)OP)O)OPP#;u#;{#<V#<]#<c#<i#<o#<}#=T#=Z#=e#=k#>g#>v#>|#?`#?f#?l#?z#@a#Aq#BP#BV#B]#Bc#Bi#Bs#By#CP#CZ#Cm#CsPPPPPPPPPP#CyPPPPPPP#Dm#I^P#J}#KU#K^PPPP$ h$$^$+P$+S$+V$-g$-j$-m$-tPP$-z$.O$.w$/w$/{$0aPP$0e$0k$0oP$0r$0v$0y$1o$2V$2[$2_$2b$2h$2k$2o$2sR!zRmpOXr!X#b%^&e&g&h&j,`,e1j1mU!pQ'R-QQ%dtQ%lwQ%szQ&]!TS&y!c,xQ'X!f^'^!m!r!s!t!u!v!wS*^$z*cQ+W%mQ+e%uQ,P&VQ-O'QQ-Y'YY-b'_'`'a'b'cQ/s*eQ1X,QW2e-d-f-g-hS5R0}5UU6a2h2j2kU8R5Y5Z5]S8x6d6fS9u8S8TQ:c8{Q:z9xR<y<[%SdOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+j,[,`,e-U-^-r-{.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o3R4}5b5t5v5w6Z8O8Y8g8s:^;V;m;zS#n]<X!r)V$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xQ*n%TQ+]%oQ,R&YQ,Y&bQ.[<qQ0W+OQ0[+QQ0g+^Q1a,WQ2u.XQ4i0bQ5i1YQ6o2yQ6u<rQ7h4jR9S6p'QkOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=x#n!kQ!m!p!r!s!t!u!v!w!x&y'Q'R'^'_'`'a'b'c'd,x-O-Q-b-d-e-f-g-h0}2e2h2i2j2k5O5U5W5X5Y5Z5[6a6d6e6f7v7w7x7y8T8x8{8|9p9q9r:c:u:v;b$Y$qi#s#u$a$b$v$y%U%V%Z)p)y){)|*T*Z*i*j*}+Q+o+r.W.b/a/b/d0P0t0w1P2x3p3z4S4Y4a4c5a6m7T7^8V9P9[9{:g:};^<n<o<s<t<u<v<w<x=O=P=Q=R=S=T=W=X=Y=Z=^=_=u=}>O>R>SQ%vzQ&w!cS&}%x,{Q+]%oS/Q)v/SQ0O*rQ0g+^Q0l+dQ1`,VQ1a,WQ4i0bQ4r0nQ5l1[Q5m1_Q7h4jQ7k4oQ8b5oQ9j7lR:R8_pmOXr!T!X#b%^&[&e&g&h&j,`,e1j1mR,T&^&z`OPXYrstux!X!^!g!l#Q#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v'T'h'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=w=x[#ZWZ#U#X&z'xQ%gvQ%kwS%pz%u!U%y|}#e#g#j%[%w(R(Y(Z(_+h+i+k,^,r-v-y-}.O.Q1r2q2r6P6jQ&R!RQ'U!eQ'W!fQ(f#pS*Q$v*US+V%l%mQ+Z%oQ+z&TQ,O&VS-X'X'YQ.Z(gQ/^*RQ0`+WQ0f+^Q0h+_Q0k+cQ1S+{S1W,P,QQ2[-YQ3q/YQ4h0bQ4l0eQ4q0mQ5h1XQ7Q3rQ7g4jQ7j4nQ9f7fR:p9gv$xi#u%U%V%Z)y){*T*i*j.b/a0P3p4Y9[=u=}>O!d%iw!f!o%k%l%m&x'W'X'Y']'k*]+V+W,u-X-Y-a-c/k0`2T2[2c2g4U6_6c8v8z:a;YQ+P%gQ+p&OQ+s&PQ+}&VQ.Y(fQ1R+zU1V,O,P,QQ2z.ZQ5c1SS5g1W1XS7t4|5QQ8^5hU9s7z8P8QU:x9t9v9wQ;e:yQ;u;f!z=y#s$a$b$v$y)p)|*Z*}+Q+o+r.W/b/d0t0w1P2x3z4S4a4c5a6m7T7^8V9P9{:g:};^<s<u<w=O=Q=S=W=Y=^>R>Sg=z<n<o<t<v<x=P=R=T=X=Z=_W$}i%P*k=uS&O!O&[Q&P!PQ&Q!QR+n%|$Z$|i#s#u$a$b$v$y%U%V%Z)p)y){)|*T*Z*i*j*}+Q+o+r.W.b/a/b/d0P0t0w1P2x3p3z4S4Y4a4c5a6m7T7^8V9P9[9{:g:};^<n<o<s<t<u<v<w<x=O=P=Q=R=S=T=W=X=Y=Z=^=_=u=}>O>R>ST)q$s)rV*o%T<q<rU&}!c%x,{S(t#w#xQ+b%rS.S(b(cQ0x+tQ4Z/|R7p4x'QkOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=x$q$^c#W#c%b%c%e'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g*{+a,v-k-p-u-z.a.g.k.m.n.o/O0Q1y1|2^2n3Q3V3W3X3Y3Z3[3]3^3_3`3a3b3c3f3g3l4_4f6S6Y6h6s6t6y6z7r8m8q9T9X9Y:[:r;R;T;k;x<R<Y=lT#RV#S'RkOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xQ&{!cR2P,x#f!kQ!c!m!p!r!s!t!u!v!w!x&y'Q'R'^'_'`'a'b'c'd,x-O-Q-b-d-e-f-g-h2e2h2i2j2k5O5W5X5[6a6d6e6f7v7w7x7y8x8{8|9p9q9r:c:u:v;bS*]$z*cS/k*^*eQ/t*fQ0z+vQ4U/sQ4X/vS4|0}5US7z5R5]S8P5Y5ZS9t8R8SQ9v8TS:y9u9xR;f:zlpOXr!X#b%^&e&g&h&j,`,e1j1mQ&l![Q'l!tS(h#r<`Q+T%jQ+x&RQ+y&SQ-V'VQ-j'eS.`(m<{S0R*v=UQ0^+UQ0|+wQ1q,gQ1s,hQ1{,sQ2Y-WQ2]-[S4`0S=[Q4d0_S4g0a=]Q6R1}Q6V2ZQ6[2bQ7e4eQ8n6TQ8o6WQ8r6]Q:X8kQ:]8tQ;U:_Q;l;WR;y;n$l$]c#W#c%c%e'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g*{+a,v-k-p-u-z.a.g.k.n.o/O0Q1y1|2^2n3Q3V3W3X3Y3Z3[3]3^3_3`3a3b3c3f3g3l4_4f6S6Y6h6s6t6y6z7r8m8q9T9X9Y:[:r;R;T;k;x<R<Y=lS(e#m'[U*h${(l3eS*z%b.mQ2v0WQ6l2uQ9R6oR:h9S$l$[c#W#c%c%e'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g*{+a,v-k-p-u-z.a.g.k.n.o/O0Q1y1|2^2n3Q3V3W3X3Y3Z3[3]3^3_3`3a3b3c3f3g3l4_4f6S6Y6h6s6t6y6z7r8m8q9T9X9Y:[:r;R;T;k;x<R<Y=lS(d#m'[S(v#x$]S*y%b.mS.T(c(eQ.p)WQ0T*zR2s.U'QkOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xS#n]<XQ&g!VQ&h!WQ&j!YQ&k!ZR1i,cQ'S!eQ*|%gQ-T'US.V(f+PQ2W-SW2w.Y.Z0V0XQ6U2XU6k2t2v2zS9O6l6nS:f9Q9RS;[:e:hQ;p;]R;{;qV!qQ'R-Q!_^OQXZ_r!T!X!m#b#e%[%^&[&^&e&g&h&j'R(_,`,e-Q-}0}1j1m5O5UT#n]<X%^yOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&b&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+O+j,[,`,e-U-^-r-{.X.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o2y3R4}5b5t5v5w6Z6p8O8Y8g8s:^;V;m;zS(t#w#xS.S(b(c!s=c$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xU!oQ'R-Q[']!m!s!t!u!v!wS'k!p!rY'm!x5O5W5X5[S-a'^'_W-c'`'a'b'cY-i'd7v7w7x7yS2c-b-dW2f-e9p9q9rU2g-f-g-hS5Q0}5US6_2e2hU6b2i:u:vS6c2j2kS7z5R5]S8Q5Y5ZS8v6a6dS8y6e;bQ8z6fS9t8R8SQ9w8TS:a8x8{Q:d8|S:y9u9xQ;Y:cR;f:zU!qQ'R-QT5S0}5UU'j!o5P5QS(^#f1gU-`']'m8QQ/]*QQ/i*]U2d-c-i9wQ3v/^S4P/j/tS6`2f2gQ7P3qS7[4V4XS8w6b6cQ9^7QQ9e7_S:b8y8zR;Z:dQ#tbU'i!o5P5QS(]#f1gQ*w%]Q+R%hQ+X%nW-_']'j'm8QQ-|(^Q/[*QQ/h*]Q/n*`Q0]+SQ1T+|W2a-`-c-i9wS3u/]/^S4O/i/tQ4R/mQ4T/oQ5e1UU6^2d2f2gQ7O3qQ7S3vS7W4P4XQ7]4WQ8[5fU8u6`6b6cS9]7P7QQ9a7XQ9c7[Q9n7sQ:O8]U:`8w8y8zQ:l9^Q:m9bQ:o9eQ:t9oQ;P:PS;X:b:dQ;`:nQ;c:wQ;o;ZQ;s;dQ<O;tQ<T<PQ=f=aQ=q=jR=r=k%^aOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&b&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+O+j,[,`,e-U-^-r-{.X.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o2y3R4}5b5t5v5w6Z6p8O8Y8g8s:^;V;m;zS#tx!g!r=`$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xR=f=w%^bOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&b&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+O+j,[,`,e-U-^-r-{.X.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o2y3R4}5b5t5v5w6Z6p8O8Y8g8s:^;V;m;zQ%]j!d%hw!f!o%k%l%m&x'W'X'Y']'k*]+V+W,u-X-Y-a-c/k0`2T2[2c2g4U6_6c8v8z:a;YS%nx!gQ+S%iQ+|&VW1U+},O,P,QU5f1V1W1XS7s4|5QS8]5g5hW9o7t7z8P8QQ:P8^W:w9s9t9v9wS;d:x:yS;t;e;fQ<P;u!r=a$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xQ=j=vR=k=w%QeOPXYrstu!X!^!l#Q#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&e&g&h&j&n&v'T'h'z(Q([(m(q(u)t*v+O+j,[,`,e-U-^-r-{.X.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o2y3R4}5b5t5v5w6Z6p8O8Y8g8s:^;V;m;zY#`WZ#U#X'x!U%y|}#e#g#j%[%w(R(Y(Z(_+h+i+k,^,r-v-y-}.O.Q1r2q2r6P6jQ,Z&b!p=b$Y$k)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xR=e&zS'O!c%xR2R,{%SdOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+j,[,`,e-U-^-r-{.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o3R4}5b5t5v5w6Z8O8Y8g8s:^;V;m;z!r)V$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xQ,Y&bQ0W+OQ2u.XQ6o2yR9S6p!n$Sc#W%b'w'}(i(p)P)Q)R)S)X)]+a-k-p-u-z.a.g/O0Q2^2n3Q3c4_4f6Y6h6s8q:[;T;k;x<R<Y!T<g)U)g,v.m1y1|3V3_3`3a3b3f3l6S6t6y6z7r8m9T9X9Y:r;R=l!j$Uc#W%b'w'}(i(p)R)S)X)]+a-k-p-u-z.a.g/O0Q2^2n3Q3c4_4f6Y6h6s8q:[;T;k;x<R<Y!P<i)U)g,v.m1y1|3V3a3b3f3l6S6t6y6z7r8m9T9X9Y:r;R=l!f$Yc#W%b'w'}(i(p)X)]+a-k-p-u-z.a.g/O0Q2^2n3Q3c4_4f6Y6h6s8q:[;T;k;x<R<YQ3p/Wz=x)U)g,v.m1y1|3V3f3l6S6t6y6z7r8m9T9X9Y:r;R=lQ=}>PR>O>Q'QkOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xS$lh$mR3i.s'XgOPWXYZhrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k$m%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.s.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xT$hf$nQ$ffS)`$i)dR)l$nT$gf$nT)b$i)d'XhOPWXYZhrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$Y$_$c$k$m%^%d%q&^&a&b&e&g&h&j&n&v&z'T'h'x'z(Q([(m(q(u)i)t*v+O+j,[,`,e,q,t-U-^-r-{.X.e.l.s.t/}0S0a1Q1b1c1d1f1j1m1o2O2`2o2y3R3h4z4}5b5t5v5w6Q6Z6p8O8Y8g8s9k:Y:^;V;m;z<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=xT$lh$mQ$ohR)k$m%^jOPWXYZrstu!X!^!l#Q#U#X#b#l#r#v#y#|#}$O$P$Q$R$S$T$U$V$W$_$c%^%d%q&^&a&b&e&g&h&j&n&v'T'h'x'z(Q([(m(q(u)t*v+O+j,[,`,e-U-^-r-{.X.e.l/}0S0a1Q1b1c1d1f1j1m1o2`2o2y3R4}5b5t5v5w6Z6p8O8Y8g8s:^;V;m;z!s=v$Y$k&z)i,q,t.t2O3h4z6Q9k:Y<W<Z<[<]<`<a<b<c<d<e<f<g<h<i<j<k<l<p<y<z<{<}=U=V=[=]=x#alOPXZr!X!^!l#Q#b#l#y$k%^&^&a&b&e&g&h&j&n&v'T(u)i+O+j,[,`,e-U.X.t/}1Q1b1c1d1f1j1m1o2y3h4}5b5t5v5w6p8O8Y8gv${i#u%U%V%Z)y){*T*i*j.b/a0P3p4Y9[=u=}>O!z(l#s$a$b$v$y)p)|*Z*}+Q+o+r.W/b/d0t0w1P2x3z4S4a4c5a6m7T7^8V9P9{:g:};^<s<u<w=O=Q=S=W=Y=^>R>SQ*s%XQ/P)ug3e<n<o<t<v<x=P=R=T=X=Z=_v$wi#u%U%V%Z)y){*T*i*j.b/a0P3p4Y9[=u=}>OQ*V$xS*`$z*cQ*t%YQ/o*a!z=h#s$a$b$v$y)p)|*Z*}+Q+o+r.W/b/d0t0w1P2x3z4S4a4c5a6m7T7^8V9P9{:g:};^<s<u<w=O=Q=S=W=Y=^>R>Sf=i<n<o<t<v<x=P=R=T=X=Z=_Q=m=yQ=n=zQ=o={R=p=|v${i#u%U%V%Z)y){*T*i*j.b/a0P3p4Y9[=u=}>O!z(l#s$a$b$v$y)p)|*Z*}+Q+o+r.W/b/d0t0w1P2x3z4S4a4c5a6m7T7^8V9P9{:g:};^<s<u<w=O=Q=S=W=Y=^>R>Sg3e<n<o<t<v<x=P=R=T=X=Z=_lnOXr!X#b%^&e&g&h&j,`,e1j1mQ*Y$yQ,n&qQ,o&sR3y/b$Y$|i#s#u$a$b$v$y%U%V%Z)p)y){)|*T*Z*i*j*}+Q+o+r.W.b/a/b/d0P0t0w1P2x3p3z4S4Y4a4c5a6m7T7^8V9P9[9{:g:};^<n<o<s<t<u<v<w<x=O=P=Q=R=S=T=W=X=Y=Z=^=_=u=}>O>R>SQ+q&PQ0v+sQ4v0uR7o4wT*b$z*cS*b$z*cT5T0}5US/m*_4}T4W/u8OQ+R%hQ/n*`Q0]+SQ1T+|Q5e1UQ8[5fQ9n7sQ:O8]Q:t9oQ;P:PQ;c:wQ;s;dQ<O;tR<T<Pn)y$t(n*u/`/w/x3O3w4^6}7`:k=g=s=t!W=O(j)Z*P*X._.{/W/e0U0s0u2}3x3|4u4w6q6r7U7Y7b7d9`9d;_>P>Q]=P3d6x9U:i:j;|p){$t(n*u/U/`/w/x3O3w4^6}7`:k=g=s=t!Y=Q(j)Z*P*X._.{/W/e0U0s0u2{2}3x3|4u4w6q6r7U7Y7b7d9`9d;_>P>Q_=R3d6x9U9V:i:j;|pmOXr!T!X#b%^&[&e&g&h&j,`,e1j1mQ&X!SR,[&bpmOXr!T!X#b%^&[&e&g&h&j,`,e1j1mR&X!SQ+u&QR0r+nqmOXr!T!X#b%^&[&e&g&h&j,`,e1j1mQ1O+zS5`1R1SU8U5^5_5cS9z8W8XS:{9y9|Q;g:|R;v;hQ&`!TR,U&[R5l1[S%pz%uR0h+_Q&e!UR,`&fR,f&kT1k,e1mR,j&lQ,i&lR1t,jQ'o!yR-l'oQrOQ#bXT%ar#bQ!|TR'q!|Q#PUR's#PQ)r$sR.|)rQ#SVR'u#SQ#VWU'{#V'|-sQ'|#WR-s'}Q,y&{R2Q,yQ.c(nR3P.cQ.f(pS3S.f3TR3T.gQ-Q'RR2U-Qr_OXr!T!X#b%^&[&^&e&g&h&j,`,e1j1mU!mQ'R-QS#eZ%[Y#o_!m#e-}5OQ-}(_T5O0}5US#]W%wU(S#](T-tQ(T#^R-t(OQ,|'OR2S,|Q(`#hQ-w(XW.R(`-w2l6gQ2l-xR6g2mQ)d$iR.u)dQ$mhR)j$mQ$`cU)Y$`-o<mQ-o<YR<m)gQ/Z*QW3s/Z3t7R9_U3t/[/]/^S7R3u3vR9_7S#m)w$t(j(n)Z*P*X*p*q*u.].^._.{/U/V/W/`/e/w/x0U0s0u2{2|2}3O3d3w3x3|4^4u4w6q6r6v6w6x6}7U7Y7`7b7d9U9V9W9`9d:i:j:k;_;|=g=s=t>P>QQ/c*XU3{/c3}7VQ3}/eR7V3|Q*c$zR/q*cQ*l%OR/z*lQ4b0UR7c4bQ+l%zR0q+lQ4y0xS7q4y9lR9l7rQ+w&RR0{+wQ5U0}R7|5UQ1Z,RS5j1Z8`R8`5lQ0c+ZW4k0c4m7i9hQ4m0fQ7i4lR9h7jQ+`%pR0i+`Q1m,eR5z1mWqOXr#bQ&i!XQ*x%^Q,_&eQ,a&gQ,b&hQ,d&jQ1h,`S1k,e1mR5y1jQ%`oQ&m!]Q&p!_Q&r!`Q&t!aU'g!o5P5QQ+T%jQ+g%vQ+m%{Q,T&`Q,l&oY-]']'i'j'm8QQ-j'eQ/p*bQ0^+US1^,U,XQ1u,kQ1v,nQ1w,oQ2]-[[2_-_-`-c-i-k9wQ4d0_Q4p0lQ4t0sQ5d1TQ5n1`Q5x1iY6X2^2a2d2f2gQ6[2bQ7e4eQ7m4rQ7n4uQ7{5TQ8Z5eQ8a5mY8p6Y6^6`6b6cQ8r6]Q9i7kQ9m7sQ9}8[Q:S8bY:Z8q8u8w8y8zQ:]8tQ:q9jS:s9n9oQ;O:OW;S:[:`:b:dQ;U:_S;a:t:wQ;i;PU;j;T;X;ZQ;l;WS;r;c;dS;w;k;oQ;y;nS;};s;tQ<Q;xS<S<O<PQ<U<RR<V<TQ%jwQ'V!fQ'e!oU+U%k%l%mQ,s&xU-W'W'X'YS-[']'kQ/g*]S0_+V+WQ1},uS2Z-X-YS2b-a-cQ4Q/kQ4e0`Q6T2TQ6W2[S6]2c2gQ7Z4US8t6_6cS:_8v8zQ;W:aR;n;YS$ui=uR*m%PU%Oi%P=uR/y*kQ$tiS(j#s+QQ(n#uS)Z$a$bQ*P$vQ*X$yQ*p%UQ*q%VQ*u%ZQ.]<sQ.^<uQ._<wQ.{)pQ/U)yQ/V){Q/W)|Q/`*TQ/e*ZQ/w*iQ/x*jh0U*}.W1P2x5a6m8V9P9{:g:};^Q0s+oQ0u+rQ2{=OQ2|=QQ2}=SQ3O.bS3d<n<oQ3w/aQ3x/bQ3|/dQ4^0PQ4u0tQ4w0wQ6q=WQ6r=YQ6v<tQ6w<vQ6x<xQ6}3pQ7U3zQ7Y4SQ7`4YQ7b4aQ7d4cQ9U=TQ9V=PQ9W=RQ9`7TQ9d7^Q:i=XQ:j=ZQ:k9[Q;_=^Q;|=_Q=g=uQ=s=}Q=t>OQ>P>RR>Q>SloOXr!X#b%^&e&g&h&j,`,e1j1mQ!dPS#dZ#lQ&o!^U'Z!l4}8OQ't#QQ(w#yQ)h$kS,X&^&aQ,]&bQ,k&nQ,p&vQ-S'TQ.i(uQ.y)iQ0X+OQ0o+jQ1e,[Q2X-UQ2v.XQ3k.tQ4[/}Q5_1QQ5p1bQ5q1cQ5s1dQ5u1fQ5|1oQ6l2yQ6{3hQ8X5bQ8f5tQ8h5vQ8i5wQ9R6pQ9|8YR:U8g#UcOPXZr!X!^!l#b#l#y%^&^&a&b&e&g&h&j&n&v'T(u+O+j,[,`,e-U.X/}1Q1b1c1d1f1j1m1o2y4}5b5t5v5w6p8O8Y8gQ#WWQ#cYQ%bsQ%ctQ%euS'w#U'zQ'}#XQ(i#rQ(p#vQ(x#|Q(y#}Q(z$OQ({$PQ(|$QQ(}$RQ)O$SQ)P$TQ)Q$UQ)R$VQ)S$WQ)U$YQ)X$_Q)]$cW)g$k)i.t3hQ*{%dQ+a%qS,v&z2OQ-k'hS-p'x-rQ-u(QQ-z([Q.a(mQ.g(qQ.k<WQ.m<ZQ.n<[Q.o<]Q/O)tQ0Q*vQ1y,qQ1|,tQ2^-^Q2n-{Q3Q.eQ3V<`Q3W<aQ3X<bQ3Y<cQ3Z<dQ3[<eQ3]<fQ3^<gQ3_<hQ3`<iQ3a<jQ3b<kQ3c.lQ3f<pQ3g<yQ3l<lQ4_0SQ4f0aQ6S<zQ6Y2`Q6h2oQ6s3RQ6t<{Q6y<}Q6z=UQ7r4zQ8m6QQ8q6ZQ9T=VQ9X=[Q9Y=]Q:[8sQ:r9kQ;R:YQ;T:^Q;k;VQ;x;mQ<R;zQ<Y#QR=l=xR#YWR&|!cU!oQ'R-QS&x!c,x[']!m!s!t!u!v!wS'k!p!r^'m!x5O5W5X5Y5Z5[S,u&y'QS-a'^'_W-c'`'a'b'c[-i'd7v7w7x7y8TQ2T-OS2c-b-dW2f-e9p9q9rU2g-f-g-hS5P0}5US6_2e2hU6b2i:u:vS6c2j2kS8v6a6dS8y6e;bQ8z6fS:a8x8{Q:d8|R;Y:cR(o#uR(r#vQ!dQT-P'R-QQ#m]R'[<XT#iZ%[S#hZ%[U%z|},^U(X#e#g#jS-x(Y(ZQ.P(_Q0p+kQ2m-yU2p-}.O.QS6i2q2rR8}6j`#[W#U#X%w'x(R+h-vt#fZ|}#e#g#j%[(Y(Z(_+k-y-}.O.Q2q2r6jQ1g,^Q1z,rQ6O1rQ8l6PT=d&z+iT#_W%wS#^W%wS'y#U(RS(O#X+hS,w&z+iT-q'x-vT'P!c%xQ$ifR)n$nT)c$i)dR3j.sT*S$v*UR*[$yQ0V*}Q2t.WQ5^1PQ6n2xQ8W5aQ9Q6mQ9y8VQ:e9PQ:|9{Q;]:gQ;h:}R;q;^lpOXr!X#b%^&e&g&h&j,`,e1j1mQ&_!TR,T&[V%{|},^R0y+tR,S&YQ%tzR+f%uR+[%oT&c!U&fT&d!U&fT1l,e1m",nodeNames:"\u26a0 ArithOp ArithOp LineComment BlockComment Script 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 TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration 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:363,context:s,nodeProps:[["group",-26,6,14,16,62,199,203,206,207,209,212,215,226,228,234,236,238,240,243,249,255,257,259,261,263,265,266,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[h],skippedNodes:[0,3,4,269],repeatNodeCount:32,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$<s$I}$JO$<s$JO$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'wp'z!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$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$d&j'wpOY(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'wpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'wp'z!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$d&j'wp'z!b'm(;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'x#S$d&j'n(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$d&j'wp'z!b'n(;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`$d&j!l$Ip'wp'z!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`#q$Id$d&j'wp'z!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_#q$Id$d&j'wp'z!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_'v$(n$d&j'z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$d&j'z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$d&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$_#t$d&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$d&j'z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$_#t'z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|<[i$d&j(`!L^'wp'z!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!Q%Z!Q![<P![!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|=|P;=`<%l<P(CS>`k$d&j'wp'z!b(U!LY't&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$d&j'wp'z!b$W#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$d&j'wp'z!b#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$d&j#{$Id'wp'z!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%DfETa(i%<v$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sv%ZvwFYwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SFe`$d&j#u$Id'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2bGp_'y$)`$d&j'wpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo*QHv_$d&j'wpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo)`IzX$d&jOwIuwx6cx!^Iu!^!_Jg!_#oIu#o#pJg#p;'SIu;'S;=`KP<%lOIu#tJjTOwJgwx7]x;'SJg;'S;=`Jy<%lOJg#tJ|P;=`<%lJg)`KSP;=`<%lIu*QK`]$_#t$d&j'wpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r$fL^Z'wpOYLXYZJgZrLXrsJgswLXwxMPx#OLX#O#PJg#P;'SLX;'S;=`Mj<%lOLX$fMWU$_#t'wpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r$fMmP;=`<%lLX*QMsP;=`<%lHo(*QNR_!h(!b$d&j'wp'z!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! ]_!gM|$d&j'wp'z!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!!ib$d&j'wp'z!b'u#)d#j$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!#q{!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S!#|`$d&j'wp'z!b#g$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&-O!%Z`$d&j'wp'z!bk&%`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&C[!&h_!V&;l$d&j'wp'z!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!'rc$d&j'wp'z!by'<nOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!(}!P!Q%Z!Q![!+g![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!)Wa$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!*]!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!*h_!UMt$d&j'wp'z!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!+rg$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!+g![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S!+g#S#X%Z#X#Y!-Z#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!-dg$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!.{|}%Z}!O!.{!O!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!/Uc$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!0lc$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!2Sf$d&j'wp'z!b#h$IdOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}xz!3hz{#$s{!P!3h!P!Q#&Y!Q!^!3h!^!_!Mh!_!`#-x!`!a#/_!a!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(r!3sb$d&j'wp'z!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(Q!5U`$d&j'z!b!RSOY!4{YZ&cZw!4{wx!6Wx!P!4{!P!Q!=o!Q!^!4{!^!_!?g!_!}!4{!}#O!Bn#O#P!<w#P#o!4{#o#p!?g#p;'S!4{;'S;=`!Cw<%lO!4{&n!6_^$d&j!RSOY!6WYZ&cZ!P!6W!P!Q!7Z!Q!^!6W!^!_!8g!_!}!6W!}#O!;U#O#P!<w#P#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!7ba$d&j!RSO!^&c!_#Z&c#Z#[!7Z#[#]&c#]#^!7Z#^#a&c#a#b!7Z#b#g&c#g#h!7Z#h#i&c#i#j!7Z#j#m&c#m#n!7Z#n#o&c#p;'S&c;'S;=`&w<%lO&cS!8lX!RSOY!8gZ!P!8g!P!Q!9X!Q!}!8g!}#O!9p#O#P!:o#P;'S!8g;'S;=`!;O<%lO!8gS!9^U!RS#Z#[!9X#]#^!9X#a#b!9X#g#h!9X#i#j!9X#m#n!9XS!9sVOY!9pZ#O!9p#O#P!:Y#P#Q!8g#Q;'S!9p;'S;=`!:i<%lO!9pS!:]SOY!9pZ;'S!9p;'S;=`!:i<%lO!9pS!:lP;=`<%l!9pS!:rSOY!8gZ;'S!8g;'S;=`!;O<%lO!8gS!;RP;=`<%l!8g&n!;Z[$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#O!;U#O#P!<P#P#Q!6W#Q#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<UX$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<tP;=`<%l!;U&n!<|X$d&jOY!6WYZ&cZ!^!6W!^!_!8g!_#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!=lP;=`<%l!6W(Q!=xi$d&j'z!b!RSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!=o#[#]&}#]#^!=o#^#a&}#a#b!=o#b#g&}#g#h!=o#h#i&}#i#j!=o#j#m&}#m#n!=o#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!?nZ'z!b!RSOY!?gZw!?gwx!8gx!P!?g!P!Q!@a!Q!}!?g!}#O!Ap#O#P!:o#P;'S!?g;'S;=`!Bh<%lO!?g!f!@hb'z!b!RSOY'}Zw'}x#O'}#P#Z'}#Z#[!@a#[#]'}#]#^!@a#^#a'}#a#b!@a#b#g'}#g#h!@a#h#i'}#i#j!@a#j#m'}#m#n!@a#n;'S'};'S;=`(f<%lO'}!f!AuX'z!bOY!ApZw!Apwx!9px#O!Ap#O#P!:Y#P#Q!?g#Q;'S!Ap;'S;=`!Bb<%lO!Ap!f!BeP;=`<%l!Ap!f!BkP;=`<%l!?g(Q!Bu^$d&j'z!bOY!BnYZ&cZw!Bnwx!;Ux!^!Bn!^!_!Ap!_#O!Bn#O#P!<P#P#Q!4{#Q#o!Bn#o#p!Ap#p;'S!Bn;'S;=`!Cq<%lO!Bn(Q!CtP;=`<%l!Bn(Q!CzP;=`<%l!4{'`!DW`$d&j'wp!RSOY!C}YZ&cZr!C}rs!6Ws!P!C}!P!Q!EY!Q!^!C}!^!_!GQ!_!}!C}!}#O!JX#O#P!<w#P#o!C}#o#p!GQ#p;'S!C};'S;=`!Kb<%lO!C}'`!Eci$d&j'wp!RSOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#Z(r#Z#[!EY#[#](r#]#^!EY#^#a(r#a#b!EY#b#g(r#g#h!EY#h#i(r#i#j!EY#j#m(r#m#n!EY#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rt!GXZ'wp!RSOY!GQZr!GQrs!8gs!P!GQ!P!Q!Gz!Q!}!GQ!}#O!IZ#O#P!:o#P;'S!GQ;'S;=`!JR<%lO!GQt!HRb'wp!RSOY)rZr)rs#O)r#P#Z)r#Z#[!Gz#[#])r#]#^!Gz#^#a)r#a#b!Gz#b#g)r#g#h!Gz#h#i)r#i#j!Gz#j#m)r#m#n!Gz#n;'S)r;'S;=`*Z<%lO)rt!I`X'wpOY!IZZr!IZrs!9ps#O!IZ#O#P!:Y#P#Q!GQ#Q;'S!IZ;'S;=`!I{<%lO!IZt!JOP;=`<%l!IZt!JUP;=`<%l!GQ'`!J`^$d&j'wpOY!JXYZ&cZr!JXrs!;Us!^!JX!^!_!IZ!_#O!JX#O#P!<P#P#Q!C}#Q#o!JX#o#p!IZ#p;'S!JX;'S;=`!K[<%lO!JX'`!K_P;=`<%l!JX'`!KeP;=`<%l!C}(r!Ksk$d&j'wp'z!b!RSOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#Z%Z#Z#[!Kh#[#]%Z#]#^!Kh#^#a%Z#a#b!Kh#b#g%Z#g#h!Kh#h#i%Z#i#j!Kh#j#m%Z#m#n!Kh#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#W!Mq]'wp'z!b!RSOY!MhZr!Mhrs!?gsw!Mhwx!GQx!P!Mh!P!Q!Nj!Q!}!Mh!}#O#!U#O#P!:o#P;'S!Mh;'S;=`##U<%lO!Mh#W!Nse'wp'z!b!RSOY*gZr*grs'}sw*gwx)rx#O*g#P#Z*g#Z#[!Nj#[#]*g#]#^!Nj#^#a*g#a#b!Nj#b#g*g#g#h!Nj#h#i*g#i#j!Nj#j#m*g#m#n!Nj#n;'S*g;'S;=`+Z<%lO*g#W#!]Z'wp'z!bOY#!UZr#!Urs!Apsw#!Uwx!IZx#O#!U#O#P!:Y#P#Q!Mh#Q;'S#!U;'S;=`##O<%lO#!U#W##RP;=`<%l#!U#W##XP;=`<%l!Mh(r##e`$d&j'wp'z!bOY##[YZ&cZr##[rs!Bnsw##[wx!JXx!^##[!^!_#!U!_#O##[#O#P!<P#P#Q!3h#Q#o##[#o#p#!U#p;'S##[;'S;=`#$g<%lO##[(r#$jP;=`<%l##[(r#$pP;=`<%l!3h(CS#%Qb$d&j'wp'z!b'o(;d!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(CS#&e_$d&j'wp'z!bR(;dOY#&YYZ&cZr#&Yrs#'dsw#&Ywx#*tx!^#&Y!^!_#,s!_#O#&Y#O#P#(f#P#o#&Y#o#p#,s#p;'S#&Y;'S;=`#-r<%lO#&Y(Bb#'m]$d&j'z!bR(;dOY#'dYZ&cZw#'dwx#(fx!^#'d!^!_#)w!_#O#'d#O#P#(f#P#o#'d#o#p#)w#p;'S#'d;'S;=`#*n<%lO#'d(AO#(mX$d&jR(;dOY#(fYZ&cZ!^#(f!^!_#)Y!_#o#(f#o#p#)Y#p;'S#(f;'S;=`#)q<%lO#(f(;d#)_SR(;dOY#)YZ;'S#)Y;'S;=`#)k<%lO#)Y(;d#)nP;=`<%l#)Y(AO#)tP;=`<%l#(f(<v#*OW'z!bR(;dOY#)wZw#)wwx#)Yx#O#)w#O#P#)Y#P;'S#)w;'S;=`#*h<%lO#)w(<v#*kP;=`<%l#)w(Bb#*qP;=`<%l#'d(Ap#*}]$d&j'wpR(;dOY#*tYZ&cZr#*trs#(fs!^#*t!^!_#+v!_#O#*t#O#P#(f#P#o#*t#o#p#+v#p;'S#*t;'S;=`#,m<%lO#*t(<U#+}W'wpR(;dOY#+vZr#+vrs#)Ys#O#+v#O#P#)Y#P;'S#+v;'S;=`#,g<%lO#+v(<U#,jP;=`<%l#+v(Ap#,pP;=`<%l#*t(=h#,|Y'wp'z!bR(;dOY#,sZr#,srs#)wsw#,swx#+vx#O#,s#O#P#)Y#P;'S#,s;'S;=`#-l<%lO#,s(=h#-oP;=`<%l#,s(CS#-uP;=`<%l#&Y%#W#.Vb$d&j#{$Id'wp'z!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h+h#/lb$T#t$d&j'wp'z!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h$/l#1Pp$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#U%Z#U#V#6_#V#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#d#9g#d#l%Z#l#m#<i#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#3`k$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#5`_$d&j'wp'z!bl$'|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#6hd$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#8Rf$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#9pc$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#;We$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#<rg$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$d&j'wp'z!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$d&j#y%<f'wp'z!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)[#Al_^l$d&j'wp'z!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#Bz^'}!*v!e'.r'wp'z!b$U)d(mSOY*gZr*grs'}sw*gwx)rx!P*g!P!Q#Cv!Q!^*g!^!_#Dl!_!`#F^!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#DPX$f&j'wp'z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#DuZ#k$Id'wp'z!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Eh!`#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#EqX#{$Id'wp'z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#FgX#l$Id'wp'z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Gh#G_a#X%?x$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a#Hd!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#W#Ho_#d$Ih$d&j'wp'z!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#I}adBf#l$Id$a#|$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`#KS!`!a#L^!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#K__#l$Id$d&j'wp'z!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#Lia#k$Id$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`!a#Mn!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#My`#k$Id$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h$ Wc(a$Ip$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P$!c!P!^%Z!^!_*g!_!a%Z!a!b$#m!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+`$!n_z'#p$d&j'wp'z!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$#x`$d&j#v$Id'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&^$%V_!x!Ln$d&j'wp'z!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(@^$&a_|(8n$d&j'wp'z!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$'eZ$d&jO!^$(W!^!_$(n!_#i$(W#i#j$(s#j#l$(W#l#m$*f#m#o$(W#o#p$(n#p;'S$(W;'S;=`$,q<%lO$(W(n$(_T[#S$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$(sO[#S(n$(x[$d&jO!Q&c!Q![$)n![!^&c!_!c&c!c!i$)n!i#T&c#T#Z$)n#Z#o&c#o#p$,U#p;'S&c;'S;=`&w<%lO&c(n$)sZ$d&jO!Q&c!Q![$*f![!^&c!_!c&c!c!i$*f!i#T&c#T#Z$*f#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$*kZ$d&jO!Q&c!Q![$+^![!^&c!_!c&c!c!i$+^!i#T&c#T#Z$+^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$+cZ$d&jO!Q&c!Q![$(W![!^&c!_!c&c!c!i$(W!i#T&c#T#Z$(W#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$,XR!Q![$,b!c!i$,b#T#Z$,b#S$,eS!Q![$,b!c!i$,b#T#Z$,b#q#r$(n(n$,tP;=`<%l$(W!'l$-S_!SM|$d&j'wp'z!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$.^`#s$Id$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&,v$/k_$d&j'wp'z!b(R&%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$0yk$d&j'wp'z!b(U!LY't&;d$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$0juw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$0j![!^%Z!^!_*g!_!c%Z!c!}$0j!}#O%Z#O#P&c#P#R%Z#R#S$0j#S#T%Z#T#o$0j#o#p*g#p$g%Z$g;'S$0j;'S;=`$4t<%lO$0j+d$2yk$d&j'wp'z!b$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$2nuw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$2n![!^%Z!^!_*g!_!c%Z!c!}$2n!}#O%Z#O#P&c#P#R%Z#R#S$2n#S#T%Z#T#o$2n#o#p*g#p$g%Z$g;'S$2n;'S;=`$4n<%lO$2n+d$4qP;=`<%l$2n(CS$4wP;=`<%l$0j!5p$5TX!X!3l'wp'z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Df$5{a(h%<v$d&j'wp'z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$#m#q;'S%Z;'S;=`+a<%lO%Z%#`$7__!W$I`o`$d&j'wp'z!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$8i_!mS$d&j'wp'z!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$9y|$d&j'wp'z!b'm(;d(U!LY't&;d$W#tOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'wp'z!b'n(;d(U!LY't&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",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~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!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(T~~",141,326),new i.RA("j~RQYZXz{^~^O'q~~aP!P!Qd~iO'r~~",25,308)],topRules:{Script:[0,5],SingleExpression:[1,267],SingleClassItem:[2,268]},dialects:{jsx:13525,ts:13527},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:312,get:function(e){return f[e]||-1}},{term:328,get:function(e){return d[e]||-1}},{term:67,get:function(e){return p[e]||-1}}],tokenPrec:13551}),g=n(9973),v=n(7989),O=n(1701),y=n(2027),k=n(1514),b=[(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 k.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(k.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 Q(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 _(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 D(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?_(t,n.parent,t(n)):P.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&A.test(t(n))?{path:[],name:t(n)}:"."!=n.name&&"?."!=n.name||"MemberExpression"!=n.parent.name?"MemberExpression"==n.name?_(t,n,""):e.explicit?{path:[],name:""}:null:_(t,n.parent,"")}function N(e){var t=new Map;return function(n){var i=D(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(!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 R=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":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:"$"}}),Z={test:function(e){return/^JSX/.test(e.name)},facet:(0,g.kU)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},M=R.configure({dialect:"ts"},"typescript"),I=R.configure({dialect:"jsx",props:[g.KC.add((function(e){return e.isTop?[Z]:void 0}))]}),$=R.configure({dialect:"jsx ts",props:[g.KC.add((function(e){return e.isTop?[Z]: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:R;return new g.ri(t,[R.data.of({autocomplete:(0,y.eC)(P,(0,y.Mb)(b.concat(L)))}),R.data.of({autocomplete:Q}),e.jsx?U:[]])}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),U=O.tk.inputHandler.of((function(e,t,n,r){if((j?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!R.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),">"==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)&&(o=B(i.doc,null===u||void 0===u?void 0:u.firstChild,a))){var c="/".concat(o,">");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(!e.parent)return null;e=e.parent}}(s);if(h&&"JSXEndTag"!=(null===(n=h.lastChild)||void 0===n?void 0:n.name)&&"</"!=i.sliceDoc(a,a+2)&&(o=B(i.doc,h,a)))return{range:v.jT.cursor(a+1),changes:{from:a,insert:"></".concat(o,">")}}}return{range:e}}));return!o.changes.empty&&(e.dispatch(o,{userEvent:"input.type",scrollIntoView:!0}),!0)}));function z(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)(R.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(H(m,o.doc,d))}}catch(g){p.e(g)}finally{p.f()}}}catch(g){s.e(g)}finally{s.f()}return a}}function X(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}function H(e,t,n){var r=X(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?X(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}},5506:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return We},deleteMarkupBackward:function(){return tt},insertNewlineContinueMarkup:function(){return Ke},markdown:function(){return it},markdownKeymap:function(){return nt},markdownLanguage:function(){return Ye}});var r,i,o=n(2951),a=n(1976),s=n(7989),l=n(1701),u=n(9973),c=n(7591),h=n(9616),f=n(649),d=n(726),p=n(4649),m=n(1514),g=n(2029),v=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=[[m.md.contextHash,i]]}return(0,a.Z)(e,[{key:"addChild",value:function(e,t){e.prop(m.md.contextHash)!=this.hash&&(e=new m.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 m.mp(e.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:function(e,n,r){return new m.mp(m.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 O=(0,a.Z)((function e(t,n){(0,o.Z)(this,e),this.start=t,this.content=n,this.marks=[],this.parsers=[]})),y=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 x(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?Q:P)(n,t,!1);return r>0&&(e.type!=i.BulletList||E(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var b=(r={},(0,p.Z)(r,i.Blockquote,(function(e,t,n){return 62==n.next&&(n.markers.push(ae(i.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(S(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)})),(0,p.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,p.Z)(r,i.OrderedList,k),(0,p.Z)(r,i.BulletList,k),(0,p.Z)(r,i.Document,(function(){return!0})),r);function S(e){return 32==e||9==e||10==e||13==e}function x(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t<e.length&&S(e.charCodeAt(t));)t++;return t}function w(e,t,n){for(;t>n&&S(e.charCodeAt(t-1));)t--;return t}function T(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 C(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function E(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(!S(o))return-1}return n&&45==e.next&&D(e)>-1&&e.depth==t.stack.length||r<3?-1:1}function A(e,t){for(var n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function P(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!S(e.text.charCodeAt(e.pos+1))||!(!n||A(t,i.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function Q(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&&!S(e.text.charCodeAt(r+1))||n&&!A(t,i.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function _(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 D(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&&S(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var N=/^[ \t]*$/,R=/-->/,Z=/\?>/,M=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,R],[/^\s*<\?/,Z],[/^\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,N],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,N]];function I(e,t,n){if(60!=e.next)return-1;for(var r=e.text.slice(e.pos),i=0,o=M.length-(n?1:0);i<o;i++)if(M[i][0].test(r))return i;return-1}function $(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 L(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(ae(i.CodeText,t,n))}var F={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(L(s,o,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){L(l,e.lineStart-1,e.lineStart);var u,c=(0,d.Z)(t.markers);try{for(c.s();!(u=c.n()).done;){var h=u.value;l.push(h)}}catch(k){c.e(k)}finally{c.f()}}else{if(t.indent<n)break;if(l.length){var f,p=(0,d.Z)(l);try{for(p.s();!(f=p.n()).done;){var m=f.value;m.type==i.CodeText?L(s,m.from,m.to):s.push(m)}}catch(k){p.e(k)}finally{p.f()}l=[]}L(s,e.lineStart-1,e.lineStart);var g,v=(0,d.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;s.push(O)}}catch(k){v.e(k)}finally{v.f()}a=e.lineStart+t.text.length;var y=e.lineStart+t.findColumn(t.baseIndent+4);y<a&&L(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=T(t);if(n<0)return!1;var r=e.lineStart+t.pos,o=t.next,a=n-t.pos,s=t.skipSpace(n),l=w(t.text,t.text.length,s),u=[ae(i.CodeMark,r,r+a)];s<l&&u.push(ae(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,p=(0,d.Z)(t.markers);try{for(p.s();!(f=p.n()).done;){var m=f.value;u.push(m)}}catch(b){p.e(b)}finally{p.f()}u.push(ae(i.CodeMark,e.lineStart+t.pos,e.lineStart+h)),e.nextLine();break}c||L(u,e.lineStart-1,e.lineStart);var g,v=(0,d.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;u.push(O)}}catch(b){v.e(b)}finally{v.f()}var y=e.lineStart+t.basePos,k=e.lineStart+t.text.length;y<k&&L(u,y,k)}return e.addNode(e.buffer.writeElements(u,-r).finish(i.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote:function(e,t){var n=C(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(E(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=P(t,e,!1);if(n<0)return!1;e.block.type!=i.BulletList&&e.startContext(i.BulletList,t.basePos,t.next);var r=$(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=Q(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=$(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=_(t);if(n<0)return!1;for(var r=t.pos,o=e.lineStart+r,a=w(t.text,t.text.length,r),s=a;s>r&&t.text.charCodeAt(s-1)==t.next;)s--;s!=a&&s!=r&&S(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=M[n][1],a=[],s=o!=N;!o.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}var l,u=(0,d.Z)(t.markers);try{for(u.s();!(l=u.n()).done;){var c=l.value;a.push(c)}}catch(p){u.e(p)}finally{u.f()}}s&&e.nextLine();var h=o==R?i.CommentBlock:o==Z?i.ProcessingInstructionBlock:i.HTMLBlock,f=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(h,f-r),r),!0},SetextHeading:void 0},B=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)&&x(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,ae(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(Oe(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(ae(i.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){var t=x(e,this.pos),n=0;if(t>this.pos){var r=ve(e,t,this.start);if(r){var o=j(e,r.to-this.start);o>0&&(this.nextStage(r),n=o)}}return n||(n=j(e,this.pos)),n>0&&n<e.length?n:-1}return j(e,this.pos)}if(!this.nextStage(ge(e,x(e,this.pos),this.start)))return-1}}}}]),e}();function j(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(10==n)break;if(!S(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:D(t),o=t.next;if(r<0)return!1;var a=ae(i.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,ae(61==o?i.SetextHeading1:i.SetextHeading2,n.start,e.prevLineEnd(),[].concat((0,f.Z)(e.parser.parseInline(n.content,n.start)),[a]))),!0}},{key:"finish",value:function(){return!1}}]),e}(),z={LinkReference:function(e,t){return 91==t.content.charCodeAt(0)?new B(t):null},SetextHeading:function(){return new U}},X=[function(e,t){return _(t)>=0},function(e,t){return T(t)>=0},function(e,t){return C(t)>=0},function(e,t){return P(t,e,!0)>=0},function(e,t){return Q(t,e,!0)>=0},function(e,t){return E(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 y,this.atEnd=!1,this.dontInject=new Set,this.stoppedAt=null,this.rangeI=0,this.to=a[a.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=a[0].from,this.block=v.create(i.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=r.length?new Se(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,d.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,d.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 O(this.lineStart+e.pos,e.text.slice(e.pos)),c=(0,d.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 p,m=(0,d.Z)(this.parser.endLeafBlock);try{for(m.s();!(p=m.n()).done;){if((0,p.value)(this,e,u))break e}}catch(S){m.e(S)}finally{m.f()}}var g,v=(0,d.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 y,k=(0,d.Z)(e.markers);try{for(k.s();!(y=k.n()).done;){var b=y.value;u.marks.push(b)}}catch(S){k.e(S)}finally{k.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);if(!t)return!1;for(var n=t,r=this.absoluteLineStart+t,i=1;i<this.ranges.length;i++){var o=this.ranges[i-1].to,a=this.ranges[i].from;o>=this.lineStart&&a<r&&(n-=a-o)}return this.lineStart+=n,this.absoluteLineStart+=t,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=v.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 m.mp(this.parser.nodeSet.types[e],ne,ne,(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?Y(this.ranges,0,e.topNode,this.ranges[0].from,this.dontInject):e}},{key:"finishLeaf",value:function(e){var t,n=(0,d.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?ae(this.parser.getNodeType(e),t,n,r):new oe(e,t)}},{key:"buffer",get:function(){return new re(this.parser.nodeSet)}}]),e}();function Y(e,t,n,r,i){if(i.has(n.tree))return n.tree;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;c.to+r>o?(f=Y(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 m.mp(n.type,a,s,n.to+r-l,n.tree?n.tree.propValues:void 0)}var q=function(e){(0,c.Z)(n,e);var t=(0,h.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 p,m=(0,d.Z)(e.types);try{for(m.s();!(p=m.n()).done;){var g=p.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,d.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=G(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(),p=this.endLeafBlock.slice(),v=this.wrappers;if(V(r.defineNodes)){a=Object.assign({},a);var O,y,k=o.types.slice(),b=(0,d.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(k.some((function(e){return e.name==n})))return"continue";o&&(a[k.length]=function(e,t,n){return o(t,n,e.value)});var l=k.length,u=o?["Block","BlockContext"]:r?l>=i.ATXHeading1&&l<=i.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;k.push(m.Jq.define({id:l,name:n,props:u&&[[m.md.group,u]]})),s&&(O||(O={}),Array.isArray(s)||s instanceof g.Vp?O[n]=s:Object.assign(O,s))};for(b.s();!(y=b.n()).done;)S()}catch($){b.e($)}finally{b.f()}o=new m.Lj(k),O&&(o=o.extend((0,g.Gv)(O)))}if(V(r.props)&&(o=(t=o).extend.apply(t,(0,f.Z)(r.props))),V(r.remove)){var x,w=(0,d.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($){w.e($)}finally{w.f()}}if(V(r.parseBlock)){var A,P=(0,d.Z)(r.parseBlock);try{for(P.s();!(A=P.n()).done;){var Q=A.value,_=u.indexOf(Q.name);if(_>-1)s[_]=Q.parse,l[_]=Q.leaf;else{var D=Q.before?J(u,Q.before):Q.after?J(u,Q.after)+1:u.length-1;s.splice(D,0,Q.parse),l.splice(D,0,Q.leaf),u.splice(D,0,Q.name)}Q.endLeaf&&p.push(Q.endLeaf)}}catch($){P.e($)}finally{P.f()}}if(V(r.parseInline)){var N,R=(0,d.Z)(r.parseInline);try{for(R.s();!(N=R.n()).done;){var Z=N.value,M=h.indexOf(Z.name);if(M>-1)c[M]=Z.parse;else{var I=Z.before?J(h,Z.before):Z.after?J(h,Z.after)+1:h.length-1;c.splice(I,0,Z.parse),h.splice(I,0,Z.name)}}}catch($){R.e($)}finally{R.f()}}return r.wrap&&(v=v.concat(r.wrap)),new n(o,s,l,u,p,a,c,h,v)}},{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 ye(this,e,t);e:for(var r=t;r<n.end;){var i,o=n.char(r),a=(0,d.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}(m._b);function V(e){return null!=e&&e.length>0}function G(e){if(!Array.isArray(e))return e;if(0==e.length)return null;var t=G(e[0]);if(1==e.length)return t;var n=G(e.slice(1));if(!n||!t)return t||n;var r=function(e,t){return(e||ne).concat(t||ne)},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 J(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 K,ee=[m.Jq.none],te=1;K=i[te];te++)ee[te]=m.Jq.define({id:te,name:K,props:te>=i.Escape?[]:[[m.md.group,te in b?["Block","BlockContext"]:["Block","LeafBlock"]]]});var ne=[],re=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,d.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 m.mp.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}]),e}(),ie=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ne;(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 re(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}]),e}(),oe=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 ne}},{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 ae(e,t,n,r){return new ie(e,t,n,r)}var se={resolve:"Emphasis",mark:"EmphasisMark"},le={resolve:"Emphasis",mark:"EmphasisMark"},ue={},ce={},he=(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})),fe="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",de=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{de=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(ot){}var pe={Escape:function(e,t,n){if(92!=t||n==e.end-1)return-1;for(var r=e.char(n+1),o=0;o<fe.length;o++)if(fe.charCodeAt(o)==r)return e.append(ae(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(ae(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(ae(i.InlineCode,n,r+1,[ae(i.CodeMark,n,n+o),ae(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(ae(i.URL,n,n+1+o[0].length));var a=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(a)return e.append(ae(i.Comment,n,n+1+a[0].length));var s=/^\?[^]*?\?>/.exec(r);if(s)return e.append(ae(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(ae(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=de.test(i),s=de.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 he(95==t?se:le,n,r,(f?1:0)|(d?2:0)))},HardBreak:function(e,t,n){if(92==t&&10==e.char(n+1))return e.append(ae(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(ae(i.HardBreak,n,r+1))}return-1},Link:function(e,t,n){return 91==t?e.append(new he(ue,n,n+1,1)):-1},Image:function(e,t,n){return 33==t&&91==e.char(n+1)?e.append(new he(ce,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 he&&(o.type==ue||o.type==ce)){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]=me(e,a,o.type==ue?i.Link:i.Image,o.from,n+1);if(o.type==ue)for(var l=0;l<r;l++){var u=e.parts[l];u instanceof he&&u.type==ue&&(u.side=0)}return s.to}}return-1}};function me(e,t,n,r,o){var a=e.text,s=e.char(o),l=o;if(t.unshift(ae(i.LinkMark,r,r+(n==i.Image?2:1))),t.push(ae(i.LinkMark,o-1,o)),40==s){var u,c=e.skipSpace(o+1),h=ge(a,c-e.offset,e.offset);h&&(u=ve(a,(c=e.skipSpace(h.to))-e.offset,e.offset))&&(c=e.skipSpace(u.to)),41==e.char(c)&&(t.push(ae(i.LinkMark,o,o+1)),l=c+1,h&&t.push(h),u&&t.push(u),t.push(ae(i.LinkMark,c,l)))}else if(91==s){var f=Oe(a,o-e.offset,e.offset,!1);f&&(t.push(f),l=f.to)}return ae(n,r,l,t)}function ge(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 ae(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(S(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?ae(i.URL,t+n,s+n):s==e.length&&null}function ve(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 ae(i.LinkTitle,t+n,a+1+n);92==l&&(s=!0)}}return null}function Oe(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&&ae(i.LinkLabel,t+n,a+1+n);if(r&&!S(l)&&(r=!1),91==l)return!1;92==l&&(o=!0)}}return null}var ye=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 he(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 he&&n.type.resolve&&2&n.side){for(var r=n.type==se||n.type==le,i=n.to-n.from,o=void 0,a=t-1;a>=e;a--){var s=this.parts[a];if(s instanceof he&&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 ie&&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 he(o.type,o.from,c,o.side):null,(this.parts[t]=r&&n.to!=h?new he(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 ie&&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 he&&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 x(this.text,e-this.offset)+this.offset}},{key:"elt",value:function(e,t,n,r){return"string"==typeof e?ae(this.parser.getNodeType(e),t,n,r):new oe(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,d.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 ie&&(r[i]=new ie(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 be=[i.CodeBlock,i.ListItem,i.OrderedList,i.BulletList],Se=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(m.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),i=e.absoluteLineStart,o=i,a=e.block.children.length,s=o,l=a;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(be.indexOf(t.type.id)<0?(o=t.to-n,a=e.block.children.length):(o=s,a=l,s=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-i}}]),e}(),xe=(0,g.Gv)({"Blockquote/...":g.pJ.quote,HorizontalRule:g.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":g.pJ.heading1,"ATXHeading2/... SetextHeading2/...":g.pJ.heading2,"ATXHeading3/...":g.pJ.heading3,"ATXHeading4/...":g.pJ.heading4,"ATXHeading5/...":g.pJ.heading5,"ATXHeading6/...":g.pJ.heading6,"Comment CommentBlock":g.pJ.comment,Escape:g.pJ.escape,Entity:g.pJ.character,"Emphasis/...":g.pJ.emphasis,"StrongEmphasis/...":g.pJ.strong,"Link/... Image/...":g.pJ.link,"OrderedList/... BulletList/...":g.pJ.list,"BlockQuote/...":g.pJ.quote,"InlineCode CodeText":g.pJ.monospace,URL:g.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":g.pJ.processingInstruction,"CodeInfo LinkLabel":g.pJ.labelName,LinkTitle:g.pJ.string,Paragraph:g.pJ.content}),we=new q(new m.Lj(ee).extend(xe),Object.keys(F).map((function(e){return F[e]})),Object.keys(F).map((function(e){return z[e]})),Object.keys(F),X,b,Object.keys(pe).map((function(e){return pe[e]})),Object.keys(pe),[]);function Te(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 Ce={resolve:"Strikethrough",mark:"StrikethroughMark"},Ee={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":g.pJ.strikethrough}},{name:"StrikethroughMark",style:g.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=de.test(r),l=de.test(i);return e.addDelimiter(Ce,n,n+2,!a&&(!l||o||s),!o&&(!s||a||l))},after:"Emphasis"}]};function Ae(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 Pe(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 Qe=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,_e=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)&&Qe.test(r=t.text.slice(t.pos))){var i=[];Ae(e,n.content,0,i,n.start)==Ae(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=[];Ae(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}(),De={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":g.pJ.heading}},"TableRow",{name:"TableCell",style:g.pJ.content},{name:"TableDelimiter",style:g.pJ.processingInstruction}],parseBlock:[{name:"Table",leaf:function(e,t){return Pe(t.content,0)?new _e:null},endLeaf:function(e,t,n){if(n.parsers.some((function(e){return e instanceof _e}))||!Pe(t.text,t.basePos))return!1;var r=e.scanLine(e.absoluteLineEnd+1).text;return Qe.test(r)&&Ae(e,t.text,t.basePos)==Ae(e,r,t.basePos)},before:"SetextHeading"}]},Ne=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,f.Z)(e.parser.parseInline(t.content.slice(3),t.start+3))))),!0}}]),e}(),Re=[De,{defineNodes:[{name:"Task",block:!0,style:g.pJ.list},{name:"TaskMarker",style:g.pJ.atom}],parseBlock:[{name:"TaskList",leaf:function(e,t){return/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new Ne:null},after:"SetextHeading"}]},Ee];function Ze(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++)),S(l))break}return-1}}var Me={defineNodes:[{name:"Superscript",style:g.pJ.special(g.pJ.content)},{name:"SuperscriptMark",style:g.pJ.processingInstruction}],parseInline:[{name:"Superscript",parse:Ze(94,"Superscript","SuperscriptMark")}]},Ie={defineNodes:[{name:"Subscript",style:g.pJ.special(g.pJ.content)},{name:"SubscriptMark",style:g.pJ.processingInstruction}],parseInline:[{name:"Subscript",parse:Ze(126,"Subscript","SubscriptMark")}]},$e={defineNodes:[{name:"Emoji",style:g.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}}]},Le=n(3330),Fe=(0,u.kU)({block:{open:"\x3c!--",close:"--\x3e"}}),Be=new m.md,je=we.configure({props:[u.x0.add((function(e){return!e.is("Block")||e.is("Document")||null!=Ue(e)?void 0:function(e,t){return{from:t.doc.lineAt(e.from).to,to:e.to}}})),Be.add(Ue),u.uj.add({Document:function(){return null}}),u.pp.add({Document:Fe})]});function Ue(e){var t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function ze(e,t){for(var n=e;;){var r=n.nextSibling,i=void 0;if(!r||null!=(i=Ue(r.type))&&i<=t)break;n=r}return n.to}var Xe=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(Be);if(null!=i){var o=ze(r,i);if(o>n)return{from:n,to:o}}}return null}));function He(e){return new u.SQ(Fe,e,[Xe],"markdown")}var We=He(je),Ye=He(je.configure([Re,Ie,Me,$e]));var qe=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(+Ge(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}]),e}();function Ve(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 qe(a,u,u,"","","",null));else if("Blockquote"==a.name&&(s=/^[ \t]*>( ?)/.exec(l.text.slice(u))))i.push(new qe(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 qe(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 qe(a.parent,u,u+d,s[1],f,p,a))}}return i}function Ge(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Je(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=Ge(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 Ke=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||!Ye.isActiveAt(t,e.from))return o={range:e};for(var n=e.from,a=i.lineAt(n),l=Ve(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&&Je(u.item,i,p,-2),f&&"OrderedList"==f.node.name&&Je(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 k=t.changes([{from:O.from+y.index,to:O.to},{from:a.from+u.from,to:a.to}]);return{range:e.map(k),changes:k}}}var b=[];"OrderedList"==u.node.name&&Je(u.item,i,b);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,b.push({from:C,to:n,insert:x}),{range:s.jT.cursor(C+x.length),changes:b}}));return!o&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function et(e){return"QuoteMark"==e.name||"ListMark"==e.name}var tt=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&&Ye.isActiveAt(t,e.from)){var a=o.lineAt(n),l=Ve(function(e,t){var n,r=e.resolveInner(t,-1),i=t;for(et(r)&&(i=r.from,r=r.parent);n=r.childBefore(i);)if(et(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){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)},nt=[{key:"Enter",run:Ke},{key:"Backspace",run:tt}],rt=(0,Le.html)({matchClosingTags:!1});function it(){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?We:a).parser;if(!(c instanceof q))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");var h,f=e.extensions?[e.extensions]:[],d=[rt.support];n instanceof u.ri?(d.push(n.support),h=n.language):n&&(h=n);var p,g,v=t||h?(p=t,g=h,function(e){if(e&&p){var t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof p?p(e):u.c6.matchLanguageName(p,e,!0))instanceof u.c6)return t.support?t.support.language.parser:u.Be.getSkippingParser(t.load());if(t)return t.parser}return g?g.parser:null}):void 0;return f.push(function(e){var t=e.codeParser,n=e.htmlParser;return{wrap:(0,m.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:Te(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:v,htmlParser:rt.language.parser})),o&&d.push(s.Wl.high(l.$f.of(nt))),new u.ri(He(c.configure(f)),d)}},9973: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 be},R_:function(){return Ae},SQ:function(){return k},SS:function(){return $},Um:function(){return Be},a0:function(){return $e},c:function(){return M},c6:function(){return R},e7:function(){return fe},il:function(){return We},kU:function(){return O},mi:function(){return ye},n$:function(){return Ie},nF:function(){return Te},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 V},uj:function(){return B},vw:function(){return W},x0:function(){return ee},y1:function(){return I},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(1514),d=n(7989),p=n(1701),m=n(2029),g=n(1445),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,k=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=[D.of(this),d.yy.languageData.of((function(e,t,n){var r=b(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 b(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(D);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 b(e,t,n){var r=e.facet(D),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}k.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}(k);function x(e){var t=e.field(k.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(D).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}}]),e}();k.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(k.setState))return i.value}}catch(o){r.e(o)}finally{r.f()}return t.startState.facet(D)!=t.state.facet(D)?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 Q="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?function(){return navigator.scheduling.isInputPending()}:null,_=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(k.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(k.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(k.state);if(o.tree!=o.context.tree||!o.context.isDone(i+1e5)){var a=Date.now()+Math.min(this.chunkBudget,100,e&&!Q?Math.max(25,e.timeRemaining()-5):1e9),s=o.context.treeLen<i&&r.doc.length>i+1e3,l=o.context.work((function(){return Q&&Q()||Date.now()>a}),i+(s?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:k.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()}}}),D=d.r$.define({combine:function(e){return e.length?e[0]:null},enables:function(e){return[k.state,_,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]})),R=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}(),Z=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 I(e){var t=e.facet(M);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function $(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(Z));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?function(e,t,n){return U(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=I(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 Y(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?z:null}function U(e,t,n){for(;e;e=e.parent){var r=j(e);if(r)return r(X.create(n,t,e))}return null}function z(){return 0}var X=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(){for(var e=this.state.doc.lineAt(this.node.from);;){for(var t=this.node.resolve(e.from);t.parent&&t.parent.from==t.from;)t=t.parent;if(H(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}},{key:"continue",value:function(){var e=this.node.parent;return e?U(e,this.pos,this.base):0}}],[{key:"create",value:function(e,t,r){return new n(e,t,r)}}]),n}(F);function H(e,t){for(var n=t;n;n=n.parent)if(e==n)return!0;return!1}function W(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 Y(e,r,o,t)}}function Y(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 V(){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 G=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+G)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=$(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"continue";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 t=n.value;t.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,t.value.from,t.value.to)?e=e.update({add:[ge.range(t.value.from,t.value.to)]}):t.is(ae)&&(e=e.update({filter:function(e,n){return t.value.from!=e||t.value.to!=n},filterFrom:t.value.from,filterTo:t.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(ge.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,placeholderText:"\u2026"},pe=d.r$.define({combine:function(e){return(0,d.BO)(e,de)}});function me(e){var t=[le,ke];return e&&t.push(pe.of(e)),t}var ge=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){var t=e.state,n=t.facet(pe),r=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(n.placeholderDOM)return n.placeholderDOM(e,r);var i=document.createElement("span");return i.textContent=n.placeholderText,i.setAttribute("aria-label",t.phrase("folded code")),i.title=t.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=r,i}}]),n}(p.l9))}),ve={openText:"\u2304",closedText:"\u203a",markerDOM:null,domEventHandlers:{},foldingChanged:function(){return!1}},Oe=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 ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign(Object.assign({},ve),e),n=new Oe(t,!0),r=new Oe(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(D)!=e.state.facet(D)||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 Oe(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 ke=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"}}),be=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 k?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}(),Se=d.r$.define(),xe=d.r$.define({combine:function(e){return e.length?[e[0]]:null}});function we(e){var t=e.facet(Se);return t.length?t:e.facet(xe)}function Te(e,t){var n,r=[Ee];return e instanceof be&&(e.module&&r.push(p.tk.styleModule.of(e.module)),n=e.themeType),(null===t||void 0===t?void 0:t.fallback)?r.push(xe.of(e)):n?r.push(Se.computeN([p.tk.darkTheme],(function(t){return t.facet(p.tk.darkTheme)==("dark"==n)?[e]:[]}))):r.push(Se.of(e)),r}var Ce=function(){function e(t){(0,c.Z)(this,e),this.markCache=Object.create(null),this.tree=x(t.state),this.decorations=this.buildDeco(t,we(t.state))}return(0,h.Z)(e,[{key:"update",value:function(e){var t=x(e.state),n=we(e.state),r=n!=we(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}(),Ee=d.Wl.high(p.lg.fromClass(Ce,{decorations:function(e){return e.decorations}})),Ae=be.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"}]),Pe=p.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Qe=1e4,_e="()[]{}",De=d.r$.define({combine:function(e){return(0,d.BO)(e,{afterCursor:!0,brackets:_e,maxScanDistance:Qe,renderMatch:Ze})}}),Ne=p.p.mark({class:"cm-matchingBracket"}),Re=p.p.mark({class:"cm-nonmatchingBracket"});function Ze(e){var t=[],n=e.matched?Ne:Re;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 Me=[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(De),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=Be(t.state,a.head,-1,i)||a.head>0&&Be(t.state,a.head-1,1,i)||i.afterCursor&&(Be(t.state,a.head,1,i)||a.head<t.state.doc.length&&Be(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)}}),Pe];function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[De.of(e),Me]}var $e=new f.md;function Le(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 Fe(e){var t=e.type.prop($e);return t?t(e.node):e}function Be(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.maxScanDistance||Qe,o=r.brackets||_e,a=x(e),s=a.resolveInner(t,n),l=s;l;l=l.parent){var u=Le(l.type,n,o);if(u&&l.from<l.to){var c=Fe(l);if(c&&(n>0?t>=c.from&&t<c.to:t>c.from&&t<=c.to))return je(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 je(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=Fe(c);return{start:l,end:h?{from:h.from,to:h.to}:void 0,matched:!0}}if(Le(c.type,n,a))u++;else if(Le(c.type,-n,a)){if(0==u){var f=Fe(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 Ue(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 ze=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=Ue(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:Ue(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 Xe(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 He=new WeakMap,We=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||Xe,indent:o.indent||function(){return null},languageData:o.languageData||{},tokenTable:o.tokenTable||Je},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 Ve(i,e,t,n)}}]),n}(f._b));return(r=t.call(this,u,p,[Z.of((function(e,t){return r.getIndent(e,t)}))],e.name)).topNode=function(e){var t=f.Jq.define({id:Ke.length,name:"Document",props:[v.add((function(){return e}))]});return Ke.push(t),t}(u),i=(0,a.Z)(r),r.streamParser=d,r.stateAfter=new f.md({perNode:!0}),r.tokenTable=e.tokenTable?new lt(d.tokenTable):ut,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=He.get(e.state))&&i<t-1e4&&(i=void 0);var a,s,l=Ye(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 ze(u.text,e.state.tabSize,e.unit,h<0?void 0:h);f.pos<c-u.from;)Ge(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&&He.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}(k);function Ye(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&&Ye(e,s,l,r,i);if(u)return u}return null}function qe(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=qe(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 Ve=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&&Ye(e,a.tree,0-a.offset,n,l),h=void 0;if(c&&(h=qe(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?I(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(I(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 ze(n,e?e.state.tabSize:4,e?I(e.state):2);if(a.eol())o.blankLine(this.state,a.indentUnit);else for(;!a.eol();){var s=Ge(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:et,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 Ge(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 Je=Object.create(null),Ke=[f.Jq.none],et=new f.Lj(Ke),tt=[],nt=Object.create(null),rt=0,it=[["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"]];rt<it.length;rt++){var ot=(0,o.Z)(it[rt],2),at=ot[0],st=ot[1];nt[at]=ht(Je,st)}var lt=function(){function e(t){(0,c.Z)(this,e),this.extra=t,this.table=Object.assign(Object.create(null),nt)}return(0,h.Z)(e,[{key:"resolve",value:function(e){return e?this.table[e]||(this.table[e]=ht(this.extra,e)):0}}]),e}(),ut=new lt(Je);function ct(e,t){tt.indexOf(e)>-1||(tt.push(e),console.warn(t))}function ht(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):ct(a,"Modifier ".concat(a," used at start of tag")):r?ct(a,"Tag ".concat(a," used as modifier")):r=s:ct(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:Ke.length,name:l,props:[(0,m.Gv)((0,i.Z)({},l,r))]});return Ke.push(c),c.id}},7989:function(e,t,n){"use strict";n.d(t,{BO:function(){return Ze},D0:function(){return _e},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 _},cp:function(){return T},f_:function(){return Be},gc:function(){return R},gm:function(){return Q},jT:function(){return z},n0:function(){return Z},nZ:function(){return D},q6:function(){return ye},r$:function(){return W},uU:function(){return Me},xv:function(){return h},yy:function(){return Re}});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 k,b=(0,i.Z)(e);try{for(b.s();!(k=b.n()).done;){O(k.value)}}catch(S){b.e(S)}finally{b.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}(),k="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})),b=1;b<k.length;b++)k[b]+=k[b-1];function S(e){for(var t=1;t<k.length;t+=2)if(k[t]>e)return k[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=Q(e,t);for(t+=D(r);t<e.length;){var i=Q(e,t);if(r==w||i==w||n&&S(i))t+=D(i),r=i;else{if(!x(i))break;for(var o=0,a=t-2;a>=0&&x(Q(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 Q(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 _(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function D(e){return e<65536?1:2}var N=/\r\n?|\n/,R=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(R||(R={})),Z=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]:R.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!=R.Simple&&l>=e&&(n==R.TrackDel&&r<e&&l>e||n==R.TrackBefore&&r<e||n==R.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 Z.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(i,u,-1);var c=-1==o.ins?-1:0==o.off?o.ins:0;I(t,u,c),c>0&&$(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);I(t,f,-1),I(i,f,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(f),s+=f}}return{changes:new n(t,r),filtered:Z.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&&I(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(k){d.e(k)}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&&I(o,p-s,-1),I(o,g-p,y),$(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}(Z);function I(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 $(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);I(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(I(r,a.ins,-1);u;){var c=Math.min(o.len,u);o.ins>=0&&s<o.i&&o.len<=c&&(I(r,0,o.ins),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):Z.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()}I(r,h,s<o.i?o.ins:0),i&&s<o.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):Z.create(n);if(0==i.ins)I(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;I(n,s,u,a),r&&u&&$(r,n,o.text)}else-1==o.ins?(I(n,i.off?0:i.len,s,a),r&&$(r,n,i.textBit(s))):(I(n,i.off?0:i.len,o.off?0:o.ins,a),r&&!o.off&&$(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 I(n,0,o.ins,a),r&&$(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}(),U=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 z.range(e,t);var n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return z.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 z.range(e.anchor,e.head)}},{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}(),z=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 U.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 U.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?U.create(t,e,24|i):U.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 X(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 H=0,W=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=H++,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}:Y),!!t.static,t.enables)}}]),e}();function Y(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=H++}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)||G(e,f)){var n=o(e);if(u?!V(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 W?t.facet(n)===e.facet(n):!(n instanceof K)||t.field(n,!1)==e.field(n,!1)}))||(u?V(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 V(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 G(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=W.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(H++,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(k){u.e(k)}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,Y(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(k){l.e(k)}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(k){u.e(k)}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(k){n.e(k)}finally{n.f()}return e.values[s]=l(e),1},update:function(e,n){if(!G(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=G(e,r),a=i.config.facets[t.id],u=i.facet(t);if(a&&!o&&Y(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=W.define(),de=W.define({combine:function(e){return e.some((function(e){return e}))},static:!0}),pe=W.define({combine:function(e){return e.length?e[0]:void 0},static:!0}),me=W.define(),ge=W.define(),ve=W.define(),Oe=W.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 ke}}]),e}(),ke=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"of",value:function(e){return new ye(this,e)}}]),e}(),be=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 be((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&&X(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 z?r:z.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 Qe,_e=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(_e||(_e={})),De=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{Qe=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(et){}function Ne(e){return function(t){if(!/\S/.test(t))return _e.Space;if(function(e){if(Qe)return Qe.test(e);for(var t=0;t<e.length;t++){var n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||De.test(n)))return!0}return!1}(t))return _e.Word;for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return _e.Word;return _e.Other}}var Re=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:z.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:z.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))!=_e.Word)break;a=l}for(;s<i;){var u=T(n,s);if(o(n.slice(s,u))!=_e.Word)break;s=u}return a==s?null:z.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:z.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 z?t.selection:z.single(t.selection.anchor,t.selection.head):z.single(0);return X(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 Ze(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}Re.allowMultipleSelections=de,Re.tabSize=W.define({combine:function(e){return e.length?e[0]:4}}),Re.lineSeparator=pe,Re.readOnly=Oe,Re.phrases=W.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]}))}}),Re.languageData=fe,Re.changeFilter=me,Re.transactionFilter=ge,Re.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 Ie.create(e,t,this)}}]),e}();Me.prototype.startSide=Me.prototype.endSide=0,Me.prototype.point=!1,Me.prototype.mapMode=R.TrackDel;var Ie=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 $e(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($e)),this.isEmpty)return r.length?e.of(r):this;for(var h=new Ue(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(Ie.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 ze.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 ze.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 He(o,s,i),u=new He(a,s,i);n.iterGaps((function(e,t,n){return We(l,e,u,t,n,r)})),n.empty&&0==n.length&&We(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 He(i,a,0).goto(n),l=new He(o,a,0).goto(n);;){if(s.to!=l.to||!Ye(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 He(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 Ie?[e]:n?function(e){if(e.length>1)for(var t=e[0],n=1;n<e.length;n++){var r=e[n];if($e(t,r)>0)return e.slice().sort($e);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 Ue=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}(),ze=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--)Xe(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--)Xe(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(),Xe(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 Ue(a,n,r,o));return 1==i.length?i[0]:new e(i)}}]),e}();function Xe(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 He=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=ze.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=Ge(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++;Ve(this.active,t,r),Ve(this.activeTo,t,i),Ve(this.activeRank,t,o),e&&Ve(e,t,this.cursor.from),this.minActive=Ge(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 We(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))&&Ye(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||o.comparePoint(s,h,e.point,n.point):h>s&&!Ye(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 Ye(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 Ve(e,t,n){for(var r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function Ge(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}},1701:function(e,t,n){"use strict";n.d(t,{p:function(){return Se},Nm:function(){return it},tk:function(){return or},SJ:function(){return Ni},lg:function(){return Ye},l9:function(){return ke},S2:function(){return ui},Uw:function(){return Qr},qr:function(){return Fr},Sd:function(){return Ai},gB:function(){return Ti},v5:function(){return Ii},ZO:function(){return Jr},HQ:function(){return to},AE:function(){return Yr},bF:function(){return wi},$f:function(){return dr},Eu:function(){return Gi},OO:function(){return ze},W$:function(){return ni},Zs:function(){return ai},$1:function(){return gr},mH:function(){return Di},hJ:function(){return Oi}});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(7989),p=n(1445),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&&/Chrome\/(\d+)/.exec(navigator.userAgent),O=("undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)),y="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),k=O||v&&+v[1]<57,b=0;b<10;b++)m[48+b]=m[96+b]=String(b);for(b=1;b<=24;b++)m[b+111]="F"+b;for(b=65;b<=90;b++)m[b]=String.fromCharCode(b+32),g[b]=String.fromCharCode(b);for(var S in m)g.hasOwnProperty(S)||(g[S]=m[S]);function x(e){return(11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function w(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function T(e,t){if(!t.anchorNode)return!1;try{return w(e,t.anchorNode)}catch(n){return!1}}function C(e){return 3==e.nodeType?$(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function E(e,t,n,r){return!!n&&(P(e,t,n,r,-1)||P(e,t,n,r,1))}function A(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function P(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Q(e))){if("DIV"==e.nodeName)return!1;var o=e.parentNode;if(!o||1!=o.nodeType)return!1;t=A(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?Q(e):0}}}function Q(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}var _={left:0,right:0,top:0,bottom:0};function D(e,t){var n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function N(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}var R,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){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)}},{key:"set",value:function(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}]),e}(),M=null;function I(e){if(e.setActive)return e.setActive();if(M)return e.focus(M);for(var t=[],n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==M?{get preventScroll(){return M={preventScroll:!0},!0}}:void 0),!M){M=!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 $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=R||(R=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function L(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 F(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}var B=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,A(t),n)}},{key:"after",value:function(t,n){return new e(t.parentNode,A(t)+1,n)}}]),e}(),j=[],U=function(){function e(){(0,h.Z)(this,e),this.parent=null,this.dom=null,this.dirty=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:"coordsAt",value:function(e,t){return null}},{key:"sync",value:function(t,n){if(2&this.dirty){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(l.dirty){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.dirty=0}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=z(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=z(r)}else if(1&this.dirty){var h,f=(0,c.Z)(this.children);try{for(f.s();!(h=f.n()).done;){var d=h.value;d.dirty&&(d.sync(t,n),d.dirty=0)}}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==Q(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.dirty|=2,this.markParentsDirty(e)}},{key:"markParentsDirty",value:function(e){for(var t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),1&t.dirty)return;t.dirty|=1,e=!1}}},{key:"setParent",value:function(e){this.parent!=e&&(this.parent=e,this.dirty&&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]:j;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 X(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:"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}},{key:"getSide",value:function(){return 0}},{key:"destroy",value:function(){this.parent=null}}],[{key:"get",value:function(e){return e.cmView}}]),e}();function z(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}U.prototype.breakAfter=0;var X=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 H(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 W(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,H(e,d,p,u,h,r,0,i,o)}var Y="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},q="undefined"!=typeof document?document:{documentElement:{style:{}}},V=/Edge\/(\d+)/.exec(Y.userAgent),G=/MSIE \d/.test(Y.userAgent),J=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Y.userAgent),K=!!(G||J||V),ee=!K&&/gecko\/(\d+)/i.test(Y.userAgent),te=!K&&/Chrome\/(\d+)/.exec(Y.userAgent),ne="webkitFontSmoothing"in q.documentElement.style,re=!K&&/Apple Computer/.test(Y.vendor),ie=re&&(/Mobile\/\w+/.test(Y.userAgent)||Y.maxTouchPoints>2),oe={mac:ie||/Mac/.test(Y.platform),windows:/Win/.test(Y.platform),linux:/Linux|X11/.test(Y.platform),ie:K,ie_version:G?q.documentMode||6:J?+J[1]:V?+V[1]:0,gecko:ee,gecko_version:ee?+(/Firefox\/(\d+)/.exec(Y.userAgent)||[0,0])[1]:0,chrome:!!te,chrome_version:te?+te[1]:0,ios:ie,android:/Android\b/.test(Y.userAgent),webkit:ne,safari:re,webkit_version:ne?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=q.documentElement.style.tabSize?"tab-size":"-moz-tab-size"},ae=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(!r||r instanceof n&&!(this.length-(t-e)+r.length>256))&&(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}},{key:"localPosFromDOM",value:function(e,t){return e==this.dom?t:t?this.text.length:0}},{key:"domAtPos",value:function(e){return new B(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 le(this.dom,e,t)}}]),n}(U),se=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(F(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:"reuseDOM",value:function(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}},{key:"sync",value:function(e,t){this.dom?4&this.dirty&&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))&&(W(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 pe(this,e)}},{key:"coordsAt",value:function(e,t){return ge(this,e,t)}}]),n}(U);function le(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?oe.chrome||oe.gecko||(t?(i--,a=1):o<r&&(o++,a=-1)):n<0?i--:o<r&&o++;var s=$(e,i,o).getClientRects();if(!s.length)return _;var l=s[(a?a<0:n>=0)?0:s.length-1];return oe.safari&&!a&&0==l.width&&(l=Array.prototype.find.call(s,(function(e){return e.width}))||l),a?D(l,a<0):l||null}var ue=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.length==this.length&&e instanceof n&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.eq(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,!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 0==e?B.before(this.dom):B.after(this.dom,e==this.length)}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e,t){var n=this.dom.getClientRects(),r=null;if(!n.length)return _;for(var i=e>0?n.length-1:0;r=n[i],!(e>0?0==i:i==n.length-1||r.top<r.bottom);i+=e>0?-1:1);return this.length?r:D(r,this.side>0)}},{key:"isEditable",get:function(){return!1}},{key:"isWidget",get:function(){return!0}},{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(e.customView||n)(e,t,r)}}]),n}(U),ce=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:"domAtPos",value:function(e){var t=this.widget,n=t.topView,r=t.text;return n?he(e,0,n,r,(function(e,t){return e.domAtPos(t)}),(function(e){return new B(r,Math.min(e,r.nodeValue.length))})):new B(r,Math.min(e,r.nodeValue.length))}},{key:"sync",value:function(){this.setDOM(this.widget.toDOM())}},{key:"localPosFromDOM",value:function(e,t){var n=this.widget,r=n.topView,i=n.text;return r?fe(e,t,r,i):Math.min(t,this.length)}},{key:"ignoreMutation",value:function(){return!1}},{key:"overrideDOMText",get:function(){return null}},{key:"coordsAt",value:function(e,t){var n=this.widget,r=n.topView,i=n.text;return r?he(e,t,r,i,(function(e,t,n){return e.coordsAt(t,n)}),(function(e,t){return le(i,e,t)})):le(i,e,t)}},{key:"destroy",value:function(){var e;(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),null===(e=this.widget.topView)||void 0===e||e.destroy()}},{key:"isEditable",get:function(){return!0}},{key:"canReuseDOM",value:function(){return!0}}]),n}(ue);function he(e,t,n,r,i,o){if(n instanceof se){for(var a=n.dom.firstChild;a;a=a.nextSibling){var s=U.get(a);if(!s)return o(e,t);var l=w(a,r),u=s.length+(l?r.nodeValue.length:0);if(e<u||e==u&&s.getSide()<=0)return l?he(e,t,s,r,i,o):i(s,e,t);e-=u}return i(n,n.length,-1)}return n.dom==r?o(e,t):i(n,e,t)}function fe(e,t,n,r){if(n instanceof se){var i,o=0,a=(0,c.Z)(n.children);try{for(a.s();!(i=a.n()).done;){var s=i.value,l=w(s.dom,r);if(w(s.dom,e))return o+(l?fe(e,t,s,r):s.localPosFromDOM(e,t));o+=l?r.nodeValue.length:s.length}}catch(u){a.e(u)}finally{a.f()}}else if(n.dom==r)return Math.min(t,r.nodeValue.length);return n.localPosFromDOM(e,t)}var de=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?B.before(this.dom):B.after(this.dom)}},{key:"localPosFromDOM",value:function(){return 0}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e){var t=this.dom.getBoundingClientRect(),n=function(e,t){var n=e.parent,r=n?n.children.indexOf(e):-1;for(;n&&r>=0;)if(t<0?r>0:r<n.children.length){var i=n.children[r+t];if(i instanceof ae){var o=i.coordsAt(t<0?i.length:0,t);if(o)return o}r+=t}else{if(!(n instanceof se&&n.parent)){var a=n.dom.lastChild;if(a&&"BR"==a.nodeName)return a.getClientRects()[0];break}r=n.parent.children.indexOf(n)+(t<0?0:1),n=n.parent}return}(this,this.side>0?-1:1);return n&&n.top<t.bottom&&n.bottom>t.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}},{key:"overrideDOMText",get:function(){return d.xv.empty}}]),n}(U);function pe(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 B(n,0)}function me(e,t,n){var r,i=e.children;n>0&&t instanceof se&&i.length&&(r=i[i.length-1])instanceof se&&r.mark.eq(t.mark)?me(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function ge(e,t,n){var r=null,i=-1,o=null,a=-1;!function e(t,n){for(var s=0,l=0;s<t.children.length&&l<=n;s++){var u=t.children[s],c=l+u.length;c>=n&&(u.children.length?e(u,n-l):!o&&(c>n||l==c&&u.getSide()>0)?(o=u,a=n-l):(l<n||l==c&&u.getSide()<0)&&(r=u,i=n-l)),l=c}}(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=C(t);return n[n.length-1]||null}(e)}function ve(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}function Oe(e,t){if(e==t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0,o=n;i<o.length;i++){var a=o[i];if(-1==r.indexOf(a)||e[a]!==t[a])return!1}return!0}function ye(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}ae.prototype.children=ue.prototype.children=de.prototype.children=j;var ke=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:"ignoreEvent",value:function(e){return!0}},{key:"customView",get:function(){return null}},{key:"destroy",value:function(e){}}]),e}(),be=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(be||(be={})),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=e.side||0,n=!!e.block;return new Te(e,t+=n?t>0?3e8:-4e8:t>0?1e8:-1e8,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){return this==e||e instanceof n&&this.tagName==e.tagName&&this.class==e.class&&Oe(this.attrs,e.attrs)}},{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&&Oe(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?be.WidgetRange:this.startSide<=0?be.WidgetBefore:be.WidgetAfter}},{key:"heightRelevant",get:function(){return this.block||!!this.widget&&this.widget.estimatedHeight>=5}},{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),W(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){Oe(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}},{key:"append",value:function(e,t){me(this,e,t)}},{key:"addLineDeco",value:function(e){var t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=ve(t,this.attrs||{})),n&&(this.attrs=ve({class:n},this.attrs||{}))}},{key:"domAtPos",value:function(e){return pe(this,e)}},{key:"reuseDOM",value:function(e){"DIV"==e.nodeName&&(this.setDOM(e),this.dirty|=6)}},{key:"sync",value:function(e,t){var r;this.dom?4&this.dirty&&(F(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&&(ye(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&&U.get(i)instanceof se;)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&0==(null===(r=U.get(i))||void 0===r?void 0:r.isEditable)&&(!oe.ios||!this.children.some((function(e){return e instanceof ae})))){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 ae)||/[^ -~]/.test(i.text))return null;var o=C(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=ge(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 be.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}(U),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?B.before(this.dom):B.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 j}},{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.type==this.type&&e.widget.constructor==this.widget.constructor&&(e.widget.eq(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,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:"destroy",value:function(){(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),this.dom&&this.widget.destroy(this.dom)}}]),n}(U),Qe=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==be.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(_e(new de(-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(_e(new ae(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!=be.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new Pe(n.widget||new De("div"),a,s))}else{var l=ue.create(n.widget||new De("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||(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(_e(new de(1),r),i),i=r.length+Math.max(0,i-r.length)),h.append(_e(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 _e(e,t){var n,r=(0,c.Z)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;e=new se(i,[e],e.length)}}catch(o){r.e(o)}finally{r.f()}return e}var De=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}}]),n}(ke),Ne=d.r$.define(),Re=d.r$.define(),Ze=d.r$.define(),Me=d.r$.define(),Ie=d.r$.define(),$e=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}(),Ue=d.Py.define({map:function(e,t){return e.map(t)}});function ze(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 Xe=d.r$.define({combine:function(e){return!e.length||e[0]}}),He=0,We=d.r$.define(),Ye=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(He++,t,i,(function(e){var t=[We.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(ze(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){ze(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){ze(e.state,n,"CodeMirror plugin crashed")}}},{key:"deactivate",value:function(){this.spec=this.value=null}}]),e}(),Ve=d.r$.define(),Ge=d.r$.define(),Je=d.r$.define(),Ke=d.r$.define(),et=d.r$.define(),tt=d.r$.define(),nt=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}(),rt=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 nt(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}(),it=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(it||(it={})),ot=it.LTR,at=it.RTL;function st(e){for(var t=[],n=0;n<e.length;n++)t.push(1<<+e[n]);return t}for(var lt=st("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ut=st("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),ct=Object.create(null),ht=[],ft=0,dt=["()","[]","{}"];ft<dt.length;ft++){var pt=dt[ft],mt=pt.charCodeAt(0),gt=pt.charCodeAt(1);ct[mt]=gt,ct[gt]=-mt}function vt(e){return e<=247?lt[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ut[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8203?256:64336<=e&&e<=65023?4:8204==e?256:1}var Ot=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,yt=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?at:ot}},{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 bt(e,t){var n=e.length,r=t==ot?1:2,i=t==ot?2:1;if(!e||1==r&&!Ot.test(e))return St(n);for(var o=0,a=r,s=r;o<n;o++){var l=vt(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,k=0,b=0;y<n;y++)if(v=ct[g=e.charCodeAt(y)])if(v<0){for(var S=k-3;S>=0;S-=3)if(ht[S+1]==-v){var x=ht[S+2],w=2&x?r:4&x?1&x?i:r:0;w&&(kt[y]=kt[ht[S]]=w),k=S;break}}else{if(189==ht.length)break;ht[k++]=y,ht[k++]=g,ht[k++]=b}else if(2==(O=kt[y])||1==O){var T=O==r;b=T?0:1;for(var C=k-3;C>=0;C-=3){var E=ht[C+2];if(2&E)break;if(T)ht[C+2]|=2;else{if(4&E)break;ht[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 Q=1==(A?kt[A-1]:r),_=Q==(1==(P<n?kt[P]:r))?Q?1:2:r,D=A;D<P;D++)kt[D]=_;A=P-1}var N=[];if(1==r)for(var R=0;R<n;){for(var Z=R,M=1!=kt[R++];R<n&&M==(1!=kt[R]);)R++;if(M)for(var I=R;I>Z;){for(var $=I,L=2!=kt[--I];I>Z&&L==(2!=kt[I-1]);)I--;N.push(new yt(I,$,L?2:1))}else N.push(new yt(Z,R,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 yt(B,F,j?1:2))}return N}function St(e){return[new yt(0,e,0)]}var xt="";function wt(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=yt.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(xt=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 Tt="\uffff",Ct=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+=Tt}},{key:"readRange",value:function(e,t){if(!e)return this;for(var n=e.parentNode,r=e;;){this.findPointBefore(n,r),this.readNode(r);var i=r.nextSibling;if(i==t)break;var o=U.get(r),a=U.get(i);(o&&a?o.breakAfter:(o?o.breakAfter:Et(r))||Et(i)&&("BR"!=r.nodeName||r.cmIgnore))&&this.lineBreak(),r=i}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=U.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 Et(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}var At=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.node=t,this.offset=n,this.pos=-1})),Pt=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.compositionDeco=Se.none,r.decorations=[],r.dynamicDecorationMap=[],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 nt(0,0,0,e.state.doc.length)],0),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),this.view.inputState.composing<0?this.compositionDeco=Se.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=function(e,t){var n=_t(e);if(!n)return Se.none;var r=n.from,i=n.to,o=n.node,a=n.text,s=t.mapPos(r,1),l=Math.max(s,t.mapPos(i,-1)),u=e.state,c=3==o.nodeType?o.nodeValue:new Ct([],u).readRange(o.firstChild,null).text;if(l-s<c.length)if(u.doc.sliceString(s,Math.min(u.doc.length,s+c.length),Tt)==c)l=s+c.length;else{if(u.doc.sliceString(Math.max(0,l-c.length),l,Tt)!=c)return Se.none;s=l-c.length}else if(u.doc.sliceString(s,l,Tt)!=c)return Se.none;var h=U.get(o);h instanceof ce?h=h.widget.topView:h&&(h.parent=null);return Se.set(Se.replace({widget:new Dt(o,a,h),inclusive:!0}).range(s,l))}(this.view,e.changes)),(oe.ie||oe.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);var r=function(e,t,n){var r=new Rt;return d.Xs.compare(e,t,n,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return n=nt.extendWithRanges(n,r),(0!=this.dirty||0!=n.length)&&(this.updateInner(n,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}},{key:"updateInner",value:function(e,t){var n=this;this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);var r=this.view.observer;r.ignore((function(){n.dom.style.height=n.view.viewState.contentHeight+"px",n.dom.style.flexBasis=n.minWidth?n.minWidth+"px":"";var e=oe.chrome||oe.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;n.sync(n.view,e),n.dirty=0,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(n.forceSelection=!0),n.dom.style.height=""}));var i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length){var o,a=(0,c.Z)(this.children);try{for(a.s();!(o=a.n()).done;){var s=o.value;s instanceof Pe&&s.widget instanceof Qt&&i.push(s.dom)}}catch(l){a.e(l)}finally{a.f()}}r.updateGaps(i)}},{key:"updateChildren",value:function(e,t){for(var n=this.childCursor(t),r=e.length-1;;r--){var i=r>=0?e[r]:null;if(!i)break;var o=i.fromA,a=i.toA,s=i.fromB,l=i.toB,u=Qe.build(this.view.state.doc,s,l,this.decorations,this.dynamicDecorationMap),c=u.content,h=u.breakAtStart,f=u.openStart,d=u.openEnd,p=n.findPos(a,1),m=p.i,g=p.off,v=n.findPos(o,-1);H(this,v.i,v.off,m,g,c,h,f,d)}}},{key:"updateSelection",value:function(){var e=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange(),t||this.mayControlSelection()){var n=this.forceSelection;this.forceSelection=!1;var r,i=this.view.state.selection.main,o=this.domAtPos(i.anchor),a=i.empty?o:this.domAtPos(i.head);if(oe.gecko&&i.empty&&(1==(r=o).node.nodeType&&r.node.firstChild&&(0==r.offset||"false"==r.node.childNodes[r.offset-1].contentEditable)&&(r.offset==r.node.childNodes.length||"false"==r.node.childNodes[r.offset].contentEditable))){var s=document.createTextNode("");this.view.observer.ignore((function(){return o.node.insertBefore(s,o.node.childNodes[o.offset]||null)})),o=a=new B(s,0),n=!0}var l=this.view.observer.selectionRange;!n&&l.focusNode&&E(o.node,o.offset,l.anchorNode,l.anchorOffset)&&E(a.node,a.offset,l.focusNode,l.focusOffset)||(this.view.observer.ignore((function(){oe.android&&oe.chrome&&e.dom.contains(l.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}(l.focusNode,e.dom)&&(e.dom.blur(),e.dom.focus({preventScroll:!0}));var t,n,r=x(e.view.root);if(r)if(i.empty){if(oe.gecko){var s=(t=o.node,n=o.offset,1!=t.nodeType?0:(n&&"false"==t.childNodes[n-1].contentEditable?1:0)|(n<t.childNodes.length&&"false"==t.childNodes[n].contentEditable?2:0));if(s&&3!=s){var u=Nt(o.node,o.offset,1==s?1:-1);u&&(o=new B(u,1==s?0:u.nodeValue.length))}}r.collapse(o.node,o.offset),null!=i.bidiLevel&&null!=l.cursorBidiLevel&&(l.cursorBidiLevel=i.bidiLevel)}else if(r.extend){r.collapse(o.node,o.offset);try{r.extend(a.node,a.offset)}catch(f){}}else{var c=document.createRange();if(i.anchor>i.head){var h=[a,o];o=h[0],a=h[1]}c.setEnd(a.node,a.offset),c.setStart(o.node,o.offset),r.removeAllRanges(),r.addRange(c)}else;})),this.view.observer.setSelectionRange(o,a)),this.impreciseAnchor=o.precise?null:new B(l.anchorNode,l.anchorOffset),this.impreciseHead=a.precise?null:new B(l.focusNode,l.focusOffset)}}},{key:"enforceCursorAssoc",value:function(){if(!this.compositionDeco.size){var e=this.view,t=e.state.selection.main,n=x(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:"mayControlSelection",value:function(){var e=this.view.root.activeElement;return e==this.dom||T(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}},{key:"nearest",value:function(e){for(var t=e;t;){var n=U.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!=be.WidgetBefore&&i.type!=be.WidgetAfter&&(!r||2==t||this.children[r-1].breakAfter||this.children[r-1].type==be.WidgetBefore&&t>-2))return i.coordsAt(e-o,t);n=o}}},{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==it.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?C(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?it.RTL:it.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.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((function(){t.dom.appendChild(l);var e=C(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 X(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 Qt(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.compositionDeco,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco])}},{key:"scrollIntoView",value:function(e){var t,n=this,r=e.range,i=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1);if(i){!r.empty&&(t=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(i={left:Math.min(i.left,t.left),top:Math.min(i.top,t.top),right:Math.max(i.right,t.right),bottom:Math.max(i.bottom,t.bottom)});var o,a=0,s=0,l=0,u=0,h=(0,c.Z)(this.view.state.facet(et).map((function(e){return e(n.view)})));try{for(h.s();!(o=h.n()).done;){var f=o.value;if(f){var d=f.left,p=f.right,m=f.top,g=f.bottom;null!=d&&(a=Math.max(a,d)),null!=p&&(s=Math.max(s,p)),null!=m&&(l=Math.max(l,m)),null!=g&&(u=Math.max(u,g))}}}catch(O){h.e(O)}finally{h.f()}var v={left:i.left-a,top:i.top-l,right:i.right+s,bottom:i.bottom+u};!function(e,t,n,r,i,o,a,s){for(var l=e.ownerDocument,u=l.defaultView||window,c=e;c;)if(1==c.nodeType){var h=void 0,f=c==l.body;if(f)h=N(u);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}var d=c.getBoundingClientRect();h={left:d.left,right:d.left+c.clientWidth,top:d.top,bottom:d.top+c.clientHeight}}var p=0,m=0;if("nearest"==i)t.top<h.top?(m=-(h.top-t.top+a),n>0&&t.bottom>h.bottom+m&&(m=t.bottom-h.bottom+m+a)):t.bottom>h.bottom&&(m=t.bottom-h.bottom+a,n<0&&t.top-m<h.top&&(m=-(h.top+m-t.top+a)));else{var g=t.bottom-t.top,v=h.bottom-h.top;m=("center"==i&&g<=v?t.top+g/2-v/2:"start"==i||"center"==i&&n<0?t.top-a:t.bottom-v+a)-h.top}if("nearest"==r?t.left<h.left?(p=-(h.left-t.left+o),n>0&&t.right>h.right+p&&(p=t.right-h.right+p+o)):t.right>h.right&&(p=t.right-h.right+o,n<0&&t.left<h.left+p&&(p=-(h.left+p-t.left+o))):p=("center"==r?t.left+(t.right-t.left)/2-(h.right-h.left)/2:"start"==r==s?t.left-o:t.right-(h.right-h.left)+o)-h.left,p||m)if(f)u.scrollBy(p,m);else{var O=0,y=0;if(m){var k=c.scrollTop;c.scrollTop+=m,y=c.scrollTop-k}if(p){var b=c.scrollLeft;c.scrollLeft+=p,O=c.scrollLeft-b}t={left:t.left-O,top:t.top-y,right:t.right-O,bottom:t.bottom-y},O&&Math.abs(O-p)<1&&(r="nearest"),y&&Math.abs(y-m)<1&&(i="nearest")}if(f)break;c=c.assignedSlot||c.parentNode}else{if(11!=c.nodeType)break;c=c.host}}(this.view.scrollDOM,v,r.head<r.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==it.LTR)}}}]),n}(U);var Qt=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}(ke);function _t(e){var t=e.observer.selectionRange,n=t.focusNode&&Nt(t.focusNode,t.focusOffset,0);if(!n)return null;var r=e.docView.nearest(n);if(!r)return null;if(r instanceof Ae){for(var i=n;i.parentNode!=r.dom;)i=i.parentNode;for(var o=i.previousSibling;o&&!U.get(o);)o=o.previousSibling;var a=o?U.get(o).posAtEnd:r.posAtStart;return{from:a,to:a,node:i,text:n}}for(;;){var s=r.parent;if(!s)return null;if(s instanceof Ae)break;r=s}var l=r.posAtStart;return{from:l,to:l+r.length,node:r.dom,text:n}}var Dt=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)).top=e,o.text=r,o.topView=i,o}return(0,f.Z)(n,[{key:"eq",value:function(e){return this.top==e.top&&this.text==e.text}},{key:"toDOM",value:function(){return this.top}},{key:"ignoreEvent",value:function(){return!1}},{key:"customView",get:function(){return ce}}]),n}(ke);function Nt(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=Q(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 Rt=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 Zt(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Mt(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function It(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function $t(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function Lt(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Ft(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=C(f),p=0;p<d.length;p++){var m=d[p];i&&It(i,m)&&(m=$t(Lt(m,i.bottom),i.top));var g=Zt(t,m),v=Mt(n,m);if(0==g&&0==v)return 3==f.nodeType?Bt(f,t,n):Ft(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&&It(u,m)?u=Lt(u,m.bottom):c&&It(c,m)&&(c=$t(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?Bt(r,y,n):h&&"false"!=r.contentEditable?Ft(r,y,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(i.left+i.right)/2?1:0)}}function Bt(e,t,n){for(var r=e.nodeValue.length,i=-1,o=1e9,a=0,s=0;s<r;s++)for(var l=$(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(oe.chrome||oe.gecko)$(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 jt(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.defaultLineHeight/2,p=!1;(o=e.elementAtHeight(f)).type!=be.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:Ut(e,s,o,c,h);if(m>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:Ut(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,k=-1;if(O&&0!=(null===(r=e.docView.nearest(O))||void 0===r?void 0:r.isEditable))if(g.caretPositionFromPoint){var b=g.caretPositionFromPoint(c,h);b&&(y=b.offsetNode,k=b.offset)}else if(g.caretRangeFromPoint){var S=g.caretRangeFromPoint(c,h);S&&(y=S.startContainer,k=S.startOffset,(!e.contentDOM.contains(y)||oe.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 $(e,r-1,r).getBoundingClientRect().left>n}(y,k,c)||oe.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():$(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return n-o.left>5}(y,k,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=Ft(x.dom,c,h);y=w.node,k=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,k)+T.posAtStart}function Ut(e,t,n,r,i){var o=Math.round((r-t.left)*e.defaultCharacterWidth);e.lineWrapping&&n.height>1.5*e.defaultLineHeight&&(o+=Math.floor((i-n.top)/e.defaultLineHeight)*e.viewState.heightOracle.lineLength);var a=e.state.sliceDoc(n.from,n.to);return n.from+(0,d.Gz)(a,o,e.state.tabSize)}function zt(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=wt(i,o,a,s,n),c=xt;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 Xt(e,t,n){for(var r=e.state.facet(Ke).map((function(t){return t(e)})),i=function(){var e,i=!1,o=(0,c.Z)(r);try{for(o.s();!(e=o.n()).done;){e.value.between(n.from-1,n.from+1,(function(e,r,o){n.from>e&&n.from<r&&(n=t.head>n.from?d.jT.cursor(e,1):d.jT.cursor(r,-1),i=!0)}))}}catch(a){o.e(a)}finally{o.f()}if(!i)return{v:n}};;){var o=i();if("object"===typeof o)return o.v}}var Ht=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.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=Kt[o];t.contentDOM.addEventListener(o,(function(n){Jt(t,n)&&r(e,n)}),en[o]),n.registeredEvents.push(o)};for(var o in Kt)i();t.scrollDOM.addEventListener("mousedown",(function(e){if(e.target==t.scrollDOM&&e.clientY>t.contentDOM.getBoundingClientRect().bottom&&(r(Kt.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)}})),oe.chrome&&102==oe.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,oe.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){Jt(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){ze(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){ze(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||(!oe.android||!oe.chrome||t.synthetic||13!=t.keyCode&&8!=t.keyCode?!(!oe.ios||t.synthetic||t.altKey||t.metaKey||!((n=Wt.find((function(e){return e.keyCode==t.keyCode})))&&!t.ctrlKey||Yt.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,L(e.contentDOM,t.key,t.keyCode))}},{key:"ignoreDuringComposition",value:function(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(oe.safari&&!oe.ios&&Date.now()-this.compositionEndedAt<100)&&(this.compositionEndedAt=0,!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}(),Wt=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Yt="dthko",qt=[16,17,18,20,91,92,224,225];function Vt(e){return.7*e+8}var Gt=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.view=t,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);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):oe.mac?t.metaKey:t.ctrlKey}(t,n),this.dragMove=function(e,t){var n=e.state.facet(Re);return n.length?n[0](t):oe.mac?!t.altKey:!t.ctrlKey}(t,n),this.dragging=!(!function(e,t){var n=e.state.selection.main;if(n.empty)return!1;var r=x(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!=dn(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(!1===this.dragging){this.select(this.lastEvent=e);var n=0,r=0,i=(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};e.clientX<=i.left?n=-Vt(i.left-e.clientX):e.clientX>=i.right&&(n=Vt(e.clientX-i.right)),e.clientY<=i.top?r=-Vt(i.top-e.clientY):e.clientY>=i.bottom&&(r=Vt(e.clientY-i.bottom)),this.setScrollSpeed(n,r)}}},{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:"select",value:function(e){var t=this.style.get(e,this.extend,this.multiple);!this.mustSelect&&t.eq(this.view.state.selection)&&t.main.assoc==this.view.state.selection.main.assoc||this.view.dispatch({selection:t,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 Jt(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=U.get(r))&&n.ignoreEvent(t))return!1;return!0}var Kt=Object.create(null),en=Object.create(null),tn=oe.ie&&oe.ie_version<15||oe.ios&&oe.webkit_version<604;function nn(e,t){var n,r=e.state,i=1,o=r.toText(t),a=o.lines==r.selection.ranges.length,s=null!=mn&&r.selection.ranges.every((function(e){return e.empty}))&&mn==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 rn(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)}Kt.keydown=function(e,t){e.inputState.setSelectionOrigin("select"),27==t.keyCode?e.inputState.lastEscPress=Date.now():qt.indexOf(t.keyCode)<0&&(e.inputState.lastEscPress=0)},Kt.touchstart=function(e,t){e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},Kt.touchmove=function(e){e.inputState.setSelectionOrigin("select.pointer")},en.touchstart=en.touchmove={passive:!0},Kt.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(Ze));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=ln(e,t),r=dn(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=ln(e,t),l=rn(e,s.pos,s.bias,r);if(n.pos!=s.pos&&!o){var u=rn(e,n.pos,n.bias,r),c=Math.min(u.from,l.from),h=Math.max(u.to,l.to);l=c<l.from?d.jT.range(c,h):d.jT.range(h,c)}return o?i.replaceRange(i.main.extend(l.from,l.to)):a&&i.ranges.length>1&&i.ranges.some((function(e){return e.eq(l)}))?function(e,t){for(var n=0;;n++)if(e.ranges[n].eq(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))}(i,l):a?i.addRange(l):d.jT.create([l])}}}(e,t)),r){var o=e.root.activeElement!=e.contentDOM;e.inputState.startMouseSelection(new Gt(e,t,r,o)),o&&e.observer.ignore((function(){return I(e.contentDOM)})),e.inputState.mouseSelection&&e.inputState.mouseSelection.start(t)}}};var on=function(e,t){return e>=t.top&&e<=t.bottom},an=function(e,t,n){return on(t,n)&&e>=n.left&&e<=n.right};function sn(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&&an(n,r,a))return-1;var s=i.coordsAt(o,1);return s&&an(n,r,s)?1:a&&on(r,a)?-1:1}function ln(e,t){var n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:sn(e,n,t.clientX,t.clientY)}}var un=oe.ie&&oe.ie_version<=11,cn=null,hn=0,fn=0;function dn(e){if(!un)return e.detail;var t=cn,n=fn;return cn=e,fn=Date.now(),hn=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(hn+1)%3:1}function pn(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&&o.dragMove?{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"})}}Kt.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")},Kt.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&&pn(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 pn(e,t,t.dataTransfer.getData("Text"),!0)}},Kt.paste=function(e,t){if(e.state.readOnly)return t.preventDefault();e.observer.flush();var n=tn?null:t.clipboardData;n?(nn(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(),nn(e,n.value)}),50)}}(e)};var mn=null;Kt.copy=Kt.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){mn=o?r:null;var a=tn?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 gn=d.q6.define();function vn(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:gn.of(!0)}):null}function On(e){setTimeout((function(){var t=e.hasFocus;if(t!=e.inputState.notifiedFocused){var n=vn(e.state,t);n?e.dispatch(n):e.update([])}}),10)}Kt.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),On(e)},Kt.blur=function(e){e.observer.clearSelectionRange(),On(e)},Kt.compositionstart=Kt.compositionupdate=function(e){null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)},Kt.compositionend=function(e){e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionFirstChange=null,oe.chrome&&oe.android&&e.observer.flushSoon(),setTimeout((function(){e.inputState.composing<0&&e.docView.compositionDeco.size&&e.update([])}),50)},Kt.contextmenu=function(e){e.inputState.lastContextMenu=Date.now()},Kt.beforeinput=function(e,t){var n,r;if(oe.chrome&&oe.android&&(r=Wt.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 yn=["pre-wrap","normal","pre-line","break-spaces"],kn=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 yn.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=yn.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}(),bn=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}(),Sn=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.type=o}return(0,f.Z)(e,[{key:"to",get:function(){return this.from+this.length}},{key:"bottom",get:function(){return this.top+this.height}},{key:"join",value:function(t){var n=(Array.isArray(this.type)?this.type:[this]).concat(Array.isArray(t.type)?t.type:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,n)}}]),e}(),xn=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(xn||(xn={})),wn=.001,Tn=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)>wn&&(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,xn.ByPosNoHeight,n.setDoc(t),0,0),d=f.to>=u?f:i.lineAt(u,xn.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,xn.ByPosNoHeight,n,0,0));c+=f.from-l,l=f.from;var p=_n.build(n.setDoc(o),e,c,h);i=i.replace(l,u,p)}return i.updateHeight(n,0)}}],[{key:"empty",value:function(){return new En(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 Pn(e.of(t.slice(0,n)),c,e.of(t.slice(r)))}}]),e}();Tn.prototype.size=1;var Cn=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)).type=i,o}return(0,f.Z)(n,[{key:"blockAt",value:function(e,t,n,r){return new Sn(r,this.length,n,this.height,this.type)}},{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}(Tn),En=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,be.Text)).collapsed=0,i.widgetHeight=0,i}return(0,f.Z)(n,[{key:"replace",value:function(e,t,r){var i=r[0];return 1==r.length&&(i instanceof n||i instanceof An&&4&i.flags)&&Math.abs(this.length-i.length)<10?(i instanceof An?i=new n(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):Tn.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.outdated=!1,this}},{key:"toString",value:function(){return"line(".concat(this.length).concat(this.collapsed?-this.collapsed:"").concat(this.widgetHeight?":"+this.widgetHeight:"",")")}}]),n}(Cn),An=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,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 Sn(c.from,c.length,f,h,be.Text)}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 Sn(m,g,n+s*d,s,be.Text)}},{key:"lineAt",value:function(e,t,n,r,i){if(t==xn.ByHeight)return this.blockAt(e,n,r,i);if(t==xn.ByPosNoHeight){var o=n.doc.lineAt(e),a=o.from,s=o.to;return new Sn(a,s-a,0,0,be.Text)}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 Sn(f.from,f.length,Math.max(r,Math.min(m,r+this.height-d)),d,be.Text)}},{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 Sn(f.from,f.length,h,p,be.Text)),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 Tn.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)>=wn&&(l=-2);var h=new En(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=Tn.of(a);return(l<0||Math.abs(f.height-this.height)>=wn||Math.abs(l-this.heightMetrics(e,t).perLine)>=wn)&&(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}(Tn),Pn=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==xn.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==xn.ByPosNoHeight?xn.ByPosNoHeight:xn.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,xn.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&&Qn(i,a-1),t<this.length){var u=i.length;this.decomposeRight(t,i),Qn(i,u)}return Tn.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?Tn.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}(Tn);function Qn(e,t){var n,r;null==e[t]&&(n=e[t-1])instanceof An&&(r=e[t+1])instanceof An&&e.splice(t-1,3,new An(n.length+1+r.length))}var _n=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 En?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new En(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;r<0&&(r=this.oracle.lineHeight);var i=t-e;n.block?this.addBlock(new Cn(i,r,n.type)):(i||r>=5)&&this.addLineDeco(r,i)}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 En(this.pos-t,-1)),this.writtenTo=this.pos}}},{key:"blankContent",value:function(e,t){var n=new An(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 En)return e;var t=new En(0,-1);return this.nodes.push(t),t}},{key:"addBlock",value:function(e){this.enterLine(),e.type!=be.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=be.WidgetBefore&&(this.covering=e)}},{key:"addLineDeco",value:function(e,t){var n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}},{key:"finish",value:function(e){var t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof En||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new En(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 En&&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 Dn=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 Nn(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 Rn(e,t){var n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}var Zn=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 Mn(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}(),Mn=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}(ke),In=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.scaler=jn,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=it.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;var n=t.facet(Ge).some((function(e){return"function"!=typeof e&&"cm-lineWrapping"==e.class}));this.heightOracle=new kn(n),this.stateDeco=t.facet(Je).filter((function(e){return"function"!=typeof e})),this.heightMap=Tn.empty().applyChanges(this.stateDeco,d.xv.empty,this.heightOracle.setDoc(t.doc),[new nt(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 $n(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?jn:new Un(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:zn(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=nt.extendWithRanges(r,function(e,t,n){var r=new Dn;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;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=o&&(e.flags|=2);var a=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<a.from||t.range.head>a.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));var s=!e.changes.empty||2&e.flags||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),s&&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?it.RTL:it.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);var p=(this.printing?Rn:Nn)(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 k=e.docView.measureTextSize(),b=k.lineHeight,S=k.charWidth,x=k.textHeight;(o=b>0&&r.refresh(i,b,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?Tn.empty().applyChanges(this.stateDeco,d.xv.empty,this.heightOracle,[new nt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new bn(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 $n(r.lineAt(o-1e3*n,xn.ByHeight,i,0,0).from,r.lineAt(a+1e3*(1-n),xn.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,xn.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 $n(r.lineAt(u-500,xn.ByHeight,i,0,0).from,r.lineAt(u+c+500,xn.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 $n(this.heightMap.lineAt(n,xn.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,xn.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,xn.ByPos,this.heightOracle,0,0).top,o=this.heightMap.lineAt(n,xn.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 Zn(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!=it.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 Zn(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=Ln(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,k=void 0;if(null!=m){var b=Bn(p,m),S=((this.visibleBottom-this.visibleTop)/2+O)/f.height;y=b-S,k=b+S}else y=(this.visibleTop-f.top-O)/f.height,k=(this.visibleBottom-f.top+O)/f.height;g=Fn(p,y),v=Fn(p,k)}else{var x=p.total*this.heightOracle.charWidth,w=i*this.heightOracle.charWidth,T=void 0,C=void 0;if(null!=m){var E=Bn(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=Fn(p,T),v=Fn(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=Bn(r,n)-Bn(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}},{key:"updateLineGaps",value:function(e){var t=this;Zn.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}))||zn(this.heightMap.lineAt(e,xn.ByPos,this.heightOracle,0,0),this.scaler)}},{key:"lineBlockAtHeight",value:function(e){return zn(this.heightMap.lineAt(this.scaler.fromDOM(e),xn.ByHeight,this.heightOracle,0,0),this.scaler)}},{key:"elementAtHeight",value:function(e){return zn(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}(),$n=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.from=t,this.to=n}));function Ln(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 Fn(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 Bn(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 jn={toDOM:function(e){return e},fromDOM:function(e){return e},scale:1},Un=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,xn.ByPos,t,0,0).top,s=n.lineAt(o,xn.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 zn(e,t){if(1==t.scale)return e;var n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new Sn(e.from,e.length,n,r-n,Array.isArray(e.type)?e.type.map((function(e){return zn(e,t)})):e.type)}var Xn=d.r$.define({combine:function(e){return e.join(" ")}}),Hn=d.r$.define({combine:function(e){return e.indexOf(!0)>-1}}),Wn=p.V.newName(),Yn=p.V.newName(),qn=p.V.newName(),Vn={"&light":"."+Yn,"&dark":"."+qn};function Gn(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 Jn=Gn("."+Wn,{"&":{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-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused .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-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",left: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"}},Vn),Kn=(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 At(r,i)),o==r&&a==i||t.push(new At(o,a)));return t}(t),u=new Ct(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||!w(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||!w(t.contentDOM,c.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(c.anchorNode,c.anchorOffset);this.newSel=d.jT.single(p,f)}}));function er(e,t){var n,r=t.newSel,i=e.state.selection.main;if(t.bounds){var o=t.bounds,a=o.from,s=o.to,l=i.from,u=null;(8===e.inputState.lastKeyCode&&e.inputState.lastKeyTime>Date.now()-100||oe.android&&t.text.length<s-a)&&(l=i.to,u="end");var c=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(a,s,Tt),t.text,l-a,u);c&&(oe.chrome&&13==e.inputState.lastKeyCode&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==Tt+Tt&&c.toB--,n={from:a+c.from,to:a+c.toA,insert:d.xv.of(t.text.slice(c.from,c.toB).split(Tt))})}else r&&(!e.hasFocus&&e.state.facet(Xe)||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))}:(oe.mac||oe.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([" "])}):oe.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 h=e.state;if(oe.ios&&e.inputState.flushIOSKey(e))return!0;if(oe.android&&(n.from==i.from&&n.to==i.to&&1==n.insert.length&&2==n.insert.lines&&L(e.contentDOM,"Enter",13)||n.from==i.from-1&&n.to==i.to&&0==n.insert.length&&L(e.contentDOM,"Backspace",8)||n.from==i.from&&n.to==i.to+1&&0==n.insert.length&&L(e.contentDOM,"Delete",46)))return!0;var f,p=n.insert.toString();if(e.state.facet($e).some((function(t){return t(e,n.from,n.to,p)})))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 m=i.from<n.from?h.sliceDoc(i.from,n.from):"",g=i.to>n.to?h.sliceDoc(n.to,i.to):"";f=h.replaceSelection(e.state.toText(m+n.insert.sliceString(0,void 0,e.state.lineBreak)+g))}else{var v=h.changes(n),O=r&&!h.selection.main.eq(r.main)&&r.main.to<=v.newLength?r.main:void 0;if(h.selection.ranges.length>1&&e.inputState.composing>=0&&n.to<=i.to&&n.to>=i.to-10){var y=e.state.sliceDoc(n.from,n.to),k=_t(e)||e.state.doc.lineAt(i.head),b=i.to-n.to,S=i.to-i.from;f=h.changeByRange((function(t){if(t.from==i.from&&t.to==i.to)return{changes:v,range:O||t.map(v)};var r=t.to-b,o=r-y.length;if(t.to-t.from!=S||e.state.sliceDoc(o,r)!=y||k&&t.to>=k.from&&t.from<=k.to)return{range:t};var a=h.changes({from:o,to:r,insert:n.insert}),s=t.to-i.to;return{changes:a,range:O?d.jT.range(Math.max(0,O.anchor+s),Math.max(0,O.head+s)):t.map(a)}}))}else f={changes:v,selection:O&&h.selection.replaceRange(O)}}var x="input.type";return e.composing&&(x+=".compose",e.inputState.compositionFirstChange&&(x+=".start",e.inputState.compositionFirstChange=!1)),e.dispatch(f,{scrollIntoView:!0,userEvent:x}),!0}if(r&&!r.main.eq(i)){var w=!1,T="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(w=!0),T=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:w,userEvent:T}),!0}return!1}var tr={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},nr=oe.ie&&oe.ie_version<=11,rr=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()}(oe.ie&&oe.ie_version<=11||oe.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()})),nr&&(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")))}),{}),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(Xe)?n.root.activeElement==this.dom:T(n.dom,r)){var i=r.anchorNode&&n.docView.nearest(r.anchorNode);i&&i.ignoreEvent(e)?t||(this.selectionChanged=!1):(oe.ie&&oe.ie_version<=11||oe.android&&oe.chrome)&&!n.state.selection.main.empty&&r.focusNode&&E(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}}}},{key:"readSelectionRange",value:function(){var e=this.view,t=oe.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(E(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)||x(e.root);if(!t||this.selectionRange.eq(t))return!1;var n=T(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(;;)if(r){if(1!=n.nodeType)return!1;var i=n.childNodes[r-1];"false"==i.contentEditable?r--:r=Q(n=i)}else{if(n==e)return!0;r=A(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,tr),nr&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}},{key:"stop",value:function(){this.active&&(this.active=!1,this.observer.disconnect(),nr&&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.flush()&&e.force&&L(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:"processRecords",value:function(){var e,t=this.queue,n=(0,c.Z)(this.observer.takeRecords());try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(f){n.e(f)}finally{n.f()}t.length&&(this.queue=[]);var i,o=-1,a=-1,s=!1,l=(0,c.Z)(t);try{for(l.s();!(i=l.n()).done;){var u=i.value,h=this.readMutation(u);h&&(h.typeOver&&(s=!0),-1==o?(o=h.from,a=h.to):(o=Math.min(h.from,o),a=Math.max(h.to,a)))}}catch(f){l.e(f)}finally{l.f()}return{from:o,to:a,typeOver:s}}},{key:"readChange",value:function(){var e=this.processRecords(),t=e.from,n=e.to,r=e.typeOver,i=this.selectionChanged&&T(this.dom,this.selectionRange);return t<0&&!i?null:(t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new Kn(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=er(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.dirty|=4),"childList"==e.type){var n=ir(t,e.previousSibling||e.target.previousSibling,-1),r=ir(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 ir(e,t,n){for(;t;){var r=U.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 or=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 In(n.state||d.yy.create(n)),this.plugins=this.state.facet(We).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 rr(this),this.inputState=new Ht(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new Pt(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;this._dispatch(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))}},{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(gn)}))?(this.inputState.notifiedFocused=u,h=1):u!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=u,(f=vn(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=rt.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 k=y.state.selection.main;g=new je(k.empty?k:d.jT.cursor(k.head,k.head>k.anchor?-1:1))}var b,S=(0,c.Z)(y.effects);try{for(S.s();!(b=S.n()).done;){var x=b.value;x.is(Ue)&&(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=lr.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),i=this.docView.update(n),this.state.facet(tt)!=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(Xn)!=n.state.facet(Xn)&&(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(Ie));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&&!er(t,m)&&p.force&&L(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 In(e),this.plugins=e.facet(We).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 Pt(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(We),n=e.state.facet(We);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.scrollHeight,o=r.scrollTop,a=o>i-r.clientHeight-4?i:o;try{for(var s=0;;s++){this.updateState=1;var l=this.viewport,u=this.viewState.lineBlockAtHeight(a),h=this.viewState.measure(this);if(!h&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(s>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 ze(e.state,n),sr}})),m=rt.create(this,this.state,[]),g=!1,v=!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 O=0;O<f.length;O++)if(p[O]!=sr)try{var y=f[O];y.write&&y.write(p[O],this)}catch(x){ze(this.state,x)}if(this.viewState.editorHeight)if(this.viewState.scrollTarget)this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,v=!0;else{var k=this.viewState.lineBlockAt(u.from).top-u.top;(k>1||k<-1)&&(this.scrollDOM.scrollTop+=k,v=!0)}if(g&&this.docView.updateSelection(!0),this.viewport.from==l.from&&this.viewport.to==l.to&&!v&&0==this.measureRequests.length)break}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty){var b,S=(0,c.Z)(this.state.facet(Ie));try{for(S.s();!(b=S.n()).done;){(0,b.value)(n)}}catch(w){S.e(w)}finally{S.f()}}}}},{key:"themeClasses",get:function(){return Wn+" "+(this.state.facet(Hn)?qn:Yn)+" "+this.state.facet(Xn)}},{key:"updateAttrs",value:function(){var e=this,t=ur(this,Ve,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Xe)?"true":"false",class:"cm-content",style:"".concat(oe.tabSize,": ").concat(this.state.tabSize),role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),ur(this,Ge,n);var r=this.observer.ignore((function(){var r=ye(e.contentDOM,e.contentAttrs,n),i=ye(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(tt),p.V.mount(this.root,this.styleModules.concat(Jn).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 Xt(this,e,zt(this,e,t,n))}},{key:"moveByGroup",value:function(e,t){var n=this;return Xt(this,e,zt(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=e.state.doc.lineAt(t.head),o=r&&e.lineWrapping?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==it.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(null!=l)return d.jT.cursor(l,n?-1:1)}var u=Ae.find(e.docView,t.head),c=u?n?u.posAtEnd:u.posAtStart:n?i.to:i.from;return d.jT.cursor(c,n?-1:1)}(this,e,t,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}},{key:"moveVertically",value:function(e,t,n){return Xt(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.defaultLineHeight>>1,m=0;;m+=10){var g=a+(p+m)*o,v=jt(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(),jt(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 D(n,i[yt.find(i,e-r.from,-1,t)].dir==it.LTR==t>0)}},{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>ar)return St(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=bt(e.text,n);return this.bidiCache.push(new lr(e.from,e.to,n,o)),o}},{key:"hasFocus",get:function(){var e;return(this.dom.ownerDocument.hasFocus()||oe.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(){I(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 Ue.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 Ye.define((function(){return{}}),{eventHandlers:e})}},{key:"theme",value:function(e,t){var n=p.V.newName(),r=[Xn.of(n),tt.of(Gn(".".concat(n),e))];return t&&t.dark&&r.push(Hn.of(!0)),r}},{key:"baseTheme",value:function(e){return d.Wl.lowest(tt.of(Gn("."+Wn,e,Vn)))}},{key:"findFromDOM",value:function(e){var t,n=e.querySelector(".cm-content"),r=n&&U.get(n)||U.get(e);return(null===(t=null===r||void 0===r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}]),e}();or.styleModule=tt,or.inputHandler=$e,or.focusChangeEffect=Le,or.perLineTextDirection=Fe,or.exceptionSink=Me,or.updateListener=Ie,or.editable=Xe,or.mouseSelectionStyle=Ze,or.dragMovesSelection=Re,or.clickAddsSelectionRange=Ne,or.decorations=Je,or.atomicRanges=Ke,or.scrollMargins=et,or.darkTheme=Hn,or.contentAttributes=Ge,or.editorAttributes=Ve,or.lineWrapping=or.contentAttributes.of({class:"cm-lineWrapping"}),or.announce=d.Py.define();var ar=4096,sr={},lr=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:it.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 ur(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&&ve(a,n)}return n}var cr=oe.mac?"mac":oe.windows?"win":oe.linux?"linux":"key";function hr(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 fr=d.Wl.default(or.domEventHandlers({keydown:function(e,t){return yr(mr(t.state),e,t,"editor")}})),dr=d.r$.define({enables:fr}),pr=new WeakMap;function mr(e){var t=e.facet(dr),n=pr.get(t);return n||pr.set(t,n=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cr,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){for(var s,l,u=r[e]||(r[e]=Object.create(null)),c=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)})),h=function(){var t=c.slice(0,f).join(" ");o(t,!0),u[t]||(u[t]={preventDefault:!0,run:[function(n){var r=vr={view:n,prefix:t,scope:e};return setTimeout((function(){vr==r&&(vr=null)}),Or),!0}]})},f=1;f<c.length;f++)h();var d=c.join(" ");o(d,!1);var p=u[d]||(u[d]={preventDefault:!1,run:(null===(l=null===(s=u._any)||void 0===s?void 0:s.run)||void 0===l?void 0:l.slice())||[]});i&&p.run.push(i),a&&(p.preventDefault=!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,run:[]}),p)p[m].run.push(l.any)}}catch(k){f.e(k)}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.shift&&a(y,"Shift-"+g,l.shift,l.preventDefault)}}catch(k){O.e(k)}finally{O.f()}}}}catch(k){s.e(k)}finally{s.f()}return r}(t.reduce((function(e,t){return e.concat(t)}),[]))),n}function gr(e,t,n){return yr(mr(e.state),t,e,n)}var vr=null,Or=4e3;function yr(e,t,n,r){var i=function(e){var t=!(k&&(e.ctrlKey||e.altKey||e.metaKey)||y&&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;vr&&vr.view==n&&vr.scope==r&&(s=vr.prefix+" ",(l=qt.indexOf(t.keyCode)<0)&&(vr=null));var u,h,f=new Set,p=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(!f.has(o)&&(f.add(o),o(n,t)))return!0}}catch(a){i.e(a)}finally{i.f()}e.preventDefault&&(l=!0)}return!1},v=e[r];if(v){if(p(v[s+hr(i,t,!a)]))return!0;if(a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(oe.windows&&t.ctrlKey&&t.altKey)&&(u=m[t.keyCode])&&u!=i){if(p(v[s+hr(u,t,!0)]))return!0;if(t.shiftKey&&(h=g[t.keyCode])!=i&&h!=u&&p(v[s+hr(h,t,!1)]))return!0}else if(a&&t.shiftKey&&p(v[s+hr(i,t,!0)]))return!0;if(p(v._any))return!0}return l}var kr=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=br(t);return[new e(n,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}return wr(t,n,r)}}]),e}();function br(e){var t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==it.LTR?t.left:t.right-e.scrollDOM.clientWidth)-e.scrollDOM.scrollLeft,top:t.top-e.scrollDOM.scrollTop}}function Sr(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:be.Text}}function xr(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==be.Text))return o}}catch(a){i.e(a)}finally{i.f()}}return n}function wr(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==it.LTR,a=e.contentDOM,s=a.getBoundingClientRect(),l=br(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=xr(e,r),m=xr(e,i),g=p.type==be.Text?p:null,v=m.type==be.Text?m:null;if(e.lineWrapping&&(g&&(g=Sr(e,r,g)),v&&(v=Sr(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),k=[];return(g||p).to<(v||m).from-1?k.push(b(f,O.bottom,d,y.top)):O.bottom<y.top&&e.elementAtHeight((O.bottom+y.top)/2).type==be.Text&&(O.bottom=y.top=(O.bottom+y.top)/2),S(O).concat(k).concat(S(y));function b(e,n,r,i){return new kr(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(b(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);i=Math.min(h.top,p.top,i),a=Math.max(h.bottom,p.bottom,a),c==it.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,k=e.state.doc.lineAt(v),b=(0,c.Z)(e.bidiSpans(k));try{for(b.s();!(y=b.n()).done;){var S=y.value,x=S.from+k.from,w=S.to+k.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){b.e(T)}finally{b.f()}if((v=k.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 Tr=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(Cr)!=e.state.facet(Cr)&&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(Cr);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}(),Cr=d.r$.define();function Er(e){return[Ye.define((function(t){return new Tr(t,e)})),Cr.of(e)]}var Ar=!oe.ios,Pr=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 Qr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Pr.of(e),Dr,Rr,Mr,Be.of(!0)]}function _r(e){return e.startState.facet(Pr)!=e.state.facet(Pr)}var Dr=Er({above:!0,markers:function(e){var t,n=e.state,r=n.facet(Pr),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||Ar: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)(kr.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=_r(e);return n&&Nr(e.state,t),e.docChanged||e.selectionSet||n},mount:function(e,t){Nr(t.state,e)},class:"cm-cursorLayer"});function Nr(e,t){t.style.animationDuration=e.facet(Pr).cursorBlinkRate+"ms"}var Rr=Er({above:!1,markers:function(e){return e.state.selection.ranges.map((function(t){return t.empty?[]:kr.forRange(e,"cm-selectionBackground",t)})).reduce((function(e,t){return e.concat(t)}))},update:function(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||_r(e)},class:"cm-selectionLayer"}),Zr={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Ar&&(Zr[".cm-line"].caretColor="transparent !important");var Mr=d.Wl.highest(or.theme(Zr)),Ir=d.Py.define({map:function(e,t){return null==e?null:t.mapPos(e)}}),$r=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(Ir)?t.value:e}),e)}}),Lr=Ye.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($r);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($r)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}},{key:"readPos",value:function(){var e=this.view.state.field($r),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($r)!=e&&this.view.dispatch({effects:Ir.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 Fr(){return[$r,Lr]}function Br(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 jr=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;Br(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 Br(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}(),Ur=null!=/x/.unicode?"gu":"g",zr=new RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]",Ur),Xr={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"},Hr=null;var Wr=d.r$.define({combine:function(e){var t=(0,d.BO)(e,{render:null,specialChars:zr,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==Hr&&"undefined"!=typeof document&&document.body){var t=document.body.style;Hr=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return Hr||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,Ur)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Ur)),t}});function Yr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Wr.of(e),qr||(qr=Ye.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(Wr)),this.decorations=this.decorator.createDeco(t)}return(0,f.Z)(e,[{key:"makeDecorator",value:function(e){var t=this;return new jr({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 Gr((l-u%l)*t.view.defaultCharacterWidth)})}return t.decorationCache[a]||(t.decorationCache[a]=Se.replace({widget:new Vr(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}},{key:"update",value:function(e){var t=e.state.facet(Wr);e.startState.facet(Wr)!=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 qr=null;var Vr=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")+" "+(Xr[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}(ke),Gr=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}(ke);function Jr(){return ei}var Kr=Se.line({class:"cm-activeLine"}),ei=Ye.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(Kr.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}}),ti=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:"ignoreEvent",value:function(){return!1}}]),n}(ke);function ni(e){return Ye.fromClass(function(){function t(n){(0,h.Z)(this,t),this.view=n,this.placeholder=Se.set([Se.widget({widget:new ti(e),side:1}).range(0)])}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 ri=2e3;function ii(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>ri?-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 oi(e,t){var n=ii(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=ii(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>ri||n.off>ri||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 ai(e){var t=(null===e||void 0===e?void 0:e.eventFilter)||function(e){return e.altKey&&0==e.button};return or.mouseSelectionStyle.of((function(e,n){return t(n)?oi(e,n):null}))}var si={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}]},li={style:"cursor: crosshair"};function ui(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.Z)(si[e.key||"Alt"],2),n=t[0],i=t[1],o=Ye.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,or.contentAttributes.of((function(e){var t;return(null===(t=e.plugin(o))||void 0===t?void 0:t.isDown)?li:null}))]}var ci="-10000px",hi=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 fi(e){var t=e.win;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}var di=d.r$.define({combine:function(e){var t,n,r;return{position:oe.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)||fi}}}),pi=new WeakMap,mi=Ye.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(di);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 hi(t,Oi,(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(di);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=ci,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(di).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=ci;else{var f=a.arrow?s.dom.querySelector(".cm-tooltip-arrow"):null,d=f?7:0,p=h.right-h.left,m=null!==(t=pi.get(s))&&void 0!==t?t:h.bottom-h.top,g=s.offset||vi,v=this.view.textDirection==it.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 k=(y?u.top-r.top:r.bottom-u.bottom)-d;if(k<m&&!1!==s.resize){if(k<this.view.defaultLineHeight){l.style.top=ci;continue}pi.set(s,m),l.style.height=(m=k)+"px"}else l.style.height&&(l.style.height="");var b=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<b+m&&T.bottom>b&&(b=y?T.top-m-2-d:T.bottom+d+2)}}catch(C){w.e(C)}finally{w.f()}}"absolute"==this.position?(l.style.top=b-e.parent.top+"px",l.style.left=O-e.parent.left+"px"):(l.style.top=b+"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:b,right:S,bottom:b+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=ci}}catch(n){t.e(n)}finally{t.f()}}}}]),e}(),{eventHandlers:{scroll:function(){this.maybeMeasure()}}}),gi=or.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"}}}),vi={x:0,y:0},Oi=d.r$.define({enables:[mi,gi]}),yi=d.r$.define(),ki=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 hi(t,yi,(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:"create",value:function(t){return new e(t)}}]),e}(),bi=Oi.compute([yi],(function(e){var t=e.facet(yi).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:ki.create,above:t[0].above,arrow:t.some((function(e){return e.arrow}))}})),Si=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==it.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 ze(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&&!xi(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&&!xi(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 xi(e){for(var t=e;t;t=t.parentNode)if(1==t.nodeType&&t.classList.contains("cm-tooltip"))return!0;return!1}function wi(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(Ci)&&(e=null)}}catch(u){s.e(u)}finally{s.f()}return e},provide:function(e){return yi.from(e)}});return[r,Ye.define((function(i){return new Si(i,e,r,n,t.hoverTime||300)})),bi]}function Ti(e,t){var n=e.plugin(mi);if(!n)return null;var r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}var Ci=d.Py.define();var Ei=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 Ai(e,t){var n=e.plugin(Pi),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}var Pi=Ye.fromClass(function(){function e(t){(0,h.Z)(this,e),this.input=t.state.facet(Di),this.specs=this.input.filter((function(e){return e})),this.panels=this.specs.map((function(e){return e(t)}));var n=t.state.facet(Ei);this.top=new Qi(t,!0,n.topContainer),this.bottom=new Qi(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(Ei);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Qi(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Qi(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();var n=e.state.facet(Di);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(k){u.e(k)}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(k){O.e(k)}finally{O.f()}}}},{key:"destroy",value:function(){this.top.sync([]),this.bottom.sync([])}}]),e}(),{provide:function(e){return or.scrollMargins.of((function(t){var n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}}))}}),Qi=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=_i(n);n=n.nextSibling}else this.dom.insertBefore(i.dom,n)}}catch(o){r.e(o)}finally{r.f()}for(;n;)n=_i(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 _i(e){var t=e.nextSibling;return e.remove(),t}var Di=d.r$.define({enables:Pi}),Ni=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);Ni.prototype.elementClass="",Ni.prototype.toDOM=void 0,Ni.prototype.mapMode=d.gc.TrackBefore,Ni.prototype.startSide=Ni.prototype.endSide=-1,Ni.prototype.point=!0;var Ri=d.r$.define(),Zi={class:"",renderEmptyElements:!1,elementStyle:"",markers:function(){return d.Xs.empty},lineMarker:function(){return null},lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Mi=d.r$.define();function Ii(e){return[Li(),Mi.of(Object.assign(Object.assign({},Zi),e))]}var $i=d.r$.define({combine:function(e){return e.some((function(e){return e}))}});function Li(e){var t=[Fi];return e&&!1===e.fixed&&t.push($i.of(!0)),t}var Fi=Ye.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(Mi).map((function(e){return new zi(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($i),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($i)!=!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(Ri),this.view.viewport.from),o=[],a=this.gutters.map((function(e){return new Ui(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,u=void 0;if(Array.isArray(l.type)){var h,f=(0,c.Z)(l.type);try{for(f.s();!(h=f.n()).done;){var p=h.value;if(p.type==be.Text){u=p;break}}}catch(y){f.e(y)}finally{f.f()}}else u=l.type==be.Text?l:void 0;if(u){o.length&&(o=[]),ji(i,o,l.from);var m,g=(0,c.Z)(a);try{for(g.s();!(m=g.n()).done;){m.value.line(this.view,u,o)}}catch(y){g.e(y)}finally{g.f()}}}}catch(y){s.e(y)}finally{s.f()}var v,O=(0,c.Z)(a);try{for(O.s();!(v=O.n()).done;){v.value.finish()}}catch(y){O.e(y)}finally{O.f()}e&&this.view.scrollDOM.insertBefore(this.dom,n)}},{key:"updateGutters",value:function(e){var t=e.startState.facet(Mi),n=e.state.facet(Mi),r=e.docChanged||e.heightChanged||e.viewportChanged||!d.Xs.eq(e.startState.facet(Ri),e.state.facet(Ri),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 zi(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 or.scrollMargins.of((function(t){var n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==it.LTR?{left:n.dom.offsetWidth}:{right:n.dom.offsetWidth}:null}))}});function Bi(e){return Array.isArray(e)?e:[e]}function ji(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}var Ui=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:"line",value:function(e,t,n){var r=[];ji(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;if(0!=r.length||o.config.renderEmptyElements){var a=t.top-this.height;if(this.i==o.elements.length){var s=new Xi(e,t.height,a,r);o.elements.push(s),o.dom.appendChild(s.dom)}else o.elements[this.i].update(e,t.height,a,r);this.height=t.bottom,this.i++}}},{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}(),zi=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=Bi(n.markers(t)),n.initialSpacer&&(this.spacer=new Xi(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=Bi(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}(),Xi=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 Hi=d.r$.define(),Wi=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}(Ni);function qi(e,t){return e.state.facet(Wi).formatNumber(t,e.state)}var Vi=Mi.compute([Wi],(function(e){return{class:"cm-lineNumbers",renderEmptyElements:!1,markers:function(e){return e.state.facet(Hi)},lineMarker:function(e,t,n){return n.some((function(e){return e.toDOM}))?null:new Yi(qi(e,e.state.doc.lineAt(t.from).number))},lineMarkerChange:function(e){return e.startState.facet(Wi)!=e.state.facet(Wi)},initialSpacer:function(e){return new Yi(qi(e,Ji(e.state.doc.lines)))},updateSpacer:function(e,t){var n=qi(t.view,Ji(t.view.state.doc.lines));return n==e.number?e:new Yi(n)},domEventHandlers:e.facet(Wi).domEventHandlers}}));function Gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Wi.of(e),Li(),Vi]}function Ji(e){for(var t=9;t<e;)t=10*t+9;return t}var Ki=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)}(Ni)),eo=Ri.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(Ki.range(a)))}}catch(s){i.e(s)}finally{i.f()}return d.Xs.of(n)}));function to(){return eo}},1514: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 I},hr:function(){return Z},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=this.cursor((e.mode||0)|p.IncludeAnonymous);;){var l=!1;if(s.from<=a&&s.to>=i&&(s.type.isAnonymous||!1!==t(s))){if(s.firstChild())continue;l=!0}for(;l&&n&&!s.type.isAnonymous&&n(s),!s.nextSibling();){if(!s.parent())return;l=!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:R(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 _(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}(),k=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&&!(b(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 b(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(b(i,r,d,d+f.length))if(f instanceof k){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||Q(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 k||!u.type.isAnonymous||Q(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 Q(e){return e.children.some((function(e){return e instanceof k||!e.type.isAnonymous||Q(e)}))}function _(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 Q=new Uint16Array(E.size-E.skip),_=f.pos-E.size,D=Q.length;f.pos>_;)D=S(E.start,Q,D);C=new k(Q,y-E.start,r),P=E.start-e}else{var N=f.pos-x;f.next();for(var Z=[],M=[],I=s>=h?s:-1,$=0,L=y;f.pos>N;)I>=0&&f.id==I&&f.size>=0?(f.end<=L-o&&(v(Z,M,u,$,f.end,L,I,w),$=Z.length,L=f.end),f.next()):g(u,N,Z,M,I);if(I>=0&&$>0&&$<Z.length&&v(Z,M,u,$,u,L,I,w),Z.reverse(),M.reverse(),I>-1&&$>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 b(e,t,n,r,a)}}(A);C=R(A,Z,M,0,Z.length,0,y-u,F,F)}else C=b(A,Z,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(b(r.types[s],u,c,a-o,l-a)),t.push(o-n)}function b(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 D=new WeakMap;function N(e,t){if(!e.isAnonymous||t instanceof k||t.type!=e)return 1;var n=D.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()}D.set(t,n)}return n}function R(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(R(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 Z=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}(),I=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 $(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}(),$=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 U(t,e,n,r,i)}}var F=(0,o.Z)((function e(t,n,r,i,o){(0,a.Z)(this,e),this.parser=t,this.parse=n,this.overlay=r,this.target=i,this.ranges=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}),U=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 Y(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=z(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||H(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,V(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,V(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 z(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 X(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 H(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=[];X(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),X(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 W=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}(),Y=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 W(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 W(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 V(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}},2029: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 D}});var r=n(726),i=n(2951),o=n(1976),a=n(1514),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(e.from,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,k=l;;y++){var b=y<m.overlay.length?m.overlay[y]:null,S=b?b.from+l:u,x=Math.max(t,k),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(!b||S>n)break;(k=b.to+l)>t&&(this.highlightRange(g.cursor(),Math.max(t,b.from+l),Math.min(n,k),i,v),this.startSpan(k,c))}O&&e.parent()}else if(e.firstChild()){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(),k=v(y),b=v(y),S=v(),x=v(S),w=v(S),T=v(),C=v(T),E=v(),A=v(),P=v(),Q=v(P),_=v(),D={comment:O,lineComment:v(O),blockComment:v(O),docComment:v(O),name:y,variableName:v(y),typeName:k,tagName:v(k),propertyName:b,attributeName:v(b),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:Q,angleBracket:v(Q),squareBracket:v(Q),paren:v(Q),brace:v(Q),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:_,documentMeta:v(_),annotation:v(_),processingInstruction:v(_),definition:l.defineModifier(),constant:l.defineModifier(),function:l.defineModifier(),standard:l.defineModifier(),local:l.defineModifier(),special:l.defineModifier()};p([{tag:D.link,class:"tok-link"},{tag:D.heading,class:"tok-heading"},{tag:D.emphasis,class:"tok-emphasis"},{tag:D.strong,class:"tok-strong"},{tag:D.keyword,class:"tok-keyword"},{tag:D.atom,class:"tok-atom"},{tag:D.bool,class:"tok-bool"},{tag:D.url,class:"tok-url"},{tag:D.labelName,class:"tok-labelName"},{tag:D.inserted,class:"tok-inserted"},{tag:D.deleted,class:"tok-deleted"},{tag:D.literal,class:"tok-literal"},{tag:D.string,class:"tok-string"},{tag:D.number,class:"tok-number"},{tag:[D.regexp,D.escape,D.special(D.string)],class:"tok-string2"},{tag:D.variableName,class:"tok-variableName"},{tag:D.local(D.variableName),class:"tok-variableName tok-local"},{tag:D.definition(D.variableName),class:"tok-variableName tok-definition"},{tag:D.special(D.variableName),class:"tok-variableName2"},{tag:D.definition(D.propertyName),class:"tok-propertyName tok-definition"},{tag:D.typeName,class:"tok-typeName"},{tag:D.namespace,class:"tok-namespace"},{tag:D.className,class:"tok-className"},{tag:D.macroName,class:"tok-macroName"},{tag:D.propertyName,class:"tok-propertyName"},{tag:D.operator,class:"tok-operator"},{tag:D.comment,class:"tok-comment"},{tag:D.meta,class:"tok-meta"},{tag:D.invalid,class:"tok-invalid"},{tag:D.punctuation,class:"tok-punctuation"}])},8445:function(e,t,n){"use strict";n.d(t,{IK:function(){return I},Jq:function(){return S},RA:function(){return b},WQ:function(){return $}});var r,i=n(649),o=n(7591),a=n(9616),s=n(1026),l=n(726),u=n(2951),c=n(1976),h=n(1514),f=function(){function e(t,n,r,i,o,a,s,l,c){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,f=arguments.length>10?arguments[10]:void 0;(0,u.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=l,this.curContext=c,this.lookAhead=h,this.parent=f}return(0,c.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.stateSlot(this.state,5);if(0==(65536&e))return!1;var t=this.p.parser;if(!t.validAction(this.state,e)){var n=e>>19,r=65535&e,i=this.stack.length-3*n;if(i<0||t.getGoto(this.stack[i],r,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!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.reducePos,this.reducePos,-3)}},{key:"emitLookAhead",value:function(){var e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.reducePos,this.reducePos,-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,c.Z)((function e(t,n){(0,u.Z)(this,e),this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}));!function(e){e[e.Insert=200]="Insert",e[e.Delete=190]="Delete",e[e.Reduce=100]="Reduce",e[e.MaxNext=4]="MaxNext",e[e.MaxInsertStackDepth=300]="MaxInsertStackDepth",e[e.DampenInsertStackDepth=120]="DampenInsertStackDepth",e[e.MinBigReduction=2e3]="MinBigReduction"}(r||(r={}));var p=function(){function e(t){(0,u.Z)(this,e),this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}return(0,c.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,u.Z)(this,e),this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,0==this.index&&this.maybeNext()}return(0,c.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,c.Z)((function e(){(0,u.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,u.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,c.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,l.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,l.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}(),k=function(){function e(t,n){(0,u.Z)(this,e),this.data=t,this.id=n}return(0,c.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}();k.prototype.contextual=k.prototype.fallback=k.prototype.extend=!1;var b=function(){function e(t,n,r){(0,u.Z)(this,e),this.precTable=n,this.elseToken=r,this.data="string"==typeof t?g(t):t}return(0,c.Z)(e,[{key:"token",value:function(e,t){for(var n,r=e.pos;n=e.pos,x(this.data,e,t,0,this.data,this.precTable),!(e.token.value>-1);){if(null==this.elseToken)return;if(e.next<0)break;e.advance(),e.reset(n+1,e.token)}n>r&&(e.reset(r,e.token),e.acceptToken(this.elseToken,n-r))}}]),e}();b.prototype.contextual=k.prototype.fallback=k.prototype.extend=!1;var S=(0,c.Z)((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,u.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,E="undefined"!=typeof process&&{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),A=null;function P(e,t,n){var r=e.cursor(h.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}}!function(e){e[e.Margin=25]="Margin"}(C||(C={}));var Q,_=function(){function e(t,n){(0,u.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,c.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?P(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?P(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 h.mp){if(o==e){if(o<this.safeFrom)return null;var a=o+i.length;if(a<=this.safeTo){var s=i.prop(h.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}(),D=function(){function e(t,n){(0,u.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,c.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(L(a,l+2),t,n,r));break}l=L(a,l+2)}a[l]==t&&(r=this.putAction(L(a,l+1),t,n,r))}return r}}]),e}();!function(e){e[e.Distance=5]="Distance",e[e.MaxRemainingPerStep=3]="MaxRemainingPerStep",e[e.MinBufferLengthPrune=500]="MinBufferLengthPrune",e[e.ForceReduceLimit=10]="ForceReduceLimit",e[e.CutDepth=15e3]="CutDepth",e[e.CutTo=9e3]="CutTo",e[e.MaxLeftAssociativeReductionCount=300]="MaxLeftAssociativeReductionCount",e[e.MaxStackCount=12]="MaxStackCount"}(Q||(Q={}));var N=function(){function e(t,n,r,i){(0,u.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 D(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 _(r,t.nodeSet):null}return(0,c.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,s.Z)(n,1)[0];o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(var a=0;a<n.length;a++)for(var u=n[a];;){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,l.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 this.stackToTree(h);if(this.parser.strict)throw E&&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 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=E?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(h.md.contextHash)||0)==s))return e.useNode(l,u),E&&console.log(o+this.stackID(e)+" (via reuse of ".concat(i.getName(l.type.id),")")),!0;if(!(l instanceof h.mp)||0==l.children.length||l.positions[0]>0)break;var c=l.children[0];if(!(c instanceof h.mp&&0==l.positions[0]))break;l=c}var f=i.stateSlot(e.state,4);if(f>0)return e.reduce(f),E&&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),E&&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 R(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],s=t[o<<1],u=t[1+(o<<1)],c=E?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),E&&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(E&&console.log(f+this.stackID(h)+" (via force-reduce)"),this.advanceFully(h,n))break;E&&(f=this.stackID(h)+" -> ")}var p,m=(0,l.Z)(a.recoverByInsert(s));try{for(m.s();!(p=m.n()).done;){var g=p.value;E&&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++,s=0),a.recoverByDelete(s,u),E&&console.log(c+this.stackID(a)+" (via recover-delete ".concat(this.parser.getName(s),")")),R(a,n)):(!r||r.score<a.score)&&(r=a)}return r}},{key:"stackToTree",value:function(e){return e.close(),h.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=(A||(A=new WeakMap)).get(e);return t||A.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}]),e}();function R(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 Z=function(){function e(t,n,r){(0,u.Z)(this,e),this.source=t,this.flags=n,this.disabled=r}return(0,c.Z)(e,[{key:"allows",value:function(e){return!this.disabled||0==this.disabled[e]}}]),e}(),M=function(e){return e},I=(0,c.Z)((function e(t){(0,u.Z)(this,e),this.start=t.start,this.shift=t.shift||M,this.reduce=t.reduce||M,this.reuse=t.reuse||M,this.hash=t.hash||function(){return 0},this.strict=!1!==t.strict})),$=function(e){(0,o.Z)(n,e);var t=(0,a.Z)(n);function n(e){var r,o;if((0,u.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 s=0;s<e.repeatNodeCount;s++)a.push("");for(var c=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,l.Z)(e.nodeProps);try{for(v.s();!(m=v.n()).done;){var O=m.value,y=O[0];"string"==typeof y&&(y=h.md[y]);for(var b=1;b<O.length;){var S=O[b++];if(S>=0)p(S,y,O[b++]);else{for(var x=O[b+-S],w=-S;w>0;w--)p(O[b++],y,x);b++}}}}catch(E){v.e(E)}finally{v.f()}}o.nodeSet=new h.Lj(a.map((function(t,n){return h.Jq.define({name:n>=o.minRepeatTerm?void 0:t,id:n,props:f[n],top:c.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1})}))),e.propSources&&(o.nodeSet=(r=o.nodeSet).extend.apply(r,(0,i.Z)(e.propSources))),o.strict=!1,o.bufferLength=h.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(F),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 k(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,c.Z)(n,[{key:"createParse",value:function(e,t,n){var r,i=new N(this,e,t,n),o=(0,l.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 L(n,o+2);break}i=n[o=L(n,o+2)]}if(i==t||0==i)return L(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){if(t==this.stateSlot(e,4))return!0;for(var n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=L(this.data,n+2)}if(t==L(this.data,n+1))return!0}}},{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,"break";e=L(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);;i+=3){if("break"===r(i))break}return n}},{key:"configure",value:function(e){var t,r=Object.assign(Object.create(n.prototype),this);if(e.props&&(r.nodeSet=(t=this.nodeSet).extend.apply(t,(0,i.Z)(e.props))),e.top){var o=this.topRules[e.top];if(!o)throw new RangeError("Invalid top rule name ".concat(e.top));r.top=o}return e.tokenizers&&(r.tokenizers=this.tokenizers.map((function(t){var n=e.tokenizers.find((function(e){return e.from==t}));return n?n.to:t}))),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((function(t,n){var i=e.specializers.find((function(e){return e.from==t.external}));if(!i)return t;var o=Object.assign(Object.assign({},t),{external:i.to});return r.specializers[n]=F(o),o}))),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),null!=e.bufferLength&&(r.bufferLength=e.bufferLength),r}},{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,l.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 s=null,u=0;u<t.length;u++)if(!n[u])for(var c,h=this.dialects[t[u]];65535!=(c=this.data[h++]);)(s||(s=new Uint8Array(this.maxTerm+1)))[c]=1;return new Z(e,n,s)}}],[{key:"deserialize",value:function(e){return new n(e)}}]),n}(h._b);function L(e,t){return e[t]|e[t+1]<<16}function F(e){if(e.external){var t=e.extend?1:0;return function(n,r){return e.external(n,r)<<1|t}}return e.get}},7673: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"]},194: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()}},7347: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)}},282:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(8231),i=n(553),o=/[#.]/g;var a=n(1361),s=n(194),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}},7611:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(1165),i=(0,n(282).v)(r.dy,"div")},7486:function(e,t,n){"use strict";n.d(t,{L:function(){return h}});var r=n(7673),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(7347),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,k=(t?t.line:0)||1,b=(t?t.column:0)||1,S=U();for(m--;++m<=e.length;)if(10===O&&(b=(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),b++;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="",Q="",_="",D="named"===E?s:"decimal"===E?o:a;for(C--;++C<=e.length;){var N=e.charCodeAt(C);if(!D(N))break;_+=u(N),"named"===E&&r.K.includes(_)&&(P=_,Q=(0,l.T)(_))}var R=59===e.charCodeAt(C);if(R){C++;var Z="named"===E&&(0,l.T)(_);Z&&(P=_,Q=Z)}var M=1+C-w,I="";if(R||!1!==h.nonTerminated)if(_)if("named"===E){if(R&&!Q)z(5,1);else if(P!==_&&(M=1+(C=T+P.length)-T,R=!1),!R){var $=P?1:3;if(h.attribute){var L=e.charCodeAt(C);61===L?(z($,M),Q=""):s(L)?Q="":z($,M)}else z($,M)}I=Q}else{R||z(2,M);var F=Number.parseInt(_,"hexadecimal"===E?16:10);if((y=F)>=55296&&y<=57343||y>1114111)z(7,M),I=u(65533);else if(F in i)z(6,M),I=i[F];else{var B="";f(F)&&z(6,M),F>65535&&(B+=u((F-=65536)>>>10|55296),F=56320|1023&F),I=B+u(F)}}else"named"!==E&&z(4,M);else;if(I){X(),S=U(),m=C-1,b+=C-w+1,p.push(I);var j=U();j.offset++,h.reference&&h.reference.call(h.referenceContext,I,{start:S,end:j},e.slice(w-1,C)),S=j}else _=e.slice(w-1,C),v+=_,b+=_.length,m=C-1}else 10===O&&(k++,g++,b=0),Number.isNaN(O)?X():(v+=u(O),b++);return p.join("");function U(){return{line:k,column:b,offset:m+((t?t.offset:0)||0)}}function z(e,t){var n;h.warning&&((n=U()).column+=t,n.offset+=t,h.warning.call(h.warningContext,c[e],n,e))}function X(){v&&(p.push(v),h.text&&h.text.call(h.textContext,v,{start:S,end:U()}),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)}},1165:function(e,t,n){"use strict";n.d(t,{dy:function(){return k},YP:function(){return b}});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(553),l=n(9365),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(3014),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}}),k=a([f,h,m,v,O],"html"),b=a([f,h,m,v,y],"svg")},8231:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(553),i=n(9365),o=n(8383),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()}},553:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},9365: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(8383),u=n(3014),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},8383: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},3014: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)}},1361: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}})},1445: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){(e[s]||new h(e)).mount(Array.isArray(t)?t:[t])}}]),e}(),c=null,h=function(){function e(t){if((0,i.Z)(this,e),!t.head&&t.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(c)return t.adoptedStyleSheets=[c.sheet].concat((0,r.Z)(t.adoptedStyleSheets)),t[s]=c;this.sheet=new CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat((0,r.Z)(t.adoptedStyleSheets)),c=this}else{this.styleTag=(t.ownerDocument||t).createElement("style");var n=t.head||t;n.insertBefore(this.styleTag,n.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}}}]),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+"."+{58:"15ea7b15",70:"1f41cc0a",88:"8610cbc8",285:"ae3b84d6",294:"8e62614e",377:"b01d90f3",468:"31f8520c",546:"701359e6",606:"fb0d191a",617:"7f3bf090",624:"07cf3aec",732:"4723d62f",903:"a8ddae83",1238:"43642a4b",1527:"8283f1cd",1620:"d9387393",1875:"387dc5ef",1950:"132ce6f6",1973:"b1c2ccd4",2082:"2ecbd5e8",2106:"bb0a6a39",2172:"f339e751",2275:"c5a107d7",2281:"0be2d67c",2307:"3e107285",2321:"c934a8ed",2340:"527b536f",2369:"4bc3abca",2399:"82ad230b",2410:"f9978f2c",2473:"86542e38",2489:"84329250",2534:"0c35ca92",2804:"94b58d8b",3030:"c945cb6c",3083:"6ec27abb",3235:"6c901c55",3378:"ba76bd6e",3455:"a780625d",3467:"fbde5e04",3510:"c8caa695",3582:"905219de",3850:"cb778997",4017:"2127cb12",4064:"b4f1ffd9",4071:"d8e42cf4",4522:"47ab19c0",4586:"e9a9f62e",4604:"8b0875d2",4684:"9215d197",4911:"6b9ba52a",4964:"d5ae81fd",5194:"5ac966e6",5374:"c16b89be",5382:"ac9402fb",5537:"1eabfc5c",5541:"f7a5b0cd",5651:"367dc788",5740:"eb33dc95",5758:"65faba8b",5798:"3e33902d",5799:"24e1e917",5815:"8c118393",5905:"ae7571c9",6078:"03ffe6d1",6105:"04217765",6145:"205c96aa",6601:"e7a405b0",6900:"216576d6",6968:"fa86bd11",7025:"054f6464",7136:"3d21552c",7234:"25412c3d",7256:"341ea373",7279:"0ea3d61d",7483:"57357674",7537:"96706dcc",7627:"93dae782",7782:"f4e889a6",7791:"a7c3aa33",7792:"01f890c8",7826:"c50433fd",7859:"605ef8ea",7902:"1da8a485",8066:"e041f7cc",8110:"11117ad9",8140:"e4bb3552",8158:"d058eea0",8556:"a12f54be",8610:"601ee3fd",8641:"78770311",8662:"c7112010",8785:"03ea2091",8802:"0835e31c",8831:"bd4ff88a",8846:"0195359b",8879:"9093d10c",8935:"09c911a5",8965:"0f7b4467",9007:"6373c2cf",9021:"145dd86e",9084:"a6e34db7",9158:"fcd337f0",9235:"f182f3b0",9428:"a06a029e",9529:"833cbd8e",9707:"f2397bea",9949:"8ddbf6e6"}[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(108)}));r=n.O(r)}();
//# sourceMappingURL=main.73385d00.js.map